@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonLexModelsV2AsyncClient extends AmazonLexModelsV2Client implements AmazonLexModelsV2Async
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
buildBotLocale, builder, createBot, createBotAlias, createBotLocale, createBotVersion, createIntent, createSlot, createSlotType, deleteBot, deleteBotAlias, deleteBotLocale, deleteBotVersion, deleteIntent, deleteSlot, deleteSlotType, describeBot, describeBotAlias, describeBotLocale, describeBotVersion, describeIntent, describeSlot, describeSlotType, getCachedResponseMetadata, listBotAliases, listBotLocales, listBots, listBotVersions, listBuiltInIntents, listBuiltInSlotTypes, listIntents, listSlots, listSlotTypes, listTagsForResource, tagResource, untagResource, updateBot, updateBotAlias, updateBotLocale, updateIntent, updateSlot, updateSlotType
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildBotLocale, createBot, createBotAlias, createBotLocale, createBotVersion, createIntent, createSlot, createSlotType, deleteBot, deleteBotAlias, deleteBotLocale, deleteBotVersion, deleteIntent, deleteSlot, deleteSlotType, describeBot, describeBotAlias, describeBotLocale, describeBotVersion, describeIntent, describeSlot, describeSlotType, getCachedResponseMetadata, listBotAliases, listBotLocales, listBots, listBotVersions, listBuiltInIntents, listBuiltInSlotTypes, listIntents, listSlots, listSlotTypes, listTagsForResource, tagResource, untagResource, updateBot, updateBotAlias, updateBotLocale, updateIntent, updateSlot, updateSlotType
public static AmazonLexModelsV2AsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BuildBotLocaleResult> buildBotLocaleAsync(BuildBotLocaleRequest request)
AmazonLexModelsV2Async
Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.
buildBotLocaleAsync
in interface AmazonLexModelsV2Async
public Future<BuildBotLocaleResult> buildBotLocaleAsync(BuildBotLocaleRequest request, AsyncHandler<BuildBotLocaleRequest,BuildBotLocaleResult> asyncHandler)
AmazonLexModelsV2Async
Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.
buildBotLocaleAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBotResult> createBotAsync(CreateBotRequest request)
AmazonLexModelsV2Async
Creates an Amazon Lex conversational bot.
createBotAsync
in interface AmazonLexModelsV2Async
public Future<CreateBotResult> createBotAsync(CreateBotRequest request, AsyncHandler<CreateBotRequest,CreateBotResult> asyncHandler)
AmazonLexModelsV2Async
Creates an Amazon Lex conversational bot.
createBotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBotAliasResult> createBotAliasAsync(CreateBotAliasRequest request)
AmazonLexModelsV2Async
Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.
For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot.
createBotAliasAsync
in interface AmazonLexModelsV2Async
public Future<CreateBotAliasResult> createBotAliasAsync(CreateBotAliasRequest request, AsyncHandler<CreateBotAliasRequest,CreateBotAliasResult> asyncHandler)
AmazonLexModelsV2Async
Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.
For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot.
createBotAliasAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBotLocaleResult> createBotLocaleAsync(CreateBotLocaleRequest request)
AmazonLexModelsV2Async
Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.
createBotLocaleAsync
in interface AmazonLexModelsV2Async
public Future<CreateBotLocaleResult> createBotLocaleAsync(CreateBotLocaleRequest request, AsyncHandler<CreateBotLocaleRequest,CreateBotLocaleResult> asyncHandler)
AmazonLexModelsV2Async
Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.
createBotLocaleAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBotVersionResult> createBotVersionAsync(CreateBotVersionRequest request)
AmazonLexModelsV2Async
Creates a new version of the bot based on the DRAFT
version. If the DRAFT
version of
this resource hasn't changed since you created the last version, Amazon Lex doesn't create a new version, it
returns the last created version.
When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1.
createBotVersionAsync
in interface AmazonLexModelsV2Async
public Future<CreateBotVersionResult> createBotVersionAsync(CreateBotVersionRequest request, AsyncHandler<CreateBotVersionRequest,CreateBotVersionResult> asyncHandler)
AmazonLexModelsV2Async
Creates a new version of the bot based on the DRAFT
version. If the DRAFT
version of
this resource hasn't changed since you created the last version, Amazon Lex doesn't create a new version, it
returns the last created version.
When you create the first version of a bot, Amazon Lex sets the version to 1. Subsequent versions increment by 1.
createBotVersionAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<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<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<DeleteBotResult> deleteBotAsync(DeleteBotRequest request)
AmazonLexModelsV2Async
Deletes all versions of a bot, including the Draft
version. To delete a specific version, use the
DeleteBotVersion
operation.
When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all locales, intents, slot, and slot types defined for the bot.
If a bot has an alias, the DeleteBot
operation returns a ResourceInUseException
exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck
parameter to
true
.
deleteBotAsync
in interface AmazonLexModelsV2Async
public Future<DeleteBotResult> deleteBotAsync(DeleteBotRequest request, AsyncHandler<DeleteBotRequest,DeleteBotResult> asyncHandler)
AmazonLexModelsV2Async
Deletes all versions of a bot, including the Draft
version. To delete a specific version, use the
DeleteBotVersion
operation.
When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all locales, intents, slot, and slot types defined for the bot.
If a bot has an alias, the DeleteBot
operation returns a ResourceInUseException
exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck
parameter to
true
.
deleteBotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBotAliasResult> deleteBotAliasAsync(DeleteBotAliasRequest request)
AmazonLexModelsV2Async
Deletes the specified bot alias.
deleteBotAliasAsync
in interface AmazonLexModelsV2Async
public Future<DeleteBotAliasResult> deleteBotAliasAsync(DeleteBotAliasRequest request, AsyncHandler<DeleteBotAliasRequest,DeleteBotAliasResult> asyncHandler)
AmazonLexModelsV2Async
Deletes the specified bot alias.
deleteBotAliasAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBotLocaleResult> deleteBotLocaleAsync(DeleteBotLocaleRequest request)
AmazonLexModelsV2Async
Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
deleteBotLocaleAsync
in interface AmazonLexModelsV2Async
public Future<DeleteBotLocaleResult> deleteBotLocaleAsync(DeleteBotLocaleRequest request, AsyncHandler<DeleteBotLocaleRequest,DeleteBotLocaleResult> asyncHandler)
AmazonLexModelsV2Async
Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
deleteBotLocaleAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBotVersionResult> deleteBotVersionAsync(DeleteBotVersionRequest request)
AmazonLexModelsV2Async
Deletes a specific version of a bot. To delete all version of a bot, use the DeleteBot operation.
deleteBotVersionAsync
in interface AmazonLexModelsV2Async
public Future<DeleteBotVersionResult> deleteBotVersionAsync(DeleteBotVersionRequest request, AsyncHandler<DeleteBotVersionRequest,DeleteBotVersionResult> asyncHandler)
AmazonLexModelsV2Async
Deletes a specific version of a bot. To delete all version of a bot, use the DeleteBot operation.
deleteBotVersionAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<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<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<DescribeBotResult> describeBotAsync(DescribeBotRequest request)
AmazonLexModelsV2Async
Provides metadata information about a bot.
describeBotAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotResult> describeBotAsync(DescribeBotRequest request, AsyncHandler<DescribeBotRequest,DescribeBotResult> asyncHandler)
AmazonLexModelsV2Async
Provides metadata information about a bot.
describeBotAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBotAliasResult> describeBotAliasAsync(DescribeBotAliasRequest request)
AmazonLexModelsV2Async
Get information about a specific bot alias.
describeBotAliasAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotAliasResult> describeBotAliasAsync(DescribeBotAliasRequest request, AsyncHandler<DescribeBotAliasRequest,DescribeBotAliasResult> asyncHandler)
AmazonLexModelsV2Async
Get information about a specific bot alias.
describeBotAliasAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBotLocaleResult> describeBotLocaleAsync(DescribeBotLocaleRequest request)
AmazonLexModelsV2Async
Describes the settings that a bot has for a specific locale.
describeBotLocaleAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotLocaleResult> describeBotLocaleAsync(DescribeBotLocaleRequest request, AsyncHandler<DescribeBotLocaleRequest,DescribeBotLocaleResult> asyncHandler)
AmazonLexModelsV2Async
Describes the settings that a bot has for a specific locale.
describeBotLocaleAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeBotVersionResult> describeBotVersionAsync(DescribeBotVersionRequest request)
AmazonLexModelsV2Async
Provides metadata about a version of a bot.
describeBotVersionAsync
in interface AmazonLexModelsV2Async
public Future<DescribeBotVersionResult> describeBotVersionAsync(DescribeBotVersionRequest request, AsyncHandler<DescribeBotVersionRequest,DescribeBotVersionResult> asyncHandler)
AmazonLexModelsV2Async
Provides metadata about a version of a bot.
describeBotVersionAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<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<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<ListBotAliasesResult> listBotAliasesAsync(ListBotAliasesRequest request)
AmazonLexModelsV2Async
Gets a list of aliases for the specified bot.
listBotAliasesAsync
in interface AmazonLexModelsV2Async
public Future<ListBotAliasesResult> listBotAliasesAsync(ListBotAliasesRequest request, AsyncHandler<ListBotAliasesRequest,ListBotAliasesResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of aliases for the specified bot.
listBotAliasesAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBotLocalesResult> listBotLocalesAsync(ListBotLocalesRequest request)
AmazonLexModelsV2Async
Gets a list of locales for the specified bot.
listBotLocalesAsync
in interface AmazonLexModelsV2Async
public Future<ListBotLocalesResult> listBotLocalesAsync(ListBotLocalesRequest request, AsyncHandler<ListBotLocalesRequest,ListBotLocalesResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of locales for the specified bot.
listBotLocalesAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBotVersionsResult> listBotVersionsAsync(ListBotVersionsRequest request)
AmazonLexModelsV2Async
Gets information about all of the versions of a bot.
The ListBotVersions
operation returns a summary of each version of a bot. For example, if a bot has
three numbered versions, the ListBotVersions
operation returns for summaries, one for each numbered
version and one for the DRAFT
version.
The ListBotVersions
operation always returns at least one version, the DRAFT
version.
listBotVersionsAsync
in interface AmazonLexModelsV2Async
public Future<ListBotVersionsResult> listBotVersionsAsync(ListBotVersionsRequest request, AsyncHandler<ListBotVersionsRequest,ListBotVersionsResult> asyncHandler)
AmazonLexModelsV2Async
Gets information about all of the versions of a bot.
The ListBotVersions
operation returns a summary of each version of a bot. For example, if a bot has
three numbered versions, the ListBotVersions
operation returns for summaries, one for each numbered
version and one for the DRAFT
version.
The ListBotVersions
operation always returns at least one version, the DRAFT
version.
listBotVersionsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBotsResult> listBotsAsync(ListBotsRequest request)
AmazonLexModelsV2Async
Gets a list of available bots.
listBotsAsync
in interface AmazonLexModelsV2Async
public Future<ListBotsResult> listBotsAsync(ListBotsRequest request, AsyncHandler<ListBotsRequest,ListBotsResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of available bots.
listBotsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBuiltInIntentsResult> listBuiltInIntentsAsync(ListBuiltInIntentsRequest request)
AmazonLexModelsV2Async
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
To use a built-in intent as a the base for your own intent, include the built-in intent signature in the
parentIntentSignature
parameter when you call the CreateIntent
operation. For more
information, see CreateIntent.
listBuiltInIntentsAsync
in interface AmazonLexModelsV2Async
public Future<ListBuiltInIntentsResult> listBuiltInIntentsAsync(ListBuiltInIntentsRequest request, AsyncHandler<ListBuiltInIntentsRequest,ListBuiltInIntentsResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
To use a built-in intent as a the base for your own intent, include the built-in intent signature in the
parentIntentSignature
parameter when you call the CreateIntent
operation. For more
information, see CreateIntent.
listBuiltInIntentsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListBuiltInSlotTypesResult> listBuiltInSlotTypesAsync(ListBuiltInSlotTypesRequest request)
AmazonLexModelsV2Async
Gets a list of built-in slot types that meet the specified criteria.
listBuiltInSlotTypesAsync
in interface AmazonLexModelsV2Async
public Future<ListBuiltInSlotTypesResult> listBuiltInSlotTypesAsync(ListBuiltInSlotTypesRequest request, AsyncHandler<ListBuiltInSlotTypesRequest,ListBuiltInSlotTypesResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of built-in slot types that meet the specified criteria.
listBuiltInSlotTypesAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListIntentsResult> listIntentsAsync(ListIntentsRequest request)
AmazonLexModelsV2Async
Get a list of intents that meet the specified criteria.
listIntentsAsync
in interface AmazonLexModelsV2Async
public Future<ListIntentsResult> listIntentsAsync(ListIntentsRequest request, AsyncHandler<ListIntentsRequest,ListIntentsResult> asyncHandler)
AmazonLexModelsV2Async
Get a list of intents that meet the specified criteria.
listIntentsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSlotTypesResult> listSlotTypesAsync(ListSlotTypesRequest request)
AmazonLexModelsV2Async
Gets a list of slot types that match the specified criteria.
listSlotTypesAsync
in interface AmazonLexModelsV2Async
public Future<ListSlotTypesResult> listSlotTypesAsync(ListSlotTypesRequest request, AsyncHandler<ListSlotTypesRequest,ListSlotTypesResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of slot types that match the specified criteria.
listSlotTypesAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSlotsResult> listSlotsAsync(ListSlotsRequest request)
AmazonLexModelsV2Async
Gets a list of slots that match the specified criteria.
listSlotsAsync
in interface AmazonLexModelsV2Async
public Future<ListSlotsResult> listSlotsAsync(ListSlotsRequest request, AsyncHandler<ListSlotsRequest,ListSlotsResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of slots that match the specified criteria.
listSlotsAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonLexModelsV2Async
Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
listTagsForResourceAsync
in interface AmazonLexModelsV2Async
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonLexModelsV2Async
Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
listTagsForResourceAsync
in interface AmazonLexModelsV2Async
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<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<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<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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonLexModelsV2
shutdown
in class AmazonLexModelsV2Client