@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonLexModelsV2Async extends AbstractAmazonLexModelsV2 implements AmazonLexModelsV2Async
AmazonLexModelsV2Async
. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
buildBotLocale, createBot, createBotAlias, createBotLocale, createBotVersion, createExport, createIntent, createResourcePolicy, createResourcePolicyStatement, createSlot, createSlotType, createUploadUrl, deleteBot, deleteBotAlias, deleteBotLocale, deleteBotVersion, deleteExport, deleteImport, deleteIntent, deleteResourcePolicy, deleteResourcePolicyStatement, deleteSlot, deleteSlotType, deleteUtterances, describeBot, describeBotAlias, describeBotLocale, describeBotVersion, describeExport, describeImport, describeIntent, describeResourcePolicy, describeSlot, describeSlotType, getCachedResponseMetadata, listAggregatedUtterances, listBotAliases, listBotLocales, listBots, listBotVersions, listBuiltInIntents, listBuiltInSlotTypes, listExports, listImports, listIntents, listSlots, listSlotTypes, listTagsForResource, shutdown, startImport, tagResource, untagResource, updateBot, updateBotAlias, updateBotLocale, updateExport, updateIntent, updateResourcePolicy, updateSlot, updateSlotType, waiters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildBotLocale, createBot, createBotAlias, createBotLocale, createBotVersion, createExport, createIntent, createResourcePolicy, createResourcePolicyStatement, createSlot, createSlotType, createUploadUrl, deleteBot, deleteBotAlias, deleteBotLocale, deleteBotVersion, deleteExport, deleteImport, deleteIntent, deleteResourcePolicy, deleteResourcePolicyStatement, deleteSlot, deleteSlotType, deleteUtterances, describeBot, describeBotAlias, describeBotLocale, describeBotVersion, describeExport, describeImport, describeIntent, describeResourcePolicy, describeSlot, describeSlotType, getCachedResponseMetadata, listAggregatedUtterances, listBotAliases, listBotLocales, listBots, listBotVersions, listBuiltInIntents, listBuiltInSlotTypes, listExports, listImports, listIntents, listSlots, listSlotTypes, listTagsForResource, shutdown, startImport, tagResource, untagResource, updateBot, updateBotAlias, updateBotLocale, updateExport, updateIntent, updateResourcePolicy, updateSlot, updateSlotType, waiters
public Future<BuildBotLocaleResult> buildBotLocaleAsync(BuildBotLocaleRequest request)
AmazonLexModelsV2Async
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.
buildBotLocaleAsync
in interface AmazonLexModelsV2Async
public Future<BuildBotLocaleResult> buildBotLocaleAsync(BuildBotLocaleRequest request, AsyncHandler<BuildBotLocaleRequest,BuildBotLocaleResult> asyncHandler)
AmazonLexModelsV2Async
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.
buildBotLocaleAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBotResult> createBotAsync(CreateBotRequest request)
AmazonLexModelsV2Async
Creates an Amazon Lex conversational bot.
createBotAsync
in interface AmazonLexModelsV2Async
public Future<CreateBotResult> createBotAsync(CreateBotRequest request, AsyncHandler<CreateBotRequest,CreateBotResult> asyncHandler)
AmazonLexModelsV2Async
Creates an Amazon Lex conversational bot.
createBotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBotAliasResult> createBotAliasAsync(CreateBotAliasRequest request)
AmazonLexModelsV2Async
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.
createBotAliasAsync
in interface AmazonLexModelsV2Async
public Future<CreateBotAliasResult> createBotAliasAsync(CreateBotAliasRequest request, AsyncHandler<CreateBotAliasRequest,CreateBotAliasResult> asyncHandler)
AmazonLexModelsV2Async
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.
createBotAliasAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBotLocaleResult> createBotLocaleAsync(CreateBotLocaleRequest request)
AmazonLexModelsV2Async
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.
createBotLocaleAsync
in interface AmazonLexModelsV2Async
public Future<CreateBotLocaleResult> createBotLocaleAsync(CreateBotLocaleRequest request, AsyncHandler<CreateBotLocaleRequest,CreateBotLocaleResult> asyncHandler)
AmazonLexModelsV2Async
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.
createBotLocaleAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBotVersionResult> createBotVersionAsync(CreateBotVersionRequest request)
AmazonLexModelsV2Async
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.
createBotVersionAsync
in interface AmazonLexModelsV2Async
public Future<CreateBotVersionResult> createBotVersionAsync(CreateBotVersionRequest request, AsyncHandler<CreateBotVersionRequest,CreateBotVersionResult> asyncHandler)
AmazonLexModelsV2Async
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.
createBotVersionAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateExportResult> createExportAsync(CreateExportRequest request)
AmazonLexModelsV2Async
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
createExportAsync
in interface AmazonLexModelsV2Async
public Future<CreateExportResult> createExportAsync(CreateExportRequest request, AsyncHandler<CreateExportRequest,CreateExportResult> asyncHandler)
AmazonLexModelsV2Async
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
createExportAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateIntentResult> createIntentAsync(CreateIntentRequest request)
AmazonLexModelsV2Async
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?"
createIntentAsync
in interface AmazonLexModelsV2Async
public Future<CreateIntentResult> createIntentAsync(CreateIntentRequest request, AsyncHandler<CreateIntentRequest,CreateIntentResult> asyncHandler)
AmazonLexModelsV2Async
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?"
createIntentAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateResourcePolicyResult> createResourcePolicyAsync(CreateResourcePolicyRequest request)
AmazonLexModelsV2Async
Creates a new resource policy with the specified policy statements.
createResourcePolicyAsync
in interface AmazonLexModelsV2Async
public Future<CreateResourcePolicyResult> createResourcePolicyAsync(CreateResourcePolicyRequest request, AsyncHandler<CreateResourcePolicyRequest,CreateResourcePolicyResult> asyncHandler)
AmazonLexModelsV2Async
Creates a new resource policy with the specified policy statements.
createResourcePolicyAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateResourcePolicyStatementResult> createResourcePolicyStatementAsync(CreateResourcePolicyStatementRequest request)
AmazonLexModelsV2Async
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.
createResourcePolicyStatementAsync
in interface AmazonLexModelsV2Async
public Future<CreateResourcePolicyStatementResult> createResourcePolicyStatementAsync(CreateResourcePolicyStatementRequest request, AsyncHandler<CreateResourcePolicyStatementRequest,CreateResourcePolicyStatementResult> asyncHandler)
AmazonLexModelsV2Async
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.
createResourcePolicyStatementAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateSlotResult> createSlotAsync(CreateSlotRequest request)
AmazonLexModelsV2Async
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.
createSlotAsync
in interface AmazonLexModelsV2Async
public Future<CreateSlotResult> createSlotAsync(CreateSlotRequest request, AsyncHandler<CreateSlotRequest,CreateSlotResult> asyncHandler)
AmazonLexModelsV2Async
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.
createSlotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateSlotTypeResult> createSlotTypeAsync(CreateSlotTypeRequest request)
AmazonLexModelsV2Async
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.
createSlotTypeAsync
in interface AmazonLexModelsV2Async
public Future<CreateSlotTypeResult> createSlotTypeAsync(CreateSlotTypeRequest request, AsyncHandler<CreateSlotTypeRequest,CreateSlotTypeResult> asyncHandler)
AmazonLexModelsV2Async
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.
createSlotTypeAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateUploadUrlResult> createUploadUrlAsync(CreateUploadUrlRequest request)
AmazonLexModelsV2Async
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
createUploadUrlAsync
in interface AmazonLexModelsV2Async
public Future<CreateUploadUrlResult> createUploadUrlAsync(CreateUploadUrlRequest request, AsyncHandler<CreateUploadUrlRequest,CreateUploadUrlResult> asyncHandler)
AmazonLexModelsV2Async
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
createUploadUrlAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBotResult> deleteBotAsync(DeleteBotRequest request)
AmazonLexModelsV2Async
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
.
deleteBotAsync
in interface AmazonLexModelsV2Async
public Future<DeleteBotResult> deleteBotAsync(DeleteBotRequest request, AsyncHandler<DeleteBotRequest,DeleteBotResult> asyncHandler)
AmazonLexModelsV2Async
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
.
deleteBotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBotAliasResult> deleteBotAliasAsync(DeleteBotAliasRequest request)
AmazonLexModelsV2Async
Deletes the specified bot alias.
deleteBotAliasAsync
in interface AmazonLexModelsV2Async
public Future<DeleteBotAliasResult> deleteBotAliasAsync(DeleteBotAliasRequest request, AsyncHandler<DeleteBotAliasRequest,DeleteBotAliasResult> asyncHandler)
AmazonLexModelsV2Async
Deletes the specified bot alias.
deleteBotAliasAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBotLocaleResult> deleteBotLocaleAsync(DeleteBotLocaleRequest request)
AmazonLexModelsV2Async
Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
deleteBotLocaleAsync
in interface AmazonLexModelsV2Async
public Future<DeleteBotLocaleResult> deleteBotLocaleAsync(DeleteBotLocaleRequest request, AsyncHandler<DeleteBotLocaleRequest,DeleteBotLocaleResult> asyncHandler)
AmazonLexModelsV2Async
Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
deleteBotLocaleAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBotVersionResult> deleteBotVersionAsync(DeleteBotVersionRequest request)
AmazonLexModelsV2Async
Deletes a specific version of a bot. To delete all version of a bot, use the DeleteBot operation.
deleteBotVersionAsync
in interface AmazonLexModelsV2Async
public Future<DeleteBotVersionResult> deleteBotVersionAsync(DeleteBotVersionRequest request, AsyncHandler<DeleteBotVersionRequest,DeleteBotVersionResult> asyncHandler)
AmazonLexModelsV2Async
Deletes a specific version of a bot. To delete all version of a bot, use the DeleteBot operation.
deleteBotVersionAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteExportResult> deleteExportAsync(DeleteExportRequest request)
AmazonLexModelsV2Async
Removes a previous export and the associated files stored in an S3 bucket.
deleteExportAsync
in interface AmazonLexModelsV2Async
public Future<DeleteExportResult> deleteExportAsync(DeleteExportRequest request, AsyncHandler<DeleteExportRequest,DeleteExportResult> asyncHandler)
AmazonLexModelsV2Async
Removes a previous export and the associated files stored in an S3 bucket.
deleteExportAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteImportResult> deleteImportAsync(DeleteImportRequest request)
AmazonLexModelsV2Async
Removes a previous import and the associated file stored in an S3 bucket.
deleteImportAsync
in interface AmazonLexModelsV2Async
public Future<DeleteImportResult> deleteImportAsync(DeleteImportRequest request, AsyncHandler<DeleteImportRequest,DeleteImportResult> asyncHandler)
AmazonLexModelsV2Async
Removes a previous import and the associated file stored in an S3 bucket.
deleteImportAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteIntentResult> deleteIntentAsync(DeleteIntentRequest request)
AmazonLexModelsV2Async
Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
deleteIntentAsync
in interface AmazonLexModelsV2Async
public Future<DeleteIntentResult> deleteIntentAsync(DeleteIntentRequest request, AsyncHandler<DeleteIntentRequest,DeleteIntentResult> asyncHandler)
AmazonLexModelsV2Async
Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
deleteIntentAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request)
AmazonLexModelsV2Async
Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
deleteResourcePolicyAsync
in interface AmazonLexModelsV2Async
public Future<DeleteResourcePolicyResult> deleteResourcePolicyAsync(DeleteResourcePolicyRequest request, AsyncHandler<DeleteResourcePolicyRequest,DeleteResourcePolicyResult> asyncHandler)
AmazonLexModelsV2Async
Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
deleteResourcePolicyAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteResourcePolicyStatementResult> deleteResourcePolicyStatementAsync(DeleteResourcePolicyStatementRequest request)
AmazonLexModelsV2Async
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.
deleteResourcePolicyStatementAsync
in interface AmazonLexModelsV2Async
public Future<DeleteResourcePolicyStatementResult> deleteResourcePolicyStatementAsync(DeleteResourcePolicyStatementRequest request, AsyncHandler<DeleteResourcePolicyStatementRequest,DeleteResourcePolicyStatementResult> asyncHandler)
AmazonLexModelsV2Async
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.
deleteResourcePolicyStatementAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSlotResult> deleteSlotAsync(DeleteSlotRequest request)
AmazonLexModelsV2Async
Deletes the specified slot from an intent.
deleteSlotAsync
in interface AmazonLexModelsV2Async
public Future<DeleteSlotResult> deleteSlotAsync(DeleteSlotRequest request, AsyncHandler<DeleteSlotRequest,DeleteSlotResult> asyncHandler)
AmazonLexModelsV2Async
Deletes the specified slot from an intent.
deleteSlotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSlotTypeResult> deleteSlotTypeAsync(DeleteSlotTypeRequest request)
AmazonLexModelsV2Async
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
.
deleteSlotTypeAsync
in interface AmazonLexModelsV2Async
public Future<DeleteSlotTypeResult> deleteSlotTypeAsync(DeleteSlotTypeRequest request, AsyncHandler<DeleteSlotTypeRequest,DeleteSlotTypeResult> asyncHandler)
AmazonLexModelsV2Async
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
.
deleteSlotTypeAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteUtterancesResult> deleteUtterancesAsync(DeleteUtterancesRequest request)
AmazonLexModelsV2Async
Deletes stored utterances.
Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the 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.
deleteUtterancesAsync
in interface AmazonLexModelsV2Async
public Future<DeleteUtterancesResult> deleteUtterancesAsync(DeleteUtterancesRequest request, AsyncHandler<DeleteUtterancesRequest,DeleteUtterancesResult> asyncHandler)
AmazonLexModelsV2Async
Deletes stored utterances.
Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the 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.
deleteUtterancesAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBotResult> describeBotAsync(DescribeBotRequest request)
AmazonLexModelsV2Async
Provides metadata information about a bot.
describeBotAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotResult> describeBotAsync(DescribeBotRequest request, AsyncHandler<DescribeBotRequest,DescribeBotResult> asyncHandler)
AmazonLexModelsV2Async
Provides metadata information about a bot.
describeBotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBotAliasResult> describeBotAliasAsync(DescribeBotAliasRequest request)
AmazonLexModelsV2Async
Get information about a specific bot alias.
describeBotAliasAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotAliasResult> describeBotAliasAsync(DescribeBotAliasRequest request, AsyncHandler<DescribeBotAliasRequest,DescribeBotAliasResult> asyncHandler)
AmazonLexModelsV2Async
Get information about a specific bot alias.
describeBotAliasAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBotLocaleResult> describeBotLocaleAsync(DescribeBotLocaleRequest request)
AmazonLexModelsV2Async
Describes the settings that a bot has for a specific locale.
describeBotLocaleAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotLocaleResult> describeBotLocaleAsync(DescribeBotLocaleRequest request, AsyncHandler<DescribeBotLocaleRequest,DescribeBotLocaleResult> asyncHandler)
AmazonLexModelsV2Async
Describes the settings that a bot has for a specific locale.
describeBotLocaleAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBotVersionResult> describeBotVersionAsync(DescribeBotVersionRequest request)
AmazonLexModelsV2Async
Provides metadata about a version of a bot.
describeBotVersionAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotVersionResult> describeBotVersionAsync(DescribeBotVersionRequest request, AsyncHandler<DescribeBotVersionRequest,DescribeBotVersionResult> asyncHandler)
AmazonLexModelsV2Async
Provides metadata about a version of a bot.
describeBotVersionAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeExportResult> describeExportAsync(DescribeExportRequest request)
AmazonLexModelsV2Async
Gets information about a specific export.
describeExportAsync
in interface AmazonLexModelsV2Async
public Future<DescribeExportResult> describeExportAsync(DescribeExportRequest request, AsyncHandler<DescribeExportRequest,DescribeExportResult> asyncHandler)
AmazonLexModelsV2Async
Gets information about a specific export.
describeExportAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeImportResult> describeImportAsync(DescribeImportRequest request)
AmazonLexModelsV2Async
Gets information about a specific import.
describeImportAsync
in interface AmazonLexModelsV2Async
public Future<DescribeImportResult> describeImportAsync(DescribeImportRequest request, AsyncHandler<DescribeImportRequest,DescribeImportResult> asyncHandler)
AmazonLexModelsV2Async
Gets information about a specific import.
describeImportAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeIntentResult> describeIntentAsync(DescribeIntentRequest request)
AmazonLexModelsV2Async
Returns metadata about an intent.
describeIntentAsync
in interface AmazonLexModelsV2Async
public Future<DescribeIntentResult> describeIntentAsync(DescribeIntentRequest request, AsyncHandler<DescribeIntentRequest,DescribeIntentResult> asyncHandler)
AmazonLexModelsV2Async
Returns metadata about an intent.
describeIntentAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeResourcePolicyResult> describeResourcePolicyAsync(DescribeResourcePolicyRequest request)
AmazonLexModelsV2Async
Gets the resource policy and policy revision for a bot or bot alias.
describeResourcePolicyAsync
in interface AmazonLexModelsV2Async
public Future<DescribeResourcePolicyResult> describeResourcePolicyAsync(DescribeResourcePolicyRequest request, AsyncHandler<DescribeResourcePolicyRequest,DescribeResourcePolicyResult> asyncHandler)
AmazonLexModelsV2Async
Gets the resource policy and policy revision for a bot or bot alias.
describeResourcePolicyAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSlotResult> describeSlotAsync(DescribeSlotRequest request)
AmazonLexModelsV2Async
Gets metadata information about a slot.
describeSlotAsync
in interface AmazonLexModelsV2Async
public Future<DescribeSlotResult> describeSlotAsync(DescribeSlotRequest request, AsyncHandler<DescribeSlotRequest,DescribeSlotResult> asyncHandler)
AmazonLexModelsV2Async
Gets metadata information about a slot.
describeSlotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSlotTypeResult> describeSlotTypeAsync(DescribeSlotTypeRequest request)
AmazonLexModelsV2Async
Gets metadata information about a slot type.
describeSlotTypeAsync
in interface AmazonLexModelsV2Async
public Future<DescribeSlotTypeResult> describeSlotTypeAsync(DescribeSlotTypeRequest request, AsyncHandler<DescribeSlotTypeRequest,DescribeSlotTypeResult> asyncHandler)
AmazonLexModelsV2Async
Gets metadata information about a slot type.
describeSlotTypeAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAggregatedUtterancesResult> listAggregatedUtterancesAsync(ListAggregatedUtterancesRequest request)
AmazonLexModelsV2Async
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.
listAggregatedUtterancesAsync
in interface AmazonLexModelsV2Async
public Future<ListAggregatedUtterancesResult> listAggregatedUtterancesAsync(ListAggregatedUtterancesRequest request, AsyncHandler<ListAggregatedUtterancesRequest,ListAggregatedUtterancesResult> asyncHandler)
AmazonLexModelsV2Async
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.
listAggregatedUtterancesAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBotAliasesResult> listBotAliasesAsync(ListBotAliasesRequest request)
AmazonLexModelsV2Async
Gets a list of aliases for the specified bot.
listBotAliasesAsync
in interface AmazonLexModelsV2Async
public Future<ListBotAliasesResult> listBotAliasesAsync(ListBotAliasesRequest request, AsyncHandler<ListBotAliasesRequest,ListBotAliasesResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of aliases for the specified bot.
listBotAliasesAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBotLocalesResult> listBotLocalesAsync(ListBotLocalesRequest request)
AmazonLexModelsV2Async
Gets a list of locales for the specified bot.
listBotLocalesAsync
in interface AmazonLexModelsV2Async
public Future<ListBotLocalesResult> listBotLocalesAsync(ListBotLocalesRequest request, AsyncHandler<ListBotLocalesRequest,ListBotLocalesResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of locales for the specified bot.
listBotLocalesAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBotVersionsResult> listBotVersionsAsync(ListBotVersionsRequest request)
AmazonLexModelsV2Async
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.
listBotVersionsAsync
in interface AmazonLexModelsV2Async
public Future<ListBotVersionsResult> listBotVersionsAsync(ListBotVersionsRequest request, AsyncHandler<ListBotVersionsRequest,ListBotVersionsResult> asyncHandler)
AmazonLexModelsV2Async
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.
listBotVersionsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBotsResult> listBotsAsync(ListBotsRequest request)
AmazonLexModelsV2Async
Gets a list of available bots.
listBotsAsync
in interface AmazonLexModelsV2Async
public Future<ListBotsResult> listBotsAsync(ListBotsRequest request, AsyncHandler<ListBotsRequest,ListBotsResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of available bots.
listBotsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBuiltInIntentsResult> listBuiltInIntentsAsync(ListBuiltInIntentsRequest request)
AmazonLexModelsV2Async
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.
listBuiltInIntentsAsync
in interface AmazonLexModelsV2Async
public Future<ListBuiltInIntentsResult> listBuiltInIntentsAsync(ListBuiltInIntentsRequest request, AsyncHandler<ListBuiltInIntentsRequest,ListBuiltInIntentsResult> asyncHandler)
AmazonLexModelsV2Async
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.
listBuiltInIntentsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBuiltInSlotTypesResult> listBuiltInSlotTypesAsync(ListBuiltInSlotTypesRequest request)
AmazonLexModelsV2Async
Gets a list of built-in slot types that meet the specified criteria.
listBuiltInSlotTypesAsync
in interface AmazonLexModelsV2Async
public Future<ListBuiltInSlotTypesResult> listBuiltInSlotTypesAsync(ListBuiltInSlotTypesRequest request, AsyncHandler<ListBuiltInSlotTypesRequest,ListBuiltInSlotTypesResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of built-in slot types that meet the specified criteria.
listBuiltInSlotTypesAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListExportsResult> listExportsAsync(ListExportsRequest request)
AmazonLexModelsV2Async
Lists the exports for a bot or bot locale. Exports are kept in the list for 7 days.
listExportsAsync
in interface AmazonLexModelsV2Async
public Future<ListExportsResult> listExportsAsync(ListExportsRequest request, AsyncHandler<ListExportsRequest,ListExportsResult> asyncHandler)
AmazonLexModelsV2Async
Lists the exports for a bot or bot locale. Exports are kept in the list for 7 days.
listExportsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListImportsResult> listImportsAsync(ListImportsRequest request)
AmazonLexModelsV2Async
Lists the imports for a bot or bot locale. Imports are kept in the list for 7 days.
listImportsAsync
in interface AmazonLexModelsV2Async
public Future<ListImportsResult> listImportsAsync(ListImportsRequest request, AsyncHandler<ListImportsRequest,ListImportsResult> asyncHandler)
AmazonLexModelsV2Async
Lists the imports for a bot or bot locale. Imports are kept in the list for 7 days.
listImportsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListIntentsResult> listIntentsAsync(ListIntentsRequest request)
AmazonLexModelsV2Async
Get a list of intents that meet the specified criteria.
listIntentsAsync
in interface AmazonLexModelsV2Async
public Future<ListIntentsResult> listIntentsAsync(ListIntentsRequest request, AsyncHandler<ListIntentsRequest,ListIntentsResult> asyncHandler)
AmazonLexModelsV2Async
Get a list of intents that meet the specified criteria.
listIntentsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSlotTypesResult> listSlotTypesAsync(ListSlotTypesRequest request)
AmazonLexModelsV2Async
Gets a list of slot types that match the specified criteria.
listSlotTypesAsync
in interface AmazonLexModelsV2Async
public Future<ListSlotTypesResult> listSlotTypesAsync(ListSlotTypesRequest request, AsyncHandler<ListSlotTypesRequest,ListSlotTypesResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of slot types that match the specified criteria.
listSlotTypesAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSlotsResult> listSlotsAsync(ListSlotsRequest request)
AmazonLexModelsV2Async
Gets a list of slots that match the specified criteria.
listSlotsAsync
in interface AmazonLexModelsV2Async
public Future<ListSlotsResult> listSlotsAsync(ListSlotsRequest request, AsyncHandler<ListSlotsRequest,ListSlotsResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of slots that match the specified criteria.
listSlotsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonLexModelsV2Async
Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
listTagsForResourceAsync
in interface AmazonLexModelsV2Async
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
listTagsForResourceAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartImportResult> startImportAsync(StartImportRequest request)
AmazonLexModelsV2Async
Starts importing a bot or bot locale from a zip archive that you uploaded to an S3 bucket.
startImportAsync
in interface AmazonLexModelsV2Async
public Future<StartImportResult> startImportAsync(StartImportRequest request, AsyncHandler<StartImportRequest,StartImportResult> asyncHandler)
AmazonLexModelsV2Async
Starts importing a bot or bot locale from a zip archive that you uploaded to an S3 bucket.
startImportAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonLexModelsV2Async
Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
tagResourceAsync
in interface AmazonLexModelsV2Async
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonLexModelsV2Async
Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
tagResourceAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonLexModelsV2Async
Removes tags from a bot, bot alias, or bot channel.
untagResourceAsync
in interface AmazonLexModelsV2Async
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonLexModelsV2Async
Removes tags from a bot, bot alias, or bot channel.
untagResourceAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBotResult> updateBotAsync(UpdateBotRequest request)
AmazonLexModelsV2Async
Updates the configuration of an existing bot.
updateBotAsync
in interface AmazonLexModelsV2Async
public Future<UpdateBotResult> updateBotAsync(UpdateBotRequest request, AsyncHandler<UpdateBotRequest,UpdateBotResult> asyncHandler)
AmazonLexModelsV2Async
Updates the configuration of an existing bot.
updateBotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBotAliasResult> updateBotAliasAsync(UpdateBotAliasRequest request)
AmazonLexModelsV2Async
Updates the configuration of an existing bot alias.
updateBotAliasAsync
in interface AmazonLexModelsV2Async
public Future<UpdateBotAliasResult> updateBotAliasAsync(UpdateBotAliasRequest request, AsyncHandler<UpdateBotAliasRequest,UpdateBotAliasResult> asyncHandler)
AmazonLexModelsV2Async
Updates the configuration of an existing bot alias.
updateBotAliasAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateBotLocaleResult> updateBotLocaleAsync(UpdateBotLocaleRequest request)
AmazonLexModelsV2Async
Updates the settings that a bot has for a specific locale.
updateBotLocaleAsync
in interface AmazonLexModelsV2Async
public Future<UpdateBotLocaleResult> updateBotLocaleAsync(UpdateBotLocaleRequest request, AsyncHandler<UpdateBotLocaleRequest,UpdateBotLocaleResult> asyncHandler)
AmazonLexModelsV2Async
Updates the settings that a bot has for a specific locale.
updateBotLocaleAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateExportResult> updateExportAsync(UpdateExportRequest request)
AmazonLexModelsV2Async
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 operation.
updateExportAsync
in interface AmazonLexModelsV2Async
public Future<UpdateExportResult> updateExportAsync(UpdateExportRequest request, AsyncHandler<UpdateExportRequest,UpdateExportResult> asyncHandler)
AmazonLexModelsV2Async
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 operation.
updateExportAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateIntentResult> updateIntentAsync(UpdateIntentRequest request)
AmazonLexModelsV2Async
Updates the settings for an intent.
updateIntentAsync
in interface AmazonLexModelsV2Async
public Future<UpdateIntentResult> updateIntentAsync(UpdateIntentRequest request, AsyncHandler<UpdateIntentRequest,UpdateIntentResult> asyncHandler)
AmazonLexModelsV2Async
Updates the settings for an intent.
updateIntentAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateResourcePolicyResult> updateResourcePolicyAsync(UpdateResourcePolicyRequest request)
AmazonLexModelsV2Async
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.
updateResourcePolicyAsync
in interface AmazonLexModelsV2Async
public Future<UpdateResourcePolicyResult> updateResourcePolicyAsync(UpdateResourcePolicyRequest request, AsyncHandler<UpdateResourcePolicyRequest,UpdateResourcePolicyResult> asyncHandler)
AmazonLexModelsV2Async
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.
updateResourcePolicyAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSlotResult> updateSlotAsync(UpdateSlotRequest request)
AmazonLexModelsV2Async
Updates the settings for a slot.
updateSlotAsync
in interface AmazonLexModelsV2Async
public Future<UpdateSlotResult> updateSlotAsync(UpdateSlotRequest request, AsyncHandler<UpdateSlotRequest,UpdateSlotResult> asyncHandler)
AmazonLexModelsV2Async
Updates the settings for a slot.
updateSlotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSlotTypeResult> updateSlotTypeAsync(UpdateSlotTypeRequest request)
AmazonLexModelsV2Async
Updates the configuration of an existing slot type.
updateSlotTypeAsync
in interface AmazonLexModelsV2Async
public Future<UpdateSlotTypeResult> updateSlotTypeAsync(UpdateSlotTypeRequest request, AsyncHandler<UpdateSlotTypeRequest,UpdateSlotTypeResult> asyncHandler)
AmazonLexModelsV2Async
Updates the configuration of an existing slot type.
updateSlotTypeAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.