Interface LexModelsV2Client
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue 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 BuildBotLocaleResponsebuildBotLocale(Consumer<BuildBotLocaleRequest.Builder> buildBotLocaleRequest) Builds a bot, its intents, and its slot types into a specific locale.default BuildBotLocaleResponsebuildBotLocale(BuildBotLocaleRequest buildBotLocaleRequest) Builds a bot, its intents, and its slot types into a specific locale.static LexModelsV2ClientBuilderbuilder()Create a builder that can be used to configure and create aLexModelsV2Client.static LexModelsV2Clientcreate()Create aLexModelsV2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateBotResponsecreateBot(Consumer<CreateBotRequest.Builder> createBotRequest) Creates an Amazon Lex conversational bot.default CreateBotResponsecreateBot(CreateBotRequest createBotRequest) Creates an Amazon Lex conversational bot.default CreateBotAliasResponsecreateBotAlias(Consumer<CreateBotAliasRequest.Builder> createBotAliasRequest) Creates an alias for the specified version of a bot.default CreateBotAliasResponsecreateBotAlias(CreateBotAliasRequest createBotAliasRequest) Creates an alias for the specified version of a bot.default CreateBotLocaleResponsecreateBotLocale(Consumer<CreateBotLocaleRequest.Builder> createBotLocaleRequest) Creates a locale in the bot.default CreateBotLocaleResponsecreateBotLocale(CreateBotLocaleRequest createBotLocaleRequest) Creates a locale in the bot.default CreateBotReplicaResponsecreateBotReplica(Consumer<CreateBotReplicaRequest.Builder> createBotReplicaRequest) Action to create a replication of the source bot in the secondary region.default CreateBotReplicaResponsecreateBotReplica(CreateBotReplicaRequest createBotReplicaRequest) Action to create a replication of the source bot in the secondary region.default CreateBotVersionResponsecreateBotVersion(Consumer<CreateBotVersionRequest.Builder> createBotVersionRequest) Creates an immutable version of the bot.default CreateBotVersionResponsecreateBotVersion(CreateBotVersionRequest createBotVersionRequest) Creates an immutable version of the bot.default CreateExportResponsecreateExport(Consumer<CreateExportRequest.Builder> createExportRequest) Creates a zip archive containing the contents of a bot or a bot locale.default CreateExportResponsecreateExport(CreateExportRequest createExportRequest) Creates a zip archive containing the contents of a bot or a bot locale.default CreateIntentResponsecreateIntent(Consumer<CreateIntentRequest.Builder> createIntentRequest) Creates an intent.default CreateIntentResponsecreateIntent(CreateIntentRequest createIntentRequest) Creates an intent.default CreateResourcePolicyResponsecreateResourcePolicy(Consumer<CreateResourcePolicyRequest.Builder> createResourcePolicyRequest) Creates a new resource policy with the specified policy statements.default CreateResourcePolicyResponsecreateResourcePolicy(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 CreateSlotResponsecreateSlot(Consumer<CreateSlotRequest.Builder> createSlotRequest) Creates a slot in an intent.default CreateSlotResponsecreateSlot(CreateSlotRequest createSlotRequest) Creates a slot in an intent.default CreateSlotTypeResponsecreateSlotType(Consumer<CreateSlotTypeRequest.Builder> createSlotTypeRequest) Creates a custom slot typedefault CreateSlotTypeResponsecreateSlotType(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 CreateUploadUrlResponsecreateUploadUrl(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 CreateUploadUrlResponsecreateUploadUrl(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 DeleteBotResponsedeleteBot(Consumer<DeleteBotRequest.Builder> deleteBotRequest) Deletes all versions of a bot, including theDraftversion.default DeleteBotResponsedeleteBot(DeleteBotRequest deleteBotRequest) Deletes all versions of a bot, including theDraftversion.default DeleteBotAliasResponsedeleteBotAlias(Consumer<DeleteBotAliasRequest.Builder> deleteBotAliasRequest) Deletes the specified bot alias.default DeleteBotAliasResponsedeleteBotAlias(DeleteBotAliasRequest deleteBotAliasRequest) Deletes the specified bot alias.default DeleteBotLocaleResponsedeleteBotLocale(Consumer<DeleteBotLocaleRequest.Builder> deleteBotLocaleRequest) Removes a locale from a bot.default DeleteBotLocaleResponsedeleteBotLocale(DeleteBotLocaleRequest deleteBotLocaleRequest) Removes a locale from a bot.default DeleteBotReplicaResponsedeleteBotReplica(Consumer<DeleteBotReplicaRequest.Builder> deleteBotReplicaRequest) The action to delete the replicated bot in the secondary region.default DeleteBotReplicaResponsedeleteBotReplica(DeleteBotReplicaRequest deleteBotReplicaRequest) The action to delete the replicated bot in the secondary region.default DeleteBotVersionResponsedeleteBotVersion(Consumer<DeleteBotVersionRequest.Builder> deleteBotVersionRequest) Deletes a specific version of a bot.default DeleteBotVersionResponsedeleteBotVersion(DeleteBotVersionRequest deleteBotVersionRequest) Deletes a specific version of a bot.default DeleteCustomVocabularyResponsedeleteCustomVocabulary(Consumer<DeleteCustomVocabularyRequest.Builder> deleteCustomVocabularyRequest) Removes a custom vocabulary from the specified locale in the specified bot.default DeleteCustomVocabularyResponsedeleteCustomVocabulary(DeleteCustomVocabularyRequest deleteCustomVocabularyRequest) Removes a custom vocabulary from the specified locale in the specified bot.default DeleteExportResponsedeleteExport(Consumer<DeleteExportRequest.Builder> deleteExportRequest) Removes a previous export and the associated files stored in an S3 bucket.default DeleteExportResponsedeleteExport(DeleteExportRequest deleteExportRequest) Removes a previous export and the associated files stored in an S3 bucket.default DeleteImportResponsedeleteImport(Consumer<DeleteImportRequest.Builder> deleteImportRequest) Removes a previous import and the associated file stored in an S3 bucket.default DeleteImportResponsedeleteImport(DeleteImportRequest deleteImportRequest) Removes a previous import and the associated file stored in an S3 bucket.default DeleteIntentResponsedeleteIntent(Consumer<DeleteIntentRequest.Builder> deleteIntentRequest) Removes the specified intent.default DeleteIntentResponsedeleteIntent(DeleteIntentRequest deleteIntentRequest) Removes the specified intent.default DeleteResourcePolicyResponsedeleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Removes an existing policy from a bot or bot alias.default DeleteResourcePolicyResponsedeleteResourcePolicy(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 DeleteSlotResponsedeleteSlot(Consumer<DeleteSlotRequest.Builder> deleteSlotRequest) Deletes the specified slot from an intent.default DeleteSlotResponsedeleteSlot(DeleteSlotRequest deleteSlotRequest) Deletes the specified slot from an intent.default DeleteSlotTypeResponsedeleteSlotType(Consumer<DeleteSlotTypeRequest.Builder> deleteSlotTypeRequest) Deletes a slot type from a bot locale.default DeleteSlotTypeResponsedeleteSlotType(DeleteSlotTypeRequest deleteSlotTypeRequest) Deletes a slot type from a bot locale.default DeleteTestSetResponsedeleteTestSet(Consumer<DeleteTestSetRequest.Builder> deleteTestSetRequest) The action to delete the selected test set.default DeleteTestSetResponsedeleteTestSet(DeleteTestSetRequest deleteTestSetRequest) The action to delete the selected test set.default DeleteUtterancesResponsedeleteUtterances(Consumer<DeleteUtterancesRequest.Builder> deleteUtterancesRequest) Deletes stored utterances.default DeleteUtterancesResponsedeleteUtterances(DeleteUtterancesRequest deleteUtterancesRequest) Deletes stored utterances.default DescribeBotResponsedescribeBot(Consumer<DescribeBotRequest.Builder> describeBotRequest) Provides metadata information about a bot.default DescribeBotResponsedescribeBot(DescribeBotRequest describeBotRequest) Provides metadata information about a bot.default DescribeBotAliasResponsedescribeBotAlias(Consumer<DescribeBotAliasRequest.Builder> describeBotAliasRequest) Get information about a specific bot alias.default DescribeBotAliasResponsedescribeBotAlias(DescribeBotAliasRequest describeBotAliasRequest) Get information about a specific bot alias.default DescribeBotLocaleResponsedescribeBotLocale(Consumer<DescribeBotLocaleRequest.Builder> describeBotLocaleRequest) Describes the settings that a bot has for a specific locale.default DescribeBotLocaleResponsedescribeBotLocale(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 DescribeBotReplicaResponsedescribeBotReplica(Consumer<DescribeBotReplicaRequest.Builder> describeBotReplicaRequest) Monitors the bot replication status through the UI console.default DescribeBotReplicaResponsedescribeBotReplica(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 theStartBotResourceAPI.describeBotResourceGeneration(DescribeBotResourceGenerationRequest describeBotResourceGenerationRequest) Returns information about a request to generate a bot through natural language description, made through theStartBotResourceAPI.default DescribeBotVersionResponsedescribeBotVersion(Consumer<DescribeBotVersionRequest.Builder> describeBotVersionRequest) Provides metadata about a version of a bot.default DescribeBotVersionResponsedescribeBotVersion(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 DescribeExportResponsedescribeExport(Consumer<DescribeExportRequest.Builder> describeExportRequest) Gets information about a specific export.default DescribeExportResponsedescribeExport(DescribeExportRequest describeExportRequest) Gets information about a specific export.default DescribeImportResponsedescribeImport(Consumer<DescribeImportRequest.Builder> describeImportRequest) Gets information about a specific import.default DescribeImportResponsedescribeImport(DescribeImportRequest describeImportRequest) Gets information about a specific import.default DescribeIntentResponsedescribeIntent(Consumer<DescribeIntentRequest.Builder> describeIntentRequest) Returns metadata about an intent.default DescribeIntentResponsedescribeIntent(DescribeIntentRequest describeIntentRequest) Returns metadata about an intent.default DescribeResourcePolicyResponsedescribeResourcePolicy(Consumer<DescribeResourcePolicyRequest.Builder> describeResourcePolicyRequest) Gets the resource policy and policy revision for a bot or bot alias.default DescribeResourcePolicyResponsedescribeResourcePolicy(DescribeResourcePolicyRequest describeResourcePolicyRequest) Gets the resource policy and policy revision for a bot or bot alias.default DescribeSlotResponsedescribeSlot(Consumer<DescribeSlotRequest.Builder> describeSlotRequest) Gets metadata information about a slot.default DescribeSlotResponsedescribeSlot(DescribeSlotRequest describeSlotRequest) Gets metadata information about a slot.default DescribeSlotTypeResponsedescribeSlotType(Consumer<DescribeSlotTypeRequest.Builder> describeSlotTypeRequest) Gets metadata information about a slot type.default DescribeSlotTypeResponsedescribeSlotType(DescribeSlotTypeRequest describeSlotTypeRequest) Gets metadata information about a slot type.default DescribeTestExecutionResponsedescribeTestExecution(Consumer<DescribeTestExecutionRequest.Builder> describeTestExecutionRequest) Gets metadata information about the test execution.default DescribeTestExecutionResponsedescribeTestExecution(DescribeTestExecutionRequest describeTestExecutionRequest) Gets metadata information about the test execution.default DescribeTestSetResponsedescribeTestSet(Consumer<DescribeTestSetRequest.Builder> describeTestSetRequest) Gets metadata information about the test set.default DescribeTestSetResponsedescribeTestSet(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 GenerateBotElementResponsegenerateBotElement(Consumer<GenerateBotElementRequest.Builder> generateBotElementRequest) Generates sample utterances for an intent.default GenerateBotElementResponsegenerateBotElement(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 ListAggregatedUtterancesResponselistAggregatedUtterances(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) Provides a list of utterances that users have sent to the bot.default ListAggregatedUtterancesResponselistAggregatedUtterances(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) Provides a list of utterances that users have sent to the bot.default ListAggregatedUtterancesIterablelistAggregatedUtterancesPaginator(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest) This is a variant oflistAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)operation.default ListAggregatedUtterancesIterablelistAggregatedUtterancesPaginator(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest) This is a variant oflistAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest)operation.default ListBotAliasesResponselistBotAliases(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) Gets a list of aliases for the specified bot.default ListBotAliasesResponselistBotAliases(ListBotAliasesRequest listBotAliasesRequest) Gets a list of aliases for the specified bot.default ListBotAliasesIterablelistBotAliasesPaginator(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest) This is a variant oflistBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)operation.default ListBotAliasesIterablelistBotAliasesPaginator(ListBotAliasesRequest listBotAliasesRequest) This is a variant oflistBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest)operation.default ListBotAliasReplicasResponselistBotAliasReplicas(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest) The action to list the replicated bots created from the source bot alias.default ListBotAliasReplicasResponselistBotAliasReplicas(ListBotAliasReplicasRequest listBotAliasReplicasRequest) The action to list the replicated bots created from the source bot alias.default ListBotAliasReplicasIterablelistBotAliasReplicasPaginator(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest) This is a variant oflistBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)operation.default ListBotAliasReplicasIterablelistBotAliasReplicasPaginator(ListBotAliasReplicasRequest listBotAliasReplicasRequest) This is a variant oflistBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest)operation.default ListBotLocalesResponselistBotLocales(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) Gets a list of locales for the specified bot.default ListBotLocalesResponselistBotLocales(ListBotLocalesRequest listBotLocalesRequest) Gets a list of locales for the specified bot.default ListBotLocalesIterablelistBotLocalesPaginator(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest) This is a variant oflistBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)operation.default ListBotLocalesIterablelistBotLocalesPaginator(ListBotLocalesRequest listBotLocalesRequest) This is a variant oflistBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest)operation.default ListBotRecommendationsResponselistBotRecommendations(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) Get a list of bot recommendations that meet the specified criteria.default ListBotRecommendationsResponselistBotRecommendations(ListBotRecommendationsRequest listBotRecommendationsRequest) Get a list of bot recommendations that meet the specified criteria.default ListBotRecommendationsIterablelistBotRecommendationsPaginator(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest) This is a variant oflistBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)operation.default ListBotRecommendationsIterablelistBotRecommendationsPaginator(ListBotRecommendationsRequest listBotRecommendationsRequest) This is a variant oflistBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest)operation.default ListBotReplicasResponselistBotReplicas(Consumer<ListBotReplicasRequest.Builder> listBotReplicasRequest) The action to list the replicated bots.default ListBotReplicasResponselistBotReplicas(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 ListBotsResponselistBots(Consumer<ListBotsRequest.Builder> listBotsRequest) Gets a list of available bots.default ListBotsResponselistBots(ListBotsRequest listBotsRequest) Gets a list of available bots.default ListBotsIterablelistBotsPaginator(Consumer<ListBotsRequest.Builder> listBotsRequest) This is a variant oflistBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)operation.default ListBotsIterablelistBotsPaginator(ListBotsRequest listBotsRequest) This is a variant oflistBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest)operation.default ListBotVersionReplicasResponselistBotVersionReplicas(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest) Contains information about all the versions replication statuses applicable for Global Resiliency.default ListBotVersionReplicasResponselistBotVersionReplicas(ListBotVersionReplicasRequest listBotVersionReplicasRequest) Contains information about all the versions replication statuses applicable for Global Resiliency.default ListBotVersionReplicasIterablelistBotVersionReplicasPaginator(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest) This is a variant oflistBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)operation.default ListBotVersionReplicasIterablelistBotVersionReplicasPaginator(ListBotVersionReplicasRequest listBotVersionReplicasRequest) This is a variant oflistBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest)operation.default ListBotVersionsResponselistBotVersions(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) Gets information about all of the versions of a bot.default ListBotVersionsResponselistBotVersions(ListBotVersionsRequest listBotVersionsRequest) Gets information about all of the versions of a bot.default ListBotVersionsIterablelistBotVersionsPaginator(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest) This is a variant oflistBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)operation.default ListBotVersionsIterablelistBotVersionsPaginator(ListBotVersionsRequest listBotVersionsRequest) This is a variant oflistBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest)operation.default ListBuiltInIntentsResponselistBuiltInIntents(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.default ListBuiltInIntentsResponselistBuiltInIntents(ListBuiltInIntentsRequest listBuiltInIntentsRequest) Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.default ListBuiltInIntentsIterablelistBuiltInIntentsPaginator(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest) This is a variant oflistBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)operation.default ListBuiltInIntentsIterablelistBuiltInIntentsPaginator(ListBuiltInIntentsRequest listBuiltInIntentsRequest) This is a variant oflistBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest)operation.default ListBuiltInSlotTypesResponselistBuiltInSlotTypes(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) Gets a list of built-in slot types that meet the specified criteria.default ListBuiltInSlotTypesResponselistBuiltInSlotTypes(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest) Gets a list of built-in slot types that meet the specified criteria.default ListBuiltInSlotTypesIterablelistBuiltInSlotTypesPaginator(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest) This is a variant oflistBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest)operation.default ListBuiltInSlotTypesIterablelistBuiltInSlotTypesPaginator(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 ListExportsResponselistExports(Consumer<ListExportsRequest.Builder> listExportsRequest) Lists the exports for a bot, bot locale, or custom vocabulary.default ListExportsResponselistExports(ListExportsRequest listExportsRequest) Lists the exports for a bot, bot locale, or custom vocabulary.default ListExportsIterablelistExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest) This is a variant oflistExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)operation.default ListExportsIterablelistExportsPaginator(ListExportsRequest listExportsRequest) This is a variant oflistExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest)operation.default ListImportsResponselistImports(Consumer<ListImportsRequest.Builder> listImportsRequest) Lists the imports for a bot, bot locale, or custom vocabulary.default ListImportsResponselistImports(ListImportsRequest listImportsRequest) Lists the imports for a bot, bot locale, or custom vocabulary.default ListImportsIterablelistImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest) This is a variant oflistImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)operation.default ListImportsIterablelistImportsPaginator(ListImportsRequest listImportsRequest) This is a variant oflistImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest)operation.default ListIntentMetricsResponselistIntentMetrics(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest) Retrieves summary metrics for the intents in your bot.default ListIntentMetricsResponselistIntentMetrics(ListIntentMetricsRequest listIntentMetricsRequest) Retrieves summary metrics for the intents in your bot.default ListIntentMetricsIterablelistIntentMetricsPaginator(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest) This is a variant oflistIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)operation.default ListIntentMetricsIterablelistIntentMetricsPaginator(ListIntentMetricsRequest listIntentMetricsRequest) This is a variant oflistIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest)operation.default ListIntentPathsResponselistIntentPaths(Consumer<ListIntentPathsRequest.Builder> listIntentPathsRequest) Retrieves summary statistics for a path of intents that users take over sessions with your bot.default ListIntentPathsResponselistIntentPaths(ListIntentPathsRequest listIntentPathsRequest) Retrieves summary statistics for a path of intents that users take over sessions with your bot.default ListIntentsResponselistIntents(Consumer<ListIntentsRequest.Builder> listIntentsRequest) Get a list of intents that meet the specified criteria.default ListIntentsResponselistIntents(ListIntentsRequest listIntentsRequest) Get a list of intents that meet the specified criteria.default ListIntentsIterablelistIntentsPaginator(Consumer<ListIntentsRequest.Builder> listIntentsRequest) This is a variant oflistIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)operation.default ListIntentsIterablelistIntentsPaginator(ListIntentsRequest listIntentsRequest) This is a variant oflistIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest)operation.default ListIntentStageMetricsResponselistIntentStageMetrics(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest) Retrieves summary metrics for the stages within intents in your bot.default ListIntentStageMetricsResponselistIntentStageMetrics(ListIntentStageMetricsRequest listIntentStageMetricsRequest) Retrieves summary metrics for the stages within intents in your bot.default ListIntentStageMetricsIterablelistIntentStageMetricsPaginator(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest) This is a variant oflistIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)operation.default ListIntentStageMetricsIterablelistIntentStageMetricsPaginator(ListIntentStageMetricsRequest listIntentStageMetricsRequest) This is a variant oflistIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest)operation.default ListRecommendedIntentsResponselistRecommendedIntents(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.default ListRecommendedIntentsResponselistRecommendedIntents(ListRecommendedIntentsRequest listRecommendedIntentsRequest) Gets a list of recommended intents provided by the bot recommendation that you can use in your bot.default ListRecommendedIntentsIterablelistRecommendedIntentsPaginator(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest) This is a variant oflistRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)operation.default ListRecommendedIntentsIterablelistRecommendedIntentsPaginator(ListRecommendedIntentsRequest listRecommendedIntentsRequest) This is a variant oflistRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest)operation.default ListSessionAnalyticsDataResponselistSessionAnalyticsData(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest) Retrieves a list of metadata for individual user sessions with your bot.default ListSessionAnalyticsDataResponselistSessionAnalyticsData(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest) Retrieves a list of metadata for individual user sessions with your bot.default ListSessionAnalyticsDataIterablelistSessionAnalyticsDataPaginator(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest) This is a variant oflistSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)operation.default ListSessionAnalyticsDataIterablelistSessionAnalyticsDataPaginator(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest) This is a variant oflistSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest)operation.default ListSessionMetricsResponselistSessionMetrics(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest) Retrieves summary metrics for the user sessions with your bot.default ListSessionMetricsResponselistSessionMetrics(ListSessionMetricsRequest listSessionMetricsRequest) Retrieves summary metrics for the user sessions with your bot.default ListSessionMetricsIterablelistSessionMetricsPaginator(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest) This is a variant oflistSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)operation.default ListSessionMetricsIterablelistSessionMetricsPaginator(ListSessionMetricsRequest listSessionMetricsRequest) This is a variant oflistSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest)operation.default ListSlotsResponselistSlots(Consumer<ListSlotsRequest.Builder> listSlotsRequest) Gets a list of slots that match the specified criteria.default ListSlotsResponselistSlots(ListSlotsRequest listSlotsRequest) Gets a list of slots that match the specified criteria.default ListSlotsIterablelistSlotsPaginator(Consumer<ListSlotsRequest.Builder> listSlotsRequest) This is a variant oflistSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)operation.default ListSlotsIterablelistSlotsPaginator(ListSlotsRequest listSlotsRequest) This is a variant oflistSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest)operation.default ListSlotTypesResponselistSlotTypes(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) Gets a list of slot types that match the specified criteria.default ListSlotTypesResponselistSlotTypes(ListSlotTypesRequest listSlotTypesRequest) Gets a list of slot types that match the specified criteria.default ListSlotTypesIterablelistSlotTypesPaginator(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest) This is a variant oflistSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)operation.default ListSlotTypesIterablelistSlotTypesPaginator(ListSlotTypesRequest listSlotTypesRequest) This is a variant oflistSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Gets a list of tags associated with a resource.default ListTagsForResourceResponselistTagsForResource(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 ListTestExecutionsResponselistTestExecutions(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest) The list of test set executions.default ListTestExecutionsResponselistTestExecutions(ListTestExecutionsRequest listTestExecutionsRequest) The list of test set executions.default ListTestExecutionsIterablelistTestExecutionsPaginator(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest) This is a variant oflistTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)operation.default ListTestExecutionsIterablelistTestExecutionsPaginator(ListTestExecutionsRequest listTestExecutionsRequest) This is a variant oflistTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest)operation.default ListTestSetRecordsResponselistTestSetRecords(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest) The list of test set records.default ListTestSetRecordsResponselistTestSetRecords(ListTestSetRecordsRequest listTestSetRecordsRequest) The list of test set records.default ListTestSetRecordsIterablelistTestSetRecordsPaginator(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest) This is a variant oflistTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)operation.default ListTestSetRecordsIterablelistTestSetRecordsPaginator(ListTestSetRecordsRequest listTestSetRecordsRequest) This is a variant oflistTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest)operation.default ListTestSetsResponselistTestSets(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest) The list of the test setsdefault ListTestSetsResponselistTestSets(ListTestSetsRequest listTestSetsRequest) The list of the test setsdefault ListTestSetsIterablelistTestSetsPaginator(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest) This is a variant oflistTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest)operation.default ListTestSetsIterablelistTestSetsPaginator(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 ListUtteranceMetricsResponselistUtteranceMetrics(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest) default ListUtteranceMetricsResponselistUtteranceMetrics(ListUtteranceMetricsRequest listUtteranceMetricsRequest) default ListUtteranceMetricsIterablelistUtteranceMetricsPaginator(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest) This is a variant oflistUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest)operation.default ListUtteranceMetricsIterablelistUtteranceMetricsPaginator(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 ServiceMetadatadefault StartBotRecommendationResponsestartBotRecommendation(Consumer<StartBotRecommendationRequest.Builder> startBotRecommendationRequest) Use this to provide your transcript data, and to start the bot recommendation process.default StartBotRecommendationResponsestartBotRecommendation(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 StartImportResponsestartImport(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 StartImportResponsestartImport(StartImportRequest startImportRequest) Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.default StartTestExecutionResponsestartTestExecution(Consumer<StartTestExecutionRequest.Builder> startTestExecutionRequest) The action to start test set execution.default StartTestExecutionResponsestartTestExecution(StartTestExecutionRequest startTestExecutionRequest) The action to start test set execution.default StartTestSetGenerationResponsestartTestSetGeneration(Consumer<StartTestSetGenerationRequest.Builder> startTestSetGenerationRequest) The action to start the generation of test set.default StartTestSetGenerationResponsestartTestSetGeneration(StartTestSetGenerationRequest startTestSetGenerationRequest) The action to start the generation of test set.default StopBotRecommendationResponsestopBotRecommendation(Consumer<StopBotRecommendationRequest.Builder> stopBotRecommendationRequest) Stop an already running Bot Recommendation request.default StopBotRecommendationResponsestopBotRecommendation(StopBotRecommendationRequest stopBotRecommendationRequest) Stop an already running Bot Recommendation request.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the specified resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds the specified tags to the specified resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a bot, bot alias, or bot channel.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a bot, bot alias, or bot channel.default UpdateBotResponseupdateBot(Consumer<UpdateBotRequest.Builder> updateBotRequest) Updates the configuration of an existing bot.default UpdateBotResponseupdateBot(UpdateBotRequest updateBotRequest) Updates the configuration of an existing bot.default UpdateBotAliasResponseupdateBotAlias(Consumer<UpdateBotAliasRequest.Builder> updateBotAliasRequest) Updates the configuration of an existing bot alias.default UpdateBotAliasResponseupdateBotAlias(UpdateBotAliasRequest updateBotAliasRequest) Updates the configuration of an existing bot alias.default UpdateBotLocaleResponseupdateBotLocale(Consumer<UpdateBotLocaleRequest.Builder> updateBotLocaleRequest) Updates the settings that a bot has for a specific locale.default UpdateBotLocaleResponseupdateBotLocale(UpdateBotLocaleRequest updateBotLocaleRequest) Updates the settings that a bot has for a specific locale.default UpdateBotRecommendationResponseupdateBotRecommendation(Consumer<UpdateBotRecommendationRequest.Builder> updateBotRecommendationRequest) Updates an existing bot recommendation request.default UpdateBotRecommendationResponseupdateBotRecommendation(UpdateBotRecommendationRequest updateBotRecommendationRequest) Updates an existing bot recommendation request.default UpdateExportResponseupdateExport(Consumer<UpdateExportRequest.Builder> updateExportRequest) Updates the password used to protect an export zip archive.default UpdateExportResponseupdateExport(UpdateExportRequest updateExportRequest) Updates the password used to protect an export zip archive.default UpdateIntentResponseupdateIntent(Consumer<UpdateIntentRequest.Builder> updateIntentRequest) Updates the settings for an intent.default UpdateIntentResponseupdateIntent(UpdateIntentRequest updateIntentRequest) Updates the settings for an intent.default UpdateResourcePolicyResponseupdateResourcePolicy(Consumer<UpdateResourcePolicyRequest.Builder> updateResourcePolicyRequest) Replaces the existing resource policy for a bot or bot alias with a new one.default UpdateResourcePolicyResponseupdateResourcePolicy(UpdateResourcePolicyRequest updateResourcePolicyRequest) Replaces the existing resource policy for a bot or bot alias with a new one.default UpdateSlotResponseupdateSlot(Consumer<UpdateSlotRequest.Builder> updateSlotRequest) Updates the settings for a slot.default UpdateSlotResponseupdateSlot(UpdateSlotRequest updateSlotRequest) Updates the settings for a slot.default UpdateSlotTypeResponseupdateSlotType(Consumer<UpdateSlotTypeRequest.Builder> updateSlotTypeRequest) Updates the configuration of an existing slot type.default UpdateSlotTypeResponseupdateSlotType(UpdateSlotTypeRequest updateSlotTypeRequest) Updates the configuration of an existing slot type.default UpdateTestSetResponseupdateTestSet(Consumer<UpdateTestSetRequest.Builder> updateTestSetRequest) The action to update the test set.default UpdateTestSetResponseupdateTestSet(UpdateTestSetRequest updateTestSetRequest) The action to update the test set.default LexModelsV2Waiterwaiter()Create an instance ofLexModelsV2Waiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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.Builderavoiding the need to create one manually viaBatchCreateCustomVocabularyItemRequest.builder()- Parameters:
batchCreateCustomVocabularyItemRequest- AConsumerthat will call methods onBatchCreateCustomVocabularyItemRequest.Builderto 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.Builderavoiding the need to create one manually viaBatchDeleteCustomVocabularyItemRequest.builder()- Parameters:
batchDeleteCustomVocabularyItemRequest- AConsumerthat will call methods onBatchDeleteCustomVocabularyItemRequest.Builderto 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.Builderavoiding the need to create one manually viaBatchUpdateCustomVocabularyItemRequest.builder()- Parameters:
batchUpdateCustomVocabularyItemRequest- AConsumerthat will call methods onBatchUpdateCustomVocabularyItemRequest.Builderto 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.Builderavoiding the need to create one manually viaBuildBotLocaleRequest.builder()- Parameters:
buildBotLocaleRequest- AConsumerthat will call methods onBuildBotLocaleRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateBotRequest.builder()- Parameters:
createBotRequest- AConsumerthat will call methods onCreateBotRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateBotAliasRequest.builder()- Parameters:
createBotAliasRequest- AConsumerthat will call methods onCreateBotAliasRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateBotLocaleRequest.builder()- Parameters:
createBotLocaleRequest- AConsumerthat will call methods onCreateBotLocaleRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateBotReplicaRequest.builder()- Parameters:
createBotReplicaRequest- AConsumerthat will call methods onCreateBotReplicaRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateBotVersionRequest.builder()- Parameters:
createBotVersionRequest- AConsumerthat will call methods onCreateBotVersionRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateExportRequest.builder()- Parameters:
createExportRequest- AConsumerthat will call methods onCreateExportRequest.Builderto 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
OrderPizzaintent.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
OrderPizzaintent.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.Builderavoiding the need to create one manually viaCreateIntentRequest.builder()- Parameters:
createIntentRequest- AConsumerthat will call methods onCreateIntentRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateResourcePolicyRequest.builder()- Parameters:
createResourcePolicyRequest- AConsumerthat will call methods onCreateResourcePolicyRequest.Builderto 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.
You need to add the
CreateResourcePolicyorUpdateResourcePolicyaction to the bot role in order to call the API.- 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.
You need to add the
CreateResourcePolicyorUpdateResourcePolicyaction to the bot role in order to call the API.
This is a convenience which creates an instance of the
CreateResourcePolicyStatementRequest.Builderavoiding the need to create one manually viaCreateResourcePolicyStatementRequest.builder()- Parameters:
createResourcePolicyStatementRequest- AConsumerthat will call methods onCreateResourcePolicyStatementRequest.Builderto 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
OrderPizzaintent 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
OrderPizzaintent 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.Builderavoiding the need to create one manually viaCreateSlotRequest.builder()- Parameters:
createSlotRequest- AConsumerthat will call methods onCreateSlotRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateSlotTypeRequest.builder()- Parameters:
createSlotTypeRequest- AConsumerthat will call methods onCreateSlotTypeRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateTestSetDiscrepancyReportRequest.builder()- Parameters:
createTestSetDiscrepancyReportRequest- AConsumerthat will call methods onCreateTestSetDiscrepancyReportRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateUploadUrlRequest.builder()- Parameters:
createUploadUrlRequest- AConsumerthat will call methods onCreateUploadUrlRequest.Builderto 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
Draftversion. To delete a specific version, use theDeleteBotVersionoperation.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
DeleteBotoperation returns aResourceInUseExceptionexception. If you want to delete the bot and the alias, set theskipResourceInUseCheckparameter 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
Draftversion. To delete a specific version, use theDeleteBotVersionoperation.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
DeleteBotoperation returns aResourceInUseExceptionexception. If you want to delete the bot and the alias, set theskipResourceInUseCheckparameter totrue.
This is a convenience which creates an instance of the
DeleteBotRequest.Builderavoiding the need to create one manually viaDeleteBotRequest.builder()- Parameters:
deleteBotRequest- AConsumerthat will call methods onDeleteBotRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteBotAliasRequest.builder()- Parameters:
deleteBotAliasRequest- AConsumerthat will call methods onDeleteBotAliasRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteBotLocaleRequest.builder()- Parameters:
deleteBotLocaleRequest- AConsumerthat will call methods onDeleteBotLocaleRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteBotReplicaRequest.builder()- Parameters:
deleteBotReplicaRequest- AConsumerthat will call methods onDeleteBotReplicaRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteBotVersionRequest.builder()- Parameters:
deleteBotVersionRequest- AConsumerthat will call methods onDeleteBotVersionRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteCustomVocabularyRequest.builder()- Parameters:
deleteCustomVocabularyRequest- AConsumerthat will call methods onDeleteCustomVocabularyRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteExportRequest.builder()- Parameters:
deleteExportRequest- AConsumerthat will call methods onDeleteExportRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteImportRequest.builder()- Parameters:
deleteImportRequest- AConsumerthat will call methods onDeleteImportRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteIntentRequest.builder()- Parameters:
deleteIntentRequest- AConsumerthat will call methods onDeleteIntentRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto 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.
You need to add the
DeleteResourcePolicyorUpdateResourcePolicyaction to the bot role in order to call the API.- 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.
You need to add the
DeleteResourcePolicyorUpdateResourcePolicyaction to the bot role in order to call the API.
This is a convenience which creates an instance of the
DeleteResourcePolicyStatementRequest.Builderavoiding the need to create one manually viaDeleteResourcePolicyStatementRequest.builder()- Parameters:
deleteResourcePolicyStatementRequest- AConsumerthat will call methods onDeleteResourcePolicyStatementRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSlotRequest.builder()- Parameters:
deleteSlotRequest- AConsumerthat will call methods onDeleteSlotRequest.Builderto 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
ResourceInUseExceptionexception. To avoid the exception, set theskipResourceInUseCheckparameter 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
ResourceInUseExceptionexception. To avoid the exception, set theskipResourceInUseCheckparameter totrue.
This is a convenience which creates an instance of the
DeleteSlotTypeRequest.Builderavoiding the need to create one manually viaDeleteSlotTypeRequest.builder()- Parameters:
deleteSlotTypeRequest- AConsumerthat will call methods onDeleteSlotTypeRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteTestSetRequest.builder()- Parameters:
deleteTestSetRequest- AConsumerthat will call methods onDeleteTestSetRequest.Builderto 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
DeleteUtterancesoperation to manually delete utterances for a specific session. When you use theDeleteUtterancesoperation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with theListAggregatedUtterancesoperation 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
DeleteUtterancesoperation to manually delete utterances for a specific session. When you use theDeleteUtterancesoperation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with theListAggregatedUtterancesoperation are deleted after 15 days.
This is a convenience which creates an instance of the
DeleteUtterancesRequest.Builderavoiding the need to create one manually viaDeleteUtterancesRequest.builder()- Parameters:
deleteUtterancesRequest- AConsumerthat will call methods onDeleteUtterancesRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeBotRequest.builder()- Parameters:
describeBotRequest- AConsumerthat will call methods onDescribeBotRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeBotAliasRequest.builder()- Parameters:
describeBotAliasRequest- AConsumerthat will call methods onDescribeBotAliasRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeBotLocaleRequest.builder()- Parameters:
describeBotLocaleRequest- AConsumerthat will call methods onDescribeBotLocaleRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeBotRecommendationRequest.builder()- Parameters:
describeBotRecommendationRequest- AConsumerthat will call methods onDescribeBotRecommendationRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeBotReplicaRequest.builder()- Parameters:
describeBotReplicaRequest- AConsumerthat will call methods onDescribeBotReplicaRequest.Builderto 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
StartBotResourceAPI. Use thegeneratedBotLocaleUrlto 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
StartBotResourceAPI. Use thegeneratedBotLocaleUrlto 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.Builderavoiding the need to create one manually viaDescribeBotResourceGenerationRequest.builder()- Parameters:
describeBotResourceGenerationRequest- AConsumerthat will call methods onDescribeBotResourceGenerationRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeBotVersionRequest.builder()- Parameters:
describeBotVersionRequest- AConsumerthat will call methods onDescribeBotVersionRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeCustomVocabularyMetadataRequest.builder()- Parameters:
describeCustomVocabularyMetadataRequest- AConsumerthat will call methods onDescribeCustomVocabularyMetadataRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeExportRequest.builder()- Parameters:
describeExportRequest- AConsumerthat will call methods onDescribeExportRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeImportRequest.builder()- Parameters:
describeImportRequest- AConsumerthat will call methods onDescribeImportRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeIntentRequest.builder()- Parameters:
describeIntentRequest- AConsumerthat will call methods onDescribeIntentRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeResourcePolicyRequest.builder()- Parameters:
describeResourcePolicyRequest- AConsumerthat will call methods onDescribeResourcePolicyRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeSlotRequest.builder()- Parameters:
describeSlotRequest- AConsumerthat will call methods onDescribeSlotRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeSlotTypeRequest.builder()- Parameters:
describeSlotTypeRequest- AConsumerthat will call methods onDescribeSlotTypeRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeTestExecutionRequest.builder()- Parameters:
describeTestExecutionRequest- AConsumerthat will call methods onDescribeTestExecutionRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeTestSetRequest.builder()- Parameters:
describeTestSetRequest- AConsumerthat will call methods onDescribeTestSetRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeTestSetDiscrepancyReportRequest.builder()- Parameters:
describeTestSetDiscrepancyReportRequest- AConsumerthat will call methods onDescribeTestSetDiscrepancyReportRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeTestSetGenerationRequest.builder()- Parameters:
describeTestSetGenerationRequest- AConsumerthat will call methods onDescribeTestSetGenerationRequest.Builderto 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.Builderavoiding the need to create one manually viaGenerateBotElementRequest.builder()- Parameters:
generateBotElementRequest- AConsumerthat will call methods onGenerateBotElementRequest.Builderto 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.Builderavoiding the need to create one manually viaGetTestExecutionArtifactsUrlRequest.builder()- Parameters:
getTestExecutionArtifactsUrlRequest- AConsumerthat will call methods onGetTestExecutionArtifactsUrlRequest.Builderto 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
childDirectedfield 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
childDirectedfield 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.Builderavoiding the need to create one manually viaListAggregatedUtterancesRequest.builder()- Parameters:
listAggregatedUtterancesRequest- AConsumerthat will call methods onListAggregatedUtterancesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListAggregatedUtterancesRequest.builder()- Parameters:
listAggregatedUtterancesRequest- AConsumerthat will call methods onListAggregatedUtterancesRequest.Builderto 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.Builderavoiding the need to create one manually viaListBotAliasReplicasRequest.builder()- Parameters:
listBotAliasReplicasRequest- AConsumerthat will call methods onListBotAliasReplicasRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBotAliasReplicasRequest.builder()- Parameters:
listBotAliasReplicasRequest- AConsumerthat will call methods onListBotAliasReplicasRequest.Builderto 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.Builderavoiding the need to create one manually viaListBotAliasesRequest.builder()- Parameters:
listBotAliasesRequest- AConsumerthat will call methods onListBotAliasesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBotAliasesRequest.builder()- Parameters:
listBotAliasesRequest- AConsumerthat will call methods onListBotAliasesRequest.Builderto 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.Builderavoiding the need to create one manually viaListBotLocalesRequest.builder()- Parameters:
listBotLocalesRequest- AConsumerthat will call methods onListBotLocalesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBotLocalesRequest.builder()- Parameters:
listBotLocalesRequest- AConsumerthat will call methods onListBotLocalesRequest.Builderto 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.Builderavoiding the need to create one manually viaListBotRecommendationsRequest.builder()- Parameters:
listBotRecommendationsRequest- AConsumerthat will call methods onListBotRecommendationsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBotRecommendationsRequest.builder()- Parameters:
listBotRecommendationsRequest- AConsumerthat will call methods onListBotRecommendationsRequest.Builderto 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.Builderavoiding the need to create one manually viaListBotReplicasRequest.builder()- Parameters:
listBotReplicasRequest- AConsumerthat will call methods onListBotReplicasRequest.Builderto 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.Builderavoiding the need to create one manually viaListBotResourceGenerationsRequest.builder()- Parameters:
listBotResourceGenerationsRequest- AConsumerthat will call methods onListBotResourceGenerationsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBotResourceGenerationsRequest.builder()- Parameters:
listBotResourceGenerationsRequest- AConsumerthat will call methods onListBotResourceGenerationsRequest.Builderto 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.Builderavoiding the need to create one manually viaListBotVersionReplicasRequest.builder()- Parameters:
listBotVersionReplicasRequest- AConsumerthat will call methods onListBotVersionReplicasRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBotVersionReplicasRequest.builder()- Parameters:
listBotVersionReplicasRequest- AConsumerthat will call methods onListBotVersionReplicasRequest.Builderto 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
ListBotVersionsoperation returns a summary of each version of a bot. For example, if a bot has three numbered versions, theListBotVersionsoperation returns for summaries, one for each numbered version and one for theDRAFTversion.The
ListBotVersionsoperation always returns at least one version, theDRAFTversion.- 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
ListBotVersionsoperation returns a summary of each version of a bot. For example, if a bot has three numbered versions, theListBotVersionsoperation returns for summaries, one for each numbered version and one for theDRAFTversion.The
ListBotVersionsoperation always returns at least one version, theDRAFTversion.
This is a convenience which creates an instance of the
ListBotVersionsRequest.Builderavoiding the need to create one manually viaListBotVersionsRequest.builder()- Parameters:
listBotVersionsRequest- AConsumerthat will call methods onListBotVersionsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBotVersionsRequest.builder()- Parameters:
listBotVersionsRequest- AConsumerthat will call methods onListBotVersionsRequest.Builderto 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.Builderavoiding the need to create one manually viaListBotsRequest.builder()- Parameters:
listBotsRequest- AConsumerthat will call methods onListBotsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBotsRequest.builder()- Parameters:
listBotsRequest- AConsumerthat will call methods onListBotsRequest.Builderto 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
parentIntentSignatureparameter when you call theCreateIntentoperation. 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
parentIntentSignatureparameter when you call theCreateIntentoperation. For more information, see CreateIntent.
This is a convenience which creates an instance of the
ListBuiltInIntentsRequest.Builderavoiding the need to create one manually viaListBuiltInIntentsRequest.builder()- Parameters:
listBuiltInIntentsRequest- AConsumerthat will call methods onListBuiltInIntentsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBuiltInIntentsRequest.builder()- Parameters:
listBuiltInIntentsRequest- AConsumerthat will call methods onListBuiltInIntentsRequest.Builderto 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.Builderavoiding the need to create one manually viaListBuiltInSlotTypesRequest.builder()- Parameters:
listBuiltInSlotTypesRequest- AConsumerthat will call methods onListBuiltInSlotTypesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListBuiltInSlotTypesRequest.builder()- Parameters:
listBuiltInSlotTypesRequest- AConsumerthat will call methods onListBuiltInSlotTypesRequest.Builderto 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.Builderavoiding the need to create one manually viaListCustomVocabularyItemsRequest.builder()- Parameters:
listCustomVocabularyItemsRequest- AConsumerthat will call methods onListCustomVocabularyItemsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListCustomVocabularyItemsRequest.builder()- Parameters:
listCustomVocabularyItemsRequest- AConsumerthat will call methods onListCustomVocabularyItemsRequest.Builderto 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.Builderavoiding the need to create one manually viaListExportsRequest.builder()- Parameters:
listExportsRequest- AConsumerthat will call methods onListExportsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListExportsRequest.builder()- Parameters:
listExportsRequest- AConsumerthat will call methods onListExportsRequest.Builderto 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.Builderavoiding the need to create one manually viaListImportsRequest.builder()- Parameters:
listImportsRequest- AConsumerthat will call methods onListImportsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListImportsRequest.builder()- Parameters:
listImportsRequest- AConsumerthat will call methods onListImportsRequest.Builderto 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 thenamefield to specify the metric to calculate, thestatisticfield to specify whether to calculate theSum,Average, orMaxnumber, and theorderfield to specify whether to sort the results inAscendingorDescendingorder. -
startDateTimeandendDateTime– 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
filtersfield to filter the results, thegroupByfield to specify categories by which to group the results, and thebinByfield to specify time intervals by which to group the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield to return the next batch of results if the response does not return the full set of results.
Note that an
orderfield exists in bothbinByandmetrics. You can specify only oneorderin 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 thenamefield to specify the metric to calculate, thestatisticfield to specify whether to calculate theSum,Average, orMaxnumber, and theorderfield to specify whether to sort the results inAscendingorDescendingorder. -
startDateTimeandendDateTime– 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
filtersfield to filter the results, thegroupByfield to specify categories by which to group the results, and thebinByfield to specify time intervals by which to group the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield to return the next batch of results if the response does not return the full set of results.
Note that an
orderfield exists in bothbinByandmetrics. You can specify only oneorderin a given request.
This is a convenience which creates an instance of the
ListIntentMetricsRequest.Builderavoiding the need to create one manually viaListIntentMetricsRequest.builder()- Parameters:
listIntentMetricsRequest- AConsumerthat will call methods onListIntentMetricsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListIntentMetricsRequest.builder()- Parameters:
listIntentMetricsRequest- AConsumerthat will call methods onListIntentMetricsRequest.Builderto 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:
-
startDateTimeandendDateTime– 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 theintentPathfield with/BookCar/BookHotelto see details about how many times users invoked theBookCarandBookHotelintents in that order.
Use the optional
filtersfield 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:
-
startDateTimeandendDateTime– 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 theintentPathfield with/BookCar/BookHotelto see details about how many times users invoked theBookCarandBookHotelintents in that order.
Use the optional
filtersfield to filter the results.
This is a convenience which creates an instance of the
ListIntentPathsRequest.Builderavoiding the need to create one manually viaListIntentPathsRequest.builder()- Parameters:
listIntentPathsRequest- AConsumerthat will call methods onListIntentPathsRequest.Builderto 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 thenamefield to specify the metric to calculate, thestatisticfield to specify whether to calculate theSum,Average, orMaxnumber, and theorderfield to specify whether to sort the results inAscendingorDescendingorder. -
startDateTimeandendDateTime– 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
filtersfield to filter the results, thegroupByfield to specify categories by which to group the results, and thebinByfield to specify time intervals by which to group the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield to return the next batch of results if the response does not return the full set of results.
Note that an
orderfield exists in bothbinByandmetrics. You can only specify oneorderin 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 thenamefield to specify the metric to calculate, thestatisticfield to specify whether to calculate theSum,Average, orMaxnumber, and theorderfield to specify whether to sort the results inAscendingorDescendingorder. -
startDateTimeandendDateTime– 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
filtersfield to filter the results, thegroupByfield to specify categories by which to group the results, and thebinByfield to specify time intervals by which to group the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield to return the next batch of results if the response does not return the full set of results.
Note that an
orderfield exists in bothbinByandmetrics. You can only specify oneorderin a given request.
This is a convenience which creates an instance of the
ListIntentStageMetricsRequest.Builderavoiding the need to create one manually viaListIntentStageMetricsRequest.builder()- Parameters:
listIntentStageMetricsRequest- AConsumerthat will call methods onListIntentStageMetricsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListIntentStageMetricsRequest.builder()- Parameters:
listIntentStageMetricsRequest- AConsumerthat will call methods onListIntentStageMetricsRequest.Builderto 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.Builderavoiding the need to create one manually viaListIntentsRequest.builder()- Parameters:
listIntentsRequest- AConsumerthat will call methods onListIntentsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListIntentsRequest.builder()- Parameters:
listIntentsRequest- AConsumerthat will call methods onListIntentsRequest.Builderto 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.Builderavoiding the need to create one manually viaListRecommendedIntentsRequest.builder()- Parameters:
listRecommendedIntentsRequest- AConsumerthat will call methods onListRecommendedIntentsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListRecommendedIntentsRequest.builder()- Parameters:
listRecommendedIntentsRequest- AConsumerthat will call methods onListRecommendedIntentsRequest.Builderto 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
startDateTimeandendDateTimefields 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
filtersfield to filter the results and thesortByfield to specify the values by which to sort the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield 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
startDateTimeandendDateTimefields 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
filtersfield to filter the results and thesortByfield to specify the values by which to sort the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield 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.Builderavoiding the need to create one manually viaListSessionAnalyticsDataRequest.builder()- Parameters:
listSessionAnalyticsDataRequest- AConsumerthat will call methods onListSessionAnalyticsDataRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSessionAnalyticsDataRequest.builder()- Parameters:
listSessionAnalyticsDataRequest- AConsumerthat will call methods onListSessionAnalyticsDataRequest.Builderto 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 thenamefield to specify the metric to calculate, thestatisticfield to specify whether to calculate theSum,Average, orMaxnumber, and theorderfield to specify whether to sort the results inAscendingorDescendingorder. -
startDateTimeandendDateTime– 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
filtersfield to filter the results, thegroupByfield to specify categories by which to group the results, and thebinByfield to specify time intervals by which to group the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield to return the next batch of results if the response does not return the full set of results.
Note that an
orderfield exists in bothbinByandmetrics. 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 thenamefield to specify the metric to calculate, thestatisticfield to specify whether to calculate theSum,Average, orMaxnumber, and theorderfield to specify whether to sort the results inAscendingorDescendingorder. -
startDateTimeandendDateTime– 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
filtersfield to filter the results, thegroupByfield to specify categories by which to group the results, and thebinByfield to specify time intervals by which to group the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield to return the next batch of results if the response does not return the full set of results.
Note that an
orderfield exists in bothbinByandmetrics. Currently, you can specify it in either field, but not in both.
This is a convenience which creates an instance of the
ListSessionMetricsRequest.Builderavoiding the need to create one manually viaListSessionMetricsRequest.builder()- Parameters:
listSessionMetricsRequest- AConsumerthat will call methods onListSessionMetricsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSessionMetricsRequest.builder()- Parameters:
listSessionMetricsRequest- AConsumerthat will call methods onListSessionMetricsRequest.Builderto 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.Builderavoiding the need to create one manually viaListSlotTypesRequest.builder()- Parameters:
listSlotTypesRequest- AConsumerthat will call methods onListSlotTypesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSlotTypesRequest.builder()- Parameters:
listSlotTypesRequest- AConsumerthat will call methods onListSlotTypesRequest.Builderto 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.Builderavoiding the need to create one manually viaListSlotsRequest.builder()- Parameters:
listSlotsRequest- AConsumerthat will call methods onListSlotsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSlotsRequest.builder()- Parameters:
listSlotsRequest- AConsumerthat will call methods onListSlotsRequest.Builderto 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaListTestExecutionResultItemsRequest.builder()- Parameters:
listTestExecutionResultItemsRequest- AConsumerthat will call methods onListTestExecutionResultItemsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListTestExecutionResultItemsRequest.builder()- Parameters:
listTestExecutionResultItemsRequest- AConsumerthat will call methods onListTestExecutionResultItemsRequest.Builderto 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.Builderavoiding the need to create one manually viaListTestExecutionsRequest.builder()- Parameters:
listTestExecutionsRequest- AConsumerthat will call methods onListTestExecutionsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListTestExecutionsRequest.builder()- Parameters:
listTestExecutionsRequest- AConsumerthat will call methods onListTestExecutionsRequest.Builderto 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.Builderavoiding the need to create one manually viaListTestSetRecordsRequest.builder()- Parameters:
listTestSetRecordsRequest- AConsumerthat will call methods onListTestSetRecordsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListTestSetRecordsRequest.builder()- Parameters:
listTestSetRecordsRequest- AConsumerthat will call methods onListTestSetRecordsRequest.Builderto 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.Builderavoiding the need to create one manually viaListTestSetsRequest.builder()- Parameters:
listTestSetsRequest- AConsumerthat will call methods onListTestSetsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListTestSetsRequest.builder()- Parameters:
listTestSetsRequest- AConsumerthat will call methods onListTestSetsRequest.Builderto 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:
-
startDateTimeandendDateTime– 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
filtersfield to filter the results and thesortByfield to specify the values by which to sort the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield 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:
-
startDateTimeandendDateTime– 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
filtersfield to filter the results and thesortByfield to specify the values by which to sort the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield 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.Builderavoiding the need to create one manually viaListUtteranceAnalyticsDataRequest.builder()- Parameters:
listUtteranceAnalyticsDataRequest- AConsumerthat will call methods onListUtteranceAnalyticsDataRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListUtteranceAnalyticsDataRequest.builder()- Parameters:
listUtteranceAnalyticsDataRequest- AConsumerthat will call methods onListUtteranceAnalyticsDataRequest.Builderto 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 thenamefield to specify the metric to calculate, thestatisticfield to specify whether to calculate theSum,Average, orMaxnumber, and theorderfield to specify whether to sort the results inAscendingorDescendingorder. -
startDateTimeandendDateTime– 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
filtersfield to filter the results, thegroupByfield to specify categories by which to group the results, and thebinByfield to specify time intervals by which to group the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield to return the next batch of results if the response does not return the full set of results.
Note that an
orderfield exists in bothbinByandmetrics. 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 thenamefield to specify the metric to calculate, thestatisticfield to specify whether to calculate theSum,Average, orMaxnumber, and theorderfield to specify whether to sort the results inAscendingorDescendingorder. -
startDateTimeandendDateTime– 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
filtersfield to filter the results, thegroupByfield to specify categories by which to group the results, and thebinByfield to specify time intervals by which to group the results. -
Use the
maxResultsfield to limit the number of results to return in a single response and thenextTokenfield to return the next batch of results if the response does not return the full set of results.
Note that an
orderfield exists in bothbinByandmetrics. Currently, you can specify it in either field, but not in both.
This is a convenience which creates an instance of the
ListUtteranceMetricsRequest.Builderavoiding the need to create one manually viaListUtteranceMetricsRequest.builder()- Parameters:
listUtteranceMetricsRequest- AConsumerthat will call methods onListUtteranceMetricsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListUtteranceMetricsRequest.builder()- Parameters:
listUtteranceMetricsRequest- AConsumerthat will call methods onListUtteranceMetricsRequest.Builderto 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.Builderavoiding the need to create one manually viaSearchAssociatedTranscriptsRequest.builder()- Parameters:
searchAssociatedTranscriptsRequest- AConsumerthat will call methods onSearchAssociatedTranscriptsRequest.Builderto 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.Builderavoiding the need to create one manually viaStartBotRecommendationRequest.builder()- Parameters:
startBotRecommendationRequest- AConsumerthat will call methods onStartBotRecommendationRequest.Builderto 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
DescribeBotResourceGenerationoperation to check on the status of the generation and for thegeneratedBotLocaleUrlwhen 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
DescribeBotResourceGenerationoperation to check on the status of the generation and for thegeneratedBotLocaleUrlwhen 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.Builderavoiding the need to create one manually viaStartBotResourceGenerationRequest.builder()- Parameters:
startBotResourceGenerationRequest- AConsumerthat will call methods onStartBotResourceGenerationRequest.Builderto 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.Builderavoiding the need to create one manually viaStartImportRequest.builder()- Parameters:
startImportRequest- AConsumerthat will call methods onStartImportRequest.Builderto 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.Builderavoiding the need to create one manually viaStartTestExecutionRequest.builder()- Parameters:
startTestExecutionRequest- AConsumerthat will call methods onStartTestExecutionRequest.Builderto 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.Builderavoiding the need to create one manually viaStartTestSetGenerationRequest.builder()- Parameters:
startTestSetGenerationRequest- AConsumerthat will call methods onStartTestSetGenerationRequest.Builderto 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.Builderavoiding the need to create one manually viaStopBotRecommendationRequest.builder()- Parameters:
stopBotRecommendationRequest- AConsumerthat will call methods onStopBotRecommendationRequest.Builderto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateBotRequest.builder()- Parameters:
updateBotRequest- AConsumerthat will call methods onUpdateBotRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateBotAliasRequest.builder()- Parameters:
updateBotAliasRequest- AConsumerthat will call methods onUpdateBotAliasRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateBotLocaleRequest.builder()- Parameters:
updateBotLocaleRequest- AConsumerthat will call methods onUpdateBotLocaleRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateBotRecommendationRequest.builder()- Parameters:
updateBotRecommendationRequest- AConsumerthat will call methods onUpdateBotRecommendationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateExportRequest.builder()- Parameters:
updateExportRequest- AConsumerthat will call methods onUpdateExportRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateIntentRequest.builder()- Parameters:
updateIntentRequest- AConsumerthat will call methods onUpdateIntentRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateResourcePolicyRequest.builder()- Parameters:
updateResourcePolicyRequest- AConsumerthat will call methods onUpdateResourcePolicyRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSlotRequest.builder()- Parameters:
updateSlotRequest- AConsumerthat will call methods onUpdateSlotRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSlotTypeRequest.builder()- Parameters:
updateSlotTypeRequest- AConsumerthat will call methods onUpdateSlotTypeRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateTestSetRequest.builder()- Parameters:
updateTestSetRequest- AConsumerthat will call methods onUpdateTestSetRequest.Builderto create a request.- Returns:
- Result of the UpdateTestSet operation returned by the service.
- See Also:
-
waiter
Create an instance ofLexModelsV2Waiterusing 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 aLexModelsV2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aLexModelsV2Client. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-