Interface LexModelsV2AsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbatchCreateCustomVocabularyItem
(Consumer<BatchCreateCustomVocabularyItemRequest.Builder> batchCreateCustomVocabularyItemRequest) Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.batchCreateCustomVocabularyItem
(BatchCreateCustomVocabularyItemRequest batchCreateCustomVocabularyItemRequest) Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.batchDeleteCustomVocabularyItem
(Consumer<BatchDeleteCustomVocabularyItemRequest.Builder> batchDeleteCustomVocabularyItemRequest) Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.batchDeleteCustomVocabularyItem
(BatchDeleteCustomVocabularyItemRequest batchDeleteCustomVocabularyItemRequest) Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.batchUpdateCustomVocabularyItem
(Consumer<BatchUpdateCustomVocabularyItemRequest.Builder> batchUpdateCustomVocabularyItemRequest) Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.batchUpdateCustomVocabularyItem
(BatchUpdateCustomVocabularyItemRequest batchUpdateCustomVocabularyItemRequest) Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.default CompletableFuture
<BuildBotLocaleResponse> buildBotLocale
(Consumer<BuildBotLocaleRequest.Builder> buildBotLocaleRequest) Builds a bot, its intents, and its slot types into a specific locale.default CompletableFuture
<BuildBotLocaleResponse> buildBotLocale
(BuildBotLocaleRequest buildBotLocaleRequest) Builds a bot, its intents, and its slot types into a specific locale.builder()
Create a builder that can be used to configure and create aLexModelsV2AsyncClient
.static LexModelsV2AsyncClient
create()
Create aLexModelsV2AsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateBotResponse> createBot
(Consumer<CreateBotRequest.Builder> createBotRequest) Creates an Amazon Lex conversational bot.default CompletableFuture
<CreateBotResponse> createBot
(CreateBotRequest createBotRequest) Creates an Amazon Lex conversational bot.default CompletableFuture
<CreateBotAliasResponse> createBotAlias
(Consumer<CreateBotAliasRequest.Builder> createBotAliasRequest) Creates an alias for the specified version of a bot.default CompletableFuture
<CreateBotAliasResponse> createBotAlias
(CreateBotAliasRequest createBotAliasRequest) Creates an alias for the specified version of a bot.default CompletableFuture
<CreateBotLocaleResponse> createBotLocale
(Consumer<CreateBotLocaleRequest.Builder> createBotLocaleRequest) Creates a locale in the bot.default CompletableFuture
<CreateBotLocaleResponse> createBotLocale
(CreateBotLocaleRequest createBotLocaleRequest) Creates a locale in the bot.createBotReplica
(Consumer<CreateBotReplicaRequest.Builder> createBotReplicaRequest) Action to create a replication of the source bot in the secondary region.createBotReplica
(CreateBotReplicaRequest createBotReplicaRequest) Action to create a replication of the source bot in the secondary region.createBotVersion
(Consumer<CreateBotVersionRequest.Builder> createBotVersionRequest) Creates an immutable version of the bot.createBotVersion
(CreateBotVersionRequest createBotVersionRequest) Creates an immutable version of the bot.default CompletableFuture
<CreateExportResponse> createExport
(Consumer<CreateExportRequest.Builder> createExportRequest) Creates a zip archive containing the contents of a bot or a bot locale.default CompletableFuture
<CreateExportResponse> createExport
(CreateExportRequest createExportRequest) Creates a zip archive containing the contents of a bot or a bot locale.default CompletableFuture
<CreateIntentResponse> createIntent
(Consumer<CreateIntentRequest.Builder> createIntentRequest) Creates an intent.default CompletableFuture
<CreateIntentResponse> createIntent
(CreateIntentRequest createIntentRequest) Creates an intent.createResourcePolicy
(Consumer<CreateResourcePolicyRequest.Builder> createResourcePolicyRequest) Creates a new resource policy with the specified policy statements.createResourcePolicy
(CreateResourcePolicyRequest createResourcePolicyRequest) Creates a new resource policy with the specified policy statements.createResourcePolicyStatement
(Consumer<CreateResourcePolicyStatementRequest.Builder> createResourcePolicyStatementRequest) Adds a new resource policy statement to a bot or bot alias.createResourcePolicyStatement
(CreateResourcePolicyStatementRequest createResourcePolicyStatementRequest) Adds a new resource policy statement to a bot or bot alias.default CompletableFuture
<CreateSlotResponse> createSlot
(Consumer<CreateSlotRequest.Builder> createSlotRequest) Creates a slot in an intent.default CompletableFuture
<CreateSlotResponse> createSlot
(CreateSlotRequest createSlotRequest) Creates a slot in an intent.default CompletableFuture
<CreateSlotTypeResponse> createSlotType
(Consumer<CreateSlotTypeRequest.Builder> createSlotTypeRequest) Creates a custom slot typedefault CompletableFuture
<CreateSlotTypeResponse> createSlotType
(CreateSlotTypeRequest createSlotTypeRequest) Creates a custom slot typecreateTestSetDiscrepancyReport
(Consumer<CreateTestSetDiscrepancyReportRequest.Builder> createTestSetDiscrepancyReportRequest) Create a report that describes the differences between the bot and the test set.createTestSetDiscrepancyReport
(CreateTestSetDiscrepancyReportRequest createTestSetDiscrepancyReportRequest) Create a report that describes the differences between the bot and the test set.default CompletableFuture
<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 CompletableFuture
<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 CompletableFuture
<DeleteBotResponse> deleteBot
(Consumer<DeleteBotRequest.Builder> deleteBotRequest) Deletes all versions of a bot, including theDraft
version.default CompletableFuture
<DeleteBotResponse> deleteBot
(DeleteBotRequest deleteBotRequest) Deletes all versions of a bot, including theDraft
version.default CompletableFuture
<DeleteBotAliasResponse> deleteBotAlias
(Consumer<DeleteBotAliasRequest.Builder> deleteBotAliasRequest) Deletes the specified bot alias.default CompletableFuture
<DeleteBotAliasResponse> deleteBotAlias
(DeleteBotAliasRequest deleteBotAliasRequest) Deletes the specified bot alias.default CompletableFuture
<DeleteBotLocaleResponse> deleteBotLocale
(Consumer<DeleteBotLocaleRequest.Builder> deleteBotLocaleRequest) Removes a locale from a bot.default CompletableFuture
<DeleteBotLocaleResponse> deleteBotLocale
(DeleteBotLocaleRequest deleteBotLocaleRequest) Removes a locale from a bot.deleteBotReplica
(Consumer<DeleteBotReplicaRequest.Builder> deleteBotReplicaRequest) The action to delete the replicated bot in the secondary region.deleteBotReplica
(DeleteBotReplicaRequest deleteBotReplicaRequest) The action to delete the replicated bot in the secondary region.deleteBotVersion
(Consumer<DeleteBotVersionRequest.Builder> deleteBotVersionRequest) Deletes a specific version of a bot.deleteBotVersion
(DeleteBotVersionRequest deleteBotVersionRequest) Deletes a specific version of a bot.deleteCustomVocabulary
(Consumer<DeleteCustomVocabularyRequest.Builder> deleteCustomVocabularyRequest) Removes a custom vocabulary from the specified locale in the specified bot.deleteCustomVocabulary
(DeleteCustomVocabularyRequest deleteCustomVocabularyRequest) Removes a custom vocabulary from the specified locale in the specified bot.default CompletableFuture
<DeleteExportResponse> deleteExport
(Consumer<DeleteExportRequest.Builder> deleteExportRequest) Removes a previous export and the associated files stored in an S3 bucket.default CompletableFuture
<DeleteExportResponse> deleteExport
(DeleteExportRequest deleteExportRequest) Removes a previous export and the associated files stored in an S3 bucket.default CompletableFuture
<DeleteImportResponse> deleteImport
(Consumer<DeleteImportRequest.Builder> deleteImportRequest) Removes a previous import and the associated file stored in an S3 bucket.default CompletableFuture
<DeleteImportResponse> deleteImport
(DeleteImportRequest deleteImportRequest) Removes a previous import and the associated file stored in an S3 bucket.default CompletableFuture
<DeleteIntentResponse> deleteIntent
(Consumer<DeleteIntentRequest.Builder> deleteIntentRequest) Removes the specified intent.default CompletableFuture
<DeleteIntentResponse> deleteIntent
(DeleteIntentRequest deleteIntentRequest) Removes the specified intent.deleteResourcePolicy
(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Removes an existing policy from a bot or bot alias.deleteResourcePolicy
(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Removes an existing policy from a bot or bot alias.deleteResourcePolicyStatement
(Consumer<DeleteResourcePolicyStatementRequest.Builder> deleteResourcePolicyStatementRequest) Deletes a policy statement from a resource policy.deleteResourcePolicyStatement
(DeleteResourcePolicyStatementRequest deleteResourcePolicyStatementRequest) Deletes a policy statement from a resource policy.default CompletableFuture
<DeleteSlotResponse> deleteSlot
(Consumer<DeleteSlotRequest.Builder> deleteSlotRequest) Deletes the specified slot from an intent.default CompletableFuture
<DeleteSlotResponse> deleteSlot
(DeleteSlotRequest deleteSlotRequest) Deletes the specified slot from an intent.default CompletableFuture
<DeleteSlotTypeResponse> deleteSlotType
(Consumer<DeleteSlotTypeRequest.Builder> deleteSlotTypeRequest) Deletes a slot type from a bot locale.default CompletableFuture
<DeleteSlotTypeResponse> deleteSlotType
(DeleteSlotTypeRequest deleteSlotTypeRequest) Deletes a slot type from a bot locale.default CompletableFuture
<DeleteTestSetResponse> deleteTestSet
(Consumer<DeleteTestSetRequest.Builder> deleteTestSetRequest) The action to delete the selected test set.default CompletableFuture
<DeleteTestSetResponse> deleteTestSet
(DeleteTestSetRequest deleteTestSetRequest) The action to delete the selected test set.deleteUtterances
(Consumer<DeleteUtterancesRequest.Builder> deleteUtterancesRequest) Deletes stored utterances.deleteUtterances
(DeleteUtterancesRequest deleteUtterancesRequest) Deletes stored utterances.default CompletableFuture
<DescribeBotResponse> describeBot
(Consumer<DescribeBotRequest.Builder> describeBotRequest) Provides metadata information about a bot.default CompletableFuture
<DescribeBotResponse> describeBot
(DescribeBotRequest describeBotRequest) Provides metadata information about a bot.describeBotAlias
(Consumer<DescribeBotAliasRequest.Builder> describeBotAliasRequest) Get information about a specific bot alias.describeBotAlias
(DescribeBotAliasRequest describeBotAliasRequest) Get information about a specific bot alias.describeBotLocale
(Consumer<DescribeBotLocaleRequest.Builder> describeBotLocaleRequest) Describes the settings that a bot has for a specific locale.describeBotLocale
(DescribeBotLocaleRequest describeBotLocaleRequest) Describes the settings that a bot has for a specific locale.describeBotRecommendation
(Consumer<DescribeBotRecommendationRequest.Builder> describeBotRecommendationRequest) Provides metadata information about a bot recommendation.describeBotRecommendation
(DescribeBotRecommendationRequest describeBotRecommendationRequest) Provides metadata information about a bot recommendation.describeBotReplica
(Consumer<DescribeBotReplicaRequest.Builder> describeBotReplicaRequest) Monitors the bot replication status through the UI console.describeBotReplica
(DescribeBotReplicaRequest describeBotReplicaRequest) Monitors the bot replication status through the UI console.describeBotResourceGeneration
(Consumer<DescribeBotResourceGenerationRequest.Builder> describeBotResourceGenerationRequest) Returns information about a request to generate a bot through natural language description, made through theStartBotResource
API.describeBotResourceGeneration
(DescribeBotResourceGenerationRequest describeBotResourceGenerationRequest) Returns information about a request to generate a bot through natural language description, made through theStartBotResource
API.describeBotVersion
(Consumer<DescribeBotVersionRequest.Builder> describeBotVersionRequest) Provides metadata about a version of a bot.describeBotVersion
(DescribeBotVersionRequest describeBotVersionRequest) Provides metadata about a version of a bot.describeCustomVocabularyMetadata
(Consumer<DescribeCustomVocabularyMetadataRequest.Builder> describeCustomVocabularyMetadataRequest) Provides metadata information about a custom vocabulary.describeCustomVocabularyMetadata
(DescribeCustomVocabularyMetadataRequest describeCustomVocabularyMetadataRequest) Provides metadata information about a custom vocabulary.default CompletableFuture
<DescribeExportResponse> describeExport
(Consumer<DescribeExportRequest.Builder> describeExportRequest) Gets information about a specific export.default CompletableFuture
<DescribeExportResponse> describeExport
(DescribeExportRequest describeExportRequest) Gets information about a specific export.default CompletableFuture
<DescribeImportResponse> describeImport
(Consumer<DescribeImportRequest.Builder> describeImportRequest) Gets information about a specific import.default CompletableFuture
<DescribeImportResponse> describeImport
(DescribeImportRequest describeImportRequest) Gets information about a specific import.default CompletableFuture
<DescribeIntentResponse> describeIntent
(Consumer<DescribeIntentRequest.Builder> describeIntentRequest) Returns metadata about an intent.default CompletableFuture
<DescribeIntentResponse> describeIntent
(DescribeIntentRequest describeIntentRequest) Returns metadata about an intent.describeResourcePolicy
(Consumer<DescribeResourcePolicyRequest.Builder> describeResourcePolicyRequest) Gets the resource policy and policy revision for a bot or bot alias.describeResourcePolicy
(DescribeResourcePolicyRequest describeResourcePolicyRequest) Gets the resource policy and policy revision for a bot or bot alias.default CompletableFuture
<DescribeSlotResponse> describeSlot
(Consumer<DescribeSlotRequest.Builder> describeSlotRequest) Gets metadata information about a slot.default CompletableFuture
<DescribeSlotResponse> describeSlot
(DescribeSlotRequest describeSlotRequest) Gets metadata information about a slot.describeSlotType
(Consumer<DescribeSlotTypeRequest.Builder> describeSlotTypeRequest) Gets metadata information about a slot type.describeSlotType
(DescribeSlotTypeRequest describeSlotTypeRequest) Gets metadata information about a slot type.describeTestExecution
(Consumer<DescribeTestExecutionRequest.Builder> describeTestExecutionRequest) Gets metadata information about the test execution.describeTestExecution
(DescribeTestExecutionRequest describeTestExecutionRequest) Gets metadata information about the test execution.default CompletableFuture
<DescribeTestSetResponse> describeTestSet
(Consumer<DescribeTestSetRequest.Builder> describeTestSetRequest) Gets metadata information about the test set.default CompletableFuture
<DescribeTestSetResponse> describeTestSet
(DescribeTestSetRequest describeTestSetRequest) Gets metadata information about the test set.describeTestSetDiscrepancyReport
(Consumer<DescribeTestSetDiscrepancyReportRequest.Builder> describeTestSetDiscrepancyReportRequest) Gets metadata information about the test set discrepancy report.describeTestSetDiscrepancyReport
(DescribeTestSetDiscrepancyReportRequest describeTestSetDiscrepancyReportRequest) Gets metadata information about the test set discrepancy report.describeTestSetGeneration
(Consumer<DescribeTestSetGenerationRequest.Builder> describeTestSetGenerationRequest) Gets metadata information about the test set generation.describeTestSetGeneration
(DescribeTestSetGenerationRequest describeTestSetGenerationRequest) Gets metadata information about the test set generation.generateBotElement
(Consumer<GenerateBotElementRequest.Builder> generateBotElementRequest) Generates sample utterances for an intent.generateBotElement
(GenerateBotElementRequest generateBotElementRequest) Generates sample utterances for an intent.getTestExecutionArtifactsUrl
(Consumer<GetTestExecutionArtifactsUrlRequest.Builder> getTestExecutionArtifactsUrlRequest) The pre-signed Amazon S3 URL to download the test execution result artifacts.getTestExecutionArtifactsUrl
(GetTestExecutionArtifactsUrlRequest getTestExecutionArtifactsUrlRequest) The pre-signed Amazon S3 URL to download the test execution result artifacts.listAggregatedUtterances
(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) Provides a list of utterances that users have sent to the bot.listAggregatedUtterances
(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) Provides a list of utterances that users have sent to the bot.listAggregatedUtterancesPaginator
(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) This is a variant oflistAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation.listAggregatedUtterancesPaginator
(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) This is a variant oflistAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation.default CompletableFuture
<ListBotAliasesResponse> listBotAliases
(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) Gets a list of aliases for the specified bot.default CompletableFuture
<ListBotAliasesResponse> listBotAliases
(ListBotAliasesRequest listBotAliasesRequest) Gets a list of aliases for the specified bot.default ListBotAliasesPublisher
listBotAliasesPaginator
(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) This is a variant oflistBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)
operation.default ListBotAliasesPublisher
listBotAliasesPaginator
(ListBotAliasesRequest listBotAliasesRequest) This is a variant oflistBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)
operation.listBotAliasReplicas
(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest) The action to list the replicated bots created from the source bot alias.listBotAliasReplicas
(ListBotAliasReplicasRequest listBotAliasReplicasRequest) The action to list the replicated bots created from the source bot alias.default ListBotAliasReplicasPublisher
listBotAliasReplicasPaginator
(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest) This is a variant oflistBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation.default ListBotAliasReplicasPublisher
listBotAliasReplicasPaginator
(ListBotAliasReplicasRequest listBotAliasReplicasRequest) This is a variant oflistBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation.default CompletableFuture
<ListBotLocalesResponse> listBotLocales
(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) Gets a list of locales for the specified bot.default CompletableFuture
<ListBotLocalesResponse> listBotLocales
(ListBotLocalesRequest listBotLocalesRequest) Gets a list of locales for the specified bot.default ListBotLocalesPublisher
listBotLocalesPaginator
(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) This is a variant oflistBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)
operation.default ListBotLocalesPublisher
listBotLocalesPaginator
(ListBotLocalesRequest listBotLocalesRequest) This is a variant oflistBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)
operation.listBotRecommendations
(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) Get a list of bot recommendations that meet the specified criteria.listBotRecommendations
(ListBotRecommendationsRequest listBotRecommendationsRequest) Get a list of bot recommendations that meet the specified criteria.default ListBotRecommendationsPublisher
listBotRecommendationsPaginator
(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) This is a variant oflistBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation.default ListBotRecommendationsPublisher
listBotRecommendationsPaginator
(ListBotRecommendationsRequest listBotRecommendationsRequest) This is a variant oflistBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation.default CompletableFuture
<ListBotReplicasResponse> listBotReplicas
(Consumer<ListBotReplicasRequest.Builder> listBotReplicasRequest) The action to list the replicated bots.default CompletableFuture
<ListBotReplicasResponse> listBotReplicas
(ListBotReplicasRequest listBotReplicasRequest) The action to list the replicated bots.listBotResourceGenerations
(Consumer<ListBotResourceGenerationsRequest.Builder> listBotResourceGenerationsRequest) Lists the generation requests made for a bot locale.listBotResourceGenerations
(ListBotResourceGenerationsRequest listBotResourceGenerationsRequest) Lists the generation requests made for a bot locale.listBotResourceGenerationsPaginator
(Consumer<ListBotResourceGenerationsRequest.Builder> listBotResourceGenerationsRequest) This is a variant oflistBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest)
operation.listBotResourceGenerationsPaginator
(ListBotResourceGenerationsRequest listBotResourceGenerationsRequest) This is a variant oflistBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest)
operation.default CompletableFuture
<ListBotsResponse> listBots
(Consumer<ListBotsRequest.Builder> listBotsRequest) Gets a list of available bots.default CompletableFuture
<ListBotsResponse> listBots
(ListBotsRequest listBotsRequest) Gets a list of available bots.default ListBotsPublisher
listBotsPaginator
(Consumer<ListBotsRequest.Builder> listBotsRequest) This is a variant oflistBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation.default ListBotsPublisher
listBotsPaginator
(ListBotsRequest listBotsRequest) This is a variant oflistBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation.listBotVersionReplicas
(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest) Contains information about all the versions replication statuses applicable for Global Resiliency.listBotVersionReplicas
(ListBotVersionReplicasRequest listBotVersionReplicasRequest) Contains information about all the versions replication statuses applicable for Global Resiliency.default ListBotVersionReplicasPublisher
listBotVersionReplicasPaginator
(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest) This is a variant oflistBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation.default ListBotVersionReplicasPublisher
listBotVersionReplicasPaginator
(ListBotVersionReplicasRequest listBotVersionReplicasRequest) This is a variant oflistBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation.default CompletableFuture
<ListBotVersionsResponse> listBotVersions
(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) Gets information about all of the versions of a bot.default CompletableFuture
<ListBotVersionsResponse> listBotVersions
(ListBotVersionsRequest listBotVersionsRequest) Gets information about all of the versions of a bot.default ListBotVersionsPublisher
listBotVersionsPaginator
(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) This is a variant oflistBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)
operation.default ListBotVersionsPublisher
listBotVersionsPaginator
(ListBotVersionsRequest listBotVersionsRequest) This is a variant oflistBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)
operation.listBuiltInIntents
(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.listBuiltInIntents
(ListBuiltInIntentsRequest listBuiltInIntentsRequest) Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.default ListBuiltInIntentsPublisher
listBuiltInIntentsPaginator
(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) This is a variant oflistBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation.default ListBuiltInIntentsPublisher
listBuiltInIntentsPaginator
(ListBuiltInIntentsRequest listBuiltInIntentsRequest) This is a variant oflistBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation.listBuiltInSlotTypes
(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) Gets a list of built-in slot types that meet the specified criteria.listBuiltInSlotTypes
(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest) Gets a list of built-in slot types that meet the specified criteria.default ListBuiltInSlotTypesPublisher
listBuiltInSlotTypesPaginator
(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) This is a variant oflistBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation.default ListBuiltInSlotTypesPublisher
listBuiltInSlotTypesPaginator
(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest) This is a variant oflistBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation.listCustomVocabularyItems
(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest) Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.listCustomVocabularyItems
(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest) Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.listCustomVocabularyItemsPaginator
(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest) This is a variant oflistCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation.listCustomVocabularyItemsPaginator
(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest) This is a variant oflistCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation.default CompletableFuture
<ListExportsResponse> listExports
(Consumer<ListExportsRequest.Builder> listExportsRequest) Lists the exports for a bot, bot locale, or custom vocabulary.default CompletableFuture
<ListExportsResponse> listExports
(ListExportsRequest listExportsRequest) Lists the exports for a bot, bot locale, or custom vocabulary.default ListExportsPublisher
listExportsPaginator
(Consumer<ListExportsRequest.Builder> listExportsRequest) This is a variant oflistExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation.default ListExportsPublisher
listExportsPaginator
(ListExportsRequest listExportsRequest) This is a variant oflistExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation.default CompletableFuture
<ListImportsResponse> listImports
(Consumer<ListImportsRequest.Builder> listImportsRequest) Lists the imports for a bot, bot locale, or custom vocabulary.default CompletableFuture
<ListImportsResponse> listImports
(ListImportsRequest listImportsRequest) Lists the imports for a bot, bot locale, or custom vocabulary.default ListImportsPublisher
listImportsPaginator
(Consumer<ListImportsRequest.Builder> listImportsRequest) This is a variant oflistImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation.default ListImportsPublisher
listImportsPaginator
(ListImportsRequest listImportsRequest) This is a variant oflistImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation.listIntentMetrics
(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest) Retrieves summary metrics for the intents in your bot.listIntentMetrics
(ListIntentMetricsRequest listIntentMetricsRequest) Retrieves summary metrics for the intents in your bot.default ListIntentMetricsPublisher
listIntentMetricsPaginator
(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest) This is a variant oflistIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation.default ListIntentMetricsPublisher
listIntentMetricsPaginator
(ListIntentMetricsRequest listIntentMetricsRequest) This is a variant oflistIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation.default CompletableFuture
<ListIntentPathsResponse> listIntentPaths
(Consumer<ListIntentPathsRequest.Builder> listIntentPathsRequest) Retrieves summary statistics for a path of intents that users take over sessions with your bot.default CompletableFuture
<ListIntentPathsResponse> listIntentPaths
(ListIntentPathsRequest listIntentPathsRequest) Retrieves summary statistics for a path of intents that users take over sessions with your bot.default CompletableFuture
<ListIntentsResponse> listIntents
(Consumer<ListIntentsRequest.Builder> listIntentsRequest) Get a list of intents that meet the specified criteria.default CompletableFuture
<ListIntentsResponse> listIntents
(ListIntentsRequest listIntentsRequest) Get a list of intents that meet the specified criteria.default ListIntentsPublisher
listIntentsPaginator
(Consumer<ListIntentsRequest.Builder> listIntentsRequest) This is a variant oflistIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation.default ListIntentsPublisher
listIntentsPaginator
(ListIntentsRequest listIntentsRequest) This is a variant oflistIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation.listIntentStageMetrics
(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest) Retrieves summary metrics for the stages within intents in your bot.listIntentStageMetrics
(ListIntentStageMetricsRequest listIntentStageMetricsRequest) Retrieves summary metrics for the stages within intents in your bot.default ListIntentStageMetricsPublisher
listIntentStageMetricsPaginator
(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest) This is a variant oflistIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation.default ListIntentStageMetricsPublisher
listIntentStageMetricsPaginator
(ListIntentStageMetricsRequest listIntentStageMetricsRequest) This is a variant oflistIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation.listRecommendedIntents
(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.listRecommendedIntents
(ListRecommendedIntentsRequest listRecommendedIntentsRequest) Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.default ListRecommendedIntentsPublisher
listRecommendedIntentsPaginator
(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) This is a variant oflistRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation.default ListRecommendedIntentsPublisher
listRecommendedIntentsPaginator
(ListRecommendedIntentsRequest listRecommendedIntentsRequest) This is a variant oflistRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation.listSessionAnalyticsData
(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest) Retrieves a list of metadata for individual user sessions with your bot.listSessionAnalyticsData
(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest) Retrieves a list of metadata for individual user sessions with your bot.listSessionAnalyticsDataPaginator
(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest) This is a variant oflistSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation.listSessionAnalyticsDataPaginator
(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest) This is a variant oflistSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation.listSessionMetrics
(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest) Retrieves summary metrics for the user sessions with your bot.listSessionMetrics
(ListSessionMetricsRequest listSessionMetricsRequest) Retrieves summary metrics for the user sessions with your bot.default ListSessionMetricsPublisher
listSessionMetricsPaginator
(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest) This is a variant oflistSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation.default ListSessionMetricsPublisher
listSessionMetricsPaginator
(ListSessionMetricsRequest listSessionMetricsRequest) This is a variant oflistSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation.default CompletableFuture
<ListSlotsResponse> listSlots
(Consumer<ListSlotsRequest.Builder> listSlotsRequest) Gets a list of slots that match the specified criteria.default CompletableFuture
<ListSlotsResponse> listSlots
(ListSlotsRequest listSlotsRequest) Gets a list of slots that match the specified criteria.default ListSlotsPublisher
listSlotsPaginator
(Consumer<ListSlotsRequest.Builder> listSlotsRequest) This is a variant oflistSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation.default ListSlotsPublisher
listSlotsPaginator
(ListSlotsRequest listSlotsRequest) This is a variant oflistSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation.default CompletableFuture
<ListSlotTypesResponse> listSlotTypes
(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) Gets a list of slot types that match the specified criteria.default CompletableFuture
<ListSlotTypesResponse> listSlotTypes
(ListSlotTypesRequest listSlotTypesRequest) Gets a list of slot types that match the specified criteria.default ListSlotTypesPublisher
listSlotTypesPaginator
(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) This is a variant oflistSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)
operation.default ListSlotTypesPublisher
listSlotTypesPaginator
(ListSlotTypesRequest listSlotTypesRequest) This is a variant oflistSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Gets a list of tags associated with a resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Gets a list of tags associated with a resource.listTestExecutionResultItems
(Consumer<ListTestExecutionResultItemsRequest.Builder> listTestExecutionResultItemsRequest) Gets a list of test execution result items.listTestExecutionResultItems
(ListTestExecutionResultItemsRequest listTestExecutionResultItemsRequest) Gets a list of test execution result items.listTestExecutionResultItemsPaginator
(Consumer<ListTestExecutionResultItemsRequest.Builder> listTestExecutionResultItemsRequest) This is a variant oflistTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest)
operation.listTestExecutionResultItemsPaginator
(ListTestExecutionResultItemsRequest listTestExecutionResultItemsRequest) This is a variant oflistTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest)
operation.listTestExecutions
(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest) The list of test set executions.listTestExecutions
(ListTestExecutionsRequest listTestExecutionsRequest) The list of test set executions.default ListTestExecutionsPublisher
listTestExecutionsPaginator
(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest) This is a variant oflistTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation.default ListTestExecutionsPublisher
listTestExecutionsPaginator
(ListTestExecutionsRequest listTestExecutionsRequest) This is a variant oflistTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation.listTestSetRecords
(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest) The list of test set records.listTestSetRecords
(ListTestSetRecordsRequest listTestSetRecordsRequest) The list of test set records.default ListTestSetRecordsPublisher
listTestSetRecordsPaginator
(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest) This is a variant oflistTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation.default ListTestSetRecordsPublisher
listTestSetRecordsPaginator
(ListTestSetRecordsRequest listTestSetRecordsRequest) This is a variant oflistTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation.default CompletableFuture
<ListTestSetsResponse> listTestSets
(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest) The list of the test setsdefault CompletableFuture
<ListTestSetsResponse> listTestSets
(ListTestSetsRequest listTestSetsRequest) The list of the test setsdefault ListTestSetsPublisher
listTestSetsPaginator
(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest) This is a variant oflistTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)
operation.default ListTestSetsPublisher
listTestSetsPaginator
(ListTestSetsRequest listTestSetsRequest) This is a variant oflistTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)
operation.listUtteranceAnalyticsData
(Consumer<ListUtteranceAnalyticsDataRequest.Builder> listUtteranceAnalyticsDataRequest) listUtteranceAnalyticsData
(ListUtteranceAnalyticsDataRequest listUtteranceAnalyticsDataRequest) listUtteranceAnalyticsDataPaginator
(Consumer<ListUtteranceAnalyticsDataRequest.Builder> listUtteranceAnalyticsDataRequest) This is a variant oflistUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest)
operation.listUtteranceAnalyticsDataPaginator
(ListUtteranceAnalyticsDataRequest listUtteranceAnalyticsDataRequest) This is a variant oflistUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest)
operation.listUtteranceMetrics
(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest) listUtteranceMetrics
(ListUtteranceMetricsRequest listUtteranceMetricsRequest) default ListUtteranceMetricsPublisher
listUtteranceMetricsPaginator
(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest) This is a variant oflistUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)
operation.default ListUtteranceMetricsPublisher
listUtteranceMetricsPaginator
(ListUtteranceMetricsRequest listUtteranceMetricsRequest) This is a variant oflistUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)
operation.searchAssociatedTranscripts
(Consumer<SearchAssociatedTranscriptsRequest.Builder> searchAssociatedTranscriptsRequest) Search for associated transcripts that meet the specified criteria.searchAssociatedTranscripts
(SearchAssociatedTranscriptsRequest searchAssociatedTranscriptsRequest) Search for associated transcripts that meet the specified criteria.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartBotRecommendation
(Consumer<StartBotRecommendationRequest.Builder> startBotRecommendationRequest) Use this to provide your transcript data, and to start the bot recommendation process.startBotRecommendation
(StartBotRecommendationRequest startBotRecommendationRequest) Use this to provide your transcript data, and to start the bot recommendation process.startBotResourceGeneration
(Consumer<StartBotResourceGenerationRequest.Builder> startBotResourceGenerationRequest) Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it.startBotResourceGeneration
(StartBotResourceGenerationRequest startBotResourceGenerationRequest) Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it.default CompletableFuture
<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 CompletableFuture
<StartImportResponse> startImport
(StartImportRequest startImportRequest) Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.startTestExecution
(Consumer<StartTestExecutionRequest.Builder> startTestExecutionRequest) The action to start test set execution.startTestExecution
(StartTestExecutionRequest startTestExecutionRequest) The action to start test set execution.startTestSetGeneration
(Consumer<StartTestSetGenerationRequest.Builder> startTestSetGenerationRequest) The action to start the generation of test set.startTestSetGeneration
(StartTestSetGenerationRequest startTestSetGenerationRequest) The action to start the generation of test set.stopBotRecommendation
(Consumer<StopBotRecommendationRequest.Builder> stopBotRecommendationRequest) Stop an already running Bot Recommendation request.stopBotRecommendation
(StopBotRecommendationRequest stopBotRecommendationRequest) Stop an already running Bot Recommendation request.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the specified resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds the specified tags to the specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a bot, bot alias, or bot channel.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a bot, bot alias, or bot channel.default CompletableFuture
<UpdateBotResponse> updateBot
(Consumer<UpdateBotRequest.Builder> updateBotRequest) Updates the configuration of an existing bot.default CompletableFuture
<UpdateBotResponse> updateBot
(UpdateBotRequest updateBotRequest) Updates the configuration of an existing bot.default CompletableFuture
<UpdateBotAliasResponse> updateBotAlias
(Consumer<UpdateBotAliasRequest.Builder> updateBotAliasRequest) Updates the configuration of an existing bot alias.default CompletableFuture
<UpdateBotAliasResponse> updateBotAlias
(UpdateBotAliasRequest updateBotAliasRequest) Updates the configuration of an existing bot alias.default CompletableFuture
<UpdateBotLocaleResponse> updateBotLocale
(Consumer<UpdateBotLocaleRequest.Builder> updateBotLocaleRequest) Updates the settings that a bot has for a specific locale.default CompletableFuture
<UpdateBotLocaleResponse> updateBotLocale
(UpdateBotLocaleRequest updateBotLocaleRequest) Updates the settings that a bot has for a specific locale.updateBotRecommendation
(Consumer<UpdateBotRecommendationRequest.Builder> updateBotRecommendationRequest) Updates an existing bot recommendation request.updateBotRecommendation
(UpdateBotRecommendationRequest updateBotRecommendationRequest) Updates an existing bot recommendation request.default CompletableFuture
<UpdateExportResponse> updateExport
(Consumer<UpdateExportRequest.Builder> updateExportRequest) Updates the password used to protect an export zip archive.default CompletableFuture
<UpdateExportResponse> updateExport
(UpdateExportRequest updateExportRequest) Updates the password used to protect an export zip archive.default CompletableFuture
<UpdateIntentResponse> updateIntent
(Consumer<UpdateIntentRequest.Builder> updateIntentRequest) Updates the settings for an intent.default CompletableFuture
<UpdateIntentResponse> updateIntent
(UpdateIntentRequest updateIntentRequest) Updates the settings for an intent.updateResourcePolicy
(Consumer<UpdateResourcePolicyRequest.Builder> updateResourcePolicyRequest) Replaces the existing resource policy for a bot or bot alias with a new one.updateResourcePolicy
(UpdateResourcePolicyRequest updateResourcePolicyRequest) Replaces the existing resource policy for a bot or bot alias with a new one.default CompletableFuture
<UpdateSlotResponse> updateSlot
(Consumer<UpdateSlotRequest.Builder> updateSlotRequest) Updates the settings for a slot.default CompletableFuture
<UpdateSlotResponse> updateSlot
(UpdateSlotRequest updateSlotRequest) Updates the settings for a slot.default CompletableFuture
<UpdateSlotTypeResponse> updateSlotType
(Consumer<UpdateSlotTypeRequest.Builder> updateSlotTypeRequest) Updates the configuration of an existing slot type.default CompletableFuture
<UpdateSlotTypeResponse> updateSlotType
(UpdateSlotTypeRequest updateSlotTypeRequest) Updates the configuration of an existing slot type.default CompletableFuture
<UpdateTestSetResponse> updateTestSet
(Consumer<UpdateTestSetRequest.Builder> updateTestSetRequest) The action to update the test set.default CompletableFuture
<UpdateTestSetResponse> updateTestSet
(UpdateTestSetRequest updateTestSetRequest) The action to update the test set.default LexModelsV2AsyncWaiter
waiter()
Create an instance ofLexModelsV2AsyncWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
batchCreateCustomVocabularyItem
default CompletableFuture<BatchCreateCustomVocabularyItemResponse> batchCreateCustomVocabularyItem(BatchCreateCustomVocabularyItemRequest batchCreateCustomVocabularyItemRequest) Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
- Parameters:
batchCreateCustomVocabularyItemRequest
-- Returns:
- A Java Future containing the result of the BatchCreateCustomVocabularyItem operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
batchCreateCustomVocabularyItem
default CompletableFuture<BatchCreateCustomVocabularyItemResponse> batchCreateCustomVocabularyItem(Consumer<BatchCreateCustomVocabularyItemRequest.Builder> batchCreateCustomVocabularyItemRequest) 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 viaBatchCreateCustomVocabularyItemRequest.builder()
- Parameters:
batchCreateCustomVocabularyItemRequest
- AConsumer
that will call methods onBatchCreateCustomVocabularyItemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchCreateCustomVocabularyItem operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
batchDeleteCustomVocabularyItem
default CompletableFuture<BatchDeleteCustomVocabularyItemResponse> batchDeleteCustomVocabularyItem(BatchDeleteCustomVocabularyItemRequest batchDeleteCustomVocabularyItemRequest) Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
- Parameters:
batchDeleteCustomVocabularyItemRequest
-- Returns:
- A Java Future containing the result of the BatchDeleteCustomVocabularyItem operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
batchDeleteCustomVocabularyItem
default CompletableFuture<BatchDeleteCustomVocabularyItemResponse> batchDeleteCustomVocabularyItem(Consumer<BatchDeleteCustomVocabularyItemRequest.Builder> batchDeleteCustomVocabularyItemRequest) 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 viaBatchDeleteCustomVocabularyItemRequest.builder()
- Parameters:
batchDeleteCustomVocabularyItemRequest
- AConsumer
that will call methods onBatchDeleteCustomVocabularyItemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchDeleteCustomVocabularyItem operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
batchUpdateCustomVocabularyItem
default CompletableFuture<BatchUpdateCustomVocabularyItemResponse> batchUpdateCustomVocabularyItem(BatchUpdateCustomVocabularyItemRequest batchUpdateCustomVocabularyItemRequest) Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
- Parameters:
batchUpdateCustomVocabularyItemRequest
-- Returns:
- A Java Future containing the result of the BatchUpdateCustomVocabularyItem operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
batchUpdateCustomVocabularyItem
default CompletableFuture<BatchUpdateCustomVocabularyItemResponse> batchUpdateCustomVocabularyItem(Consumer<BatchUpdateCustomVocabularyItemRequest.Builder> batchUpdateCustomVocabularyItemRequest) 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 viaBatchUpdateCustomVocabularyItemRequest.builder()
- Parameters:
batchUpdateCustomVocabularyItemRequest
- AConsumer
that will call methods onBatchUpdateCustomVocabularyItemRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchUpdateCustomVocabularyItem operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
buildBotLocale
default CompletableFuture<BuildBotLocaleResponse> buildBotLocale(BuildBotLocaleRequest buildBotLocaleRequest) 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.
- Parameters:
buildBotLocaleRequest
-- Returns:
- A Java Future containing the result of the BuildBotLocale operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
buildBotLocale
default CompletableFuture<BuildBotLocaleResponse> buildBotLocale(Consumer<BuildBotLocaleRequest.Builder> buildBotLocaleRequest) 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 viaBuildBotLocaleRequest.builder()
- Parameters:
buildBotLocaleRequest
- AConsumer
that will call methods onBuildBotLocaleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BuildBotLocale operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createBot
Creates an Amazon Lex conversational bot.
- Parameters:
createBotRequest
-- Returns:
- A Java Future containing the result of the CreateBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createBot
default CompletableFuture<CreateBotResponse> createBot(Consumer<CreateBotRequest.Builder> createBotRequest) 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 viaCreateBotRequest.builder()
- Parameters:
createBotRequest
- AConsumer
that will call methods onCreateBotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createBotAlias
default CompletableFuture<CreateBotAliasResponse> createBotAlias(CreateBotAliasRequest createBotAliasRequest) 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.
- Parameters:
createBotAliasRequest
-- Returns:
- A Java Future containing the result of the CreateBotAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createBotAlias
default CompletableFuture<CreateBotAliasResponse> createBotAlias(Consumer<CreateBotAliasRequest.Builder> createBotAliasRequest) 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 viaCreateBotAliasRequest.builder()
- Parameters:
createBotAliasRequest
- AConsumer
that will call methods onCreateBotAliasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateBotAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createBotLocale
default CompletableFuture<CreateBotLocaleResponse> createBotLocale(CreateBotLocaleRequest createBotLocaleRequest) 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.
- Parameters:
createBotLocaleRequest
-- Returns:
- A Java Future containing the result of the CreateBotLocale operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createBotLocale
default CompletableFuture<CreateBotLocaleResponse> createBotLocale(Consumer<CreateBotLocaleRequest.Builder> createBotLocaleRequest) 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 viaCreateBotLocaleRequest.builder()
- Parameters:
createBotLocaleRequest
- AConsumer
that will call methods onCreateBotLocaleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateBotLocale operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createBotReplica
default CompletableFuture<CreateBotReplicaResponse> createBotReplica(CreateBotReplicaRequest createBotReplicaRequest) Action to create a replication of the source bot in the secondary region.
- Parameters:
createBotReplicaRequest
-- Returns:
- A Java Future containing the result of the CreateBotReplica operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createBotReplica
default CompletableFuture<CreateBotReplicaResponse> createBotReplica(Consumer<CreateBotReplicaRequest.Builder> createBotReplicaRequest) Action to create a replication of the source bot in the secondary region.
This is a convenience which creates an instance of the
CreateBotReplicaRequest.Builder
avoiding the need to create one manually viaCreateBotReplicaRequest.builder()
- Parameters:
createBotReplicaRequest
- AConsumer
that will call methods onCreateBotReplicaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateBotReplica operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createBotVersion
default CompletableFuture<CreateBotVersionResponse> createBotVersion(CreateBotVersionRequest createBotVersionRequest) Creates an immutable version of the bot. When you create the first version of a bot, Amazon Lex sets the version number to 1. Subsequent bot versions increase in an increment of 1. The version number will always represent the total number of versions created of the bot, not the current number of versions. If a bot version is deleted, that bot version number will not be reused.
- Parameters:
createBotVersionRequest
-- Returns:
- A Java Future containing the result of the CreateBotVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createBotVersion
default CompletableFuture<CreateBotVersionResponse> createBotVersion(Consumer<CreateBotVersionRequest.Builder> createBotVersionRequest) Creates an immutable version of the bot. When you create the first version of a bot, Amazon Lex sets the version number to 1. Subsequent bot versions increase in an increment of 1. The version number will always represent the total number of versions created of the bot, not the current number of versions. If a bot version is deleted, that bot version number will not be reused.
This is a convenience which creates an instance of the
CreateBotVersionRequest.Builder
avoiding the need to create one manually viaCreateBotVersionRequest.builder()
- Parameters:
createBotVersionRequest
- AConsumer
that will call methods onCreateBotVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateBotVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createExport
default CompletableFuture<CreateExportResponse> createExport(CreateExportRequest createExportRequest) 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
- Parameters:
createExportRequest
-- Returns:
- A Java Future containing the result of the CreateExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createExport
default CompletableFuture<CreateExportResponse> createExport(Consumer<CreateExportRequest.Builder> createExportRequest) 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 viaCreateExportRequest.builder()
- Parameters:
createExportRequest
- AConsumer
that will call methods onCreateExportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createIntent
default CompletableFuture<CreateIntentResponse> createIntent(CreateIntentRequest createIntentRequest) 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?"
- Parameters:
createIntentRequest
-- Returns:
- A Java Future containing the result of the CreateIntent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
-
createIntent
default CompletableFuture<CreateIntentResponse> createIntent(Consumer<CreateIntentRequest.Builder> createIntentRequest) 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 viaCreateIntentRequest.builder()
- Parameters:
createIntentRequest
- AConsumer
that will call methods onCreateIntentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateIntent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
-
createResourcePolicy
default CompletableFuture<CreateResourcePolicyResponse> createResourcePolicy(CreateResourcePolicyRequest createResourcePolicyRequest) Creates a new resource policy with the specified policy statements.
- Parameters:
createResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the CreateResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createResourcePolicy
default CompletableFuture<CreateResourcePolicyResponse> createResourcePolicy(Consumer<CreateResourcePolicyRequest.Builder> createResourcePolicyRequest) 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 viaCreateResourcePolicyRequest.builder()
- Parameters:
createResourcePolicyRequest
- AConsumer
that will call methods onCreateResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createResourcePolicyStatement
default CompletableFuture<CreateResourcePolicyStatementResponse> createResourcePolicyStatement(CreateResourcePolicyStatementRequest createResourcePolicyStatementRequest) 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.
- Parameters:
createResourcePolicyStatementRequest
-- Returns:
- A Java Future containing the result of the CreateResourcePolicyStatement operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createResourcePolicyStatement
default CompletableFuture<CreateResourcePolicyStatementResponse> createResourcePolicyStatement(Consumer<CreateResourcePolicyStatementRequest.Builder> createResourcePolicyStatementRequest) 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 viaCreateResourcePolicyStatementRequest.builder()
- Parameters:
createResourcePolicyStatementRequest
- AConsumer
that will call methods onCreateResourcePolicyStatementRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateResourcePolicyStatement operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createSlot
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.- Parameters:
createSlotRequest
-- Returns:
- A Java Future containing the result of the CreateSlot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createSlot
default CompletableFuture<CreateSlotResponse> createSlot(Consumer<CreateSlotRequest.Builder> createSlotRequest) 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 viaCreateSlotRequest.builder()
- Parameters:
createSlotRequest
- AConsumer
that will call methods onCreateSlotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSlot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createSlotType
default CompletableFuture<CreateSlotTypeResponse> createSlotType(CreateSlotTypeRequest createSlotTypeRequest) 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.
- Parameters:
createSlotTypeRequest
-- Returns:
- A Java Future containing the result of the CreateSlotType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createSlotType
default CompletableFuture<CreateSlotTypeResponse> createSlotType(Consumer<CreateSlotTypeRequest.Builder> createSlotTypeRequest) 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 viaCreateSlotTypeRequest.builder()
- Parameters:
createSlotTypeRequest
- AConsumer
that will call methods onCreateSlotTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSlotType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createTestSetDiscrepancyReport
default CompletableFuture<CreateTestSetDiscrepancyReportResponse> createTestSetDiscrepancyReport(CreateTestSetDiscrepancyReportRequest createTestSetDiscrepancyReportRequest) Create a report that describes the differences between the bot and the test set.
- Parameters:
createTestSetDiscrepancyReportRequest
-- Returns:
- A Java Future containing the result of the CreateTestSetDiscrepancyReport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- See Also:
-
createTestSetDiscrepancyReport
default CompletableFuture<CreateTestSetDiscrepancyReportResponse> createTestSetDiscrepancyReport(Consumer<CreateTestSetDiscrepancyReportRequest.Builder> createTestSetDiscrepancyReportRequest) Create a report that describes the differences between the bot and the test set.
This is a convenience which creates an instance of the
CreateTestSetDiscrepancyReportRequest.Builder
avoiding the need to create one manually viaCreateTestSetDiscrepancyReportRequest.builder()
- Parameters:
createTestSetDiscrepancyReportRequest
- AConsumer
that will call methods onCreateTestSetDiscrepancyReportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateTestSetDiscrepancyReport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- See Also:
-
createUploadUrl
default CompletableFuture<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.
- Parameters:
createUploadUrlRequest
-- Returns:
- A Java Future containing the result of the CreateUploadUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
createUploadUrl
default CompletableFuture<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.
This is a convenience which creates an instance of the
CreateUploadUrlRequest.Builder
avoiding the need to create one manually viaCreateUploadUrlRequest.builder()
- Parameters:
createUploadUrlRequest
- AConsumer
that will call methods onCreateUploadUrlRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateUploadUrl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteBot
Deletes all versions of a bot, including the
Draft
version. To delete a specific version, use theDeleteBotVersion
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 aResourceInUseException
exception. If you want to delete the bot and the alias, set theskipResourceInUseCheck
parameter totrue
.- Parameters:
deleteBotRequest
-- Returns:
- A Java Future containing the result of the DeleteBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteBot
default CompletableFuture<DeleteBotResponse> deleteBot(Consumer<DeleteBotRequest.Builder> deleteBotRequest) Deletes all versions of a bot, including the
Draft
version. To delete a specific version, use theDeleteBotVersion
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 aResourceInUseException
exception. If you want to delete the bot and the alias, set theskipResourceInUseCheck
parameter totrue
.
This is a convenience which creates an instance of the
DeleteBotRequest.Builder
avoiding the need to create one manually viaDeleteBotRequest.builder()
- Parameters:
deleteBotRequest
- AConsumer
that will call methods onDeleteBotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteBotAlias
default CompletableFuture<DeleteBotAliasResponse> deleteBotAlias(DeleteBotAliasRequest deleteBotAliasRequest) Deletes the specified bot alias.
- Parameters:
deleteBotAliasRequest
-- Returns:
- A Java Future containing the result of the DeleteBotAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteBotAlias
default CompletableFuture<DeleteBotAliasResponse> deleteBotAlias(Consumer<DeleteBotAliasRequest.Builder> deleteBotAliasRequest) Deletes the specified bot alias.
This is a convenience which creates an instance of the
DeleteBotAliasRequest.Builder
avoiding the need to create one manually viaDeleteBotAliasRequest.builder()
- Parameters:
deleteBotAliasRequest
- AConsumer
that will call methods onDeleteBotAliasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteBotAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteBotLocale
default CompletableFuture<DeleteBotLocaleResponse> deleteBotLocale(DeleteBotLocaleRequest deleteBotLocaleRequest) Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
- Parameters:
deleteBotLocaleRequest
-- Returns:
- A Java Future containing the result of the DeleteBotLocale operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteBotLocale
default CompletableFuture<DeleteBotLocaleResponse> deleteBotLocale(Consumer<DeleteBotLocaleRequest.Builder> deleteBotLocaleRequest) 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 viaDeleteBotLocaleRequest.builder()
- Parameters:
deleteBotLocaleRequest
- AConsumer
that will call methods onDeleteBotLocaleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteBotLocale operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteBotReplica
default CompletableFuture<DeleteBotReplicaResponse> deleteBotReplica(DeleteBotReplicaRequest deleteBotReplicaRequest) The action to delete the replicated bot in the secondary region.
- Parameters:
deleteBotReplicaRequest
-- Returns:
- A Java Future containing the result of the DeleteBotReplica operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteBotReplica
default CompletableFuture<DeleteBotReplicaResponse> deleteBotReplica(Consumer<DeleteBotReplicaRequest.Builder> deleteBotReplicaRequest) The action to delete the replicated bot in the secondary region.
This is a convenience which creates an instance of the
DeleteBotReplicaRequest.Builder
avoiding the need to create one manually viaDeleteBotReplicaRequest.builder()
- Parameters:
deleteBotReplicaRequest
- AConsumer
that will call methods onDeleteBotReplicaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteBotReplica operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteBotVersion
default CompletableFuture<DeleteBotVersionResponse> deleteBotVersion(DeleteBotVersionRequest deleteBotVersionRequest) Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.
- Parameters:
deleteBotVersionRequest
-- Returns:
- A Java Future containing the result of the DeleteBotVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteBotVersion
default CompletableFuture<DeleteBotVersionResponse> deleteBotVersion(Consumer<DeleteBotVersionRequest.Builder> deleteBotVersionRequest) 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 viaDeleteBotVersionRequest.builder()
- Parameters:
deleteBotVersionRequest
- AConsumer
that will call methods onDeleteBotVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteBotVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteCustomVocabulary
default CompletableFuture<DeleteCustomVocabularyResponse> deleteCustomVocabulary(DeleteCustomVocabularyRequest deleteCustomVocabularyRequest) Removes a custom vocabulary from the specified locale in the specified bot.
- Parameters:
deleteCustomVocabularyRequest
-- Returns:
- A Java Future containing the result of the DeleteCustomVocabulary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteCustomVocabulary
default CompletableFuture<DeleteCustomVocabularyResponse> deleteCustomVocabulary(Consumer<DeleteCustomVocabularyRequest.Builder> deleteCustomVocabularyRequest) 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 viaDeleteCustomVocabularyRequest.builder()
- Parameters:
deleteCustomVocabularyRequest
- AConsumer
that will call methods onDeleteCustomVocabularyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCustomVocabulary operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteExport
default CompletableFuture<DeleteExportResponse> deleteExport(DeleteExportRequest deleteExportRequest) Removes a previous export and the associated files stored in an S3 bucket.
- Parameters:
deleteExportRequest
-- Returns:
- A Java Future containing the result of the DeleteExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteExport
default CompletableFuture<DeleteExportResponse> deleteExport(Consumer<DeleteExportRequest.Builder> deleteExportRequest) 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 viaDeleteExportRequest.builder()
- Parameters:
deleteExportRequest
- AConsumer
that will call methods onDeleteExportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteImport
default CompletableFuture<DeleteImportResponse> deleteImport(DeleteImportRequest deleteImportRequest) Removes a previous import and the associated file stored in an S3 bucket.
- Parameters:
deleteImportRequest
-- Returns:
- A Java Future containing the result of the DeleteImport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteImport
default CompletableFuture<DeleteImportResponse> deleteImport(Consumer<DeleteImportRequest.Builder> deleteImportRequest) 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 viaDeleteImportRequest.builder()
- Parameters:
deleteImportRequest
- AConsumer
that will call methods onDeleteImportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteImport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteIntent
default CompletableFuture<DeleteIntentResponse> deleteIntent(DeleteIntentRequest deleteIntentRequest) Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
- Parameters:
deleteIntentRequest
-- Returns:
- A Java Future containing the result of the DeleteIntent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteIntent
default CompletableFuture<DeleteIntentResponse> deleteIntent(Consumer<DeleteIntentRequest.Builder> deleteIntentRequest) 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 viaDeleteIntentRequest.builder()
- Parameters:
deleteIntentRequest
- AConsumer
that will call methods onDeleteIntentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteIntent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
- Parameters:
deleteResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteResourcePolicy
default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) 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 viaDeleteResourcePolicyRequest.builder()
- Parameters:
deleteResourcePolicyRequest
- AConsumer
that will call methods onDeleteResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteResourcePolicyStatement
default CompletableFuture<DeleteResourcePolicyStatementResponse> deleteResourcePolicyStatement(DeleteResourcePolicyStatementRequest deleteResourcePolicyStatementRequest) 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.
- Parameters:
deleteResourcePolicyStatementRequest
-- Returns:
- A Java Future containing the result of the DeleteResourcePolicyStatement operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteResourcePolicyStatement
default CompletableFuture<DeleteResourcePolicyStatementResponse> deleteResourcePolicyStatement(Consumer<DeleteResourcePolicyStatementRequest.Builder> deleteResourcePolicyStatementRequest) 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 viaDeleteResourcePolicyStatementRequest.builder()
- Parameters:
deleteResourcePolicyStatementRequest
- AConsumer
that will call methods onDeleteResourcePolicyStatementRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResourcePolicyStatement operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteSlot
Deletes the specified slot from an intent.
- Parameters:
deleteSlotRequest
-- Returns:
- A Java Future containing the result of the DeleteSlot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteSlot
default CompletableFuture<DeleteSlotResponse> deleteSlot(Consumer<DeleteSlotRequest.Builder> deleteSlotRequest) 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 viaDeleteSlotRequest.builder()
- Parameters:
deleteSlotRequest
- AConsumer
that will call methods onDeleteSlotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSlot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteSlotType
default CompletableFuture<DeleteSlotTypeResponse> deleteSlotType(DeleteSlotTypeRequest deleteSlotTypeRequest) 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 theskipResourceInUseCheck
parameter totrue
.- Parameters:
deleteSlotTypeRequest
-- Returns:
- A Java Future containing the result of the DeleteSlotType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteSlotType
default CompletableFuture<DeleteSlotTypeResponse> deleteSlotType(Consumer<DeleteSlotTypeRequest.Builder> deleteSlotTypeRequest) 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 theskipResourceInUseCheck
parameter totrue
.
This is a convenience which creates an instance of the
DeleteSlotTypeRequest.Builder
avoiding the need to create one manually viaDeleteSlotTypeRequest.builder()
- Parameters:
deleteSlotTypeRequest
- AConsumer
that will call methods onDeleteSlotTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSlotType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteTestSet
default CompletableFuture<DeleteTestSetResponse> deleteTestSet(DeleteTestSetRequest deleteTestSetRequest) The action to delete the selected test set.
- Parameters:
deleteTestSetRequest
-- Returns:
- A Java Future containing the result of the DeleteTestSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteTestSet
default CompletableFuture<DeleteTestSetResponse> deleteTestSet(Consumer<DeleteTestSetRequest.Builder> deleteTestSetRequest) The action to delete the selected test set.
This is a convenience which creates an instance of the
DeleteTestSetRequest.Builder
avoiding the need to create one manually viaDeleteTestSetRequest.builder()
- Parameters:
deleteTestSetRequest
- AConsumer
that will call methods onDeleteTestSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteTestSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteUtterances
default CompletableFuture<DeleteUtterancesResponse> deleteUtterances(DeleteUtterancesRequest deleteUtterancesRequest) 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 theDeleteUtterances
operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with theListAggregatedUtterances
operation are deleted after 15 days.- Parameters:
deleteUtterancesRequest
-- Returns:
- A Java Future containing the result of the DeleteUtterances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
deleteUtterances
default CompletableFuture<DeleteUtterancesResponse> deleteUtterances(Consumer<DeleteUtterancesRequest.Builder> deleteUtterancesRequest) 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 theDeleteUtterances
operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with theListAggregatedUtterances
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 viaDeleteUtterancesRequest.builder()
- Parameters:
deleteUtterancesRequest
- AConsumer
that will call methods onDeleteUtterancesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteUtterances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBot
Provides metadata information about a bot.
- Parameters:
describeBotRequest
-- Returns:
- A Java Future containing the result of the DescribeBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBot
default CompletableFuture<DescribeBotResponse> describeBot(Consumer<DescribeBotRequest.Builder> describeBotRequest) 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 viaDescribeBotRequest.builder()
- Parameters:
describeBotRequest
- AConsumer
that will call methods onDescribeBotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotAlias
default CompletableFuture<DescribeBotAliasResponse> describeBotAlias(DescribeBotAliasRequest describeBotAliasRequest) Get information about a specific bot alias.
- Parameters:
describeBotAliasRequest
-- Returns:
- A Java Future containing the result of the DescribeBotAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotAlias
default CompletableFuture<DescribeBotAliasResponse> describeBotAlias(Consumer<DescribeBotAliasRequest.Builder> describeBotAliasRequest) 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 viaDescribeBotAliasRequest.builder()
- Parameters:
describeBotAliasRequest
- AConsumer
that will call methods onDescribeBotAliasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeBotAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotLocale
default CompletableFuture<DescribeBotLocaleResponse> describeBotLocale(DescribeBotLocaleRequest describeBotLocaleRequest) Describes the settings that a bot has for a specific locale.
- Parameters:
describeBotLocaleRequest
-- Returns:
- A Java Future containing the result of the DescribeBotLocale operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotLocale
default CompletableFuture<DescribeBotLocaleResponse> describeBotLocale(Consumer<DescribeBotLocaleRequest.Builder> describeBotLocaleRequest) 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 viaDescribeBotLocaleRequest.builder()
- Parameters:
describeBotLocaleRequest
- AConsumer
that will call methods onDescribeBotLocaleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeBotLocale operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotRecommendation
default CompletableFuture<DescribeBotRecommendationResponse> describeBotRecommendation(DescribeBotRecommendationRequest describeBotRecommendationRequest) 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.
- Parameters:
describeBotRecommendationRequest
-- Returns:
- A Java Future containing the result of the DescribeBotRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotRecommendation
default CompletableFuture<DescribeBotRecommendationResponse> describeBotRecommendation(Consumer<DescribeBotRecommendationRequest.Builder> describeBotRecommendationRequest) 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 viaDescribeBotRecommendationRequest.builder()
- Parameters:
describeBotRecommendationRequest
- AConsumer
that will call methods onDescribeBotRecommendationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeBotRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotReplica
default CompletableFuture<DescribeBotReplicaResponse> describeBotReplica(DescribeBotReplicaRequest describeBotReplicaRequest) Monitors the bot replication status through the UI console.
- Parameters:
describeBotReplicaRequest
-- Returns:
- A Java Future containing the result of the DescribeBotReplica operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotReplica
default CompletableFuture<DescribeBotReplicaResponse> describeBotReplica(Consumer<DescribeBotReplicaRequest.Builder> describeBotReplicaRequest) Monitors the bot replication status through the UI console.
This is a convenience which creates an instance of the
DescribeBotReplicaRequest.Builder
avoiding the need to create one manually viaDescribeBotReplicaRequest.builder()
- Parameters:
describeBotReplicaRequest
- AConsumer
that will call methods onDescribeBotReplicaRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeBotReplica operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotResourceGeneration
default CompletableFuture<DescribeBotResourceGenerationResponse> describeBotResourceGeneration(DescribeBotResourceGenerationRequest describeBotResourceGenerationRequest) Returns information about a request to generate a bot through natural language description, made through the
StartBotResource
API. Use thegeneratedBotLocaleUrl
to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.- Parameters:
describeBotResourceGenerationRequest
-- Returns:
- A Java Future containing the result of the DescribeBotResourceGeneration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotResourceGeneration
default CompletableFuture<DescribeBotResourceGenerationResponse> describeBotResourceGeneration(Consumer<DescribeBotResourceGenerationRequest.Builder> describeBotResourceGenerationRequest) Returns information about a request to generate a bot through natural language description, made through the
StartBotResource
API. Use thegeneratedBotLocaleUrl
to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.
This is a convenience which creates an instance of the
DescribeBotResourceGenerationRequest.Builder
avoiding the need to create one manually viaDescribeBotResourceGenerationRequest.builder()
- Parameters:
describeBotResourceGenerationRequest
- AConsumer
that will call methods onDescribeBotResourceGenerationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeBotResourceGeneration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotVersion
default CompletableFuture<DescribeBotVersionResponse> describeBotVersion(DescribeBotVersionRequest describeBotVersionRequest) Provides metadata about a version of a bot.
- Parameters:
describeBotVersionRequest
-- Returns:
- A Java Future containing the result of the DescribeBotVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeBotVersion
default CompletableFuture<DescribeBotVersionResponse> describeBotVersion(Consumer<DescribeBotVersionRequest.Builder> describeBotVersionRequest) 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 viaDescribeBotVersionRequest.builder()
- Parameters:
describeBotVersionRequest
- AConsumer
that will call methods onDescribeBotVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeBotVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeCustomVocabularyMetadata
default CompletableFuture<DescribeCustomVocabularyMetadataResponse> describeCustomVocabularyMetadata(DescribeCustomVocabularyMetadataRequest describeCustomVocabularyMetadataRequest) Provides metadata information about a custom vocabulary.
- Parameters:
describeCustomVocabularyMetadataRequest
-- Returns:
- A Java Future containing the result of the DescribeCustomVocabularyMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeCustomVocabularyMetadata
default CompletableFuture<DescribeCustomVocabularyMetadataResponse> describeCustomVocabularyMetadata(Consumer<DescribeCustomVocabularyMetadataRequest.Builder> describeCustomVocabularyMetadataRequest) 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 viaDescribeCustomVocabularyMetadataRequest.builder()
- Parameters:
describeCustomVocabularyMetadataRequest
- AConsumer
that will call methods onDescribeCustomVocabularyMetadataRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeCustomVocabularyMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeExport
default CompletableFuture<DescribeExportResponse> describeExport(DescribeExportRequest describeExportRequest) Gets information about a specific export.
- Parameters:
describeExportRequest
-- Returns:
- A Java Future containing the result of the DescribeExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeExport
default CompletableFuture<DescribeExportResponse> describeExport(Consumer<DescribeExportRequest.Builder> describeExportRequest) 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 viaDescribeExportRequest.builder()
- Parameters:
describeExportRequest
- AConsumer
that will call methods onDescribeExportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeImport
default CompletableFuture<DescribeImportResponse> describeImport(DescribeImportRequest describeImportRequest) Gets information about a specific import.
- Parameters:
describeImportRequest
-- Returns:
- A Java Future containing the result of the DescribeImport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeImport
default CompletableFuture<DescribeImportResponse> describeImport(Consumer<DescribeImportRequest.Builder> describeImportRequest) 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 viaDescribeImportRequest.builder()
- Parameters:
describeImportRequest
- AConsumer
that will call methods onDescribeImportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeImport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeIntent
default CompletableFuture<DescribeIntentResponse> describeIntent(DescribeIntentRequest describeIntentRequest) Returns metadata about an intent.
- Parameters:
describeIntentRequest
-- Returns:
- A Java Future containing the result of the DescribeIntent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeIntent
default CompletableFuture<DescribeIntentResponse> describeIntent(Consumer<DescribeIntentRequest.Builder> describeIntentRequest) Returns metadata about an intent.
This is a convenience which creates an instance of the
DescribeIntentRequest.Builder
avoiding the need to create one manually viaDescribeIntentRequest.builder()
- Parameters:
describeIntentRequest
- AConsumer
that will call methods onDescribeIntentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeIntent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeResourcePolicy
default CompletableFuture<DescribeResourcePolicyResponse> describeResourcePolicy(DescribeResourcePolicyRequest describeResourcePolicyRequest) Gets the resource policy and policy revision for a bot or bot alias.
- Parameters:
describeResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the DescribeResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeResourcePolicy
default CompletableFuture<DescribeResourcePolicyResponse> describeResourcePolicy(Consumer<DescribeResourcePolicyRequest.Builder> describeResourcePolicyRequest) 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 viaDescribeResourcePolicyRequest.builder()
- Parameters:
describeResourcePolicyRequest
- AConsumer
that will call methods onDescribeResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeSlot
default CompletableFuture<DescribeSlotResponse> describeSlot(DescribeSlotRequest describeSlotRequest) Gets metadata information about a slot.
- Parameters:
describeSlotRequest
-- Returns:
- A Java Future containing the result of the DescribeSlot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeSlot
default CompletableFuture<DescribeSlotResponse> describeSlot(Consumer<DescribeSlotRequest.Builder> describeSlotRequest) 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 viaDescribeSlotRequest.builder()
- Parameters:
describeSlotRequest
- AConsumer
that will call methods onDescribeSlotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeSlot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeSlotType
default CompletableFuture<DescribeSlotTypeResponse> describeSlotType(DescribeSlotTypeRequest describeSlotTypeRequest) Gets metadata information about a slot type.
- Parameters:
describeSlotTypeRequest
-- Returns:
- A Java Future containing the result of the DescribeSlotType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeSlotType
default CompletableFuture<DescribeSlotTypeResponse> describeSlotType(Consumer<DescribeSlotTypeRequest.Builder> describeSlotTypeRequest) 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 viaDescribeSlotTypeRequest.builder()
- Parameters:
describeSlotTypeRequest
- AConsumer
that will call methods onDescribeSlotTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeSlotType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeTestExecution
default CompletableFuture<DescribeTestExecutionResponse> describeTestExecution(DescribeTestExecutionRequest describeTestExecutionRequest) Gets metadata information about the test execution.
- Parameters:
describeTestExecutionRequest
-- Returns:
- A Java Future containing the result of the DescribeTestExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeTestExecution
default CompletableFuture<DescribeTestExecutionResponse> describeTestExecution(Consumer<DescribeTestExecutionRequest.Builder> describeTestExecutionRequest) Gets metadata information about the test execution.
This is a convenience which creates an instance of the
DescribeTestExecutionRequest.Builder
avoiding the need to create one manually viaDescribeTestExecutionRequest.builder()
- Parameters:
describeTestExecutionRequest
- AConsumer
that will call methods onDescribeTestExecutionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeTestExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeTestSet
default CompletableFuture<DescribeTestSetResponse> describeTestSet(DescribeTestSetRequest describeTestSetRequest) Gets metadata information about the test set.
- Parameters:
describeTestSetRequest
-- Returns:
- A Java Future containing the result of the DescribeTestSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeTestSet
default CompletableFuture<DescribeTestSetResponse> describeTestSet(Consumer<DescribeTestSetRequest.Builder> describeTestSetRequest) Gets metadata information about the test set.
This is a convenience which creates an instance of the
DescribeTestSetRequest.Builder
avoiding the need to create one manually viaDescribeTestSetRequest.builder()
- Parameters:
describeTestSetRequest
- AConsumer
that will call methods onDescribeTestSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeTestSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeTestSetDiscrepancyReport
default CompletableFuture<DescribeTestSetDiscrepancyReportResponse> describeTestSetDiscrepancyReport(DescribeTestSetDiscrepancyReportRequest describeTestSetDiscrepancyReportRequest) Gets metadata information about the test set discrepancy report.
- Parameters:
describeTestSetDiscrepancyReportRequest
-- Returns:
- A Java Future containing the result of the DescribeTestSetDiscrepancyReport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeTestSetDiscrepancyReport
default CompletableFuture<DescribeTestSetDiscrepancyReportResponse> describeTestSetDiscrepancyReport(Consumer<DescribeTestSetDiscrepancyReportRequest.Builder> describeTestSetDiscrepancyReportRequest) Gets metadata information about the test set discrepancy report.
This is a convenience which creates an instance of the
DescribeTestSetDiscrepancyReportRequest.Builder
avoiding the need to create one manually viaDescribeTestSetDiscrepancyReportRequest.builder()
- Parameters:
describeTestSetDiscrepancyReportRequest
- AConsumer
that will call methods onDescribeTestSetDiscrepancyReportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeTestSetDiscrepancyReport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeTestSetGeneration
default CompletableFuture<DescribeTestSetGenerationResponse> describeTestSetGeneration(DescribeTestSetGenerationRequest describeTestSetGenerationRequest) Gets metadata information about the test set generation.
- Parameters:
describeTestSetGenerationRequest
-- Returns:
- A Java Future containing the result of the DescribeTestSetGeneration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
describeTestSetGeneration
default CompletableFuture<DescribeTestSetGenerationResponse> describeTestSetGeneration(Consumer<DescribeTestSetGenerationRequest.Builder> describeTestSetGenerationRequest) Gets metadata information about the test set generation.
This is a convenience which creates an instance of the
DescribeTestSetGenerationRequest.Builder
avoiding the need to create one manually viaDescribeTestSetGenerationRequest.builder()
- Parameters:
describeTestSetGenerationRequest
- AConsumer
that will call methods onDescribeTestSetGenerationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeTestSetGeneration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
generateBotElement
default CompletableFuture<GenerateBotElementResponse> generateBotElement(GenerateBotElementRequest generateBotElementRequest) Generates sample utterances for an intent.
- Parameters:
generateBotElementRequest
-- Returns:
- A Java Future containing the result of the GenerateBotElement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
generateBotElement
default CompletableFuture<GenerateBotElementResponse> generateBotElement(Consumer<GenerateBotElementRequest.Builder> generateBotElementRequest) Generates sample utterances for an intent.
This is a convenience which creates an instance of the
GenerateBotElementRequest.Builder
avoiding the need to create one manually viaGenerateBotElementRequest.builder()
- Parameters:
generateBotElementRequest
- AConsumer
that will call methods onGenerateBotElementRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GenerateBotElement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getTestExecutionArtifactsUrl
default CompletableFuture<GetTestExecutionArtifactsUrlResponse> getTestExecutionArtifactsUrl(GetTestExecutionArtifactsUrlRequest getTestExecutionArtifactsUrlRequest) The pre-signed Amazon S3 URL to download the test execution result artifacts.
- Parameters:
getTestExecutionArtifactsUrlRequest
-- Returns:
- A Java Future containing the result of the GetTestExecutionArtifactsUrl operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getTestExecutionArtifactsUrl
default CompletableFuture<GetTestExecutionArtifactsUrlResponse> getTestExecutionArtifactsUrl(Consumer<GetTestExecutionArtifactsUrlRequest.Builder> getTestExecutionArtifactsUrlRequest) The pre-signed Amazon S3 URL to download the test execution result artifacts.
This is a convenience which creates an instance of the
GetTestExecutionArtifactsUrlRequest.Builder
avoiding the need to create one manually viaGetTestExecutionArtifactsUrlRequest.builder()
- Parameters:
getTestExecutionArtifactsUrlRequest
- AConsumer
that will call methods onGetTestExecutionArtifactsUrlRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetTestExecutionArtifactsUrl operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listAggregatedUtterances
default CompletableFuture<ListAggregatedUtterancesResponse> listAggregatedUtterances(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) 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.
- Parameters:
listAggregatedUtterancesRequest
-- Returns:
- A Java Future containing the result of the ListAggregatedUtterances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
-
listAggregatedUtterances
default CompletableFuture<ListAggregatedUtterancesResponse> listAggregatedUtterances(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) 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 viaListAggregatedUtterancesRequest.builder()
- Parameters:
listAggregatedUtterancesRequest
- AConsumer
that will call methods onListAggregatedUtterancesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAggregatedUtterances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
-
listAggregatedUtterancesPaginator
default ListAggregatedUtterancesPublisher listAggregatedUtterancesPaginator(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) This is a variant of
listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesPublisher publisher = client.listAggregatedUtterancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesPublisher publisher = client.listAggregatedUtterancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse response) { //... }; });
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.- Parameters:
listAggregatedUtterancesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listAggregatedUtterancesPaginator
default ListAggregatedUtterancesPublisher listAggregatedUtterancesPaginator(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) This is a variant of
listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesPublisher publisher = client.listAggregatedUtterancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesPublisher publisher = client.listAggregatedUtterancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse response) { //... }; });
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 viaListAggregatedUtterancesRequest.builder()
- Parameters:
listAggregatedUtterancesRequest
- AConsumer
that will call methods onListAggregatedUtterancesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotAliasReplicas
default CompletableFuture<ListBotAliasReplicasResponse> listBotAliasReplicas(ListBotAliasReplicasRequest listBotAliasReplicasRequest) The action to list the replicated bots created from the source bot alias.
- Parameters:
listBotAliasReplicasRequest
-- Returns:
- A Java Future containing the result of the ListBotAliasReplicas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotAliasReplicas
default CompletableFuture<ListBotAliasReplicasResponse> listBotAliasReplicas(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest) The action to list the replicated bots created from the source bot alias.
This is a convenience which creates an instance of the
ListBotAliasReplicasRequest.Builder
avoiding the need to create one manually viaListBotAliasReplicasRequest.builder()
- Parameters:
listBotAliasReplicasRequest
- AConsumer
that will call methods onListBotAliasReplicasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBotAliasReplicas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotAliasReplicasPaginator
default ListBotAliasReplicasPublisher listBotAliasReplicasPaginator(ListBotAliasReplicasRequest listBotAliasReplicasRequest) This is a variant of
listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasPublisher publisher = client.listBotAliasReplicasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasPublisher publisher = client.listBotAliasReplicasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasResponse response) { //... }; });
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
listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation.- Parameters:
listBotAliasReplicasRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotAliasReplicasPaginator
default ListBotAliasReplicasPublisher listBotAliasReplicasPaginator(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest) This is a variant of
listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasPublisher publisher = client.listBotAliasReplicasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasPublisher publisher = client.listBotAliasReplicasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasResponse response) { //... }; });
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
listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation.
This is a convenience which creates an instance of the
ListBotAliasReplicasRequest.Builder
avoiding the need to create one manually viaListBotAliasReplicasRequest.builder()
- Parameters:
listBotAliasReplicasRequest
- AConsumer
that will call methods onListBotAliasReplicasRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotAliases
default CompletableFuture<ListBotAliasesResponse> listBotAliases(ListBotAliasesRequest listBotAliasesRequest) Gets a list of aliases for the specified bot.
- Parameters:
listBotAliasesRequest
-- Returns:
- A Java Future containing the result of the ListBotAliases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotAliases
default CompletableFuture<ListBotAliasesResponse> listBotAliases(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) 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 viaListBotAliasesRequest.builder()
- Parameters:
listBotAliasesRequest
- AConsumer
that will call methods onListBotAliasesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBotAliases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotAliasesPaginator
default ListBotAliasesPublisher listBotAliasesPaginator(ListBotAliasesRequest listBotAliasesRequest) This is a variant of
listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesPublisher publisher = client.listBotAliasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesPublisher publisher = client.listBotAliasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse response) { //... }; });
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.- Parameters:
listBotAliasesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotAliasesPaginator
default ListBotAliasesPublisher listBotAliasesPaginator(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) This is a variant of
listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesPublisher publisher = client.listBotAliasesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesPublisher publisher = client.listBotAliasesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse response) { //... }; });
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 viaListBotAliasesRequest.builder()
- Parameters:
listBotAliasesRequest
- AConsumer
that will call methods onListBotAliasesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotLocales
default CompletableFuture<ListBotLocalesResponse> listBotLocales(ListBotLocalesRequest listBotLocalesRequest) Gets a list of locales for the specified bot.
- Parameters:
listBotLocalesRequest
-- Returns:
- A Java Future containing the result of the ListBotLocales operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotLocales
default CompletableFuture<ListBotLocalesResponse> listBotLocales(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) 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 viaListBotLocalesRequest.builder()
- Parameters:
listBotLocalesRequest
- AConsumer
that will call methods onListBotLocalesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBotLocales operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotLocalesPaginator
default ListBotLocalesPublisher listBotLocalesPaginator(ListBotLocalesRequest listBotLocalesRequest) This is a variant of
listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesPublisher publisher = client.listBotLocalesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesPublisher publisher = client.listBotLocalesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse response) { //... }; });
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.- Parameters:
listBotLocalesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotLocalesPaginator
default ListBotLocalesPublisher listBotLocalesPaginator(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) This is a variant of
listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesPublisher publisher = client.listBotLocalesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesPublisher publisher = client.listBotLocalesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse response) { //... }; });
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 viaListBotLocalesRequest.builder()
- Parameters:
listBotLocalesRequest
- AConsumer
that will call methods onListBotLocalesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotRecommendations
default CompletableFuture<ListBotRecommendationsResponse> listBotRecommendations(ListBotRecommendationsRequest listBotRecommendationsRequest) Get a list of bot recommendations that meet the specified criteria.
- Parameters:
listBotRecommendationsRequest
-- Returns:
- A Java Future containing the result of the ListBotRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotRecommendations
default CompletableFuture<ListBotRecommendationsResponse> listBotRecommendations(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) 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 viaListBotRecommendationsRequest.builder()
- Parameters:
listBotRecommendationsRequest
- AConsumer
that will call methods onListBotRecommendationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBotRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotRecommendationsPaginator
default ListBotRecommendationsPublisher listBotRecommendationsPaginator(ListBotRecommendationsRequest listBotRecommendationsRequest) This is a variant of
listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsPublisher publisher = client.listBotRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsPublisher publisher = client.listBotRecommendationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse response) { //... }; });
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.- Parameters:
listBotRecommendationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotRecommendationsPaginator
default ListBotRecommendationsPublisher listBotRecommendationsPaginator(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) This is a variant of
listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsPublisher publisher = client.listBotRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsPublisher publisher = client.listBotRecommendationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse response) { //... }; });
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 viaListBotRecommendationsRequest.builder()
- Parameters:
listBotRecommendationsRequest
- AConsumer
that will call methods onListBotRecommendationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotReplicas
default CompletableFuture<ListBotReplicasResponse> listBotReplicas(ListBotReplicasRequest listBotReplicasRequest) The action to list the replicated bots.
- Parameters:
listBotReplicasRequest
-- Returns:
- A Java Future containing the result of the ListBotReplicas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotReplicas
default CompletableFuture<ListBotReplicasResponse> listBotReplicas(Consumer<ListBotReplicasRequest.Builder> listBotReplicasRequest) The action to list the replicated bots.
This is a convenience which creates an instance of the
ListBotReplicasRequest.Builder
avoiding the need to create one manually viaListBotReplicasRequest.builder()
- Parameters:
listBotReplicasRequest
- AConsumer
that will call methods onListBotReplicasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBotReplicas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotResourceGenerations
default CompletableFuture<ListBotResourceGenerationsResponse> listBotResourceGenerations(ListBotResourceGenerationsRequest listBotResourceGenerationsRequest) Lists the generation requests made for a bot locale.
- Parameters:
listBotResourceGenerationsRequest
-- Returns:
- A Java Future containing the result of the ListBotResourceGenerations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotResourceGenerations
default CompletableFuture<ListBotResourceGenerationsResponse> listBotResourceGenerations(Consumer<ListBotResourceGenerationsRequest.Builder> listBotResourceGenerationsRequest) Lists the generation requests made for a bot locale.
This is a convenience which creates an instance of the
ListBotResourceGenerationsRequest.Builder
avoiding the need to create one manually viaListBotResourceGenerationsRequest.builder()
- Parameters:
listBotResourceGenerationsRequest
- AConsumer
that will call methods onListBotResourceGenerationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBotResourceGenerations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotResourceGenerationsPaginator
default ListBotResourceGenerationsPublisher listBotResourceGenerationsPaginator(ListBotResourceGenerationsRequest listBotResourceGenerationsRequest) This is a variant of
listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsPublisher publisher = client.listBotResourceGenerationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsPublisher publisher = client.listBotResourceGenerationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsResponse response) { //... }; });
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
listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest)
operation.- Parameters:
listBotResourceGenerationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotResourceGenerationsPaginator
default ListBotResourceGenerationsPublisher listBotResourceGenerationsPaginator(Consumer<ListBotResourceGenerationsRequest.Builder> listBotResourceGenerationsRequest) This is a variant of
listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsPublisher publisher = client.listBotResourceGenerationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsPublisher publisher = client.listBotResourceGenerationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsResponse response) { //... }; });
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
listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest)
operation.
This is a convenience which creates an instance of the
ListBotResourceGenerationsRequest.Builder
avoiding the need to create one manually viaListBotResourceGenerationsRequest.builder()
- Parameters:
listBotResourceGenerationsRequest
- AConsumer
that will call methods onListBotResourceGenerationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotVersionReplicas
default CompletableFuture<ListBotVersionReplicasResponse> listBotVersionReplicas(ListBotVersionReplicasRequest listBotVersionReplicasRequest) Contains information about all the versions replication statuses applicable for Global Resiliency.
- Parameters:
listBotVersionReplicasRequest
-- Returns:
- A Java Future containing the result of the ListBotVersionReplicas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotVersionReplicas
default CompletableFuture<ListBotVersionReplicasResponse> listBotVersionReplicas(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest) Contains information about all the versions replication statuses applicable for Global Resiliency.
This is a convenience which creates an instance of the
ListBotVersionReplicasRequest.Builder
avoiding the need to create one manually viaListBotVersionReplicasRequest.builder()
- Parameters:
listBotVersionReplicasRequest
- AConsumer
that will call methods onListBotVersionReplicasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBotVersionReplicas operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotVersionReplicasPaginator
default ListBotVersionReplicasPublisher listBotVersionReplicasPaginator(ListBotVersionReplicasRequest listBotVersionReplicasRequest) This is a variant of
listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasPublisher publisher = client.listBotVersionReplicasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasPublisher publisher = client.listBotVersionReplicasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasResponse response) { //... }; });
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
listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation.- Parameters:
listBotVersionReplicasRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotVersionReplicasPaginator
default ListBotVersionReplicasPublisher listBotVersionReplicasPaginator(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest) This is a variant of
listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasPublisher publisher = client.listBotVersionReplicasPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasPublisher publisher = client.listBotVersionReplicasPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasResponse response) { //... }; });
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
listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation.
This is a convenience which creates an instance of the
ListBotVersionReplicasRequest.Builder
avoiding the need to create one manually viaListBotVersionReplicasRequest.builder()
- Parameters:
listBotVersionReplicasRequest
- AConsumer
that will call methods onListBotVersionReplicasRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotVersions
default CompletableFuture<ListBotVersionsResponse> listBotVersions(ListBotVersionsRequest listBotVersionsRequest) 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, theListBotVersions
operation returns for summaries, one for each numbered version and one for theDRAFT
version.The
ListBotVersions
operation always returns at least one version, theDRAFT
version.- Parameters:
listBotVersionsRequest
-- Returns:
- A Java Future containing the result of the ListBotVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotVersions
default CompletableFuture<ListBotVersionsResponse> listBotVersions(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) 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, theListBotVersions
operation returns for summaries, one for each numbered version and one for theDRAFT
version.The
ListBotVersions
operation always returns at least one version, theDRAFT
version.
This is a convenience which creates an instance of the
ListBotVersionsRequest.Builder
avoiding the need to create one manually viaListBotVersionsRequest.builder()
- Parameters:
listBotVersionsRequest
- AConsumer
that will call methods onListBotVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBotVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotVersionsPaginator
default ListBotVersionsPublisher listBotVersionsPaginator(ListBotVersionsRequest listBotVersionsRequest) This is a variant of
listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsPublisher publisher = client.listBotVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsPublisher publisher = client.listBotVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse response) { //... }; });
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.- Parameters:
listBotVersionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotVersionsPaginator
default ListBotVersionsPublisher listBotVersionsPaginator(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) This is a variant of
listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsPublisher publisher = client.listBotVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsPublisher publisher = client.listBotVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse response) { //... }; });
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 viaListBotVersionsRequest.builder()
- Parameters:
listBotVersionsRequest
- AConsumer
that will call methods onListBotVersionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBots
Gets a list of available bots.
- Parameters:
listBotsRequest
-- Returns:
- A Java Future containing the result of the ListBots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBots
default CompletableFuture<ListBotsResponse> listBots(Consumer<ListBotsRequest.Builder> listBotsRequest) 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 viaListBotsRequest.builder()
- Parameters:
listBotsRequest
- AConsumer
that will call methods onListBotsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotsPaginator
This is a variant of
listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse response) { //... }; });
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.- Parameters:
listBotsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBotsPaginator
This is a variant of
listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse response) { //... }; });
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 viaListBotsRequest.builder()
- Parameters:
listBotsRequest
- AConsumer
that will call methods onListBotsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBuiltInIntents
default CompletableFuture<ListBuiltInIntentsResponse> listBuiltInIntents(ListBuiltInIntentsRequest listBuiltInIntentsRequest) 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 theCreateIntent
operation. For more information, see CreateIntent.- Parameters:
listBuiltInIntentsRequest
-- Returns:
- A Java Future containing the result of the ListBuiltInIntents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBuiltInIntents
default CompletableFuture<ListBuiltInIntentsResponse> listBuiltInIntents(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) 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 theCreateIntent
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 viaListBuiltInIntentsRequest.builder()
- Parameters:
listBuiltInIntentsRequest
- AConsumer
that will call methods onListBuiltInIntentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBuiltInIntents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBuiltInIntentsPaginator
default ListBuiltInIntentsPublisher listBuiltInIntentsPaginator(ListBuiltInIntentsRequest listBuiltInIntentsRequest) This is a variant of
listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsPublisher publisher = client.listBuiltInIntentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsPublisher publisher = client.listBuiltInIntentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse response) { //... }; });
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.- Parameters:
listBuiltInIntentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBuiltInIntentsPaginator
default ListBuiltInIntentsPublisher listBuiltInIntentsPaginator(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) This is a variant of
listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsPublisher publisher = client.listBuiltInIntentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsPublisher publisher = client.listBuiltInIntentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse response) { //... }; });
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 viaListBuiltInIntentsRequest.builder()
- Parameters:
listBuiltInIntentsRequest
- AConsumer
that will call methods onListBuiltInIntentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBuiltInSlotTypes
default CompletableFuture<ListBuiltInSlotTypesResponse> listBuiltInSlotTypes(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest) Gets a list of built-in slot types that meet the specified criteria.
- Parameters:
listBuiltInSlotTypesRequest
-- Returns:
- A Java Future containing the result of the ListBuiltInSlotTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBuiltInSlotTypes
default CompletableFuture<ListBuiltInSlotTypesResponse> listBuiltInSlotTypes(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) 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 viaListBuiltInSlotTypesRequest.builder()
- Parameters:
listBuiltInSlotTypesRequest
- AConsumer
that will call methods onListBuiltInSlotTypesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListBuiltInSlotTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBuiltInSlotTypesPaginator
default ListBuiltInSlotTypesPublisher listBuiltInSlotTypesPaginator(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest) This is a variant of
listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesPublisher publisher = client.listBuiltInSlotTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesPublisher publisher = client.listBuiltInSlotTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse response) { //... }; });
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.- Parameters:
listBuiltInSlotTypesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listBuiltInSlotTypesPaginator
default ListBuiltInSlotTypesPublisher listBuiltInSlotTypesPaginator(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) This is a variant of
listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesPublisher publisher = client.listBuiltInSlotTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesPublisher publisher = client.listBuiltInSlotTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse response) { //... }; });
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 viaListBuiltInSlotTypesRequest.builder()
- Parameters:
listBuiltInSlotTypesRequest
- AConsumer
that will call methods onListBuiltInSlotTypesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listCustomVocabularyItems
default CompletableFuture<ListCustomVocabularyItemsResponse> listCustomVocabularyItems(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest) Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
- Parameters:
listCustomVocabularyItemsRequest
-- Returns:
- A Java Future containing the result of the ListCustomVocabularyItems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listCustomVocabularyItems
default CompletableFuture<ListCustomVocabularyItemsResponse> listCustomVocabularyItems(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest) 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 viaListCustomVocabularyItemsRequest.builder()
- Parameters:
listCustomVocabularyItemsRequest
- AConsumer
that will call methods onListCustomVocabularyItemsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCustomVocabularyItems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listCustomVocabularyItemsPaginator
default ListCustomVocabularyItemsPublisher listCustomVocabularyItemsPaginator(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest) This is a variant of
listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsPublisher publisher = client.listCustomVocabularyItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsPublisher publisher = client.listCustomVocabularyItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse response) { //... }; });
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.- Parameters:
listCustomVocabularyItemsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listCustomVocabularyItemsPaginator
default ListCustomVocabularyItemsPublisher listCustomVocabularyItemsPaginator(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest) This is a variant of
listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsPublisher publisher = client.listCustomVocabularyItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsPublisher publisher = client.listCustomVocabularyItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse response) { //... }; });
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 viaListCustomVocabularyItemsRequest.builder()
- Parameters:
listCustomVocabularyItemsRequest
- AConsumer
that will call methods onListCustomVocabularyItemsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listExports
Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.
- Parameters:
listExportsRequest
-- Returns:
- A Java Future containing the result of the ListExports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listExports
default CompletableFuture<ListExportsResponse> listExports(Consumer<ListExportsRequest.Builder> listExportsRequest) 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 viaListExportsRequest.builder()
- Parameters:
listExportsRequest
- AConsumer
that will call methods onListExportsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListExports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listExportsPaginator
This is a variant of
listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse response) { //... }; });
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.- Parameters:
listExportsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listExportsPaginator
default ListExportsPublisher listExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest) This is a variant of
listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse response) { //... }; });
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 viaListExportsRequest.builder()
- Parameters:
listExportsRequest
- AConsumer
that will call methods onListExportsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listImports
Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.
- Parameters:
listImportsRequest
-- Returns:
- A Java Future containing the result of the ListImports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listImports
default CompletableFuture<ListImportsResponse> listImports(Consumer<ListImportsRequest.Builder> listImportsRequest) 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 viaListImportsRequest.builder()
- Parameters:
listImportsRequest
- AConsumer
that will call methods onListImportsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListImports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listImportsPaginator
This is a variant of
listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse response) { //... }; });
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.- Parameters:
listImportsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listImportsPaginator
default ListImportsPublisher listImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest) This is a variant of
listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse response) { //... }; });
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 viaListImportsRequest.builder()
- Parameters:
listImportsRequest
- AConsumer
that will call methods onListImportsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listIntentMetrics
default CompletableFuture<ListIntentMetricsResponse> listIntentMetrics(ListIntentMetricsRequest listIntentMetricsRequest) Retrieves summary metrics for the intents in your bot. The following fields are required:
-
metrics
– A list of AnalyticsIntentMetric objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order. -
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
-
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
Note that an
order
field exists in bothbinBy
andmetrics
. You can specify only oneorder
in a given request.- Parameters:
listIntentMetricsRequest
-- Returns:
- A Java Future containing the result of the ListIntentMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listIntentMetrics
default CompletableFuture<ListIntentMetricsResponse> listIntentMetrics(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest) Retrieves summary metrics for the intents in your bot. The following fields are required:
-
metrics
– A list of AnalyticsIntentMetric objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order. -
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
-
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
Note that an
order
field exists in bothbinBy
andmetrics
. You can specify only oneorder
in a given request.
This is a convenience which creates an instance of the
ListIntentMetricsRequest.Builder
avoiding the need to create one manually viaListIntentMetricsRequest.builder()
- Parameters:
listIntentMetricsRequest
- AConsumer
that will call methods onListIntentMetricsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListIntentMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listIntentMetricsPaginator
default ListIntentMetricsPublisher listIntentMetricsPaginator(ListIntentMetricsRequest listIntentMetricsRequest) This is a variant of
listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsPublisher publisher = client.listIntentMetricsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsPublisher publisher = client.listIntentMetricsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsResponse response) { //... }; });
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
listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation.- Parameters:
listIntentMetricsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listIntentMetricsPaginator
default ListIntentMetricsPublisher listIntentMetricsPaginator(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest) This is a variant of
listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsPublisher publisher = client.listIntentMetricsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsPublisher publisher = client.listIntentMetricsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsResponse response) { //... }; });
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
listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation.
This is a convenience which creates an instance of the
ListIntentMetricsRequest.Builder
avoiding the need to create one manually viaListIntentMetricsRequest.builder()
- Parameters:
listIntentMetricsRequest
- AConsumer
that will call methods onListIntentMetricsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listIntentPaths
default CompletableFuture<ListIntentPathsResponse> listIntentPaths(ListIntentPathsRequest listIntentPathsRequest) Retrieves summary statistics for a path of intents that users take over sessions with your bot. The following fields are required:
-
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results. -
intentPath
– Define an order of intents for which you want to retrieve metrics. Separate intents in the path with a forward slash. For example, populate theintentPath
field with/BookCar/BookHotel
to see details about how many times users invoked theBookCar
andBookHotel
intents in that order.
Use the optional
filters
field to filter the results.- Parameters:
listIntentPathsRequest
-- Returns:
- A Java Future containing the result of the ListIntentPaths operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listIntentPaths
default CompletableFuture<ListIntentPathsResponse> listIntentPaths(Consumer<ListIntentPathsRequest.Builder> listIntentPathsRequest) Retrieves summary statistics for a path of intents that users take over sessions with your bot. The following fields are required:
-
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results. -
intentPath
– Define an order of intents for which you want to retrieve metrics. Separate intents in the path with a forward slash. For example, populate theintentPath
field with/BookCar/BookHotel
to see details about how many times users invoked theBookCar
andBookHotel
intents in that order.
Use the optional
filters
field to filter the results.
This is a convenience which creates an instance of the
ListIntentPathsRequest.Builder
avoiding the need to create one manually viaListIntentPathsRequest.builder()
- Parameters:
listIntentPathsRequest
- AConsumer
that will call methods onListIntentPathsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListIntentPaths operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listIntentStageMetrics
default CompletableFuture<ListIntentStageMetricsResponse> listIntentStageMetrics(ListIntentStageMetricsRequest listIntentStageMetricsRequest) Retrieves summary metrics for the stages within intents in your bot. The following fields are required:
-
metrics
– A list of AnalyticsIntentStageMetric objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order. -
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
-
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
Note that an
order
field exists in bothbinBy
andmetrics
. You can only specify oneorder
in a given request.- Parameters:
listIntentStageMetricsRequest
-- Returns:
- A Java Future containing the result of the ListIntentStageMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listIntentStageMetrics
default CompletableFuture<ListIntentStageMetricsResponse> listIntentStageMetrics(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest) Retrieves summary metrics for the stages within intents in your bot. The following fields are required:
-
metrics
– A list of AnalyticsIntentStageMetric objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order. -
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
-
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
Note that an
order
field exists in bothbinBy
andmetrics
. You can only specify oneorder
in a given request.
This is a convenience which creates an instance of the
ListIntentStageMetricsRequest.Builder
avoiding the need to create one manually viaListIntentStageMetricsRequest.builder()
- Parameters:
listIntentStageMetricsRequest
- AConsumer
that will call methods onListIntentStageMetricsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListIntentStageMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listIntentStageMetricsPaginator
default ListIntentStageMetricsPublisher listIntentStageMetricsPaginator(ListIntentStageMetricsRequest listIntentStageMetricsRequest) This is a variant of
listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsPublisher publisher = client.listIntentStageMetricsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsPublisher publisher = client.listIntentStageMetricsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsResponse response) { //... }; });
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
listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation.- Parameters:
listIntentStageMetricsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listIntentStageMetricsPaginator
default ListIntentStageMetricsPublisher listIntentStageMetricsPaginator(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest) This is a variant of
listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsPublisher publisher = client.listIntentStageMetricsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsPublisher publisher = client.listIntentStageMetricsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsResponse response) { //... }; });
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
listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation.
This is a convenience which creates an instance of the
ListIntentStageMetricsRequest.Builder
avoiding the need to create one manually viaListIntentStageMetricsRequest.builder()
- Parameters:
listIntentStageMetricsRequest
- AConsumer
that will call methods onListIntentStageMetricsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listIntents
Get a list of intents that meet the specified criteria.
- Parameters:
listIntentsRequest
-- Returns:
- A Java Future containing the result of the ListIntents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listIntents
default CompletableFuture<ListIntentsResponse> listIntents(Consumer<ListIntentsRequest.Builder> listIntentsRequest) 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 viaListIntentsRequest.builder()
- Parameters:
listIntentsRequest
- AConsumer
that will call methods onListIntentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListIntents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listIntentsPaginator
This is a variant of
listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsPublisher publisher = client.listIntentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsPublisher publisher = client.listIntentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse response) { //... }; });
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.- Parameters:
listIntentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listIntentsPaginator
default ListIntentsPublisher listIntentsPaginator(Consumer<ListIntentsRequest.Builder> listIntentsRequest) This is a variant of
listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsPublisher publisher = client.listIntentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsPublisher publisher = client.listIntentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse response) { //... }; });
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 viaListIntentsRequest.builder()
- Parameters:
listIntentsRequest
- AConsumer
that will call methods onListIntentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRecommendedIntents
default CompletableFuture<ListRecommendedIntentsResponse> listRecommendedIntents(ListRecommendedIntentsRequest listRecommendedIntentsRequest) 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.
- Parameters:
listRecommendedIntentsRequest
-- Returns:
- A Java Future containing the result of the ListRecommendedIntents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRecommendedIntents
default CompletableFuture<ListRecommendedIntentsResponse> listRecommendedIntents(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) 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 viaListRecommendedIntentsRequest.builder()
- Parameters:
listRecommendedIntentsRequest
- AConsumer
that will call methods onListRecommendedIntentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRecommendedIntents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRecommendedIntentsPaginator
default ListRecommendedIntentsPublisher listRecommendedIntentsPaginator(ListRecommendedIntentsRequest listRecommendedIntentsRequest) This is a variant of
listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsPublisher publisher = client.listRecommendedIntentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsPublisher publisher = client.listRecommendedIntentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse response) { //... }; });
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.- Parameters:
listRecommendedIntentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listRecommendedIntentsPaginator
default ListRecommendedIntentsPublisher listRecommendedIntentsPaginator(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) This is a variant of
listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsPublisher publisher = client.listRecommendedIntentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsPublisher publisher = client.listRecommendedIntentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse response) { //... }; });
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 viaListRecommendedIntentsRequest.builder()
- Parameters:
listRecommendedIntentsRequest
- AConsumer
that will call methods onListRecommendedIntentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSessionAnalyticsData
default CompletableFuture<ListSessionAnalyticsDataResponse> listSessionAnalyticsData(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest) Retrieves a list of metadata for individual user sessions with your bot. The
startDateTime
andendDateTime
fields are required. These fields define a time range for which you want to retrieve results. Of the optional fields, you can organize the results in the following ways:-
Use the
filters
field to filter the results and thesortBy
field to specify the values by which to sort the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
- Parameters:
listSessionAnalyticsDataRequest
-- Returns:
- A Java Future containing the result of the ListSessionAnalyticsData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listSessionAnalyticsData
default CompletableFuture<ListSessionAnalyticsDataResponse> listSessionAnalyticsData(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest) Retrieves a list of metadata for individual user sessions with your bot. The
startDateTime
andendDateTime
fields are required. These fields define a time range for which you want to retrieve results. Of the optional fields, you can organize the results in the following ways:-
Use the
filters
field to filter the results and thesortBy
field to specify the values by which to sort the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
This is a convenience which creates an instance of the
ListSessionAnalyticsDataRequest.Builder
avoiding the need to create one manually viaListSessionAnalyticsDataRequest.builder()
- Parameters:
listSessionAnalyticsDataRequest
- AConsumer
that will call methods onListSessionAnalyticsDataRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSessionAnalyticsData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listSessionAnalyticsDataPaginator
default ListSessionAnalyticsDataPublisher listSessionAnalyticsDataPaginator(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest) This is a variant of
listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataPublisher publisher = client.listSessionAnalyticsDataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataPublisher publisher = client.listSessionAnalyticsDataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataResponse response) { //... }; });
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
listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation.- Parameters:
listSessionAnalyticsDataRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listSessionAnalyticsDataPaginator
default ListSessionAnalyticsDataPublisher listSessionAnalyticsDataPaginator(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest) This is a variant of
listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataPublisher publisher = client.listSessionAnalyticsDataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataPublisher publisher = client.listSessionAnalyticsDataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataResponse response) { //... }; });
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
listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation.
This is a convenience which creates an instance of the
ListSessionAnalyticsDataRequest.Builder
avoiding the need to create one manually viaListSessionAnalyticsDataRequest.builder()
- Parameters:
listSessionAnalyticsDataRequest
- AConsumer
that will call methods onListSessionAnalyticsDataRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listSessionMetrics
default CompletableFuture<ListSessionMetricsResponse> listSessionMetrics(ListSessionMetricsRequest listSessionMetricsRequest) Retrieves summary metrics for the user sessions with your bot. The following fields are required:
-
metrics
– A list of AnalyticsSessionMetric objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order. -
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
-
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
Note that an
order
field exists in bothbinBy
andmetrics
. Currently, you can specify it in either field, but not in both.- Parameters:
listSessionMetricsRequest
-- Returns:
- A Java Future containing the result of the ListSessionMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listSessionMetrics
default CompletableFuture<ListSessionMetricsResponse> listSessionMetrics(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest) Retrieves summary metrics for the user sessions with your bot. The following fields are required:
-
metrics
– A list of AnalyticsSessionMetric objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order. -
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
-
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
Note that an
order
field exists in bothbinBy
andmetrics
. Currently, you can specify it in either field, but not in both.
This is a convenience which creates an instance of the
ListSessionMetricsRequest.Builder
avoiding the need to create one manually viaListSessionMetricsRequest.builder()
- Parameters:
listSessionMetricsRequest
- AConsumer
that will call methods onListSessionMetricsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSessionMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listSessionMetricsPaginator
default ListSessionMetricsPublisher listSessionMetricsPaginator(ListSessionMetricsRequest listSessionMetricsRequest) This is a variant of
listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsPublisher publisher = client.listSessionMetricsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsPublisher publisher = client.listSessionMetricsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsResponse response) { //... }; });
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
listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation.- Parameters:
listSessionMetricsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listSessionMetricsPaginator
default ListSessionMetricsPublisher listSessionMetricsPaginator(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest) This is a variant of
listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsPublisher publisher = client.listSessionMetricsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsPublisher publisher = client.listSessionMetricsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsResponse response) { //... }; });
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
listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation.
This is a convenience which creates an instance of the
ListSessionMetricsRequest.Builder
avoiding the need to create one manually viaListSessionMetricsRequest.builder()
- Parameters:
listSessionMetricsRequest
- AConsumer
that will call methods onListSessionMetricsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listSlotTypes
default CompletableFuture<ListSlotTypesResponse> listSlotTypes(ListSlotTypesRequest listSlotTypesRequest) Gets a list of slot types that match the specified criteria.
- Parameters:
listSlotTypesRequest
-- Returns:
- A Java Future containing the result of the ListSlotTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSlotTypes
default CompletableFuture<ListSlotTypesResponse> listSlotTypes(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) 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 viaListSlotTypesRequest.builder()
- Parameters:
listSlotTypesRequest
- AConsumer
that will call methods onListSlotTypesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSlotTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSlotTypesPaginator
This is a variant of
listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesPublisher publisher = client.listSlotTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesPublisher publisher = client.listSlotTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse response) { //... }; });
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.- Parameters:
listSlotTypesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSlotTypesPaginator
default ListSlotTypesPublisher listSlotTypesPaginator(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) This is a variant of
listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesPublisher publisher = client.listSlotTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesPublisher publisher = client.listSlotTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse response) { //... }; });
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 viaListSlotTypesRequest.builder()
- Parameters:
listSlotTypesRequest
- AConsumer
that will call methods onListSlotTypesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSlots
Gets a list of slots that match the specified criteria.
- Parameters:
listSlotsRequest
-- Returns:
- A Java Future containing the result of the ListSlots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSlots
default CompletableFuture<ListSlotsResponse> listSlots(Consumer<ListSlotsRequest.Builder> listSlotsRequest) 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 viaListSlotsRequest.builder()
- Parameters:
listSlotsRequest
- AConsumer
that will call methods onListSlotsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSlots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSlotsPaginator
This is a variant of
listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsPublisher publisher = client.listSlotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsPublisher publisher = client.listSlotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse response) { //... }; });
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.- Parameters:
listSlotsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSlotsPaginator
This is a variant of
listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsPublisher publisher = client.listSlotsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsPublisher publisher = client.listSlotsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse response) { //... }; });
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 viaListSlotsRequest.builder()
- Parameters:
listSlotsRequest
- AConsumer
that will call methods onListSlotsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) 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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestExecutionResultItems
default CompletableFuture<ListTestExecutionResultItemsResponse> listTestExecutionResultItems(ListTestExecutionResultItemsRequest listTestExecutionResultItemsRequest) Gets a list of test execution result items.
- Parameters:
listTestExecutionResultItemsRequest
-- Returns:
- A Java Future containing the result of the ListTestExecutionResultItems operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestExecutionResultItems
default CompletableFuture<ListTestExecutionResultItemsResponse> listTestExecutionResultItems(Consumer<ListTestExecutionResultItemsRequest.Builder> listTestExecutionResultItemsRequest) Gets a list of test execution result items.
This is a convenience which creates an instance of the
ListTestExecutionResultItemsRequest.Builder
avoiding the need to create one manually viaListTestExecutionResultItemsRequest.builder()
- Parameters:
listTestExecutionResultItemsRequest
- AConsumer
that will call methods onListTestExecutionResultItemsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTestExecutionResultItems operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestExecutionResultItemsPaginator
default ListTestExecutionResultItemsPublisher listTestExecutionResultItemsPaginator(ListTestExecutionResultItemsRequest listTestExecutionResultItemsRequest) This is a variant of
listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsPublisher publisher = client.listTestExecutionResultItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsPublisher publisher = client.listTestExecutionResultItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsResponse response) { //... }; });
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
listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest)
operation.- Parameters:
listTestExecutionResultItemsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestExecutionResultItemsPaginator
default ListTestExecutionResultItemsPublisher listTestExecutionResultItemsPaginator(Consumer<ListTestExecutionResultItemsRequest.Builder> listTestExecutionResultItemsRequest) This is a variant of
listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsPublisher publisher = client.listTestExecutionResultItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsPublisher publisher = client.listTestExecutionResultItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsResponse response) { //... }; });
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
listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest)
operation.
This is a convenience which creates an instance of the
ListTestExecutionResultItemsRequest.Builder
avoiding the need to create one manually viaListTestExecutionResultItemsRequest.builder()
- Parameters:
listTestExecutionResultItemsRequest
- AConsumer
that will call methods onListTestExecutionResultItemsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestExecutions
default CompletableFuture<ListTestExecutionsResponse> listTestExecutions(ListTestExecutionsRequest listTestExecutionsRequest) The list of test set executions.
- Parameters:
listTestExecutionsRequest
-- Returns:
- A Java Future containing the result of the ListTestExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestExecutions
default CompletableFuture<ListTestExecutionsResponse> listTestExecutions(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest) The list of test set executions.
This is a convenience which creates an instance of the
ListTestExecutionsRequest.Builder
avoiding the need to create one manually viaListTestExecutionsRequest.builder()
- Parameters:
listTestExecutionsRequest
- AConsumer
that will call methods onListTestExecutionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTestExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestExecutionsPaginator
default ListTestExecutionsPublisher listTestExecutionsPaginator(ListTestExecutionsRequest listTestExecutionsRequest) This is a variant of
listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsPublisher publisher = client.listTestExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsPublisher publisher = client.listTestExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsResponse response) { //... }; });
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
listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation.- Parameters:
listTestExecutionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestExecutionsPaginator
default ListTestExecutionsPublisher listTestExecutionsPaginator(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest) This is a variant of
listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsPublisher publisher = client.listTestExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsPublisher publisher = client.listTestExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsResponse response) { //... }; });
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
listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation.
This is a convenience which creates an instance of the
ListTestExecutionsRequest.Builder
avoiding the need to create one manually viaListTestExecutionsRequest.builder()
- Parameters:
listTestExecutionsRequest
- AConsumer
that will call methods onListTestExecutionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestSetRecords
default CompletableFuture<ListTestSetRecordsResponse> listTestSetRecords(ListTestSetRecordsRequest listTestSetRecordsRequest) The list of test set records.
- Parameters:
listTestSetRecordsRequest
-- Returns:
- A Java Future containing the result of the ListTestSetRecords operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestSetRecords
default CompletableFuture<ListTestSetRecordsResponse> listTestSetRecords(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest) The list of test set records.
This is a convenience which creates an instance of the
ListTestSetRecordsRequest.Builder
avoiding the need to create one manually viaListTestSetRecordsRequest.builder()
- Parameters:
listTestSetRecordsRequest
- AConsumer
that will call methods onListTestSetRecordsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTestSetRecords operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestSetRecordsPaginator
default ListTestSetRecordsPublisher listTestSetRecordsPaginator(ListTestSetRecordsRequest listTestSetRecordsRequest) This is a variant of
listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsPublisher publisher = client.listTestSetRecordsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsPublisher publisher = client.listTestSetRecordsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsResponse response) { //... }; });
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
listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation.- Parameters:
listTestSetRecordsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestSetRecordsPaginator
default ListTestSetRecordsPublisher listTestSetRecordsPaginator(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest) This is a variant of
listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsPublisher publisher = client.listTestSetRecordsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsPublisher publisher = client.listTestSetRecordsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsResponse response) { //... }; });
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
listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation.
This is a convenience which creates an instance of the
ListTestSetRecordsRequest.Builder
avoiding the need to create one manually viaListTestSetRecordsRequest.builder()
- Parameters:
listTestSetRecordsRequest
- AConsumer
that will call methods onListTestSetRecordsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestSets
default CompletableFuture<ListTestSetsResponse> listTestSets(ListTestSetsRequest listTestSetsRequest) The list of the test sets
- Parameters:
listTestSetsRequest
-- Returns:
- A Java Future containing the result of the ListTestSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestSets
default CompletableFuture<ListTestSetsResponse> listTestSets(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest) The list of the test sets
This is a convenience which creates an instance of the
ListTestSetsRequest.Builder
avoiding the need to create one manually viaListTestSetsRequest.builder()
- Parameters:
listTestSetsRequest
- AConsumer
that will call methods onListTestSetsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTestSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestSetsPaginator
This is a variant of
listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsPublisher publisher = client.listTestSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsPublisher publisher = client.listTestSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsResponse response) { //... }; });
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
listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)
operation.- Parameters:
listTestSetsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTestSetsPaginator
default ListTestSetsPublisher listTestSetsPaginator(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest) This is a variant of
listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsPublisher publisher = client.listTestSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsPublisher publisher = client.listTestSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsResponse response) { //... }; });
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
listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)
operation.
This is a convenience which creates an instance of the
ListTestSetsRequest.Builder
avoiding the need to create one manually viaListTestSetsRequest.builder()
- Parameters:
listTestSetsRequest
- AConsumer
that will call methods onListTestSetsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listUtteranceAnalyticsData
default CompletableFuture<ListUtteranceAnalyticsDataResponse> listUtteranceAnalyticsData(ListUtteranceAnalyticsDataRequest listUtteranceAnalyticsDataRequest) To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics. See Viewing utterance statistics for the IAM policy to apply to the IAM role.
Retrieves a list of metadata for individual user utterances to your bot. The following fields are required:
-
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
-
Use the
filters
field to filter the results and thesortBy
field to specify the values by which to sort the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
- Parameters:
listUtteranceAnalyticsDataRequest
-- Returns:
- A Java Future containing the result of the ListUtteranceAnalyticsData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listUtteranceAnalyticsData
default CompletableFuture<ListUtteranceAnalyticsDataResponse> listUtteranceAnalyticsData(Consumer<ListUtteranceAnalyticsDataRequest.Builder> listUtteranceAnalyticsDataRequest) To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics. See Viewing utterance statistics for the IAM policy to apply to the IAM role.
Retrieves a list of metadata for individual user utterances to your bot. The following fields are required:
-
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
-
Use the
filters
field to filter the results and thesortBy
field to specify the values by which to sort the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
This is a convenience which creates an instance of the
ListUtteranceAnalyticsDataRequest.Builder
avoiding the need to create one manually viaListUtteranceAnalyticsDataRequest.builder()
- Parameters:
listUtteranceAnalyticsDataRequest
- AConsumer
that will call methods onListUtteranceAnalyticsDataRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListUtteranceAnalyticsData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listUtteranceAnalyticsDataPaginator
default ListUtteranceAnalyticsDataPublisher listUtteranceAnalyticsDataPaginator(ListUtteranceAnalyticsDataRequest listUtteranceAnalyticsDataRequest) This is a variant of
listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataPublisher publisher = client.listUtteranceAnalyticsDataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataPublisher publisher = client.listUtteranceAnalyticsDataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataResponse response) { //... }; });
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
listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest)
operation.- Parameters:
listUtteranceAnalyticsDataRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listUtteranceAnalyticsDataPaginator
default ListUtteranceAnalyticsDataPublisher listUtteranceAnalyticsDataPaginator(Consumer<ListUtteranceAnalyticsDataRequest.Builder> listUtteranceAnalyticsDataRequest) This is a variant of
listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataPublisher publisher = client.listUtteranceAnalyticsDataPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataPublisher publisher = client.listUtteranceAnalyticsDataPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataResponse response) { //... }; });
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
listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest)
operation.
This is a convenience which creates an instance of the
ListUtteranceAnalyticsDataRequest.Builder
avoiding the need to create one manually viaListUtteranceAnalyticsDataRequest.builder()
- Parameters:
listUtteranceAnalyticsDataRequest
- AConsumer
that will call methods onListUtteranceAnalyticsDataRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listUtteranceMetrics
default CompletableFuture<ListUtteranceMetricsResponse> listUtteranceMetrics(ListUtteranceMetricsRequest listUtteranceMetricsRequest) To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics. See Viewing utterance statistics for the IAM policy to apply to the IAM role.
Retrieves summary metrics for the utterances in your bot. The following fields are required:
-
metrics
– A list of AnalyticsUtteranceMetric objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order. -
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
-
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
Note that an
order
field exists in bothbinBy
andmetrics
. Currently, you can specify it in either field, but not in both.- Parameters:
listUtteranceMetricsRequest
-- Returns:
- A Java Future containing the result of the ListUtteranceMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listUtteranceMetrics
default CompletableFuture<ListUtteranceMetricsResponse> listUtteranceMetrics(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest) To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics. See Viewing utterance statistics for the IAM policy to apply to the IAM role.
Retrieves summary metrics for the utterances in your bot. The following fields are required:
-
metrics
– A list of AnalyticsUtteranceMetric objects. In each object, use thename
field to specify the metric to calculate, thestatistic
field to specify whether to calculate theSum
,Average
, orMax
number, and theorder
field to specify whether to sort the results inAscending
orDescending
order. -
startDateTime
andendDateTime
– Define a time range for which you want to retrieve results.
Of the optional fields, you can organize the results in the following ways:
-
Use the
filters
field to filter the results, thegroupBy
field to specify categories by which to group the results, and thebinBy
field to specify time intervals by which to group the results. -
Use the
maxResults
field to limit the number of results to return in a single response and thenextToken
field to return the next batch of results if the response does not return the full set of results.
Note that an
order
field exists in bothbinBy
andmetrics
. Currently, you can specify it in either field, but not in both.
This is a convenience which creates an instance of the
ListUtteranceMetricsRequest.Builder
avoiding the need to create one manually viaListUtteranceMetricsRequest.builder()
- Parameters:
listUtteranceMetricsRequest
- AConsumer
that will call methods onListUtteranceMetricsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListUtteranceMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
-
listUtteranceMetricsPaginator
default ListUtteranceMetricsPublisher listUtteranceMetricsPaginator(ListUtteranceMetricsRequest listUtteranceMetricsRequest) This is a variant of
listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsPublisher publisher = client.listUtteranceMetricsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsPublisher publisher = client.listUtteranceMetricsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsResponse response) { //... }; });
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
listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)
operation.- Parameters:
listUtteranceMetricsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
listUtteranceMetricsPaginator
default ListUtteranceMetricsPublisher listUtteranceMetricsPaginator(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest) This is a variant of
listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsPublisher publisher = client.listUtteranceMetricsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsPublisher publisher = client.listUtteranceMetricsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsResponse response) { //... }; });
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
listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)
operation.
This is a convenience which creates an instance of the
ListUtteranceMetricsRequest.Builder
avoiding the need to create one manually viaListUtteranceMetricsRequest.builder()
- Parameters:
listUtteranceMetricsRequest
- AConsumer
that will call methods onListUtteranceMetricsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- See Also:
-
searchAssociatedTranscripts
default CompletableFuture<SearchAssociatedTranscriptsResponse> searchAssociatedTranscripts(SearchAssociatedTranscriptsRequest searchAssociatedTranscriptsRequest) Search for associated transcripts that meet the specified criteria.
- Parameters:
searchAssociatedTranscriptsRequest
-- Returns:
- A Java Future containing the result of the SearchAssociatedTranscripts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
searchAssociatedTranscripts
default CompletableFuture<SearchAssociatedTranscriptsResponse> searchAssociatedTranscripts(Consumer<SearchAssociatedTranscriptsRequest.Builder> searchAssociatedTranscriptsRequest) 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 viaSearchAssociatedTranscriptsRequest.builder()
- Parameters:
searchAssociatedTranscriptsRequest
- AConsumer
that will call methods onSearchAssociatedTranscriptsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SearchAssociatedTranscripts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
startBotRecommendation
default CompletableFuture<StartBotRecommendationResponse> startBotRecommendation(StartBotRecommendationRequest startBotRecommendationRequest) Use this to provide your transcript data, and to start the bot recommendation process.
- Parameters:
startBotRecommendationRequest
-- Returns:
- A Java Future containing the result of the StartBotRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
startBotRecommendation
default CompletableFuture<StartBotRecommendationResponse> startBotRecommendation(Consumer<StartBotRecommendationRequest.Builder> startBotRecommendationRequest) 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 viaStartBotRecommendationRequest.builder()
- Parameters:
startBotRecommendationRequest
- AConsumer
that will call methods onStartBotRecommendationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartBotRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
startBotResourceGeneration
default CompletableFuture<StartBotResourceGenerationResponse> startBotResourceGeneration(StartBotResourceGenerationRequest startBotResourceGenerationRequest) Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it. After you make this call, use the
DescribeBotResourceGeneration
operation to check on the status of the generation and for thegeneratedBotLocaleUrl
when the generation is complete. Use that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.- Parameters:
startBotResourceGenerationRequest
-- Returns:
- A Java Future containing the result of the StartBotResourceGeneration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
startBotResourceGeneration
default CompletableFuture<StartBotResourceGenerationResponse> startBotResourceGeneration(Consumer<StartBotResourceGenerationRequest.Builder> startBotResourceGenerationRequest) Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it. After you make this call, use the
DescribeBotResourceGeneration
operation to check on the status of the generation and for thegeneratedBotLocaleUrl
when the generation is complete. Use that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.
This is a convenience which creates an instance of the
StartBotResourceGenerationRequest.Builder
avoiding the need to create one manually viaStartBotResourceGenerationRequest.builder()
- Parameters:
startBotResourceGenerationRequest
- AConsumer
that will call methods onStartBotResourceGenerationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartBotResourceGeneration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
startImport
Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
- Parameters:
startImportRequest
-- Returns:
- A Java Future containing the result of the StartImport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
startImport
default CompletableFuture<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.
This is a convenience which creates an instance of the
StartImportRequest.Builder
avoiding the need to create one manually viaStartImportRequest.builder()
- Parameters:
startImportRequest
- AConsumer
that will call methods onStartImportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartImport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
startTestExecution
default CompletableFuture<StartTestExecutionResponse> startTestExecution(StartTestExecutionRequest startTestExecutionRequest) The action to start test set execution.
- Parameters:
startTestExecutionRequest
-- Returns:
- A Java Future containing the result of the StartTestExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException Your request rate is too high. Reduce the frequency of requests.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- 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.
- See Also:
-
startTestExecution
default CompletableFuture<StartTestExecutionResponse> startTestExecution(Consumer<StartTestExecutionRequest.Builder> startTestExecutionRequest) The action to start test set execution.
This is a convenience which creates an instance of the
StartTestExecutionRequest.Builder
avoiding the need to create one manually viaStartTestExecutionRequest.builder()
- Parameters:
startTestExecutionRequest
- AConsumer
that will call methods onStartTestExecutionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartTestExecution operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ThrottlingException Your request rate is too high. Reduce the frequency of requests.
- ServiceQuotaExceededException You have reached a quota for your bot.
- 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.
- 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.
- See Also:
-
startTestSetGeneration
default CompletableFuture<StartTestSetGenerationResponse> startTestSetGeneration(StartTestSetGenerationRequest startTestSetGenerationRequest) The action to start the generation of test set.
- Parameters:
startTestSetGenerationRequest
-- Returns:
- A Java Future containing the result of the StartTestSetGeneration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- See Also:
-
startTestSetGeneration
default CompletableFuture<StartTestSetGenerationResponse> startTestSetGeneration(Consumer<StartTestSetGenerationRequest.Builder> startTestSetGenerationRequest) The action to start the generation of test set.
This is a convenience which creates an instance of the
StartTestSetGenerationRequest.Builder
avoiding the need to create one manually viaStartTestSetGenerationRequest.builder()
- Parameters:
startTestSetGenerationRequest
- AConsumer
that will call methods onStartTestSetGenerationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartTestSetGeneration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- 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.
- See Also:
-
stopBotRecommendation
default CompletableFuture<StopBotRecommendationResponse> stopBotRecommendation(StopBotRecommendationRequest stopBotRecommendationRequest) Stop an already running Bot Recommendation request.
- Parameters:
stopBotRecommendationRequest
-- Returns:
- A Java Future containing the result of the StopBotRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
stopBotRecommendation
default CompletableFuture<StopBotRecommendationResponse> stopBotRecommendation(Consumer<StopBotRecommendationRequest.Builder> stopBotRecommendationRequest) 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 viaStopBotRecommendationRequest.builder()
- Parameters:
stopBotRecommendationRequest
- AConsumer
that will call methods onStopBotRecommendationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StopBotRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
tagResource
Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) 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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a bot, bot alias, or bot channel.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) 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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateBot
Updates the configuration of an existing bot.
- Parameters:
updateBotRequest
-- Returns:
- A Java Future containing the result of the UpdateBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateBot
default CompletableFuture<UpdateBotResponse> updateBot(Consumer<UpdateBotRequest.Builder> updateBotRequest) 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 viaUpdateBotRequest.builder()
- Parameters:
updateBotRequest
- AConsumer
that will call methods onUpdateBotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateBot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateBotAlias
default CompletableFuture<UpdateBotAliasResponse> updateBotAlias(UpdateBotAliasRequest updateBotAliasRequest) Updates the configuration of an existing bot alias.
- Parameters:
updateBotAliasRequest
-- Returns:
- A Java Future containing the result of the UpdateBotAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateBotAlias
default CompletableFuture<UpdateBotAliasResponse> updateBotAlias(Consumer<UpdateBotAliasRequest.Builder> updateBotAliasRequest) 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 viaUpdateBotAliasRequest.builder()
- Parameters:
updateBotAliasRequest
- AConsumer
that will call methods onUpdateBotAliasRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateBotAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateBotLocale
default CompletableFuture<UpdateBotLocaleResponse> updateBotLocale(UpdateBotLocaleRequest updateBotLocaleRequest) Updates the settings that a bot has for a specific locale.
- Parameters:
updateBotLocaleRequest
-- Returns:
- A Java Future containing the result of the UpdateBotLocale operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateBotLocale
default CompletableFuture<UpdateBotLocaleResponse> updateBotLocale(Consumer<UpdateBotLocaleRequest.Builder> updateBotLocaleRequest) 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 viaUpdateBotLocaleRequest.builder()
- Parameters:
updateBotLocaleRequest
- AConsumer
that will call methods onUpdateBotLocaleRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateBotLocale operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateBotRecommendation
default CompletableFuture<UpdateBotRecommendationResponse> updateBotRecommendation(UpdateBotRecommendationRequest updateBotRecommendationRequest) Updates an existing bot recommendation request.
- Parameters:
updateBotRecommendationRequest
-- Returns:
- A Java Future containing the result of the UpdateBotRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateBotRecommendation
default CompletableFuture<UpdateBotRecommendationResponse> updateBotRecommendation(Consumer<UpdateBotRecommendationRequest.Builder> updateBotRecommendationRequest) 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 viaUpdateBotRecommendationRequest.builder()
- Parameters:
updateBotRecommendationRequest
- AConsumer
that will call methods onUpdateBotRecommendationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateBotRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateExport
default CompletableFuture<UpdateExportResponse> updateExport(UpdateExportRequest updateExportRequest) 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.
- Parameters:
updateExportRequest
-- Returns:
- A Java Future containing the result of the UpdateExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateExport
default CompletableFuture<UpdateExportResponse> updateExport(Consumer<UpdateExportRequest.Builder> updateExportRequest) 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 viaUpdateExportRequest.builder()
- Parameters:
updateExportRequest
- AConsumer
that will call methods onUpdateExportRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateIntent
default CompletableFuture<UpdateIntentResponse> updateIntent(UpdateIntentRequest updateIntentRequest) Updates the settings for an intent.
- Parameters:
updateIntentRequest
-- Returns:
- A Java Future containing the result of the UpdateIntent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateIntent
default CompletableFuture<UpdateIntentResponse> updateIntent(Consumer<UpdateIntentRequest.Builder> updateIntentRequest) 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 viaUpdateIntentRequest.builder()
- Parameters:
updateIntentRequest
- AConsumer
that will call methods onUpdateIntentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateIntent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateResourcePolicy
default CompletableFuture<UpdateResourcePolicyResponse> updateResourcePolicy(UpdateResourcePolicyRequest updateResourcePolicyRequest) 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.
- Parameters:
updateResourcePolicyRequest
-- Returns:
- A Java Future containing the result of the UpdateResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateResourcePolicy
default CompletableFuture<UpdateResourcePolicyResponse> updateResourcePolicy(Consumer<UpdateResourcePolicyRequest.Builder> updateResourcePolicyRequest) 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 viaUpdateResourcePolicyRequest.builder()
- Parameters:
updateResourcePolicyRequest
- AConsumer
that will call methods onUpdateResourcePolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateSlot
Updates the settings for a slot.
- Parameters:
updateSlotRequest
-- Returns:
- A Java Future containing the result of the UpdateSlot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateSlot
default CompletableFuture<UpdateSlotResponse> updateSlot(Consumer<UpdateSlotRequest.Builder> updateSlotRequest) 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 viaUpdateSlotRequest.builder()
- Parameters:
updateSlotRequest
- AConsumer
that will call methods onUpdateSlotRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSlot operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateSlotType
default CompletableFuture<UpdateSlotTypeResponse> updateSlotType(UpdateSlotTypeRequest updateSlotTypeRequest) Updates the configuration of an existing slot type.
- Parameters:
updateSlotTypeRequest
-- Returns:
- A Java Future containing the result of the UpdateSlotType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateSlotType
default CompletableFuture<UpdateSlotTypeResponse> updateSlotType(Consumer<UpdateSlotTypeRequest.Builder> updateSlotTypeRequest) 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 viaUpdateSlotTypeRequest.builder()
- Parameters:
updateSlotTypeRequest
- AConsumer
that will call methods onUpdateSlotTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSlotType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateTestSet
default CompletableFuture<UpdateTestSetResponse> updateTestSet(UpdateTestSetRequest updateTestSetRequest) The action to update the test set.
- Parameters:
updateTestSetRequest
-- Returns:
- A Java Future containing the result of the UpdateTestSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateTestSet
default CompletableFuture<UpdateTestSetResponse> updateTestSet(Consumer<UpdateTestSetRequest.Builder> updateTestSetRequest) The action to update the test set.
This is a convenience which creates an instance of the
UpdateTestSetRequest.Builder
avoiding the need to create one manually viaUpdateTestSetRequest.builder()
- Parameters:
updateTestSetRequest
- AConsumer
that will call methods onUpdateTestSetRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateTestSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
waiter
Create an instance ofLexModelsV2AsyncWaiter
using this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
LexModelsV2AsyncWaiter
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aLexModelsV2AsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aLexModelsV2AsyncClient
.
-