Interface LexModelsV2AsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface LexModelsV2AsyncClient extends AwsClient
Service client for accessing Lex Models V2 asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

  • Field Details

  • Method Details

    • batchCreateCustomVocabularyItem

      default CompletableFuture<BatchCreateCustomVocabularyItemResponse> batchCreateCustomVocabularyItem(BatchCreateCustomVocabularyItemRequest batchCreateCustomVocabularyItemRequest)

      Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.

      Parameters:
      batchCreateCustomVocabularyItemRequest -
      Returns:
      A Java Future containing the result of the BatchCreateCustomVocabularyItem operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchCreateCustomVocabularyItem

      default CompletableFuture<BatchCreateCustomVocabularyItemResponse> batchCreateCustomVocabularyItem(Consumer<BatchCreateCustomVocabularyItemRequest.Builder> batchCreateCustomVocabularyItemRequest)

      Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.


      This is a convenience which creates an instance of the BatchCreateCustomVocabularyItemRequest.Builder avoiding the need to create one manually via BatchCreateCustomVocabularyItemRequest.builder()

      Parameters:
      batchCreateCustomVocabularyItemRequest - A Consumer that will call methods on BatchCreateCustomVocabularyItemRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchCreateCustomVocabularyItem operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteCustomVocabularyItem

      default CompletableFuture<BatchDeleteCustomVocabularyItemResponse> batchDeleteCustomVocabularyItem(BatchDeleteCustomVocabularyItemRequest batchDeleteCustomVocabularyItemRequest)

      Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.

      Parameters:
      batchDeleteCustomVocabularyItemRequest -
      Returns:
      A Java Future containing the result of the BatchDeleteCustomVocabularyItem operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteCustomVocabularyItem

      default CompletableFuture<BatchDeleteCustomVocabularyItemResponse> batchDeleteCustomVocabularyItem(Consumer<BatchDeleteCustomVocabularyItemRequest.Builder> batchDeleteCustomVocabularyItemRequest)

      Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.


      This is a convenience which creates an instance of the BatchDeleteCustomVocabularyItemRequest.Builder avoiding the need to create one manually via BatchDeleteCustomVocabularyItemRequest.builder()

      Parameters:
      batchDeleteCustomVocabularyItemRequest - A Consumer that will call methods on BatchDeleteCustomVocabularyItemRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchDeleteCustomVocabularyItem operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateCustomVocabularyItem

      default CompletableFuture<BatchUpdateCustomVocabularyItemResponse> batchUpdateCustomVocabularyItem(BatchUpdateCustomVocabularyItemRequest batchUpdateCustomVocabularyItemRequest)

      Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.

      Parameters:
      batchUpdateCustomVocabularyItemRequest -
      Returns:
      A Java Future containing the result of the BatchUpdateCustomVocabularyItem operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchUpdateCustomVocabularyItem

      default CompletableFuture<BatchUpdateCustomVocabularyItemResponse> batchUpdateCustomVocabularyItem(Consumer<BatchUpdateCustomVocabularyItemRequest.Builder> batchUpdateCustomVocabularyItemRequest)

      Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.


      This is a convenience which creates an instance of the BatchUpdateCustomVocabularyItemRequest.Builder avoiding the need to create one manually via BatchUpdateCustomVocabularyItemRequest.builder()

      Parameters:
      batchUpdateCustomVocabularyItemRequest - A Consumer that will call methods on BatchUpdateCustomVocabularyItemRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchUpdateCustomVocabularyItem operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • buildBotLocale

      default CompletableFuture<BuildBotLocaleResponse> buildBotLocale(BuildBotLocaleRequest buildBotLocaleRequest)

      Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.

      Parameters:
      buildBotLocaleRequest -
      Returns:
      A Java Future containing the result of the BuildBotLocale operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • buildBotLocale

      default CompletableFuture<BuildBotLocaleResponse> buildBotLocale(Consumer<BuildBotLocaleRequest.Builder> buildBotLocaleRequest)

      Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.


      This is a convenience which creates an instance of the BuildBotLocaleRequest.Builder avoiding the need to create one manually via BuildBotLocaleRequest.builder()

      Parameters:
      buildBotLocaleRequest - A Consumer that will call methods on BuildBotLocaleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BuildBotLocale operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBot

      default CompletableFuture<CreateBotResponse> createBot(CreateBotRequest createBotRequest)

      Creates an Amazon Lex conversational bot.

      Parameters:
      createBotRequest -
      Returns:
      A Java Future containing the result of the CreateBot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBot

      default CompletableFuture<CreateBotResponse> createBot(Consumer<CreateBotRequest.Builder> createBotRequest)

      Creates an Amazon Lex conversational bot.


      This is a convenience which creates an instance of the CreateBotRequest.Builder avoiding the need to create one manually via CreateBotRequest.builder()

      Parameters:
      createBotRequest - A Consumer that will call methods on CreateBotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBotAlias

      default CompletableFuture<CreateBotAliasResponse> createBotAlias(CreateBotAliasRequest createBotAliasRequest)

      Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.

      For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot.

      Parameters:
      createBotAliasRequest -
      Returns:
      A Java Future containing the result of the CreateBotAlias operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBotAlias

      default CompletableFuture<CreateBotAliasResponse> createBotAlias(Consumer<CreateBotAliasRequest.Builder> createBotAliasRequest)

      Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.

      For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot.


      This is a convenience which creates an instance of the CreateBotAliasRequest.Builder avoiding the need to create one manually via CreateBotAliasRequest.builder()

      Parameters:
      createBotAliasRequest - A Consumer that will call methods on CreateBotAliasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBotAlias operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBotLocale

      default CompletableFuture<CreateBotLocaleResponse> createBotLocale(CreateBotLocaleRequest createBotLocaleRequest)

      Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.

      Parameters:
      createBotLocaleRequest -
      Returns:
      A Java Future containing the result of the CreateBotLocale operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBotLocale

      default CompletableFuture<CreateBotLocaleResponse> createBotLocale(Consumer<CreateBotLocaleRequest.Builder> createBotLocaleRequest)

      Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.


      This is a convenience which creates an instance of the CreateBotLocaleRequest.Builder avoiding the need to create one manually via CreateBotLocaleRequest.builder()

      Parameters:
      createBotLocaleRequest - A Consumer that will call methods on CreateBotLocaleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBotLocale operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBotReplica

      default CompletableFuture<CreateBotReplicaResponse> createBotReplica(CreateBotReplicaRequest createBotReplicaRequest)

      Action to create a replication of the source bot in the secondary region.

      Parameters:
      createBotReplicaRequest -
      Returns:
      A Java Future containing the result of the CreateBotReplica operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBotReplica

      default CompletableFuture<CreateBotReplicaResponse> createBotReplica(Consumer<CreateBotReplicaRequest.Builder> createBotReplicaRequest)

      Action to create a replication of the source bot in the secondary region.


      This is a convenience which creates an instance of the CreateBotReplicaRequest.Builder avoiding the need to create one manually via CreateBotReplicaRequest.builder()

      Parameters:
      createBotReplicaRequest - A Consumer that will call methods on CreateBotReplicaRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBotReplica operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBotVersion

      default CompletableFuture<CreateBotVersionResponse> createBotVersion(CreateBotVersionRequest createBotVersionRequest)

      Creates an immutable version of the bot. When you create the first version of a bot, Amazon Lex sets the version number to 1. Subsequent bot versions increase in an increment of 1. The version number will always represent the total number of versions created of the bot, not the current number of versions. If a bot version is deleted, that bot version number will not be reused.

      Parameters:
      createBotVersionRequest -
      Returns:
      A Java Future containing the result of the CreateBotVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createBotVersion

      default CompletableFuture<CreateBotVersionResponse> createBotVersion(Consumer<CreateBotVersionRequest.Builder> createBotVersionRequest)

      Creates an immutable version of the bot. When you create the first version of a bot, Amazon Lex sets the version number to 1. Subsequent bot versions increase in an increment of 1. The version number will always represent the total number of versions created of the bot, not the current number of versions. If a bot version is deleted, that bot version number will not be reused.


      This is a convenience which creates an instance of the CreateBotVersionRequest.Builder avoiding the need to create one manually via CreateBotVersionRequest.builder()

      Parameters:
      createBotVersionRequest - A Consumer that will call methods on CreateBotVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateBotVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createExport

      default CompletableFuture<CreateExportResponse> createExport(CreateExportRequest createExportRequest)

      Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory structure that contains JSON files that define the bot.

      You can create an archive that contains the complete definition of a bot, or you can specify that the archive contain only the definition of a single bot locale.

      For more information about exporting bots, and about the structure of the export archive, see Importing and exporting bots

      Parameters:
      createExportRequest -
      Returns:
      A Java Future containing the result of the CreateExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createExport

      default CompletableFuture<CreateExportResponse> createExport(Consumer<CreateExportRequest.Builder> createExportRequest)

      Creates a zip archive containing the contents of a bot or a bot locale. The archive contains a directory structure that contains JSON files that define the bot.

      You can create an archive that contains the complete definition of a bot, or you can specify that the archive contain only the definition of a single bot locale.

      For more information about exporting bots, and about the structure of the export archive, see Importing and exporting bots


      This is a convenience which creates an instance of the CreateExportRequest.Builder avoiding the need to create one manually via CreateExportRequest.builder()

      Parameters:
      createExportRequest - A Consumer that will call methods on CreateExportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createIntent

      default CompletableFuture<CreateIntentResponse> createIntent(CreateIntentRequest createIntentRequest)

      Creates an intent.

      To define the interaction between the user and your bot, you define one or more intents. For example, for a pizza ordering bot you would create an OrderPizza intent.

      When you create an intent, you must provide a name. You can optionally provide the following:

      • Sample utterances. For example, "I want to order a pizza" and "Can I order a pizza." You can't provide utterances for built-in intents.

      • Information to be gathered. You specify slots for the information that you bot requests from the user. You can specify standard slot types, such as date and time, or custom slot types for your application.

      • How the intent is fulfilled. You can provide a Lambda function or configure the intent to return the intent information to your client application. If you use a Lambda function, Amazon Lex invokes the function when all of the intent information is available.

      • A confirmation prompt to send to the user to confirm an intent. For example, "Shall I order your pizza?"

      • A conclusion statement to send to the user after the intent is fulfilled. For example, "I ordered your pizza."

      • A follow-up prompt that asks the user for additional activity. For example, "Do you want a drink with your pizza?"

      Parameters:
      createIntentRequest -
      Returns:
      A Java Future containing the result of the CreateIntent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createIntent

      default CompletableFuture<CreateIntentResponse> createIntent(Consumer<CreateIntentRequest.Builder> createIntentRequest)

      Creates an intent.

      To define the interaction between the user and your bot, you define one or more intents. For example, for a pizza ordering bot you would create an OrderPizza intent.

      When you create an intent, you must provide a name. You can optionally provide the following:

      • Sample utterances. For example, "I want to order a pizza" and "Can I order a pizza." You can't provide utterances for built-in intents.

      • Information to be gathered. You specify slots for the information that you bot requests from the user. You can specify standard slot types, such as date and time, or custom slot types for your application.

      • How the intent is fulfilled. You can provide a Lambda function or configure the intent to return the intent information to your client application. If you use a Lambda function, Amazon Lex invokes the function when all of the intent information is available.

      • A confirmation prompt to send to the user to confirm an intent. For example, "Shall I order your pizza?"

      • A conclusion statement to send to the user after the intent is fulfilled. For example, "I ordered your pizza."

      • A follow-up prompt that asks the user for additional activity. For example, "Do you want a drink with your pizza?"


      This is a convenience which creates an instance of the CreateIntentRequest.Builder avoiding the need to create one manually via CreateIntentRequest.builder()

      Parameters:
      createIntentRequest - A Consumer that will call methods on CreateIntentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateIntent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResourcePolicy

      default CompletableFuture<CreateResourcePolicyResponse> createResourcePolicy(CreateResourcePolicyRequest createResourcePolicyRequest)

      Creates a new resource policy with the specified policy statements.

      Parameters:
      createResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the CreateResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResourcePolicy

      default CompletableFuture<CreateResourcePolicyResponse> createResourcePolicy(Consumer<CreateResourcePolicyRequest.Builder> createResourcePolicyRequest)

      Creates a new resource policy with the specified policy statements.


      This is a convenience which creates an instance of the CreateResourcePolicyRequest.Builder avoiding the need to create one manually via CreateResourcePolicyRequest.builder()

      Parameters:
      createResourcePolicyRequest - A Consumer that will call methods on CreateResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResourcePolicyStatement

      default CompletableFuture<CreateResourcePolicyStatementResponse> createResourcePolicyStatement(CreateResourcePolicyStatementRequest createResourcePolicyStatementRequest)

      Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.

      You can't create a resource policy statement that allows cross-account access.

      Parameters:
      createResourcePolicyStatementRequest -
      Returns:
      A Java Future containing the result of the CreateResourcePolicyStatement operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createResourcePolicyStatement

      default CompletableFuture<CreateResourcePolicyStatementResponse> createResourcePolicyStatement(Consumer<CreateResourcePolicyStatementRequest.Builder> createResourcePolicyStatementRequest)

      Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.

      You can't create a resource policy statement that allows cross-account access.


      This is a convenience which creates an instance of the CreateResourcePolicyStatementRequest.Builder avoiding the need to create one manually via CreateResourcePolicyStatementRequest.builder()

      Parameters:
      createResourcePolicyStatementRequest - A Consumer that will call methods on CreateResourcePolicyStatementRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateResourcePolicyStatement operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSlot

      default CompletableFuture<CreateSlotResponse> createSlot(CreateSlotRequest createSlotRequest)

      Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an OrderPizza intent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user.

      Parameters:
      createSlotRequest -
      Returns:
      A Java Future containing the result of the CreateSlot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSlot

      default CompletableFuture<CreateSlotResponse> createSlot(Consumer<CreateSlotRequest.Builder> createSlotRequest)

      Creates a slot in an intent. A slot is a variable needed to fulfill an intent. For example, an OrderPizza intent might need slots for size, crust, and number of pizzas. For each slot, you define one or more utterances that Amazon Lex uses to elicit a response from the user.


      This is a convenience which creates an instance of the CreateSlotRequest.Builder avoiding the need to create one manually via CreateSlotRequest.builder()

      Parameters:
      createSlotRequest - A Consumer that will call methods on CreateSlotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateSlot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSlotType

      default CompletableFuture<CreateSlotTypeResponse> createSlotType(CreateSlotTypeRequest createSlotTypeRequest)

      Creates a custom slot type

      To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume.

      Parameters:
      createSlotTypeRequest -
      Returns:
      A Java Future containing the result of the CreateSlotType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSlotType

      default CompletableFuture<CreateSlotTypeResponse> createSlotType(Consumer<CreateSlotTypeRequest.Builder> createSlotTypeRequest)

      Creates a custom slot type

      To create a custom slot type, specify a name for the slot type and a set of enumeration values, the values that a slot of this type can assume.


      This is a convenience which creates an instance of the CreateSlotTypeRequest.Builder avoiding the need to create one manually via CreateSlotTypeRequest.builder()

      Parameters:
      createSlotTypeRequest - A Consumer that will call methods on CreateSlotTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateSlotType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTestSetDiscrepancyReport

      default CompletableFuture<CreateTestSetDiscrepancyReportResponse> createTestSetDiscrepancyReport(CreateTestSetDiscrepancyReportRequest createTestSetDiscrepancyReportRequest)

      Create a report that describes the differences between the bot and the test set.

      Parameters:
      createTestSetDiscrepancyReportRequest -
      Returns:
      A Java Future containing the result of the CreateTestSetDiscrepancyReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createTestSetDiscrepancyReport

      default CompletableFuture<CreateTestSetDiscrepancyReportResponse> createTestSetDiscrepancyReport(Consumer<CreateTestSetDiscrepancyReportRequest.Builder> createTestSetDiscrepancyReportRequest)

      Create a report that describes the differences between the bot and the test set.


      This is a convenience which creates an instance of the CreateTestSetDiscrepancyReportRequest.Builder avoiding the need to create one manually via CreateTestSetDiscrepancyReportRequest.builder()

      Parameters:
      createTestSetDiscrepancyReportRequest - A Consumer that will call methods on CreateTestSetDiscrepancyReportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateTestSetDiscrepancyReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createUploadUrl

      default CompletableFuture<CreateUploadUrlResponse> createUploadUrl(CreateUploadUrlRequest createUploadUrlRequest)

      Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.

      Parameters:
      createUploadUrlRequest -
      Returns:
      A Java Future containing the result of the CreateUploadUrl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createUploadUrl

      default CompletableFuture<CreateUploadUrlResponse> createUploadUrl(Consumer<CreateUploadUrlRequest.Builder> createUploadUrlRequest)

      Gets a pre-signed S3 write URL that you use to upload the zip archive when importing a bot or a bot locale.


      This is a convenience which creates an instance of the CreateUploadUrlRequest.Builder avoiding the need to create one manually via CreateUploadUrlRequest.builder()

      Parameters:
      createUploadUrlRequest - A Consumer that will call methods on CreateUploadUrlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateUploadUrl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBot

      default CompletableFuture<DeleteBotResponse> deleteBot(DeleteBotRequest deleteBotRequest)

      Deletes all versions of a bot, including the Draft version. To delete a specific version, use the DeleteBotVersion operation.

      When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all locales, intents, slot, and slot types defined for the bot.

      If a bot has an alias, the DeleteBot operation returns a ResourceInUseException exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck parameter to true.

      Parameters:
      deleteBotRequest -
      Returns:
      A Java Future containing the result of the DeleteBot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBot

      default CompletableFuture<DeleteBotResponse> deleteBot(Consumer<DeleteBotRequest.Builder> deleteBotRequest)

      Deletes all versions of a bot, including the Draft version. To delete a specific version, use the DeleteBotVersion operation.

      When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all locales, intents, slot, and slot types defined for the bot.

      If a bot has an alias, the DeleteBot operation returns a ResourceInUseException exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck parameter to true.


      This is a convenience which creates an instance of the DeleteBotRequest.Builder avoiding the need to create one manually via DeleteBotRequest.builder()

      Parameters:
      deleteBotRequest - A Consumer that will call methods on DeleteBotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBotAlias

      default CompletableFuture<DeleteBotAliasResponse> deleteBotAlias(DeleteBotAliasRequest deleteBotAliasRequest)

      Deletes the specified bot alias.

      Parameters:
      deleteBotAliasRequest -
      Returns:
      A Java Future containing the result of the DeleteBotAlias operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBotAlias

      default CompletableFuture<DeleteBotAliasResponse> deleteBotAlias(Consumer<DeleteBotAliasRequest.Builder> deleteBotAliasRequest)

      Deletes the specified bot alias.


      This is a convenience which creates an instance of the DeleteBotAliasRequest.Builder avoiding the need to create one manually via DeleteBotAliasRequest.builder()

      Parameters:
      deleteBotAliasRequest - A Consumer that will call methods on DeleteBotAliasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBotAlias operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBotLocale

      default CompletableFuture<DeleteBotLocaleResponse> deleteBotLocale(DeleteBotLocaleRequest deleteBotLocaleRequest)

      Removes a locale from a bot.

      When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.

      Parameters:
      deleteBotLocaleRequest -
      Returns:
      A Java Future containing the result of the DeleteBotLocale operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBotLocale

      default CompletableFuture<DeleteBotLocaleResponse> deleteBotLocale(Consumer<DeleteBotLocaleRequest.Builder> deleteBotLocaleRequest)

      Removes a locale from a bot.

      When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.


      This is a convenience which creates an instance of the DeleteBotLocaleRequest.Builder avoiding the need to create one manually via DeleteBotLocaleRequest.builder()

      Parameters:
      deleteBotLocaleRequest - A Consumer that will call methods on DeleteBotLocaleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBotLocale operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBotReplica

      default CompletableFuture<DeleteBotReplicaResponse> deleteBotReplica(DeleteBotReplicaRequest deleteBotReplicaRequest)

      The action to delete the replicated bot in the secondary region.

      Parameters:
      deleteBotReplicaRequest -
      Returns:
      A Java Future containing the result of the DeleteBotReplica operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBotReplica

      default CompletableFuture<DeleteBotReplicaResponse> deleteBotReplica(Consumer<DeleteBotReplicaRequest.Builder> deleteBotReplicaRequest)

      The action to delete the replicated bot in the secondary region.


      This is a convenience which creates an instance of the DeleteBotReplicaRequest.Builder avoiding the need to create one manually via DeleteBotReplicaRequest.builder()

      Parameters:
      deleteBotReplicaRequest - A Consumer that will call methods on DeleteBotReplicaRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBotReplica operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBotVersion

      default CompletableFuture<DeleteBotVersionResponse> deleteBotVersion(DeleteBotVersionRequest deleteBotVersionRequest)

      Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

      Parameters:
      deleteBotVersionRequest -
      Returns:
      A Java Future containing the result of the DeleteBotVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteBotVersion

      default CompletableFuture<DeleteBotVersionResponse> deleteBotVersion(Consumer<DeleteBotVersionRequest.Builder> deleteBotVersionRequest)

      Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.


      This is a convenience which creates an instance of the DeleteBotVersionRequest.Builder avoiding the need to create one manually via DeleteBotVersionRequest.builder()

      Parameters:
      deleteBotVersionRequest - A Consumer that will call methods on DeleteBotVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteBotVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCustomVocabulary

      default CompletableFuture<DeleteCustomVocabularyResponse> deleteCustomVocabulary(DeleteCustomVocabularyRequest deleteCustomVocabularyRequest)

      Removes a custom vocabulary from the specified locale in the specified bot.

      Parameters:
      deleteCustomVocabularyRequest -
      Returns:
      A Java Future containing the result of the DeleteCustomVocabulary operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteCustomVocabulary

      default CompletableFuture<DeleteCustomVocabularyResponse> deleteCustomVocabulary(Consumer<DeleteCustomVocabularyRequest.Builder> deleteCustomVocabularyRequest)

      Removes a custom vocabulary from the specified locale in the specified bot.


      This is a convenience which creates an instance of the DeleteCustomVocabularyRequest.Builder avoiding the need to create one manually via DeleteCustomVocabularyRequest.builder()

      Parameters:
      deleteCustomVocabularyRequest - A Consumer that will call methods on DeleteCustomVocabularyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteCustomVocabulary operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteExport

      default CompletableFuture<DeleteExportResponse> deleteExport(DeleteExportRequest deleteExportRequest)

      Removes a previous export and the associated files stored in an S3 bucket.

      Parameters:
      deleteExportRequest -
      Returns:
      A Java Future containing the result of the DeleteExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteExport

      default CompletableFuture<DeleteExportResponse> deleteExport(Consumer<DeleteExportRequest.Builder> deleteExportRequest)

      Removes a previous export and the associated files stored in an S3 bucket.


      This is a convenience which creates an instance of the DeleteExportRequest.Builder avoiding the need to create one manually via DeleteExportRequest.builder()

      Parameters:
      deleteExportRequest - A Consumer that will call methods on DeleteExportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteImport

      default CompletableFuture<DeleteImportResponse> deleteImport(DeleteImportRequest deleteImportRequest)

      Removes a previous import and the associated file stored in an S3 bucket.

      Parameters:
      deleteImportRequest -
      Returns:
      A Java Future containing the result of the DeleteImport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteImport

      default CompletableFuture<DeleteImportResponse> deleteImport(Consumer<DeleteImportRequest.Builder> deleteImportRequest)

      Removes a previous import and the associated file stored in an S3 bucket.


      This is a convenience which creates an instance of the DeleteImportRequest.Builder avoiding the need to create one manually via DeleteImportRequest.builder()

      Parameters:
      deleteImportRequest - A Consumer that will call methods on DeleteImportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteImport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteIntent

      default CompletableFuture<DeleteIntentResponse> deleteIntent(DeleteIntentRequest deleteIntentRequest)

      Removes the specified intent.

      Deleting an intent also deletes the slots associated with the intent.

      Parameters:
      deleteIntentRequest -
      Returns:
      A Java Future containing the result of the DeleteIntent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteIntent

      default CompletableFuture<DeleteIntentResponse> deleteIntent(Consumer<DeleteIntentRequest.Builder> deleteIntentRequest)

      Removes the specified intent.

      Deleting an intent also deletes the slots associated with the intent.


      This is a convenience which creates an instance of the DeleteIntentRequest.Builder avoiding the need to create one manually via DeleteIntentRequest.builder()

      Parameters:
      deleteIntentRequest - A Consumer that will call methods on DeleteIntentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteIntent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResourcePolicy

      default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)

      Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.

      Parameters:
      deleteResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResourcePolicy

      default CompletableFuture<DeleteResourcePolicyResponse> deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)

      Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.


      This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder avoiding the need to create one manually via DeleteResourcePolicyRequest.builder()

      Parameters:
      deleteResourcePolicyRequest - A Consumer that will call methods on DeleteResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResourcePolicyStatement

      default CompletableFuture<DeleteResourcePolicyStatementResponse> deleteResourcePolicyStatement(DeleteResourcePolicyStatementRequest deleteResourcePolicyStatementRequest)

      Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.

      Parameters:
      deleteResourcePolicyStatementRequest -
      Returns:
      A Java Future containing the result of the DeleteResourcePolicyStatement operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteResourcePolicyStatement

      default CompletableFuture<DeleteResourcePolicyStatementResponse> deleteResourcePolicyStatement(Consumer<DeleteResourcePolicyStatementRequest.Builder> deleteResourcePolicyStatementRequest)

      Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.


      This is a convenience which creates an instance of the DeleteResourcePolicyStatementRequest.Builder avoiding the need to create one manually via DeleteResourcePolicyStatementRequest.builder()

      Parameters:
      deleteResourcePolicyStatementRequest - A Consumer that will call methods on DeleteResourcePolicyStatementRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteResourcePolicyStatement operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSlot

      default CompletableFuture<DeleteSlotResponse> deleteSlot(DeleteSlotRequest deleteSlotRequest)

      Deletes the specified slot from an intent.

      Parameters:
      deleteSlotRequest -
      Returns:
      A Java Future containing the result of the DeleteSlot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSlot

      default CompletableFuture<DeleteSlotResponse> deleteSlot(Consumer<DeleteSlotRequest.Builder> deleteSlotRequest)

      Deletes the specified slot from an intent.


      This is a convenience which creates an instance of the DeleteSlotRequest.Builder avoiding the need to create one manually via DeleteSlotRequest.builder()

      Parameters:
      deleteSlotRequest - A Consumer that will call methods on DeleteSlotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteSlot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSlotType

      default CompletableFuture<DeleteSlotTypeResponse> deleteSlotType(DeleteSlotTypeRequest deleteSlotTypeRequest)

      Deletes a slot type from a bot locale.

      If a slot is using the slot type, Amazon Lex throws a ResourceInUseException exception. To avoid the exception, set the skipResourceInUseCheck parameter to true.

      Parameters:
      deleteSlotTypeRequest -
      Returns:
      A Java Future containing the result of the DeleteSlotType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteSlotType

      default CompletableFuture<DeleteSlotTypeResponse> deleteSlotType(Consumer<DeleteSlotTypeRequest.Builder> deleteSlotTypeRequest)

      Deletes a slot type from a bot locale.

      If a slot is using the slot type, Amazon Lex throws a ResourceInUseException exception. To avoid the exception, set the skipResourceInUseCheck parameter to true.


      This is a convenience which creates an instance of the DeleteSlotTypeRequest.Builder avoiding the need to create one manually via DeleteSlotTypeRequest.builder()

      Parameters:
      deleteSlotTypeRequest - A Consumer that will call methods on DeleteSlotTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteSlotType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteTestSet

      default CompletableFuture<DeleteTestSetResponse> deleteTestSet(DeleteTestSetRequest deleteTestSetRequest)

      The action to delete the selected test set.

      Parameters:
      deleteTestSetRequest -
      Returns:
      A Java Future containing the result of the DeleteTestSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteTestSet

      default CompletableFuture<DeleteTestSetResponse> deleteTestSet(Consumer<DeleteTestSetRequest.Builder> deleteTestSetRequest)

      The action to delete the selected test set.


      This is a convenience which creates an instance of the DeleteTestSetRequest.Builder avoiding the need to create one manually via DeleteTestSetRequest.builder()

      Parameters:
      deleteTestSetRequest - A Consumer that will call methods on DeleteTestSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteTestSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteUtterances

      default CompletableFuture<DeleteUtterancesResponse> deleteUtterances(DeleteUtterancesRequest deleteUtterancesRequest)

      Deletes stored utterances.

      Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input..

      Use the DeleteUtterances operation to manually delete utterances for a specific session. When you use the DeleteUtterances operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the ListAggregatedUtterances operation are deleted after 15 days.

      Parameters:
      deleteUtterancesRequest -
      Returns:
      A Java Future containing the result of the DeleteUtterances operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteUtterances

      default CompletableFuture<DeleteUtterancesResponse> deleteUtterances(Consumer<DeleteUtterancesRequest.Builder> deleteUtterancesRequest)

      Deletes stored utterances.

      Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input..

      Use the DeleteUtterances operation to manually delete utterances for a specific session. When you use the DeleteUtterances operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the ListAggregatedUtterances operation are deleted after 15 days.


      This is a convenience which creates an instance of the DeleteUtterancesRequest.Builder avoiding the need to create one manually via DeleteUtterancesRequest.builder()

      Parameters:
      deleteUtterancesRequest - A Consumer that will call methods on DeleteUtterancesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteUtterances operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBot

      default CompletableFuture<DescribeBotResponse> describeBot(DescribeBotRequest describeBotRequest)

      Provides metadata information about a bot.

      Parameters:
      describeBotRequest -
      Returns:
      A Java Future containing the result of the DescribeBot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBot

      default CompletableFuture<DescribeBotResponse> describeBot(Consumer<DescribeBotRequest.Builder> describeBotRequest)

      Provides metadata information about a bot.


      This is a convenience which creates an instance of the DescribeBotRequest.Builder avoiding the need to create one manually via DescribeBotRequest.builder()

      Parameters:
      describeBotRequest - A Consumer that will call methods on DescribeBotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeBot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotAlias

      default CompletableFuture<DescribeBotAliasResponse> describeBotAlias(DescribeBotAliasRequest describeBotAliasRequest)

      Get information about a specific bot alias.

      Parameters:
      describeBotAliasRequest -
      Returns:
      A Java Future containing the result of the DescribeBotAlias operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotAlias

      default CompletableFuture<DescribeBotAliasResponse> describeBotAlias(Consumer<DescribeBotAliasRequest.Builder> describeBotAliasRequest)

      Get information about a specific bot alias.


      This is a convenience which creates an instance of the DescribeBotAliasRequest.Builder avoiding the need to create one manually via DescribeBotAliasRequest.builder()

      Parameters:
      describeBotAliasRequest - A Consumer that will call methods on DescribeBotAliasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeBotAlias operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotLocale

      default CompletableFuture<DescribeBotLocaleResponse> describeBotLocale(DescribeBotLocaleRequest describeBotLocaleRequest)

      Describes the settings that a bot has for a specific locale.

      Parameters:
      describeBotLocaleRequest -
      Returns:
      A Java Future containing the result of the DescribeBotLocale operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotLocale

      default CompletableFuture<DescribeBotLocaleResponse> describeBotLocale(Consumer<DescribeBotLocaleRequest.Builder> describeBotLocaleRequest)

      Describes the settings that a bot has for a specific locale.


      This is a convenience which creates an instance of the DescribeBotLocaleRequest.Builder avoiding the need to create one manually via DescribeBotLocaleRequest.builder()

      Parameters:
      describeBotLocaleRequest - A Consumer that will call methods on DescribeBotLocaleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeBotLocale operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotRecommendation

      default CompletableFuture<DescribeBotRecommendationResponse> describeBotRecommendation(DescribeBotRecommendationRequest describeBotRecommendationRequest)

      Provides metadata information about a bot recommendation. This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.

      Parameters:
      describeBotRecommendationRequest -
      Returns:
      A Java Future containing the result of the DescribeBotRecommendation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotRecommendation

      default CompletableFuture<DescribeBotRecommendationResponse> describeBotRecommendation(Consumer<DescribeBotRecommendationRequest.Builder> describeBotRecommendationRequest)

      Provides metadata information about a bot recommendation. This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.


      This is a convenience which creates an instance of the DescribeBotRecommendationRequest.Builder avoiding the need to create one manually via DescribeBotRecommendationRequest.builder()

      Parameters:
      describeBotRecommendationRequest - A Consumer that will call methods on DescribeBotRecommendationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeBotRecommendation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotReplica

      default CompletableFuture<DescribeBotReplicaResponse> describeBotReplica(DescribeBotReplicaRequest describeBotReplicaRequest)

      Monitors the bot replication status through the UI console.

      Parameters:
      describeBotReplicaRequest -
      Returns:
      A Java Future containing the result of the DescribeBotReplica operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotReplica

      default CompletableFuture<DescribeBotReplicaResponse> describeBotReplica(Consumer<DescribeBotReplicaRequest.Builder> describeBotReplicaRequest)

      Monitors the bot replication status through the UI console.


      This is a convenience which creates an instance of the DescribeBotReplicaRequest.Builder avoiding the need to create one manually via DescribeBotReplicaRequest.builder()

      Parameters:
      describeBotReplicaRequest - A Consumer that will call methods on DescribeBotReplicaRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeBotReplica operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotResourceGeneration

      default CompletableFuture<DescribeBotResourceGenerationResponse> describeBotResourceGeneration(DescribeBotResourceGenerationRequest describeBotResourceGenerationRequest)

      Returns information about a request to generate a bot through natural language description, made through the StartBotResource API. Use the generatedBotLocaleUrl to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.

      Parameters:
      describeBotResourceGenerationRequest -
      Returns:
      A Java Future containing the result of the DescribeBotResourceGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotResourceGeneration

      default CompletableFuture<DescribeBotResourceGenerationResponse> describeBotResourceGeneration(Consumer<DescribeBotResourceGenerationRequest.Builder> describeBotResourceGenerationRequest)

      Returns information about a request to generate a bot through natural language description, made through the StartBotResource API. Use the generatedBotLocaleUrl to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.


      This is a convenience which creates an instance of the DescribeBotResourceGenerationRequest.Builder avoiding the need to create one manually via DescribeBotResourceGenerationRequest.builder()

      Parameters:
      describeBotResourceGenerationRequest - A Consumer that will call methods on DescribeBotResourceGenerationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeBotResourceGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotVersion

      default CompletableFuture<DescribeBotVersionResponse> describeBotVersion(DescribeBotVersionRequest describeBotVersionRequest)

      Provides metadata about a version of a bot.

      Parameters:
      describeBotVersionRequest -
      Returns:
      A Java Future containing the result of the DescribeBotVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeBotVersion

      default CompletableFuture<DescribeBotVersionResponse> describeBotVersion(Consumer<DescribeBotVersionRequest.Builder> describeBotVersionRequest)

      Provides metadata about a version of a bot.


      This is a convenience which creates an instance of the DescribeBotVersionRequest.Builder avoiding the need to create one manually via DescribeBotVersionRequest.builder()

      Parameters:
      describeBotVersionRequest - A Consumer that will call methods on DescribeBotVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeBotVersion operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeCustomVocabularyMetadata

      default CompletableFuture<DescribeCustomVocabularyMetadataResponse> describeCustomVocabularyMetadata(DescribeCustomVocabularyMetadataRequest describeCustomVocabularyMetadataRequest)

      Provides metadata information about a custom vocabulary.

      Parameters:
      describeCustomVocabularyMetadataRequest -
      Returns:
      A Java Future containing the result of the DescribeCustomVocabularyMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeCustomVocabularyMetadata

      default CompletableFuture<DescribeCustomVocabularyMetadataResponse> describeCustomVocabularyMetadata(Consumer<DescribeCustomVocabularyMetadataRequest.Builder> describeCustomVocabularyMetadataRequest)

      Provides metadata information about a custom vocabulary.


      This is a convenience which creates an instance of the DescribeCustomVocabularyMetadataRequest.Builder avoiding the need to create one manually via DescribeCustomVocabularyMetadataRequest.builder()

      Parameters:
      describeCustomVocabularyMetadataRequest - A Consumer that will call methods on DescribeCustomVocabularyMetadataRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeCustomVocabularyMetadata operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeExport

      default CompletableFuture<DescribeExportResponse> describeExport(DescribeExportRequest describeExportRequest)

      Gets information about a specific export.

      Parameters:
      describeExportRequest -
      Returns:
      A Java Future containing the result of the DescribeExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeExport

      default CompletableFuture<DescribeExportResponse> describeExport(Consumer<DescribeExportRequest.Builder> describeExportRequest)

      Gets information about a specific export.


      This is a convenience which creates an instance of the DescribeExportRequest.Builder avoiding the need to create one manually via DescribeExportRequest.builder()

      Parameters:
      describeExportRequest - A Consumer that will call methods on DescribeExportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeImport

      default CompletableFuture<DescribeImportResponse> describeImport(DescribeImportRequest describeImportRequest)

      Gets information about a specific import.

      Parameters:
      describeImportRequest -
      Returns:
      A Java Future containing the result of the DescribeImport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeImport

      default CompletableFuture<DescribeImportResponse> describeImport(Consumer<DescribeImportRequest.Builder> describeImportRequest)

      Gets information about a specific import.


      This is a convenience which creates an instance of the DescribeImportRequest.Builder avoiding the need to create one manually via DescribeImportRequest.builder()

      Parameters:
      describeImportRequest - A Consumer that will call methods on DescribeImportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeImport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeIntent

      default CompletableFuture<DescribeIntentResponse> describeIntent(DescribeIntentRequest describeIntentRequest)

      Returns metadata about an intent.

      Parameters:
      describeIntentRequest -
      Returns:
      A Java Future containing the result of the DescribeIntent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeIntent

      default CompletableFuture<DescribeIntentResponse> describeIntent(Consumer<DescribeIntentRequest.Builder> describeIntentRequest)

      Returns metadata about an intent.


      This is a convenience which creates an instance of the DescribeIntentRequest.Builder avoiding the need to create one manually via DescribeIntentRequest.builder()

      Parameters:
      describeIntentRequest - A Consumer that will call methods on DescribeIntentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeIntent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeResourcePolicy

      default CompletableFuture<DescribeResourcePolicyResponse> describeResourcePolicy(DescribeResourcePolicyRequest describeResourcePolicyRequest)

      Gets the resource policy and policy revision for a bot or bot alias.

      Parameters:
      describeResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the DescribeResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeResourcePolicy

      default CompletableFuture<DescribeResourcePolicyResponse> describeResourcePolicy(Consumer<DescribeResourcePolicyRequest.Builder> describeResourcePolicyRequest)

      Gets the resource policy and policy revision for a bot or bot alias.


      This is a convenience which creates an instance of the DescribeResourcePolicyRequest.Builder avoiding the need to create one manually via DescribeResourcePolicyRequest.builder()

      Parameters:
      describeResourcePolicyRequest - A Consumer that will call methods on DescribeResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSlot

      default CompletableFuture<DescribeSlotResponse> describeSlot(DescribeSlotRequest describeSlotRequest)

      Gets metadata information about a slot.

      Parameters:
      describeSlotRequest -
      Returns:
      A Java Future containing the result of the DescribeSlot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSlot

      default CompletableFuture<DescribeSlotResponse> describeSlot(Consumer<DescribeSlotRequest.Builder> describeSlotRequest)

      Gets metadata information about a slot.


      This is a convenience which creates an instance of the DescribeSlotRequest.Builder avoiding the need to create one manually via DescribeSlotRequest.builder()

      Parameters:
      describeSlotRequest - A Consumer that will call methods on DescribeSlotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeSlot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSlotType

      default CompletableFuture<DescribeSlotTypeResponse> describeSlotType(DescribeSlotTypeRequest describeSlotTypeRequest)

      Gets metadata information about a slot type.

      Parameters:
      describeSlotTypeRequest -
      Returns:
      A Java Future containing the result of the DescribeSlotType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeSlotType

      default CompletableFuture<DescribeSlotTypeResponse> describeSlotType(Consumer<DescribeSlotTypeRequest.Builder> describeSlotTypeRequest)

      Gets metadata information about a slot type.


      This is a convenience which creates an instance of the DescribeSlotTypeRequest.Builder avoiding the need to create one manually via DescribeSlotTypeRequest.builder()

      Parameters:
      describeSlotTypeRequest - A Consumer that will call methods on DescribeSlotTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeSlotType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTestExecution

      default CompletableFuture<DescribeTestExecutionResponse> describeTestExecution(DescribeTestExecutionRequest describeTestExecutionRequest)

      Gets metadata information about the test execution.

      Parameters:
      describeTestExecutionRequest -
      Returns:
      A Java Future containing the result of the DescribeTestExecution operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTestExecution

      default CompletableFuture<DescribeTestExecutionResponse> describeTestExecution(Consumer<DescribeTestExecutionRequest.Builder> describeTestExecutionRequest)

      Gets metadata information about the test execution.


      This is a convenience which creates an instance of the DescribeTestExecutionRequest.Builder avoiding the need to create one manually via DescribeTestExecutionRequest.builder()

      Parameters:
      describeTestExecutionRequest - A Consumer that will call methods on DescribeTestExecutionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTestExecution operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTestSet

      default CompletableFuture<DescribeTestSetResponse> describeTestSet(DescribeTestSetRequest describeTestSetRequest)

      Gets metadata information about the test set.

      Parameters:
      describeTestSetRequest -
      Returns:
      A Java Future containing the result of the DescribeTestSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTestSet

      default CompletableFuture<DescribeTestSetResponse> describeTestSet(Consumer<DescribeTestSetRequest.Builder> describeTestSetRequest)

      Gets metadata information about the test set.


      This is a convenience which creates an instance of the DescribeTestSetRequest.Builder avoiding the need to create one manually via DescribeTestSetRequest.builder()

      Parameters:
      describeTestSetRequest - A Consumer that will call methods on DescribeTestSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTestSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTestSetDiscrepancyReport

      default CompletableFuture<DescribeTestSetDiscrepancyReportResponse> describeTestSetDiscrepancyReport(DescribeTestSetDiscrepancyReportRequest describeTestSetDiscrepancyReportRequest)

      Gets metadata information about the test set discrepancy report.

      Parameters:
      describeTestSetDiscrepancyReportRequest -
      Returns:
      A Java Future containing the result of the DescribeTestSetDiscrepancyReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTestSetDiscrepancyReport

      default CompletableFuture<DescribeTestSetDiscrepancyReportResponse> describeTestSetDiscrepancyReport(Consumer<DescribeTestSetDiscrepancyReportRequest.Builder> describeTestSetDiscrepancyReportRequest)

      Gets metadata information about the test set discrepancy report.


      This is a convenience which creates an instance of the DescribeTestSetDiscrepancyReportRequest.Builder avoiding the need to create one manually via DescribeTestSetDiscrepancyReportRequest.builder()

      Parameters:
      describeTestSetDiscrepancyReportRequest - A Consumer that will call methods on DescribeTestSetDiscrepancyReportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTestSetDiscrepancyReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTestSetGeneration

      default CompletableFuture<DescribeTestSetGenerationResponse> describeTestSetGeneration(DescribeTestSetGenerationRequest describeTestSetGenerationRequest)

      Gets metadata information about the test set generation.

      Parameters:
      describeTestSetGenerationRequest -
      Returns:
      A Java Future containing the result of the DescribeTestSetGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • describeTestSetGeneration

      default CompletableFuture<DescribeTestSetGenerationResponse> describeTestSetGeneration(Consumer<DescribeTestSetGenerationRequest.Builder> describeTestSetGenerationRequest)

      Gets metadata information about the test set generation.


      This is a convenience which creates an instance of the DescribeTestSetGenerationRequest.Builder avoiding the need to create one manually via DescribeTestSetGenerationRequest.builder()

      Parameters:
      describeTestSetGenerationRequest - A Consumer that will call methods on DescribeTestSetGenerationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DescribeTestSetGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • generateBotElement

      default CompletableFuture<GenerateBotElementResponse> generateBotElement(GenerateBotElementRequest generateBotElementRequest)

      Generates sample utterances for an intent.

      Parameters:
      generateBotElementRequest -
      Returns:
      A Java Future containing the result of the GenerateBotElement operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • generateBotElement

      default CompletableFuture<GenerateBotElementResponse> generateBotElement(Consumer<GenerateBotElementRequest.Builder> generateBotElementRequest)

      Generates sample utterances for an intent.


      This is a convenience which creates an instance of the GenerateBotElementRequest.Builder avoiding the need to create one manually via GenerateBotElementRequest.builder()

      Parameters:
      generateBotElementRequest - A Consumer that will call methods on GenerateBotElementRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GenerateBotElement operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTestExecutionArtifactsUrl

      default CompletableFuture<GetTestExecutionArtifactsUrlResponse> getTestExecutionArtifactsUrl(GetTestExecutionArtifactsUrlRequest getTestExecutionArtifactsUrlRequest)

      The pre-signed Amazon S3 URL to download the test execution result artifacts.

      Parameters:
      getTestExecutionArtifactsUrlRequest -
      Returns:
      A Java Future containing the result of the GetTestExecutionArtifactsUrl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTestExecutionArtifactsUrl

      default CompletableFuture<GetTestExecutionArtifactsUrlResponse> getTestExecutionArtifactsUrl(Consumer<GetTestExecutionArtifactsUrlRequest.Builder> getTestExecutionArtifactsUrlRequest)

      The pre-signed Amazon S3 URL to download the test execution result artifacts.


      This is a convenience which creates an instance of the GetTestExecutionArtifactsUrlRequest.Builder avoiding the need to create one manually via GetTestExecutionArtifactsUrlRequest.builder()

      Parameters:
      getTestExecutionArtifactsUrlRequest - A Consumer that will call methods on GetTestExecutionArtifactsUrlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTestExecutionArtifactsUrl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAggregatedUtterances

      default CompletableFuture<ListAggregatedUtterancesResponse> listAggregatedUtterances(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest)

      Provides a list of utterances that users have sent to the bot.

      Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase "I want to order pizza" are aggregated into the same line in the response.

      You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent.

      Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time.

      Utterances statistics are not generated under the following conditions:

      • The childDirected field was set to true when the bot was created.

      • You are using slot obfuscation with one or more slots.

      • You opted out of participating in improving Amazon Lex.

      Parameters:
      listAggregatedUtterancesRequest -
      Returns:
      A Java Future containing the result of the ListAggregatedUtterances operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAggregatedUtterances

      default CompletableFuture<ListAggregatedUtterancesResponse> listAggregatedUtterances(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest)

      Provides a list of utterances that users have sent to the bot.

      Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase "I want to order pizza" are aggregated into the same line in the response.

      You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent.

      Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time.

      Utterances statistics are not generated under the following conditions:

      • The childDirected field was set to true when the bot was created.

      • You are using slot obfuscation with one or more slots.

      • You opted out of participating in improving Amazon Lex.


      This is a convenience which creates an instance of the ListAggregatedUtterancesRequest.Builder avoiding the need to create one manually via ListAggregatedUtterancesRequest.builder()

      Parameters:
      listAggregatedUtterancesRequest - A Consumer that will call methods on ListAggregatedUtterancesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAggregatedUtterances operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAggregatedUtterancesPaginator

      default ListAggregatedUtterancesPublisher listAggregatedUtterancesPaginator(ListAggregatedUtterancesRequest listAggregatedUtterancesRequest)

      This is a variant of listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesPublisher publisher = client.listAggregatedUtterancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesPublisher publisher = client.listAggregatedUtterancesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest) operation.

      Parameters:
      listAggregatedUtterancesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAggregatedUtterancesPaginator

      default ListAggregatedUtterancesPublisher listAggregatedUtterancesPaginator(Consumer<ListAggregatedUtterancesRequest.Builder> listAggregatedUtterancesRequest)

      This is a variant of listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesPublisher publisher = client.listAggregatedUtterancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListAggregatedUtterancesPublisher publisher = client.listAggregatedUtterancesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listAggregatedUtterances(software.amazon.awssdk.services.lexmodelsv2.model.ListAggregatedUtterancesRequest) operation.


      This is a convenience which creates an instance of the ListAggregatedUtterancesRequest.Builder avoiding the need to create one manually via ListAggregatedUtterancesRequest.builder()

      Parameters:
      listAggregatedUtterancesRequest - A Consumer that will call methods on ListAggregatedUtterancesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotAliasReplicas

      default CompletableFuture<ListBotAliasReplicasResponse> listBotAliasReplicas(ListBotAliasReplicasRequest listBotAliasReplicasRequest)

      The action to list the replicated bots created from the source bot alias.

      Parameters:
      listBotAliasReplicasRequest -
      Returns:
      A Java Future containing the result of the ListBotAliasReplicas operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotAliasReplicas

      default CompletableFuture<ListBotAliasReplicasResponse> listBotAliasReplicas(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest)

      The action to list the replicated bots created from the source bot alias.


      This is a convenience which creates an instance of the ListBotAliasReplicasRequest.Builder avoiding the need to create one manually via ListBotAliasReplicasRequest.builder()

      Parameters:
      listBotAliasReplicasRequest - A Consumer that will call methods on ListBotAliasReplicasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBotAliasReplicas operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotAliasReplicasPaginator

      default ListBotAliasReplicasPublisher listBotAliasReplicasPaginator(ListBotAliasReplicasRequest listBotAliasReplicasRequest)

      This is a variant of listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasPublisher publisher = client.listBotAliasReplicasPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasPublisher publisher = client.listBotAliasReplicasPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest) operation.

      Parameters:
      listBotAliasReplicasRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotAliasReplicasPaginator

      default ListBotAliasReplicasPublisher listBotAliasReplicasPaginator(Consumer<ListBotAliasReplicasRequest.Builder> listBotAliasReplicasRequest)

      This is a variant of listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasPublisher publisher = client.listBotAliasReplicasPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasReplicasPublisher publisher = client.listBotAliasReplicasPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotAliasReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasReplicasRequest) operation.


      This is a convenience which creates an instance of the ListBotAliasReplicasRequest.Builder avoiding the need to create one manually via ListBotAliasReplicasRequest.builder()

      Parameters:
      listBotAliasReplicasRequest - A Consumer that will call methods on ListBotAliasReplicasRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotAliases

      default CompletableFuture<ListBotAliasesResponse> listBotAliases(ListBotAliasesRequest listBotAliasesRequest)

      Gets a list of aliases for the specified bot.

      Parameters:
      listBotAliasesRequest -
      Returns:
      A Java Future containing the result of the ListBotAliases operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotAliases

      default CompletableFuture<ListBotAliasesResponse> listBotAliases(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest)

      Gets a list of aliases for the specified bot.


      This is a convenience which creates an instance of the ListBotAliasesRequest.Builder avoiding the need to create one manually via ListBotAliasesRequest.builder()

      Parameters:
      listBotAliasesRequest - A Consumer that will call methods on ListBotAliasesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBotAliases operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotAliasesPaginator

      default ListBotAliasesPublisher listBotAliasesPaginator(ListBotAliasesRequest listBotAliasesRequest)

      This is a variant of listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesPublisher publisher = client.listBotAliasesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesPublisher publisher = client.listBotAliasesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest) operation.

      Parameters:
      listBotAliasesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotAliasesPaginator

      default ListBotAliasesPublisher listBotAliasesPaginator(Consumer<ListBotAliasesRequest.Builder> listBotAliasesRequest)

      This is a variant of listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesPublisher publisher = client.listBotAliasesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotAliasesPublisher publisher = client.listBotAliasesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotAliases(software.amazon.awssdk.services.lexmodelsv2.model.ListBotAliasesRequest) operation.


      This is a convenience which creates an instance of the ListBotAliasesRequest.Builder avoiding the need to create one manually via ListBotAliasesRequest.builder()

      Parameters:
      listBotAliasesRequest - A Consumer that will call methods on ListBotAliasesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotLocales

      default CompletableFuture<ListBotLocalesResponse> listBotLocales(ListBotLocalesRequest listBotLocalesRequest)

      Gets a list of locales for the specified bot.

      Parameters:
      listBotLocalesRequest -
      Returns:
      A Java Future containing the result of the ListBotLocales operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotLocales

      default CompletableFuture<ListBotLocalesResponse> listBotLocales(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest)

      Gets a list of locales for the specified bot.


      This is a convenience which creates an instance of the ListBotLocalesRequest.Builder avoiding the need to create one manually via ListBotLocalesRequest.builder()

      Parameters:
      listBotLocalesRequest - A Consumer that will call methods on ListBotLocalesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBotLocales operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotLocalesPaginator

      default ListBotLocalesPublisher listBotLocalesPaginator(ListBotLocalesRequest listBotLocalesRequest)

      This is a variant of listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesPublisher publisher = client.listBotLocalesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesPublisher publisher = client.listBotLocalesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest) operation.

      Parameters:
      listBotLocalesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotLocalesPaginator

      default ListBotLocalesPublisher listBotLocalesPaginator(Consumer<ListBotLocalesRequest.Builder> listBotLocalesRequest)

      This is a variant of listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesPublisher publisher = client.listBotLocalesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotLocalesPublisher publisher = client.listBotLocalesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotLocales(software.amazon.awssdk.services.lexmodelsv2.model.ListBotLocalesRequest) operation.


      This is a convenience which creates an instance of the ListBotLocalesRequest.Builder avoiding the need to create one manually via ListBotLocalesRequest.builder()

      Parameters:
      listBotLocalesRequest - A Consumer that will call methods on ListBotLocalesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotRecommendations

      default CompletableFuture<ListBotRecommendationsResponse> listBotRecommendations(ListBotRecommendationsRequest listBotRecommendationsRequest)

      Get a list of bot recommendations that meet the specified criteria.

      Parameters:
      listBotRecommendationsRequest -
      Returns:
      A Java Future containing the result of the ListBotRecommendations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotRecommendations

      default CompletableFuture<ListBotRecommendationsResponse> listBotRecommendations(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest)

      Get a list of bot recommendations that meet the specified criteria.


      This is a convenience which creates an instance of the ListBotRecommendationsRequest.Builder avoiding the need to create one manually via ListBotRecommendationsRequest.builder()

      Parameters:
      listBotRecommendationsRequest - A Consumer that will call methods on ListBotRecommendationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBotRecommendations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotRecommendationsPaginator

      default ListBotRecommendationsPublisher listBotRecommendationsPaginator(ListBotRecommendationsRequest listBotRecommendationsRequest)

      This is a variant of listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsPublisher publisher = client.listBotRecommendationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsPublisher publisher = client.listBotRecommendationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest) operation.

      Parameters:
      listBotRecommendationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotRecommendationsPaginator

      default ListBotRecommendationsPublisher listBotRecommendationsPaginator(Consumer<ListBotRecommendationsRequest.Builder> listBotRecommendationsRequest)

      This is a variant of listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsPublisher publisher = client.listBotRecommendationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotRecommendationsPublisher publisher = client.listBotRecommendationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotRecommendations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotRecommendationsRequest) operation.


      This is a convenience which creates an instance of the ListBotRecommendationsRequest.Builder avoiding the need to create one manually via ListBotRecommendationsRequest.builder()

      Parameters:
      listBotRecommendationsRequest - A Consumer that will call methods on ListBotRecommendationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotReplicas

      default CompletableFuture<ListBotReplicasResponse> listBotReplicas(ListBotReplicasRequest listBotReplicasRequest)

      The action to list the replicated bots.

      Parameters:
      listBotReplicasRequest -
      Returns:
      A Java Future containing the result of the ListBotReplicas operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotReplicas

      default CompletableFuture<ListBotReplicasResponse> listBotReplicas(Consumer<ListBotReplicasRequest.Builder> listBotReplicasRequest)

      The action to list the replicated bots.


      This is a convenience which creates an instance of the ListBotReplicasRequest.Builder avoiding the need to create one manually via ListBotReplicasRequest.builder()

      Parameters:
      listBotReplicasRequest - A Consumer that will call methods on ListBotReplicasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBotReplicas operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotResourceGenerations

      default CompletableFuture<ListBotResourceGenerationsResponse> listBotResourceGenerations(ListBotResourceGenerationsRequest listBotResourceGenerationsRequest)

      Lists the generation requests made for a bot locale.

      Parameters:
      listBotResourceGenerationsRequest -
      Returns:
      A Java Future containing the result of the ListBotResourceGenerations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotResourceGenerations

      default CompletableFuture<ListBotResourceGenerationsResponse> listBotResourceGenerations(Consumer<ListBotResourceGenerationsRequest.Builder> listBotResourceGenerationsRequest)

      Lists the generation requests made for a bot locale.


      This is a convenience which creates an instance of the ListBotResourceGenerationsRequest.Builder avoiding the need to create one manually via ListBotResourceGenerationsRequest.builder()

      Parameters:
      listBotResourceGenerationsRequest - A Consumer that will call methods on ListBotResourceGenerationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBotResourceGenerations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotResourceGenerationsPaginator

      default ListBotResourceGenerationsPublisher listBotResourceGenerationsPaginator(ListBotResourceGenerationsRequest listBotResourceGenerationsRequest)

      This is a variant of listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsPublisher publisher = client.listBotResourceGenerationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsPublisher publisher = client.listBotResourceGenerationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest) operation.

      Parameters:
      listBotResourceGenerationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotResourceGenerationsPaginator

      default ListBotResourceGenerationsPublisher listBotResourceGenerationsPaginator(Consumer<ListBotResourceGenerationsRequest.Builder> listBotResourceGenerationsRequest)

      This is a variant of listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsPublisher publisher = client.listBotResourceGenerationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotResourceGenerationsPublisher publisher = client.listBotResourceGenerationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotResourceGenerations(software.amazon.awssdk.services.lexmodelsv2.model.ListBotResourceGenerationsRequest) operation.


      This is a convenience which creates an instance of the ListBotResourceGenerationsRequest.Builder avoiding the need to create one manually via ListBotResourceGenerationsRequest.builder()

      Parameters:
      listBotResourceGenerationsRequest - A Consumer that will call methods on ListBotResourceGenerationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotVersionReplicas

      default CompletableFuture<ListBotVersionReplicasResponse> listBotVersionReplicas(ListBotVersionReplicasRequest listBotVersionReplicasRequest)

      Contains information about all the versions replication statuses applicable for Global Resiliency.

      Parameters:
      listBotVersionReplicasRequest -
      Returns:
      A Java Future containing the result of the ListBotVersionReplicas operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotVersionReplicas

      default CompletableFuture<ListBotVersionReplicasResponse> listBotVersionReplicas(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest)

      Contains information about all the versions replication statuses applicable for Global Resiliency.


      This is a convenience which creates an instance of the ListBotVersionReplicasRequest.Builder avoiding the need to create one manually via ListBotVersionReplicasRequest.builder()

      Parameters:
      listBotVersionReplicasRequest - A Consumer that will call methods on ListBotVersionReplicasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBotVersionReplicas operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotVersionReplicasPaginator

      default ListBotVersionReplicasPublisher listBotVersionReplicasPaginator(ListBotVersionReplicasRequest listBotVersionReplicasRequest)

      This is a variant of listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasPublisher publisher = client.listBotVersionReplicasPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasPublisher publisher = client.listBotVersionReplicasPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest) operation.

      Parameters:
      listBotVersionReplicasRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotVersionReplicasPaginator

      default ListBotVersionReplicasPublisher listBotVersionReplicasPaginator(Consumer<ListBotVersionReplicasRequest.Builder> listBotVersionReplicasRequest)

      This is a variant of listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasPublisher publisher = client.listBotVersionReplicasPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionReplicasPublisher publisher = client.listBotVersionReplicasPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotVersionReplicas(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionReplicasRequest) operation.


      This is a convenience which creates an instance of the ListBotVersionReplicasRequest.Builder avoiding the need to create one manually via ListBotVersionReplicasRequest.builder()

      Parameters:
      listBotVersionReplicasRequest - A Consumer that will call methods on ListBotVersionReplicasRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotVersions

      default CompletableFuture<ListBotVersionsResponse> listBotVersions(ListBotVersionsRequest listBotVersionsRequest)

      Gets information about all of the versions of a bot.

      The ListBotVersions operation returns a summary of each version of a bot. For example, if a bot has three numbered versions, the ListBotVersions operation returns for summaries, one for each numbered version and one for the DRAFT version.

      The ListBotVersions operation always returns at least one version, the DRAFT version.

      Parameters:
      listBotVersionsRequest -
      Returns:
      A Java Future containing the result of the ListBotVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotVersions

      default CompletableFuture<ListBotVersionsResponse> listBotVersions(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest)

      Gets information about all of the versions of a bot.

      The ListBotVersions operation returns a summary of each version of a bot. For example, if a bot has three numbered versions, the ListBotVersions operation returns for summaries, one for each numbered version and one for the DRAFT version.

      The ListBotVersions operation always returns at least one version, the DRAFT version.


      This is a convenience which creates an instance of the ListBotVersionsRequest.Builder avoiding the need to create one manually via ListBotVersionsRequest.builder()

      Parameters:
      listBotVersionsRequest - A Consumer that will call methods on ListBotVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBotVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotVersionsPaginator

      default ListBotVersionsPublisher listBotVersionsPaginator(ListBotVersionsRequest listBotVersionsRequest)

      This is a variant of listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsPublisher publisher = client.listBotVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsPublisher publisher = client.listBotVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest) operation.

      Parameters:
      listBotVersionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotVersionsPaginator

      default ListBotVersionsPublisher listBotVersionsPaginator(Consumer<ListBotVersionsRequest.Builder> listBotVersionsRequest)

      This is a variant of listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsPublisher publisher = client.listBotVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotVersionsPublisher publisher = client.listBotVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBotVersions(software.amazon.awssdk.services.lexmodelsv2.model.ListBotVersionsRequest) operation.


      This is a convenience which creates an instance of the ListBotVersionsRequest.Builder avoiding the need to create one manually via ListBotVersionsRequest.builder()

      Parameters:
      listBotVersionsRequest - A Consumer that will call methods on ListBotVersionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBots

      default CompletableFuture<ListBotsResponse> listBots(ListBotsRequest listBotsRequest)

      Gets a list of available bots.

      Parameters:
      listBotsRequest -
      Returns:
      A Java Future containing the result of the ListBots operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBots

      Gets a list of available bots.


      This is a convenience which creates an instance of the ListBotsRequest.Builder avoiding the need to create one manually via ListBotsRequest.builder()

      Parameters:
      listBotsRequest - A Consumer that will call methods on ListBotsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBots operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotsPaginator

      default ListBotsPublisher listBotsPaginator(ListBotsRequest listBotsRequest)

      This is a variant of listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest) operation.

      Parameters:
      listBotsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBotsPaginator

      default ListBotsPublisher listBotsPaginator(Consumer<ListBotsRequest.Builder> listBotsRequest)

      This is a variant of listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBotsPublisher publisher = client.listBotsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBots(software.amazon.awssdk.services.lexmodelsv2.model.ListBotsRequest) operation.


      This is a convenience which creates an instance of the ListBotsRequest.Builder avoiding the need to create one manually via ListBotsRequest.builder()

      Parameters:
      listBotsRequest - A Consumer that will call methods on ListBotsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBuiltInIntents

      default CompletableFuture<ListBuiltInIntentsResponse> listBuiltInIntents(ListBuiltInIntentsRequest listBuiltInIntentsRequest)

      Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.

      To use a built-in intent as a the base for your own intent, include the built-in intent signature in the parentIntentSignature parameter when you call the CreateIntent operation. For more information, see CreateIntent.

      Parameters:
      listBuiltInIntentsRequest -
      Returns:
      A Java Future containing the result of the ListBuiltInIntents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBuiltInIntents

      default CompletableFuture<ListBuiltInIntentsResponse> listBuiltInIntents(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest)

      Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.

      To use a built-in intent as a the base for your own intent, include the built-in intent signature in the parentIntentSignature parameter when you call the CreateIntent operation. For more information, see CreateIntent.


      This is a convenience which creates an instance of the ListBuiltInIntentsRequest.Builder avoiding the need to create one manually via ListBuiltInIntentsRequest.builder()

      Parameters:
      listBuiltInIntentsRequest - A Consumer that will call methods on ListBuiltInIntentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBuiltInIntents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBuiltInIntentsPaginator

      default ListBuiltInIntentsPublisher listBuiltInIntentsPaginator(ListBuiltInIntentsRequest listBuiltInIntentsRequest)

      This is a variant of listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsPublisher publisher = client.listBuiltInIntentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsPublisher publisher = client.listBuiltInIntentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest) operation.

      Parameters:
      listBuiltInIntentsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBuiltInIntentsPaginator

      default ListBuiltInIntentsPublisher listBuiltInIntentsPaginator(Consumer<ListBuiltInIntentsRequest.Builder> listBuiltInIntentsRequest)

      This is a variant of listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsPublisher publisher = client.listBuiltInIntentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInIntentsPublisher publisher = client.listBuiltInIntentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBuiltInIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInIntentsRequest) operation.


      This is a convenience which creates an instance of the ListBuiltInIntentsRequest.Builder avoiding the need to create one manually via ListBuiltInIntentsRequest.builder()

      Parameters:
      listBuiltInIntentsRequest - A Consumer that will call methods on ListBuiltInIntentsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBuiltInSlotTypes

      default CompletableFuture<ListBuiltInSlotTypesResponse> listBuiltInSlotTypes(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest)

      Gets a list of built-in slot types that meet the specified criteria.

      Parameters:
      listBuiltInSlotTypesRequest -
      Returns:
      A Java Future containing the result of the ListBuiltInSlotTypes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBuiltInSlotTypes

      default CompletableFuture<ListBuiltInSlotTypesResponse> listBuiltInSlotTypes(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest)

      Gets a list of built-in slot types that meet the specified criteria.


      This is a convenience which creates an instance of the ListBuiltInSlotTypesRequest.Builder avoiding the need to create one manually via ListBuiltInSlotTypesRequest.builder()

      Parameters:
      listBuiltInSlotTypesRequest - A Consumer that will call methods on ListBuiltInSlotTypesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListBuiltInSlotTypes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBuiltInSlotTypesPaginator

      default ListBuiltInSlotTypesPublisher listBuiltInSlotTypesPaginator(ListBuiltInSlotTypesRequest listBuiltInSlotTypesRequest)

      This is a variant of listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesPublisher publisher = client.listBuiltInSlotTypesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesPublisher publisher = client.listBuiltInSlotTypesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest) operation.

      Parameters:
      listBuiltInSlotTypesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listBuiltInSlotTypesPaginator

      default ListBuiltInSlotTypesPublisher listBuiltInSlotTypesPaginator(Consumer<ListBuiltInSlotTypesRequest.Builder> listBuiltInSlotTypesRequest)

      This is a variant of listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesPublisher publisher = client.listBuiltInSlotTypesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListBuiltInSlotTypesPublisher publisher = client.listBuiltInSlotTypesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listBuiltInSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListBuiltInSlotTypesRequest) operation.


      This is a convenience which creates an instance of the ListBuiltInSlotTypesRequest.Builder avoiding the need to create one manually via ListBuiltInSlotTypesRequest.builder()

      Parameters:
      listBuiltInSlotTypesRequest - A Consumer that will call methods on ListBuiltInSlotTypesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomVocabularyItems

      default CompletableFuture<ListCustomVocabularyItemsResponse> listCustomVocabularyItems(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest)

      Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.

      Parameters:
      listCustomVocabularyItemsRequest -
      Returns:
      A Java Future containing the result of the ListCustomVocabularyItems operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomVocabularyItems

      default CompletableFuture<ListCustomVocabularyItemsResponse> listCustomVocabularyItems(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest)

      Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.


      This is a convenience which creates an instance of the ListCustomVocabularyItemsRequest.Builder avoiding the need to create one manually via ListCustomVocabularyItemsRequest.builder()

      Parameters:
      listCustomVocabularyItemsRequest - A Consumer that will call methods on ListCustomVocabularyItemsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCustomVocabularyItems operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomVocabularyItemsPaginator

      default ListCustomVocabularyItemsPublisher listCustomVocabularyItemsPaginator(ListCustomVocabularyItemsRequest listCustomVocabularyItemsRequest)

      This is a variant of listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsPublisher publisher = client.listCustomVocabularyItemsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsPublisher publisher = client.listCustomVocabularyItemsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest) operation.

      Parameters:
      listCustomVocabularyItemsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCustomVocabularyItemsPaginator

      default ListCustomVocabularyItemsPublisher listCustomVocabularyItemsPaginator(Consumer<ListCustomVocabularyItemsRequest.Builder> listCustomVocabularyItemsRequest)

      This is a variant of listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsPublisher publisher = client.listCustomVocabularyItemsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListCustomVocabularyItemsPublisher publisher = client.listCustomVocabularyItemsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listCustomVocabularyItems(software.amazon.awssdk.services.lexmodelsv2.model.ListCustomVocabularyItemsRequest) operation.


      This is a convenience which creates an instance of the ListCustomVocabularyItemsRequest.Builder avoiding the need to create one manually via ListCustomVocabularyItemsRequest.builder()

      Parameters:
      listCustomVocabularyItemsRequest - A Consumer that will call methods on ListCustomVocabularyItemsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExports

      default CompletableFuture<ListExportsResponse> listExports(ListExportsRequest listExportsRequest)

      Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.

      Parameters:
      listExportsRequest -
      Returns:
      A Java Future containing the result of the ListExports operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExports

      default CompletableFuture<ListExportsResponse> listExports(Consumer<ListExportsRequest.Builder> listExportsRequest)

      Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.


      This is a convenience which creates an instance of the ListExportsRequest.Builder avoiding the need to create one manually via ListExportsRequest.builder()

      Parameters:
      listExportsRequest - A Consumer that will call methods on ListExportsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListExports operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExportsPaginator

      default ListExportsPublisher listExportsPaginator(ListExportsRequest listExportsRequest)

      This is a variant of listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest) operation.

      Parameters:
      listExportsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExportsPaginator

      default ListExportsPublisher listExportsPaginator(Consumer<ListExportsRequest.Builder> listExportsRequest)

      This is a variant of listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListExportsPublisher publisher = client.listExportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listExports(software.amazon.awssdk.services.lexmodelsv2.model.ListExportsRequest) operation.


      This is a convenience which creates an instance of the ListExportsRequest.Builder avoiding the need to create one manually via ListExportsRequest.builder()

      Parameters:
      listExportsRequest - A Consumer that will call methods on ListExportsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listImports

      default CompletableFuture<ListImportsResponse> listImports(ListImportsRequest listImportsRequest)

      Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.

      Parameters:
      listImportsRequest -
      Returns:
      A Java Future containing the result of the ListImports operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listImports

      default CompletableFuture<ListImportsResponse> listImports(Consumer<ListImportsRequest.Builder> listImportsRequest)

      Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.


      This is a convenience which creates an instance of the ListImportsRequest.Builder avoiding the need to create one manually via ListImportsRequest.builder()

      Parameters:
      listImportsRequest - A Consumer that will call methods on ListImportsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListImports operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listImportsPaginator

      default ListImportsPublisher listImportsPaginator(ListImportsRequest listImportsRequest)

      This is a variant of listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest) operation.

      Parameters:
      listImportsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listImportsPaginator

      default ListImportsPublisher listImportsPaginator(Consumer<ListImportsRequest.Builder> listImportsRequest)

      This is a variant of listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListImportsPublisher publisher = client.listImportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listImports(software.amazon.awssdk.services.lexmodelsv2.model.ListImportsRequest) operation.


      This is a convenience which creates an instance of the ListImportsRequest.Builder avoiding the need to create one manually via ListImportsRequest.builder()

      Parameters:
      listImportsRequest - A Consumer that will call methods on ListImportsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentMetrics

      default CompletableFuture<ListIntentMetricsResponse> listIntentMetrics(ListIntentMetricsRequest listIntentMetricsRequest)

      Retrieves summary metrics for the intents in your bot. The following fields are required:

      • metrics – A list of AnalyticsIntentMetric objects. In each object, use the name field to specify the metric to calculate, the statistic field to specify whether to calculate the Sum, Average, or Max number, and the order field to specify whether to sort the results in Ascending or Descending order.

      • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

      Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results, the groupBy field to specify categories by which to group the results, and the binBy field to specify time intervals by which to group the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.

      Note that an order field exists in both binBy and metrics. You can specify only one order in a given request.

      Parameters:
      listIntentMetricsRequest -
      Returns:
      A Java Future containing the result of the ListIntentMetrics operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentMetrics

      default CompletableFuture<ListIntentMetricsResponse> listIntentMetrics(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest)

      Retrieves summary metrics for the intents in your bot. The following fields are required:

      • metrics – A list of AnalyticsIntentMetric objects. In each object, use the name field to specify the metric to calculate, the statistic field to specify whether to calculate the Sum, Average, or Max number, and the order field to specify whether to sort the results in Ascending or Descending order.

      • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

      Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results, the groupBy field to specify categories by which to group the results, and the binBy field to specify time intervals by which to group the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.

      Note that an order field exists in both binBy and metrics. You can specify only one order in a given request.


      This is a convenience which creates an instance of the ListIntentMetricsRequest.Builder avoiding the need to create one manually via ListIntentMetricsRequest.builder()

      Parameters:
      listIntentMetricsRequest - A Consumer that will call methods on ListIntentMetricsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListIntentMetrics operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentMetricsPaginator

      default ListIntentMetricsPublisher listIntentMetricsPaginator(ListIntentMetricsRequest listIntentMetricsRequest)

      This is a variant of listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsPublisher publisher = client.listIntentMetricsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsPublisher publisher = client.listIntentMetricsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest) operation.

      Parameters:
      listIntentMetricsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentMetricsPaginator

      default ListIntentMetricsPublisher listIntentMetricsPaginator(Consumer<ListIntentMetricsRequest.Builder> listIntentMetricsRequest)

      This is a variant of listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsPublisher publisher = client.listIntentMetricsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentMetricsPublisher publisher = client.listIntentMetricsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listIntentMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentMetricsRequest) operation.


      This is a convenience which creates an instance of the ListIntentMetricsRequest.Builder avoiding the need to create one manually via ListIntentMetricsRequest.builder()

      Parameters:
      listIntentMetricsRequest - A Consumer that will call methods on ListIntentMetricsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentPaths

      default CompletableFuture<ListIntentPathsResponse> listIntentPaths(ListIntentPathsRequest listIntentPathsRequest)

      Retrieves summary statistics for a path of intents that users take over sessions with your bot. The following fields are required:

      • startDateTime and endDateTime – 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 the intentPath field with /BookCar/BookHotel to see details about how many times users invoked the BookCar and BookHotel intents in that order.

      Use the optional filters field to filter the results.

      Parameters:
      listIntentPathsRequest -
      Returns:
      A Java Future containing the result of the ListIntentPaths operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentPaths

      default CompletableFuture<ListIntentPathsResponse> listIntentPaths(Consumer<ListIntentPathsRequest.Builder> listIntentPathsRequest)

      Retrieves summary statistics for a path of intents that users take over sessions with your bot. The following fields are required:

      • startDateTime and endDateTime – 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 the intentPath field with /BookCar/BookHotel to see details about how many times users invoked the BookCar and BookHotel intents in that order.

      Use the optional filters field to filter the results.


      This is a convenience which creates an instance of the ListIntentPathsRequest.Builder avoiding the need to create one manually via ListIntentPathsRequest.builder()

      Parameters:
      listIntentPathsRequest - A Consumer that will call methods on ListIntentPathsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListIntentPaths operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentStageMetrics

      default CompletableFuture<ListIntentStageMetricsResponse> listIntentStageMetrics(ListIntentStageMetricsRequest listIntentStageMetricsRequest)

      Retrieves summary metrics for the stages within intents in your bot. The following fields are required:

      • metrics – A list of AnalyticsIntentStageMetric objects. In each object, use the name field to specify the metric to calculate, the statistic field to specify whether to calculate the Sum, Average, or Max number, and the order field to specify whether to sort the results in Ascending or Descending order.

      • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

      Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results, the groupBy field to specify categories by which to group the results, and the binBy field to specify time intervals by which to group the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.

      Note that an order field exists in both binBy and metrics. You can only specify one order in a given request.

      Parameters:
      listIntentStageMetricsRequest -
      Returns:
      A Java Future containing the result of the ListIntentStageMetrics operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentStageMetrics

      default CompletableFuture<ListIntentStageMetricsResponse> listIntentStageMetrics(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest)

      Retrieves summary metrics for the stages within intents in your bot. The following fields are required:

      • metrics – A list of AnalyticsIntentStageMetric objects. In each object, use the name field to specify the metric to calculate, the statistic field to specify whether to calculate the Sum, Average, or Max number, and the order field to specify whether to sort the results in Ascending or Descending order.

      • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

      Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results, the groupBy field to specify categories by which to group the results, and the binBy field to specify time intervals by which to group the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.

      Note that an order field exists in both binBy and metrics. You can only specify one order in a given request.


      This is a convenience which creates an instance of the ListIntentStageMetricsRequest.Builder avoiding the need to create one manually via ListIntentStageMetricsRequest.builder()

      Parameters:
      listIntentStageMetricsRequest - A Consumer that will call methods on ListIntentStageMetricsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListIntentStageMetrics operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentStageMetricsPaginator

      default ListIntentStageMetricsPublisher listIntentStageMetricsPaginator(ListIntentStageMetricsRequest listIntentStageMetricsRequest)

      This is a variant of listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsPublisher publisher = client.listIntentStageMetricsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsPublisher publisher = client.listIntentStageMetricsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest) operation.

      Parameters:
      listIntentStageMetricsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentStageMetricsPaginator

      default ListIntentStageMetricsPublisher listIntentStageMetricsPaginator(Consumer<ListIntentStageMetricsRequest.Builder> listIntentStageMetricsRequest)

      This is a variant of listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsPublisher publisher = client.listIntentStageMetricsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentStageMetricsPublisher publisher = client.listIntentStageMetricsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listIntentStageMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentStageMetricsRequest) operation.


      This is a convenience which creates an instance of the ListIntentStageMetricsRequest.Builder avoiding the need to create one manually via ListIntentStageMetricsRequest.builder()

      Parameters:
      listIntentStageMetricsRequest - A Consumer that will call methods on ListIntentStageMetricsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntents

      default CompletableFuture<ListIntentsResponse> listIntents(ListIntentsRequest listIntentsRequest)

      Get a list of intents that meet the specified criteria.

      Parameters:
      listIntentsRequest -
      Returns:
      A Java Future containing the result of the ListIntents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntents

      default CompletableFuture<ListIntentsResponse> listIntents(Consumer<ListIntentsRequest.Builder> listIntentsRequest)

      Get a list of intents that meet the specified criteria.


      This is a convenience which creates an instance of the ListIntentsRequest.Builder avoiding the need to create one manually via ListIntentsRequest.builder()

      Parameters:
      listIntentsRequest - A Consumer that will call methods on ListIntentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListIntents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentsPaginator

      default ListIntentsPublisher listIntentsPaginator(ListIntentsRequest listIntentsRequest)

      This is a variant of listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsPublisher publisher = client.listIntentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsPublisher publisher = client.listIntentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest) operation.

      Parameters:
      listIntentsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listIntentsPaginator

      default ListIntentsPublisher listIntentsPaginator(Consumer<ListIntentsRequest.Builder> listIntentsRequest)

      This is a variant of listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsPublisher publisher = client.listIntentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListIntentsPublisher publisher = client.listIntentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListIntentsRequest) operation.


      This is a convenience which creates an instance of the ListIntentsRequest.Builder avoiding the need to create one manually via ListIntentsRequest.builder()

      Parameters:
      listIntentsRequest - A Consumer that will call methods on ListIntentsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRecommendedIntents

      default CompletableFuture<ListRecommendedIntentsResponse> listRecommendedIntents(ListRecommendedIntentsRequest listRecommendedIntentsRequest)

      Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance.

      Parameters:
      listRecommendedIntentsRequest -
      Returns:
      A Java Future containing the result of the ListRecommendedIntents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRecommendedIntents

      default CompletableFuture<ListRecommendedIntentsResponse> listRecommendedIntents(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest)

      Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance.


      This is a convenience which creates an instance of the ListRecommendedIntentsRequest.Builder avoiding the need to create one manually via ListRecommendedIntentsRequest.builder()

      Parameters:
      listRecommendedIntentsRequest - A Consumer that will call methods on ListRecommendedIntentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRecommendedIntents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRecommendedIntentsPaginator

      default ListRecommendedIntentsPublisher listRecommendedIntentsPaginator(ListRecommendedIntentsRequest listRecommendedIntentsRequest)

      This is a variant of listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsPublisher publisher = client.listRecommendedIntentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsPublisher publisher = client.listRecommendedIntentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest) operation.

      Parameters:
      listRecommendedIntentsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRecommendedIntentsPaginator

      default ListRecommendedIntentsPublisher listRecommendedIntentsPaginator(Consumer<ListRecommendedIntentsRequest.Builder> listRecommendedIntentsRequest)

      This is a variant of listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsPublisher publisher = client.listRecommendedIntentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListRecommendedIntentsPublisher publisher = client.listRecommendedIntentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listRecommendedIntents(software.amazon.awssdk.services.lexmodelsv2.model.ListRecommendedIntentsRequest) operation.


      This is a convenience which creates an instance of the ListRecommendedIntentsRequest.Builder avoiding the need to create one manually via ListRecommendedIntentsRequest.builder()

      Parameters:
      listRecommendedIntentsRequest - A Consumer that will call methods on ListRecommendedIntentsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessionAnalyticsData

      default CompletableFuture<ListSessionAnalyticsDataResponse> listSessionAnalyticsData(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest)

      Retrieves a list of metadata for individual user sessions with your bot. The startDateTime and endDateTime fields are required. These fields define a time range for which you want to retrieve results. Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results and the sortBy field to specify the values by which to sort the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.

      Parameters:
      listSessionAnalyticsDataRequest -
      Returns:
      A Java Future containing the result of the ListSessionAnalyticsData operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessionAnalyticsData

      default CompletableFuture<ListSessionAnalyticsDataResponse> listSessionAnalyticsData(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest)

      Retrieves a list of metadata for individual user sessions with your bot. The startDateTime and endDateTime fields are required. These fields define a time range for which you want to retrieve results. Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results and the sortBy field to specify the values by which to sort the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.


      This is a convenience which creates an instance of the ListSessionAnalyticsDataRequest.Builder avoiding the need to create one manually via ListSessionAnalyticsDataRequest.builder()

      Parameters:
      listSessionAnalyticsDataRequest - A Consumer that will call methods on ListSessionAnalyticsDataRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSessionAnalyticsData operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessionAnalyticsDataPaginator

      default ListSessionAnalyticsDataPublisher listSessionAnalyticsDataPaginator(ListSessionAnalyticsDataRequest listSessionAnalyticsDataRequest)

      This is a variant of listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataPublisher publisher = client.listSessionAnalyticsDataPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataPublisher publisher = client.listSessionAnalyticsDataPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest) operation.

      Parameters:
      listSessionAnalyticsDataRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessionAnalyticsDataPaginator

      default ListSessionAnalyticsDataPublisher listSessionAnalyticsDataPaginator(Consumer<ListSessionAnalyticsDataRequest.Builder> listSessionAnalyticsDataRequest)

      This is a variant of listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataPublisher publisher = client.listSessionAnalyticsDataPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionAnalyticsDataPublisher publisher = client.listSessionAnalyticsDataPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listSessionAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionAnalyticsDataRequest) operation.


      This is a convenience which creates an instance of the ListSessionAnalyticsDataRequest.Builder avoiding the need to create one manually via ListSessionAnalyticsDataRequest.builder()

      Parameters:
      listSessionAnalyticsDataRequest - A Consumer that will call methods on ListSessionAnalyticsDataRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessionMetrics

      default CompletableFuture<ListSessionMetricsResponse> listSessionMetrics(ListSessionMetricsRequest listSessionMetricsRequest)

      Retrieves summary metrics for the user sessions with your bot. The following fields are required:

      • metrics – A list of AnalyticsSessionMetric objects. In each object, use the name field to specify the metric to calculate, the statistic field to specify whether to calculate the Sum, Average, or Max number, and the order field to specify whether to sort the results in Ascending or Descending order.

      • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

      Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results, the groupBy field to specify categories by which to group the results, and the binBy field to specify time intervals by which to group the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.

      Note that an order field exists in both binBy and metrics. Currently, you can specify it in either field, but not in both.

      Parameters:
      listSessionMetricsRequest -
      Returns:
      A Java Future containing the result of the ListSessionMetrics operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessionMetrics

      default CompletableFuture<ListSessionMetricsResponse> listSessionMetrics(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest)

      Retrieves summary metrics for the user sessions with your bot. The following fields are required:

      • metrics – A list of AnalyticsSessionMetric objects. In each object, use the name field to specify the metric to calculate, the statistic field to specify whether to calculate the Sum, Average, or Max number, and the order field to specify whether to sort the results in Ascending or Descending order.

      • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

      Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results, the groupBy field to specify categories by which to group the results, and the binBy field to specify time intervals by which to group the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.

      Note that an order field exists in both binBy and metrics. Currently, you can specify it in either field, but not in both.


      This is a convenience which creates an instance of the ListSessionMetricsRequest.Builder avoiding the need to create one manually via ListSessionMetricsRequest.builder()

      Parameters:
      listSessionMetricsRequest - A Consumer that will call methods on ListSessionMetricsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSessionMetrics operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessionMetricsPaginator

      default ListSessionMetricsPublisher listSessionMetricsPaginator(ListSessionMetricsRequest listSessionMetricsRequest)

      This is a variant of listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsPublisher publisher = client.listSessionMetricsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsPublisher publisher = client.listSessionMetricsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest) operation.

      Parameters:
      listSessionMetricsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessionMetricsPaginator

      default ListSessionMetricsPublisher listSessionMetricsPaginator(Consumer<ListSessionMetricsRequest.Builder> listSessionMetricsRequest)

      This is a variant of listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsPublisher publisher = client.listSessionMetricsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSessionMetricsPublisher publisher = client.listSessionMetricsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listSessionMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListSessionMetricsRequest) operation.


      This is a convenience which creates an instance of the ListSessionMetricsRequest.Builder avoiding the need to create one manually via ListSessionMetricsRequest.builder()

      Parameters:
      listSessionMetricsRequest - A Consumer that will call methods on ListSessionMetricsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSlotTypes

      default CompletableFuture<ListSlotTypesResponse> listSlotTypes(ListSlotTypesRequest listSlotTypesRequest)

      Gets a list of slot types that match the specified criteria.

      Parameters:
      listSlotTypesRequest -
      Returns:
      A Java Future containing the result of the ListSlotTypes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSlotTypes

      default CompletableFuture<ListSlotTypesResponse> listSlotTypes(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest)

      Gets a list of slot types that match the specified criteria.


      This is a convenience which creates an instance of the ListSlotTypesRequest.Builder avoiding the need to create one manually via ListSlotTypesRequest.builder()

      Parameters:
      listSlotTypesRequest - A Consumer that will call methods on ListSlotTypesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSlotTypes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSlotTypesPaginator

      default ListSlotTypesPublisher listSlotTypesPaginator(ListSlotTypesRequest listSlotTypesRequest)

      This is a variant of listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesPublisher publisher = client.listSlotTypesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesPublisher publisher = client.listSlotTypesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest) operation.

      Parameters:
      listSlotTypesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSlotTypesPaginator

      default ListSlotTypesPublisher listSlotTypesPaginator(Consumer<ListSlotTypesRequest.Builder> listSlotTypesRequest)

      This is a variant of listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesPublisher publisher = client.listSlotTypesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotTypesPublisher publisher = client.listSlotTypesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listSlotTypes(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotTypesRequest) operation.


      This is a convenience which creates an instance of the ListSlotTypesRequest.Builder avoiding the need to create one manually via ListSlotTypesRequest.builder()

      Parameters:
      listSlotTypesRequest - A Consumer that will call methods on ListSlotTypesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSlots

      default CompletableFuture<ListSlotsResponse> listSlots(ListSlotsRequest listSlotsRequest)

      Gets a list of slots that match the specified criteria.

      Parameters:
      listSlotsRequest -
      Returns:
      A Java Future containing the result of the ListSlots operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSlots

      default CompletableFuture<ListSlotsResponse> listSlots(Consumer<ListSlotsRequest.Builder> listSlotsRequest)

      Gets a list of slots that match the specified criteria.


      This is a convenience which creates an instance of the ListSlotsRequest.Builder avoiding the need to create one manually via ListSlotsRequest.builder()

      Parameters:
      listSlotsRequest - A Consumer that will call methods on ListSlotsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSlots operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSlotsPaginator

      default ListSlotsPublisher listSlotsPaginator(ListSlotsRequest listSlotsRequest)

      This is a variant of listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsPublisher publisher = client.listSlotsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsPublisher publisher = client.listSlotsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest) operation.

      Parameters:
      listSlotsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSlotsPaginator

      default ListSlotsPublisher listSlotsPaginator(Consumer<ListSlotsRequest.Builder> listSlotsRequest)

      This is a variant of listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsPublisher publisher = client.listSlotsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListSlotsPublisher publisher = client.listSlotsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listSlots(software.amazon.awssdk.services.lexmodelsv2.model.ListSlotsRequest) operation.


      This is a convenience which creates an instance of the ListSlotsRequest.Builder avoiding the need to create one manually via ListSlotsRequest.builder()

      Parameters:
      listSlotsRequest - A Consumer that will call methods on ListSlotsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags associated with them.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestExecutionResultItems

      default CompletableFuture<ListTestExecutionResultItemsResponse> listTestExecutionResultItems(ListTestExecutionResultItemsRequest listTestExecutionResultItemsRequest)

      Gets a list of test execution result items.

      Parameters:
      listTestExecutionResultItemsRequest -
      Returns:
      A Java Future containing the result of the ListTestExecutionResultItems operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestExecutionResultItems

      default CompletableFuture<ListTestExecutionResultItemsResponse> listTestExecutionResultItems(Consumer<ListTestExecutionResultItemsRequest.Builder> listTestExecutionResultItemsRequest)

      Gets a list of test execution result items.


      This is a convenience which creates an instance of the ListTestExecutionResultItemsRequest.Builder avoiding the need to create one manually via ListTestExecutionResultItemsRequest.builder()

      Parameters:
      listTestExecutionResultItemsRequest - A Consumer that will call methods on ListTestExecutionResultItemsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTestExecutionResultItems operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestExecutionResultItemsPaginator

      default ListTestExecutionResultItemsPublisher listTestExecutionResultItemsPaginator(ListTestExecutionResultItemsRequest listTestExecutionResultItemsRequest)

      This is a variant of listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsPublisher publisher = client.listTestExecutionResultItemsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsPublisher publisher = client.listTestExecutionResultItemsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest) operation.

      Parameters:
      listTestExecutionResultItemsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestExecutionResultItemsPaginator

      default ListTestExecutionResultItemsPublisher listTestExecutionResultItemsPaginator(Consumer<ListTestExecutionResultItemsRequest.Builder> listTestExecutionResultItemsRequest)

      This is a variant of listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsPublisher publisher = client.listTestExecutionResultItemsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionResultItemsPublisher publisher = client.listTestExecutionResultItemsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listTestExecutionResultItems(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionResultItemsRequest) operation.


      This is a convenience which creates an instance of the ListTestExecutionResultItemsRequest.Builder avoiding the need to create one manually via ListTestExecutionResultItemsRequest.builder()

      Parameters:
      listTestExecutionResultItemsRequest - A Consumer that will call methods on ListTestExecutionResultItemsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestExecutions

      default CompletableFuture<ListTestExecutionsResponse> listTestExecutions(ListTestExecutionsRequest listTestExecutionsRequest)

      The list of test set executions.

      Parameters:
      listTestExecutionsRequest -
      Returns:
      A Java Future containing the result of the ListTestExecutions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestExecutions

      default CompletableFuture<ListTestExecutionsResponse> listTestExecutions(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest)

      The list of test set executions.


      This is a convenience which creates an instance of the ListTestExecutionsRequest.Builder avoiding the need to create one manually via ListTestExecutionsRequest.builder()

      Parameters:
      listTestExecutionsRequest - A Consumer that will call methods on ListTestExecutionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTestExecutions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestExecutionsPaginator

      default ListTestExecutionsPublisher listTestExecutionsPaginator(ListTestExecutionsRequest listTestExecutionsRequest)

      This is a variant of listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsPublisher publisher = client.listTestExecutionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsPublisher publisher = client.listTestExecutionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest) operation.

      Parameters:
      listTestExecutionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestExecutionsPaginator

      default ListTestExecutionsPublisher listTestExecutionsPaginator(Consumer<ListTestExecutionsRequest.Builder> listTestExecutionsRequest)

      This is a variant of listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsPublisher publisher = client.listTestExecutionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestExecutionsPublisher publisher = client.listTestExecutionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listTestExecutions(software.amazon.awssdk.services.lexmodelsv2.model.ListTestExecutionsRequest) operation.


      This is a convenience which creates an instance of the ListTestExecutionsRequest.Builder avoiding the need to create one manually via ListTestExecutionsRequest.builder()

      Parameters:
      listTestExecutionsRequest - A Consumer that will call methods on ListTestExecutionsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestSetRecords

      default CompletableFuture<ListTestSetRecordsResponse> listTestSetRecords(ListTestSetRecordsRequest listTestSetRecordsRequest)

      The list of test set records.

      Parameters:
      listTestSetRecordsRequest -
      Returns:
      A Java Future containing the result of the ListTestSetRecords operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestSetRecords

      default CompletableFuture<ListTestSetRecordsResponse> listTestSetRecords(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest)

      The list of test set records.


      This is a convenience which creates an instance of the ListTestSetRecordsRequest.Builder avoiding the need to create one manually via ListTestSetRecordsRequest.builder()

      Parameters:
      listTestSetRecordsRequest - A Consumer that will call methods on ListTestSetRecordsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTestSetRecords operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestSetRecordsPaginator

      default ListTestSetRecordsPublisher listTestSetRecordsPaginator(ListTestSetRecordsRequest listTestSetRecordsRequest)

      This is a variant of listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsPublisher publisher = client.listTestSetRecordsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsPublisher publisher = client.listTestSetRecordsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest) operation.

      Parameters:
      listTestSetRecordsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestSetRecordsPaginator

      default ListTestSetRecordsPublisher listTestSetRecordsPaginator(Consumer<ListTestSetRecordsRequest.Builder> listTestSetRecordsRequest)

      This is a variant of listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsPublisher publisher = client.listTestSetRecordsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetRecordsPublisher publisher = client.listTestSetRecordsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listTestSetRecords(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetRecordsRequest) operation.


      This is a convenience which creates an instance of the ListTestSetRecordsRequest.Builder avoiding the need to create one manually via ListTestSetRecordsRequest.builder()

      Parameters:
      listTestSetRecordsRequest - A Consumer that will call methods on ListTestSetRecordsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestSets

      default CompletableFuture<ListTestSetsResponse> listTestSets(ListTestSetsRequest listTestSetsRequest)

      The list of the test sets

      Parameters:
      listTestSetsRequest -
      Returns:
      A Java Future containing the result of the ListTestSets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestSets

      default CompletableFuture<ListTestSetsResponse> listTestSets(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest)

      The list of the test sets


      This is a convenience which creates an instance of the ListTestSetsRequest.Builder avoiding the need to create one manually via ListTestSetsRequest.builder()

      Parameters:
      listTestSetsRequest - A Consumer that will call methods on ListTestSetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTestSets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestSetsPaginator

      default ListTestSetsPublisher listTestSetsPaginator(ListTestSetsRequest listTestSetsRequest)

      This is a variant of listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsPublisher publisher = client.listTestSetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsPublisher publisher = client.listTestSetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest) operation.

      Parameters:
      listTestSetsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTestSetsPaginator

      default ListTestSetsPublisher listTestSetsPaginator(Consumer<ListTestSetsRequest.Builder> listTestSetsRequest)

      This is a variant of listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsPublisher publisher = client.listTestSetsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListTestSetsPublisher publisher = client.listTestSetsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listTestSets(software.amazon.awssdk.services.lexmodelsv2.model.ListTestSetsRequest) operation.


      This is a convenience which creates an instance of the ListTestSetsRequest.Builder avoiding the need to create one manually via ListTestSetsRequest.builder()

      Parameters:
      listTestSetsRequest - A Consumer that will call methods on ListTestSetsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUtteranceAnalyticsData

      default CompletableFuture<ListUtteranceAnalyticsDataResponse> listUtteranceAnalyticsData(ListUtteranceAnalyticsDataRequest listUtteranceAnalyticsDataRequest)

      To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics. See Viewing utterance statistics for the IAM policy to apply to the IAM role.

      Retrieves a list of metadata for individual user utterances to your bot. The following fields are required:

      • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

      Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results and the sortBy field to specify the values by which to sort the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.

      Parameters:
      listUtteranceAnalyticsDataRequest -
      Returns:
      A Java Future containing the result of the ListUtteranceAnalyticsData operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUtteranceAnalyticsData

      default CompletableFuture<ListUtteranceAnalyticsDataResponse> listUtteranceAnalyticsData(Consumer<ListUtteranceAnalyticsDataRequest.Builder> listUtteranceAnalyticsDataRequest)

      To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics. See Viewing utterance statistics for the IAM policy to apply to the IAM role.

      Retrieves a list of metadata for individual user utterances to your bot. The following fields are required:

      • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

      Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results and the sortBy field to specify the values by which to sort the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.


      This is a convenience which creates an instance of the ListUtteranceAnalyticsDataRequest.Builder avoiding the need to create one manually via ListUtteranceAnalyticsDataRequest.builder()

      Parameters:
      listUtteranceAnalyticsDataRequest - A Consumer that will call methods on ListUtteranceAnalyticsDataRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListUtteranceAnalyticsData operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUtteranceAnalyticsDataPaginator

      default ListUtteranceAnalyticsDataPublisher listUtteranceAnalyticsDataPaginator(ListUtteranceAnalyticsDataRequest listUtteranceAnalyticsDataRequest)

      This is a variant of listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataPublisher publisher = client.listUtteranceAnalyticsDataPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataPublisher publisher = client.listUtteranceAnalyticsDataPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest) operation.

      Parameters:
      listUtteranceAnalyticsDataRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUtteranceAnalyticsDataPaginator

      default ListUtteranceAnalyticsDataPublisher listUtteranceAnalyticsDataPaginator(Consumer<ListUtteranceAnalyticsDataRequest.Builder> listUtteranceAnalyticsDataRequest)

      This is a variant of listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataPublisher publisher = client.listUtteranceAnalyticsDataPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceAnalyticsDataPublisher publisher = client.listUtteranceAnalyticsDataPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listUtteranceAnalyticsData(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceAnalyticsDataRequest) operation.


      This is a convenience which creates an instance of the ListUtteranceAnalyticsDataRequest.Builder avoiding the need to create one manually via ListUtteranceAnalyticsDataRequest.builder()

      Parameters:
      listUtteranceAnalyticsDataRequest - A Consumer that will call methods on ListUtteranceAnalyticsDataRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUtteranceMetrics

      default CompletableFuture<ListUtteranceMetricsResponse> listUtteranceMetrics(ListUtteranceMetricsRequest listUtteranceMetricsRequest)

      To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics. See Viewing utterance statistics for the IAM policy to apply to the IAM role.

      Retrieves summary metrics for the utterances in your bot. The following fields are required:

      • metrics – A list of AnalyticsUtteranceMetric objects. In each object, use the name field to specify the metric to calculate, the statistic field to specify whether to calculate the Sum, Average, or Max number, and the order field to specify whether to sort the results in Ascending or Descending order.

      • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

      Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results, the groupBy field to specify categories by which to group the results, and the binBy field to specify time intervals by which to group the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.

      Note that an order field exists in both binBy and metrics. Currently, you can specify it in either field, but not in both.

      Parameters:
      listUtteranceMetricsRequest -
      Returns:
      A Java Future containing the result of the ListUtteranceMetrics operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUtteranceMetrics

      default CompletableFuture<ListUtteranceMetricsResponse> listUtteranceMetrics(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest)

      To use this API operation, your IAM role must have permissions to perform the ListAggregatedUtterances operation, which provides access to utterance-related analytics. See Viewing utterance statistics for the IAM policy to apply to the IAM role.

      Retrieves summary metrics for the utterances in your bot. The following fields are required:

      • metrics – A list of AnalyticsUtteranceMetric objects. In each object, use the name field to specify the metric to calculate, the statistic field to specify whether to calculate the Sum, Average, or Max number, and the order field to specify whether to sort the results in Ascending or Descending order.

      • startDateTime and endDateTime – Define a time range for which you want to retrieve results.

      Of the optional fields, you can organize the results in the following ways:

      • Use the filters field to filter the results, the groupBy field to specify categories by which to group the results, and the binBy field to specify time intervals by which to group the results.

      • Use the maxResults field to limit the number of results to return in a single response and the nextToken field to return the next batch of results if the response does not return the full set of results.

      Note that an order field exists in both binBy and metrics. Currently, you can specify it in either field, but not in both.


      This is a convenience which creates an instance of the ListUtteranceMetricsRequest.Builder avoiding the need to create one manually via ListUtteranceMetricsRequest.builder()

      Parameters:
      listUtteranceMetricsRequest - A Consumer that will call methods on ListUtteranceMetricsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListUtteranceMetrics operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUtteranceMetricsPaginator

      default ListUtteranceMetricsPublisher listUtteranceMetricsPaginator(ListUtteranceMetricsRequest listUtteranceMetricsRequest)

      This is a variant of listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsPublisher publisher = client.listUtteranceMetricsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsPublisher publisher = client.listUtteranceMetricsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest) operation.

      Parameters:
      listUtteranceMetricsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUtteranceMetricsPaginator

      default ListUtteranceMetricsPublisher listUtteranceMetricsPaginator(Consumer<ListUtteranceMetricsRequest.Builder> listUtteranceMetricsRequest)

      This is a variant of listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsPublisher publisher = client.listUtteranceMetricsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.lexmodelsv2.paginators.ListUtteranceMetricsPublisher publisher = client.listUtteranceMetricsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listUtteranceMetrics(software.amazon.awssdk.services.lexmodelsv2.model.ListUtteranceMetricsRequest) operation.


      This is a convenience which creates an instance of the ListUtteranceMetricsRequest.Builder avoiding the need to create one manually via ListUtteranceMetricsRequest.builder()

      Parameters:
      listUtteranceMetricsRequest - A Consumer that will call methods on ListUtteranceMetricsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • searchAssociatedTranscripts

      default CompletableFuture<SearchAssociatedTranscriptsResponse> searchAssociatedTranscripts(SearchAssociatedTranscriptsRequest searchAssociatedTranscriptsRequest)

      Search for associated transcripts that meet the specified criteria.

      Parameters:
      searchAssociatedTranscriptsRequest -
      Returns:
      A Java Future containing the result of the SearchAssociatedTranscripts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • searchAssociatedTranscripts

      default CompletableFuture<SearchAssociatedTranscriptsResponse> searchAssociatedTranscripts(Consumer<SearchAssociatedTranscriptsRequest.Builder> searchAssociatedTranscriptsRequest)

      Search for associated transcripts that meet the specified criteria.


      This is a convenience which creates an instance of the SearchAssociatedTranscriptsRequest.Builder avoiding the need to create one manually via SearchAssociatedTranscriptsRequest.builder()

      Parameters:
      searchAssociatedTranscriptsRequest - A Consumer that will call methods on SearchAssociatedTranscriptsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the SearchAssociatedTranscripts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startBotRecommendation

      default CompletableFuture<StartBotRecommendationResponse> startBotRecommendation(StartBotRecommendationRequest startBotRecommendationRequest)

      Use this to provide your transcript data, and to start the bot recommendation process.

      Parameters:
      startBotRecommendationRequest -
      Returns:
      A Java Future containing the result of the StartBotRecommendation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startBotRecommendation

      default CompletableFuture<StartBotRecommendationResponse> startBotRecommendation(Consumer<StartBotRecommendationRequest.Builder> startBotRecommendationRequest)

      Use this to provide your transcript data, and to start the bot recommendation process.


      This is a convenience which creates an instance of the StartBotRecommendationRequest.Builder avoiding the need to create one manually via StartBotRecommendationRequest.builder()

      Parameters:
      startBotRecommendationRequest - A Consumer that will call methods on StartBotRecommendationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartBotRecommendation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startBotResourceGeneration

      default CompletableFuture<StartBotResourceGenerationResponse> startBotResourceGeneration(StartBotResourceGenerationRequest startBotResourceGenerationRequest)

      Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it. After you make this call, use the DescribeBotResourceGeneration operation to check on the status of the generation and for the generatedBotLocaleUrl when the generation is complete. Use that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.

      Parameters:
      startBotResourceGenerationRequest -
      Returns:
      A Java Future containing the result of the StartBotResourceGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startBotResourceGeneration

      default CompletableFuture<StartBotResourceGenerationResponse> startBotResourceGeneration(Consumer<StartBotResourceGenerationRequest.Builder> startBotResourceGenerationRequest)

      Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it. After you make this call, use the DescribeBotResourceGeneration operation to check on the status of the generation and for the generatedBotLocaleUrl when the generation is complete. Use that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.


      This is a convenience which creates an instance of the StartBotResourceGenerationRequest.Builder avoiding the need to create one manually via StartBotResourceGenerationRequest.builder()

      Parameters:
      startBotResourceGenerationRequest - A Consumer that will call methods on StartBotResourceGenerationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartBotResourceGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startImport

      default CompletableFuture<StartImportResponse> startImport(StartImportRequest startImportRequest)

      Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.

      Parameters:
      startImportRequest -
      Returns:
      A Java Future containing the result of the StartImport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startImport

      default CompletableFuture<StartImportResponse> startImport(Consumer<StartImportRequest.Builder> startImportRequest)

      Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.


      This is a convenience which creates an instance of the StartImportRequest.Builder avoiding the need to create one manually via StartImportRequest.builder()

      Parameters:
      startImportRequest - A Consumer that will call methods on StartImportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartImport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startTestExecution

      default CompletableFuture<StartTestExecutionResponse> startTestExecution(StartTestExecutionRequest startTestExecutionRequest)

      The action to start test set execution.

      Parameters:
      startTestExecutionRequest -
      Returns:
      A Java Future containing the result of the StartTestExecution operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startTestExecution

      default CompletableFuture<StartTestExecutionResponse> startTestExecution(Consumer<StartTestExecutionRequest.Builder> startTestExecutionRequest)

      The action to start test set execution.


      This is a convenience which creates an instance of the StartTestExecutionRequest.Builder avoiding the need to create one manually via StartTestExecutionRequest.builder()

      Parameters:
      startTestExecutionRequest - A Consumer that will call methods on StartTestExecutionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartTestExecution operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startTestSetGeneration

      default CompletableFuture<StartTestSetGenerationResponse> startTestSetGeneration(StartTestSetGenerationRequest startTestSetGenerationRequest)

      The action to start the generation of test set.

      Parameters:
      startTestSetGenerationRequest -
      Returns:
      A Java Future containing the result of the StartTestSetGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startTestSetGeneration

      default CompletableFuture<StartTestSetGenerationResponse> startTestSetGeneration(Consumer<StartTestSetGenerationRequest.Builder> startTestSetGenerationRequest)

      The action to start the generation of test set.


      This is a convenience which creates an instance of the StartTestSetGenerationRequest.Builder avoiding the need to create one manually via StartTestSetGenerationRequest.builder()

      Parameters:
      startTestSetGenerationRequest - A Consumer that will call methods on StartTestSetGenerationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartTestSetGeneration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopBotRecommendation

      default CompletableFuture<StopBotRecommendationResponse> stopBotRecommendation(StopBotRecommendationRequest stopBotRecommendationRequest)

      Stop an already running Bot Recommendation request.

      Parameters:
      stopBotRecommendationRequest -
      Returns:
      A Java Future containing the result of the StopBotRecommendation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • stopBotRecommendation

      default CompletableFuture<StopBotRecommendationResponse> stopBotRecommendation(Consumer<StopBotRecommendationRequest.Builder> stopBotRecommendationRequest)

      Stop an already running Bot Recommendation request.


      This is a convenience which creates an instance of the StopBotRecommendationRequest.Builder avoiding the need to create one manually via StopBotRecommendationRequest.builder()

      Parameters:
      stopBotRecommendationRequest - A Consumer that will call methods on StopBotRecommendationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StopBotRecommendation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced with the new value.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Removes tags from a bot, bot alias, or bot channel.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Removes tags from a bot, bot alias, or bot channel.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBot

      default CompletableFuture<UpdateBotResponse> updateBot(UpdateBotRequest updateBotRequest)

      Updates the configuration of an existing bot.

      Parameters:
      updateBotRequest -
      Returns:
      A Java Future containing the result of the UpdateBot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBot

      default CompletableFuture<UpdateBotResponse> updateBot(Consumer<UpdateBotRequest.Builder> updateBotRequest)

      Updates the configuration of an existing bot.


      This is a convenience which creates an instance of the UpdateBotRequest.Builder avoiding the need to create one manually via UpdateBotRequest.builder()

      Parameters:
      updateBotRequest - A Consumer that will call methods on UpdateBotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateBot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBotAlias

      default CompletableFuture<UpdateBotAliasResponse> updateBotAlias(UpdateBotAliasRequest updateBotAliasRequest)

      Updates the configuration of an existing bot alias.

      Parameters:
      updateBotAliasRequest -
      Returns:
      A Java Future containing the result of the UpdateBotAlias operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBotAlias

      default CompletableFuture<UpdateBotAliasResponse> updateBotAlias(Consumer<UpdateBotAliasRequest.Builder> updateBotAliasRequest)

      Updates the configuration of an existing bot alias.


      This is a convenience which creates an instance of the UpdateBotAliasRequest.Builder avoiding the need to create one manually via UpdateBotAliasRequest.builder()

      Parameters:
      updateBotAliasRequest - A Consumer that will call methods on UpdateBotAliasRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateBotAlias operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBotLocale

      default CompletableFuture<UpdateBotLocaleResponse> updateBotLocale(UpdateBotLocaleRequest updateBotLocaleRequest)

      Updates the settings that a bot has for a specific locale.

      Parameters:
      updateBotLocaleRequest -
      Returns:
      A Java Future containing the result of the UpdateBotLocale operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBotLocale

      default CompletableFuture<UpdateBotLocaleResponse> updateBotLocale(Consumer<UpdateBotLocaleRequest.Builder> updateBotLocaleRequest)

      Updates the settings that a bot has for a specific locale.


      This is a convenience which creates an instance of the UpdateBotLocaleRequest.Builder avoiding the need to create one manually via UpdateBotLocaleRequest.builder()

      Parameters:
      updateBotLocaleRequest - A Consumer that will call methods on UpdateBotLocaleRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateBotLocale operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBotRecommendation

      default CompletableFuture<UpdateBotRecommendationResponse> updateBotRecommendation(UpdateBotRecommendationRequest updateBotRecommendationRequest)

      Updates an existing bot recommendation request.

      Parameters:
      updateBotRecommendationRequest -
      Returns:
      A Java Future containing the result of the UpdateBotRecommendation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateBotRecommendation

      default CompletableFuture<UpdateBotRecommendationResponse> updateBotRecommendation(Consumer<UpdateBotRecommendationRequest.Builder> updateBotRecommendationRequest)

      Updates an existing bot recommendation request.


      This is a convenience which creates an instance of the UpdateBotRecommendationRequest.Builder avoiding the need to create one manually via UpdateBotRecommendationRequest.builder()

      Parameters:
      updateBotRecommendationRequest - A Consumer that will call methods on UpdateBotRecommendationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateBotRecommendation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateExport

      default CompletableFuture<UpdateExportResponse> updateExport(UpdateExportRequest updateExportRequest)

      Updates the password used to protect an export zip archive.

      The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the DescribeExport operation.

      Parameters:
      updateExportRequest -
      Returns:
      A Java Future containing the result of the UpdateExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateExport

      default CompletableFuture<UpdateExportResponse> updateExport(Consumer<UpdateExportRequest.Builder> updateExportRequest)

      Updates the password used to protect an export zip archive.

      The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the DescribeExport operation.


      This is a convenience which creates an instance of the UpdateExportRequest.Builder avoiding the need to create one manually via UpdateExportRequest.builder()

      Parameters:
      updateExportRequest - A Consumer that will call methods on UpdateExportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateIntent

      default CompletableFuture<UpdateIntentResponse> updateIntent(UpdateIntentRequest updateIntentRequest)

      Updates the settings for an intent.

      Parameters:
      updateIntentRequest -
      Returns:
      A Java Future containing the result of the UpdateIntent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateIntent

      default CompletableFuture<UpdateIntentResponse> updateIntent(Consumer<UpdateIntentRequest.Builder> updateIntentRequest)

      Updates the settings for an intent.


      This is a convenience which creates an instance of the UpdateIntentRequest.Builder avoiding the need to create one manually via UpdateIntentRequest.builder()

      Parameters:
      updateIntentRequest - A Consumer that will call methods on UpdateIntentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateIntent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResourcePolicy

      default CompletableFuture<UpdateResourcePolicyResponse> updateResourcePolicy(UpdateResourcePolicyRequest updateResourcePolicyRequest)

      Replaces the existing resource policy for a bot or bot alias with a new one. If the policy doesn't exist, Amazon Lex returns an exception.

      Parameters:
      updateResourcePolicyRequest -
      Returns:
      A Java Future containing the result of the UpdateResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateResourcePolicy

      default CompletableFuture<UpdateResourcePolicyResponse> updateResourcePolicy(Consumer<UpdateResourcePolicyRequest.Builder> updateResourcePolicyRequest)

      Replaces the existing resource policy for a bot or bot alias with a new one. If the policy doesn't exist, Amazon Lex returns an exception.


      This is a convenience which creates an instance of the UpdateResourcePolicyRequest.Builder avoiding the need to create one manually via UpdateResourcePolicyRequest.builder()

      Parameters:
      updateResourcePolicyRequest - A Consumer that will call methods on UpdateResourcePolicyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateResourcePolicy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ResourceNotFoundException You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSlot

      default CompletableFuture<UpdateSlotResponse> updateSlot(UpdateSlotRequest updateSlotRequest)

      Updates the settings for a slot.

      Parameters:
      updateSlotRequest -
      Returns:
      A Java Future containing the result of the UpdateSlot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSlot

      default CompletableFuture<UpdateSlotResponse> updateSlot(Consumer<UpdateSlotRequest.Builder> updateSlotRequest)

      Updates the settings for a slot.


      This is a convenience which creates an instance of the UpdateSlotRequest.Builder avoiding the need to create one manually via UpdateSlotRequest.builder()

      Parameters:
      updateSlotRequest - A Consumer that will call methods on UpdateSlotRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateSlot operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSlotType

      default CompletableFuture<UpdateSlotTypeResponse> updateSlotType(UpdateSlotTypeRequest updateSlotTypeRequest)

      Updates the configuration of an existing slot type.

      Parameters:
      updateSlotTypeRequest -
      Returns:
      A Java Future containing the result of the UpdateSlotType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSlotType

      default CompletableFuture<UpdateSlotTypeResponse> updateSlotType(Consumer<UpdateSlotTypeRequest.Builder> updateSlotTypeRequest)

      Updates the configuration of an existing slot type.


      This is a convenience which creates an instance of the UpdateSlotTypeRequest.Builder avoiding the need to create one manually via UpdateSlotTypeRequest.builder()

      Parameters:
      updateSlotTypeRequest - A Consumer that will call methods on UpdateSlotTypeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateSlotType operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateTestSet

      default CompletableFuture<UpdateTestSetResponse> updateTestSet(UpdateTestSetRequest updateTestSetRequest)

      The action to update the test set.

      Parameters:
      updateTestSetRequest -
      Returns:
      A Java Future containing the result of the UpdateTestSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateTestSet

      default CompletableFuture<UpdateTestSetResponse> updateTestSet(Consumer<UpdateTestSetRequest.Builder> updateTestSetRequest)

      The action to update the test set.


      This is a convenience which creates an instance of the UpdateTestSetRequest.Builder avoiding the need to create one manually via UpdateTestSetRequest.builder()

      Parameters:
      updateTestSetRequest - A Consumer that will call methods on UpdateTestSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateTestSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ThrottlingException Your request rate is too high. Reduce the frequency of requests.
      • ServiceQuotaExceededException You have reached a quota for your bot.
      • ValidationException One of the input parameters in your request isn't valid. Check the parameters and try your request again.
      • PreconditionFailedException Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
      • ConflictException The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
      • InternalServerException The service encountered an unexpected condition. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LexModelsV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • waiter

      default LexModelsV2AsyncWaiter waiter()
      Create an instance of LexModelsV2AsyncWaiter using this client.

      Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.

      Returns:
      an instance of LexModelsV2AsyncWaiter
    • serviceClientConfiguration

      default LexModelsV2ServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static LexModelsV2AsyncClient create()
      Create a LexModelsV2AsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a LexModelsV2AsyncClient.