@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface LexModelsV2Client extends SdkClient
builder() method.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default BatchCreateCustomVocabularyItemResponse |
batchCreateCustomVocabularyItem(BatchCreateCustomVocabularyItemRequest batchCreateCustomVocabularyItemRequest)
Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
|
default BatchCreateCustomVocabularyItemResponse |
batchCreateCustomVocabularyItem(Consumer<BatchCreateCustomVocabularyItemRequest.Builder> batchCreateCustomVocabularyItemRequest)
Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
|
default BatchDeleteCustomVocabularyItemResponse |
batchDeleteCustomVocabularyItem(BatchDeleteCustomVocabularyItemRequest batchDeleteCustomVocabularyItemRequest)
Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
|
default BatchDeleteCustomVocabularyItemResponse |
batchDeleteCustomVocabularyItem(Consumer<BatchDeleteCustomVocabularyItemRequest.Builder> batchDeleteCustomVocabularyItemRequest)
Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
|
default BatchUpdateCustomVocabularyItemResponse |
batchUpdateCustomVocabularyItem(BatchUpdateCustomVocabularyItemRequest batchUpdateCustomVocabularyItemRequest)
Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
|
default BatchUpdateCustomVocabularyItemResponse |
batchUpdateCustomVocabularyItem(Consumer<BatchUpdateCustomVocabularyItemRequest.Builder> batchUpdateCustomVocabularyItemRequest)
Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
|
default BuildBotLocaleResponse |
buildBotLocale(BuildBotLocaleRequest buildBotLocaleRequest)
Builds a bot, its intents, and its slot types into a specific locale.
|
default BuildBotLocaleResponse |
buildBotLocale(Consumer<BuildBotLocaleRequest.Builder> buildBotLocaleRequest)
Builds a bot, its intents, and its slot types into a specific locale.
|
static LexModelsV2ClientBuilder |
builder()
Create a builder that can be used to configure and create a
LexModelsV2Client. |
static LexModelsV2Client |
create()
Create a
LexModelsV2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateBotResponse |
createBot(Consumer<CreateBotRequest.Builder> createBotRequest)
Creates an Amazon Lex conversational bot.
|
default CreateBotResponse |
createBot(CreateBotRequest createBotRequest)
Creates an Amazon Lex conversational bot.
|
default CreateBotAliasResponse |
createBotAlias(Consumer<CreateBotAliasRequest.Builder> createBotAliasRequest)
Creates an alias for the specified version of a bot.
|
default CreateBotAliasResponse |
createBotAlias(CreateBotAliasRequest createBotAliasRequest)
Creates an alias for the specified version of a bot.
|
default CreateBotLocaleResponse |
createBotLocale(Consumer<CreateBotLocaleRequest.Builder> createBotLocaleRequest)
Creates a locale in the bot.
|
default CreateBotLocaleResponse |
createBotLocale(CreateBotLocaleRequest createBotLocaleRequest)
Creates a locale in the bot.
|
default CreateBotVersionResponse |
createBotVersion(Consumer<CreateBotVersionRequest.Builder> createBotVersionRequest)
Creates a new version of the bot based on the
DRAFT version. |
default CreateBotVersionResponse |
createBotVersion(CreateBotVersionRequest createBotVersionRequest)
Creates a new version of the bot based on the
DRAFT version. |
default CreateExportResponse |
createExport(Consumer<CreateExportRequest.Builder> createExportRequest)
Creates a zip archive containing the contents of a bot or a bot locale.
|
default CreateExportResponse |
createExport(CreateExportRequest createExportRequest)
Creates a zip archive containing the contents of a bot or a bot locale.
|
default CreateIntentResponse |
createIntent(Consumer<CreateIntentRequest.Builder> createIntentRequest)
Creates an intent.
|
default CreateIntentResponse |
createIntent(CreateIntentRequest createIntentRequest)
Creates an intent.
|
default CreateResourcePolicyResponse |
createResourcePolicy(Consumer<CreateResourcePolicyRequest.Builder> createResourcePolicyRequest)
Creates a new resource policy with the specified policy statements.
|
default CreateResourcePolicyResponse |
createResourcePolicy(CreateResourcePolicyRequest createResourcePolicyRequest)
Creates a new resource policy with the specified policy statements.
|
default CreateResourcePolicyStatementResponse |
createResourcePolicyStatement(Consumer<CreateResourcePolicyStatementRequest.Builder> createResourcePolicyStatementRequest)
Adds a new resource policy statement to a bot or bot alias.
|
default CreateResourcePolicyStatementResponse |
createResourcePolicyStatement(CreateResourcePolicyStatementRequest createResourcePolicyStatementRequest)
Adds a new resource policy statement to a bot or bot alias.
|
default CreateSlotResponse |
createSlot(Consumer<CreateSlotRequest.Builder> createSlotRequest)
Creates a slot in an intent.
|
default CreateSlotResponse |
createSlot(CreateSlotRequest createSlotRequest)
Creates a slot in an intent.
|
default CreateSlotTypeResponse |
createSlotType(Consumer<CreateSlotTypeRequest.Builder> createSlotTypeRequest)
Creates a custom slot type
|
default CreateSlotTypeResponse |
createSlotType(CreateSlotTypeRequest createSlotTypeRequest)
Creates a custom slot type
|
default CreateUploadUrlResponse |
createUploadUrl(Consumer<CreateUploadUrlRequest.Builder> createUploadUrlRequest)
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
|
default CreateUploadUrlResponse |
createUploadUrl(CreateUploadUrlRequest createUploadUrlRequest)
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
|
default DeleteBotResponse |
deleteBot(Consumer<DeleteBotRequest.Builder> deleteBotRequest)
Deletes all versions of a bot, including the
Draft version. |
default DeleteBotResponse |
deleteBot(DeleteBotRequest deleteBotRequest)
Deletes all versions of a bot, including the
Draft version. |
default DeleteBotAliasResponse |
deleteBotAlias(Consumer<DeleteBotAliasRequest.Builder> deleteBotAliasRequest)
Deletes the specified bot alias.
|
default DeleteBotAliasResponse |
deleteBotAlias(DeleteBotAliasRequest deleteBotAliasRequest)
Deletes the specified bot alias.
|
default DeleteBotLocaleResponse |
deleteBotLocale(Consumer<DeleteBotLocaleRequest.Builder> deleteBotLocaleRequest)
Removes a locale from a bot.
|
default DeleteBotLocaleResponse |
deleteBotLocale(DeleteBotLocaleRequest deleteBotLocaleRequest)
Removes a locale from a bot.
|
default DeleteBotVersionResponse |
deleteBotVersion(Consumer<DeleteBotVersionRequest.Builder> deleteBotVersionRequest)
Deletes a specific version of a bot.
|
default DeleteBotVersionResponse |
deleteBotVersion(DeleteBotVersionRequest deleteBotVersionRequest)
Deletes a specific version of a bot.
|
default DeleteCustomVocabularyResponse |
deleteCustomVocabulary(Consumer<DeleteCustomVocabularyRequest.Builder> deleteCustomVocabularyRequest)
Removes a custom vocabulary from the specified locale in the specified bot.
|
default DeleteCustomVocabularyResponse |
deleteCustomVocabulary(DeleteCustomVocabularyRequest deleteCustomVocabularyRequest)
Removes a custom vocabulary from the specified locale in the specified bot.
|
default DeleteExportResponse |
deleteExport(Consumer<DeleteExportRequest.Builder> deleteExportRequest)
Removes a previous export and the associated files stored in an S3 bucket.
|
default DeleteExportResponse |
deleteExport(DeleteExportRequest deleteExportRequest)
Removes a previous export and the associated files stored in an S3 bucket.
|
default DeleteImportResponse |
deleteImport(Consumer<DeleteImportRequest.Builder> deleteImportRequest)
Removes a previous import and the associated file stored in an S3 bucket.
|
default DeleteImportResponse |
deleteImport(DeleteImportRequest deleteImportRequest)
Removes a previous import and the associated file stored in an S3 bucket.
|
default DeleteIntentResponse |
deleteIntent(Consumer<DeleteIntentRequest.Builder> deleteIntentRequest)
Removes the specified intent.
|
default DeleteIntentResponse |
deleteIntent(DeleteIntentRequest deleteIntentRequest)
Removes the specified intent.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Removes an existing policy from a bot or bot alias.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Removes an existing policy from a bot or bot alias.
|
default DeleteResourcePolicyStatementResponse |
deleteResourcePolicyStatement(Consumer<DeleteResourcePolicyStatementRequest.Builder> deleteResourcePolicyStatementRequest)
Deletes a policy statement from a resource policy.
|
default DeleteResourcePolicyStatementResponse |
deleteResourcePolicyStatement(DeleteResourcePolicyStatementRequest deleteResourcePolicyStatementRequest)
Deletes a policy statement from a resource policy.
|
default DeleteSlotResponse |
deleteSlot(Consumer<DeleteSlotRequest.Builder> deleteSlotRequest)
Deletes the specified slot from an intent.
|
default DeleteSlotResponse |
deleteSlot(DeleteSlotRequest deleteSlotRequest)
Deletes the specified slot from an intent.
|
default DeleteSlotTypeResponse |
deleteSlotType(Consumer<DeleteSlotTypeRequest.Builder> deleteSlotTypeRequest)
Deletes a slot type from a bot locale.
|
default DeleteSlotTypeResponse |
deleteSlotType(DeleteSlotTypeRequest deleteSlotTypeRequest)
Deletes a slot type from a bot locale.
|
default DeleteUtterancesResponse |
deleteUtterances(Consumer<DeleteUtterancesRequest.Builder> deleteUtterancesRequest)
Deletes stored utterances.
|
default DeleteUtterancesResponse |
deleteUtterances(DeleteUtterancesRequest deleteUtterancesRequest)
Deletes stored utterances.
|
default DescribeBotResponse |
describeBot(Consumer<DescribeBotRequest.Builder> describeBotRequest)
Provides metadata information about a bot.
|
default DescribeBotResponse |
describeBot(DescribeBotRequest describeBotRequest)
Provides metadata information about a bot.
|
default DescribeBotAliasResponse |
describeBotAlias(Consumer<DescribeBotAliasRequest.Builder> describeBotAliasRequest)
Get information about a specific bot alias.
|
default DescribeBotAliasResponse |
describeBotAlias(DescribeBotAliasRequest describeBotAliasRequest)
Get information about a specific bot alias.
|
default DescribeBotLocaleResponse |
describeBotLocale(Consumer<DescribeBotLocaleRequest.Builder> describeBotLocaleRequest)
Describes the settings that a bot has for a specific locale.
|
default DescribeBotLocaleResponse |
describeBotLocale(DescribeBotLocaleRequest describeBotLocaleRequest)
Describes the settings that a bot has for a specific locale.
|
default DescribeBotRecommendationResponse |
describeBotRecommendation(Consumer<DescribeBotRecommendationRequest.Builder> describeBotRecommendationRequest)
Provides metadata information about a bot recommendation.
|
default DescribeBotRecommendationResponse |
describeBotRecommendation(DescribeBotRecommendationRequest describeBotRecommendationRequest)
Provides metadata information about a bot recommendation.
|
default DescribeBotVersionResponse |
describeBotVersion(Consumer<DescribeBotVersionRequest.Builder> describeBotVersionRequest)
Provides metadata about a version of a bot.
|
default DescribeBotVersionResponse |
describeBotVersion(DescribeBotVersionRequest describeBotVersionRequest)
Provides metadata about a version of a bot.
|
default DescribeCustomVocabularyMetadataResponse |
describeCustomVocabularyMetadata(Consumer<DescribeCustomVocabularyMetadataRequest.Builder> describeCustomVocabularyMetadataRequest)
Provides metadata information about a custom vocabulary.
|
default DescribeCustomVocabularyMetadataResponse |
describeCustomVocabularyMetadata(DescribeCustomVocabularyMetadataRequest describeCustomVocabularyMetadataRequest)
Provides metadata information about a custom vocabulary.
|
default DescribeExportResponse |
describeExport(Consumer<DescribeExportRequest.Builder> describeExportRequest)
Gets information about a specific export.
|
default DescribeExportResponse |
describeExport(DescribeExportRequest describeExportRequest)
Gets information about a specific export.
|
default DescribeImportResponse |
describeImport(Consumer<DescribeImportRequest.Builder> describeImportRequest)
Gets information about a specific import.
|
default DescribeImportResponse |
describeImport(DescribeImportRequest describeImportRequest)
Gets information about a specific import.
|
default DescribeIntentResponse |
describeIntent(Consumer<DescribeIntentRequest.Builder> describeIntentRequest)
Returns metadata about an intent.
|
default DescribeIntentResponse |
describeIntent(DescribeIntentRequest describeIntentRequest)
Returns metadata about an intent.
|
default DescribeResourcePolicyResponse |
describeResourcePolicy(Consumer<DescribeResourcePolicyRequest.Builder> describeResourcePolicyRequest)
Gets the resource policy and policy revision for a bot or bot alias.
|
default DescribeResourcePolicyResponse |
describeResourcePolicy(DescribeResourcePolicyRequest describeResourcePolicyRequest)
Gets the resource policy and policy revision for a bot or bot alias.
|
default DescribeSlotResponse |
describeSlot(Consumer<DescribeSlotRequest.Builder> describeSlotRequest)
Gets metadata information about a slot.
|
default DescribeSlotResponse |
describeSlot(DescribeSlotRequest describeSlotRequest)
Gets metadata information about a slot.
|
default DescribeSlotTypeResponse |
describeSlotType(Consumer<DescribeSlotTypeRequest.Builder> describeSlotTypeRequest)
Gets metadata information about a slot type.
|
default DescribeSlotTypeResponse |
describeSlotType(DescribeSlotTypeRequest describeSlotTypeRequest)
Gets metadata information about a slot type.
|
default ListAggregatedUtterancesResponse |
listAggregatedUtterances(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest)
Provides a list of utterances that users have sent to the bot.
|
default ListAggregatedUtterancesResponse |
listAggregatedUtterances(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest)
Provides a list of utterances that users have sent to the bot.
|
default ListAggregatedUtterancesIterable |
listAggregatedUtterancesPaginator(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest)
Provides a list of utterances that users have sent to the bot.
|
default ListAggregatedUtterancesIterable |
listAggregatedUtterancesPaginator(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest)
Provides a list of utterances that users have sent to the bot.
|
default ListBotAliasesResponse |
listBotAliases(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest)
Gets a list of aliases for the specified bot.
|
default ListBotAliasesResponse |
listBotAliases(ListBotAliasesRequest listBotAliasesRequest)
Gets a list of aliases for the specified bot.
|
default ListBotAliasesIterable |
listBotAliasesPaginator(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest)
Gets a list of aliases for the specified bot.
|
default ListBotAliasesIterable |
listBotAliasesPaginator(ListBotAliasesRequest listBotAliasesRequest)
Gets a list of aliases for the specified bot.
|
default ListBotLocalesResponse |
listBotLocales(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest)
Gets a list of locales for the specified bot.
|
default ListBotLocalesResponse |
listBotLocales(ListBotLocalesRequest listBotLocalesRequest)
Gets a list of locales for the specified bot.
|
default ListBotLocalesIterable |
listBotLocalesPaginator(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest)
Gets a list of locales for the specified bot.
|
default ListBotLocalesIterable |
listBotLocalesPaginator(ListBotLocalesRequest listBotLocalesRequest)
Gets a list of locales for the specified bot.
|
default ListBotRecommendationsResponse |
listBotRecommendations(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest)
Get a list of bot recommendations that meet the specified criteria.
|
default ListBotRecommendationsResponse |
listBotRecommendations(ListBotRecommendationsRequest listBotRecommendationsRequest)
Get a list of bot recommendations that meet the specified criteria.
|
default ListBotRecommendationsIterable |
listBotRecommendationsPaginator(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest)
Get a list of bot recommendations that meet the specified criteria.
|
default ListBotRecommendationsIterable |
listBotRecommendationsPaginator(ListBotRecommendationsRequest listBotRecommendationsRequest)
Get a list of bot recommendations that meet the specified criteria.
|
default ListBotsResponse |
listBots(Consumer<ListBotsRequest.Builder> listBotsRequest)
Gets a list of available bots.
|
default ListBotsResponse |
listBots(ListBotsRequest listBotsRequest)
Gets a list of available bots.
|
default ListBotsIterable |
listBotsPaginator(Consumer<ListBotsRequest.Builder> listBotsRequest)
Gets a list of available bots.
|
default ListBotsIterable |
listBotsPaginator(ListBotsRequest listBotsRequest)
Gets a list of available bots.
|
default ListBotVersionsResponse |
listBotVersions(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest)
Gets information about all of the versions of a bot.
|
default ListBotVersionsResponse |
listBotVersions(ListBotVersionsRequest listBotVersionsRequest)
Gets information about all of the versions of a bot.
|
default ListBotVersionsIterable |
listBotVersionsPaginator(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest)
Gets information about all of the versions of a bot.
|
default ListBotVersionsIterable |
listBotVersionsPaginator(ListBotVersionsRequest listBotVersionsRequest)
Gets information about all of the versions of a bot.
|
default ListBuiltInIntentsResponse |
listBuiltInIntents(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest)
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
|
default ListBuiltInIntentsResponse |
listBuiltInIntents(ListBuiltInIntentsRequest listBuiltInIntentsRequest)
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
|
default ListBuiltInIntentsIterable |
listBuiltInIntentsPaginator(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest)
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
|
default ListBuiltInIntentsIterable |
listBuiltInIntentsPaginator(ListBuiltInIntentsRequest listBuiltInIntentsRequest)
Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
|
default ListBuiltInSlotTypesResponse |
listBuiltInSlotTypes(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest)
Gets a list of built-in slot types that meet the specified criteria.
|
default ListBuiltInSlotTypesResponse |
listBuiltInSlotTypes(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest)
Gets a list of built-in slot types that meet the specified criteria.
|
default ListBuiltInSlotTypesIterable |
listBuiltInSlotTypesPaginator(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest)
Gets a list of built-in slot types that meet the specified criteria.
|
default ListBuiltInSlotTypesIterable |
listBuiltInSlotTypesPaginator(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest)
Gets a list of built-in slot types that meet the specified criteria.
|
default ListCustomVocabularyItemsResponse |
listCustomVocabularyItems(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest)
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
|
default ListCustomVocabularyItemsResponse |
listCustomVocabularyItems(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest)
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
|
default ListCustomVocabularyItemsIterable |
listCustomVocabularyItemsPaginator(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest)
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
|
default ListCustomVocabularyItemsIterable |
listCustomVocabularyItemsPaginator(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest)
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
|
default ListExportsResponse |
listExports(Consumer<ListExportsRequest.Builder> listExportsRequest)
Lists the exports for a bot, bot locale, or custom vocabulary.
|
default ListExportsResponse |
listExports(ListExportsRequest listExportsRequest)
Lists the exports for a bot, bot locale, or custom vocabulary.
|
default ListExportsIterable |
listExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest)
Lists the exports for a bot, bot locale, or custom vocabulary.
|
default ListExportsIterable |
listExportsPaginator(ListExportsRequest listExportsRequest)
Lists the exports for a bot, bot locale, or custom vocabulary.
|
default ListImportsResponse |
listImports(Consumer<ListImportsRequest.Builder> listImportsRequest)
Lists the imports for a bot, bot locale, or custom vocabulary.
|
default ListImportsResponse |
listImports(ListImportsRequest listImportsRequest)
Lists the imports for a bot, bot locale, or custom vocabulary.
|
default ListImportsIterable |
listImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest)
Lists the imports for a bot, bot locale, or custom vocabulary.
|
default ListImportsIterable |
listImportsPaginator(ListImportsRequest listImportsRequest)
Lists the imports for a bot, bot locale, or custom vocabulary.
|
default ListIntentsResponse |
listIntents(Consumer<ListIntentsRequest.Builder> listIntentsRequest)
Get a list of intents that meet the specified criteria.
|
default ListIntentsResponse |
listIntents(ListIntentsRequest listIntentsRequest)
Get a list of intents that meet the specified criteria.
|
default ListIntentsIterable |
listIntentsPaginator(Consumer<ListIntentsRequest.Builder> listIntentsRequest)
Get a list of intents that meet the specified criteria.
|
default ListIntentsIterable |
listIntentsPaginator(ListIntentsRequest listIntentsRequest)
Get a list of intents that meet the specified criteria.
|
default ListRecommendedIntentsResponse |
listRecommendedIntents(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest)
Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.
|
default ListRecommendedIntentsResponse |
listRecommendedIntents(ListRecommendedIntentsRequest listRecommendedIntentsRequest)
Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.
|
default ListRecommendedIntentsIterable |
listRecommendedIntentsPaginator(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest)
Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.
|
default ListRecommendedIntentsIterable |
listRecommendedIntentsPaginator(ListRecommendedIntentsRequest listRecommendedIntentsRequest)
Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.
|
default ListSlotsResponse |
listSlots(Consumer<ListSlotsRequest.Builder> listSlotsRequest)
Gets a list of slots that match the specified criteria.
|
default ListSlotsResponse |
listSlots(ListSlotsRequest listSlotsRequest)
Gets a list of slots that match the specified criteria.
|
default ListSlotsIterable |
listSlotsPaginator(Consumer<ListSlotsRequest.Builder> listSlotsRequest)
Gets a list of slots that match the specified criteria.
|
default ListSlotsIterable |
listSlotsPaginator(ListSlotsRequest listSlotsRequest)
Gets a list of slots that match the specified criteria.
|
default ListSlotTypesResponse |
listSlotTypes(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest)
Gets a list of slot types that match the specified criteria.
|
default ListSlotTypesResponse |
listSlotTypes(ListSlotTypesRequest listSlotTypesRequest)
Gets a list of slot types that match the specified criteria.
|
default ListSlotTypesIterable |
listSlotTypesPaginator(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest)
Gets a list of slot types that match the specified criteria.
|
default ListSlotTypesIterable |
listSlotTypesPaginator(ListSlotTypesRequest listSlotTypesRequest)
Gets a list of slot types that match the specified criteria.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Gets a list of tags associated with a resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Gets a list of tags associated with a resource.
|
default SearchAssociatedTranscriptsResponse |
searchAssociatedTranscripts(Consumer<SearchAssociatedTranscriptsRequest.Builder> searchAssociatedTranscriptsRequest)
Search for associated transcripts that meet the specified criteria.
|
default SearchAssociatedTranscriptsResponse |
searchAssociatedTranscripts(SearchAssociatedTranscriptsRequest searchAssociatedTranscriptsRequest)
Search for associated transcripts that meet the specified criteria.
|
static ServiceMetadata |
serviceMetadata() |
default StartBotRecommendationResponse |
startBotRecommendation(Consumer<StartBotRecommendationRequest.Builder> startBotRecommendationRequest)
Use this to provide your transcript data, and to start the bot recommendation process.
|
default StartBotRecommendationResponse |
startBotRecommendation(StartBotRecommendationRequest startBotRecommendationRequest)
Use this to provide your transcript data, and to start the bot recommendation process.
|
default StartImportResponse |
startImport(Consumer<StartImportRequest.Builder> startImportRequest)
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
|
default StartImportResponse |
startImport(StartImportRequest startImportRequest)
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
|
default StopBotRecommendationResponse |
stopBotRecommendation(Consumer<StopBotRecommendationRequest.Builder> stopBotRecommendationRequest)
Stop an already running Bot Recommendation request.
|
default StopBotRecommendationResponse |
stopBotRecommendation(StopBotRecommendationRequest stopBotRecommendationRequest)
Stop an already running Bot Recommendation request.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds the specified tags to the specified resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a bot, bot alias, or bot channel.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a bot, bot alias, or bot channel.
|
default UpdateBotResponse |
updateBot(Consumer<UpdateBotRequest.Builder> updateBotRequest)
Updates the configuration of an existing bot.
|
default UpdateBotResponse |
updateBot(UpdateBotRequest updateBotRequest)
Updates the configuration of an existing bot.
|
default UpdateBotAliasResponse |
updateBotAlias(Consumer<UpdateBotAliasRequest.Builder> updateBotAliasRequest)
Updates the configuration of an existing bot alias.
|
default UpdateBotAliasResponse |
updateBotAlias(UpdateBotAliasRequest updateBotAliasRequest)
Updates the configuration of an existing bot alias.
|
default UpdateBotLocaleResponse |
updateBotLocale(Consumer<UpdateBotLocaleRequest.Builder> updateBotLocaleRequest)
Updates the settings that a bot has for a specific locale.
|
default UpdateBotLocaleResponse |
updateBotLocale(UpdateBotLocaleRequest updateBotLocaleRequest)
Updates the settings that a bot has for a specific locale.
|
default UpdateBotRecommendationResponse |
updateBotRecommendation(Consumer<UpdateBotRecommendationRequest.Builder> updateBotRecommendationRequest)
Updates an existing bot recommendation request.
|
default UpdateBotRecommendationResponse |
updateBotRecommendation(UpdateBotRecommendationRequest updateBotRecommendationRequest)
Updates an existing bot recommendation request.
|
default UpdateExportResponse |
updateExport(Consumer<UpdateExportRequest.Builder> updateExportRequest)
Updates the password used to protect an export zip archive.
|
default UpdateExportResponse |
updateExport(UpdateExportRequest updateExportRequest)
Updates the password used to protect an export zip archive.
|
default UpdateIntentResponse |
updateIntent(Consumer<UpdateIntentRequest.Builder> updateIntentRequest)
Updates the settings for an intent.
|
default UpdateIntentResponse |
updateIntent(UpdateIntentRequest updateIntentRequest)
Updates the settings for an intent.
|
default UpdateResourcePolicyResponse |
updateResourcePolicy(Consumer<UpdateResourcePolicyRequest.Builder> updateResourcePolicyRequest)
Replaces the existing resource policy for a bot or bot alias with a new one.
|
default UpdateResourcePolicyResponse |
updateResourcePolicy(UpdateResourcePolicyRequest updateResourcePolicyRequest)
Replaces the existing resource policy for a bot or bot alias with a new one.
|
default UpdateSlotResponse |
updateSlot(Consumer<UpdateSlotRequest.Builder> updateSlotRequest)
Updates the settings for a slot.
|
default UpdateSlotResponse |
updateSlot(UpdateSlotRequest updateSlotRequest)
Updates the settings for a slot.
|
default UpdateSlotTypeResponse |
updateSlotType(Consumer<UpdateSlotTypeRequest.Builder> updateSlotTypeRequest)
Updates the configuration of an existing slot type.
|
default UpdateSlotTypeResponse |
updateSlotType(UpdateSlotTypeRequest updateSlotTypeRequest)
Updates the configuration of an existing slot type.
|
default LexModelsV2Waiter |
waiter()
Create an instance of
LexModelsV2Waiter using this client. |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default BatchCreateCustomVocabularyItemResponse batchCreateCustomVocabularyItem(BatchCreateCustomVocabularyItemRequest batchCreateCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
batchCreateCustomVocabularyItemRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchCreateCustomVocabularyItemResponse batchCreateCustomVocabularyItem(Consumer<BatchCreateCustomVocabularyItemRequest.Builder> batchCreateCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
This is a convenience which creates an instance of the BatchCreateCustomVocabularyItemRequest.Builder
avoiding the need to create one manually via BatchCreateCustomVocabularyItemRequest.builder()
batchCreateCustomVocabularyItemRequest - A Consumer that will call methods on BatchCreateCustomVocabularyItemRequest.Builder to
create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteCustomVocabularyItemResponse batchDeleteCustomVocabularyItem(BatchDeleteCustomVocabularyItemRequest batchDeleteCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
batchDeleteCustomVocabularyItemRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchDeleteCustomVocabularyItemResponse batchDeleteCustomVocabularyItem(Consumer<BatchDeleteCustomVocabularyItemRequest.Builder> batchDeleteCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
This is a convenience which creates an instance of the BatchDeleteCustomVocabularyItemRequest.Builder
avoiding the need to create one manually via BatchDeleteCustomVocabularyItemRequest.builder()
batchDeleteCustomVocabularyItemRequest - A Consumer that will call methods on BatchDeleteCustomVocabularyItemRequest.Builder to
create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchUpdateCustomVocabularyItemResponse batchUpdateCustomVocabularyItem(BatchUpdateCustomVocabularyItemRequest batchUpdateCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
batchUpdateCustomVocabularyItemRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchUpdateCustomVocabularyItemResponse batchUpdateCustomVocabularyItem(Consumer<BatchUpdateCustomVocabularyItemRequest.Builder> batchUpdateCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
This is a convenience which creates an instance of the BatchUpdateCustomVocabularyItemRequest.Builder
avoiding the need to create one manually via BatchUpdateCustomVocabularyItemRequest.builder()
batchUpdateCustomVocabularyItemRequest - A Consumer that will call methods on BatchUpdateCustomVocabularyItemRequest.Builder to
create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BuildBotLocaleResponse buildBotLocale(BuildBotLocaleRequest buildBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
buildBotLocaleRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BuildBotLocaleResponse buildBotLocale(Consumer<BuildBotLocaleRequest.Builder> buildBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the BuildBotLocaleRequest.Builder avoiding the need to
create one manually via BuildBotLocaleRequest.builder()
buildBotLocaleRequest - A Consumer that will call methods on BuildBotLocaleRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateBotResponse createBot(CreateBotRequest createBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Creates an Amazon Lex conversational bot.
createBotRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateBotResponse createBot(Consumer<CreateBotRequest.Builder> createBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Creates an Amazon Lex conversational bot.
This is a convenience which creates an instance of the CreateBotRequest.Builder avoiding the need to
create one manually via CreateBotRequest.builder()
createBotRequest - A Consumer that will call methods on CreateBotRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateBotAliasResponse createBotAlias(CreateBotAliasRequest createBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
createBotAliasRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateBotAliasResponse createBotAlias(Consumer<CreateBotAliasRequest.Builder> createBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the CreateBotAliasRequest.Builder avoiding the need to
create one manually via CreateBotAliasRequest.builder()
createBotAliasRequest - A Consumer that will call methods on CreateBotAliasRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateBotLocaleResponse createBotLocale(CreateBotLocaleRequest createBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
createBotLocaleRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateBotLocaleResponse createBotLocale(Consumer<CreateBotLocaleRequest.Builder> createBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the CreateBotLocaleRequest.Builder avoiding the need
to create one manually via CreateBotLocaleRequest.builder()
createBotLocaleRequest - A Consumer that will call methods on CreateBotLocaleRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateBotVersionResponse createBotVersion(CreateBotVersionRequest createBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
createBotVersionRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateBotVersionResponse createBotVersion(Consumer<CreateBotVersionRequest.Builder> createBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the CreateBotVersionRequest.Builder avoiding the need
to create one manually via CreateBotVersionRequest.builder()
createBotVersionRequest - A Consumer that will call methods on CreateBotVersionRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateExportResponse createExport(CreateExportRequest createExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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
createExportRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateExportResponse createExport(Consumer<CreateExportRequest.Builder> createExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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
This is a convenience which creates an instance of the CreateExportRequest.Builder avoiding the need to
create one manually via CreateExportRequest.builder()
createExportRequest - A Consumer that will call methods on CreateExportRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateIntentResponse createIntent(CreateIntentRequest createIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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?"
createIntentRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateIntentResponse createIntent(Consumer<CreateIntentRequest.Builder> createIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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?"
This is a convenience which creates an instance of the CreateIntentRequest.Builder avoiding the need to
create one manually via CreateIntentRequest.builder()
createIntentRequest - A Consumer that will call methods on CreateIntentRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResourcePolicyResponse createResourcePolicy(CreateResourcePolicyRequest createResourcePolicyRequest) throws ResourceNotFoundException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
Creates a new resource policy with the specified policy statements.
createResourcePolicyRequest - ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ServiceQuotaExceededException - You have reached a quota for your bot.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResourcePolicyResponse createResourcePolicy(Consumer<CreateResourcePolicyRequest.Builder> createResourcePolicyRequest) throws ResourceNotFoundException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
Creates a new resource policy with the specified policy statements.
This is a convenience which creates an instance of the CreateResourcePolicyRequest.Builder avoiding the
need to create one manually via CreateResourcePolicyRequest.builder()
createResourcePolicyRequest - A Consumer that will call methods on CreateResourcePolicyRequest.Builder to create a
request.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ServiceQuotaExceededException - You have reached a quota for your bot.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResourcePolicyStatementResponse createResourcePolicyStatement(CreateResourcePolicyStatementRequest createResourcePolicyStatementRequest) throws ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
createResourcePolicyStatementRequest - ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.ServiceQuotaExceededException - You have reached a quota for your bot.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResourcePolicyStatementResponse createResourcePolicyStatement(Consumer<CreateResourcePolicyStatementRequest.Builder> createResourcePolicyStatementRequest) throws ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the CreateResourcePolicyStatementRequest.Builder
avoiding the need to create one manually via CreateResourcePolicyStatementRequest.builder()
createResourcePolicyStatementRequest - A Consumer that will call methods on CreateResourcePolicyStatementRequest.Builder to
create a request.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.ServiceQuotaExceededException - You have reached a quota for your bot.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSlotResponse createSlot(CreateSlotRequest createSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
createSlotRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSlotResponse createSlot(Consumer<CreateSlotRequest.Builder> createSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the CreateSlotRequest.Builder avoiding the need to
create one manually via CreateSlotRequest.builder()
createSlotRequest - A Consumer that will call methods on CreateSlotRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSlotTypeResponse createSlotType(CreateSlotTypeRequest createSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
createSlotTypeRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSlotTypeResponse createSlotType(Consumer<CreateSlotTypeRequest.Builder> createSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the CreateSlotTypeRequest.Builder avoiding the need to
create one manually via CreateSlotTypeRequest.builder()
createSlotTypeRequest - A Consumer that will call methods on CreateSlotTypeRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateUploadUrlResponse createUploadUrl(CreateUploadUrlRequest createUploadUrlRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
createUploadUrlRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateUploadUrlResponse createUploadUrl(Consumer<CreateUploadUrlRequest.Builder> createUploadUrlRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
This is a convenience which creates an instance of the CreateUploadUrlRequest.Builder avoiding the need
to create one manually via CreateUploadUrlRequest.builder()
createUploadUrlRequest - A Consumer that will call methods on CreateUploadUrlRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteBotResponse deleteBot(DeleteBotRequest deleteBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
deleteBotRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteBotResponse deleteBot(Consumer<DeleteBotRequest.Builder> deleteBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the DeleteBotRequest.Builder avoiding the need to
create one manually via DeleteBotRequest.builder()
deleteBotRequest - A Consumer that will call methods on DeleteBotRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteBotAliasResponse deleteBotAlias(DeleteBotAliasRequest deleteBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Deletes the specified bot alias.
deleteBotAliasRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteBotAliasResponse deleteBotAlias(Consumer<DeleteBotAliasRequest.Builder> deleteBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Deletes the specified bot alias.
This is a convenience which creates an instance of the DeleteBotAliasRequest.Builder avoiding the need to
create one manually via DeleteBotAliasRequest.builder()
deleteBotAliasRequest - A Consumer that will call methods on DeleteBotAliasRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteBotLocaleResponse deleteBotLocale(DeleteBotLocaleRequest deleteBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
deleteBotLocaleRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteBotLocaleResponse deleteBotLocale(Consumer<DeleteBotLocaleRequest.Builder> deleteBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
This is a convenience which creates an instance of the DeleteBotLocaleRequest.Builder avoiding the need
to create one manually via DeleteBotLocaleRequest.builder()
deleteBotLocaleRequest - A Consumer that will call methods on DeleteBotLocaleRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteBotVersionResponse deleteBotVersion(DeleteBotVersionRequest deleteBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.
deleteBotVersionRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteBotVersionResponse deleteBotVersion(Consumer<DeleteBotVersionRequest.Builder> deleteBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.
This is a convenience which creates an instance of the DeleteBotVersionRequest.Builder avoiding the need
to create one manually via DeleteBotVersionRequest.builder()
deleteBotVersionRequest - A Consumer that will call methods on DeleteBotVersionRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCustomVocabularyResponse deleteCustomVocabulary(DeleteCustomVocabularyRequest deleteCustomVocabularyRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes a custom vocabulary from the specified locale in the specified bot.
deleteCustomVocabularyRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCustomVocabularyResponse deleteCustomVocabulary(Consumer<DeleteCustomVocabularyRequest.Builder> deleteCustomVocabularyRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes a custom vocabulary from the specified locale in the specified bot.
This is a convenience which creates an instance of the DeleteCustomVocabularyRequest.Builder avoiding the
need to create one manually via DeleteCustomVocabularyRequest.builder()
deleteCustomVocabularyRequest - A Consumer that will call methods on DeleteCustomVocabularyRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteExportResponse deleteExport(DeleteExportRequest deleteExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes a previous export and the associated files stored in an S3 bucket.
deleteExportRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteExportResponse deleteExport(Consumer<DeleteExportRequest.Builder> deleteExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes a previous export and the associated files stored in an S3 bucket.
This is a convenience which creates an instance of the DeleteExportRequest.Builder avoiding the need to
create one manually via DeleteExportRequest.builder()
deleteExportRequest - A Consumer that will call methods on DeleteExportRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteImportResponse deleteImport(DeleteImportRequest deleteImportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes a previous import and the associated file stored in an S3 bucket.
deleteImportRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteImportResponse deleteImport(Consumer<DeleteImportRequest.Builder> deleteImportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes a previous import and the associated file stored in an S3 bucket.
This is a convenience which creates an instance of the DeleteImportRequest.Builder avoiding the need to
create one manually via DeleteImportRequest.builder()
deleteImportRequest - A Consumer that will call methods on DeleteImportRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteIntentResponse deleteIntent(DeleteIntentRequest deleteIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
deleteIntentRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteIntentResponse deleteIntent(Consumer<DeleteIntentRequest.Builder> deleteIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
This is a convenience which creates an instance of the DeleteIntentRequest.Builder avoiding the need to
create one manually via DeleteIntentRequest.builder()
deleteIntentRequest - A Consumer that will call methods on DeleteIntentRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws ResourceNotFoundException, PreconditionFailedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
deleteResourcePolicyRequest - ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws ResourceNotFoundException, PreconditionFailedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder avoiding the
need to create one manually via DeleteResourcePolicyRequest.builder()
deleteResourcePolicyRequest - A Consumer that will call methods on DeleteResourcePolicyRequest.Builder to create a
request.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyStatementResponse deleteResourcePolicyStatement(DeleteResourcePolicyStatementRequest deleteResourcePolicyStatementRequest) throws ResourceNotFoundException, PreconditionFailedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
deleteResourcePolicyStatementRequest - ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyStatementResponse deleteResourcePolicyStatement(Consumer<DeleteResourcePolicyStatementRequest.Builder> deleteResourcePolicyStatementRequest) throws ResourceNotFoundException, PreconditionFailedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the DeleteResourcePolicyStatementRequest.Builder
avoiding the need to create one manually via DeleteResourcePolicyStatementRequest.builder()
deleteResourcePolicyStatementRequest - A Consumer that will call methods on DeleteResourcePolicyStatementRequest.Builder to
create a request.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSlotResponse deleteSlot(DeleteSlotRequest deleteSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Deletes the specified slot from an intent.
deleteSlotRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSlotResponse deleteSlot(Consumer<DeleteSlotRequest.Builder> deleteSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Deletes the specified slot from an intent.
This is a convenience which creates an instance of the DeleteSlotRequest.Builder avoiding the need to
create one manually via DeleteSlotRequest.builder()
deleteSlotRequest - A Consumer that will call methods on DeleteSlotRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSlotTypeResponse deleteSlotType(DeleteSlotTypeRequest deleteSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
deleteSlotTypeRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSlotTypeResponse deleteSlotType(Consumer<DeleteSlotTypeRequest.Builder> deleteSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the DeleteSlotTypeRequest.Builder avoiding the need to
create one manually via DeleteSlotTypeRequest.builder()
deleteSlotTypeRequest - A Consumer that will call methods on DeleteSlotTypeRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteUtterancesResponse deleteUtterances(DeleteUtterancesRequest deleteUtterancesRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
deleteUtterancesRequest - ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteUtterancesResponse deleteUtterances(Consumer<DeleteUtterancesRequest.Builder> deleteUtterancesRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the DeleteUtterancesRequest.Builder avoiding the need
to create one manually via DeleteUtterancesRequest.builder()
deleteUtterancesRequest - A Consumer that will call methods on DeleteUtterancesRequest.Builder to create a request.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBotResponse describeBot(DescribeBotRequest describeBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Provides metadata information about a bot.
describeBotRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBotResponse describeBot(Consumer<DescribeBotRequest.Builder> describeBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Provides metadata information about a bot.
This is a convenience which creates an instance of the DescribeBotRequest.Builder avoiding the need to
create one manually via DescribeBotRequest.builder()
describeBotRequest - A Consumer that will call methods on DescribeBotRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBotAliasResponse describeBotAlias(DescribeBotAliasRequest describeBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Get information about a specific bot alias.
describeBotAliasRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBotAliasResponse describeBotAlias(Consumer<DescribeBotAliasRequest.Builder> describeBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Get information about a specific bot alias.
This is a convenience which creates an instance of the DescribeBotAliasRequest.Builder avoiding the need
to create one manually via DescribeBotAliasRequest.builder()
describeBotAliasRequest - A Consumer that will call methods on DescribeBotAliasRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBotLocaleResponse describeBotLocale(DescribeBotLocaleRequest describeBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Describes the settings that a bot has for a specific locale.
describeBotLocaleRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBotLocaleResponse describeBotLocale(Consumer<DescribeBotLocaleRequest.Builder> describeBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Describes the settings that a bot has for a specific locale.
This is a convenience which creates an instance of the DescribeBotLocaleRequest.Builder avoiding the need
to create one manually via DescribeBotLocaleRequest.builder()
describeBotLocaleRequest - A Consumer that will call methods on DescribeBotLocaleRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBotRecommendationResponse describeBotRecommendation(DescribeBotRecommendationRequest describeBotRecommendationRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
describeBotRecommendationRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBotRecommendationResponse describeBotRecommendation(Consumer<DescribeBotRecommendationRequest.Builder> describeBotRecommendationRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the DescribeBotRecommendationRequest.Builder avoiding
the need to create one manually via DescribeBotRecommendationRequest.builder()
describeBotRecommendationRequest - A Consumer that will call methods on DescribeBotRecommendationRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBotVersionResponse describeBotVersion(DescribeBotVersionRequest describeBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Provides metadata about a version of a bot.
describeBotVersionRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBotVersionResponse describeBotVersion(Consumer<DescribeBotVersionRequest.Builder> describeBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Provides metadata about a version of a bot.
This is a convenience which creates an instance of the DescribeBotVersionRequest.Builder avoiding the
need to create one manually via DescribeBotVersionRequest.builder()
describeBotVersionRequest - A Consumer that will call methods on DescribeBotVersionRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCustomVocabularyMetadataResponse describeCustomVocabularyMetadata(DescribeCustomVocabularyMetadataRequest describeCustomVocabularyMetadataRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Provides metadata information about a custom vocabulary.
describeCustomVocabularyMetadataRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeCustomVocabularyMetadataResponse describeCustomVocabularyMetadata(Consumer<DescribeCustomVocabularyMetadataRequest.Builder> describeCustomVocabularyMetadataRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Provides metadata information about a custom vocabulary.
This is a convenience which creates an instance of the DescribeCustomVocabularyMetadataRequest.Builder
avoiding the need to create one manually via DescribeCustomVocabularyMetadataRequest.builder()
describeCustomVocabularyMetadataRequest - A Consumer that will call methods on DescribeCustomVocabularyMetadataRequest.Builder to
create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeExportResponse describeExport(DescribeExportRequest describeExportRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets information about a specific export.
describeExportRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeExportResponse describeExport(Consumer<DescribeExportRequest.Builder> describeExportRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets information about a specific export.
This is a convenience which creates an instance of the DescribeExportRequest.Builder avoiding the need to
create one manually via DescribeExportRequest.builder()
describeExportRequest - A Consumer that will call methods on DescribeExportRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeImportResponse describeImport(DescribeImportRequest describeImportRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets information about a specific import.
describeImportRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeImportResponse describeImport(Consumer<DescribeImportRequest.Builder> describeImportRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets information about a specific import.
This is a convenience which creates an instance of the DescribeImportRequest.Builder avoiding the need to
create one manually via DescribeImportRequest.builder()
describeImportRequest - A Consumer that will call methods on DescribeImportRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeIntentResponse describeIntent(DescribeIntentRequest describeIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Returns metadata about an intent.
describeIntentRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeIntentResponse describeIntent(Consumer<DescribeIntentRequest.Builder> describeIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Returns metadata about an intent.
This is a convenience which creates an instance of the DescribeIntentRequest.Builder avoiding the need to
create one manually via DescribeIntentRequest.builder()
describeIntentRequest - A Consumer that will call methods on DescribeIntentRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeResourcePolicyResponse describeResourcePolicy(DescribeResourcePolicyRequest describeResourcePolicyRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets the resource policy and policy revision for a bot or bot alias.
describeResourcePolicyRequest - ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeResourcePolicyResponse describeResourcePolicy(Consumer<DescribeResourcePolicyRequest.Builder> describeResourcePolicyRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets the resource policy and policy revision for a bot or bot alias.
This is a convenience which creates an instance of the DescribeResourcePolicyRequest.Builder avoiding the
need to create one manually via DescribeResourcePolicyRequest.builder()
describeResourcePolicyRequest - A Consumer that will call methods on DescribeResourcePolicyRequest.Builder to create a
request.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeSlotResponse describeSlot(DescribeSlotRequest describeSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets metadata information about a slot.
describeSlotRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeSlotResponse describeSlot(Consumer<DescribeSlotRequest.Builder> describeSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets metadata information about a slot.
This is a convenience which creates an instance of the DescribeSlotRequest.Builder avoiding the need to
create one manually via DescribeSlotRequest.builder()
describeSlotRequest - A Consumer that will call methods on DescribeSlotRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeSlotTypeResponse describeSlotType(DescribeSlotTypeRequest describeSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets metadata information about a slot type.
describeSlotTypeRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeSlotTypeResponse describeSlotType(Consumer<DescribeSlotTypeRequest.Builder> describeSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets metadata information about a slot type.
This is a convenience which creates an instance of the DescribeSlotTypeRequest.Builder avoiding the need
to create one manually via DescribeSlotTypeRequest.builder()
describeSlotTypeRequest - A Consumer that will call methods on DescribeSlotTypeRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAggregatedUtterancesResponse listAggregatedUtterances(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) throws ValidationException, PreconditionFailedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
listAggregatedUtterancesRequest - ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAggregatedUtterancesResponse listAggregatedUtterances(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) throws ValidationException, PreconditionFailedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the ListAggregatedUtterancesRequest.Builder avoiding
the need to create one manually via ListAggregatedUtterancesRequest.builder()
listAggregatedUtterancesRequest - A Consumer that will call methods on ListAggregatedUtterancesRequest.Builder to create a
request.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAggregatedUtterancesIterable listAggregatedUtterancesPaginator(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) throws ValidationException, PreconditionFailedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a variant of
listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client.listAggregatedUtterancesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client
.listAggregatedUtterancesPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client.listAggregatedUtterancesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation.
listAggregatedUtterancesRequest - ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAggregatedUtterancesIterable listAggregatedUtterancesPaginator(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) throws ValidationException, PreconditionFailedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a variant of
listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client.listAggregatedUtterancesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client
.listAggregatedUtterancesPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client.listAggregatedUtterancesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation.
This is a convenience which creates an instance of the ListAggregatedUtterancesRequest.Builder avoiding
the need to create one manually via ListAggregatedUtterancesRequest.builder()
listAggregatedUtterancesRequest - A Consumer that will call methods on ListAggregatedUtterancesRequest.Builder to create a
request.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotAliasesResponse listBotAliases(ListBotAliasesRequest listBotAliasesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of aliases for the specified bot.
listBotAliasesRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotAliasesResponse listBotAliases(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of aliases for the specified bot.
This is a convenience which creates an instance of the ListBotAliasesRequest.Builder avoiding the need to
create one manually via ListBotAliasesRequest.builder()
listBotAliasesRequest - A Consumer that will call methods on ListBotAliasesRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotAliasesIterable listBotAliasesPaginator(ListBotAliasesRequest listBotAliasesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of aliases for the specified bot.
This is a variant of
listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client.listBotAliasesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client
.listBotAliasesPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client.listBotAliasesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest) operation.
listBotAliasesRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotAliasesIterable listBotAliasesPaginator(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of aliases for the specified bot.
This is a variant of
listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client.listBotAliasesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client
.listBotAliasesPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client.listBotAliasesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest) operation.
This is a convenience which creates an instance of the ListBotAliasesRequest.Builder avoiding the need to
create one manually via ListBotAliasesRequest.builder()
listBotAliasesRequest - A Consumer that will call methods on ListBotAliasesRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotLocalesResponse listBotLocales(ListBotLocalesRequest listBotLocalesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of locales for the specified bot.
listBotLocalesRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotLocalesResponse listBotLocales(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of locales for the specified bot.
This is a convenience which creates an instance of the ListBotLocalesRequest.Builder avoiding the need to
create one manually via ListBotLocalesRequest.builder()
listBotLocalesRequest - A Consumer that will call methods on ListBotLocalesRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotLocalesIterable listBotLocalesPaginator(ListBotLocalesRequest listBotLocalesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of locales for the specified bot.
This is a variant of
listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client.listBotLocalesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client
.listBotLocalesPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client.listBotLocalesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest) operation.
listBotLocalesRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotLocalesIterable listBotLocalesPaginator(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of locales for the specified bot.
This is a variant of
listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client.listBotLocalesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client
.listBotLocalesPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client.listBotLocalesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest) operation.
This is a convenience which creates an instance of the ListBotLocalesRequest.Builder avoiding the need to
create one manually via ListBotLocalesRequest.builder()
listBotLocalesRequest - A Consumer that will call methods on ListBotLocalesRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotRecommendationsResponse listBotRecommendations(ListBotRecommendationsRequest listBotRecommendationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception
Get a list of bot recommendations that meet the specified criteria.
listBotRecommendationsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotRecommendationsResponse listBotRecommendations(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception
Get a list of bot recommendations that meet the specified criteria.
This is a convenience which creates an instance of the ListBotRecommendationsRequest.Builder avoiding the
need to create one manually via ListBotRecommendationsRequest.builder()
listBotRecommendationsRequest - A Consumer that will call methods on ListBotRecommendationsRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotRecommendationsIterable listBotRecommendationsPaginator(ListBotRecommendationsRequest listBotRecommendationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception
Get a list of bot recommendations that meet the specified criteria.
This is a variant of
listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client.listBotRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client
.listBotRecommendationsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client.listBotRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation.
listBotRecommendationsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotRecommendationsIterable listBotRecommendationsPaginator(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception
Get a list of bot recommendations that meet the specified criteria.
This is a variant of
listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client.listBotRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client
.listBotRecommendationsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client.listBotRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation.
This is a convenience which creates an instance of the ListBotRecommendationsRequest.Builder avoiding the
need to create one manually via ListBotRecommendationsRequest.builder()
listBotRecommendationsRequest - A Consumer that will call methods on ListBotRecommendationsRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotVersionsResponse listBotVersions(ListBotVersionsRequest listBotVersionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
listBotVersionsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotVersionsResponse listBotVersions(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the ListBotVersionsRequest.Builder avoiding the need
to create one manually via ListBotVersionsRequest.builder()
listBotVersionsRequest - A Consumer that will call methods on ListBotVersionsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotVersionsIterable listBotVersionsPaginator(ListBotVersionsRequest listBotVersionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a variant of
listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client.listBotVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client
.listBotVersionsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client.listBotVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest) operation.
listBotVersionsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotVersionsIterable listBotVersionsPaginator(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a variant of
listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client.listBotVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client
.listBotVersionsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client.listBotVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest) operation.
This is a convenience which creates an instance of the ListBotVersionsRequest.Builder avoiding the need
to create one manually via ListBotVersionsRequest.builder()
listBotVersionsRequest - A Consumer that will call methods on ListBotVersionsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotsResponse listBots(ListBotsRequest listBotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of available bots.
listBotsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotsResponse listBots(Consumer<ListBotsRequest.Builder> listBotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of available bots.
This is a convenience which creates an instance of the ListBotsRequest.Builder avoiding the need to
create one manually via ListBotsRequest.builder()
listBotsRequest - A Consumer that will call methods on ListBotsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotsIterable listBotsPaginator(ListBotsRequest listBotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of available bots.
This is a variant of listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest) operation.
listBotsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBotsIterable listBotsPaginator(Consumer<ListBotsRequest.Builder> listBotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of available bots.
This is a variant of listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest) operation.
This is a convenience which creates an instance of the ListBotsRequest.Builder avoiding the need to
create one manually via ListBotsRequest.builder()
listBotsRequest - A Consumer that will call methods on ListBotsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBuiltInIntentsResponse listBuiltInIntents(ListBuiltInIntentsRequest listBuiltInIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
listBuiltInIntentsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBuiltInIntentsResponse listBuiltInIntents(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the ListBuiltInIntentsRequest.Builder avoiding the
need to create one manually via ListBuiltInIntentsRequest.builder()
listBuiltInIntentsRequest - A Consumer that will call methods on ListBuiltInIntentsRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBuiltInIntentsIterable listBuiltInIntentsPaginator(ListBuiltInIntentsRequest listBuiltInIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a variant of
listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client.listBuiltInIntentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client
.listBuiltInIntentsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client.listBuiltInIntentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation.
listBuiltInIntentsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBuiltInIntentsIterable listBuiltInIntentsPaginator(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a variant of
listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client.listBuiltInIntentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client
.listBuiltInIntentsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client.listBuiltInIntentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation.
This is a convenience which creates an instance of the ListBuiltInIntentsRequest.Builder avoiding the
need to create one manually via ListBuiltInIntentsRequest.builder()
listBuiltInIntentsRequest - A Consumer that will call methods on ListBuiltInIntentsRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBuiltInSlotTypesResponse listBuiltInSlotTypes(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of built-in slot types that meet the specified criteria.
listBuiltInSlotTypesRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBuiltInSlotTypesResponse listBuiltInSlotTypes(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of built-in slot types that meet the specified criteria.
This is a convenience which creates an instance of the ListBuiltInSlotTypesRequest.Builder avoiding the
need to create one manually via ListBuiltInSlotTypesRequest.builder()
listBuiltInSlotTypesRequest - A Consumer that will call methods on ListBuiltInSlotTypesRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBuiltInSlotTypesIterable listBuiltInSlotTypesPaginator(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of built-in slot types that meet the specified criteria.
This is a variant of
listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client.listBuiltInSlotTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client
.listBuiltInSlotTypesPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client.listBuiltInSlotTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation.
listBuiltInSlotTypesRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListBuiltInSlotTypesIterable listBuiltInSlotTypesPaginator(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of built-in slot types that meet the specified criteria.
This is a variant of
listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client.listBuiltInSlotTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client
.listBuiltInSlotTypesPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client.listBuiltInSlotTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation.
This is a convenience which creates an instance of the ListBuiltInSlotTypesRequest.Builder avoiding the
need to create one manually via ListBuiltInSlotTypesRequest.builder()
listBuiltInSlotTypesRequest - A Consumer that will call methods on ListBuiltInSlotTypesRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomVocabularyItemsResponse listCustomVocabularyItems(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
listCustomVocabularyItemsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomVocabularyItemsResponse listCustomVocabularyItems(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
This is a convenience which creates an instance of the ListCustomVocabularyItemsRequest.Builder avoiding
the need to create one manually via ListCustomVocabularyItemsRequest.builder()
listCustomVocabularyItemsRequest - A Consumer that will call methods on ListCustomVocabularyItemsRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomVocabularyItemsIterable listCustomVocabularyItemsPaginator(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
This is a variant of
listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client.listCustomVocabularyItemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client
.listCustomVocabularyItemsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client.listCustomVocabularyItemsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation.
listCustomVocabularyItemsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomVocabularyItemsIterable listCustomVocabularyItemsPaginator(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
This is a variant of
listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client.listCustomVocabularyItemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client
.listCustomVocabularyItemsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client.listCustomVocabularyItemsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation.
This is a convenience which creates an instance of the ListCustomVocabularyItemsRequest.Builder avoiding
the need to create one manually via ListCustomVocabularyItemsRequest.builder()
listCustomVocabularyItemsRequest - A Consumer that will call methods on ListCustomVocabularyItemsRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExportsResponse listExports(ListExportsRequest listExportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.
listExportsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExportsResponse listExports(Consumer<ListExportsRequest.Builder> listExportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.
This is a convenience which creates an instance of the ListExportsRequest.Builder avoiding the need to
create one manually via ListExportsRequest.builder()
listExportsRequest - A Consumer that will call methods on ListExportsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExportsIterable listExportsPaginator(ListExportsRequest listExportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.
This is a variant of listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest) operation.
listExportsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListExportsIterable listExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.
This is a variant of listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest) operation.
This is a convenience which creates an instance of the ListExportsRequest.Builder avoiding the need to
create one manually via ListExportsRequest.builder()
listExportsRequest - A Consumer that will call methods on ListExportsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListImportsResponse listImports(ListImportsRequest listImportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.
listImportsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListImportsResponse listImports(Consumer<ListImportsRequest.Builder> listImportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.
This is a convenience which creates an instance of the ListImportsRequest.Builder avoiding the need to
create one manually via ListImportsRequest.builder()
listImportsRequest - A Consumer that will call methods on ListImportsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListImportsIterable listImportsPaginator(ListImportsRequest listImportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.
This is a variant of listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest) operation.
listImportsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListImportsIterable listImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.
This is a variant of listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest) operation.
This is a convenience which creates an instance of the ListImportsRequest.Builder avoiding the need to
create one manually via ListImportsRequest.builder()
listImportsRequest - A Consumer that will call methods on ListImportsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListIntentsResponse listIntents(ListIntentsRequest listIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Get a list of intents that meet the specified criteria.
listIntentsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListIntentsResponse listIntents(Consumer<ListIntentsRequest.Builder> listIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Get a list of intents that meet the specified criteria.
This is a convenience which creates an instance of the ListIntentsRequest.Builder avoiding the need to
create one manually via ListIntentsRequest.builder()
listIntentsRequest - A Consumer that will call methods on ListIntentsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListIntentsIterable listIntentsPaginator(ListIntentsRequest listIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Get a list of intents that meet the specified criteria.
This is a variant of listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest) operation.
listIntentsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListIntentsIterable listIntentsPaginator(Consumer<ListIntentsRequest.Builder> listIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Get a list of intents that meet the specified criteria.
This is a variant of listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest) operation.
This is a convenience which creates an instance of the ListIntentsRequest.Builder avoiding the need to
create one manually via ListIntentsRequest.builder()
listIntentsRequest - A Consumer that will call methods on ListIntentsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecommendedIntentsResponse listRecommendedIntents(ListRecommendedIntentsRequest listRecommendedIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
listRecommendedIntentsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecommendedIntentsResponse listRecommendedIntents(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the ListRecommendedIntentsRequest.Builder avoiding the
need to create one manually via ListRecommendedIntentsRequest.builder()
listRecommendedIntentsRequest - A Consumer that will call methods on ListRecommendedIntentsRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecommendedIntentsIterable listRecommendedIntentsPaginator(ListRecommendedIntentsRequest listRecommendedIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a variant of
listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client.listRecommendedIntentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client
.listRecommendedIntentsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client.listRecommendedIntentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation.
listRecommendedIntentsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRecommendedIntentsIterable listRecommendedIntentsPaginator(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a variant of
listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client.listRecommendedIntentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client
.listRecommendedIntentsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client.listRecommendedIntentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation.
This is a convenience which creates an instance of the ListRecommendedIntentsRequest.Builder avoiding the
need to create one manually via ListRecommendedIntentsRequest.builder()
listRecommendedIntentsRequest - A Consumer that will call methods on ListRecommendedIntentsRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSlotTypesResponse listSlotTypes(ListSlotTypesRequest listSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of slot types that match the specified criteria.
listSlotTypesRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSlotTypesResponse listSlotTypes(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of slot types that match the specified criteria.
This is a convenience which creates an instance of the ListSlotTypesRequest.Builder avoiding the need to
create one manually via ListSlotTypesRequest.builder()
listSlotTypesRequest - A Consumer that will call methods on ListSlotTypesRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSlotTypesIterable listSlotTypesPaginator(ListSlotTypesRequest listSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of slot types that match the specified criteria.
This is a variant of
listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client.listSlotTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client
.listSlotTypesPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client.listSlotTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest) operation.
listSlotTypesRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSlotTypesIterable listSlotTypesPaginator(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of slot types that match the specified criteria.
This is a variant of
listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client.listSlotTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client
.listSlotTypesPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client.listSlotTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest) operation.
This is a convenience which creates an instance of the ListSlotTypesRequest.Builder avoiding the need to
create one manually via ListSlotTypesRequest.builder()
listSlotTypesRequest - A Consumer that will call methods on ListSlotTypesRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSlotsResponse listSlots(ListSlotsRequest listSlotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of slots that match the specified criteria.
listSlotsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSlotsResponse listSlots(Consumer<ListSlotsRequest.Builder> listSlotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of slots that match the specified criteria.
This is a convenience which creates an instance of the ListSlotsRequest.Builder avoiding the need to
create one manually via ListSlotsRequest.builder()
listSlotsRequest - A Consumer that will call methods on ListSlotsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSlotsIterable listSlotsPaginator(ListSlotsRequest listSlotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of slots that match the specified criteria.
This is a variant of listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest) operation.
listSlotsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSlotsIterable listSlotsPaginator(Consumer<ListSlotsRequest.Builder> listSlotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of slots that match the specified criteria.
This is a variant of listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request);
for (software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest) operation.
This is a convenience which creates an instance of the ListSlotsRequest.Builder avoiding the need to
create one manually via ListSlotsRequest.builder()
listSlotsRequest - A Consumer that will call methods on ListSlotsRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
listTagsForResourceRequest - InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception
Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchAssociatedTranscriptsResponse searchAssociatedTranscripts(SearchAssociatedTranscriptsRequest searchAssociatedTranscriptsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception
Search for associated transcripts that meet the specified criteria.
searchAssociatedTranscriptsRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchAssociatedTranscriptsResponse searchAssociatedTranscripts(Consumer<SearchAssociatedTranscriptsRequest.Builder> searchAssociatedTranscriptsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception
Search for associated transcripts that meet the specified criteria.
This is a convenience which creates an instance of the SearchAssociatedTranscriptsRequest.Builder
avoiding the need to create one manually via SearchAssociatedTranscriptsRequest.builder()
searchAssociatedTranscriptsRequest - A Consumer that will call methods on SearchAssociatedTranscriptsRequest.Builder to create
a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartBotRecommendationResponse startBotRecommendation(StartBotRecommendationRequest startBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Use this to provide your transcript data, and to start the bot recommendation process.
startBotRecommendationRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartBotRecommendationResponse startBotRecommendation(Consumer<StartBotRecommendationRequest.Builder> startBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Use this to provide your transcript data, and to start the bot recommendation process.
This is a convenience which creates an instance of the StartBotRecommendationRequest.Builder avoiding the
need to create one manually via StartBotRecommendationRequest.builder()
startBotRecommendationRequest - A Consumer that will call methods on StartBotRecommendationRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartImportResponse startImport(StartImportRequest startImportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
startImportRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartImportResponse startImport(Consumer<StartImportRequest.Builder> startImportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
This is a convenience which creates an instance of the StartImportRequest.Builder avoiding the need to
create one manually via StartImportRequest.builder()
startImportRequest - A Consumer that will call methods on StartImportRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopBotRecommendationResponse stopBotRecommendation(StopBotRecommendationRequest stopBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Stop an already running Bot Recommendation request.
stopBotRecommendationRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StopBotRecommendationResponse stopBotRecommendation(Consumer<StopBotRecommendationRequest.Builder> stopBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Stop an already running Bot Recommendation request.
This is a convenience which creates an instance of the StopBotRecommendationRequest.Builder avoiding the
need to create one manually via StopBotRecommendationRequest.builder()
stopBotRecommendationRequest - A Consumer that will call methods on StopBotRecommendationRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception
Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
tagResourceRequest - InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception
Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes tags from a bot, bot alias, or bot channel.
untagResourceRequest - InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception
Removes tags from a bot, bot alias, or bot channel.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateBotResponse updateBot(UpdateBotRequest updateBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the configuration of an existing bot.
updateBotRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateBotResponse updateBot(Consumer<UpdateBotRequest.Builder> updateBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the configuration of an existing bot.
This is a convenience which creates an instance of the UpdateBotRequest.Builder avoiding the need to
create one manually via UpdateBotRequest.builder()
updateBotRequest - A Consumer that will call methods on UpdateBotRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateBotAliasResponse updateBotAlias(UpdateBotAliasRequest updateBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the configuration of an existing bot alias.
updateBotAliasRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateBotAliasResponse updateBotAlias(Consumer<UpdateBotAliasRequest.Builder> updateBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the configuration of an existing bot alias.
This is a convenience which creates an instance of the UpdateBotAliasRequest.Builder avoiding the need to
create one manually via UpdateBotAliasRequest.builder()
updateBotAliasRequest - A Consumer that will call methods on UpdateBotAliasRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateBotLocaleResponse updateBotLocale(UpdateBotLocaleRequest updateBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the settings that a bot has for a specific locale.
updateBotLocaleRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateBotLocaleResponse updateBotLocale(Consumer<UpdateBotLocaleRequest.Builder> updateBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the settings that a bot has for a specific locale.
This is a convenience which creates an instance of the UpdateBotLocaleRequest.Builder avoiding the need
to create one manually via UpdateBotLocaleRequest.builder()
updateBotLocaleRequest - A Consumer that will call methods on UpdateBotLocaleRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateBotRecommendationResponse updateBotRecommendation(UpdateBotRecommendationRequest updateBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates an existing bot recommendation request.
updateBotRecommendationRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateBotRecommendationResponse updateBotRecommendation(Consumer<UpdateBotRecommendationRequest.Builder> updateBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates an existing bot recommendation request.
This is a convenience which creates an instance of the UpdateBotRecommendationRequest.Builder avoiding
the need to create one manually via UpdateBotRecommendationRequest.builder()
updateBotRecommendationRequest - A Consumer that will call methods on UpdateBotRecommendationRequest.Builder to create a
request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateExportResponse updateExport(UpdateExportRequest updateExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
updateExportRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateExportResponse updateExport(Consumer<UpdateExportRequest.Builder> updateExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the UpdateExportRequest.Builder avoiding the need to
create one manually via UpdateExportRequest.builder()
updateExportRequest - A Consumer that will call methods on UpdateExportRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateIntentResponse updateIntent(UpdateIntentRequest updateIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the settings for an intent.
updateIntentRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateIntentResponse updateIntent(Consumer<UpdateIntentRequest.Builder> updateIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the settings for an intent.
This is a convenience which creates an instance of the UpdateIntentRequest.Builder avoiding the need to
create one manually via UpdateIntentRequest.builder()
updateIntentRequest - A Consumer that will call methods on UpdateIntentRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResourcePolicyResponse updateResourcePolicy(UpdateResourcePolicyRequest updateResourcePolicyRequest) throws ResourceNotFoundException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
updateResourcePolicyRequest - ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ServiceQuotaExceededException - You have reached a quota for your bot.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResourcePolicyResponse updateResourcePolicy(Consumer<UpdateResourcePolicyRequest.Builder> updateResourcePolicyRequest) throws ResourceNotFoundException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception
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.
This is a convenience which creates an instance of the UpdateResourcePolicyRequest.Builder avoiding the
need to create one manually via UpdateResourcePolicyRequest.builder()
updateResourcePolicyRequest - A Consumer that will call methods on UpdateResourcePolicyRequest.Builder to create a
request.ResourceNotFoundException - You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try
again.ServiceQuotaExceededException - You have reached a quota for your bot.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSlotResponse updateSlot(UpdateSlotRequest updateSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the settings for a slot.
updateSlotRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSlotResponse updateSlot(Consumer<UpdateSlotRequest.Builder> updateSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the settings for a slot.
This is a convenience which creates an instance of the UpdateSlotRequest.Builder avoiding the need to
create one manually via UpdateSlotRequest.builder()
updateSlotRequest - A Consumer that will call methods on UpdateSlotRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSlotTypeResponse updateSlotType(UpdateSlotTypeRequest updateSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the configuration of an existing slot type.
updateSlotTypeRequest - ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSlotTypeResponse updateSlotType(Consumer<UpdateSlotTypeRequest.Builder> updateSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception
Updates the configuration of an existing slot type.
This is a convenience which creates an instance of the UpdateSlotTypeRequest.Builder avoiding the need to
create one manually via UpdateSlotTypeRequest.builder()
updateSlotTypeRequest - A Consumer that will call methods on UpdateSlotTypeRequest.Builder to create a request.ThrottlingException - Your request rate is too high. Reduce the frequency of requests.ServiceQuotaExceededException - You have reached a quota for your bot.ValidationException - One of the input parameters in your request isn't valid. Check the parameters and try your request again.PreconditionFailedException - Your request couldn't be completed because one or more request fields aren't valid. Check the fields in
your request and try again.ConflictException - The action that you tried to perform couldn't be completed because the resource is in a conflicting
state. For example, deleting a bot that is in the CREATING state. Try your request again.InternalServerException - The service encountered an unexpected condition. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LexModelsV2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault LexModelsV2Waiter waiter()
LexModelsV2Waiter using this client.
Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
LexModelsV2Waiterstatic LexModelsV2Client create()
LexModelsV2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static LexModelsV2ClientBuilder builder()
LexModelsV2Client.static ServiceMetadata serviceMetadata()
Copyright © 2023. All rights reserved.