@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
batchCreateCustomVocabularyItem, batchDeleteCustomVocabularyItem, batchUpdateCustomVocabularyItem, buildBotLocale, createBot, createBotAlias, createBotLocale, createBotReplica, createBotVersion, createExport, createIntent, createResourcePolicy, createResourcePolicyStatement, createSlot, createSlotType, createTestSetDiscrepancyReport, createUploadUrl, deleteBot, deleteBotAlias, deleteBotLocale, deleteBotReplica, deleteBotVersion, deleteCustomVocabulary, deleteExport, deleteImport, deleteIntent, deleteResourcePolicy, deleteResourcePolicyStatement, deleteSlot, deleteSlotType, deleteTestSet, deleteUtterances, describeBot, describeBotAlias, describeBotLocale, describeBotRecommendation, describeBotReplica, describeBotResourceGeneration, describeBotVersion, describeCustomVocabularyMetadata, describeExport, describeImport, describeIntent, describeResourcePolicy, describeSlot, describeSlotType, describeTestExecution, describeTestSet, describeTestSetDiscrepancyReport, describeTestSetGeneration, generateBotElement, getCachedResponseMetadata, getTestExecutionArtifactsUrl, listAggregatedUtterances, listBotAliases, listBotAliasReplicas, listBotLocales, listBotRecommendations, listBotReplicas, listBotResourceGenerations, listBots, listBotVersionReplicas, listBotVersions, listBuiltInIntents, listBuiltInSlotTypes, listCustomVocabularyItems, listExports, listImports, listIntentMetrics, listIntentPaths, listIntents, listIntentStageMetrics, listRecommendedIntents, listSessionAnalyticsData, listSessionMetrics, listSlots, listSlotTypes, listTagsForResource, listTestExecutionResultItems, listTestExecutions, listTestSetRecords, listTestSets, listUtteranceAnalyticsData, listUtteranceMetrics, searchAssociatedTranscripts, shutdown, startBotRecommendation, startBotResourceGeneration, startImport, startTestExecution, startTestSetGeneration, stopBotRecommendation, tagResource, untagResource, updateBot, updateBotAlias, updateBotLocale, updateBotRecommendation, updateExport, updateIntent, updateResourcePolicy, updateSlot, updateSlotType, updateTestSet, waiters
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchCreateCustomVocabularyItem, batchDeleteCustomVocabularyItem, batchUpdateCustomVocabularyItem, buildBotLocale, createBot, createBotAlias, createBotLocale, createBotReplica, createBotVersion, createExport, createIntent, createResourcePolicy, createResourcePolicyStatement, createSlot, createSlotType, createTestSetDiscrepancyReport, createUploadUrl, deleteBot, deleteBotAlias, deleteBotLocale, deleteBotReplica, deleteBotVersion, deleteCustomVocabulary, deleteExport, deleteImport, deleteIntent, deleteResourcePolicy, deleteResourcePolicyStatement, deleteSlot, deleteSlotType, deleteTestSet, deleteUtterances, describeBot, describeBotAlias, describeBotLocale, describeBotRecommendation, describeBotReplica, describeBotResourceGeneration, describeBotVersion, describeCustomVocabularyMetadata, describeExport, describeImport, describeIntent, describeResourcePolicy, describeSlot, describeSlotType, describeTestExecution, describeTestSet, describeTestSetDiscrepancyReport, describeTestSetGeneration, generateBotElement, getCachedResponseMetadata, getTestExecutionArtifactsUrl, listAggregatedUtterances, listBotAliases, listBotAliasReplicas, listBotLocales, listBotRecommendations, listBotReplicas, listBotResourceGenerations, listBots, listBotVersionReplicas, listBotVersions, listBuiltInIntents, listBuiltInSlotTypes, listCustomVocabularyItems, listExports, listImports, listIntentMetrics, listIntentPaths, listIntents, listIntentStageMetrics, listRecommendedIntents, listSessionAnalyticsData, listSessionMetrics, listSlots, listSlotTypes, listTagsForResource, listTestExecutionResultItems, listTestExecutions, listTestSetRecords, listTestSets, listUtteranceAnalyticsData, listUtteranceMetrics, searchAssociatedTranscripts, shutdown, startBotRecommendation, startBotResourceGeneration, startImport, startTestExecution, startTestSetGeneration, stopBotRecommendation, tagResource, untagResource, updateBot, updateBotAlias, updateBotLocale, updateBotRecommendation, updateExport, updateIntent, updateResourcePolicy, updateSlot, updateSlotType, updateTestSet, waiters
public Future<BatchCreateCustomVocabularyItemResult> batchCreateCustomVocabularyItemAsync(BatchCreateCustomVocabularyItemRequest request)
AmazonLexModelsV2Async
Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
batchCreateCustomVocabularyItemAsync
in interface AmazonLexModelsV2Async
public Future<BatchCreateCustomVocabularyItemResult> batchCreateCustomVocabularyItemAsync(BatchCreateCustomVocabularyItemRequest request, AsyncHandler<BatchCreateCustomVocabularyItemRequest,BatchCreateCustomVocabularyItemResult> asyncHandler)
AmazonLexModelsV2Async
Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
batchCreateCustomVocabularyItemAsync
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<BatchDeleteCustomVocabularyItemResult> batchDeleteCustomVocabularyItemAsync(BatchDeleteCustomVocabularyItemRequest request)
AmazonLexModelsV2Async
Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
batchDeleteCustomVocabularyItemAsync
in interface AmazonLexModelsV2Async
public Future<BatchDeleteCustomVocabularyItemResult> batchDeleteCustomVocabularyItemAsync(BatchDeleteCustomVocabularyItemRequest request, AsyncHandler<BatchDeleteCustomVocabularyItemRequest,BatchDeleteCustomVocabularyItemResult> asyncHandler)
AmazonLexModelsV2Async
Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
batchDeleteCustomVocabularyItemAsync
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<BatchUpdateCustomVocabularyItemResult> batchUpdateCustomVocabularyItemAsync(BatchUpdateCustomVocabularyItemRequest request)
AmazonLexModelsV2Async
Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
batchUpdateCustomVocabularyItemAsync
in interface AmazonLexModelsV2Async
public Future<BatchUpdateCustomVocabularyItemResult> batchUpdateCustomVocabularyItemAsync(BatchUpdateCustomVocabularyItemRequest request, AsyncHandler<BatchUpdateCustomVocabularyItemRequest,BatchUpdateCustomVocabularyItemResult> asyncHandler)
AmazonLexModelsV2Async
Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
batchUpdateCustomVocabularyItemAsync
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<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<CreateBotReplicaResult> createBotReplicaAsync(CreateBotReplicaRequest request)
AmazonLexModelsV2Async
Action to create a replication of the source bot in the secondary region.
createBotReplicaAsync
in interface AmazonLexModelsV2Async
public Future<CreateBotReplicaResult> createBotReplicaAsync(CreateBotReplicaRequest request, AsyncHandler<CreateBotReplicaRequest,CreateBotReplicaResult> asyncHandler)
AmazonLexModelsV2Async
Action to create a replication of the source bot in the secondary region.
createBotReplicaAsync
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 an immutable version of the bot. When you create the first version of a bot, Amazon Lex sets the version number to 1. Subsequent bot versions increase in an increment of 1. The version number will always represent the total number of versions created of the bot, not the current number of versions. If a bot version is deleted, that bot version number will not be reused.
createBotVersionAsync
in interface AmazonLexModelsV2Async
public Future<CreateBotVersionResult> createBotVersionAsync(CreateBotVersionRequest request, AsyncHandler<CreateBotVersionRequest,CreateBotVersionResult> asyncHandler)
AmazonLexModelsV2Async
Creates an immutable version of the bot. When you create the first version of a bot, Amazon Lex sets the version number to 1. Subsequent bot versions increase in an increment of 1. The version number will always represent the total number of versions created of the bot, not the current number of versions. If a bot version is deleted, that bot version number will not be reused.
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.
You need to add the CreateResourcePolicy
or UpdateResourcePolicy
action to the bot role
in order to call the API.
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.
You need to add the CreateResourcePolicy
or UpdateResourcePolicy
action to the bot role
in order to call the API.
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<CreateTestSetDiscrepancyReportResult> createTestSetDiscrepancyReportAsync(CreateTestSetDiscrepancyReportRequest request)
AmazonLexModelsV2Async
Create a report that describes the differences between the bot and the test set.
createTestSetDiscrepancyReportAsync
in interface AmazonLexModelsV2Async
public Future<CreateTestSetDiscrepancyReportResult> createTestSetDiscrepancyReportAsync(CreateTestSetDiscrepancyReportRequest request, AsyncHandler<CreateTestSetDiscrepancyReportRequest,CreateTestSetDiscrepancyReportResult> asyncHandler)
AmazonLexModelsV2Async
Create a report that describes the differences between the bot and the test set.
createTestSetDiscrepancyReportAsync
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<DeleteBotReplicaResult> deleteBotReplicaAsync(DeleteBotReplicaRequest request)
AmazonLexModelsV2Async
The action to delete the replicated bot in the secondary region.
deleteBotReplicaAsync
in interface AmazonLexModelsV2Async
public Future<DeleteBotReplicaResult> deleteBotReplicaAsync(DeleteBotReplicaRequest request, AsyncHandler<DeleteBotReplicaRequest,DeleteBotReplicaResult> asyncHandler)
AmazonLexModelsV2Async
The action to delete the replicated bot in the secondary region.
deleteBotReplicaAsync
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 versions 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 versions 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<DeleteCustomVocabularyResult> deleteCustomVocabularyAsync(DeleteCustomVocabularyRequest request)
AmazonLexModelsV2Async
Removes a custom vocabulary from the specified locale in the specified bot.
deleteCustomVocabularyAsync
in interface AmazonLexModelsV2Async
public Future<DeleteCustomVocabularyResult> deleteCustomVocabularyAsync(DeleteCustomVocabularyRequest request, AsyncHandler<DeleteCustomVocabularyRequest,DeleteCustomVocabularyResult> asyncHandler)
AmazonLexModelsV2Async
Removes a custom vocabulary from the specified locale in the specified bot.
deleteCustomVocabularyAsync
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.
You need to add the DeleteResourcePolicy
or UpdateResourcePolicy
action to the bot role
in order to call the API.
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.
You need to add the DeleteResourcePolicy
or UpdateResourcePolicy
action to the bot role
in order to call the API.
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<DeleteTestSetResult> deleteTestSetAsync(DeleteTestSetRequest request)
AmazonLexModelsV2Async
The action to delete the selected test set.
deleteTestSetAsync
in interface AmazonLexModelsV2Async
public Future<DeleteTestSetResult> deleteTestSetAsync(DeleteTestSetRequest request, AsyncHandler<DeleteTestSetRequest,DeleteTestSetResult> asyncHandler)
AmazonLexModelsV2Async
The action to delete the selected test set.
deleteTestSetAsync
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 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.
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 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.
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<DescribeBotRecommendationResult> describeBotRecommendationAsync(DescribeBotRecommendationRequest request)
AmazonLexModelsV2Async
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.
describeBotRecommendationAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotRecommendationResult> describeBotRecommendationAsync(DescribeBotRecommendationRequest request, AsyncHandler<DescribeBotRecommendationRequest,DescribeBotRecommendationResult> asyncHandler)
AmazonLexModelsV2Async
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.
describeBotRecommendationAsync
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<DescribeBotReplicaResult> describeBotReplicaAsync(DescribeBotReplicaRequest request)
AmazonLexModelsV2Async
Monitors the bot replication status through the UI console.
describeBotReplicaAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotReplicaResult> describeBotReplicaAsync(DescribeBotReplicaRequest request, AsyncHandler<DescribeBotReplicaRequest,DescribeBotReplicaResult> asyncHandler)
AmazonLexModelsV2Async
Monitors the bot replication status through the UI console.
describeBotReplicaAsync
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<DescribeBotResourceGenerationResult> describeBotResourceGenerationAsync(DescribeBotResourceGenerationRequest request)
AmazonLexModelsV2Async
Returns information about a request to generate a bot through natural language description, made through the
StartBotResource
API. Use the generatedBotLocaleUrl
to retrieve the Amazon S3 object
containing the bot locale configuration. You can then modify and import this configuration.
describeBotResourceGenerationAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotResourceGenerationResult> describeBotResourceGenerationAsync(DescribeBotResourceGenerationRequest request, AsyncHandler<DescribeBotResourceGenerationRequest,DescribeBotResourceGenerationResult> asyncHandler)
AmazonLexModelsV2Async
Returns information about a request to generate a bot through natural language description, made through the
StartBotResource
API. Use the generatedBotLocaleUrl
to retrieve the Amazon S3 object
containing the bot locale configuration. You can then modify and import this configuration.
describeBotResourceGenerationAsync
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<DescribeCustomVocabularyMetadataResult> describeCustomVocabularyMetadataAsync(DescribeCustomVocabularyMetadataRequest request)
AmazonLexModelsV2Async
Provides metadata information about a custom vocabulary.
describeCustomVocabularyMetadataAsync
in interface AmazonLexModelsV2Async
public Future<DescribeCustomVocabularyMetadataResult> describeCustomVocabularyMetadataAsync(DescribeCustomVocabularyMetadataRequest request, AsyncHandler<DescribeCustomVocabularyMetadataRequest,DescribeCustomVocabularyMetadataResult> asyncHandler)
AmazonLexModelsV2Async
Provides metadata information about a custom vocabulary.
describeCustomVocabularyMetadataAsync
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<DescribeTestExecutionResult> describeTestExecutionAsync(DescribeTestExecutionRequest request)
AmazonLexModelsV2Async
Gets metadata information about the test execution.
describeTestExecutionAsync
in interface AmazonLexModelsV2Async
public Future<DescribeTestExecutionResult> describeTestExecutionAsync(DescribeTestExecutionRequest request, AsyncHandler<DescribeTestExecutionRequest,DescribeTestExecutionResult> asyncHandler)
AmazonLexModelsV2Async
Gets metadata information about the test execution.
describeTestExecutionAsync
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<DescribeTestSetResult> describeTestSetAsync(DescribeTestSetRequest request)
AmazonLexModelsV2Async
Gets metadata information about the test set.
describeTestSetAsync
in interface AmazonLexModelsV2Async
public Future<DescribeTestSetResult> describeTestSetAsync(DescribeTestSetRequest request, AsyncHandler<DescribeTestSetRequest,DescribeTestSetResult> asyncHandler)
AmazonLexModelsV2Async
Gets metadata information about the test set.
describeTestSetAsync
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<DescribeTestSetDiscrepancyReportResult> describeTestSetDiscrepancyReportAsync(DescribeTestSetDiscrepancyReportRequest request)
AmazonLexModelsV2Async
Gets metadata information about the test set discrepancy report.
describeTestSetDiscrepancyReportAsync
in interface AmazonLexModelsV2Async
public Future<DescribeTestSetDiscrepancyReportResult> describeTestSetDiscrepancyReportAsync(DescribeTestSetDiscrepancyReportRequest request, AsyncHandler<DescribeTestSetDiscrepancyReportRequest,DescribeTestSetDiscrepancyReportResult> asyncHandler)
AmazonLexModelsV2Async
Gets metadata information about the test set discrepancy report.
describeTestSetDiscrepancyReportAsync
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<DescribeTestSetGenerationResult> describeTestSetGenerationAsync(DescribeTestSetGenerationRequest request)
AmazonLexModelsV2Async
Gets metadata information about the test set generation.
describeTestSetGenerationAsync
in interface AmazonLexModelsV2Async
public Future<DescribeTestSetGenerationResult> describeTestSetGenerationAsync(DescribeTestSetGenerationRequest request, AsyncHandler<DescribeTestSetGenerationRequest,DescribeTestSetGenerationResult> asyncHandler)
AmazonLexModelsV2Async
Gets metadata information about the test set generation.
describeTestSetGenerationAsync
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<GenerateBotElementResult> generateBotElementAsync(GenerateBotElementRequest request)
AmazonLexModelsV2Async
Generates sample utterances for an intent.
generateBotElementAsync
in interface AmazonLexModelsV2Async
public Future<GenerateBotElementResult> generateBotElementAsync(GenerateBotElementRequest request, AsyncHandler<GenerateBotElementRequest,GenerateBotElementResult> asyncHandler)
AmazonLexModelsV2Async
Generates sample utterances for an intent.
generateBotElementAsync
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<GetTestExecutionArtifactsUrlResult> getTestExecutionArtifactsUrlAsync(GetTestExecutionArtifactsUrlRequest request)
AmazonLexModelsV2Async
The pre-signed Amazon S3 URL to download the test execution result artifacts.
getTestExecutionArtifactsUrlAsync
in interface AmazonLexModelsV2Async
public Future<GetTestExecutionArtifactsUrlResult> getTestExecutionArtifactsUrlAsync(GetTestExecutionArtifactsUrlRequest request, AsyncHandler<GetTestExecutionArtifactsUrlRequest,GetTestExecutionArtifactsUrlResult> asyncHandler)
AmazonLexModelsV2Async
The pre-signed Amazon S3 URL to download the test execution result artifacts.
getTestExecutionArtifactsUrlAsync
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<ListBotAliasReplicasResult> listBotAliasReplicasAsync(ListBotAliasReplicasRequest request)
AmazonLexModelsV2Async
The action to list the replicated bots created from the source bot alias.
listBotAliasReplicasAsync
in interface AmazonLexModelsV2Async
public Future<ListBotAliasReplicasResult> listBotAliasReplicasAsync(ListBotAliasReplicasRequest request, AsyncHandler<ListBotAliasReplicasRequest,ListBotAliasReplicasResult> asyncHandler)
AmazonLexModelsV2Async
The action to list the replicated bots created from the source bot alias.
listBotAliasReplicasAsync
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<ListBotRecommendationsResult> listBotRecommendationsAsync(ListBotRecommendationsRequest request)
AmazonLexModelsV2Async
Get a list of bot recommendations that meet the specified criteria.
listBotRecommendationsAsync
in interface AmazonLexModelsV2Async
public Future<ListBotRecommendationsResult> listBotRecommendationsAsync(ListBotRecommendationsRequest request, AsyncHandler<ListBotRecommendationsRequest,ListBotRecommendationsResult> asyncHandler)
AmazonLexModelsV2Async
Get a list of bot recommendations that meet the specified criteria.
listBotRecommendationsAsync
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<ListBotReplicasResult> listBotReplicasAsync(ListBotReplicasRequest request)
AmazonLexModelsV2Async
The action to list the replicated bots.
listBotReplicasAsync
in interface AmazonLexModelsV2Async
public Future<ListBotReplicasResult> listBotReplicasAsync(ListBotReplicasRequest request, AsyncHandler<ListBotReplicasRequest,ListBotReplicasResult> asyncHandler)
AmazonLexModelsV2Async
The action to list the replicated bots.
listBotReplicasAsync
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<ListBotResourceGenerationsResult> listBotResourceGenerationsAsync(ListBotResourceGenerationsRequest request)
AmazonLexModelsV2Async
Lists the generation requests made for a bot locale.
listBotResourceGenerationsAsync
in interface AmazonLexModelsV2Async
public Future<ListBotResourceGenerationsResult> listBotResourceGenerationsAsync(ListBotResourceGenerationsRequest request, AsyncHandler<ListBotResourceGenerationsRequest,ListBotResourceGenerationsResult> asyncHandler)
AmazonLexModelsV2Async
Lists the generation requests made for a bot locale.
listBotResourceGenerationsAsync
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<ListBotVersionReplicasResult> listBotVersionReplicasAsync(ListBotVersionReplicasRequest request)
AmazonLexModelsV2Async
Contains information about all the versions replication statuses applicable for Global Resiliency.
listBotVersionReplicasAsync
in interface AmazonLexModelsV2Async
public Future<ListBotVersionReplicasResult> listBotVersionReplicasAsync(ListBotVersionReplicasRequest request, AsyncHandler<ListBotVersionReplicasRequest,ListBotVersionReplicasResult> asyncHandler)
AmazonLexModelsV2Async
Contains information about all the versions replication statuses applicable for Global Resiliency.
listBotVersionReplicasAsync
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<ListCustomVocabularyItemsResult> listCustomVocabularyItemsAsync(ListCustomVocabularyItemsRequest request)
AmazonLexModelsV2Async
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
listCustomVocabularyItemsAsync
in interface AmazonLexModelsV2Async
public Future<ListCustomVocabularyItemsResult> listCustomVocabularyItemsAsync(ListCustomVocabularyItemsRequest request, AsyncHandler<ListCustomVocabularyItemsRequest,ListCustomVocabularyItemsResult> asyncHandler)
AmazonLexModelsV2Async
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
listCustomVocabularyItemsAsync
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, bot locale, or custom vocabulary. 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, bot locale, or custom vocabulary. 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, bot locale, or custom vocabulary. 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, bot locale, or custom vocabulary. 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<ListIntentMetricsResult> listIntentMetricsAsync(ListIntentMetricsRequest request)
AmazonLexModelsV2Async
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.
listIntentMetricsAsync
in interface AmazonLexModelsV2Async
public Future<ListIntentMetricsResult> listIntentMetricsAsync(ListIntentMetricsRequest request, AsyncHandler<ListIntentMetricsRequest,ListIntentMetricsResult> asyncHandler)
AmazonLexModelsV2Async
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.
listIntentMetricsAsync
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<ListIntentPathsResult> listIntentPathsAsync(ListIntentPathsRequest request)
AmazonLexModelsV2Async
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.
listIntentPathsAsync
in interface AmazonLexModelsV2Async
public Future<ListIntentPathsResult> listIntentPathsAsync(ListIntentPathsRequest request, AsyncHandler<ListIntentPathsRequest,ListIntentPathsResult> asyncHandler)
AmazonLexModelsV2Async
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.
listIntentPathsAsync
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<ListIntentStageMetricsResult> listIntentStageMetricsAsync(ListIntentStageMetricsRequest request)
AmazonLexModelsV2Async
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.
listIntentStageMetricsAsync
in interface AmazonLexModelsV2Async
public Future<ListIntentStageMetricsResult> listIntentStageMetricsAsync(ListIntentStageMetricsRequest request, AsyncHandler<ListIntentStageMetricsRequest,ListIntentStageMetricsResult> asyncHandler)
AmazonLexModelsV2Async
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.
listIntentStageMetricsAsync
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<ListRecommendedIntentsResult> listRecommendedIntentsAsync(ListRecommendedIntentsRequest request)
AmazonLexModelsV2Async
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.
listRecommendedIntentsAsync
in interface AmazonLexModelsV2Async
public Future<ListRecommendedIntentsResult> listRecommendedIntentsAsync(ListRecommendedIntentsRequest request, AsyncHandler<ListRecommendedIntentsRequest,ListRecommendedIntentsResult> asyncHandler)
AmazonLexModelsV2Async
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.
listRecommendedIntentsAsync
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<ListSessionAnalyticsDataResult> listSessionAnalyticsDataAsync(ListSessionAnalyticsDataRequest request)
AmazonLexModelsV2Async
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.
listSessionAnalyticsDataAsync
in interface AmazonLexModelsV2Async
public Future<ListSessionAnalyticsDataResult> listSessionAnalyticsDataAsync(ListSessionAnalyticsDataRequest request, AsyncHandler<ListSessionAnalyticsDataRequest,ListSessionAnalyticsDataResult> asyncHandler)
AmazonLexModelsV2Async
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.
listSessionAnalyticsDataAsync
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<ListSessionMetricsResult> listSessionMetricsAsync(ListSessionMetricsRequest request)
AmazonLexModelsV2Async
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.
listSessionMetricsAsync
in interface AmazonLexModelsV2Async
public Future<ListSessionMetricsResult> listSessionMetricsAsync(ListSessionMetricsRequest request, AsyncHandler<ListSessionMetricsRequest,ListSessionMetricsResult> asyncHandler)
AmazonLexModelsV2Async
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.
listSessionMetricsAsync
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<ListTestExecutionResultItemsResult> listTestExecutionResultItemsAsync(ListTestExecutionResultItemsRequest request)
AmazonLexModelsV2Async
Gets a list of test execution result items.
listTestExecutionResultItemsAsync
in interface AmazonLexModelsV2Async
public Future<ListTestExecutionResultItemsResult> listTestExecutionResultItemsAsync(ListTestExecutionResultItemsRequest request, AsyncHandler<ListTestExecutionResultItemsRequest,ListTestExecutionResultItemsResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of test execution result items.
listTestExecutionResultItemsAsync
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<ListTestExecutionsResult> listTestExecutionsAsync(ListTestExecutionsRequest request)
AmazonLexModelsV2Async
The list of test set executions.
listTestExecutionsAsync
in interface AmazonLexModelsV2Async
public Future<ListTestExecutionsResult> listTestExecutionsAsync(ListTestExecutionsRequest request, AsyncHandler<ListTestExecutionsRequest,ListTestExecutionsResult> asyncHandler)
AmazonLexModelsV2Async
The list of test set executions.
listTestExecutionsAsync
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<ListTestSetRecordsResult> listTestSetRecordsAsync(ListTestSetRecordsRequest request)
AmazonLexModelsV2Async
The list of test set records.
listTestSetRecordsAsync
in interface AmazonLexModelsV2Async
public Future<ListTestSetRecordsResult> listTestSetRecordsAsync(ListTestSetRecordsRequest request, AsyncHandler<ListTestSetRecordsRequest,ListTestSetRecordsResult> asyncHandler)
AmazonLexModelsV2Async
The list of test set records.
listTestSetRecordsAsync
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<ListTestSetsResult> listTestSetsAsync(ListTestSetsRequest request)
AmazonLexModelsV2Async
The list of the test sets
listTestSetsAsync
in interface AmazonLexModelsV2Async
public Future<ListTestSetsResult> listTestSetsAsync(ListTestSetsRequest request, AsyncHandler<ListTestSetsRequest,ListTestSetsResult> asyncHandler)
AmazonLexModelsV2Async
The list of the test sets
listTestSetsAsync
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<ListUtteranceAnalyticsDataResult> listUtteranceAnalyticsDataAsync(ListUtteranceAnalyticsDataRequest request)
AmazonLexModelsV2Async
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.
listUtteranceAnalyticsDataAsync
in interface AmazonLexModelsV2Async
public Future<ListUtteranceAnalyticsDataResult> listUtteranceAnalyticsDataAsync(ListUtteranceAnalyticsDataRequest request, AsyncHandler<ListUtteranceAnalyticsDataRequest,ListUtteranceAnalyticsDataResult> asyncHandler)
AmazonLexModelsV2Async
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.
listUtteranceAnalyticsDataAsync
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<ListUtteranceMetricsResult> listUtteranceMetricsAsync(ListUtteranceMetricsRequest request)
AmazonLexModelsV2Async
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.
listUtteranceMetricsAsync
in interface AmazonLexModelsV2Async
public Future<ListUtteranceMetricsResult> listUtteranceMetricsAsync(ListUtteranceMetricsRequest request, AsyncHandler<ListUtteranceMetricsRequest,ListUtteranceMetricsResult> asyncHandler)
AmazonLexModelsV2Async
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.
listUtteranceMetricsAsync
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<SearchAssociatedTranscriptsResult> searchAssociatedTranscriptsAsync(SearchAssociatedTranscriptsRequest request)
AmazonLexModelsV2Async
Search for associated transcripts that meet the specified criteria.
searchAssociatedTranscriptsAsync
in interface AmazonLexModelsV2Async
public Future<SearchAssociatedTranscriptsResult> searchAssociatedTranscriptsAsync(SearchAssociatedTranscriptsRequest request, AsyncHandler<SearchAssociatedTranscriptsRequest,SearchAssociatedTranscriptsResult> asyncHandler)
AmazonLexModelsV2Async
Search for associated transcripts that meet the specified criteria.
searchAssociatedTranscriptsAsync
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<StartBotRecommendationResult> startBotRecommendationAsync(StartBotRecommendationRequest request)
AmazonLexModelsV2Async
Use this to provide your transcript data, and to start the bot recommendation process.
startBotRecommendationAsync
in interface AmazonLexModelsV2Async
public Future<StartBotRecommendationResult> startBotRecommendationAsync(StartBotRecommendationRequest request, AsyncHandler<StartBotRecommendationRequest,StartBotRecommendationResult> asyncHandler)
AmazonLexModelsV2Async
Use this to provide your transcript data, and to start the bot recommendation process.
startBotRecommendationAsync
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<StartBotResourceGenerationResult> startBotResourceGenerationAsync(StartBotResourceGenerationRequest request)
AmazonLexModelsV2Async
Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you
provide it. After you make this call, use the DescribeBotResourceGeneration
operation to check on
the status of the generation and for the generatedBotLocaleUrl
when the generation is complete. Use
that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and
import this configuration.
startBotResourceGenerationAsync
in interface AmazonLexModelsV2Async
public Future<StartBotResourceGenerationResult> startBotResourceGenerationAsync(StartBotResourceGenerationRequest request, AsyncHandler<StartBotResourceGenerationRequest,StartBotResourceGenerationResult> asyncHandler)
AmazonLexModelsV2Async
Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you
provide it. After you make this call, use the DescribeBotResourceGeneration
operation to check on
the status of the generation and for the generatedBotLocaleUrl
when the generation is complete. Use
that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and
import this configuration.
startBotResourceGenerationAsync
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, bot locale, or custom vocabulary 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, bot locale, or custom vocabulary 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<StartTestExecutionResult> startTestExecutionAsync(StartTestExecutionRequest request)
AmazonLexModelsV2Async
The action to start test set execution.
startTestExecutionAsync
in interface AmazonLexModelsV2Async
public Future<StartTestExecutionResult> startTestExecutionAsync(StartTestExecutionRequest request, AsyncHandler<StartTestExecutionRequest,StartTestExecutionResult> asyncHandler)
AmazonLexModelsV2Async
The action to start test set execution.
startTestExecutionAsync
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<StartTestSetGenerationResult> startTestSetGenerationAsync(StartTestSetGenerationRequest request)
AmazonLexModelsV2Async
The action to start the generation of test set.
startTestSetGenerationAsync
in interface AmazonLexModelsV2Async
public Future<StartTestSetGenerationResult> startTestSetGenerationAsync(StartTestSetGenerationRequest request, AsyncHandler<StartTestSetGenerationRequest,StartTestSetGenerationResult> asyncHandler)
AmazonLexModelsV2Async
The action to start the generation of test set.
startTestSetGenerationAsync
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<StopBotRecommendationResult> stopBotRecommendationAsync(StopBotRecommendationRequest request)
AmazonLexModelsV2Async
Stop an already running Bot Recommendation request.
stopBotRecommendationAsync
in interface AmazonLexModelsV2Async
public Future<StopBotRecommendationResult> stopBotRecommendationAsync(StopBotRecommendationRequest request, AsyncHandler<StopBotRecommendationRequest,StopBotRecommendationResult> asyncHandler)
AmazonLexModelsV2Async
Stop an already running Bot Recommendation request.
stopBotRecommendationAsync
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<UpdateBotRecommendationResult> updateBotRecommendationAsync(UpdateBotRecommendationRequest request)
AmazonLexModelsV2Async
Updates an existing bot recommendation request.
updateBotRecommendationAsync
in interface AmazonLexModelsV2Async
public Future<UpdateBotRecommendationResult> updateBotRecommendationAsync(UpdateBotRecommendationRequest request, AsyncHandler<UpdateBotRecommendationRequest,UpdateBotRecommendationResult> asyncHandler)
AmazonLexModelsV2Async
Updates an existing bot recommendation request.
updateBotRecommendationAsync
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 DescribeExport 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 DescribeExport 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.public Future<UpdateTestSetResult> updateTestSetAsync(UpdateTestSetRequest request)
AmazonLexModelsV2Async
The action to update the test set.
updateTestSetAsync
in interface AmazonLexModelsV2Async
public Future<UpdateTestSetResult> updateTestSetAsync(UpdateTestSetRequest request, AsyncHandler<UpdateTestSetRequest,UpdateTestSetResult> asyncHandler)
AmazonLexModelsV2Async
The action to update the test set.
updateTestSetAsync
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.