Interface VoiceIdAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

    @Generated("software.amazon.awssdk:codegen")
    @ThreadSafe
    public interface VoiceIdAsyncClient
    extends AwsClient
    Service client for accessing Amazon Voice ID 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.

    Amazon Connect Voice ID provides real-time caller authentication and fraud risk detection, which make voice interactions in contact centers more secure and efficient.

    • Method Detail

      • associateFraudster

        default CompletableFuture<AssociateFraudsterResponse> associateFraudster​(AssociateFraudsterRequest associateFraudsterRequest)

        Associates the fraudsters with the watchlist specified in the same domain.

        Parameters:
        associateFraudsterRequest -
        Returns:
        A Java Future containing the result of the AssociateFraudster operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • associateFraudster

        default CompletableFuture<AssociateFraudsterResponse> associateFraudster​(Consumer<AssociateFraudsterRequest.Builder> associateFraudsterRequest)

        Associates the fraudsters with the watchlist specified in the same domain.


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

        Parameters:
        associateFraudsterRequest - A Consumer that will call methods on AssociateFraudsterRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the AssociateFraudster operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDomain

        default CompletableFuture<CreateDomainResponse> createDomain​(CreateDomainRequest createDomainRequest)

        Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer audio, and voiceprints. Every domain is created with a default watchlist that fraudsters can be a part of.

        Parameters:
        createDomainRequest -
        Returns:
        A Java Future containing the result of the CreateDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createDomain

        default CompletableFuture<CreateDomainResponse> createDomain​(Consumer<CreateDomainRequest.Builder> createDomainRequest)

        Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer audio, and voiceprints. Every domain is created with a default watchlist that fraudsters can be a part of.


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

        Parameters:
        createDomainRequest - A Consumer that will call methods on CreateDomainRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createWatchlist

        default CompletableFuture<CreateWatchlistResponse> createWatchlist​(CreateWatchlistRequest createWatchlistRequest)

        Creates a watchlist that fraudsters can be a part of.

        Parameters:
        createWatchlistRequest -
        Returns:
        A Java Future containing the result of the CreateWatchlist operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createWatchlist

        default CompletableFuture<CreateWatchlistResponse> createWatchlist​(Consumer<CreateWatchlistRequest.Builder> createWatchlistRequest)

        Creates a watchlist that fraudsters can be a part of.


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

        Parameters:
        createWatchlistRequest - A Consumer that will call methods on CreateWatchlistRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateWatchlist operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteDomain

        default CompletableFuture<DeleteDomainResponse> deleteDomain​(DeleteDomainRequest deleteDomainRequest)

        Deletes the specified domain from Voice ID.

        Parameters:
        deleteDomainRequest -
        Returns:
        A Java Future containing the result of the DeleteDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteDomain

        default CompletableFuture<DeleteDomainResponse> deleteDomain​(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest)

        Deletes the specified domain from Voice ID.


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

        Parameters:
        deleteDomainRequest - A Consumer that will call methods on DeleteDomainRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFraudster

        default CompletableFuture<DeleteFraudsterResponse> deleteFraudster​(DeleteFraudsterRequest deleteFraudsterRequest)

        Deletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.

        Parameters:
        deleteFraudsterRequest -
        Returns:
        A Java Future containing the result of the DeleteFraudster operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFraudster

        default CompletableFuture<DeleteFraudsterResponse> deleteFraudster​(Consumer<DeleteFraudsterRequest.Builder> deleteFraudsterRequest)

        Deletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.


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

        Parameters:
        deleteFraudsterRequest - A Consumer that will call methods on DeleteFraudsterRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteFraudster operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteSpeaker

        default CompletableFuture<DeleteSpeakerResponse> deleteSpeaker​(DeleteSpeakerRequest deleteSpeakerRequest)

        Deletes the specified speaker from Voice ID.

        Parameters:
        deleteSpeakerRequest -
        Returns:
        A Java Future containing the result of the DeleteSpeaker operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteSpeaker

        default CompletableFuture<DeleteSpeakerResponse> deleteSpeaker​(Consumer<DeleteSpeakerRequest.Builder> deleteSpeakerRequest)

        Deletes the specified speaker from Voice ID.


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

        Parameters:
        deleteSpeakerRequest - A Consumer that will call methods on DeleteSpeakerRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteSpeaker operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteWatchlist

        default CompletableFuture<DeleteWatchlistResponse> deleteWatchlist​(DeleteWatchlistRequest deleteWatchlistRequest)

        Deletes the specified watchlist from Voice ID. This API throws an exception when there are fraudsters in the watchlist that you are trying to delete. You must delete the fraudsters, and then delete the watchlist. Every domain has a default watchlist which cannot be deleted.

        Parameters:
        deleteWatchlistRequest -
        Returns:
        A Java Future containing the result of the DeleteWatchlist operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteWatchlist

        default CompletableFuture<DeleteWatchlistResponse> deleteWatchlist​(Consumer<DeleteWatchlistRequest.Builder> deleteWatchlistRequest)

        Deletes the specified watchlist from Voice ID. This API throws an exception when there are fraudsters in the watchlist that you are trying to delete. You must delete the fraudsters, and then delete the watchlist. Every domain has a default watchlist which cannot be deleted.


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

        Parameters:
        deleteWatchlistRequest - A Consumer that will call methods on DeleteWatchlistRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteWatchlist operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDomain

        default CompletableFuture<DescribeDomainResponse> describeDomain​(DescribeDomainRequest describeDomainRequest)

        Describes the specified domain.

        Parameters:
        describeDomainRequest -
        Returns:
        A Java Future containing the result of the DescribeDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeDomain

        default CompletableFuture<DescribeDomainResponse> describeDomain​(Consumer<DescribeDomainRequest.Builder> describeDomainRequest)

        Describes the specified domain.


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

        Parameters:
        describeDomainRequest - A Consumer that will call methods on DescribeDomainRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFraudster

        default CompletableFuture<DescribeFraudsterResponse> describeFraudster​(DescribeFraudsterRequest describeFraudsterRequest)

        Describes the specified fraudster.

        Parameters:
        describeFraudsterRequest -
        Returns:
        A Java Future containing the result of the DescribeFraudster operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFraudster

        default CompletableFuture<DescribeFraudsterResponse> describeFraudster​(Consumer<DescribeFraudsterRequest.Builder> describeFraudsterRequest)

        Describes the specified fraudster.


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

        Parameters:
        describeFraudsterRequest - A Consumer that will call methods on DescribeFraudsterRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeFraudster operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFraudsterRegistrationJob

        default CompletableFuture<DescribeFraudsterRegistrationJobResponse> describeFraudsterRegistrationJob​(DescribeFraudsterRegistrationJobRequest describeFraudsterRegistrationJobRequest)

        Describes the specified fraudster registration job.

        Parameters:
        describeFraudsterRegistrationJobRequest -
        Returns:
        A Java Future containing the result of the DescribeFraudsterRegistrationJob operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeFraudsterRegistrationJob

        default CompletableFuture<DescribeFraudsterRegistrationJobResponse> describeFraudsterRegistrationJob​(Consumer<DescribeFraudsterRegistrationJobRequest.Builder> describeFraudsterRegistrationJobRequest)

        Describes the specified fraudster registration job.


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

        Parameters:
        describeFraudsterRegistrationJobRequest - A Consumer that will call methods on DescribeFraudsterRegistrationJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeFraudsterRegistrationJob operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeSpeaker

        default CompletableFuture<DescribeSpeakerResponse> describeSpeaker​(DescribeSpeakerRequest describeSpeakerRequest)

        Describes the specified speaker.

        Parameters:
        describeSpeakerRequest -
        Returns:
        A Java Future containing the result of the DescribeSpeaker operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeSpeaker

        default CompletableFuture<DescribeSpeakerResponse> describeSpeaker​(Consumer<DescribeSpeakerRequest.Builder> describeSpeakerRequest)

        Describes the specified speaker.


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

        Parameters:
        describeSpeakerRequest - A Consumer that will call methods on DescribeSpeakerRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeSpeaker operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeSpeakerEnrollmentJob

        default CompletableFuture<DescribeSpeakerEnrollmentJobResponse> describeSpeakerEnrollmentJob​(DescribeSpeakerEnrollmentJobRequest describeSpeakerEnrollmentJobRequest)

        Describes the specified speaker enrollment job.

        Parameters:
        describeSpeakerEnrollmentJobRequest -
        Returns:
        A Java Future containing the result of the DescribeSpeakerEnrollmentJob operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeSpeakerEnrollmentJob

        default CompletableFuture<DescribeSpeakerEnrollmentJobResponse> describeSpeakerEnrollmentJob​(Consumer<DescribeSpeakerEnrollmentJobRequest.Builder> describeSpeakerEnrollmentJobRequest)

        Describes the specified speaker enrollment job.


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

        Parameters:
        describeSpeakerEnrollmentJobRequest - A Consumer that will call methods on DescribeSpeakerEnrollmentJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeSpeakerEnrollmentJob operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeWatchlist

        default CompletableFuture<DescribeWatchlistResponse> describeWatchlist​(DescribeWatchlistRequest describeWatchlistRequest)

        Describes the specified watchlist.

        Parameters:
        describeWatchlistRequest -
        Returns:
        A Java Future containing the result of the DescribeWatchlist operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeWatchlist

        default CompletableFuture<DescribeWatchlistResponse> describeWatchlist​(Consumer<DescribeWatchlistRequest.Builder> describeWatchlistRequest)

        Describes the specified watchlist.


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

        Parameters:
        describeWatchlistRequest - A Consumer that will call methods on DescribeWatchlistRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeWatchlist operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateFraudster

        default CompletableFuture<DisassociateFraudsterResponse> disassociateFraudster​(DisassociateFraudsterRequest disassociateFraudsterRequest)

        Disassociates the fraudsters from the watchlist specified. Voice ID always expects a fraudster to be a part of at least one watchlist. If you try to disassociate a fraudster from its only watchlist, a ValidationException is thrown.

        Parameters:
        disassociateFraudsterRequest -
        Returns:
        A Java Future containing the result of the DisassociateFraudster operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateFraudster

        default CompletableFuture<DisassociateFraudsterResponse> disassociateFraudster​(Consumer<DisassociateFraudsterRequest.Builder> disassociateFraudsterRequest)

        Disassociates the fraudsters from the watchlist specified. Voice ID always expects a fraudster to be a part of at least one watchlist. If you try to disassociate a fraudster from its only watchlist, a ValidationException is thrown.


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

        Parameters:
        disassociateFraudsterRequest - A Consumer that will call methods on DisassociateFraudsterRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisassociateFraudster operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • evaluateSession

        default CompletableFuture<EvaluateSessionResponse> evaluateSession​(EvaluateSessionRequest evaluateSessionRequest)

        Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call.

        Parameters:
        evaluateSessionRequest -
        Returns:
        A Java Future containing the result of the EvaluateSession operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • evaluateSession

        default CompletableFuture<EvaluateSessionResponse> evaluateSession​(Consumer<EvaluateSessionRequest.Builder> evaluateSessionRequest)

        Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call.


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

        Parameters:
        evaluateSessionRequest - A Consumer that will call methods on EvaluateSessionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the EvaluateSession operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDomains

        default CompletableFuture<ListDomainsResponse> listDomains​(ListDomainsRequest listDomainsRequest)

        Lists all the domains in the Amazon Web Services account.

        Parameters:
        listDomainsRequest -
        Returns:
        A Java Future containing the result of the ListDomains operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDomains

        default CompletableFuture<ListDomainsResponse> listDomains​(Consumer<ListDomainsRequest.Builder> listDomainsRequest)

        Lists all the domains in the Amazon Web Services account.


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

        Parameters:
        listDomainsRequest - A Consumer that will call methods on ListDomainsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListDomains operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDomainsPaginator

        default ListDomainsPublisher listDomainsPaginator​(ListDomainsRequest listDomainsRequest)

        This is a variant of listDomains(software.amazon.awssdk.services.voiceid.model.ListDomainsRequest) 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.voiceid.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListDomainsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListDomainsResponse 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 listDomains(software.amazon.awssdk.services.voiceid.model.ListDomainsRequest) operation.

        Parameters:
        listDomainsRequest -
        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 The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listDomainsPaginator

        default ListDomainsPublisher listDomainsPaginator​(Consumer<ListDomainsRequest.Builder> listDomainsRequest)

        This is a variant of listDomains(software.amazon.awssdk.services.voiceid.model.ListDomainsRequest) 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.voiceid.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListDomainsPublisher publisher = client.listDomainsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListDomainsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListDomainsResponse 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 listDomains(software.amazon.awssdk.services.voiceid.model.ListDomainsRequest) operation.


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

        Parameters:
        listDomainsRequest - A Consumer that will call methods on ListDomainsRequest.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 The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFraudsterRegistrationJobs

        default CompletableFuture<ListFraudsterRegistrationJobsResponse> listFraudsterRegistrationJobs​(ListFraudsterRegistrationJobsRequest listFraudsterRegistrationJobsRequest)

        Lists all the fraudster registration jobs in the domain with the given JobStatus. If JobStatus is not provided, this lists all fraudster registration jobs in the given domain.

        Parameters:
        listFraudsterRegistrationJobsRequest -
        Returns:
        A Java Future containing the result of the ListFraudsterRegistrationJobs operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFraudsterRegistrationJobs

        default CompletableFuture<ListFraudsterRegistrationJobsResponse> listFraudsterRegistrationJobs​(Consumer<ListFraudsterRegistrationJobsRequest.Builder> listFraudsterRegistrationJobsRequest)

        Lists all the fraudster registration jobs in the domain with the given JobStatus. If JobStatus is not provided, this lists all fraudster registration jobs in the given domain.


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

        Parameters:
        listFraudsterRegistrationJobsRequest - A Consumer that will call methods on ListFraudsterRegistrationJobsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListFraudsterRegistrationJobs operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFraudsterRegistrationJobsPaginator

        default ListFraudsterRegistrationJobsPublisher listFraudsterRegistrationJobsPaginator​(ListFraudsterRegistrationJobsRequest listFraudsterRegistrationJobsRequest)

        This is a variant of listFraudsterRegistrationJobs(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsRequest) 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.voiceid.paginators.ListFraudsterRegistrationJobsPublisher publisher = client.listFraudsterRegistrationJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListFraudsterRegistrationJobsPublisher publisher = client.listFraudsterRegistrationJobsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsResponse 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 listFraudsterRegistrationJobs(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsRequest) operation.

        Parameters:
        listFraudsterRegistrationJobsRequest -
        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFraudsterRegistrationJobsPaginator

        default ListFraudsterRegistrationJobsPublisher listFraudsterRegistrationJobsPaginator​(Consumer<ListFraudsterRegistrationJobsRequest.Builder> listFraudsterRegistrationJobsRequest)

        This is a variant of listFraudsterRegistrationJobs(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsRequest) 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.voiceid.paginators.ListFraudsterRegistrationJobsPublisher publisher = client.listFraudsterRegistrationJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListFraudsterRegistrationJobsPublisher publisher = client.listFraudsterRegistrationJobsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsResponse 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 listFraudsterRegistrationJobs(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsRequest) operation.


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

        Parameters:
        listFraudsterRegistrationJobsRequest - A Consumer that will call methods on ListFraudsterRegistrationJobsRequest.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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFraudsters

        default CompletableFuture<ListFraudstersResponse> listFraudsters​(ListFraudstersRequest listFraudstersRequest)

        Lists all fraudsters in a specified watchlist or domain.

        Parameters:
        listFraudstersRequest -
        Returns:
        A Java Future containing the result of the ListFraudsters operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFraudsters

        default CompletableFuture<ListFraudstersResponse> listFraudsters​(Consumer<ListFraudstersRequest.Builder> listFraudstersRequest)

        Lists all fraudsters in a specified watchlist or domain.


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

        Parameters:
        listFraudstersRequest - A Consumer that will call methods on ListFraudstersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListFraudsters operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFraudstersPaginator

        default ListFraudstersPublisher listFraudstersPaginator​(ListFraudstersRequest listFraudstersRequest)

        This is a variant of listFraudsters(software.amazon.awssdk.services.voiceid.model.ListFraudstersRequest) 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.voiceid.paginators.ListFraudstersPublisher publisher = client.listFraudstersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListFraudstersPublisher publisher = client.listFraudstersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListFraudstersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListFraudstersResponse 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 listFraudsters(software.amazon.awssdk.services.voiceid.model.ListFraudstersRequest) operation.

        Parameters:
        listFraudstersRequest -
        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFraudstersPaginator

        default ListFraudstersPublisher listFraudstersPaginator​(Consumer<ListFraudstersRequest.Builder> listFraudstersRequest)

        This is a variant of listFraudsters(software.amazon.awssdk.services.voiceid.model.ListFraudstersRequest) 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.voiceid.paginators.ListFraudstersPublisher publisher = client.listFraudstersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListFraudstersPublisher publisher = client.listFraudstersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListFraudstersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListFraudstersResponse 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 listFraudsters(software.amazon.awssdk.services.voiceid.model.ListFraudstersRequest) operation.


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

        Parameters:
        listFraudstersRequest - A Consumer that will call methods on ListFraudstersRequest.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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSpeakerEnrollmentJobs

        default CompletableFuture<ListSpeakerEnrollmentJobsResponse> listSpeakerEnrollmentJobs​(ListSpeakerEnrollmentJobsRequest listSpeakerEnrollmentJobsRequest)

        Lists all the speaker enrollment jobs in the domain with the specified JobStatus. If JobStatus is not provided, this lists all jobs with all possible speaker enrollment job statuses.

        Parameters:
        listSpeakerEnrollmentJobsRequest -
        Returns:
        A Java Future containing the result of the ListSpeakerEnrollmentJobs operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSpeakerEnrollmentJobs

        default CompletableFuture<ListSpeakerEnrollmentJobsResponse> listSpeakerEnrollmentJobs​(Consumer<ListSpeakerEnrollmentJobsRequest.Builder> listSpeakerEnrollmentJobsRequest)

        Lists all the speaker enrollment jobs in the domain with the specified JobStatus. If JobStatus is not provided, this lists all jobs with all possible speaker enrollment job statuses.


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

        Parameters:
        listSpeakerEnrollmentJobsRequest - A Consumer that will call methods on ListSpeakerEnrollmentJobsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListSpeakerEnrollmentJobs operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSpeakerEnrollmentJobsPaginator

        default ListSpeakerEnrollmentJobsPublisher listSpeakerEnrollmentJobsPaginator​(ListSpeakerEnrollmentJobsRequest listSpeakerEnrollmentJobsRequest)

        This is a variant of listSpeakerEnrollmentJobs(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsRequest) 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.voiceid.paginators.ListSpeakerEnrollmentJobsPublisher publisher = client.listSpeakerEnrollmentJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListSpeakerEnrollmentJobsPublisher publisher = client.listSpeakerEnrollmentJobsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsResponse 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 listSpeakerEnrollmentJobs(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsRequest) operation.

        Parameters:
        listSpeakerEnrollmentJobsRequest -
        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSpeakerEnrollmentJobsPaginator

        default ListSpeakerEnrollmentJobsPublisher listSpeakerEnrollmentJobsPaginator​(Consumer<ListSpeakerEnrollmentJobsRequest.Builder> listSpeakerEnrollmentJobsRequest)

        This is a variant of listSpeakerEnrollmentJobs(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsRequest) 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.voiceid.paginators.ListSpeakerEnrollmentJobsPublisher publisher = client.listSpeakerEnrollmentJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListSpeakerEnrollmentJobsPublisher publisher = client.listSpeakerEnrollmentJobsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsResponse 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 listSpeakerEnrollmentJobs(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsRequest) operation.


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

        Parameters:
        listSpeakerEnrollmentJobsRequest - A Consumer that will call methods on ListSpeakerEnrollmentJobsRequest.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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSpeakers

        default CompletableFuture<ListSpeakersResponse> listSpeakers​(ListSpeakersRequest listSpeakersRequest)

        Lists all speakers in a specified domain.

        Parameters:
        listSpeakersRequest -
        Returns:
        A Java Future containing the result of the ListSpeakers operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSpeakers

        default CompletableFuture<ListSpeakersResponse> listSpeakers​(Consumer<ListSpeakersRequest.Builder> listSpeakersRequest)

        Lists all speakers in a specified domain.


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

        Parameters:
        listSpeakersRequest - A Consumer that will call methods on ListSpeakersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListSpeakers operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSpeakersPaginator

        default ListSpeakersPublisher listSpeakersPaginator​(ListSpeakersRequest listSpeakersRequest)

        This is a variant of listSpeakers(software.amazon.awssdk.services.voiceid.model.ListSpeakersRequest) 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.voiceid.paginators.ListSpeakersPublisher publisher = client.listSpeakersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListSpeakersPublisher publisher = client.listSpeakersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListSpeakersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListSpeakersResponse 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 listSpeakers(software.amazon.awssdk.services.voiceid.model.ListSpeakersRequest) operation.

        Parameters:
        listSpeakersRequest -
        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSpeakersPaginator

        default ListSpeakersPublisher listSpeakersPaginator​(Consumer<ListSpeakersRequest.Builder> listSpeakersRequest)

        This is a variant of listSpeakers(software.amazon.awssdk.services.voiceid.model.ListSpeakersRequest) 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.voiceid.paginators.ListSpeakersPublisher publisher = client.listSpeakersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListSpeakersPublisher publisher = client.listSpeakersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListSpeakersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListSpeakersResponse 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 listSpeakers(software.amazon.awssdk.services.voiceid.model.ListSpeakersRequest) operation.


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

        Parameters:
        listSpeakersRequest - A Consumer that will call methods on ListSpeakersRequest.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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)

        Lists all tags associated with a specified Voice ID resource.

        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

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

        Lists all tags associated with a specified Voice ID resource.


        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWatchlists

        default CompletableFuture<ListWatchlistsResponse> listWatchlists​(ListWatchlistsRequest listWatchlistsRequest)

        Lists all watchlists in a specified domain.

        Parameters:
        listWatchlistsRequest -
        Returns:
        A Java Future containing the result of the ListWatchlists operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWatchlists

        default CompletableFuture<ListWatchlistsResponse> listWatchlists​(Consumer<ListWatchlistsRequest.Builder> listWatchlistsRequest)

        Lists all watchlists in a specified domain.


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

        Parameters:
        listWatchlistsRequest - A Consumer that will call methods on ListWatchlistsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListWatchlists operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWatchlistsPaginator

        default ListWatchlistsPublisher listWatchlistsPaginator​(ListWatchlistsRequest listWatchlistsRequest)

        This is a variant of listWatchlists(software.amazon.awssdk.services.voiceid.model.ListWatchlistsRequest) 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.voiceid.paginators.ListWatchlistsPublisher publisher = client.listWatchlistsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListWatchlistsPublisher publisher = client.listWatchlistsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListWatchlistsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListWatchlistsResponse 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 listWatchlists(software.amazon.awssdk.services.voiceid.model.ListWatchlistsRequest) operation.

        Parameters:
        listWatchlistsRequest -
        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWatchlistsPaginator

        default ListWatchlistsPublisher listWatchlistsPaginator​(Consumer<ListWatchlistsRequest.Builder> listWatchlistsRequest)

        This is a variant of listWatchlists(software.amazon.awssdk.services.voiceid.model.ListWatchlistsRequest) 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.voiceid.paginators.ListWatchlistsPublisher publisher = client.listWatchlistsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.voiceid.paginators.ListWatchlistsPublisher publisher = client.listWatchlistsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.voiceid.model.ListWatchlistsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.voiceid.model.ListWatchlistsResponse 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 listWatchlists(software.amazon.awssdk.services.voiceid.model.ListWatchlistsRequest) operation.


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

        Parameters:
        listWatchlistsRequest - A Consumer that will call methods on ListWatchlistsRequest.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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • optOutSpeaker

        default CompletableFuture<OptOutSpeakerResponse> optOutSpeaker​(OptOutSpeakerRequest optOutSpeakerRequest)

        Opts out a speaker from Voice ID. A speaker can be opted out regardless of whether or not they already exist in Voice ID. If they don't yet exist, a new speaker is created in an opted out state. If they already exist, their existing status is overridden and they are opted out. Enrollment and evaluation authentication requests are rejected for opted out speakers, and opted out speakers have no voice embeddings stored in Voice ID.

        Parameters:
        optOutSpeakerRequest -
        Returns:
        A Java Future containing the result of the OptOutSpeaker operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • optOutSpeaker

        default CompletableFuture<OptOutSpeakerResponse> optOutSpeaker​(Consumer<OptOutSpeakerRequest.Builder> optOutSpeakerRequest)

        Opts out a speaker from Voice ID. A speaker can be opted out regardless of whether or not they already exist in Voice ID. If they don't yet exist, a new speaker is created in an opted out state. If they already exist, their existing status is overridden and they are opted out. Enrollment and evaluation authentication requests are rejected for opted out speakers, and opted out speakers have no voice embeddings stored in Voice ID.


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

        Parameters:
        optOutSpeakerRequest - A Consumer that will call methods on OptOutSpeakerRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the OptOutSpeaker operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startFraudsterRegistrationJob

        default CompletableFuture<StartFraudsterRegistrationJobResponse> startFraudsterRegistrationJob​(StartFraudsterRegistrationJobRequest startFraudsterRegistrationJobRequest)

        Starts a new batch fraudster registration job using provided details.

        Parameters:
        startFraudsterRegistrationJobRequest -
        Returns:
        A Java Future containing the result of the StartFraudsterRegistrationJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startFraudsterRegistrationJob

        default CompletableFuture<StartFraudsterRegistrationJobResponse> startFraudsterRegistrationJob​(Consumer<StartFraudsterRegistrationJobRequest.Builder> startFraudsterRegistrationJobRequest)

        Starts a new batch fraudster registration job using provided details.


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

        Parameters:
        startFraudsterRegistrationJobRequest - A Consumer that will call methods on StartFraudsterRegistrationJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartFraudsterRegistrationJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startSpeakerEnrollmentJob

        default CompletableFuture<StartSpeakerEnrollmentJobResponse> startSpeakerEnrollmentJob​(StartSpeakerEnrollmentJobRequest startSpeakerEnrollmentJobRequest)

        Starts a new batch speaker enrollment job using specified details.

        Parameters:
        startSpeakerEnrollmentJobRequest -
        Returns:
        A Java Future containing the result of the StartSpeakerEnrollmentJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startSpeakerEnrollmentJob

        default CompletableFuture<StartSpeakerEnrollmentJobResponse> startSpeakerEnrollmentJob​(Consumer<StartSpeakerEnrollmentJobRequest.Builder> startSpeakerEnrollmentJobRequest)

        Starts a new batch speaker enrollment job using specified details.


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

        Parameters:
        startSpeakerEnrollmentJobRequest - A Consumer that will call methods on StartSpeakerEnrollmentJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartSpeakerEnrollmentJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
        • ServiceQuotaExceededException The request exceeded the service quota. Refer to Voice ID Service Quotas and try your request again.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)

        Tags a Voice ID resource with the provided list of tags.

        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(Consumer<TagResourceRequest.Builder> tagResourceRequest)

        Tags a Voice ID resource with the provided list of tags.


        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)

        Removes specified tags from a specified Amazon Connect Voice ID resource.

        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

        Removes specified tags from a specified Amazon Connect Voice ID resource.


        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.
        • ResourceNotFoundException The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDomain

        default CompletableFuture<UpdateDomainResponse> updateDomain​(UpdateDomainRequest updateDomainRequest)

        Updates the specified domain. This API has clobber behavior, and clears and replaces all attributes. If an optional field, such as 'Description' is not provided, it is removed from the domain.

        Parameters:
        updateDomainRequest -
        Returns:
        A Java Future containing the result of the UpdateDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateDomain

        default CompletableFuture<UpdateDomainResponse> updateDomain​(Consumer<UpdateDomainRequest.Builder> updateDomainRequest)

        Updates the specified domain. This API has clobber behavior, and clears and replaces all attributes. If an optional field, such as 'Description' is not provided, it is removed from the domain.


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

        Parameters:
        updateDomainRequest - A Consumer that will call methods on UpdateDomainRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateDomain operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateWatchlist

        default CompletableFuture<UpdateWatchlistResponse> updateWatchlist​(UpdateWatchlistRequest updateWatchlistRequest)

        Updates the specified watchlist. Every domain has a default watchlist which cannot be updated.

        Parameters:
        updateWatchlistRequest -
        Returns:
        A Java Future containing the result of the UpdateWatchlist operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateWatchlist

        default CompletableFuture<UpdateWatchlistResponse> updateWatchlist​(Consumer<UpdateWatchlistRequest.Builder> updateWatchlistRequest)

        Updates the specified watchlist. Every domain has a default watchlist which cannot be updated.


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

        Parameters:
        updateWatchlistRequest - A Consumer that will call methods on UpdateWatchlistRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateWatchlist operation returned by the service.
        The CompletableFuture returned by this method can be completed 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 The specified resource cannot be found. Check the ResourceType and error message for more details.
        • ValidationException The request failed one or more validations; check the error message for more details.
        • ConflictException The request failed due to a conflict. Check the ConflictType and error message for more details.
        • InternalServerException The request failed due to an unknown error on the server side.
        • ThrottlingException The request was denied due to request throttling. Please slow down your request rate. Refer to Amazon Connect Voice ID Service API throttling quotas and try your request again.
        • AccessDeniedException You do not have sufficient permissions to perform this action. Check the error message 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.
        • VoiceIdException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation