/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.lexmodelsv2; import javax.annotation.Generated; import com.amazonaws.*; import com.amazonaws.regions.*; import com.amazonaws.services.lexmodelsv2.model.*; import com.amazonaws.services.lexmodelsv2.waiters.AmazonLexModelsV2Waiters; /** * Interface for accessing Lex Models V2. *
* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.lexmodelsv2.AbstractAmazonLexModelsV2} instead. *
**
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonLexModelsV2 { /** * The region metadata service name for computing region endpoints. You can use this value to retrieve metadata * (such as supported regions) of the service. * * @see RegionUtils#getRegionsForService(String) */ String ENDPOINT_PREFIX = "models-v2-lex"; /** ** Create a batch of custom vocabulary items for a given bot locale's custom vocabulary. *
* * @param batchCreateCustomVocabularyItemRequest * @return Result of the BatchCreateCustomVocabularyItem operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.BatchCreateCustomVocabularyItem * @see AWS API Documentation */ BatchCreateCustomVocabularyItemResult batchCreateCustomVocabularyItem(BatchCreateCustomVocabularyItemRequest batchCreateCustomVocabularyItemRequest); /** ** Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary. *
* * @param batchDeleteCustomVocabularyItemRequest * @return Result of the BatchDeleteCustomVocabularyItem operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.BatchDeleteCustomVocabularyItem * @see AWS API Documentation */ BatchDeleteCustomVocabularyItemResult batchDeleteCustomVocabularyItem(BatchDeleteCustomVocabularyItemRequest batchDeleteCustomVocabularyItemRequest); /** ** Update a batch of custom vocabulary items for a given bot locale's custom vocabulary. *
* * @param batchUpdateCustomVocabularyItemRequest * @return Result of the BatchUpdateCustomVocabularyItem operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.BatchUpdateCustomVocabularyItem * @see AWS API Documentation */ BatchUpdateCustomVocabularyItemResult batchUpdateCustomVocabularyItem(BatchUpdateCustomVocabularyItemRequest batchUpdateCustomVocabularyItemRequest); /** ** Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. * At runtime the locale is used to choose a specific build of the bot. *
* * @param buildBotLocaleRequest * @return Result of the BuildBotLocale operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.BuildBotLocale * @see AWS * API Documentation */ BuildBotLocaleResult buildBotLocale(BuildBotLocaleRequest buildBotLocaleRequest); /** ** Creates an Amazon Lex conversational bot. *
* * @param createBotRequest * @return Result of the CreateBot operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.CreateBot * @see AWS API * Documentation */ CreateBotResult createBot(CreateBotRequest createBotRequest); /** ** Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot * without updating applications that use the bot. *
** For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot. *
* * @param createBotAliasRequest * @return Result of the CreateBotAlias operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.CreateBotAlias * @see AWS * API Documentation */ CreateBotAliasResult createBotAlias(CreateBotAliasRequest createBotAliasRequest); /** ** Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations * with users in the specified language and locale. You must add a locale to a bot before you can add intents and * slot types to the bot. *
* * @param createBotLocaleRequest * @return Result of the CreateBotLocale operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.CreateBotLocale * @see AWS * API Documentation */ CreateBotLocaleResult createBotLocale(CreateBotLocaleRequest createBotLocaleRequest); /** *
* Creates a new version of the bot based on the DRAFT
version. If the DRAFT
version of
* this resource hasn't changed since you created the last version, Amazon Lex doesn't create a new version, it
* returns the last created version.
*
* When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1. *
* * @param createBotVersionRequest * @return Result of the CreateBotVersion operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.CreateBotVersion * @see AWS * API Documentation */ CreateBotVersionResult createBotVersion(CreateBotVersionRequest createBotVersionRequest); /** ** Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory * structure that contains JSON files that define the bot. *
** You can create an archive that contains the complete definition of a bot, or you can specify that the archive * contain only the definition of a single bot locale. *
** For more information about exporting bots, and about the structure of the export archive, see Importing and exporting bots *
* * @param createExportRequest * @return Result of the CreateExport operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.CreateExport * @see AWS API * Documentation */ CreateExportResult createExport(CreateExportRequest createExportRequest); /** ** Creates an intent. *
*
* To define the interaction between the user and your bot, you define one or more intents. For example, for a pizza
* ordering bot you would create an OrderPizza
intent.
*
* When you create an intent, you must provide a name. You can optionally provide the following: *
** Sample utterances. For example, "I want to order a pizza" and "Can I order a pizza." You can't provide utterances * for built-in intents. *
** Information to be gathered. You specify slots for the information that you bot requests from the user. You can * specify standard slot types, such as date and time, or custom slot types for your application. *
** How the intent is fulfilled. You can provide a Lambda function or configure the intent to return the intent * information to your client application. If you use a Lambda function, Amazon Lex invokes the function when all of * the intent information is available. *
** A confirmation prompt to send to the user to confirm an intent. For example, "Shall I order your pizza?" *
** A conclusion statement to send to the user after the intent is fulfilled. For example, "I ordered your pizza." *
** A follow-up prompt that asks the user for additional activity. For example, * "Do you want a drink with your pizza?" *
** Creates a new resource policy with the specified policy statements. *
* * @param createResourcePolicyRequest * @return Result of the CreateResourcePolicy operation returned by the service. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @sample AmazonLexModelsV2.CreateResourcePolicy * @see AWS API Documentation */ CreateResourcePolicyResult createResourcePolicy(CreateResourcePolicyRequest createResourcePolicyRequest); /** ** Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added * to the current resource policy. If a policy doesn't exist, a new policy is created. *
** You can't create a resource policy statement that allows cross-account access. *
* * @param createResourcePolicyStatementRequest * @return Result of the CreateResourcePolicyStatement operation returned by the service. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @sample AmazonLexModelsV2.CreateResourcePolicyStatement * @see AWS API Documentation */ CreateResourcePolicyStatementResult createResourcePolicyStatement(CreateResourcePolicyStatementRequest createResourcePolicyStatementRequest); /** *
* Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an
* OrderPizza
intent might need slots for size, crust, and number of pizzas. For each slot, you define
* one or more utterances that Amazon Lex uses to elicit a response from the user.
*
* Creates a custom slot type *
** To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a * slot of this type can assume. *
* * @param createSlotTypeRequest * @return Result of the CreateSlotType operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.CreateSlotType * @see AWS * API Documentation */ CreateSlotTypeResult createSlotType(CreateSlotTypeRequest createSlotTypeRequest); /** ** Create a report that describes the differences between the bot and the test set. *
* * @param createTestSetDiscrepancyReportRequest * @return Result of the CreateTestSetDiscrepancyReport operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @sample AmazonLexModelsV2.CreateTestSetDiscrepancyReport * @see AWS API Documentation */ CreateTestSetDiscrepancyReportResult createTestSetDiscrepancyReport(CreateTestSetDiscrepancyReportRequest createTestSetDiscrepancyReportRequest); /** ** Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale. *
* * @param createUploadUrlRequest * @return Result of the CreateUploadUrl operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.CreateUploadUrl * @see AWS * API Documentation */ CreateUploadUrlResult createUploadUrl(CreateUploadUrlRequest createUploadUrlRequest); /** *
* Deletes all versions of a bot, including the Draft
version. To delete a specific version, use the
* DeleteBotVersion
operation.
*
* When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all * locales, intents, slot, and slot types defined for the bot. *
*
* If a bot has an alias, the DeleteBot
operation returns a ResourceInUseException
* exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck
parameter to
* true
.
*
* Deletes the specified bot alias. *
* * @param deleteBotAliasRequest * @return Result of the DeleteBotAlias operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DeleteBotAlias * @see AWS * API Documentation */ DeleteBotAliasResult deleteBotAlias(DeleteBotAliasRequest deleteBotAliasRequest); /** ** Removes a locale from a bot. *
** When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted. *
* * @param deleteBotLocaleRequest * @return Result of the DeleteBotLocale operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DeleteBotLocale * @see AWS * API Documentation */ DeleteBotLocaleResult deleteBotLocale(DeleteBotLocaleRequest deleteBotLocaleRequest); /** ** Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation. *
* * @param deleteBotVersionRequest * @return Result of the DeleteBotVersion operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DeleteBotVersion * @see AWS * API Documentation */ DeleteBotVersionResult deleteBotVersion(DeleteBotVersionRequest deleteBotVersionRequest); /** ** Removes a custom vocabulary from the specified locale in the specified bot. *
* * @param deleteCustomVocabularyRequest * @return Result of the DeleteCustomVocabulary operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DeleteCustomVocabulary * @see AWS API Documentation */ DeleteCustomVocabularyResult deleteCustomVocabulary(DeleteCustomVocabularyRequest deleteCustomVocabularyRequest); /** ** Removes a previous export and the associated files stored in an S3 bucket. *
* * @param deleteExportRequest * @return Result of the DeleteExport operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DeleteExport * @see AWS API * Documentation */ DeleteExportResult deleteExport(DeleteExportRequest deleteExportRequest); /** ** Removes a previous import and the associated file stored in an S3 bucket. *
* * @param deleteImportRequest * @return Result of the DeleteImport operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DeleteImport * @see AWS API * Documentation */ DeleteImportResult deleteImport(DeleteImportRequest deleteImportRequest); /** ** Removes the specified intent. *
** Deleting an intent also deletes the slots associated with the intent. *
* * @param deleteIntentRequest * @return Result of the DeleteIntent operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DeleteIntent * @see AWS API * Documentation */ DeleteIntentResult deleteIntent(DeleteIntentRequest deleteIntentRequest); /** ** Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex * returns an exception. *
* * @param deleteResourcePolicyRequest * @return Result of the DeleteResourcePolicy operation returned by the service. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @sample AmazonLexModelsV2.DeleteResourcePolicy * @see AWS API Documentation */ DeleteResourcePolicyResult deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest); /** ** Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is * deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have * a policy attached, Amazon Lex returns an exception. *
* * @param deleteResourcePolicyStatementRequest * @return Result of the DeleteResourcePolicyStatement operation returned by the service. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @sample AmazonLexModelsV2.DeleteResourcePolicyStatement * @see AWS API Documentation */ DeleteResourcePolicyStatementResult deleteResourcePolicyStatement(DeleteResourcePolicyStatementRequest deleteResourcePolicyStatementRequest); /** ** Deletes the specified slot from an intent. *
* * @param deleteSlotRequest * @return Result of the DeleteSlot operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DeleteSlot * @see AWS API * Documentation */ DeleteSlotResult deleteSlot(DeleteSlotRequest deleteSlotRequest); /** ** Deletes a slot type from a bot locale. *
*
* If a slot is using the slot type, Amazon Lex throws a ResourceInUseException
exception. To avoid the
* exception, set the skipResourceInUseCheck
parameter to true
.
*
* The action to delete the selected test set. *
* * @param deleteTestSetRequest * @return Result of the DeleteTestSet operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DeleteTestSet * @see AWS * API Documentation */ DeleteTestSetResult deleteTestSet(DeleteTestSetRequest deleteTestSetRequest); /** ** Deletes stored utterances. *
** Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the * * ListAggregatedUtterances operation, and then stored indefinitely for use in improving the ability of your bot * to respond to user input.. *
*
* Use the DeleteUtterances
operation to manually delete utterances for a specific session. When you
* use the DeleteUtterances
operation, utterances stored for improving your bot's ability to respond to
* user input are deleted immediately. Utterances stored for use with the ListAggregatedUtterances
* operation are deleted after 15 days.
*
* Provides metadata information about a bot. *
* * @param describeBotRequest * @return Result of the DescribeBot operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeBot * @see AWS API * Documentation */ DescribeBotResult describeBot(DescribeBotRequest describeBotRequest); /** ** Get information about a specific bot alias. *
* * @param describeBotAliasRequest * @return Result of the DescribeBotAlias operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeBotAlias * @see AWS * API Documentation */ DescribeBotAliasResult describeBotAlias(DescribeBotAliasRequest describeBotAliasRequest); /** ** Describes the settings that a bot has for a specific locale. *
* * @param describeBotLocaleRequest * @return Result of the DescribeBotLocale operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeBotLocale * @see AWS API Documentation */ DescribeBotLocaleResult describeBotLocale(DescribeBotLocaleRequest describeBotLocaleRequest); /** ** Provides metadata information about a bot recommendation. This information will enable you to get a description * on the request inputs, to download associated transcripts after processing is complete, and to download intents * and slot-types generated by the bot recommendation. *
* * @param describeBotRecommendationRequest * @return Result of the DescribeBotRecommendation operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeBotRecommendation * @see AWS API Documentation */ DescribeBotRecommendationResult describeBotRecommendation(DescribeBotRecommendationRequest describeBotRecommendationRequest); /** ** Provides metadata about a version of a bot. *
* * @param describeBotVersionRequest * @return Result of the DescribeBotVersion operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeBotVersion * @see AWS API Documentation */ DescribeBotVersionResult describeBotVersion(DescribeBotVersionRequest describeBotVersionRequest); /** ** Provides metadata information about a custom vocabulary. *
* * @param describeCustomVocabularyMetadataRequest * @return Result of the DescribeCustomVocabularyMetadata operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeCustomVocabularyMetadata * @see AWS API Documentation */ DescribeCustomVocabularyMetadataResult describeCustomVocabularyMetadata(DescribeCustomVocabularyMetadataRequest describeCustomVocabularyMetadataRequest); /** ** Gets information about a specific export. *
* * @param describeExportRequest * @return Result of the DescribeExport operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeExport * @see AWS * API Documentation */ DescribeExportResult describeExport(DescribeExportRequest describeExportRequest); /** ** Gets information about a specific import. *
* * @param describeImportRequest * @return Result of the DescribeImport operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeImport * @see AWS * API Documentation */ DescribeImportResult describeImport(DescribeImportRequest describeImportRequest); /** ** Returns metadata about an intent. *
* * @param describeIntentRequest * @return Result of the DescribeIntent operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeIntent * @see AWS * API Documentation */ DescribeIntentResult describeIntent(DescribeIntentRequest describeIntentRequest); /** ** Gets the resource policy and policy revision for a bot or bot alias. *
* * @param describeResourcePolicyRequest * @return Result of the DescribeResourcePolicy operation returned by the service. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @sample AmazonLexModelsV2.DescribeResourcePolicy * @see AWS API Documentation */ DescribeResourcePolicyResult describeResourcePolicy(DescribeResourcePolicyRequest describeResourcePolicyRequest); /** ** Gets metadata information about a slot. *
* * @param describeSlotRequest * @return Result of the DescribeSlot operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeSlot * @see AWS API * Documentation */ DescribeSlotResult describeSlot(DescribeSlotRequest describeSlotRequest); /** ** Gets metadata information about a slot type. *
* * @param describeSlotTypeRequest * @return Result of the DescribeSlotType operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeSlotType * @see AWS * API Documentation */ DescribeSlotTypeResult describeSlotType(DescribeSlotTypeRequest describeSlotTypeRequest); /** ** Gets metadata information about the test execution. *
* * @param describeTestExecutionRequest * @return Result of the DescribeTestExecution operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeTestExecution * @see AWS API Documentation */ DescribeTestExecutionResult describeTestExecution(DescribeTestExecutionRequest describeTestExecutionRequest); /** ** Gets metadata information about the test set. *
* * @param describeTestSetRequest * @return Result of the DescribeTestSet operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeTestSet * @see AWS * API Documentation */ DescribeTestSetResult describeTestSet(DescribeTestSetRequest describeTestSetRequest); /** ** Gets metadata information about the test set discrepancy report. *
* * @param describeTestSetDiscrepancyReportRequest * @return Result of the DescribeTestSetDiscrepancyReport operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeTestSetDiscrepancyReport * @see AWS API Documentation */ DescribeTestSetDiscrepancyReportResult describeTestSetDiscrepancyReport(DescribeTestSetDiscrepancyReportRequest describeTestSetDiscrepancyReportRequest); /** ** Gets metadata information about the test set generation. *
* * @param describeTestSetGenerationRequest * @return Result of the DescribeTestSetGeneration operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.DescribeTestSetGeneration * @see AWS API Documentation */ DescribeTestSetGenerationResult describeTestSetGeneration(DescribeTestSetGenerationRequest describeTestSetGenerationRequest); /** ** The pre-signed Amazon S3 URL to download the test execution result artifacts. *
* * @param getTestExecutionArtifactsUrlRequest * @return Result of the GetTestExecutionArtifactsUrl operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.GetTestExecutionArtifactsUrl * @see AWS API Documentation */ GetTestExecutionArtifactsUrlResult getTestExecutionArtifactsUrl(GetTestExecutionArtifactsUrlRequest getTestExecutionArtifactsUrlRequest); /** ** Provides a list of utterances that users have sent to the bot. *
** Utterances are aggregated by the text of the utterance. For example, all instances where customers used the * phrase "I want to order pizza" are aggregated into the same line in the response. *
** You can see both detected utterances and missed utterances. A detected utterance is where the bot properly * recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot * and didn't activate an intent. *
** Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time. *
** Utterances statistics are not generated under the following conditions: *
*
* The childDirected
field was set to true when the bot was created.
*
* You are using slot obfuscation with one or more slots. *
** You opted out of participating in improving Amazon Lex. *
** Gets a list of aliases for the specified bot. *
* * @param listBotAliasesRequest * @return Result of the ListBotAliases operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListBotAliases * @see AWS * API Documentation */ ListBotAliasesResult listBotAliases(ListBotAliasesRequest listBotAliasesRequest); /** ** Gets a list of locales for the specified bot. *
* * @param listBotLocalesRequest * @return Result of the ListBotLocales operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListBotLocales * @see AWS * API Documentation */ ListBotLocalesResult listBotLocales(ListBotLocalesRequest listBotLocalesRequest); /** ** Get a list of bot recommendations that meet the specified criteria. *
* * @param listBotRecommendationsRequest * @return Result of the ListBotRecommendations operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @sample AmazonLexModelsV2.ListBotRecommendations * @see AWS API Documentation */ ListBotRecommendationsResult listBotRecommendations(ListBotRecommendationsRequest listBotRecommendationsRequest); /** ** Gets information about all of the versions of a bot. *
*
* The ListBotVersions
operation returns a summary of each version of a bot. For example, if a bot has
* three numbered versions, the ListBotVersions
operation returns for summaries, one for each numbered
* version and one for the DRAFT
version.
*
* The ListBotVersions
operation always returns at least one version, the DRAFT
version.
*
* Gets a list of available bots. *
* * @param listBotsRequest * @return Result of the ListBots operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListBots * @see AWS API * Documentation */ ListBotsResult listBots(ListBotsRequest listBotsRequest); /** ** Gets a list of built-in intents provided by Amazon Lex that you can use in your bot. *
*
* To use a built-in intent as a the base for your own intent, include the built-in intent signature in the
* parentIntentSignature
parameter when you call the CreateIntent
operation. For more
* information, see CreateIntent.
*
* Gets a list of built-in slot types that meet the specified criteria. *
* * @param listBuiltInSlotTypesRequest * @return Result of the ListBuiltInSlotTypes operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListBuiltInSlotTypes * @see AWS API Documentation */ ListBuiltInSlotTypesResult listBuiltInSlotTypes(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest); /** ** Paginated list of custom vocabulary items for a given bot locale's custom vocabulary. *
* * @param listCustomVocabularyItemsRequest * @return Result of the ListCustomVocabularyItems operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListCustomVocabularyItems * @see AWS API Documentation */ ListCustomVocabularyItemsResult listCustomVocabularyItems(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest); /** ** Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days. *
* * @param listExportsRequest * @return Result of the ListExports operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListExports * @see AWS API * Documentation */ ListExportsResult listExports(ListExportsRequest listExportsRequest); /** ** Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days. *
* * @param listImportsRequest * @return Result of the ListImports operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListImports * @see AWS API * Documentation */ ListImportsResult listImports(ListImportsRequest listImportsRequest); /** ** Retrieves summary metrics for the intents in your bot. The following fields are required: *
*
* metrics
– A list of AnalyticsIntentMetric objects. In each object, use the name
field to specify the metric to
* calculate, the statistic
field to specify whether to calculate the Sum
,
* Average
, or Max
number, and the order
field to specify whether to sort the
* results in Ascending
or Descending
order.
*
* startDateTime
and endDateTime
– Define a time range for which you want to retrieve
* results.
*
* Of the optional fields, you can organize the results in the following ways: *
*
* Use the filters
field to filter the results, the groupBy
field to specify categories by
* which to group the results, and the binBy
field to specify time intervals by which to group the
* results.
*
* Use the maxResults
field to limit the number of results to return in a single response and the
* nextToken
field to return the next batch of results if the response does not return the full set of
* results.
*
* Note that an order
field exists in both binBy
and metrics
. You can specify
* only one order
in a given request.
*
* Retrieves summary statistics for a path of intents that users take over sessions with your bot. The following * fields are required: *
*
* startDateTime
and endDateTime
– Define a time range for which you want to retrieve
* results.
*
* intentPath
– Define an order of intents for which you want to retrieve metrics. Separate intents in
* the path with a forward slash. For example, populate the intentPath
field with
* /BookCar/BookHotel
to see details about how many times users invoked the BookCar
and
* BookHotel
intents in that order.
*
* Use the optional filters
field to filter the results.
*
* Retrieves summary metrics for the stages within intents in your bot. The following fields are required: *
*
* metrics
– A list of AnalyticsIntentStageMetric objects. In each object, use the name
field to specify the metric to
* calculate, the statistic
field to specify whether to calculate the Sum
,
* Average
, or Max
number, and the order
field to specify whether to sort the
* results in Ascending
or Descending
order.
*
* startDateTime
and endDateTime
– Define a time range for which you want to retrieve
* results.
*
* Of the optional fields, you can organize the results in the following ways: *
*
* Use the filters
field to filter the results, the groupBy
field to specify categories by
* which to group the results, and the binBy
field to specify time intervals by which to group the
* results.
*
* Use the maxResults
field to limit the number of results to return in a single response and the
* nextToken
field to return the next batch of results if the response does not return the full set of
* results.
*
* Note that an order
field exists in both binBy
and metrics
. You can only
* specify one order
in a given request.
*
* Get a list of intents that meet the specified criteria. *
* * @param listIntentsRequest * @return Result of the ListIntents operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListIntents * @see AWS API * Documentation */ ListIntentsResult listIntents(ListIntentsRequest listIntentsRequest); /** ** Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in * the response are ordered by relevance. *
* * @param listRecommendedIntentsRequest * @return Result of the ListRecommendedIntents operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @sample AmazonLexModelsV2.ListRecommendedIntents * @see AWS API Documentation */ ListRecommendedIntentsResult listRecommendedIntents(ListRecommendedIntentsRequest listRecommendedIntentsRequest); /** *
* Retrieves a list of metadata for individual user sessions with your bot. The startDateTime
and
* endDateTime
fields are required. These fields define a time range for which you want to retrieve
* results. Of the optional fields, you can organize the results in the following ways:
*
* Use the filters
field to filter the results and the sortBy
field to specify the values
* by which to sort the results.
*
* Use the maxResults
field to limit the number of results to return in a single response and the
* nextToken
field to return the next batch of results if the response does not return the full set of
* results.
*
* Retrieves summary metrics for the user sessions with your bot. The following fields are required: *
*
* metrics
– A list of AnalyticsSessionMetric objects. In each object, use the name
field to specify the metric to
* calculate, the statistic
field to specify whether to calculate the Sum
,
* Average
, or Max
number, and the order
field to specify whether to sort the
* results in Ascending
or Descending
order.
*
* startDateTime
and endDateTime
– Define a time range for which you want to retrieve
* results.
*
* Of the optional fields, you can organize the results in the following ways: *
*
* Use the filters
field to filter the results, the groupBy
field to specify categories by
* which to group the results, and the binBy
field to specify time intervals by which to group the
* results.
*
* Use the maxResults
field to limit the number of results to return in a single response and the
* nextToken
field to return the next batch of results if the response does not return the full set of
* results.
*
* Note that an order
field exists in both binBy
and metrics
. Currently, you
* can specify it in either field, but not in both.
*
* Gets a list of slot types that match the specified criteria. *
* * @param listSlotTypesRequest * @return Result of the ListSlotTypes operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListSlotTypes * @see AWS * API Documentation */ ListSlotTypesResult listSlotTypes(ListSlotTypesRequest listSlotTypesRequest); /** ** Gets a list of slots that match the specified criteria. *
* * @param listSlotsRequest * @return Result of the ListSlots operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListSlots * @see AWS API * Documentation */ ListSlotsResult listSlots(ListSlotsRequest listSlotsRequest); /** ** Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated * with them. *
* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @sample AmazonLexModelsV2.ListTagsForResource * @see AWS API Documentation */ ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest); /** ** Gets a list of test execution result items. *
* * @param listTestExecutionResultItemsRequest * @return Result of the ListTestExecutionResultItems operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListTestExecutionResultItems * @see AWS API Documentation */ ListTestExecutionResultItemsResult listTestExecutionResultItems(ListTestExecutionResultItemsRequest listTestExecutionResultItemsRequest); /** ** The list of test set executions. *
* * @param listTestExecutionsRequest * @return Result of the ListTestExecutions operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListTestExecutions * @see AWS API Documentation */ ListTestExecutionsResult listTestExecutions(ListTestExecutionsRequest listTestExecutionsRequest); /** ** The list of test set records. *
* * @param listTestSetRecordsRequest * @return Result of the ListTestSetRecords operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListTestSetRecords * @see AWS API Documentation */ ListTestSetRecordsResult listTestSetRecords(ListTestSetRecordsRequest listTestSetRecordsRequest); /** ** The list of the test sets *
* * @param listTestSetsRequest * @return Result of the ListTestSets operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.ListTestSets * @see AWS API * Documentation */ ListTestSetsResult listTestSets(ListTestSetsRequest listTestSetsRequest); /** ** To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics. See Viewing utterance statistics * for the IAM policy to apply to the IAM role. *
** Retrieves a list of metadata for individual user utterances to your bot. The following fields are required: *
*
* startDateTime
and endDateTime
– Define a time range for which you want to retrieve
* results.
*
* Of the optional fields, you can organize the results in the following ways: *
*
* Use the filters
field to filter the results and the sortBy
field to specify the values
* by which to sort the results.
*
* Use the maxResults
field to limit the number of results to return in a single response and the
* nextToken
field to return the next batch of results if the response does not return the full set of
* results.
*
* To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics. See Viewing utterance statistics * for the IAM policy to apply to the IAM role. *
** Retrieves summary metrics for the utterances in your bot. The following fields are required: *
*
* metrics
– A list of AnalyticsUtteranceMetric objects. In each object, use the name
field to specify the metric to
* calculate, the statistic
field to specify whether to calculate the Sum
,
* Average
, or Max
number, and the order
field to specify whether to sort the
* results in Ascending
or Descending
order.
*
* startDateTime
and endDateTime
– Define a time range for which you want to retrieve
* results.
*
* Of the optional fields, you can organize the results in the following ways: *
*
* Use the filters
field to filter the results, the groupBy
field to specify categories by
* which to group the results, and the binBy
field to specify time intervals by which to group the
* results.
*
* Use the maxResults
field to limit the number of results to return in a single response and the
* nextToken
field to return the next batch of results if the response does not return the full set of
* results.
*
* Note that an order
field exists in both binBy
and metrics
. Currently, you
* can specify it in either field, but not in both.
*
* Search for associated transcripts that meet the specified criteria. *
* * @param searchAssociatedTranscriptsRequest * @return Result of the SearchAssociatedTranscripts operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @sample AmazonLexModelsV2.SearchAssociatedTranscripts * @see AWS API Documentation */ SearchAssociatedTranscriptsResult searchAssociatedTranscripts(SearchAssociatedTranscriptsRequest searchAssociatedTranscriptsRequest); /** ** Use this to provide your transcript data, and to start the bot recommendation process. *
* * @param startBotRecommendationRequest * @return Result of the StartBotRecommendation operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.StartBotRecommendation * @see AWS API Documentation */ StartBotRecommendationResult startBotRecommendation(StartBotRecommendationRequest startBotRecommendationRequest); /** ** Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket. *
* * @param startImportRequest * @return Result of the StartImport operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.StartImport * @see AWS API * Documentation */ StartImportResult startImport(StartImportRequest startImportRequest); /** ** The action to start test set execution. *
* * @param startTestExecutionRequest * @return Result of the StartTestExecution operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.StartTestExecution * @see AWS API Documentation */ StartTestExecutionResult startTestExecution(StartTestExecutionRequest startTestExecutionRequest); /** ** The action to start the generation of test set. *
* * @param startTestSetGenerationRequest * @return Result of the StartTestSetGeneration operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.StartTestSetGeneration * @see AWS API Documentation */ StartTestSetGenerationResult startTestSetGeneration(StartTestSetGenerationRequest startTestSetGenerationRequest); /** ** Stop an already running Bot Recommendation request. *
* * @param stopBotRecommendationRequest * @return Result of the StopBotRecommendation operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.StopBotRecommendation * @see AWS API Documentation */ StopBotRecommendationResult stopBotRecommendation(StopBotRecommendationRequest stopBotRecommendationRequest); /** ** Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced * with the new value. *
* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @sample AmazonLexModelsV2.TagResource * @see AWS API * Documentation */ TagResourceResult tagResource(TagResourceRequest tagResourceRequest); /** ** Removes tags from a bot, bot alias, or bot channel. *
* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @sample AmazonLexModelsV2.UntagResource * @see AWS * API Documentation */ UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest); /** ** Updates the configuration of an existing bot. *
* * @param updateBotRequest * @return Result of the UpdateBot operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.UpdateBot * @see AWS API * Documentation */ UpdateBotResult updateBot(UpdateBotRequest updateBotRequest); /** ** Updates the configuration of an existing bot alias. *
* * @param updateBotAliasRequest * @return Result of the UpdateBotAlias operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.UpdateBotAlias * @see AWS * API Documentation */ UpdateBotAliasResult updateBotAlias(UpdateBotAliasRequest updateBotAliasRequest); /** ** Updates the settings that a bot has for a specific locale. *
* * @param updateBotLocaleRequest * @return Result of the UpdateBotLocale operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.UpdateBotLocale * @see AWS * API Documentation */ UpdateBotLocaleResult updateBotLocale(UpdateBotLocaleRequest updateBotLocaleRequest); /** ** Updates an existing bot recommendation request. *
* * @param updateBotRecommendationRequest * @return Result of the UpdateBotRecommendation operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.UpdateBotRecommendation * @see AWS API Documentation */ UpdateBotRecommendationResult updateBotRecommendation(UpdateBotRecommendationRequest updateBotRecommendationRequest); /** ** Updates the password used to protect an export zip archive. *
** The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not * protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the DescribeExport * operation. *
* * @param updateExportRequest * @return Result of the UpdateExport operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.UpdateExport * @see AWS API * Documentation */ UpdateExportResult updateExport(UpdateExportRequest updateExportRequest); /** ** Updates the settings for an intent. *
* * @param updateIntentRequest * @return Result of the UpdateIntent operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.UpdateIntent * @see AWS API * Documentation */ UpdateIntentResult updateIntent(UpdateIntentRequest updateIntentRequest); /** ** Replaces the existing resource policy for a bot or bot alias with a new one. If the policy doesn't exist, Amazon * Lex returns an exception. *
* * @param updateResourcePolicyRequest * @return Result of the UpdateResourcePolicy operation returned by the service. * @throws ResourceNotFoundException * You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try * again. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @sample AmazonLexModelsV2.UpdateResourcePolicy * @see AWS API Documentation */ UpdateResourcePolicyResult updateResourcePolicy(UpdateResourcePolicyRequest updateResourcePolicyRequest); /** ** Updates the settings for a slot. *
* * @param updateSlotRequest * @return Result of the UpdateSlot operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.UpdateSlot * @see AWS API * Documentation */ UpdateSlotResult updateSlot(UpdateSlotRequest updateSlotRequest); /** ** Updates the configuration of an existing slot type. *
* * @param updateSlotTypeRequest * @return Result of the UpdateSlotType operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.UpdateSlotType * @see AWS * API Documentation */ UpdateSlotTypeResult updateSlotType(UpdateSlotTypeRequest updateSlotTypeRequest); /** ** The action to update the test set. *
* * @param updateTestSetRequest * @return Result of the UpdateTestSet operation returned by the service. * @throws ThrottlingException * Your request rate is too high. Reduce the frequency of requests. * @throws ServiceQuotaExceededException * You have reached a quota for your bot. * @throws ValidationException * One of the input parameters in your request isn't valid. Check the parameters and try your request again. * @throws PreconditionFailedException * Your request couldn't be completed because one or more request fields aren't valid. Check the fields in * your request and try again. * @throws ConflictException * The action that you tried to perform couldn't be completed because the resource is in a conflicting * state. For example, deleting a bot that is in the CREATING state. Try your request again. * @throws InternalServerException * The service encountered an unexpected condition. Try your request again. * @sample AmazonLexModelsV2.UpdateTestSet * @see AWS * API Documentation */ UpdateTestSetResult updateTestSet(UpdateTestSetRequest updateTestSetRequest); /** * Shuts down this client object, releasing any resources that might be held open. This is an optional method, and * callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client * has been shutdown, it should not be used to make any more requests. */ void shutdown(); /** * Returns additional metadata for a previously executed successful request, typically used for debugging issues * where a service isn't acting as expected. This data isn't considered part of the result data returned by an * operation, so it's available through this separate, diagnostic interface. ** Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic * information for an executed request, you should use this method to retrieve it as soon as possible after * executing a request. * * @param request * The originally executed request. * * @return The response metadata for the specified request, or null if none is available. */ ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request); AmazonLexModelsV2Waiters waiters(); }