Interface LexModelsV2Client
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
-
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 BuildBotLocaleResponse
buildBotLocale
(Consumer<BuildBotLocaleRequest.Builder> buildBotLocaleRequest) Builds a bot, its intents, and its slot types into a specific locale.default BuildBotLocaleResponse
buildBotLocale
(BuildBotLocaleRequest buildBotLocaleRequest) Builds a bot, its intents, and its slot types into a specific locale.static LexModelsV2ClientBuilder
builder()
Create a builder that can be used to configure and create aLexModelsV2Client
.static LexModelsV2Client
create()
Create aLexModelsV2Client
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateBotResponse
createBot
(Consumer<CreateBotRequest.Builder> createBotRequest) Creates an Amazon Lex conversational bot.default CreateBotResponse
createBot
(CreateBotRequest createBotRequest) Creates an Amazon Lex conversational bot.default CreateBotAliasResponse
createBotAlias
(Consumer<CreateBotAliasRequest.Builder> createBotAliasRequest) Creates an alias for the specified version of a bot.default CreateBotAliasResponse
createBotAlias
(CreateBotAliasRequest createBotAliasRequest) Creates an alias for the specified version of a bot.default CreateBotLocaleResponse
createBotLocale
(Consumer<CreateBotLocaleRequest.Builder> createBotLocaleRequest) Creates a locale in the bot.default CreateBotLocaleResponse
createBotLocale
(CreateBotLocaleRequest createBotLocaleRequest) Creates a locale in the bot.default CreateBotReplicaResponse
createBotReplica
(Consumer<CreateBotReplicaRequest.Builder> createBotReplicaRequest) Action to create a replication of the source bot in the secondary region.default CreateBotReplicaResponse
createBotReplica
(CreateBotReplicaRequest createBotReplicaRequest) Action to create a replication of the source bot in the secondary region.default CreateBotVersionResponse
createBotVersion
(Consumer<CreateBotVersionRequest.Builder> createBotVersionRequest) Creates an immutable version of the bot.default CreateBotVersionResponse
createBotVersion
(CreateBotVersionRequest createBotVersionRequest) Creates an immutable version of the bot.default CreateExportResponse
createExport
(Consumer<CreateExportRequest.Builder> createExportRequest) Creates a zip archive containing the contents of a bot or a bot locale.default CreateExportResponse
createExport
(CreateExportRequest createExportRequest) Creates a zip archive containing the contents of a bot or a bot locale.default CreateIntentResponse
createIntent
(Consumer<CreateIntentRequest.Builder> createIntentRequest) Creates an intent.default CreateIntentResponse
createIntent
(CreateIntentRequest createIntentRequest) Creates an intent.default CreateResourcePolicyResponse
createResourcePolicy
(Consumer<CreateResourcePolicyRequest.Builder> createResourcePolicyRequest) Creates a new resource policy with the specified policy statements.default CreateResourcePolicyResponse
createResourcePolicy
(CreateResourcePolicyRequest createResourcePolicyRequest) Creates a new resource policy with the specified policy statements.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 CreateSlotResponse
createSlot
(Consumer<CreateSlotRequest.Builder> createSlotRequest) Creates a slot in an intent.default CreateSlotResponse
createSlot
(CreateSlotRequest createSlotRequest) Creates a slot in an intent.default CreateSlotTypeResponse
createSlotType
(Consumer<CreateSlotTypeRequest.Builder> createSlotTypeRequest) Creates a custom slot typedefault 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 CreateUploadUrlResponse
createUploadUrl
(Consumer<CreateUploadUrlRequest.Builder> createUploadUrlRequest) Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.default CreateUploadUrlResponse
createUploadUrl
(CreateUploadUrlRequest createUploadUrlRequest) Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.default DeleteBotResponse
deleteBot
(Consumer<DeleteBotRequest.Builder> deleteBotRequest) Deletes all versions of a bot, including theDraft
version.default DeleteBotResponse
deleteBot
(DeleteBotRequest deleteBotRequest) Deletes all versions of a bot, including theDraft
version.default DeleteBotAliasResponse
deleteBotAlias
(Consumer<DeleteBotAliasRequest.Builder> deleteBotAliasRequest) Deletes the specified bot alias.default DeleteBotAliasResponse
deleteBotAlias
(DeleteBotAliasRequest deleteBotAliasRequest) Deletes the specified bot alias.default DeleteBotLocaleResponse
deleteBotLocale
(Consumer<DeleteBotLocaleRequest.Builder> deleteBotLocaleRequest) Removes a locale from a bot.default DeleteBotLocaleResponse
deleteBotLocale
(DeleteBotLocaleRequest deleteBotLocaleRequest) Removes a locale from a bot.default DeleteBotReplicaResponse
deleteBotReplica
(Consumer<DeleteBotReplicaRequest.Builder> deleteBotReplicaRequest) The action to delete the replicated bot in the secondary region.default DeleteBotReplicaResponse
deleteBotReplica
(DeleteBotReplicaRequest deleteBotReplicaRequest) The action to delete the replicated bot in the secondary region.default DeleteBotVersionResponse
deleteBotVersion
(Consumer<DeleteBotVersionRequest.Builder> deleteBotVersionRequest) Deletes a specific version of a bot.default DeleteBotVersionResponse
deleteBotVersion
(DeleteBotVersionRequest deleteBotVersionRequest) Deletes a specific version of a bot.default DeleteCustomVocabularyResponse
deleteCustomVocabulary
(Consumer<DeleteCustomVocabularyRequest.Builder> deleteCustomVocabularyRequest) Removes a custom vocabulary from the specified locale in the specified bot.default DeleteCustomVocabularyResponse
deleteCustomVocabulary
(DeleteCustomVocabularyRequest deleteCustomVocabularyRequest) Removes a custom vocabulary from the specified locale in the specified bot.default DeleteExportResponse
deleteExport
(Consumer<DeleteExportRequest.Builder> deleteExportRequest) Removes a previous export and the associated files stored in an S3 bucket.default DeleteExportResponse
deleteExport
(DeleteExportRequest deleteExportRequest) Removes a previous export and the associated files stored in an S3 bucket.default DeleteImportResponse
deleteImport
(Consumer<DeleteImportRequest.Builder> deleteImportRequest) Removes a previous import and the associated file stored in an S3 bucket.default DeleteImportResponse
deleteImport
(DeleteImportRequest deleteImportRequest) Removes a previous import and the associated file stored in an S3 bucket.default DeleteIntentResponse
deleteIntent
(Consumer<DeleteIntentRequest.Builder> deleteIntentRequest) Removes the specified intent.default DeleteIntentResponse
deleteIntent
(DeleteIntentRequest deleteIntentRequest) Removes the specified intent.default DeleteResourcePolicyResponse
deleteResourcePolicy
(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Removes an existing policy from a bot or bot alias.default DeleteResourcePolicyResponse
deleteResourcePolicy
(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Removes an existing policy from a bot or bot alias.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 DeleteSlotResponse
deleteSlot
(Consumer<DeleteSlotRequest.Builder> deleteSlotRequest) Deletes the specified slot from an intent.default DeleteSlotResponse
deleteSlot
(DeleteSlotRequest deleteSlotRequest) Deletes the specified slot from an intent.default DeleteSlotTypeResponse
deleteSlotType
(Consumer<DeleteSlotTypeRequest.Builder> deleteSlotTypeRequest) Deletes a slot type from a bot locale.default DeleteSlotTypeResponse
deleteSlotType
(DeleteSlotTypeRequest deleteSlotTypeRequest) Deletes a slot type from a bot locale.default DeleteTestSetResponse
deleteTestSet
(Consumer<DeleteTestSetRequest.Builder> deleteTestSetRequest) The action to delete the selected test set.default DeleteTestSetResponse
deleteTestSet
(DeleteTestSetRequest deleteTestSetRequest) The action to delete the selected test set.default DeleteUtterancesResponse
deleteUtterances
(Consumer<DeleteUtterancesRequest.Builder> deleteUtterancesRequest) Deletes stored utterances.default DeleteUtterancesResponse
deleteUtterances
(DeleteUtterancesRequest deleteUtterancesRequest) Deletes stored utterances.default DescribeBotResponse
describeBot
(Consumer<DescribeBotRequest.Builder> describeBotRequest) Provides metadata information about a bot.default DescribeBotResponse
describeBot
(DescribeBotRequest describeBotRequest) Provides metadata information about a bot.default DescribeBotAliasResponse
describeBotAlias
(Consumer<DescribeBotAliasRequest.Builder> describeBotAliasRequest) Get information about a specific bot alias.default DescribeBotAliasResponse
describeBotAlias
(DescribeBotAliasRequest describeBotAliasRequest) Get information about a specific bot alias.default DescribeBotLocaleResponse
describeBotLocale
(Consumer<DescribeBotLocaleRequest.Builder> describeBotLocaleRequest) Describes the settings that a bot has for a specific locale.default DescribeBotLocaleResponse
describeBotLocale
(DescribeBotLocaleRequest describeBotLocaleRequest) Describes the settings that a bot has for a specific locale.describeBotRecommendation
(Consumer<DescribeBotRecommendationRequest.Builder> describeBotRecommendationRequest) Provides metadata information about a bot recommendation.describeBotRecommendation
(DescribeBotRecommendationRequest describeBotRecommendationRequest) Provides metadata information about a bot recommendation.default DescribeBotReplicaResponse
describeBotReplica
(Consumer<DescribeBotReplicaRequest.Builder> describeBotReplicaRequest) Monitors the bot replication status through the UI console.default DescribeBotReplicaResponse
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.default DescribeBotVersionResponse
describeBotVersion
(Consumer<DescribeBotVersionRequest.Builder> describeBotVersionRequest) Provides metadata about a version of a bot.default DescribeBotVersionResponse
describeBotVersion
(DescribeBotVersionRequest describeBotVersionRequest) Provides metadata about a version of a bot.describeCustomVocabularyMetadata
(Consumer<DescribeCustomVocabularyMetadataRequest.Builder> describeCustomVocabularyMetadataRequest) Provides metadata information about a custom vocabulary.describeCustomVocabularyMetadata
(DescribeCustomVocabularyMetadataRequest describeCustomVocabularyMetadataRequest) Provides metadata information about a custom vocabulary.default DescribeExportResponse
describeExport
(Consumer<DescribeExportRequest.Builder> describeExportRequest) Gets information about a specific export.default DescribeExportResponse
describeExport
(DescribeExportRequest describeExportRequest) Gets information about a specific export.default DescribeImportResponse
describeImport
(Consumer<DescribeImportRequest.Builder> describeImportRequest) Gets information about a specific import.default DescribeImportResponse
describeImport
(DescribeImportRequest describeImportRequest) Gets information about a specific import.default DescribeIntentResponse
describeIntent
(Consumer<DescribeIntentRequest.Builder> describeIntentRequest) Returns metadata about an intent.default DescribeIntentResponse
describeIntent
(DescribeIntentRequest describeIntentRequest) Returns metadata about an intent.default DescribeResourcePolicyResponse
describeResourcePolicy
(Consumer<DescribeResourcePolicyRequest.Builder> describeResourcePolicyRequest) Gets the resource policy and policy revision for a bot or bot alias.default DescribeResourcePolicyResponse
describeResourcePolicy
(DescribeResourcePolicyRequest describeResourcePolicyRequest) Gets the resource policy and policy revision for a bot or bot alias.default DescribeSlotResponse
describeSlot
(Consumer<DescribeSlotRequest.Builder> describeSlotRequest) Gets metadata information about a slot.default DescribeSlotResponse
describeSlot
(DescribeSlotRequest describeSlotRequest) Gets metadata information about a slot.default DescribeSlotTypeResponse
describeSlotType
(Consumer<DescribeSlotTypeRequest.Builder> describeSlotTypeRequest) Gets metadata information about a slot type.default DescribeSlotTypeResponse
describeSlotType
(DescribeSlotTypeRequest describeSlotTypeRequest) Gets metadata information about a slot type.default DescribeTestExecutionResponse
describeTestExecution
(Consumer<DescribeTestExecutionRequest.Builder> describeTestExecutionRequest) Gets metadata information about the test execution.default DescribeTestExecutionResponse
describeTestExecution
(DescribeTestExecutionRequest describeTestExecutionRequest) Gets metadata information about the test execution.default DescribeTestSetResponse
describeTestSet
(Consumer<DescribeTestSetRequest.Builder> describeTestSetRequest) Gets metadata information about the test set.default 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.default GenerateBotElementResponse
generateBotElement
(Consumer<GenerateBotElementRequest.Builder> generateBotElementRequest) Generates sample utterances for an intent.default GenerateBotElementResponse
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.default ListAggregatedUtterancesResponse
listAggregatedUtterances
(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) Provides a list of utterances that users have sent to the bot.default ListAggregatedUtterancesResponse
listAggregatedUtterances
(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) Provides a list of utterances that users have sent to the bot.default ListAggregatedUtterancesIterable
listAggregatedUtterancesPaginator
(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) This is a variant oflistAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation.default ListAggregatedUtterancesIterable
listAggregatedUtterancesPaginator
(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) This is a variant oflistAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation.default ListBotAliasesResponse
listBotAliases
(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) Gets a list of aliases for the specified bot.default ListBotAliasesResponse
listBotAliases
(ListBotAliasesRequest listBotAliasesRequest) Gets a list of aliases for the specified bot.default ListBotAliasesIterable
listBotAliasesPaginator
(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) This is a variant oflistBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)
operation.default ListBotAliasesIterable
listBotAliasesPaginator
(ListBotAliasesRequest listBotAliasesRequest) This is a variant oflistBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)
operation.default ListBotAliasReplicasResponse
listBotAliasReplicas
(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest) The action to list the replicated bots created from the source bot alias.default ListBotAliasReplicasResponse
listBotAliasReplicas
(ListBotAliasReplicasRequest listBotAliasReplicasRequest) The action to list the replicated bots created from the source bot alias.default ListBotAliasReplicasIterable
listBotAliasReplicasPaginator
(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest) This is a variant oflistBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation.default ListBotAliasReplicasIterable
listBotAliasReplicasPaginator
(ListBotAliasReplicasRequest listBotAliasReplicasRequest) This is a variant oflistBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation.default ListBotLocalesResponse
listBotLocales
(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) Gets a list of locales for the specified bot.default ListBotLocalesResponse
listBotLocales
(ListBotLocalesRequest listBotLocalesRequest) Gets a list of locales for the specified bot.default ListBotLocalesIterable
listBotLocalesPaginator
(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) This is a variant oflistBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)
operation.default ListBotLocalesIterable
listBotLocalesPaginator
(ListBotLocalesRequest listBotLocalesRequest) This is a variant oflistBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)
operation.default ListBotRecommendationsResponse
listBotRecommendations
(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) Get a list of bot recommendations that meet the specified criteria.default ListBotRecommendationsResponse
listBotRecommendations
(ListBotRecommendationsRequest listBotRecommendationsRequest) Get a list of bot recommendations that meet the specified criteria.default ListBotRecommendationsIterable
listBotRecommendationsPaginator
(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) This is a variant oflistBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation.default ListBotRecommendationsIterable
listBotRecommendationsPaginator
(ListBotRecommendationsRequest listBotRecommendationsRequest) This is a variant oflistBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation.default ListBotReplicasResponse
listBotReplicas
(Consumer<ListBotReplicasRequest.Builder> listBotReplicasRequest) The action to list the replicated bots.default 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 ListBotsResponse
listBots
(Consumer<ListBotsRequest.Builder> listBotsRequest) Gets a list of available bots.default ListBotsResponse
listBots
(ListBotsRequest listBotsRequest) Gets a list of available bots.default ListBotsIterable
listBotsPaginator
(Consumer<ListBotsRequest.Builder> listBotsRequest) This is a variant oflistBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation.default ListBotsIterable
listBotsPaginator
(ListBotsRequest listBotsRequest) This is a variant oflistBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation.default ListBotVersionReplicasResponse
listBotVersionReplicas
(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest) Contains information about all the versions replication statuses applicable for Global Resiliency.default ListBotVersionReplicasResponse
listBotVersionReplicas
(ListBotVersionReplicasRequest listBotVersionReplicasRequest) Contains information about all the versions replication statuses applicable for Global Resiliency.default ListBotVersionReplicasIterable
listBotVersionReplicasPaginator
(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest) This is a variant oflistBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation.default ListBotVersionReplicasIterable
listBotVersionReplicasPaginator
(ListBotVersionReplicasRequest listBotVersionReplicasRequest) This is a variant oflistBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation.default ListBotVersionsResponse
listBotVersions
(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) Gets information about all of the versions of a bot.default ListBotVersionsResponse
listBotVersions
(ListBotVersionsRequest listBotVersionsRequest) Gets information about all of the versions of a bot.default ListBotVersionsIterable
listBotVersionsPaginator
(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) This is a variant oflistBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)
operation.default ListBotVersionsIterable
listBotVersionsPaginator
(ListBotVersionsRequest listBotVersionsRequest) This is a variant oflistBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)
operation.default ListBuiltInIntentsResponse
listBuiltInIntents
(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.default ListBuiltInIntentsResponse
listBuiltInIntents
(ListBuiltInIntentsRequest listBuiltInIntentsRequest) Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.default ListBuiltInIntentsIterable
listBuiltInIntentsPaginator
(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) This is a variant oflistBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation.default ListBuiltInIntentsIterable
listBuiltInIntentsPaginator
(ListBuiltInIntentsRequest listBuiltInIntentsRequest) This is a variant oflistBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation.default ListBuiltInSlotTypesResponse
listBuiltInSlotTypes
(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) Gets a list of built-in slot types that meet the specified criteria.default ListBuiltInSlotTypesResponse
listBuiltInSlotTypes
(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest) Gets a list of built-in slot types that meet the specified criteria.default ListBuiltInSlotTypesIterable
listBuiltInSlotTypesPaginator
(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) This is a variant oflistBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation.default ListBuiltInSlotTypesIterable
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 ListExportsResponse
listExports
(Consumer<ListExportsRequest.Builder> listExportsRequest) Lists the exports for a bot, bot locale, or custom vocabulary.default ListExportsResponse
listExports
(ListExportsRequest listExportsRequest) Lists the exports for a bot, bot locale, or custom vocabulary.default ListExportsIterable
listExportsPaginator
(Consumer<ListExportsRequest.Builder> listExportsRequest) This is a variant oflistExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation.default ListExportsIterable
listExportsPaginator
(ListExportsRequest listExportsRequest) This is a variant oflistExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation.default ListImportsResponse
listImports
(Consumer<ListImportsRequest.Builder> listImportsRequest) Lists the imports for a bot, bot locale, or custom vocabulary.default ListImportsResponse
listImports
(ListImportsRequest listImportsRequest) Lists the imports for a bot, bot locale, or custom vocabulary.default ListImportsIterable
listImportsPaginator
(Consumer<ListImportsRequest.Builder> listImportsRequest) This is a variant oflistImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation.default ListImportsIterable
listImportsPaginator
(ListImportsRequest listImportsRequest) This is a variant oflistImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation.default ListIntentMetricsResponse
listIntentMetrics
(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest) Retrieves summary metrics for the intents in your bot.default ListIntentMetricsResponse
listIntentMetrics
(ListIntentMetricsRequest listIntentMetricsRequest) Retrieves summary metrics for the intents in your bot.default ListIntentMetricsIterable
listIntentMetricsPaginator
(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest) This is a variant oflistIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation.default ListIntentMetricsIterable
listIntentMetricsPaginator
(ListIntentMetricsRequest listIntentMetricsRequest) This is a variant oflistIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation.default ListIntentPathsResponse
listIntentPaths
(Consumer<ListIntentPathsRequest.Builder> listIntentPathsRequest) Retrieves summary statistics for a path of intents that users take over sessions with your bot.default ListIntentPathsResponse
listIntentPaths
(ListIntentPathsRequest listIntentPathsRequest) Retrieves summary statistics for a path of intents that users take over sessions with your bot.default ListIntentsResponse
listIntents
(Consumer<ListIntentsRequest.Builder> listIntentsRequest) Get a list of intents that meet the specified criteria.default ListIntentsResponse
listIntents
(ListIntentsRequest listIntentsRequest) Get a list of intents that meet the specified criteria.default ListIntentsIterable
listIntentsPaginator
(Consumer<ListIntentsRequest.Builder> listIntentsRequest) This is a variant oflistIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation.default ListIntentsIterable
listIntentsPaginator
(ListIntentsRequest listIntentsRequest) This is a variant oflistIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation.default ListIntentStageMetricsResponse
listIntentStageMetrics
(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest) Retrieves summary metrics for the stages within intents in your bot.default ListIntentStageMetricsResponse
listIntentStageMetrics
(ListIntentStageMetricsRequest listIntentStageMetricsRequest) Retrieves summary metrics for the stages within intents in your bot.default ListIntentStageMetricsIterable
listIntentStageMetricsPaginator
(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest) This is a variant oflistIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation.default ListIntentStageMetricsIterable
listIntentStageMetricsPaginator
(ListIntentStageMetricsRequest listIntentStageMetricsRequest) This is a variant oflistIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation.default ListRecommendedIntentsResponse
listRecommendedIntents
(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.default ListRecommendedIntentsResponse
listRecommendedIntents
(ListRecommendedIntentsRequest listRecommendedIntentsRequest) Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.default ListRecommendedIntentsIterable
listRecommendedIntentsPaginator
(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) This is a variant oflistRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation.default ListRecommendedIntentsIterable
listRecommendedIntentsPaginator
(ListRecommendedIntentsRequest listRecommendedIntentsRequest) This is a variant oflistRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation.default ListSessionAnalyticsDataResponse
listSessionAnalyticsData
(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest) Retrieves a list of metadata for individual user sessions with your bot.default ListSessionAnalyticsDataResponse
listSessionAnalyticsData
(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest) Retrieves a list of metadata for individual user sessions with your bot.default ListSessionAnalyticsDataIterable
listSessionAnalyticsDataPaginator
(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest) This is a variant oflistSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation.default ListSessionAnalyticsDataIterable
listSessionAnalyticsDataPaginator
(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest) This is a variant oflistSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation.default ListSessionMetricsResponse
listSessionMetrics
(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest) Retrieves summary metrics for the user sessions with your bot.default ListSessionMetricsResponse
listSessionMetrics
(ListSessionMetricsRequest listSessionMetricsRequest) Retrieves summary metrics for the user sessions with your bot.default ListSessionMetricsIterable
listSessionMetricsPaginator
(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest) This is a variant oflistSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation.default ListSessionMetricsIterable
listSessionMetricsPaginator
(ListSessionMetricsRequest listSessionMetricsRequest) This is a variant oflistSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation.default ListSlotsResponse
listSlots
(Consumer<ListSlotsRequest.Builder> listSlotsRequest) Gets a list of slots that match the specified criteria.default ListSlotsResponse
listSlots
(ListSlotsRequest listSlotsRequest) Gets a list of slots that match the specified criteria.default ListSlotsIterable
listSlotsPaginator
(Consumer<ListSlotsRequest.Builder> listSlotsRequest) This is a variant oflistSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation.default ListSlotsIterable
listSlotsPaginator
(ListSlotsRequest listSlotsRequest) This is a variant oflistSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation.default ListSlotTypesResponse
listSlotTypes
(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) Gets a list of slot types that match the specified criteria.default ListSlotTypesResponse
listSlotTypes
(ListSlotTypesRequest listSlotTypesRequest) Gets a list of slot types that match the specified criteria.default ListSlotTypesIterable
listSlotTypesPaginator
(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) This is a variant oflistSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)
operation.default ListSlotTypesIterable
listSlotTypesPaginator
(ListSlotTypesRequest listSlotTypesRequest) This is a variant oflistSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Gets a list of tags associated with a resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Gets a list of tags associated with a resource.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.default ListTestExecutionsResponse
listTestExecutions
(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest) The list of test set executions.default ListTestExecutionsResponse
listTestExecutions
(ListTestExecutionsRequest listTestExecutionsRequest) The list of test set executions.default ListTestExecutionsIterable
listTestExecutionsPaginator
(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest) This is a variant oflistTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation.default ListTestExecutionsIterable
listTestExecutionsPaginator
(ListTestExecutionsRequest listTestExecutionsRequest) This is a variant oflistTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation.default ListTestSetRecordsResponse
listTestSetRecords
(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest) The list of test set records.default ListTestSetRecordsResponse
listTestSetRecords
(ListTestSetRecordsRequest listTestSetRecordsRequest) The list of test set records.default ListTestSetRecordsIterable
listTestSetRecordsPaginator
(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest) This is a variant oflistTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation.default ListTestSetRecordsIterable
listTestSetRecordsPaginator
(ListTestSetRecordsRequest listTestSetRecordsRequest) This is a variant oflistTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation.default ListTestSetsResponse
listTestSets
(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest) The list of the test setsdefault ListTestSetsResponse
listTestSets
(ListTestSetsRequest listTestSetsRequest) The list of the test setsdefault ListTestSetsIterable
listTestSetsPaginator
(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest) This is a variant oflistTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)
operation.default ListTestSetsIterable
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.default ListUtteranceMetricsResponse
listUtteranceMetrics
(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest) default ListUtteranceMetricsResponse
listUtteranceMetrics
(ListUtteranceMetricsRequest listUtteranceMetricsRequest) default ListUtteranceMetricsIterable
listUtteranceMetricsPaginator
(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest) This is a variant oflistUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)
operation.default ListUtteranceMetricsIterable
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., ClientOverrideConfigurationstatic ServiceMetadata
default StartBotRecommendationResponse
startBotRecommendation
(Consumer<StartBotRecommendationRequest.Builder> startBotRecommendationRequest) Use this to provide your transcript data, and to start the bot recommendation process.default StartBotRecommendationResponse
startBotRecommendation
(StartBotRecommendationRequest startBotRecommendationRequest) Use this to provide your transcript data, and to start the bot recommendation process.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 StartImportResponse
startImport
(Consumer<StartImportRequest.Builder> startImportRequest) Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.default StartImportResponse
startImport
(StartImportRequest startImportRequest) Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.default StartTestExecutionResponse
startTestExecution
(Consumer<StartTestExecutionRequest.Builder> startTestExecutionRequest) The action to start test set execution.default StartTestExecutionResponse
startTestExecution
(StartTestExecutionRequest startTestExecutionRequest) The action to start test set execution.default StartTestSetGenerationResponse
startTestSetGeneration
(Consumer<StartTestSetGenerationRequest.Builder> startTestSetGenerationRequest) The action to start the generation of test set.default StartTestSetGenerationResponse
startTestSetGeneration
(StartTestSetGenerationRequest startTestSetGenerationRequest) The action to start the generation of test set.default StopBotRecommendationResponse
stopBotRecommendation
(Consumer<StopBotRecommendationRequest.Builder> stopBotRecommendationRequest) Stop an already running Bot Recommendation request.default StopBotRecommendationResponse
stopBotRecommendation
(StopBotRecommendationRequest stopBotRecommendationRequest) Stop an already running Bot Recommendation request.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the specified resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds the specified tags to the specified resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a bot, bot alias, or bot channel.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a bot, bot alias, or bot channel.default UpdateBotResponse
updateBot
(Consumer<UpdateBotRequest.Builder> updateBotRequest) Updates the configuration of an existing bot.default UpdateBotResponse
updateBot
(UpdateBotRequest updateBotRequest) Updates the configuration of an existing bot.default UpdateBotAliasResponse
updateBotAlias
(Consumer<UpdateBotAliasRequest.Builder> updateBotAliasRequest) Updates the configuration of an existing bot alias.default UpdateBotAliasResponse
updateBotAlias
(UpdateBotAliasRequest updateBotAliasRequest) Updates the configuration of an existing bot alias.default UpdateBotLocaleResponse
updateBotLocale
(Consumer<UpdateBotLocaleRequest.Builder> updateBotLocaleRequest) Updates the settings that a bot has for a specific locale.default UpdateBotLocaleResponse
updateBotLocale
(UpdateBotLocaleRequest updateBotLocaleRequest) Updates the settings that a bot has for a specific locale.default UpdateBotRecommendationResponse
updateBotRecommendation
(Consumer<UpdateBotRecommendationRequest.Builder> updateBotRecommendationRequest) Updates an existing bot recommendation request.default UpdateBotRecommendationResponse
updateBotRecommendation
(UpdateBotRecommendationRequest updateBotRecommendationRequest) Updates an existing bot recommendation request.default UpdateExportResponse
updateExport
(Consumer<UpdateExportRequest.Builder> updateExportRequest) Updates the password used to protect an export zip archive.default UpdateExportResponse
updateExport
(UpdateExportRequest updateExportRequest) Updates the password used to protect an export zip archive.default UpdateIntentResponse
updateIntent
(Consumer<UpdateIntentRequest.Builder> updateIntentRequest) Updates the settings for an intent.default UpdateIntentResponse
updateIntent
(UpdateIntentRequest updateIntentRequest) Updates the settings for an intent.default UpdateResourcePolicyResponse
updateResourcePolicy
(Consumer<UpdateResourcePolicyRequest.Builder> updateResourcePolicyRequest) Replaces the existing resource policy for a bot or bot alias with a new one.default UpdateResourcePolicyResponse
updateResourcePolicy
(UpdateResourcePolicyRequest updateResourcePolicyRequest) Replaces the existing resource policy for a bot or bot alias with a new one.default UpdateSlotResponse
updateSlot
(Consumer<UpdateSlotRequest.Builder> updateSlotRequest) Updates the settings for a slot.default UpdateSlotResponse
updateSlot
(UpdateSlotRequest updateSlotRequest) Updates the settings for a slot.default UpdateSlotTypeResponse
updateSlotType
(Consumer<UpdateSlotTypeRequest.Builder> updateSlotTypeRequest) Updates the configuration of an existing slot type.default UpdateSlotTypeResponse
updateSlotType
(UpdateSlotTypeRequest updateSlotTypeRequest) Updates the configuration of an existing slot type.default UpdateTestSetResponse
updateTestSet
(Consumer<UpdateTestSetRequest.Builder> updateTestSetRequest) The action to update the test set.default UpdateTestSetResponse
updateTestSet
(UpdateTestSetRequest updateTestSetRequest) The action to update the test set.default LexModelsV2Waiter
waiter()
Create an instance ofLexModelsV2Waiter
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 BatchCreateCustomVocabularyItemResponse batchCreateCustomVocabularyItem(BatchCreateCustomVocabularyItemRequest batchCreateCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
- Parameters:
batchCreateCustomVocabularyItemRequest
-- Returns:
- Result of the BatchCreateCustomVocabularyItem operation returned by the service.
- See Also:
-
batchCreateCustomVocabularyItem
default BatchCreateCustomVocabularyItemResponse batchCreateCustomVocabularyItem(Consumer<BatchCreateCustomVocabularyItemRequest.Builder> batchCreateCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.
This is a convenience which creates an instance of the
BatchCreateCustomVocabularyItemRequest.Builder
avoiding the need to create one manually viaBatchCreateCustomVocabularyItemRequest.builder()
- Parameters:
batchCreateCustomVocabularyItemRequest
- AConsumer
that will call methods onBatchCreateCustomVocabularyItemRequest.Builder
to create a request.- Returns:
- Result of the BatchCreateCustomVocabularyItem operation returned by the service.
- See Also:
-
batchDeleteCustomVocabularyItem
default BatchDeleteCustomVocabularyItemResponse batchDeleteCustomVocabularyItem(BatchDeleteCustomVocabularyItemRequest batchDeleteCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
- Parameters:
batchDeleteCustomVocabularyItemRequest
-- Returns:
- Result of the BatchDeleteCustomVocabularyItem operation returned by the service.
- See Also:
-
batchDeleteCustomVocabularyItem
default BatchDeleteCustomVocabularyItemResponse batchDeleteCustomVocabularyItem(Consumer<BatchDeleteCustomVocabularyItemRequest.Builder> batchDeleteCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.
This is a convenience which creates an instance of the
BatchDeleteCustomVocabularyItemRequest.Builder
avoiding the need to create one manually viaBatchDeleteCustomVocabularyItemRequest.builder()
- Parameters:
batchDeleteCustomVocabularyItemRequest
- AConsumer
that will call methods onBatchDeleteCustomVocabularyItemRequest.Builder
to create a request.- Returns:
- Result of the BatchDeleteCustomVocabularyItem operation returned by the service.
- See Also:
-
batchUpdateCustomVocabularyItem
default BatchUpdateCustomVocabularyItemResponse batchUpdateCustomVocabularyItem(BatchUpdateCustomVocabularyItemRequest batchUpdateCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
- Parameters:
batchUpdateCustomVocabularyItemRequest
-- Returns:
- Result of the BatchUpdateCustomVocabularyItem operation returned by the service.
- See Also:
-
batchUpdateCustomVocabularyItem
default BatchUpdateCustomVocabularyItemResponse batchUpdateCustomVocabularyItem(Consumer<BatchUpdateCustomVocabularyItemRequest.Builder> batchUpdateCustomVocabularyItemRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.
This is a convenience which creates an instance of the
BatchUpdateCustomVocabularyItemRequest.Builder
avoiding the need to create one manually viaBatchUpdateCustomVocabularyItemRequest.builder()
- Parameters:
batchUpdateCustomVocabularyItemRequest
- AConsumer
that will call methods onBatchUpdateCustomVocabularyItemRequest.Builder
to create a request.- Returns:
- Result of the BatchUpdateCustomVocabularyItem operation returned by the service.
- See Also:
-
buildBotLocale
default BuildBotLocaleResponse buildBotLocale(BuildBotLocaleRequest buildBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.
- Parameters:
buildBotLocaleRequest
-- Returns:
- Result of the BuildBotLocale operation returned by the service.
- See Also:
-
buildBotLocale
default BuildBotLocaleResponse buildBotLocale(Consumer<BuildBotLocaleRequest.Builder> buildBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.
This is a convenience which creates an instance of the
BuildBotLocaleRequest.Builder
avoiding the need to create one manually viaBuildBotLocaleRequest.builder()
- Parameters:
buildBotLocaleRequest
- AConsumer
that will call methods onBuildBotLocaleRequest.Builder
to create a request.- Returns:
- Result of the BuildBotLocale operation returned by the service.
- See Also:
-
createBot
default CreateBotResponse createBot(CreateBotRequest createBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates an Amazon Lex conversational bot.
- Parameters:
createBotRequest
-- Returns:
- Result of the CreateBot operation returned by the service.
- See Also:
-
createBot
default CreateBotResponse createBot(Consumer<CreateBotRequest.Builder> createBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates an Amazon Lex conversational bot.
This is a convenience which creates an instance of the
CreateBotRequest.Builder
avoiding the need to create one manually viaCreateBotRequest.builder()
- Parameters:
createBotRequest
- AConsumer
that will call methods onCreateBotRequest.Builder
to create a request.- Returns:
- Result of the CreateBot operation returned by the service.
- See Also:
-
createBotAlias
default CreateBotAliasResponse createBotAlias(CreateBotAliasRequest createBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.
For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot.
- Parameters:
createBotAliasRequest
-- Returns:
- Result of the CreateBotAlias operation returned by the service.
- See Also:
-
createBotAlias
default CreateBotAliasResponse createBotAlias(Consumer<CreateBotAliasRequest.Builder> createBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.
For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot.
This is a convenience which creates an instance of the
CreateBotAliasRequest.Builder
avoiding the need to create one manually viaCreateBotAliasRequest.builder()
- Parameters:
createBotAliasRequest
- AConsumer
that will call methods onCreateBotAliasRequest.Builder
to create a request.- Returns:
- Result of the CreateBotAlias operation returned by the service.
- See Also:
-
createBotLocale
default CreateBotLocaleResponse createBotLocale(CreateBotLocaleRequest createBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.
- Parameters:
createBotLocaleRequest
-- Returns:
- Result of the CreateBotLocale operation returned by the service.
- See Also:
-
createBotLocale
default CreateBotLocaleResponse createBotLocale(Consumer<CreateBotLocaleRequest.Builder> createBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.
This is a convenience which creates an instance of the
CreateBotLocaleRequest.Builder
avoiding the need to create one manually viaCreateBotLocaleRequest.builder()
- Parameters:
createBotLocaleRequest
- AConsumer
that will call methods onCreateBotLocaleRequest.Builder
to create a request.- Returns:
- Result of the CreateBotLocale operation returned by the service.
- See Also:
-
createBotReplica
default CreateBotReplicaResponse createBotReplica(CreateBotReplicaRequest createBotReplicaRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Action to create a replication of the source bot in the secondary region.
- Parameters:
createBotReplicaRequest
-- Returns:
- Result of the CreateBotReplica operation returned by the service.
- See Also:
-
createBotReplica
default CreateBotReplicaResponse createBotReplica(Consumer<CreateBotReplicaRequest.Builder> createBotReplicaRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the CreateBotReplica operation returned by the service.
- See Also:
-
createBotVersion
default CreateBotVersionResponse createBotVersion(CreateBotVersionRequest createBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the CreateBotVersion operation returned by the service.
- See Also:
-
createBotVersion
default CreateBotVersionResponse createBotVersion(Consumer<CreateBotVersionRequest.Builder> createBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the CreateBotVersion operation returned by the service.
- See Also:
-
createExport
default CreateExportResponse createExport(CreateExportRequest createExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory structure that contains JSON files that define the bot.
You can create an archive that contains the complete definition of a bot, or you can specify that the archive contain only the definition of a single bot locale.
For more information about exporting bots, and about the structure of the export archive, see Importing and exporting bots
- Parameters:
createExportRequest
-- Returns:
- Result of the CreateExport operation returned by the service.
- See Also:
-
createExport
default CreateExportResponse createExport(Consumer<CreateExportRequest.Builder> createExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory structure that contains JSON files that define the bot.
You can create an archive that contains the complete definition of a bot, or you can specify that the archive contain only the definition of a single bot locale.
For more information about exporting bots, and about the structure of the export archive, see Importing and exporting bots
This is a convenience which creates an instance of the
CreateExportRequest.Builder
avoiding the need to create one manually viaCreateExportRequest.builder()
- Parameters:
createExportRequest
- AConsumer
that will call methods onCreateExportRequest.Builder
to create a request.- Returns:
- Result of the CreateExport operation returned by the service.
- See Also:
-
createIntent
default CreateIntentResponse createIntent(CreateIntentRequest createIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates an intent.
To define the interaction between the user and your bot, you define one or more intents. For example, for a pizza ordering bot you would create an
OrderPizza
intent.When you create an intent, you must provide a name. You can optionally provide the following:
-
Sample utterances. For example, "I want to order a pizza" and "Can I order a pizza." You can't provide utterances for built-in intents.
-
Information to be gathered. You specify slots for the information that you bot requests from the user. You can specify standard slot types, such as date and time, or custom slot types for your application.
-
How the intent is fulfilled. You can provide a Lambda function or configure the intent to return the intent information to your client application. If you use a Lambda function, Amazon Lex invokes the function when all of the intent information is available.
-
A confirmation prompt to send to the user to confirm an intent. For example, "Shall I order your pizza?"
-
A conclusion statement to send to the user after the intent is fulfilled. For example, "I ordered your pizza."
-
A follow-up prompt that asks the user for additional activity. For example, "Do you want a drink with your pizza?"
- Parameters:
createIntentRequest
-- Returns:
- Result of the CreateIntent operation returned by the service.
- See Also:
-
-
createIntent
default CreateIntentResponse createIntent(Consumer<CreateIntentRequest.Builder> createIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates an intent.
To define the interaction between the user and your bot, you define one or more intents. For example, for a pizza ordering bot you would create an
OrderPizza
intent.When you create an intent, you must provide a name. You can optionally provide the following:
-
Sample utterances. For example, "I want to order a pizza" and "Can I order a pizza." You can't provide utterances for built-in intents.
-
Information to be gathered. You specify slots for the information that you bot requests from the user. You can specify standard slot types, such as date and time, or custom slot types for your application.
-
How the intent is fulfilled. You can provide a Lambda function or configure the intent to return the intent information to your client application. If you use a Lambda function, Amazon Lex invokes the function when all of the intent information is available.
-
A confirmation prompt to send to the user to confirm an intent. For example, "Shall I order your pizza?"
-
A conclusion statement to send to the user after the intent is fulfilled. For example, "I ordered your pizza."
-
A follow-up prompt that asks the user for additional activity. For example, "Do you want a drink with your pizza?"
This is a convenience which creates an instance of the
CreateIntentRequest.Builder
avoiding the need to create one manually viaCreateIntentRequest.builder()
- Parameters:
createIntentRequest
- AConsumer
that will call methods onCreateIntentRequest.Builder
to create a request.- Returns:
- Result of the CreateIntent operation returned by the service.
- See Also:
-
-
createResourcePolicy
default CreateResourcePolicyResponse createResourcePolicy(CreateResourcePolicyRequest createResourcePolicyRequest) throws ResourceNotFoundException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates a new resource policy with the specified policy statements.
- Parameters:
createResourcePolicyRequest
-- Returns:
- Result of the CreateResourcePolicy operation returned by the service.
- See Also:
-
createResourcePolicy
default CreateResourcePolicyResponse createResourcePolicy(Consumer<CreateResourcePolicyRequest.Builder> createResourcePolicyRequest) throws ResourceNotFoundException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates a new resource policy with the specified policy statements.
This is a convenience which creates an instance of the
CreateResourcePolicyRequest.Builder
avoiding the need to create one manually viaCreateResourcePolicyRequest.builder()
- Parameters:
createResourcePolicyRequest
- AConsumer
that will call methods onCreateResourcePolicyRequest.Builder
to create a request.- Returns:
- Result of the CreateResourcePolicy operation returned by the service.
- See Also:
-
createResourcePolicyStatement
default CreateResourcePolicyStatementResponse createResourcePolicyStatement(CreateResourcePolicyStatementRequest createResourcePolicyStatementRequest) throws ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.
You can't create a resource policy statement that allows cross-account access.
- Parameters:
createResourcePolicyStatementRequest
-- Returns:
- Result of the CreateResourcePolicyStatement operation returned by the service.
- See Also:
-
createResourcePolicyStatement
default CreateResourcePolicyStatementResponse createResourcePolicyStatement(Consumer<CreateResourcePolicyStatementRequest.Builder> createResourcePolicyStatementRequest) throws ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.
You can't create a resource policy statement that allows cross-account access.
This is a convenience which creates an instance of the
CreateResourcePolicyStatementRequest.Builder
avoiding the need to create one manually viaCreateResourcePolicyStatementRequest.builder()
- Parameters:
createResourcePolicyStatementRequest
- AConsumer
that will call methods onCreateResourcePolicyStatementRequest.Builder
to create a request.- Returns:
- Result of the CreateResourcePolicyStatement operation returned by the service.
- See Also:
-
createSlot
default CreateSlotResponse createSlot(CreateSlotRequest createSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an
OrderPizza
intent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user.- Parameters:
createSlotRequest
-- Returns:
- Result of the CreateSlot operation returned by the service.
- See Also:
-
createSlot
default CreateSlotResponse createSlot(Consumer<CreateSlotRequest.Builder> createSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an
OrderPizza
intent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user.
This is a convenience which creates an instance of the
CreateSlotRequest.Builder
avoiding the need to create one manually viaCreateSlotRequest.builder()
- Parameters:
createSlotRequest
- AConsumer
that will call methods onCreateSlotRequest.Builder
to create a request.- Returns:
- Result of the CreateSlot operation returned by the service.
- See Also:
-
createSlotType
default CreateSlotTypeResponse createSlotType(CreateSlotTypeRequest createSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates a custom slot type
To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume.
- Parameters:
createSlotTypeRequest
-- Returns:
- Result of the CreateSlotType operation returned by the service.
- See Also:
-
createSlotType
default CreateSlotTypeResponse createSlotType(Consumer<CreateSlotTypeRequest.Builder> createSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Creates a custom slot type
To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume.
This is a convenience which creates an instance of the
CreateSlotTypeRequest.Builder
avoiding the need to create one manually viaCreateSlotTypeRequest.builder()
- Parameters:
createSlotTypeRequest
- AConsumer
that will call methods onCreateSlotTypeRequest.Builder
to create a request.- Returns:
- Result of the CreateSlotType operation returned by the service.
- See Also:
-
createTestSetDiscrepancyReport
default CreateTestSetDiscrepancyReportResponse createTestSetDiscrepancyReport(CreateTestSetDiscrepancyReportRequest createTestSetDiscrepancyReportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception Create a report that describes the differences between the bot and the test set.
- Parameters:
createTestSetDiscrepancyReportRequest
-- Returns:
- Result of the CreateTestSetDiscrepancyReport operation returned by the service.
- See Also:
-
createTestSetDiscrepancyReport
default CreateTestSetDiscrepancyReportResponse createTestSetDiscrepancyReport(Consumer<CreateTestSetDiscrepancyReportRequest.Builder> createTestSetDiscrepancyReportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the CreateTestSetDiscrepancyReport operation returned by the service.
- See Also:
-
createUploadUrl
default CreateUploadUrlResponse createUploadUrl(CreateUploadUrlRequest createUploadUrlRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
- Parameters:
createUploadUrlRequest
-- Returns:
- Result of the CreateUploadUrl operation returned by the service.
- See Also:
-
createUploadUrl
default CreateUploadUrlResponse createUploadUrl(Consumer<CreateUploadUrlRequest.Builder> createUploadUrlRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.
This is a convenience which creates an instance of the
CreateUploadUrlRequest.Builder
avoiding the need to create one manually viaCreateUploadUrlRequest.builder()
- Parameters:
createUploadUrlRequest
- AConsumer
that will call methods onCreateUploadUrlRequest.Builder
to create a request.- Returns:
- Result of the CreateUploadUrl operation returned by the service.
- See Also:
-
deleteBot
default DeleteBotResponse deleteBot(DeleteBotRequest deleteBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes all versions of a bot, including the
Draft
version. To delete a specific version, use 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:
- Result of the DeleteBot operation returned by the service.
- See Also:
-
deleteBot
default DeleteBotResponse deleteBot(Consumer<DeleteBotRequest.Builder> deleteBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes all versions of a bot, including the
Draft
version. To delete a specific version, use 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:
- Result of the DeleteBot operation returned by the service.
- See Also:
-
deleteBotAlias
default DeleteBotAliasResponse deleteBotAlias(DeleteBotAliasRequest deleteBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes the specified bot alias.
- Parameters:
deleteBotAliasRequest
-- Returns:
- Result of the DeleteBotAlias operation returned by the service.
- See Also:
-
deleteBotAlias
default DeleteBotAliasResponse deleteBotAlias(Consumer<DeleteBotAliasRequest.Builder> deleteBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes the specified bot alias.
This is a convenience which creates an instance of the
DeleteBotAliasRequest.Builder
avoiding the need to create one manually viaDeleteBotAliasRequest.builder()
- Parameters:
deleteBotAliasRequest
- AConsumer
that will call methods onDeleteBotAliasRequest.Builder
to create a request.- Returns:
- Result of the DeleteBotAlias operation returned by the service.
- See Also:
-
deleteBotLocale
default DeleteBotLocaleResponse deleteBotLocale(DeleteBotLocaleRequest deleteBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
- Parameters:
deleteBotLocaleRequest
-- Returns:
- Result of the DeleteBotLocale operation returned by the service.
- See Also:
-
deleteBotLocale
default DeleteBotLocaleResponse deleteBotLocale(Consumer<DeleteBotLocaleRequest.Builder> deleteBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes a locale from a bot.
When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
This is a convenience which creates an instance of the
DeleteBotLocaleRequest.Builder
avoiding the need to create one manually viaDeleteBotLocaleRequest.builder()
- Parameters:
deleteBotLocaleRequest
- AConsumer
that will call methods onDeleteBotLocaleRequest.Builder
to create a request.- Returns:
- Result of the DeleteBotLocale operation returned by the service.
- See Also:
-
deleteBotReplica
default DeleteBotReplicaResponse deleteBotReplica(DeleteBotReplicaRequest deleteBotReplicaRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The action to delete the replicated bot in the secondary region.
- Parameters:
deleteBotReplicaRequest
-- Returns:
- Result of the DeleteBotReplica operation returned by the service.
- See Also:
-
deleteBotReplica
default DeleteBotReplicaResponse deleteBotReplica(Consumer<DeleteBotReplicaRequest.Builder> deleteBotReplicaRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the DeleteBotReplica operation returned by the service.
- See Also:
-
deleteBotVersion
default DeleteBotVersionResponse deleteBotVersion(DeleteBotVersionRequest deleteBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.
- Parameters:
deleteBotVersionRequest
-- Returns:
- Result of the DeleteBotVersion operation returned by the service.
- See Also:
-
deleteBotVersion
default DeleteBotVersionResponse deleteBotVersion(Consumer<DeleteBotVersionRequest.Builder> deleteBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.
This is a convenience which creates an instance of the
DeleteBotVersionRequest.Builder
avoiding the need to create one manually viaDeleteBotVersionRequest.builder()
- Parameters:
deleteBotVersionRequest
- AConsumer
that will call methods onDeleteBotVersionRequest.Builder
to create a request.- Returns:
- Result of the DeleteBotVersion operation returned by the service.
- See Also:
-
deleteCustomVocabulary
default DeleteCustomVocabularyResponse deleteCustomVocabulary(DeleteCustomVocabularyRequest deleteCustomVocabularyRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes a custom vocabulary from the specified locale in the specified bot.
- Parameters:
deleteCustomVocabularyRequest
-- Returns:
- Result of the DeleteCustomVocabulary operation returned by the service.
- See Also:
-
deleteCustomVocabulary
default DeleteCustomVocabularyResponse deleteCustomVocabulary(Consumer<DeleteCustomVocabularyRequest.Builder> deleteCustomVocabularyRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes a custom vocabulary from the specified locale in the specified bot.
This is a convenience which creates an instance of the
DeleteCustomVocabularyRequest.Builder
avoiding the need to create one manually viaDeleteCustomVocabularyRequest.builder()
- Parameters:
deleteCustomVocabularyRequest
- AConsumer
that will call methods onDeleteCustomVocabularyRequest.Builder
to create a request.- Returns:
- Result of the DeleteCustomVocabulary operation returned by the service.
- See Also:
-
deleteExport
default DeleteExportResponse deleteExport(DeleteExportRequest deleteExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes a previous export and the associated files stored in an S3 bucket.
- Parameters:
deleteExportRequest
-- Returns:
- Result of the DeleteExport operation returned by the service.
- See Also:
-
deleteExport
default DeleteExportResponse deleteExport(Consumer<DeleteExportRequest.Builder> deleteExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes a previous export and the associated files stored in an S3 bucket.
This is a convenience which creates an instance of the
DeleteExportRequest.Builder
avoiding the need to create one manually viaDeleteExportRequest.builder()
- Parameters:
deleteExportRequest
- AConsumer
that will call methods onDeleteExportRequest.Builder
to create a request.- Returns:
- Result of the DeleteExport operation returned by the service.
- See Also:
-
deleteImport
default DeleteImportResponse deleteImport(DeleteImportRequest deleteImportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes a previous import and the associated file stored in an S3 bucket.
- Parameters:
deleteImportRequest
-- Returns:
- Result of the DeleteImport operation returned by the service.
- See Also:
-
deleteImport
default DeleteImportResponse deleteImport(Consumer<DeleteImportRequest.Builder> deleteImportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes a previous import and the associated file stored in an S3 bucket.
This is a convenience which creates an instance of the
DeleteImportRequest.Builder
avoiding the need to create one manually viaDeleteImportRequest.builder()
- Parameters:
deleteImportRequest
- AConsumer
that will call methods onDeleteImportRequest.Builder
to create a request.- Returns:
- Result of the DeleteImport operation returned by the service.
- See Also:
-
deleteIntent
default DeleteIntentResponse deleteIntent(DeleteIntentRequest deleteIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
- Parameters:
deleteIntentRequest
-- Returns:
- Result of the DeleteIntent operation returned by the service.
- See Also:
-
deleteIntent
default DeleteIntentResponse deleteIntent(Consumer<DeleteIntentRequest.Builder> deleteIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes the specified intent.
Deleting an intent also deletes the slots associated with the intent.
This is a convenience which creates an instance of the
DeleteIntentRequest.Builder
avoiding the need to create one manually viaDeleteIntentRequest.builder()
- Parameters:
deleteIntentRequest
- AConsumer
that will call methods onDeleteIntentRequest.Builder
to create a request.- Returns:
- Result of the DeleteIntent operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws ResourceNotFoundException, PreconditionFailedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
- Parameters:
deleteResourcePolicyRequest
-- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws ResourceNotFoundException, PreconditionFailedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builder
avoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()
- Parameters:
deleteResourcePolicyRequest
- AConsumer
that will call methods onDeleteResourcePolicyRequest.Builder
to create a request.- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteResourcePolicyStatement
default DeleteResourcePolicyStatementResponse deleteResourcePolicyStatement(DeleteResourcePolicyStatementRequest deleteResourcePolicyStatementRequest) throws ResourceNotFoundException, PreconditionFailedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.
- Parameters:
deleteResourcePolicyStatementRequest
-- Returns:
- Result of the DeleteResourcePolicyStatement operation returned by the service.
- See Also:
-
deleteResourcePolicyStatement
default DeleteResourcePolicyStatementResponse deleteResourcePolicyStatement(Consumer<DeleteResourcePolicyStatementRequest.Builder> deleteResourcePolicyStatementRequest) throws ResourceNotFoundException, PreconditionFailedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.
This is a convenience which creates an instance of the
DeleteResourcePolicyStatementRequest.Builder
avoiding the need to create one manually viaDeleteResourcePolicyStatementRequest.builder()
- Parameters:
deleteResourcePolicyStatementRequest
- AConsumer
that will call methods onDeleteResourcePolicyStatementRequest.Builder
to create a request.- Returns:
- Result of the DeleteResourcePolicyStatement operation returned by the service.
- See Also:
-
deleteSlot
default DeleteSlotResponse deleteSlot(DeleteSlotRequest deleteSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes the specified slot from an intent.
- Parameters:
deleteSlotRequest
-- Returns:
- Result of the DeleteSlot operation returned by the service.
- See Also:
-
deleteSlot
default DeleteSlotResponse deleteSlot(Consumer<DeleteSlotRequest.Builder> deleteSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes the specified slot from an intent.
This is a convenience which creates an instance of the
DeleteSlotRequest.Builder
avoiding the need to create one manually viaDeleteSlotRequest.builder()
- Parameters:
deleteSlotRequest
- AConsumer
that will call methods onDeleteSlotRequest.Builder
to create a request.- Returns:
- Result of the DeleteSlot operation returned by the service.
- See Also:
-
deleteSlotType
default DeleteSlotTypeResponse deleteSlotType(DeleteSlotTypeRequest deleteSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes a slot type from a bot locale.
If a slot is using the slot type, Amazon Lex throws a
ResourceInUseException
exception. To avoid the exception, set theskipResourceInUseCheck
parameter totrue
.- Parameters:
deleteSlotTypeRequest
-- Returns:
- Result of the DeleteSlotType operation returned by the service.
- See Also:
-
deleteSlotType
default DeleteSlotTypeResponse deleteSlotType(Consumer<DeleteSlotTypeRequest.Builder> deleteSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes a slot type from a bot locale.
If a slot is using the slot type, Amazon Lex throws a
ResourceInUseException
exception. To avoid the exception, set 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:
- Result of the DeleteSlotType operation returned by the service.
- See Also:
-
deleteTestSet
default DeleteTestSetResponse deleteTestSet(DeleteTestSetRequest deleteTestSetRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The action to delete the selected test set.
- Parameters:
deleteTestSetRequest
-- Returns:
- Result of the DeleteTestSet operation returned by the service.
- See Also:
-
deleteTestSet
default DeleteTestSetResponse deleteTestSet(Consumer<DeleteTestSetRequest.Builder> deleteTestSetRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the DeleteTestSet operation returned by the service.
- See Also:
-
deleteUtterances
default DeleteUtterancesResponse deleteUtterances(DeleteUtterancesRequest deleteUtterancesRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes stored utterances.
Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input..
Use the
DeleteUtterances
operation to manually delete utterances for a specific session. When you use 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:
- Result of the DeleteUtterances operation returned by the service.
- See Also:
-
deleteUtterances
default DeleteUtterancesResponse deleteUtterances(Consumer<DeleteUtterancesRequest.Builder> deleteUtterancesRequest) throws ValidationException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Deletes stored utterances.
Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input..
Use the
DeleteUtterances
operation to manually delete utterances for a specific session. When you use 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:
- Result of the DeleteUtterances operation returned by the service.
- See Also:
-
describeBot
default DescribeBotResponse describeBot(DescribeBotRequest describeBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Provides metadata information about a bot.
- Parameters:
describeBotRequest
-- Returns:
- Result of the DescribeBot operation returned by the service.
- See Also:
-
describeBot
default DescribeBotResponse describeBot(Consumer<DescribeBotRequest.Builder> describeBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Provides metadata information about a bot.
This is a convenience which creates an instance of the
DescribeBotRequest.Builder
avoiding the need to create one manually viaDescribeBotRequest.builder()
- Parameters:
describeBotRequest
- AConsumer
that will call methods onDescribeBotRequest.Builder
to create a request.- Returns:
- Result of the DescribeBot operation returned by the service.
- See Also:
-
describeBotAlias
default DescribeBotAliasResponse describeBotAlias(DescribeBotAliasRequest describeBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Get information about a specific bot alias.
- Parameters:
describeBotAliasRequest
-- Returns:
- Result of the DescribeBotAlias operation returned by the service.
- See Also:
-
describeBotAlias
default DescribeBotAliasResponse describeBotAlias(Consumer<DescribeBotAliasRequest.Builder> describeBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Get information about a specific bot alias.
This is a convenience which creates an instance of the
DescribeBotAliasRequest.Builder
avoiding the need to create one manually viaDescribeBotAliasRequest.builder()
- Parameters:
describeBotAliasRequest
- AConsumer
that will call methods onDescribeBotAliasRequest.Builder
to create a request.- Returns:
- Result of the DescribeBotAlias operation returned by the service.
- See Also:
-
describeBotLocale
default DescribeBotLocaleResponse describeBotLocale(DescribeBotLocaleRequest describeBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Describes the settings that a bot has for a specific locale.
- Parameters:
describeBotLocaleRequest
-- Returns:
- Result of the DescribeBotLocale operation returned by the service.
- See Also:
-
describeBotLocale
default DescribeBotLocaleResponse describeBotLocale(Consumer<DescribeBotLocaleRequest.Builder> describeBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Describes the settings that a bot has for a specific locale.
This is a convenience which creates an instance of the
DescribeBotLocaleRequest.Builder
avoiding the need to create one manually viaDescribeBotLocaleRequest.builder()
- Parameters:
describeBotLocaleRequest
- AConsumer
that will call methods onDescribeBotLocaleRequest.Builder
to create a request.- Returns:
- Result of the DescribeBotLocale operation returned by the service.
- See Also:
-
describeBotRecommendation
default DescribeBotRecommendationResponse describeBotRecommendation(DescribeBotRecommendationRequest describeBotRecommendationRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Provides metadata information about a bot recommendation. This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.
- Parameters:
describeBotRecommendationRequest
-- Returns:
- Result of the DescribeBotRecommendation operation returned by the service.
- See Also:
-
describeBotRecommendation
default DescribeBotRecommendationResponse describeBotRecommendation(Consumer<DescribeBotRecommendationRequest.Builder> describeBotRecommendationRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Provides metadata information about a bot recommendation. This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.
This is a convenience which creates an instance of the
DescribeBotRecommendationRequest.Builder
avoiding the need to create one manually viaDescribeBotRecommendationRequest.builder()
- Parameters:
describeBotRecommendationRequest
- AConsumer
that will call methods onDescribeBotRecommendationRequest.Builder
to create a request.- Returns:
- Result of the DescribeBotRecommendation operation returned by the service.
- See Also:
-
describeBotReplica
default DescribeBotReplicaResponse describeBotReplica(DescribeBotReplicaRequest describeBotReplicaRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Monitors the bot replication status through the UI console.
- Parameters:
describeBotReplicaRequest
-- Returns:
- Result of the DescribeBotReplica operation returned by the service.
- See Also:
-
describeBotReplica
default DescribeBotReplicaResponse describeBotReplica(Consumer<DescribeBotReplicaRequest.Builder> describeBotReplicaRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the DescribeBotReplica operation returned by the service.
- See Also:
-
describeBotResourceGeneration
default DescribeBotResourceGenerationResponse describeBotResourceGeneration(DescribeBotResourceGenerationRequest describeBotResourceGenerationRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the DescribeBotResourceGeneration operation returned by the service.
- See Also:
-
describeBotResourceGeneration
default DescribeBotResourceGenerationResponse describeBotResourceGeneration(Consumer<DescribeBotResourceGenerationRequest.Builder> describeBotResourceGenerationRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the DescribeBotResourceGeneration operation returned by the service.
- See Also:
-
describeBotVersion
default DescribeBotVersionResponse describeBotVersion(DescribeBotVersionRequest describeBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Provides metadata about a version of a bot.
- Parameters:
describeBotVersionRequest
-- Returns:
- Result of the DescribeBotVersion operation returned by the service.
- See Also:
-
describeBotVersion
default DescribeBotVersionResponse describeBotVersion(Consumer<DescribeBotVersionRequest.Builder> describeBotVersionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Provides metadata about a version of a bot.
This is a convenience which creates an instance of the
DescribeBotVersionRequest.Builder
avoiding the need to create one manually viaDescribeBotVersionRequest.builder()
- Parameters:
describeBotVersionRequest
- AConsumer
that will call methods onDescribeBotVersionRequest.Builder
to create a request.- Returns:
- Result of the DescribeBotVersion operation returned by the service.
- See Also:
-
describeCustomVocabularyMetadata
default DescribeCustomVocabularyMetadataResponse describeCustomVocabularyMetadata(DescribeCustomVocabularyMetadataRequest describeCustomVocabularyMetadataRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Provides metadata information about a custom vocabulary.
- Parameters:
describeCustomVocabularyMetadataRequest
-- Returns:
- Result of the DescribeCustomVocabularyMetadata operation returned by the service.
- See Also:
-
describeCustomVocabularyMetadata
default DescribeCustomVocabularyMetadataResponse describeCustomVocabularyMetadata(Consumer<DescribeCustomVocabularyMetadataRequest.Builder> describeCustomVocabularyMetadataRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Provides metadata information about a custom vocabulary.
This is a convenience which creates an instance of the
DescribeCustomVocabularyMetadataRequest.Builder
avoiding the need to create one manually viaDescribeCustomVocabularyMetadataRequest.builder()
- Parameters:
describeCustomVocabularyMetadataRequest
- AConsumer
that will call methods onDescribeCustomVocabularyMetadataRequest.Builder
to create a request.- Returns:
- Result of the DescribeCustomVocabularyMetadata operation returned by the service.
- See Also:
-
describeExport
default DescribeExportResponse describeExport(DescribeExportRequest describeExportRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets information about a specific export.
- Parameters:
describeExportRequest
-- Returns:
- Result of the DescribeExport operation returned by the service.
- See Also:
-
describeExport
default DescribeExportResponse describeExport(Consumer<DescribeExportRequest.Builder> describeExportRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets information about a specific export.
This is a convenience which creates an instance of the
DescribeExportRequest.Builder
avoiding the need to create one manually viaDescribeExportRequest.builder()
- Parameters:
describeExportRequest
- AConsumer
that will call methods onDescribeExportRequest.Builder
to create a request.- Returns:
- Result of the DescribeExport operation returned by the service.
- See Also:
-
describeImport
default DescribeImportResponse describeImport(DescribeImportRequest describeImportRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets information about a specific import.
- Parameters:
describeImportRequest
-- Returns:
- Result of the DescribeImport operation returned by the service.
- See Also:
-
describeImport
default DescribeImportResponse describeImport(Consumer<DescribeImportRequest.Builder> describeImportRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets information about a specific import.
This is a convenience which creates an instance of the
DescribeImportRequest.Builder
avoiding the need to create one manually viaDescribeImportRequest.builder()
- Parameters:
describeImportRequest
- AConsumer
that will call methods onDescribeImportRequest.Builder
to create a request.- Returns:
- Result of the DescribeImport operation returned by the service.
- See Also:
-
describeIntent
default DescribeIntentResponse describeIntent(DescribeIntentRequest describeIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Returns metadata about an intent.
- Parameters:
describeIntentRequest
-- Returns:
- Result of the DescribeIntent operation returned by the service.
- See Also:
-
describeIntent
default DescribeIntentResponse describeIntent(Consumer<DescribeIntentRequest.Builder> describeIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Returns metadata about an intent.
This is a convenience which creates an instance of the
DescribeIntentRequest.Builder
avoiding the need to create one manually viaDescribeIntentRequest.builder()
- Parameters:
describeIntentRequest
- AConsumer
that will call methods onDescribeIntentRequest.Builder
to create a request.- Returns:
- Result of the DescribeIntent operation returned by the service.
- See Also:
-
describeResourcePolicy
default DescribeResourcePolicyResponse describeResourcePolicy(DescribeResourcePolicyRequest describeResourcePolicyRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets the resource policy and policy revision for a bot or bot alias.
- Parameters:
describeResourcePolicyRequest
-- Returns:
- Result of the DescribeResourcePolicy operation returned by the service.
- See Also:
-
describeResourcePolicy
default DescribeResourcePolicyResponse describeResourcePolicy(Consumer<DescribeResourcePolicyRequest.Builder> describeResourcePolicyRequest) throws ResourceNotFoundException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets the resource policy and policy revision for a bot or bot alias.
This is a convenience which creates an instance of the
DescribeResourcePolicyRequest.Builder
avoiding the need to create one manually viaDescribeResourcePolicyRequest.builder()
- Parameters:
describeResourcePolicyRequest
- AConsumer
that will call methods onDescribeResourcePolicyRequest.Builder
to create a request.- Returns:
- Result of the DescribeResourcePolicy operation returned by the service.
- See Also:
-
describeSlot
default DescribeSlotResponse describeSlot(DescribeSlotRequest describeSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets metadata information about a slot.
- Parameters:
describeSlotRequest
-- Returns:
- Result of the DescribeSlot operation returned by the service.
- See Also:
-
describeSlot
default DescribeSlotResponse describeSlot(Consumer<DescribeSlotRequest.Builder> describeSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets metadata information about a slot.
This is a convenience which creates an instance of the
DescribeSlotRequest.Builder
avoiding the need to create one manually viaDescribeSlotRequest.builder()
- Parameters:
describeSlotRequest
- AConsumer
that will call methods onDescribeSlotRequest.Builder
to create a request.- Returns:
- Result of the DescribeSlot operation returned by the service.
- See Also:
-
describeSlotType
default DescribeSlotTypeResponse describeSlotType(DescribeSlotTypeRequest describeSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets metadata information about a slot type.
- Parameters:
describeSlotTypeRequest
-- Returns:
- Result of the DescribeSlotType operation returned by the service.
- See Also:
-
describeSlotType
default DescribeSlotTypeResponse describeSlotType(Consumer<DescribeSlotTypeRequest.Builder> describeSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets metadata information about a slot type.
This is a convenience which creates an instance of the
DescribeSlotTypeRequest.Builder
avoiding the need to create one manually viaDescribeSlotTypeRequest.builder()
- Parameters:
describeSlotTypeRequest
- AConsumer
that will call methods onDescribeSlotTypeRequest.Builder
to create a request.- Returns:
- Result of the DescribeSlotType operation returned by the service.
- See Also:
-
describeTestExecution
default DescribeTestExecutionResponse describeTestExecution(DescribeTestExecutionRequest describeTestExecutionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets metadata information about the test execution.
- Parameters:
describeTestExecutionRequest
-- Returns:
- Result of the DescribeTestExecution operation returned by the service.
- See Also:
-
describeTestExecution
default DescribeTestExecutionResponse describeTestExecution(Consumer<DescribeTestExecutionRequest.Builder> describeTestExecutionRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the DescribeTestExecution operation returned by the service.
- See Also:
-
describeTestSet
default DescribeTestSetResponse describeTestSet(DescribeTestSetRequest describeTestSetRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets metadata information about the test set.
- Parameters:
describeTestSetRequest
-- Returns:
- Result of the DescribeTestSet operation returned by the service.
- See Also:
-
describeTestSet
default DescribeTestSetResponse describeTestSet(Consumer<DescribeTestSetRequest.Builder> describeTestSetRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the DescribeTestSet operation returned by the service.
- See Also:
-
describeTestSetDiscrepancyReport
default DescribeTestSetDiscrepancyReportResponse describeTestSetDiscrepancyReport(DescribeTestSetDiscrepancyReportRequest describeTestSetDiscrepancyReportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets metadata information about the test set discrepancy report.
- Parameters:
describeTestSetDiscrepancyReportRequest
-- Returns:
- Result of the DescribeTestSetDiscrepancyReport operation returned by the service.
- See Also:
-
describeTestSetDiscrepancyReport
default DescribeTestSetDiscrepancyReportResponse describeTestSetDiscrepancyReport(Consumer<DescribeTestSetDiscrepancyReportRequest.Builder> describeTestSetDiscrepancyReportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the DescribeTestSetDiscrepancyReport operation returned by the service.
- See Also:
-
describeTestSetGeneration
default DescribeTestSetGenerationResponse describeTestSetGeneration(DescribeTestSetGenerationRequest describeTestSetGenerationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets metadata information about the test set generation.
- Parameters:
describeTestSetGenerationRequest
-- Returns:
- Result of the DescribeTestSetGeneration operation returned by the service.
- See Also:
-
describeTestSetGeneration
default DescribeTestSetGenerationResponse describeTestSetGeneration(Consumer<DescribeTestSetGenerationRequest.Builder> describeTestSetGenerationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the DescribeTestSetGeneration operation returned by the service.
- See Also:
-
generateBotElement
default GenerateBotElementResponse generateBotElement(GenerateBotElementRequest generateBotElementRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Generates sample utterances for an intent.
- Parameters:
generateBotElementRequest
-- Returns:
- Result of the GenerateBotElement operation returned by the service.
- See Also:
-
generateBotElement
default GenerateBotElementResponse generateBotElement(Consumer<GenerateBotElementRequest.Builder> generateBotElementRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the GenerateBotElement operation returned by the service.
- See Also:
-
getTestExecutionArtifactsUrl
default GetTestExecutionArtifactsUrlResponse getTestExecutionArtifactsUrl(GetTestExecutionArtifactsUrlRequest getTestExecutionArtifactsUrlRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The pre-signed Amazon S3 URL to download the test execution result artifacts.
- Parameters:
getTestExecutionArtifactsUrlRequest
-- Returns:
- Result of the GetTestExecutionArtifactsUrl operation returned by the service.
- See Also:
-
getTestExecutionArtifactsUrl
default GetTestExecutionArtifactsUrlResponse getTestExecutionArtifactsUrl(Consumer<GetTestExecutionArtifactsUrlRequest.Builder> getTestExecutionArtifactsUrlRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the GetTestExecutionArtifactsUrl operation returned by the service.
- See Also:
-
listAggregatedUtterances
default ListAggregatedUtterancesResponse listAggregatedUtterances(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) throws ValidationException, PreconditionFailedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Provides a list of utterances that users have sent to the bot.
Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase "I want to order pizza" are aggregated into the same line in the response.
You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent.
Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time.
Utterances statistics are not generated under the following conditions:
-
The
childDirected
field was set to true when the bot was created. -
You are using slot obfuscation with one or more slots.
-
You opted out of participating in improving Amazon Lex.
- Parameters:
listAggregatedUtterancesRequest
-- Returns:
- Result of the ListAggregatedUtterances operation returned by the service.
- See Also:
-
-
listAggregatedUtterances
default ListAggregatedUtterancesResponse listAggregatedUtterances(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) throws ValidationException, PreconditionFailedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Provides a list of utterances that users have sent to the bot.
Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase "I want to order pizza" are aggregated into the same line in the response.
You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent.
Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time.
Utterances statistics are not generated under the following conditions:
-
The
childDirected
field was set to true when the bot was created. -
You are using slot obfuscation with one or more slots.
-
You opted out of participating in improving Amazon Lex.
This is a convenience which creates an instance of the
ListAggregatedUtterancesRequest.Builder
avoiding the need to create one manually viaListAggregatedUtterancesRequest.builder()
- Parameters:
listAggregatedUtterancesRequest
- AConsumer
that will call methods onListAggregatedUtterancesRequest.Builder
to create a request.- Returns:
- Result of the ListAggregatedUtterances operation returned by the service.
- See Also:
-
-
listAggregatedUtterancesPaginator
default ListAggregatedUtterancesIterable listAggregatedUtterancesPaginator(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) throws ValidationException, PreconditionFailedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client.listAggregatedUtterancesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client .listAggregatedUtterancesPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client.listAggregatedUtterancesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation.- Parameters:
listAggregatedUtterancesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAggregatedUtterancesPaginator
default ListAggregatedUtterancesIterable listAggregatedUtterancesPaginator(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) throws ValidationException, PreconditionFailedException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client.listAggregatedUtterancesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client .listAggregatedUtterancesPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesIterable responses = client.listAggregatedUtterancesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)
operation.
This is a convenience which creates an instance of the
ListAggregatedUtterancesRequest.Builder
avoiding the need to create one manually viaListAggregatedUtterancesRequest.builder()
- Parameters:
listAggregatedUtterancesRequest
- AConsumer
that will call methods onListAggregatedUtterancesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotAliasReplicas
default ListBotAliasReplicasResponse listBotAliasReplicas(ListBotAliasReplicasRequest listBotAliasReplicasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The action to list the replicated bots created from the source bot alias.
- Parameters:
listBotAliasReplicasRequest
-- Returns:
- Result of the ListBotAliasReplicas operation returned by the service.
- See Also:
-
listBotAliasReplicas
default ListBotAliasReplicasResponse listBotAliasReplicas(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListBotAliasReplicas operation returned by the service.
- See Also:
-
listBotAliasReplicasPaginator
default ListBotAliasReplicasIterable listBotAliasReplicasPaginator(ListBotAliasReplicasRequest listBotAliasReplicasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasIterable responses = client.listBotAliasReplicasPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasIterable responses = client .listBotAliasReplicasPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasIterable responses = client.listBotAliasReplicasPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation.- Parameters:
listBotAliasReplicasRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotAliasReplicasPaginator
default ListBotAliasReplicasIterable listBotAliasReplicasPaginator(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasIterable responses = client.listBotAliasReplicasPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasIterable responses = client .listBotAliasReplicasPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasIterable responses = client.listBotAliasReplicasPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotAliases
default ListBotAliasesResponse listBotAliases(ListBotAliasesRequest listBotAliasesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of aliases for the specified bot.
- Parameters:
listBotAliasesRequest
-- Returns:
- Result of the ListBotAliases operation returned by the service.
- See Also:
-
listBotAliases
default ListBotAliasesResponse listBotAliases(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of aliases for the specified bot.
This is a convenience which creates an instance of the
ListBotAliasesRequest.Builder
avoiding the need to create one manually viaListBotAliasesRequest.builder()
- Parameters:
listBotAliasesRequest
- AConsumer
that will call methods onListBotAliasesRequest.Builder
to create a request.- Returns:
- Result of the ListBotAliases operation returned by the service.
- See Also:
-
listBotAliasesPaginator
default ListBotAliasesIterable listBotAliasesPaginator(ListBotAliasesRequest listBotAliasesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client.listBotAliasesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client .listBotAliasesPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client.listBotAliasesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)
operation.- Parameters:
listBotAliasesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotAliasesPaginator
default ListBotAliasesIterable listBotAliasesPaginator(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client.listBotAliasesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client .listBotAliasesPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesIterable responses = client.listBotAliasesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)
operation.
This is a convenience which creates an instance of the
ListBotAliasesRequest.Builder
avoiding the need to create one manually viaListBotAliasesRequest.builder()
- Parameters:
listBotAliasesRequest
- AConsumer
that will call methods onListBotAliasesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotLocales
default ListBotLocalesResponse listBotLocales(ListBotLocalesRequest listBotLocalesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of locales for the specified bot.
- Parameters:
listBotLocalesRequest
-- Returns:
- Result of the ListBotLocales operation returned by the service.
- See Also:
-
listBotLocales
default ListBotLocalesResponse listBotLocales(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of locales for the specified bot.
This is a convenience which creates an instance of the
ListBotLocalesRequest.Builder
avoiding the need to create one manually viaListBotLocalesRequest.builder()
- Parameters:
listBotLocalesRequest
- AConsumer
that will call methods onListBotLocalesRequest.Builder
to create a request.- Returns:
- Result of the ListBotLocales operation returned by the service.
- See Also:
-
listBotLocalesPaginator
default ListBotLocalesIterable listBotLocalesPaginator(ListBotLocalesRequest listBotLocalesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client.listBotLocalesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client .listBotLocalesPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client.listBotLocalesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)
operation.- Parameters:
listBotLocalesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotLocalesPaginator
default ListBotLocalesIterable listBotLocalesPaginator(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client.listBotLocalesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client .listBotLocalesPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesIterable responses = client.listBotLocalesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)
operation.
This is a convenience which creates an instance of the
ListBotLocalesRequest.Builder
avoiding the need to create one manually viaListBotLocalesRequest.builder()
- Parameters:
listBotLocalesRequest
- AConsumer
that will call methods onListBotLocalesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotRecommendations
default ListBotRecommendationsResponse listBotRecommendations(ListBotRecommendationsRequest listBotRecommendationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception Get a list of bot recommendations that meet the specified criteria.
- Parameters:
listBotRecommendationsRequest
-- Returns:
- Result of the ListBotRecommendations operation returned by the service.
- See Also:
-
listBotRecommendations
default ListBotRecommendationsResponse listBotRecommendations(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception Get a list of bot recommendations that meet the specified criteria.
This is a convenience which creates an instance of the
ListBotRecommendationsRequest.Builder
avoiding the need to create one manually viaListBotRecommendationsRequest.builder()
- Parameters:
listBotRecommendationsRequest
- AConsumer
that will call methods onListBotRecommendationsRequest.Builder
to create a request.- Returns:
- Result of the ListBotRecommendations operation returned by the service.
- See Also:
-
listBotRecommendationsPaginator
default ListBotRecommendationsIterable listBotRecommendationsPaginator(ListBotRecommendationsRequest listBotRecommendationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client.listBotRecommendationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client .listBotRecommendationsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client.listBotRecommendationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation.- Parameters:
listBotRecommendationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotRecommendationsPaginator
default ListBotRecommendationsIterable listBotRecommendationsPaginator(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client.listBotRecommendationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client .listBotRecommendationsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsIterable responses = client.listBotRecommendationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)
operation.
This is a convenience which creates an instance of the
ListBotRecommendationsRequest.Builder
avoiding the need to create one manually viaListBotRecommendationsRequest.builder()
- Parameters:
listBotRecommendationsRequest
- AConsumer
that will call methods onListBotRecommendationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotReplicas
default ListBotReplicasResponse listBotReplicas(ListBotReplicasRequest listBotReplicasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The action to list the replicated bots.
- Parameters:
listBotReplicasRequest
-- Returns:
- Result of the ListBotReplicas operation returned by the service.
- See Also:
-
listBotReplicas
default ListBotReplicasResponse listBotReplicas(Consumer<ListBotReplicasRequest.Builder> listBotReplicasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListBotReplicas operation returned by the service.
- See Also:
-
listBotResourceGenerations
default ListBotResourceGenerationsResponse listBotResourceGenerations(ListBotResourceGenerationsRequest listBotResourceGenerationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception Lists the generation requests made for a bot locale.
- Parameters:
listBotResourceGenerationsRequest
-- Returns:
- Result of the ListBotResourceGenerations operation returned by the service.
- See Also:
-
listBotResourceGenerations
default ListBotResourceGenerationsResponse listBotResourceGenerations(Consumer<ListBotResourceGenerationsRequest.Builder> listBotResourceGenerationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListBotResourceGenerations operation returned by the service.
- See Also:
-
listBotResourceGenerationsPaginator
default ListBotResourceGenerationsIterable listBotResourceGenerationsPaginator(ListBotResourceGenerationsRequest listBotResourceGenerationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsIterable responses = client.listBotResourceGenerationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsIterable responses = client .listBotResourceGenerationsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsIterable responses = client.listBotResourceGenerationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest)
operation.- Parameters:
listBotResourceGenerationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotResourceGenerationsPaginator
default ListBotResourceGenerationsIterable listBotResourceGenerationsPaginator(Consumer<ListBotResourceGenerationsRequest.Builder> listBotResourceGenerationsRequest) throws ThrottlingException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsIterable responses = client.listBotResourceGenerationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsIterable responses = client .listBotResourceGenerationsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsIterable responses = client.listBotResourceGenerationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotVersionReplicas
default ListBotVersionReplicasResponse listBotVersionReplicas(ListBotVersionReplicasRequest listBotVersionReplicasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Contains information about all the versions replication statuses applicable for Global Resiliency.
- Parameters:
listBotVersionReplicasRequest
-- Returns:
- Result of the ListBotVersionReplicas operation returned by the service.
- See Also:
-
listBotVersionReplicas
default ListBotVersionReplicasResponse listBotVersionReplicas(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListBotVersionReplicas operation returned by the service.
- See Also:
-
listBotVersionReplicasPaginator
default ListBotVersionReplicasIterable listBotVersionReplicasPaginator(ListBotVersionReplicasRequest listBotVersionReplicasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasIterable responses = client.listBotVersionReplicasPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasIterable responses = client .listBotVersionReplicasPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasIterable responses = client.listBotVersionReplicasPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation.- Parameters:
listBotVersionReplicasRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotVersionReplicasPaginator
default ListBotVersionReplicasIterable listBotVersionReplicasPaginator(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasIterable responses = client.listBotVersionReplicasPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasIterable responses = client .listBotVersionReplicasPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasIterable responses = client.listBotVersionReplicasPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotVersions
default ListBotVersionsResponse listBotVersions(ListBotVersionsRequest listBotVersionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets information about all of the versions of a bot.
The
ListBotVersions
operation returns a summary of each version of a bot. For example, if a bot has three numbered versions, 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:
- Result of the ListBotVersions operation returned by the service.
- See Also:
-
listBotVersions
default ListBotVersionsResponse listBotVersions(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets information about all of the versions of a bot.
The
ListBotVersions
operation returns a summary of each version of a bot. For example, if a bot has three numbered versions, 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:
- Result of the ListBotVersions operation returned by the service.
- See Also:
-
listBotVersionsPaginator
default ListBotVersionsIterable listBotVersionsPaginator(ListBotVersionsRequest listBotVersionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client.listBotVersionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client .listBotVersionsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client.listBotVersionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)
operation.- Parameters:
listBotVersionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotVersionsPaginator
default ListBotVersionsIterable listBotVersionsPaginator(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client.listBotVersionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client .listBotVersionsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsIterable responses = client.listBotVersionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)
operation.
This is a convenience which creates an instance of the
ListBotVersionsRequest.Builder
avoiding the need to create one manually viaListBotVersionsRequest.builder()
- Parameters:
listBotVersionsRequest
- AConsumer
that will call methods onListBotVersionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBots
default ListBotsResponse listBots(ListBotsRequest listBotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of available bots.
- Parameters:
listBotsRequest
-- Returns:
- Result of the ListBots operation returned by the service.
- See Also:
-
listBots
default ListBotsResponse listBots(Consumer<ListBotsRequest.Builder> listBotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of available bots.
This is a convenience which creates an instance of the
ListBotsRequest.Builder
avoiding the need to create one manually viaListBotsRequest.builder()
- Parameters:
listBotsRequest
- AConsumer
that will call methods onListBotsRequest.Builder
to create a request.- Returns:
- Result of the ListBots operation returned by the service.
- See Also:
-
listBotsPaginator
default ListBotsIterable listBotsPaginator(ListBotsRequest listBotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation.- Parameters:
listBotsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBotsPaginator
default ListBotsIterable listBotsPaginator(Consumer<ListBotsRequest.Builder> listBotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsIterable responses = client.listBotsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)
operation.
This is a convenience which creates an instance of the
ListBotsRequest.Builder
avoiding the need to create one manually viaListBotsRequest.builder()
- Parameters:
listBotsRequest
- AConsumer
that will call methods onListBotsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuiltInIntents
default ListBuiltInIntentsResponse listBuiltInIntents(ListBuiltInIntentsRequest listBuiltInIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
To use a built-in intent as a the base for your own intent, include the built-in intent signature in the
parentIntentSignature
parameter when you call theCreateIntent
operation. For more information, see CreateIntent.- Parameters:
listBuiltInIntentsRequest
-- Returns:
- Result of the ListBuiltInIntents operation returned by the service.
- See Also:
-
listBuiltInIntents
default ListBuiltInIntentsResponse listBuiltInIntents(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.
To use a built-in intent as a the base for your own intent, include the built-in intent signature in the
parentIntentSignature
parameter when you call 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:
- Result of the ListBuiltInIntents operation returned by the service.
- See Also:
-
listBuiltInIntentsPaginator
default ListBuiltInIntentsIterable listBuiltInIntentsPaginator(ListBuiltInIntentsRequest listBuiltInIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client.listBuiltInIntentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client .listBuiltInIntentsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client.listBuiltInIntentsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation.- Parameters:
listBuiltInIntentsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuiltInIntentsPaginator
default ListBuiltInIntentsIterable listBuiltInIntentsPaginator(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client.listBuiltInIntentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client .listBuiltInIntentsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsIterable responses = client.listBuiltInIntentsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)
operation.
This is a convenience which creates an instance of the
ListBuiltInIntentsRequest.Builder
avoiding the need to create one manually viaListBuiltInIntentsRequest.builder()
- Parameters:
listBuiltInIntentsRequest
- AConsumer
that will call methods onListBuiltInIntentsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuiltInSlotTypes
default ListBuiltInSlotTypesResponse listBuiltInSlotTypes(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of built-in slot types that meet the specified criteria.
- Parameters:
listBuiltInSlotTypesRequest
-- Returns:
- Result of the ListBuiltInSlotTypes operation returned by the service.
- See Also:
-
listBuiltInSlotTypes
default ListBuiltInSlotTypesResponse listBuiltInSlotTypes(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of built-in slot types that meet the specified criteria.
This is a convenience which creates an instance of the
ListBuiltInSlotTypesRequest.Builder
avoiding the need to create one manually viaListBuiltInSlotTypesRequest.builder()
- Parameters:
listBuiltInSlotTypesRequest
- AConsumer
that will call methods onListBuiltInSlotTypesRequest.Builder
to create a request.- Returns:
- Result of the ListBuiltInSlotTypes operation returned by the service.
- See Also:
-
listBuiltInSlotTypesPaginator
default ListBuiltInSlotTypesIterable listBuiltInSlotTypesPaginator(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client.listBuiltInSlotTypesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client .listBuiltInSlotTypesPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client.listBuiltInSlotTypesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation.- Parameters:
listBuiltInSlotTypesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBuiltInSlotTypesPaginator
default ListBuiltInSlotTypesIterable listBuiltInSlotTypesPaginator(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client.listBuiltInSlotTypesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client .listBuiltInSlotTypesPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesIterable responses = client.listBuiltInSlotTypesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)
operation.
This is a convenience which creates an instance of the
ListBuiltInSlotTypesRequest.Builder
avoiding the need to create one manually viaListBuiltInSlotTypesRequest.builder()
- Parameters:
listBuiltInSlotTypesRequest
- AConsumer
that will call methods onListBuiltInSlotTypesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomVocabularyItems
default ListCustomVocabularyItemsResponse listCustomVocabularyItems(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
- Parameters:
listCustomVocabularyItemsRequest
-- Returns:
- Result of the ListCustomVocabularyItems operation returned by the service.
- See Also:
-
listCustomVocabularyItems
default ListCustomVocabularyItemsResponse listCustomVocabularyItems(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.
This is a convenience which creates an instance of the
ListCustomVocabularyItemsRequest.Builder
avoiding the need to create one manually viaListCustomVocabularyItemsRequest.builder()
- Parameters:
listCustomVocabularyItemsRequest
- AConsumer
that will call methods onListCustomVocabularyItemsRequest.Builder
to create a request.- Returns:
- Result of the ListCustomVocabularyItems operation returned by the service.
- See Also:
-
listCustomVocabularyItemsPaginator
default ListCustomVocabularyItemsIterable listCustomVocabularyItemsPaginator(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client.listCustomVocabularyItemsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client .listCustomVocabularyItemsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client.listCustomVocabularyItemsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation.- Parameters:
listCustomVocabularyItemsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomVocabularyItemsPaginator
default ListCustomVocabularyItemsIterable listCustomVocabularyItemsPaginator(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client.listCustomVocabularyItemsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client .listCustomVocabularyItemsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsIterable responses = client.listCustomVocabularyItemsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest)
operation.
This is a convenience which creates an instance of the
ListCustomVocabularyItemsRequest.Builder
avoiding the need to create one manually viaListCustomVocabularyItemsRequest.builder()
- Parameters:
listCustomVocabularyItemsRequest
- AConsumer
that will call methods onListCustomVocabularyItemsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listExports
default ListExportsResponse listExports(ListExportsRequest listExportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.
- Parameters:
listExportsRequest
-- Returns:
- Result of the ListExports operation returned by the service.
- See Also:
-
listExports
default ListExportsResponse listExports(Consumer<ListExportsRequest.Builder> listExportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.
This is a convenience which creates an instance of the
ListExportsRequest.Builder
avoiding the need to create one manually viaListExportsRequest.builder()
- Parameters:
listExportsRequest
- AConsumer
that will call methods onListExportsRequest.Builder
to create a request.- Returns:
- Result of the ListExports operation returned by the service.
- See Also:
-
listExportsPaginator
default ListExportsIterable listExportsPaginator(ListExportsRequest listExportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation.- Parameters:
listExportsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listExportsPaginator
default ListExportsIterable listExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsIterable responses = client.listExportsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)
operation.
This is a convenience which creates an instance of the
ListExportsRequest.Builder
avoiding the need to create one manually viaListExportsRequest.builder()
- Parameters:
listExportsRequest
- AConsumer
that will call methods onListExportsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listImports
default ListImportsResponse listImports(ListImportsRequest listImportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.
- Parameters:
listImportsRequest
-- Returns:
- Result of the ListImports operation returned by the service.
- See Also:
-
listImports
default ListImportsResponse listImports(Consumer<ListImportsRequest.Builder> listImportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.
This is a convenience which creates an instance of the
ListImportsRequest.Builder
avoiding the need to create one manually viaListImportsRequest.builder()
- Parameters:
listImportsRequest
- AConsumer
that will call methods onListImportsRequest.Builder
to create a request.- Returns:
- Result of the ListImports operation returned by the service.
- See Also:
-
listImportsPaginator
default ListImportsIterable listImportsPaginator(ListImportsRequest listImportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation.- Parameters:
listImportsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listImportsPaginator
default ListImportsIterable listImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest) throws ThrottlingException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsIterable responses = client.listImportsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)
operation.
This is a convenience which creates an instance of the
ListImportsRequest.Builder
avoiding the need to create one manually viaListImportsRequest.builder()
- Parameters:
listImportsRequest
- AConsumer
that will call methods onListImportsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntentMetrics
default ListIntentMetricsResponse listIntentMetrics(ListIntentMetricsRequest listIntentMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListIntentMetrics operation returned by the service.
- See Also:
-
-
listIntentMetrics
default ListIntentMetricsResponse listIntentMetrics(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListIntentMetrics operation returned by the service.
- See Also:
-
-
listIntentMetricsPaginator
default ListIntentMetricsIterable listIntentMetricsPaginator(ListIntentMetricsRequest listIntentMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsIterable responses = client.listIntentMetricsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsIterable responses = client .listIntentMetricsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsIterable responses = client.listIntentMetricsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation.- Parameters:
listIntentMetricsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntentMetricsPaginator
default ListIntentMetricsIterable listIntentMetricsPaginator(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsIterable responses = client.listIntentMetricsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsIterable responses = client .listIntentMetricsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsIterable responses = client.listIntentMetricsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntentPaths
default ListIntentPathsResponse listIntentPaths(ListIntentPathsRequest listIntentPathsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListIntentPaths operation returned by the service.
- See Also:
-
-
listIntentPaths
default ListIntentPathsResponse listIntentPaths(Consumer<ListIntentPathsRequest.Builder> listIntentPathsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListIntentPaths operation returned by the service.
- See Also:
-
-
listIntentStageMetrics
default ListIntentStageMetricsResponse listIntentStageMetrics(ListIntentStageMetricsRequest listIntentStageMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListIntentStageMetrics operation returned by the service.
- See Also:
-
-
listIntentStageMetrics
default ListIntentStageMetricsResponse listIntentStageMetrics(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListIntentStageMetrics operation returned by the service.
- See Also:
-
-
listIntentStageMetricsPaginator
default ListIntentStageMetricsIterable listIntentStageMetricsPaginator(ListIntentStageMetricsRequest listIntentStageMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsIterable responses = client.listIntentStageMetricsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsIterable responses = client .listIntentStageMetricsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsIterable responses = client.listIntentStageMetricsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation.- Parameters:
listIntentStageMetricsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntentStageMetricsPaginator
default ListIntentStageMetricsIterable listIntentStageMetricsPaginator(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsIterable responses = client.listIntentStageMetricsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsIterable responses = client .listIntentStageMetricsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsIterable responses = client.listIntentStageMetricsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntents
default ListIntentsResponse listIntents(ListIntentsRequest listIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Get a list of intents that meet the specified criteria.
- Parameters:
listIntentsRequest
-- Returns:
- Result of the ListIntents operation returned by the service.
- See Also:
-
listIntents
default ListIntentsResponse listIntents(Consumer<ListIntentsRequest.Builder> listIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Get a list of intents that meet the specified criteria.
This is a convenience which creates an instance of the
ListIntentsRequest.Builder
avoiding the need to create one manually viaListIntentsRequest.builder()
- Parameters:
listIntentsRequest
- AConsumer
that will call methods onListIntentsRequest.Builder
to create a request.- Returns:
- Result of the ListIntents operation returned by the service.
- See Also:
-
listIntentsPaginator
default ListIntentsIterable listIntentsPaginator(ListIntentsRequest listIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation.- Parameters:
listIntentsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIntentsPaginator
default ListIntentsIterable listIntentsPaginator(Consumer<ListIntentsRequest.Builder> listIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsIterable responses = client.listIntentsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)
operation.
This is a convenience which creates an instance of the
ListIntentsRequest.Builder
avoiding the need to create one manually viaListIntentsRequest.builder()
- Parameters:
listIntentsRequest
- AConsumer
that will call methods onListIntentsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRecommendedIntents
default ListRecommendedIntentsResponse listRecommendedIntents(ListRecommendedIntentsRequest listRecommendedIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance.
- Parameters:
listRecommendedIntentsRequest
-- Returns:
- Result of the ListRecommendedIntents operation returned by the service.
- See Also:
-
listRecommendedIntents
default ListRecommendedIntentsResponse listRecommendedIntents(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance.
This is a convenience which creates an instance of the
ListRecommendedIntentsRequest.Builder
avoiding the need to create one manually viaListRecommendedIntentsRequest.builder()
- Parameters:
listRecommendedIntentsRequest
- AConsumer
that will call methods onListRecommendedIntentsRequest.Builder
to create a request.- Returns:
- Result of the ListRecommendedIntents operation returned by the service.
- See Also:
-
listRecommendedIntentsPaginator
default ListRecommendedIntentsIterable listRecommendedIntentsPaginator(ListRecommendedIntentsRequest listRecommendedIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client.listRecommendedIntentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client .listRecommendedIntentsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client.listRecommendedIntentsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation.- Parameters:
listRecommendedIntentsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRecommendedIntentsPaginator
default ListRecommendedIntentsIterable listRecommendedIntentsPaginator(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client.listRecommendedIntentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client .listRecommendedIntentsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsIterable responses = client.listRecommendedIntentsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)
operation.
This is a convenience which creates an instance of the
ListRecommendedIntentsRequest.Builder
avoiding the need to create one manually viaListRecommendedIntentsRequest.builder()
- Parameters:
listRecommendedIntentsRequest
- AConsumer
that will call methods onListRecommendedIntentsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSessionAnalyticsData
default ListSessionAnalyticsDataResponse listSessionAnalyticsData(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListSessionAnalyticsData operation returned by the service.
- See Also:
-
-
listSessionAnalyticsData
default ListSessionAnalyticsDataResponse listSessionAnalyticsData(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListSessionAnalyticsData operation returned by the service.
- See Also:
-
-
listSessionAnalyticsDataPaginator
default ListSessionAnalyticsDataIterable listSessionAnalyticsDataPaginator(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataIterable responses = client.listSessionAnalyticsDataPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataIterable responses = client .listSessionAnalyticsDataPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataIterable responses = client.listSessionAnalyticsDataPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation.- Parameters:
listSessionAnalyticsDataRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSessionAnalyticsDataPaginator
default ListSessionAnalyticsDataIterable listSessionAnalyticsDataPaginator(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataIterable responses = client.listSessionAnalyticsDataPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataIterable responses = client .listSessionAnalyticsDataPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataIterable responses = client.listSessionAnalyticsDataPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listSessionMetrics
default ListSessionMetricsResponse listSessionMetrics(ListSessionMetricsRequest listSessionMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListSessionMetrics operation returned by the service.
- See Also:
-
-
listSessionMetrics
default ListSessionMetricsResponse listSessionMetrics(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListSessionMetrics operation returned by the service.
- See Also:
-
-
listSessionMetricsPaginator
default ListSessionMetricsIterable listSessionMetricsPaginator(ListSessionMetricsRequest listSessionMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsIterable responses = client.listSessionMetricsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsIterable responses = client .listSessionMetricsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsIterable responses = client.listSessionMetricsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation.- Parameters:
listSessionMetricsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSessionMetricsPaginator
default ListSessionMetricsIterable listSessionMetricsPaginator(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsIterable responses = client.listSessionMetricsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsIterable responses = client .listSessionMetricsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsIterable responses = client.listSessionMetricsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listSlotTypes
default ListSlotTypesResponse listSlotTypes(ListSlotTypesRequest listSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of slot types that match the specified criteria.
- Parameters:
listSlotTypesRequest
-- Returns:
- Result of the ListSlotTypes operation returned by the service.
- See Also:
-
listSlotTypes
default ListSlotTypesResponse listSlotTypes(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of slot types that match the specified criteria.
This is a convenience which creates an instance of the
ListSlotTypesRequest.Builder
avoiding the need to create one manually viaListSlotTypesRequest.builder()
- Parameters:
listSlotTypesRequest
- AConsumer
that will call methods onListSlotTypesRequest.Builder
to create a request.- Returns:
- Result of the ListSlotTypes operation returned by the service.
- See Also:
-
listSlotTypesPaginator
default ListSlotTypesIterable listSlotTypesPaginator(ListSlotTypesRequest listSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client.listSlotTypesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client .listSlotTypesPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client.listSlotTypesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)
operation.- Parameters:
listSlotTypesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSlotTypesPaginator
default ListSlotTypesIterable listSlotTypesPaginator(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client.listSlotTypesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client .listSlotTypesPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesIterable responses = client.listSlotTypesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)
operation.
This is a convenience which creates an instance of the
ListSlotTypesRequest.Builder
avoiding the need to create one manually viaListSlotTypesRequest.builder()
- Parameters:
listSlotTypesRequest
- AConsumer
that will call methods onListSlotTypesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSlots
default ListSlotsResponse listSlots(ListSlotsRequest listSlotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of slots that match the specified criteria.
- Parameters:
listSlotsRequest
-- Returns:
- Result of the ListSlots operation returned by the service.
- See Also:
-
listSlots
default ListSlotsResponse listSlots(Consumer<ListSlotsRequest.Builder> listSlotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of slots that match the specified criteria.
This is a convenience which creates an instance of the
ListSlotsRequest.Builder
avoiding the need to create one manually viaListSlotsRequest.builder()
- Parameters:
listSlotsRequest
- AConsumer
that will call methods onListSlotsRequest.Builder
to create a request.- Returns:
- Result of the ListSlots operation returned by the service.
- See Also:
-
listSlotsPaginator
default ListSlotsIterable listSlotsPaginator(ListSlotsRequest listSlotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation.- Parameters:
listSlotsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSlotsPaginator
default ListSlotsIterable listSlotsPaginator(Consumer<ListSlotsRequest.Builder> listSlotsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsIterable responses = client.listSlotsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)
operation.
This is a convenience which creates an instance of the
ListSlotsRequest.Builder
avoiding the need to create one manually viaListSlotsRequest.builder()
- Parameters:
listSlotsRequest
- AConsumer
that will call methods onListSlotsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTestExecutionResultItems
default ListTestExecutionResultItemsResponse listTestExecutionResultItems(ListTestExecutionResultItemsRequest listTestExecutionResultItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Gets a list of test execution result items.
- Parameters:
listTestExecutionResultItemsRequest
-- Returns:
- Result of the ListTestExecutionResultItems operation returned by the service.
- See Also:
-
listTestExecutionResultItems
default ListTestExecutionResultItemsResponse listTestExecutionResultItems(Consumer<ListTestExecutionResultItemsRequest.Builder> listTestExecutionResultItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListTestExecutionResultItems operation returned by the service.
- See Also:
-
listTestExecutionResultItemsPaginator
default ListTestExecutionResultItemsIterable listTestExecutionResultItemsPaginator(ListTestExecutionResultItemsRequest listTestExecutionResultItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsIterable responses = client.listTestExecutionResultItemsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsIterable responses = client .listTestExecutionResultItemsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsIterable responses = client.listTestExecutionResultItemsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest)
operation.- Parameters:
listTestExecutionResultItemsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestExecutionResultItemsPaginator
default ListTestExecutionResultItemsIterable listTestExecutionResultItemsPaginator(Consumer<ListTestExecutionResultItemsRequest.Builder> listTestExecutionResultItemsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsIterable responses = client.listTestExecutionResultItemsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsIterable responses = client .listTestExecutionResultItemsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsIterable responses = client.listTestExecutionResultItemsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestExecutions
default ListTestExecutionsResponse listTestExecutions(ListTestExecutionsRequest listTestExecutionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The list of test set executions.
- Parameters:
listTestExecutionsRequest
-- Returns:
- Result of the ListTestExecutions operation returned by the service.
- See Also:
-
listTestExecutions
default ListTestExecutionsResponse listTestExecutions(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListTestExecutions operation returned by the service.
- See Also:
-
listTestExecutionsPaginator
default ListTestExecutionsIterable listTestExecutionsPaginator(ListTestExecutionsRequest listTestExecutionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsIterable responses = client.listTestExecutionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsIterable responses = client .listTestExecutionsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsIterable responses = client.listTestExecutionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation.- Parameters:
listTestExecutionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestExecutionsPaginator
default ListTestExecutionsIterable listTestExecutionsPaginator(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsIterable responses = client.listTestExecutionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsIterable responses = client .listTestExecutionsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsIterable responses = client.listTestExecutionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestSetRecords
default ListTestSetRecordsResponse listTestSetRecords(ListTestSetRecordsRequest listTestSetRecordsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The list of test set records.
- Parameters:
listTestSetRecordsRequest
-- Returns:
- Result of the ListTestSetRecords operation returned by the service.
- See Also:
-
listTestSetRecords
default ListTestSetRecordsResponse listTestSetRecords(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListTestSetRecords operation returned by the service.
- See Also:
-
listTestSetRecordsPaginator
default ListTestSetRecordsIterable listTestSetRecordsPaginator(ListTestSetRecordsRequest listTestSetRecordsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsIterable responses = client.listTestSetRecordsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsIterable responses = client .listTestSetRecordsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsIterable responses = client.listTestSetRecordsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation.- Parameters:
listTestSetRecordsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestSetRecordsPaginator
default ListTestSetRecordsIterable listTestSetRecordsPaginator(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsIterable responses = client.listTestSetRecordsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsIterable responses = client .listTestSetRecordsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsIterable responses = client.listTestSetRecordsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestSets
default ListTestSetsResponse listTestSets(ListTestSetsRequest listTestSetsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The list of the test sets
- Parameters:
listTestSetsRequest
-- Returns:
- Result of the ListTestSets operation returned by the service.
- See Also:
-
listTestSets
default ListTestSetsResponse listTestSets(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListTestSets operation returned by the service.
- See Also:
-
listTestSetsPaginator
default ListTestSetsIterable listTestSetsPaginator(ListTestSetsRequest listTestSetsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsIterable responses = client.listTestSetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsIterable responses = client.listTestSetsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsIterable responses = client.listTestSetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)
operation.- Parameters:
listTestSetsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestSetsPaginator
default ListTestSetsIterable listTestSetsPaginator(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsIterable responses = client.listTestSetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsIterable responses = client.listTestSetsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsIterable responses = client.listTestSetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listUtteranceAnalyticsData
default ListUtteranceAnalyticsDataResponse listUtteranceAnalyticsData(ListUtteranceAnalyticsDataRequest listUtteranceAnalyticsDataRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListUtteranceAnalyticsData operation returned by the service.
- See Also:
-
-
listUtteranceAnalyticsData
default ListUtteranceAnalyticsDataResponse listUtteranceAnalyticsData(Consumer<ListUtteranceAnalyticsDataRequest.Builder> listUtteranceAnalyticsDataRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListUtteranceAnalyticsData operation returned by the service.
- See Also:
-
-
listUtteranceAnalyticsDataPaginator
default ListUtteranceAnalyticsDataIterable listUtteranceAnalyticsDataPaginator(ListUtteranceAnalyticsDataRequest listUtteranceAnalyticsDataRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataIterable responses = client.listUtteranceAnalyticsDataPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataIterable responses = client .listUtteranceAnalyticsDataPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataIterable responses = client.listUtteranceAnalyticsDataPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest)
operation.- Parameters:
listUtteranceAnalyticsDataRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listUtteranceAnalyticsDataPaginator
default ListUtteranceAnalyticsDataIterable listUtteranceAnalyticsDataPaginator(Consumer<ListUtteranceAnalyticsDataRequest.Builder> listUtteranceAnalyticsDataRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataIterable responses = client.listUtteranceAnalyticsDataPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataIterable responses = client .listUtteranceAnalyticsDataPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataIterable responses = client.listUtteranceAnalyticsDataPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listUtteranceMetrics
default ListUtteranceMetricsResponse listUtteranceMetrics(ListUtteranceMetricsRequest listUtteranceMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListUtteranceMetrics operation returned by the service.
- See Also:
-
-
listUtteranceMetrics
default ListUtteranceMetricsResponse listUtteranceMetrics(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the ListUtteranceMetrics operation returned by the service.
- See Also:
-
-
listUtteranceMetricsPaginator
default ListUtteranceMetricsIterable listUtteranceMetricsPaginator(ListUtteranceMetricsRequest listUtteranceMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsIterable responses = client.listUtteranceMetricsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsIterable responses = client .listUtteranceMetricsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsIterable responses = client.listUtteranceMetricsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)
operation.- Parameters:
listUtteranceMetricsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listUtteranceMetricsPaginator
default ListUtteranceMetricsIterable listUtteranceMetricsPaginator(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest) throws ThrottlingException, ValidationException, PreconditionFailedException, ServiceQuotaExceededException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception This is a variant of
listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsIterable responses = client.listUtteranceMetricsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsIterable responses = client .listUtteranceMetricsPaginator(request); for (software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsIterable responses = client.listUtteranceMetricsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
searchAssociatedTranscripts
default SearchAssociatedTranscriptsResponse searchAssociatedTranscripts(SearchAssociatedTranscriptsRequest searchAssociatedTranscriptsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception Search for associated transcripts that meet the specified criteria.
- Parameters:
searchAssociatedTranscriptsRequest
-- Returns:
- Result of the SearchAssociatedTranscripts operation returned by the service.
- See Also:
-
searchAssociatedTranscripts
default SearchAssociatedTranscriptsResponse searchAssociatedTranscripts(Consumer<SearchAssociatedTranscriptsRequest.Builder> searchAssociatedTranscriptsRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, InternalServerException, ResourceNotFoundException, AwsServiceException, SdkClientException, LexModelsV2Exception Search for associated transcripts that meet the specified criteria.
This is a convenience which creates an instance of the
SearchAssociatedTranscriptsRequest.Builder
avoiding the need to create one manually viaSearchAssociatedTranscriptsRequest.builder()
- Parameters:
searchAssociatedTranscriptsRequest
- AConsumer
that will call methods onSearchAssociatedTranscriptsRequest.Builder
to create a request.- Returns:
- Result of the SearchAssociatedTranscripts operation returned by the service.
- See Also:
-
startBotRecommendation
default StartBotRecommendationResponse startBotRecommendation(StartBotRecommendationRequest startBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Use this to provide your transcript data, and to start the bot recommendation process.
- Parameters:
startBotRecommendationRequest
-- Returns:
- Result of the StartBotRecommendation operation returned by the service.
- See Also:
-
startBotRecommendation
default StartBotRecommendationResponse startBotRecommendation(Consumer<StartBotRecommendationRequest.Builder> startBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Use this to provide your transcript data, and to start the bot recommendation process.
This is a convenience which creates an instance of the
StartBotRecommendationRequest.Builder
avoiding the need to create one manually viaStartBotRecommendationRequest.builder()
- Parameters:
startBotRecommendationRequest
- AConsumer
that will call methods onStartBotRecommendationRequest.Builder
to create a request.- Returns:
- Result of the StartBotRecommendation operation returned by the service.
- See Also:
-
startBotResourceGeneration
default StartBotResourceGenerationResponse startBotResourceGeneration(StartBotResourceGenerationRequest startBotResourceGenerationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the StartBotResourceGeneration operation returned by the service.
- See Also:
-
startBotResourceGeneration
default StartBotResourceGenerationResponse startBotResourceGeneration(Consumer<StartBotResourceGenerationRequest.Builder> startBotResourceGenerationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the StartBotResourceGeneration operation returned by the service.
- See Also:
-
startImport
default StartImportResponse startImport(StartImportRequest startImportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
- Parameters:
startImportRequest
-- Returns:
- Result of the StartImport operation returned by the service.
- See Also:
-
startImport
default StartImportResponse startImport(Consumer<StartImportRequest.Builder> startImportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.
This is a convenience which creates an instance of the
StartImportRequest.Builder
avoiding the need to create one manually viaStartImportRequest.builder()
- Parameters:
startImportRequest
- AConsumer
that will call methods onStartImportRequest.Builder
to create a request.- Returns:
- Result of the StartImport operation returned by the service.
- See Also:
-
startTestExecution
default StartTestExecutionResponse startTestExecution(StartTestExecutionRequest startTestExecutionRequest) throws ThrottlingException, ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The action to start test set execution.
- Parameters:
startTestExecutionRequest
-- Returns:
- Result of the StartTestExecution operation returned by the service.
- See Also:
-
startTestExecution
default StartTestExecutionResponse startTestExecution(Consumer<StartTestExecutionRequest.Builder> startTestExecutionRequest) throws ThrottlingException, ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the StartTestExecution operation returned by the service.
- See Also:
-
startTestSetGeneration
default StartTestSetGenerationResponse startTestSetGeneration(StartTestSetGenerationRequest startTestSetGenerationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The action to start the generation of test set.
- Parameters:
startTestSetGenerationRequest
-- Returns:
- Result of the StartTestSetGeneration operation returned by the service.
- See Also:
-
startTestSetGeneration
default StartTestSetGenerationResponse startTestSetGeneration(Consumer<StartTestSetGenerationRequest.Builder> startTestSetGenerationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the StartTestSetGeneration operation returned by the service.
- See Also:
-
stopBotRecommendation
default StopBotRecommendationResponse stopBotRecommendation(StopBotRecommendationRequest stopBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Stop an already running Bot Recommendation request.
- Parameters:
stopBotRecommendationRequest
-- Returns:
- Result of the StopBotRecommendation operation returned by the service.
- See Also:
-
stopBotRecommendation
default StopBotRecommendationResponse stopBotRecommendation(Consumer<StopBotRecommendationRequest.Builder> stopBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Stop an already running Bot Recommendation request.
This is a convenience which creates an instance of the
StopBotRecommendationRequest.Builder
avoiding the need to create one manually viaStopBotRecommendationRequest.builder()
- Parameters:
stopBotRecommendationRequest
- AConsumer
that will call methods onStopBotRecommendationRequest.Builder
to create a request.- Returns:
- Result of the StopBotRecommendation operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes tags from a bot, bot alias, or bot channel.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ThrottlingException, ResourceNotFoundException, ValidationException, AwsServiceException, SdkClientException, LexModelsV2Exception Removes tags from a bot, bot alias, or bot channel.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateBot
default UpdateBotResponse updateBot(UpdateBotRequest updateBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the configuration of an existing bot.
- Parameters:
updateBotRequest
-- Returns:
- Result of the UpdateBot operation returned by the service.
- See Also:
-
updateBot
default UpdateBotResponse updateBot(Consumer<UpdateBotRequest.Builder> updateBotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the configuration of an existing bot.
This is a convenience which creates an instance of the
UpdateBotRequest.Builder
avoiding the need to create one manually viaUpdateBotRequest.builder()
- Parameters:
updateBotRequest
- AConsumer
that will call methods onUpdateBotRequest.Builder
to create a request.- Returns:
- Result of the UpdateBot operation returned by the service.
- See Also:
-
updateBotAlias
default UpdateBotAliasResponse updateBotAlias(UpdateBotAliasRequest updateBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the configuration of an existing bot alias.
- Parameters:
updateBotAliasRequest
-- Returns:
- Result of the UpdateBotAlias operation returned by the service.
- See Also:
-
updateBotAlias
default UpdateBotAliasResponse updateBotAlias(Consumer<UpdateBotAliasRequest.Builder> updateBotAliasRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the configuration of an existing bot alias.
This is a convenience which creates an instance of the
UpdateBotAliasRequest.Builder
avoiding the need to create one manually viaUpdateBotAliasRequest.builder()
- Parameters:
updateBotAliasRequest
- AConsumer
that will call methods onUpdateBotAliasRequest.Builder
to create a request.- Returns:
- Result of the UpdateBotAlias operation returned by the service.
- See Also:
-
updateBotLocale
default UpdateBotLocaleResponse updateBotLocale(UpdateBotLocaleRequest updateBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the settings that a bot has for a specific locale.
- Parameters:
updateBotLocaleRequest
-- Returns:
- Result of the UpdateBotLocale operation returned by the service.
- See Also:
-
updateBotLocale
default UpdateBotLocaleResponse updateBotLocale(Consumer<UpdateBotLocaleRequest.Builder> updateBotLocaleRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the settings that a bot has for a specific locale.
This is a convenience which creates an instance of the
UpdateBotLocaleRequest.Builder
avoiding the need to create one manually viaUpdateBotLocaleRequest.builder()
- Parameters:
updateBotLocaleRequest
- AConsumer
that will call methods onUpdateBotLocaleRequest.Builder
to create a request.- Returns:
- Result of the UpdateBotLocale operation returned by the service.
- See Also:
-
updateBotRecommendation
default UpdateBotRecommendationResponse updateBotRecommendation(UpdateBotRecommendationRequest updateBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates an existing bot recommendation request.
- Parameters:
updateBotRecommendationRequest
-- Returns:
- Result of the UpdateBotRecommendation operation returned by the service.
- See Also:
-
updateBotRecommendation
default UpdateBotRecommendationResponse updateBotRecommendation(Consumer<UpdateBotRecommendationRequest.Builder> updateBotRecommendationRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, PreconditionFailedException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates an existing bot recommendation request.
This is a convenience which creates an instance of the
UpdateBotRecommendationRequest.Builder
avoiding the need to create one manually viaUpdateBotRecommendationRequest.builder()
- Parameters:
updateBotRecommendationRequest
- AConsumer
that will call methods onUpdateBotRecommendationRequest.Builder
to create a request.- Returns:
- Result of the UpdateBotRecommendation operation returned by the service.
- See Also:
-
updateExport
default UpdateExportResponse updateExport(UpdateExportRequest updateExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the password used to protect an export zip archive.
The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the DescribeExport operation.
- Parameters:
updateExportRequest
-- Returns:
- Result of the UpdateExport operation returned by the service.
- See Also:
-
updateExport
default UpdateExportResponse updateExport(Consumer<UpdateExportRequest.Builder> updateExportRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, ResourceNotFoundException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the password used to protect an export zip archive.
The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the DescribeExport operation.
This is a convenience which creates an instance of the
UpdateExportRequest.Builder
avoiding the need to create one manually viaUpdateExportRequest.builder()
- Parameters:
updateExportRequest
- AConsumer
that will call methods onUpdateExportRequest.Builder
to create a request.- Returns:
- Result of the UpdateExport operation returned by the service.
- See Also:
-
updateIntent
default UpdateIntentResponse updateIntent(UpdateIntentRequest updateIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the settings for an intent.
- Parameters:
updateIntentRequest
-- Returns:
- Result of the UpdateIntent operation returned by the service.
- See Also:
-
updateIntent
default UpdateIntentResponse updateIntent(Consumer<UpdateIntentRequest.Builder> updateIntentRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the settings for an intent.
This is a convenience which creates an instance of the
UpdateIntentRequest.Builder
avoiding the need to create one manually viaUpdateIntentRequest.builder()
- Parameters:
updateIntentRequest
- AConsumer
that will call methods onUpdateIntentRequest.Builder
to create a request.- Returns:
- Result of the UpdateIntent operation returned by the service.
- See Also:
-
updateResourcePolicy
default UpdateResourcePolicyResponse updateResourcePolicy(UpdateResourcePolicyRequest updateResourcePolicyRequest) throws ResourceNotFoundException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Replaces the existing resource policy for a bot or bot alias with a new one. If the policy doesn't exist, Amazon Lex returns an exception.
- Parameters:
updateResourcePolicyRequest
-- Returns:
- Result of the UpdateResourcePolicy operation returned by the service.
- See Also:
-
updateResourcePolicy
default UpdateResourcePolicyResponse updateResourcePolicy(Consumer<UpdateResourcePolicyRequest.Builder> updateResourcePolicyRequest) throws ResourceNotFoundException, ServiceQuotaExceededException, PreconditionFailedException, ValidationException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LexModelsV2Exception Replaces the existing resource policy for a bot or bot alias with a new one. If the policy doesn't exist, Amazon Lex returns an exception.
This is a convenience which creates an instance of the
UpdateResourcePolicyRequest.Builder
avoiding the need to create one manually viaUpdateResourcePolicyRequest.builder()
- Parameters:
updateResourcePolicyRequest
- AConsumer
that will call methods onUpdateResourcePolicyRequest.Builder
to create a request.- Returns:
- Result of the UpdateResourcePolicy operation returned by the service.
- See Also:
-
updateSlot
default UpdateSlotResponse updateSlot(UpdateSlotRequest updateSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the settings for a slot.
- Parameters:
updateSlotRequest
-- Returns:
- Result of the UpdateSlot operation returned by the service.
- See Also:
-
updateSlot
default UpdateSlotResponse updateSlot(Consumer<UpdateSlotRequest.Builder> updateSlotRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the settings for a slot.
This is a convenience which creates an instance of the
UpdateSlotRequest.Builder
avoiding the need to create one manually viaUpdateSlotRequest.builder()
- Parameters:
updateSlotRequest
- AConsumer
that will call methods onUpdateSlotRequest.Builder
to create a request.- Returns:
- Result of the UpdateSlot operation returned by the service.
- See Also:
-
updateSlotType
default UpdateSlotTypeResponse updateSlotType(UpdateSlotTypeRequest updateSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the configuration of an existing slot type.
- Parameters:
updateSlotTypeRequest
-- Returns:
- Result of the UpdateSlotType operation returned by the service.
- See Also:
-
updateSlotType
default UpdateSlotTypeResponse updateSlotType(Consumer<UpdateSlotTypeRequest.Builder> updateSlotTypeRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception Updates the configuration of an existing slot type.
This is a convenience which creates an instance of the
UpdateSlotTypeRequest.Builder
avoiding the need to create one manually viaUpdateSlotTypeRequest.builder()
- Parameters:
updateSlotTypeRequest
- AConsumer
that will call methods onUpdateSlotTypeRequest.Builder
to create a request.- Returns:
- Result of the UpdateSlotType operation returned by the service.
- See Also:
-
updateTestSet
default UpdateTestSetResponse updateTestSet(UpdateTestSetRequest updateTestSetRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception The action to update the test set.
- Parameters:
updateTestSetRequest
-- Returns:
- Result of the UpdateTestSet operation returned by the service.
- See Also:
-
updateTestSet
default UpdateTestSetResponse updateTestSet(Consumer<UpdateTestSetRequest.Builder> updateTestSetRequest) throws ThrottlingException, ServiceQuotaExceededException, ValidationException, PreconditionFailedException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, LexModelsV2Exception 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:
- Result of the UpdateTestSet operation returned by the service.
- See Also:
-
waiter
Create an instance ofLexModelsV2Waiter
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
LexModelsV2Waiter
-
create
Create aLexModelsV2Client
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aLexModelsV2Client
. -
serviceMetadata
-
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
-