@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonLexModelsV2Client extends AmazonWebServiceClient implements AmazonLexModelsV2
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
BuildBotLocaleResult |
buildBotLocale(BuildBotLocaleRequest request)
Builds a bot, its intents, and its slot types into a specific locale.
|
static AmazonLexModelsV2ClientBuilder |
builder() |
CreateBotResult |
createBot(CreateBotRequest request)
Creates an Amazon Lex conversational bot.
|
CreateBotAliasResult |
createBotAlias(CreateBotAliasRequest request)
Creates an alias for the specified version of a bot.
|
CreateBotLocaleResult |
createBotLocale(CreateBotLocaleRequest request)
Creates a locale in the bot.
|
CreateBotVersionResult |
createBotVersion(CreateBotVersionRequest request)
Creates a new version of the bot based on the
DRAFT version. |
CreateExportResult |
createExport(CreateExportRequest request)
Creates a zip archive containing the contents of a bot or a bot locale.
|
CreateIntentResult |
createIntent(CreateIntentRequest request)
Creates an intent.
|
CreateResourcePolicyResult |
createResourcePolicy(CreateResourcePolicyRequest request)
Creates a new resource policy with the specified policy statements.
|
CreateResourcePolicyStatementResult |
createResourcePolicyStatement(CreateResourcePolicyStatementRequest request)
Adds a new resource policy statement to a bot or bot alias.
|
CreateSlotResult |
createSlot(CreateSlotRequest request)
Creates a slot in an intent.
|
CreateSlotTypeResult |
createSlotType(CreateSlotTypeRequest request)
Creates a custom slot type
|
CreateUploadUrlResult |
createUploadUrl(CreateUploadUrlRequest request)
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
|
DeleteBotResult |
deleteBot(DeleteBotRequest request)
Deletes all versions of a bot, including the
Draft version. |
DeleteBotAliasResult |
deleteBotAlias(DeleteBotAliasRequest request)
Deletes the specified bot alias.
|
DeleteBotLocaleResult |
deleteBotLocale(DeleteBotLocaleRequest request)
Removes a locale from a bot.
|
DeleteBotVersionResult |
deleteBotVersion(DeleteBotVersionRequest request)
Deletes a specific version of a bot.
|
DeleteExportResult |
deleteExport(DeleteExportRequest request)
Removes a previous export and the associated files stored in an S3 bucket.
|
DeleteImportResult |
deleteImport(DeleteImportRequest request)
Removes a previous import and the associated file stored in an S3 bucket.
|
DeleteIntentResult |
deleteIntent(DeleteIntentRequest request)
Removes the specified intent.
|
DeleteResourcePolicyResult |
deleteResourcePolicy(DeleteResourcePolicyRequest request)
Removes an existing policy from a bot or bot alias.
|
DeleteResourcePolicyStatementResult |
deleteResourcePolicyStatement(DeleteResourcePolicyStatementRequest request)
Deletes a policy statement from a resource policy.
|
DeleteSlotResult |
deleteSlot(DeleteSlotRequest request)
Deletes the specified slot from an intent.
|
DeleteSlotTypeResult |
deleteSlotType(DeleteSlotTypeRequest request)
Deletes a slot type from a bot locale.
|
DescribeBotResult |
describeBot(DescribeBotRequest request)
Provides metadata information about a bot.
|
DescribeBotAliasResult |
describeBotAlias(DescribeBotAliasRequest request)
Get information about a specific bot alias.
|
DescribeBotLocaleResult |
describeBotLocale(DescribeBotLocaleRequest request)
Describes the settings that a bot has for a specific locale.
|
DescribeBotVersionResult |
describeBotVersion(DescribeBotVersionRequest request)
Provides metadata about a version of a bot.
|
DescribeExportResult |
describeExport(DescribeExportRequest request)
Gets information about a specific export.
|
DescribeImportResult |
describeImport(DescribeImportRequest request)
Gets information about a specific import.
|
DescribeIntentResult |
describeIntent(DescribeIntentRequest request)
Returns metadata about an intent.
|
DescribeResourcePolicyResult |
describeResourcePolicy(DescribeResourcePolicyRequest request)
Gets the resource policy and policy revision for a bot or bot alias.
|
DescribeSlotResult |
describeSlot(DescribeSlotRequest request)
Gets metadata information about a slot.
|
DescribeSlotTypeResult |
describeSlotType(DescribeSlotTypeRequest request)
Gets metadata information about a slot type.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListBotAliasesResult |
listBotAliases(ListBotAliasesRequest request)
Gets a list of aliases for the specified bot.
|
ListBotLocalesResult |
listBotLocales(ListBotLocalesRequest request)
Gets a list of locales for the specified bot.
|
ListBotsResult |
listBots(ListBotsRequest request)
Gets a list of available bots.
|
ListBotVersionsResult |
listBotVersions(ListBotVersionsRequest request)
Gets information about all of the versions of a bot.
|
ListBuiltInIntentsResult |
listBuiltInIntents(ListBuiltInIntentsRequest request)
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
|
ListBuiltInSlotTypesResult |
listBuiltInSlotTypes(ListBuiltInSlotTypesRequest request)
Gets a list of built-in slot types that meet the specified criteria.
|
ListExportsResult |
listExports(ListExportsRequest request)
Lists the exports for a bot or bot locale.
|
ListImportsResult |
listImports(ListImportsRequest request)
Lists the imports for a bot or bot locale.
|
ListIntentsResult |
listIntents(ListIntentsRequest request)
Get a list of intents that meet the specified criteria.
|
ListSlotsResult |
listSlots(ListSlotsRequest request)
Gets a list of slots that match the specified criteria.
|
ListSlotTypesResult |
listSlotTypes(ListSlotTypesRequest request)
Gets a list of slot types that match the specified criteria.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Gets a list of tags associated with a resource.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartImportResult |
startImport(StartImportRequest request)
Starts importing a bot or bot locale from a zip archive that you uploaded to an S3 bucket.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds the specified tags to the specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes tags from a bot, bot alias, or bot channel.
|
UpdateBotResult |
updateBot(UpdateBotRequest request)
Updates the configuration of an existing bot.
|
UpdateBotAliasResult |
updateBotAlias(UpdateBotAliasRequest request)
Updates the configuration of an existing bot alias.
|
UpdateBotLocaleResult |
updateBotLocale(UpdateBotLocaleRequest request)
Updates the settings that a bot has for a specific locale.
|
UpdateExportResult |
updateExport(UpdateExportRequest request)
Updates the password used to encrypt an export zip archive.
|
UpdateIntentResult |
updateIntent(UpdateIntentRequest request)
Updates the settings for an intent.
|
UpdateResourcePolicyResult |
updateResourcePolicy(UpdateResourcePolicyRequest request)
Replaces the existing resource policy for a bot or bot alias with a new one.
|
UpdateSlotResult |
updateSlot(UpdateSlotRequest request)
Updates the settings for a slot.
|
UpdateSlotTypeResult |
updateSlotType(UpdateSlotTypeRequest request)
Updates the configuration of an existing slot type.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AmazonLexModelsV2ClientBuilder builder()
public BuildBotLocaleResult buildBotLocale(BuildBotLocaleRequest request)
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.
buildBotLocale in interface AmazonLexModelsV2buildBotLocaleRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic CreateBotResult createBot(CreateBotRequest request)
Creates an Amazon Lex conversational bot.
createBot in interface AmazonLexModelsV2createBotRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic CreateBotAliasResult createBotAlias(CreateBotAliasRequest request)
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.
createBotAlias in interface AmazonLexModelsV2createBotAliasRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic CreateBotLocaleResult createBotLocale(CreateBotLocaleRequest request)
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.
createBotLocale in interface AmazonLexModelsV2createBotLocaleRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic CreateBotVersionResult createBotVersion(CreateBotVersionRequest request)
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.
createBotVersion in interface AmazonLexModelsV2createBotVersionRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic CreateExportResult createExport(CreateExportRequest request)
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
createExport in interface AmazonLexModelsV2createExportRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionResourceNotFoundExceptionConflictExceptionInternalServerExceptionpublic CreateIntentResult createIntent(CreateIntentRequest request)
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?"
createIntent in interface AmazonLexModelsV2createIntentRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic CreateResourcePolicyResult createResourcePolicy(CreateResourcePolicyRequest request)
Creates a new resource policy with the specified policy statements.
createResourcePolicy in interface AmazonLexModelsV2createResourcePolicyRequest - ResourceNotFoundExceptionServiceQuotaExceededExceptionPreconditionFailedExceptionValidationExceptionInternalServerExceptionThrottlingExceptionpublic CreateResourcePolicyStatementResult createResourcePolicyStatement(CreateResourcePolicyStatementRequest request)
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 create a resource policy statement that allows cross-account access.
createResourcePolicyStatement in interface AmazonLexModelsV2createResourcePolicyStatementRequest - ResourceNotFoundExceptionConflictExceptionServiceQuotaExceededExceptionPreconditionFailedExceptionValidationExceptionInternalServerExceptionThrottlingExceptionpublic CreateSlotResult createSlot(CreateSlotRequest request)
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.
createSlot in interface AmazonLexModelsV2createSlotRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic CreateSlotTypeResult createSlotType(CreateSlotTypeRequest request)
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.
createSlotType in interface AmazonLexModelsV2createSlotTypeRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic CreateUploadUrlResult createUploadUrl(CreateUploadUrlRequest request)
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
createUploadUrl in interface AmazonLexModelsV2createUploadUrlRequest - ThrottlingExceptionValidationExceptionResourceNotFoundExceptionConflictExceptionInternalServerExceptionpublic DeleteBotResult deleteBot(DeleteBotRequest request)
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.
deleteBot in interface AmazonLexModelsV2deleteBotRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionConflictExceptionPreconditionFailedExceptionInternalServerExceptionpublic DeleteBotAliasResult deleteBotAlias(DeleteBotAliasRequest request)
Deletes the specified bot alias.
deleteBotAlias in interface AmazonLexModelsV2deleteBotAliasRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionConflictExceptionPreconditionFailedExceptionInternalServerExceptionpublic DeleteBotLocaleResult deleteBotLocale(DeleteBotLocaleRequest request)
Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
deleteBotLocale in interface AmazonLexModelsV2deleteBotLocaleRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic DeleteBotVersionResult deleteBotVersion(DeleteBotVersionRequest request)
Deletes a specific version of a bot. To delete all version of a bot, use the DeleteBot operation.
deleteBotVersion in interface AmazonLexModelsV2deleteBotVersionRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionConflictExceptionPreconditionFailedExceptionInternalServerExceptionpublic DeleteExportResult deleteExport(DeleteExportRequest request)
Removes a previous export and the associated files stored in an S3 bucket.
deleteExport in interface AmazonLexModelsV2deleteExportRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionInternalServerExceptionpublic DeleteImportResult deleteImport(DeleteImportRequest request)
Removes a previous import and the associated file stored in an S3 bucket.
deleteImport in interface AmazonLexModelsV2deleteImportRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionInternalServerExceptionpublic DeleteIntentResult deleteIntent(DeleteIntentRequest request)
Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
deleteIntent in interface AmazonLexModelsV2deleteIntentRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionConflictExceptionPreconditionFailedExceptionInternalServerExceptionpublic DeleteResourcePolicyResult deleteResourcePolicy(DeleteResourcePolicyRequest request)
Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
deleteResourcePolicy in interface AmazonLexModelsV2deleteResourcePolicyRequest - ResourceNotFoundExceptionPreconditionFailedExceptionInternalServerExceptionThrottlingExceptionpublic DeleteResourcePolicyStatementResult deleteResourcePolicyStatement(DeleteResourcePolicyStatementRequest request)
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.
deleteResourcePolicyStatement in interface AmazonLexModelsV2deleteResourcePolicyStatementRequest - ResourceNotFoundExceptionPreconditionFailedExceptionInternalServerExceptionThrottlingExceptionpublic DeleteSlotResult deleteSlot(DeleteSlotRequest request)
Deletes the specified slot from an intent.
deleteSlot in interface AmazonLexModelsV2deleteSlotRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionConflictExceptionPreconditionFailedExceptionInternalServerExceptionpublic DeleteSlotTypeResult deleteSlotType(DeleteSlotTypeRequest request)
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.
deleteSlotType in interface AmazonLexModelsV2deleteSlotTypeRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionConflictExceptionPreconditionFailedExceptionInternalServerExceptionpublic DescribeBotResult describeBot(DescribeBotRequest request)
Provides metadata information about a bot.
describeBot in interface AmazonLexModelsV2describeBotRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionResourceNotFoundExceptionInternalServerExceptionpublic DescribeBotAliasResult describeBotAlias(DescribeBotAliasRequest request)
Get information about a specific bot alias.
describeBotAlias in interface AmazonLexModelsV2describeBotAliasRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionResourceNotFoundExceptionInternalServerExceptionpublic DescribeBotLocaleResult describeBotLocale(DescribeBotLocaleRequest request)
Describes the settings that a bot has for a specific locale.
describeBotLocale in interface AmazonLexModelsV2describeBotLocaleRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionResourceNotFoundExceptionInternalServerExceptionpublic DescribeBotVersionResult describeBotVersion(DescribeBotVersionRequest request)
Provides metadata about a version of a bot.
describeBotVersion in interface AmazonLexModelsV2describeBotVersionRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionResourceNotFoundExceptionInternalServerExceptionpublic DescribeExportResult describeExport(DescribeExportRequest request)
Gets information about a specific export.
describeExport in interface AmazonLexModelsV2describeExportRequest - ThrottlingExceptionValidationExceptionResourceNotFoundExceptionInternalServerExceptionpublic DescribeImportResult describeImport(DescribeImportRequest request)
Gets information about a specific import.
describeImport in interface AmazonLexModelsV2describeImportRequest - ThrottlingExceptionValidationExceptionResourceNotFoundExceptionInternalServerExceptionpublic DescribeIntentResult describeIntent(DescribeIntentRequest request)
Returns metadata about an intent.
describeIntent in interface AmazonLexModelsV2describeIntentRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionResourceNotFoundExceptionInternalServerExceptionpublic DescribeResourcePolicyResult describeResourcePolicy(DescribeResourcePolicyRequest request)
Gets the resource policy and policy revision for a bot or bot alias.
describeResourcePolicy in interface AmazonLexModelsV2describeResourcePolicyRequest - ResourceNotFoundExceptionInternalServerExceptionThrottlingExceptionpublic DescribeSlotResult describeSlot(DescribeSlotRequest request)
Gets metadata information about a slot.
describeSlot in interface AmazonLexModelsV2describeSlotRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionResourceNotFoundExceptionInternalServerExceptionpublic DescribeSlotTypeResult describeSlotType(DescribeSlotTypeRequest request)
Gets metadata information about a slot type.
describeSlotType in interface AmazonLexModelsV2describeSlotTypeRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionResourceNotFoundExceptionInternalServerExceptionpublic ListBotAliasesResult listBotAliases(ListBotAliasesRequest request)
Gets a list of aliases for the specified bot.
listBotAliases in interface AmazonLexModelsV2listBotAliasesRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionInternalServerExceptionpublic ListBotLocalesResult listBotLocales(ListBotLocalesRequest request)
Gets a list of locales for the specified bot.
listBotLocales in interface AmazonLexModelsV2listBotLocalesRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionInternalServerExceptionpublic ListBotVersionsResult listBotVersions(ListBotVersionsRequest request)
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.
listBotVersions in interface AmazonLexModelsV2listBotVersionsRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionInternalServerExceptionpublic ListBotsResult listBots(ListBotsRequest request)
Gets a list of available bots.
listBots in interface AmazonLexModelsV2listBotsRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionInternalServerExceptionpublic ListBuiltInIntentsResult listBuiltInIntents(ListBuiltInIntentsRequest request)
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.
listBuiltInIntents in interface AmazonLexModelsV2listBuiltInIntentsRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionInternalServerExceptionpublic ListBuiltInSlotTypesResult listBuiltInSlotTypes(ListBuiltInSlotTypesRequest request)
Gets a list of built-in slot types that meet the specified criteria.
listBuiltInSlotTypes in interface AmazonLexModelsV2listBuiltInSlotTypesRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionInternalServerExceptionpublic ListExportsResult listExports(ListExportsRequest request)
Lists the exports for a bot or bot locale. Exports are kept in the list for 7 days.
listExports in interface AmazonLexModelsV2listExportsRequest - ThrottlingExceptionValidationExceptionInternalServerExceptionpublic ListImportsResult listImports(ListImportsRequest request)
Lists the imports for a bot or bot locale. Imports are kept in the list for 7 days.
listImports in interface AmazonLexModelsV2listImportsRequest - ThrottlingExceptionValidationExceptionInternalServerExceptionpublic ListIntentsResult listIntents(ListIntentsRequest request)
Get a list of intents that meet the specified criteria.
listIntents in interface AmazonLexModelsV2listIntentsRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionInternalServerExceptionpublic ListSlotTypesResult listSlotTypes(ListSlotTypesRequest request)
Gets a list of slot types that match the specified criteria.
listSlotTypes in interface AmazonLexModelsV2listSlotTypesRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionInternalServerExceptionpublic ListSlotsResult listSlots(ListSlotsRequest request)
Gets a list of slots that match the specified criteria.
listSlots in interface AmazonLexModelsV2listSlotsRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionInternalServerExceptionpublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
listTagsForResource in interface AmazonLexModelsV2listTagsForResourceRequest - InternalServerExceptionThrottlingExceptionResourceNotFoundExceptionValidationExceptionpublic StartImportResult startImport(StartImportRequest request)
Starts importing a bot or bot locale from a zip archive that you uploaded to an S3 bucket.
startImport in interface AmazonLexModelsV2startImportRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionResourceNotFoundExceptionConflictExceptionInternalServerExceptionpublic TagResourceResult tagResource(TagResourceRequest request)
Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
tagResource in interface AmazonLexModelsV2tagResourceRequest - InternalServerExceptionThrottlingExceptionResourceNotFoundExceptionValidationExceptionpublic UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from a bot, bot alias, or bot channel.
untagResource in interface AmazonLexModelsV2untagResourceRequest - InternalServerExceptionThrottlingExceptionResourceNotFoundExceptionValidationExceptionpublic UpdateBotResult updateBot(UpdateBotRequest request)
Updates the configuration of an existing bot.
updateBot in interface AmazonLexModelsV2updateBotRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic UpdateBotAliasResult updateBotAlias(UpdateBotAliasRequest request)
Updates the configuration of an existing bot alias.
updateBotAlias in interface AmazonLexModelsV2updateBotAliasRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic UpdateBotLocaleResult updateBotLocale(UpdateBotLocaleRequest request)
Updates the settings that a bot has for a specific locale.
updateBotLocale in interface AmazonLexModelsV2updateBotLocaleRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic UpdateExportResult updateExport(UpdateExportRequest request)
Updates the password used to encrypt an export zip archive.
updateExport in interface AmazonLexModelsV2updateExportRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionResourceNotFoundExceptionConflictExceptionInternalServerExceptionpublic UpdateIntentResult updateIntent(UpdateIntentRequest request)
Updates the settings for an intent.
updateIntent in interface AmazonLexModelsV2updateIntentRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic UpdateResourcePolicyResult updateResourcePolicy(UpdateResourcePolicyRequest request)
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.
updateResourcePolicy in interface AmazonLexModelsV2updateResourcePolicyRequest - ResourceNotFoundExceptionServiceQuotaExceededExceptionPreconditionFailedExceptionValidationExceptionInternalServerExceptionThrottlingExceptionpublic UpdateSlotResult updateSlot(UpdateSlotRequest request)
Updates the settings for a slot.
updateSlot in interface AmazonLexModelsV2updateSlotRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic UpdateSlotTypeResult updateSlotType(UpdateSlotTypeRequest request)
Updates the configuration of an existing slot type.
updateSlotType in interface AmazonLexModelsV2updateSlotTypeRequest - ThrottlingExceptionServiceQuotaExceededExceptionValidationExceptionPreconditionFailedExceptionConflictExceptionInternalServerExceptionpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata in interface AmazonLexModelsV2request - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AmazonLexModelsV2shutdown in class AmazonWebServiceClient