Interface VoiceIdClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
Amazon Connect Voice ID provides real-time caller authentication and fraud risk detection, which make voice interactions in contact centers more secure and efficient.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssociateFraudsterResponse
associateFraudster
(Consumer<AssociateFraudsterRequest.Builder> associateFraudsterRequest) Associates the fraudsters with the watchlist specified in the same domain.default AssociateFraudsterResponse
associateFraudster
(AssociateFraudsterRequest associateFraudsterRequest) Associates the fraudsters with the watchlist specified in the same domain.static VoiceIdClientBuilder
builder()
Create a builder that can be used to configure and create aVoiceIdClient
.static VoiceIdClient
create()
Create aVoiceIdClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default 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.default CreateDomainResponse
createDomain
(CreateDomainRequest createDomainRequest) Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer audio, and voiceprints.default CreateWatchlistResponse
createWatchlist
(Consumer<CreateWatchlistRequest.Builder> createWatchlistRequest) Creates a watchlist that fraudsters can be a part of.default CreateWatchlistResponse
createWatchlist
(CreateWatchlistRequest createWatchlistRequest) Creates a watchlist that fraudsters can be a part of.default DeleteDomainResponse
deleteDomain
(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest) Deletes the specified domain from Voice ID.default DeleteDomainResponse
deleteDomain
(DeleteDomainRequest deleteDomainRequest) Deletes the specified domain from Voice ID.default DeleteFraudsterResponse
deleteFraudster
(Consumer<DeleteFraudsterRequest.Builder> deleteFraudsterRequest) Deletes the specified fraudster from Voice ID.default DeleteFraudsterResponse
deleteFraudster
(DeleteFraudsterRequest deleteFraudsterRequest) Deletes the specified fraudster from Voice ID.default DeleteSpeakerResponse
deleteSpeaker
(Consumer<DeleteSpeakerRequest.Builder> deleteSpeakerRequest) Deletes the specified speaker from Voice ID.default DeleteSpeakerResponse
deleteSpeaker
(DeleteSpeakerRequest deleteSpeakerRequest) Deletes the specified speaker from Voice ID.default DeleteWatchlistResponse
deleteWatchlist
(Consumer<DeleteWatchlistRequest.Builder> deleteWatchlistRequest) Deletes the specified watchlist from Voice ID.default DeleteWatchlistResponse
deleteWatchlist
(DeleteWatchlistRequest deleteWatchlistRequest) Deletes the specified watchlist from Voice ID.default DescribeDomainResponse
describeDomain
(Consumer<DescribeDomainRequest.Builder> describeDomainRequest) Describes the specified domain.default DescribeDomainResponse
describeDomain
(DescribeDomainRequest describeDomainRequest) Describes the specified domain.default DescribeFraudsterResponse
describeFraudster
(Consumer<DescribeFraudsterRequest.Builder> describeFraudsterRequest) Describes the specified fraudster.default DescribeFraudsterResponse
describeFraudster
(DescribeFraudsterRequest describeFraudsterRequest) Describes the specified fraudster.describeFraudsterRegistrationJob
(Consumer<DescribeFraudsterRegistrationJobRequest.Builder> describeFraudsterRegistrationJobRequest) Describes the specified fraudster registration job.describeFraudsterRegistrationJob
(DescribeFraudsterRegistrationJobRequest describeFraudsterRegistrationJobRequest) Describes the specified fraudster registration job.default DescribeSpeakerResponse
describeSpeaker
(Consumer<DescribeSpeakerRequest.Builder> describeSpeakerRequest) Describes the specified speaker.default DescribeSpeakerResponse
describeSpeaker
(DescribeSpeakerRequest describeSpeakerRequest) Describes the specified speaker.describeSpeakerEnrollmentJob
(Consumer<DescribeSpeakerEnrollmentJobRequest.Builder> describeSpeakerEnrollmentJobRequest) Describes the specified speaker enrollment job.describeSpeakerEnrollmentJob
(DescribeSpeakerEnrollmentJobRequest describeSpeakerEnrollmentJobRequest) Describes the specified speaker enrollment job.default DescribeWatchlistResponse
describeWatchlist
(Consumer<DescribeWatchlistRequest.Builder> describeWatchlistRequest) Describes the specified watchlist.default DescribeWatchlistResponse
describeWatchlist
(DescribeWatchlistRequest describeWatchlistRequest) Describes the specified watchlist.default DisassociateFraudsterResponse
disassociateFraudster
(Consumer<DisassociateFraudsterRequest.Builder> disassociateFraudsterRequest) Disassociates the fraudsters from the watchlist specified.default DisassociateFraudsterResponse
disassociateFraudster
(DisassociateFraudsterRequest disassociateFraudsterRequest) Disassociates the fraudsters from the watchlist specified.default EvaluateSessionResponse
evaluateSession
(Consumer<EvaluateSessionRequest.Builder> evaluateSessionRequest) Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call.default EvaluateSessionResponse
evaluateSession
(EvaluateSessionRequest evaluateSessionRequest) Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call.default ListDomainsResponse
listDomains
(Consumer<ListDomainsRequest.Builder> listDomainsRequest) Lists all the domains in the Amazon Web Services account.default ListDomainsResponse
listDomains
(ListDomainsRequest listDomainsRequest) Lists all the domains in the Amazon Web Services account.default ListDomainsIterable
listDomainsPaginator
(Consumer<ListDomainsRequest.Builder> listDomainsRequest) This is a variant oflistDomains(software.amazon.awssdk.services.voiceid.model.ListDomainsRequest)
operation.default ListDomainsIterable
listDomainsPaginator
(ListDomainsRequest listDomainsRequest) This is a variant oflistDomains(software.amazon.awssdk.services.voiceid.model.ListDomainsRequest)
operation.listFraudsterRegistrationJobs
(Consumer<ListFraudsterRegistrationJobsRequest.Builder> listFraudsterRegistrationJobsRequest) Lists all the fraudster registration jobs in the domain with the givenJobStatus
.listFraudsterRegistrationJobs
(ListFraudsterRegistrationJobsRequest listFraudsterRegistrationJobsRequest) Lists all the fraudster registration jobs in the domain with the givenJobStatus
.listFraudsterRegistrationJobsPaginator
(Consumer<ListFraudsterRegistrationJobsRequest.Builder> listFraudsterRegistrationJobsRequest) This is a variant oflistFraudsterRegistrationJobs(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsRequest)
operation.listFraudsterRegistrationJobsPaginator
(ListFraudsterRegistrationJobsRequest listFraudsterRegistrationJobsRequest) This is a variant oflistFraudsterRegistrationJobs(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsRequest)
operation.default ListFraudstersResponse
listFraudsters
(Consumer<ListFraudstersRequest.Builder> listFraudstersRequest) Lists all fraudsters in a specified watchlist or domain.default ListFraudstersResponse
listFraudsters
(ListFraudstersRequest listFraudstersRequest) Lists all fraudsters in a specified watchlist or domain.default ListFraudstersIterable
listFraudstersPaginator
(Consumer<ListFraudstersRequest.Builder> listFraudstersRequest) This is a variant oflistFraudsters(software.amazon.awssdk.services.voiceid.model.ListFraudstersRequest)
operation.default ListFraudstersIterable
listFraudstersPaginator
(ListFraudstersRequest listFraudstersRequest) This is a variant oflistFraudsters(software.amazon.awssdk.services.voiceid.model.ListFraudstersRequest)
operation.listSpeakerEnrollmentJobs
(Consumer<ListSpeakerEnrollmentJobsRequest.Builder> listSpeakerEnrollmentJobsRequest) Lists all the speaker enrollment jobs in the domain with the specifiedJobStatus
.listSpeakerEnrollmentJobs
(ListSpeakerEnrollmentJobsRequest listSpeakerEnrollmentJobsRequest) Lists all the speaker enrollment jobs in the domain with the specifiedJobStatus
.listSpeakerEnrollmentJobsPaginator
(Consumer<ListSpeakerEnrollmentJobsRequest.Builder> listSpeakerEnrollmentJobsRequest) This is a variant oflistSpeakerEnrollmentJobs(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsRequest)
operation.listSpeakerEnrollmentJobsPaginator
(ListSpeakerEnrollmentJobsRequest listSpeakerEnrollmentJobsRequest) This is a variant oflistSpeakerEnrollmentJobs(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsRequest)
operation.default ListSpeakersResponse
listSpeakers
(Consumer<ListSpeakersRequest.Builder> listSpeakersRequest) Lists all speakers in a specified domain.default ListSpeakersResponse
listSpeakers
(ListSpeakersRequest listSpeakersRequest) Lists all speakers in a specified domain.default ListSpeakersIterable
listSpeakersPaginator
(Consumer<ListSpeakersRequest.Builder> listSpeakersRequest) This is a variant oflistSpeakers(software.amazon.awssdk.services.voiceid.model.ListSpeakersRequest)
operation.default ListSpeakersIterable
listSpeakersPaginator
(ListSpeakersRequest listSpeakersRequest) This is a variant oflistSpeakers(software.amazon.awssdk.services.voiceid.model.ListSpeakersRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags associated with a specified Voice ID resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags associated with a specified Voice ID resource.default ListWatchlistsResponse
listWatchlists
(Consumer<ListWatchlistsRequest.Builder> listWatchlistsRequest) Lists all watchlists in a specified domain.default ListWatchlistsResponse
listWatchlists
(ListWatchlistsRequest listWatchlistsRequest) Lists all watchlists in a specified domain.default ListWatchlistsIterable
listWatchlistsPaginator
(Consumer<ListWatchlistsRequest.Builder> listWatchlistsRequest) This is a variant oflistWatchlists(software.amazon.awssdk.services.voiceid.model.ListWatchlistsRequest)
operation.default ListWatchlistsIterable
listWatchlistsPaginator
(ListWatchlistsRequest listWatchlistsRequest) This is a variant oflistWatchlists(software.amazon.awssdk.services.voiceid.model.ListWatchlistsRequest)
operation.default OptOutSpeakerResponse
optOutSpeaker
(Consumer<OptOutSpeakerRequest.Builder> optOutSpeakerRequest) Opts out a speaker from Voice ID.default OptOutSpeakerResponse
optOutSpeaker
(OptOutSpeakerRequest optOutSpeakerRequest) Opts out a speaker from Voice ID.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
startFraudsterRegistrationJob
(Consumer<StartFraudsterRegistrationJobRequest.Builder> startFraudsterRegistrationJobRequest) Starts a new batch fraudster registration job using provided details.startFraudsterRegistrationJob
(StartFraudsterRegistrationJobRequest startFraudsterRegistrationJobRequest) Starts a new batch fraudster registration job using provided details.startSpeakerEnrollmentJob
(Consumer<StartSpeakerEnrollmentJobRequest.Builder> startSpeakerEnrollmentJobRequest) Starts a new batch speaker enrollment job using specified details.startSpeakerEnrollmentJob
(StartSpeakerEnrollmentJobRequest startSpeakerEnrollmentJobRequest) Starts a new batch speaker enrollment job using specified details.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a Voice ID resource with the provided list of tags.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Tags a Voice ID resource with the provided list of tags.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes specified tags from a specified Amazon Connect Voice ID resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes specified tags from a specified Amazon Connect Voice ID resource.default UpdateDomainResponse
updateDomain
(Consumer<UpdateDomainRequest.Builder> updateDomainRequest) Updates the specified domain.default UpdateDomainResponse
updateDomain
(UpdateDomainRequest updateDomainRequest) Updates the specified domain.default UpdateWatchlistResponse
updateWatchlist
(Consumer<UpdateWatchlistRequest.Builder> updateWatchlistRequest) Updates the specified watchlist.default UpdateWatchlistResponse
updateWatchlist
(UpdateWatchlistRequest updateWatchlistRequest) Updates the specified watchlist.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateFraudster
default AssociateFraudsterResponse associateFraudster(AssociateFraudsterRequest associateFraudsterRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Associates the fraudsters with the watchlist specified in the same domain.
- Parameters:
associateFraudsterRequest
-- Returns:
- Result of the AssociateFraudster operation returned by the service.
- See Also:
-
associateFraudster
default AssociateFraudsterResponse associateFraudster(Consumer<AssociateFraudsterRequest.Builder> associateFraudsterRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaAssociateFraudsterRequest.builder()
- Parameters:
associateFraudsterRequest
- AConsumer
that will call methods onAssociateFraudsterRequest.Builder
to create a request.- Returns:
- Result of the AssociateFraudster operation returned by the service.
- See Also:
-
createDomain
default CreateDomainResponse createDomain(CreateDomainRequest createDomainRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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:
- Result of the CreateDomain operation returned by the service.
- See Also:
-
createDomain
default CreateDomainResponse createDomain(Consumer<CreateDomainRequest.Builder> createDomainRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaCreateDomainRequest.builder()
- Parameters:
createDomainRequest
- AConsumer
that will call methods onCreateDomainRequest.Builder
to create a request.- Returns:
- Result of the CreateDomain operation returned by the service.
- See Also:
-
createWatchlist
default CreateWatchlistResponse createWatchlist(CreateWatchlistRequest createWatchlistRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Creates a watchlist that fraudsters can be a part of.
- Parameters:
createWatchlistRequest
-- Returns:
- Result of the CreateWatchlist operation returned by the service.
- See Also:
-
createWatchlist
default CreateWatchlistResponse createWatchlist(Consumer<CreateWatchlistRequest.Builder> createWatchlistRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaCreateWatchlistRequest.builder()
- Parameters:
createWatchlistRequest
- AConsumer
that will call methods onCreateWatchlistRequest.Builder
to create a request.- Returns:
- Result of the CreateWatchlist operation returned by the service.
- See Also:
-
deleteDomain
default DeleteDomainResponse deleteDomain(DeleteDomainRequest deleteDomainRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Deletes the specified domain from Voice ID.
- Parameters:
deleteDomainRequest
-- Returns:
- Result of the DeleteDomain operation returned by the service.
- See Also:
-
deleteDomain
default DeleteDomainResponse deleteDomain(Consumer<DeleteDomainRequest.Builder> deleteDomainRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaDeleteDomainRequest.builder()
- Parameters:
deleteDomainRequest
- AConsumer
that will call methods onDeleteDomainRequest.Builder
to create a request.- Returns:
- Result of the DeleteDomain operation returned by the service.
- See Also:
-
deleteFraudster
default DeleteFraudsterResponse deleteFraudster(DeleteFraudsterRequest deleteFraudsterRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Deletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.
- Parameters:
deleteFraudsterRequest
-- Returns:
- Result of the DeleteFraudster operation returned by the service.
- See Also:
-
deleteFraudster
default DeleteFraudsterResponse deleteFraudster(Consumer<DeleteFraudsterRequest.Builder> deleteFraudsterRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaDeleteFraudsterRequest.builder()
- Parameters:
deleteFraudsterRequest
- AConsumer
that will call methods onDeleteFraudsterRequest.Builder
to create a request.- Returns:
- Result of the DeleteFraudster operation returned by the service.
- See Also:
-
deleteSpeaker
default DeleteSpeakerResponse deleteSpeaker(DeleteSpeakerRequest deleteSpeakerRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Deletes the specified speaker from Voice ID.
- Parameters:
deleteSpeakerRequest
-- Returns:
- Result of the DeleteSpeaker operation returned by the service.
- See Also:
-
deleteSpeaker
default DeleteSpeakerResponse deleteSpeaker(Consumer<DeleteSpeakerRequest.Builder> deleteSpeakerRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaDeleteSpeakerRequest.builder()
- Parameters:
deleteSpeakerRequest
- AConsumer
that will call methods onDeleteSpeakerRequest.Builder
to create a request.- Returns:
- Result of the DeleteSpeaker operation returned by the service.
- See Also:
-
deleteWatchlist
default DeleteWatchlistResponse deleteWatchlist(DeleteWatchlistRequest deleteWatchlistRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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:
- Result of the DeleteWatchlist operation returned by the service.
- See Also:
-
deleteWatchlist
default DeleteWatchlistResponse deleteWatchlist(Consumer<DeleteWatchlistRequest.Builder> deleteWatchlistRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaDeleteWatchlistRequest.builder()
- Parameters:
deleteWatchlistRequest
- AConsumer
that will call methods onDeleteWatchlistRequest.Builder
to create a request.- Returns:
- Result of the DeleteWatchlist operation returned by the service.
- See Also:
-
describeDomain
default DescribeDomainResponse describeDomain(DescribeDomainRequest describeDomainRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Describes the specified domain.
- Parameters:
describeDomainRequest
-- Returns:
- Result of the DescribeDomain operation returned by the service.
- See Also:
-
describeDomain
default DescribeDomainResponse describeDomain(Consumer<DescribeDomainRequest.Builder> describeDomainRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Describes the specified domain.
This is a convenience which creates an instance of the
DescribeDomainRequest.Builder
avoiding the need to create one manually viaDescribeDomainRequest.builder()
- Parameters:
describeDomainRequest
- AConsumer
that will call methods onDescribeDomainRequest.Builder
to create a request.- Returns:
- Result of the DescribeDomain operation returned by the service.
- See Also:
-
describeFraudster
default DescribeFraudsterResponse describeFraudster(DescribeFraudsterRequest describeFraudsterRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Describes the specified fraudster.
- Parameters:
describeFraudsterRequest
-- Returns:
- Result of the DescribeFraudster operation returned by the service.
- See Also:
-
describeFraudster
default DescribeFraudsterResponse describeFraudster(Consumer<DescribeFraudsterRequest.Builder> describeFraudsterRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Describes the specified fraudster.
This is a convenience which creates an instance of the
DescribeFraudsterRequest.Builder
avoiding the need to create one manually viaDescribeFraudsterRequest.builder()
- Parameters:
describeFraudsterRequest
- AConsumer
that will call methods onDescribeFraudsterRequest.Builder
to create a request.- Returns:
- Result of the DescribeFraudster operation returned by the service.
- See Also:
-
describeFraudsterRegistrationJob
default DescribeFraudsterRegistrationJobResponse describeFraudsterRegistrationJob(DescribeFraudsterRegistrationJobRequest describeFraudsterRegistrationJobRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Describes the specified fraudster registration job.
- Parameters:
describeFraudsterRegistrationJobRequest
-- Returns:
- Result of the DescribeFraudsterRegistrationJob operation returned by the service.
- See Also:
-
describeFraudsterRegistrationJob
default DescribeFraudsterRegistrationJobResponse describeFraudsterRegistrationJob(Consumer<DescribeFraudsterRegistrationJobRequest.Builder> describeFraudsterRegistrationJobRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaDescribeFraudsterRegistrationJobRequest.builder()
- Parameters:
describeFraudsterRegistrationJobRequest
- AConsumer
that will call methods onDescribeFraudsterRegistrationJobRequest.Builder
to create a request.- Returns:
- Result of the DescribeFraudsterRegistrationJob operation returned by the service.
- See Also:
-
describeSpeaker
default DescribeSpeakerResponse describeSpeaker(DescribeSpeakerRequest describeSpeakerRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Describes the specified speaker.
- Parameters:
describeSpeakerRequest
-- Returns:
- Result of the DescribeSpeaker operation returned by the service.
- See Also:
-
describeSpeaker
default DescribeSpeakerResponse describeSpeaker(Consumer<DescribeSpeakerRequest.Builder> describeSpeakerRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Describes the specified speaker.
This is a convenience which creates an instance of the
DescribeSpeakerRequest.Builder
avoiding the need to create one manually viaDescribeSpeakerRequest.builder()
- Parameters:
describeSpeakerRequest
- AConsumer
that will call methods onDescribeSpeakerRequest.Builder
to create a request.- Returns:
- Result of the DescribeSpeaker operation returned by the service.
- See Also:
-
describeSpeakerEnrollmentJob
default DescribeSpeakerEnrollmentJobResponse describeSpeakerEnrollmentJob(DescribeSpeakerEnrollmentJobRequest describeSpeakerEnrollmentJobRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Describes the specified speaker enrollment job.
- Parameters:
describeSpeakerEnrollmentJobRequest
-- Returns:
- Result of the DescribeSpeakerEnrollmentJob operation returned by the service.
- See Also:
-
describeSpeakerEnrollmentJob
default DescribeSpeakerEnrollmentJobResponse describeSpeakerEnrollmentJob(Consumer<DescribeSpeakerEnrollmentJobRequest.Builder> describeSpeakerEnrollmentJobRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaDescribeSpeakerEnrollmentJobRequest.builder()
- Parameters:
describeSpeakerEnrollmentJobRequest
- AConsumer
that will call methods onDescribeSpeakerEnrollmentJobRequest.Builder
to create a request.- Returns:
- Result of the DescribeSpeakerEnrollmentJob operation returned by the service.
- See Also:
-
describeWatchlist
default DescribeWatchlistResponse describeWatchlist(DescribeWatchlistRequest describeWatchlistRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Describes the specified watchlist.
- Parameters:
describeWatchlistRequest
-- Returns:
- Result of the DescribeWatchlist operation returned by the service.
- See Also:
-
describeWatchlist
default DescribeWatchlistResponse describeWatchlist(Consumer<DescribeWatchlistRequest.Builder> describeWatchlistRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Describes the specified watchlist.
This is a convenience which creates an instance of the
DescribeWatchlistRequest.Builder
avoiding the need to create one manually viaDescribeWatchlistRequest.builder()
- Parameters:
describeWatchlistRequest
- AConsumer
that will call methods onDescribeWatchlistRequest.Builder
to create a request.- Returns:
- Result of the DescribeWatchlist operation returned by the service.
- See Also:
-
disassociateFraudster
default DisassociateFraudsterResponse disassociateFraudster(DisassociateFraudsterRequest disassociateFraudsterRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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:
- Result of the DisassociateFraudster operation returned by the service.
- See Also:
-
disassociateFraudster
default DisassociateFraudsterResponse disassociateFraudster(Consumer<DisassociateFraudsterRequest.Builder> disassociateFraudsterRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaDisassociateFraudsterRequest.builder()
- Parameters:
disassociateFraudsterRequest
- AConsumer
that will call methods onDisassociateFraudsterRequest.Builder
to create a request.- Returns:
- Result of the DisassociateFraudster operation returned by the service.
- See Also:
-
evaluateSession
default EvaluateSessionResponse evaluateSession(EvaluateSessionRequest evaluateSessionRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call.
- Parameters:
evaluateSessionRequest
-- Returns:
- Result of the EvaluateSession operation returned by the service.
- See Also:
-
evaluateSession
default EvaluateSessionResponse evaluateSession(Consumer<EvaluateSessionRequest.Builder> evaluateSessionRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaEvaluateSessionRequest.builder()
- Parameters:
evaluateSessionRequest
- AConsumer
that will call methods onEvaluateSessionRequest.Builder
to create a request.- Returns:
- Result of the EvaluateSession operation returned by the service.
- See Also:
-
listDomains
default ListDomainsResponse listDomains(ListDomainsRequest listDomainsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Lists all the domains in the Amazon Web Services account.
- Parameters:
listDomainsRequest
-- Returns:
- Result of the ListDomains operation returned by the service.
- See Also:
-
listDomains
default ListDomainsResponse listDomains(Consumer<ListDomainsRequest.Builder> listDomainsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaListDomainsRequest.builder()
- Parameters:
listDomainsRequest
- AConsumer
that will call methods onListDomainsRequest.Builder
to create a request.- Returns:
- Result of the ListDomains operation returned by the service.
- See Also:
-
listDomainsPaginator
default ListDomainsIterable listDomainsPaginator(ListDomainsRequest listDomainsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listDomains(software.amazon.awssdk.services.voiceid.model.ListDomainsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListDomainsIterable responses = client.listDomainsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListDomainsIterable responses = client.listDomainsPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListDomainsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListDomainsIterable responses = client.listDomainsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomains(software.amazon.awssdk.services.voiceid.model.ListDomainsRequest)
operation.- Parameters:
listDomainsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDomainsPaginator
default ListDomainsIterable listDomainsPaginator(Consumer<ListDomainsRequest.Builder> listDomainsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listDomains(software.amazon.awssdk.services.voiceid.model.ListDomainsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListDomainsIterable responses = client.listDomainsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListDomainsIterable responses = client.listDomainsPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListDomainsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListDomainsIterable responses = client.listDomainsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaListDomainsRequest.builder()
- Parameters:
listDomainsRequest
- AConsumer
that will call methods onListDomainsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFraudsterRegistrationJobs
default ListFraudsterRegistrationJobsResponse listFraudsterRegistrationJobs(ListFraudsterRegistrationJobsRequest listFraudsterRegistrationJobsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Lists all the fraudster registration jobs in the domain with the given
JobStatus
. IfJobStatus
is not provided, this lists all fraudster registration jobs in the given domain.- Parameters:
listFraudsterRegistrationJobsRequest
-- Returns:
- Result of the ListFraudsterRegistrationJobs operation returned by the service.
- See Also:
-
listFraudsterRegistrationJobs
default ListFraudsterRegistrationJobsResponse listFraudsterRegistrationJobs(Consumer<ListFraudsterRegistrationJobsRequest.Builder> listFraudsterRegistrationJobsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Lists all the fraudster registration jobs in the domain with the given
JobStatus
. IfJobStatus
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 viaListFraudsterRegistrationJobsRequest.builder()
- Parameters:
listFraudsterRegistrationJobsRequest
- AConsumer
that will call methods onListFraudsterRegistrationJobsRequest.Builder
to create a request.- Returns:
- Result of the ListFraudsterRegistrationJobs operation returned by the service.
- See Also:
-
listFraudsterRegistrationJobsPaginator
default ListFraudsterRegistrationJobsIterable listFraudsterRegistrationJobsPaginator(ListFraudsterRegistrationJobsRequest listFraudsterRegistrationJobsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listFraudsterRegistrationJobs(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListFraudsterRegistrationJobsIterable responses = client.listFraudsterRegistrationJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListFraudsterRegistrationJobsIterable responses = client .listFraudsterRegistrationJobsPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListFraudsterRegistrationJobsIterable responses = client.listFraudsterRegistrationJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFraudsterRegistrationJobs(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsRequest)
operation.- Parameters:
listFraudsterRegistrationJobsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFraudsterRegistrationJobsPaginator
default ListFraudsterRegistrationJobsIterable listFraudsterRegistrationJobsPaginator(Consumer<ListFraudsterRegistrationJobsRequest.Builder> listFraudsterRegistrationJobsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listFraudsterRegistrationJobs(software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListFraudsterRegistrationJobsIterable responses = client.listFraudsterRegistrationJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListFraudsterRegistrationJobsIterable responses = client .listFraudsterRegistrationJobsPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListFraudsterRegistrationJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListFraudsterRegistrationJobsIterable responses = client.listFraudsterRegistrationJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaListFraudsterRegistrationJobsRequest.builder()
- Parameters:
listFraudsterRegistrationJobsRequest
- AConsumer
that will call methods onListFraudsterRegistrationJobsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFraudsters
default ListFraudstersResponse listFraudsters(ListFraudstersRequest listFraudstersRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Lists all fraudsters in a specified watchlist or domain.
- Parameters:
listFraudstersRequest
-- Returns:
- Result of the ListFraudsters operation returned by the service.
- See Also:
-
listFraudsters
default ListFraudstersResponse listFraudsters(Consumer<ListFraudstersRequest.Builder> listFraudstersRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaListFraudstersRequest.builder()
- Parameters:
listFraudstersRequest
- AConsumer
that will call methods onListFraudstersRequest.Builder
to create a request.- Returns:
- Result of the ListFraudsters operation returned by the service.
- See Also:
-
listFraudstersPaginator
default ListFraudstersIterable listFraudstersPaginator(ListFraudstersRequest listFraudstersRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listFraudsters(software.amazon.awssdk.services.voiceid.model.ListFraudstersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListFraudstersIterable responses = client.listFraudstersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListFraudstersIterable responses = client.listFraudstersPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListFraudstersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListFraudstersIterable responses = client.listFraudstersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFraudsters(software.amazon.awssdk.services.voiceid.model.ListFraudstersRequest)
operation.- Parameters:
listFraudstersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFraudstersPaginator
default ListFraudstersIterable listFraudstersPaginator(Consumer<ListFraudstersRequest.Builder> listFraudstersRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listFraudsters(software.amazon.awssdk.services.voiceid.model.ListFraudstersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListFraudstersIterable responses = client.listFraudstersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListFraudstersIterable responses = client.listFraudstersPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListFraudstersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListFraudstersIterable responses = client.listFraudstersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaListFraudstersRequest.builder()
- Parameters:
listFraudstersRequest
- AConsumer
that will call methods onListFraudstersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSpeakerEnrollmentJobs
default ListSpeakerEnrollmentJobsResponse listSpeakerEnrollmentJobs(ListSpeakerEnrollmentJobsRequest listSpeakerEnrollmentJobsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Lists all the speaker enrollment jobs in the domain with the specified
JobStatus
. IfJobStatus
is not provided, this lists all jobs with all possible speaker enrollment job statuses.- Parameters:
listSpeakerEnrollmentJobsRequest
-- Returns:
- Result of the ListSpeakerEnrollmentJobs operation returned by the service.
- See Also:
-
listSpeakerEnrollmentJobs
default ListSpeakerEnrollmentJobsResponse listSpeakerEnrollmentJobs(Consumer<ListSpeakerEnrollmentJobsRequest.Builder> listSpeakerEnrollmentJobsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Lists all the speaker enrollment jobs in the domain with the specified
JobStatus
. IfJobStatus
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 viaListSpeakerEnrollmentJobsRequest.builder()
- Parameters:
listSpeakerEnrollmentJobsRequest
- AConsumer
that will call methods onListSpeakerEnrollmentJobsRequest.Builder
to create a request.- Returns:
- Result of the ListSpeakerEnrollmentJobs operation returned by the service.
- See Also:
-
listSpeakerEnrollmentJobsPaginator
default ListSpeakerEnrollmentJobsIterable listSpeakerEnrollmentJobsPaginator(ListSpeakerEnrollmentJobsRequest listSpeakerEnrollmentJobsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listSpeakerEnrollmentJobs(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListSpeakerEnrollmentJobsIterable responses = client.listSpeakerEnrollmentJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListSpeakerEnrollmentJobsIterable responses = client .listSpeakerEnrollmentJobsPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListSpeakerEnrollmentJobsIterable responses = client.listSpeakerEnrollmentJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSpeakerEnrollmentJobs(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsRequest)
operation.- Parameters:
listSpeakerEnrollmentJobsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSpeakerEnrollmentJobsPaginator
default ListSpeakerEnrollmentJobsIterable listSpeakerEnrollmentJobsPaginator(Consumer<ListSpeakerEnrollmentJobsRequest.Builder> listSpeakerEnrollmentJobsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listSpeakerEnrollmentJobs(software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListSpeakerEnrollmentJobsIterable responses = client.listSpeakerEnrollmentJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListSpeakerEnrollmentJobsIterable responses = client .listSpeakerEnrollmentJobsPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListSpeakerEnrollmentJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListSpeakerEnrollmentJobsIterable responses = client.listSpeakerEnrollmentJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaListSpeakerEnrollmentJobsRequest.builder()
- Parameters:
listSpeakerEnrollmentJobsRequest
- AConsumer
that will call methods onListSpeakerEnrollmentJobsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSpeakers
default ListSpeakersResponse listSpeakers(ListSpeakersRequest listSpeakersRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Lists all speakers in a specified domain.
- Parameters:
listSpeakersRequest
-- Returns:
- Result of the ListSpeakers operation returned by the service.
- See Also:
-
listSpeakers
default ListSpeakersResponse listSpeakers(Consumer<ListSpeakersRequest.Builder> listSpeakersRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaListSpeakersRequest.builder()
- Parameters:
listSpeakersRequest
- AConsumer
that will call methods onListSpeakersRequest.Builder
to create a request.- Returns:
- Result of the ListSpeakers operation returned by the service.
- See Also:
-
listSpeakersPaginator
default ListSpeakersIterable listSpeakersPaginator(ListSpeakersRequest listSpeakersRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listSpeakers(software.amazon.awssdk.services.voiceid.model.ListSpeakersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListSpeakersIterable responses = client.listSpeakersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListSpeakersIterable responses = client.listSpeakersPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListSpeakersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListSpeakersIterable responses = client.listSpeakersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSpeakers(software.amazon.awssdk.services.voiceid.model.ListSpeakersRequest)
operation.- Parameters:
listSpeakersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSpeakersPaginator
default ListSpeakersIterable listSpeakersPaginator(Consumer<ListSpeakersRequest.Builder> listSpeakersRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listSpeakers(software.amazon.awssdk.services.voiceid.model.ListSpeakersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListSpeakersIterable responses = client.listSpeakersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListSpeakersIterable responses = client.listSpeakersPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListSpeakersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListSpeakersIterable responses = client.listSpeakersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaListSpeakersRequest.builder()
- Parameters:
listSpeakersRequest
- AConsumer
that will call methods onListSpeakersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Lists all tags associated with a specified Voice ID resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listWatchlists
default ListWatchlistsResponse listWatchlists(ListWatchlistsRequest listWatchlistsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Lists all watchlists in a specified domain.
- Parameters:
listWatchlistsRequest
-- Returns:
- Result of the ListWatchlists operation returned by the service.
- See Also:
-
listWatchlists
default ListWatchlistsResponse listWatchlists(Consumer<ListWatchlistsRequest.Builder> listWatchlistsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaListWatchlistsRequest.builder()
- Parameters:
listWatchlistsRequest
- AConsumer
that will call methods onListWatchlistsRequest.Builder
to create a request.- Returns:
- Result of the ListWatchlists operation returned by the service.
- See Also:
-
listWatchlistsPaginator
default ListWatchlistsIterable listWatchlistsPaginator(ListWatchlistsRequest listWatchlistsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listWatchlists(software.amazon.awssdk.services.voiceid.model.ListWatchlistsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListWatchlistsIterable responses = client.listWatchlistsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListWatchlistsIterable responses = client.listWatchlistsPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListWatchlistsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListWatchlistsIterable responses = client.listWatchlistsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWatchlists(software.amazon.awssdk.services.voiceid.model.ListWatchlistsRequest)
operation.- Parameters:
listWatchlistsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWatchlistsPaginator
default ListWatchlistsIterable listWatchlistsPaginator(Consumer<ListWatchlistsRequest.Builder> listWatchlistsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException This is a variant of
listWatchlists(software.amazon.awssdk.services.voiceid.model.ListWatchlistsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.voiceid.paginators.ListWatchlistsIterable responses = client.listWatchlistsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.voiceid.paginators.ListWatchlistsIterable responses = client.listWatchlistsPaginator(request); for (software.amazon.awssdk.services.voiceid.model.ListWatchlistsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.voiceid.paginators.ListWatchlistsIterable responses = client.listWatchlistsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 viaListWatchlistsRequest.builder()
- Parameters:
listWatchlistsRequest
- AConsumer
that will call methods onListWatchlistsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
optOutSpeaker
default OptOutSpeakerResponse optOutSpeaker(OptOutSpeakerRequest optOutSpeakerRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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:
- Result of the OptOutSpeaker operation returned by the service.
- See Also:
-
optOutSpeaker
default OptOutSpeakerResponse optOutSpeaker(Consumer<OptOutSpeakerRequest.Builder> optOutSpeakerRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaOptOutSpeakerRequest.builder()
- Parameters:
optOutSpeakerRequest
- AConsumer
that will call methods onOptOutSpeakerRequest.Builder
to create a request.- Returns:
- Result of the OptOutSpeaker operation returned by the service.
- See Also:
-
startFraudsterRegistrationJob
default StartFraudsterRegistrationJobResponse startFraudsterRegistrationJob(StartFraudsterRegistrationJobRequest startFraudsterRegistrationJobRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Starts a new batch fraudster registration job using provided details.
- Parameters:
startFraudsterRegistrationJobRequest
-- Returns:
- Result of the StartFraudsterRegistrationJob operation returned by the service.
- See Also:
-
startFraudsterRegistrationJob
default StartFraudsterRegistrationJobResponse startFraudsterRegistrationJob(Consumer<StartFraudsterRegistrationJobRequest.Builder> startFraudsterRegistrationJobRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaStartFraudsterRegistrationJobRequest.builder()
- Parameters:
startFraudsterRegistrationJobRequest
- AConsumer
that will call methods onStartFraudsterRegistrationJobRequest.Builder
to create a request.- Returns:
- Result of the StartFraudsterRegistrationJob operation returned by the service.
- See Also:
-
startSpeakerEnrollmentJob
default StartSpeakerEnrollmentJobResponse startSpeakerEnrollmentJob(StartSpeakerEnrollmentJobRequest startSpeakerEnrollmentJobRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Starts a new batch speaker enrollment job using specified details.
- Parameters:
startSpeakerEnrollmentJobRequest
-- Returns:
- Result of the StartSpeakerEnrollmentJob operation returned by the service.
- See Also:
-
startSpeakerEnrollmentJob
default StartSpeakerEnrollmentJobResponse startSpeakerEnrollmentJob(Consumer<StartSpeakerEnrollmentJobRequest.Builder> startSpeakerEnrollmentJobRequest) throws ServiceQuotaExceededException, ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaStartSpeakerEnrollmentJobRequest.builder()
- Parameters:
startSpeakerEnrollmentJobRequest
- AConsumer
that will call methods onStartSpeakerEnrollmentJobRequest.Builder
to create a request.- Returns:
- Result of the StartSpeakerEnrollmentJob operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Tags a Voice ID resource with the provided list of tags.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Removes specified tags from a specified Amazon Connect Voice ID resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateDomain
default UpdateDomainResponse updateDomain(UpdateDomainRequest updateDomainRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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:
- Result of the UpdateDomain operation returned by the service.
- See Also:
-
updateDomain
default UpdateDomainResponse updateDomain(Consumer<UpdateDomainRequest.Builder> updateDomainRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaUpdateDomainRequest.builder()
- Parameters:
updateDomainRequest
- AConsumer
that will call methods onUpdateDomainRequest.Builder
to create a request.- Returns:
- Result of the UpdateDomain operation returned by the service.
- See Also:
-
updateWatchlist
default UpdateWatchlistResponse updateWatchlist(UpdateWatchlistRequest updateWatchlistRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException Updates the specified watchlist. Every domain has a default watchlist which cannot be updated.
- Parameters:
updateWatchlistRequest
-- Returns:
- Result of the UpdateWatchlist operation returned by the service.
- See Also:
-
updateWatchlist
default UpdateWatchlistResponse updateWatchlist(Consumer<UpdateWatchlistRequest.Builder> updateWatchlistRequest) throws ResourceNotFoundException, ValidationException, ConflictException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, VoiceIdException 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 viaUpdateWatchlistRequest.builder()
- Parameters:
updateWatchlistRequest
- AConsumer
that will call methods onUpdateWatchlistRequest.Builder
to create a request.- Returns:
- Result of the UpdateWatchlist operation returned by the service.
- See Also:
-
create
Create aVoiceIdClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aVoiceIdClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-