@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonVoiceIDAsyncClient extends AmazonVoiceIDClient implements AmazonVoiceIDAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Amazon Connect Voice ID provides real-time caller authentication and fraud risk detection, which make voice interactions in contact centers more secure and efficient.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
associateFraudster, builder, createDomain, createWatchlist, deleteDomain, deleteFraudster, deleteSpeaker, deleteWatchlist, describeDomain, describeFraudster, describeFraudsterRegistrationJob, describeSpeaker, describeSpeakerEnrollmentJob, describeWatchlist, disassociateFraudster, evaluateSession, getCachedResponseMetadata, listDomains, listFraudsterRegistrationJobs, listFraudsters, listSpeakerEnrollmentJobs, listSpeakers, listTagsForResource, listWatchlists, optOutSpeaker, startFraudsterRegistrationJob, startSpeakerEnrollmentJob, tagResource, untagResource, updateDomain, updateWatchlist
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateFraudster, createDomain, createWatchlist, deleteDomain, deleteFraudster, deleteSpeaker, deleteWatchlist, describeDomain, describeFraudster, describeFraudsterRegistrationJob, describeSpeaker, describeSpeakerEnrollmentJob, describeWatchlist, disassociateFraudster, evaluateSession, getCachedResponseMetadata, listDomains, listFraudsterRegistrationJobs, listFraudsters, listSpeakerEnrollmentJobs, listSpeakers, listTagsForResource, listWatchlists, optOutSpeaker, startFraudsterRegistrationJob, startSpeakerEnrollmentJob, tagResource, untagResource, updateDomain, updateWatchlist
public static AmazonVoiceIDAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateFraudsterResult> associateFraudsterAsync(AssociateFraudsterRequest request)
AmazonVoiceIDAsync
Associates the fraudsters with the watchlist specified in the same domain.
associateFraudsterAsync
in interface AmazonVoiceIDAsync
public Future<AssociateFraudsterResult> associateFraudsterAsync(AssociateFraudsterRequest request, AsyncHandler<AssociateFraudsterRequest,AssociateFraudsterResult> asyncHandler)
AmazonVoiceIDAsync
Associates the fraudsters with the watchlist specified in the same domain.
associateFraudsterAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDomainResult> createDomainAsync(CreateDomainRequest request)
AmazonVoiceIDAsync
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.
createDomainAsync
in interface AmazonVoiceIDAsync
public Future<CreateDomainResult> createDomainAsync(CreateDomainRequest request, AsyncHandler<CreateDomainRequest,CreateDomainResult> asyncHandler)
AmazonVoiceIDAsync
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.
createDomainAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateWatchlistResult> createWatchlistAsync(CreateWatchlistRequest request)
AmazonVoiceIDAsync
Creates a watchlist that fraudsters can be a part of.
createWatchlistAsync
in interface AmazonVoiceIDAsync
public Future<CreateWatchlistResult> createWatchlistAsync(CreateWatchlistRequest request, AsyncHandler<CreateWatchlistRequest,CreateWatchlistResult> asyncHandler)
AmazonVoiceIDAsync
Creates a watchlist that fraudsters can be a part of.
createWatchlistAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest request)
AmazonVoiceIDAsync
Deletes the specified domain from Voice ID.
deleteDomainAsync
in interface AmazonVoiceIDAsync
public Future<DeleteDomainResult> deleteDomainAsync(DeleteDomainRequest request, AsyncHandler<DeleteDomainRequest,DeleteDomainResult> asyncHandler)
AmazonVoiceIDAsync
Deletes the specified domain from Voice ID.
deleteDomainAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteFraudsterResult> deleteFraudsterAsync(DeleteFraudsterRequest request)
AmazonVoiceIDAsync
Deletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.
deleteFraudsterAsync
in interface AmazonVoiceIDAsync
public Future<DeleteFraudsterResult> deleteFraudsterAsync(DeleteFraudsterRequest request, AsyncHandler<DeleteFraudsterRequest,DeleteFraudsterResult> asyncHandler)
AmazonVoiceIDAsync
Deletes the specified fraudster from Voice ID. This action disassociates the fraudster from any watchlists it is a part of.
deleteFraudsterAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSpeakerResult> deleteSpeakerAsync(DeleteSpeakerRequest request)
AmazonVoiceIDAsync
Deletes the specified speaker from Voice ID.
deleteSpeakerAsync
in interface AmazonVoiceIDAsync
public Future<DeleteSpeakerResult> deleteSpeakerAsync(DeleteSpeakerRequest request, AsyncHandler<DeleteSpeakerRequest,DeleteSpeakerResult> asyncHandler)
AmazonVoiceIDAsync
Deletes the specified speaker from Voice ID.
deleteSpeakerAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteWatchlistResult> deleteWatchlistAsync(DeleteWatchlistRequest request)
AmazonVoiceIDAsync
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.
deleteWatchlistAsync
in interface AmazonVoiceIDAsync
public Future<DeleteWatchlistResult> deleteWatchlistAsync(DeleteWatchlistRequest request, AsyncHandler<DeleteWatchlistRequest,DeleteWatchlistResult> asyncHandler)
AmazonVoiceIDAsync
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.
deleteWatchlistAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeDomainResult> describeDomainAsync(DescribeDomainRequest request)
AmazonVoiceIDAsync
Describes the specified domain.
describeDomainAsync
in interface AmazonVoiceIDAsync
public Future<DescribeDomainResult> describeDomainAsync(DescribeDomainRequest request, AsyncHandler<DescribeDomainRequest,DescribeDomainResult> asyncHandler)
AmazonVoiceIDAsync
Describes the specified domain.
describeDomainAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFraudsterResult> describeFraudsterAsync(DescribeFraudsterRequest request)
AmazonVoiceIDAsync
Describes the specified fraudster.
describeFraudsterAsync
in interface AmazonVoiceIDAsync
public Future<DescribeFraudsterResult> describeFraudsterAsync(DescribeFraudsterRequest request, AsyncHandler<DescribeFraudsterRequest,DescribeFraudsterResult> asyncHandler)
AmazonVoiceIDAsync
Describes the specified fraudster.
describeFraudsterAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeFraudsterRegistrationJobResult> describeFraudsterRegistrationJobAsync(DescribeFraudsterRegistrationJobRequest request)
AmazonVoiceIDAsync
Describes the specified fraudster registration job.
describeFraudsterRegistrationJobAsync
in interface AmazonVoiceIDAsync
public Future<DescribeFraudsterRegistrationJobResult> describeFraudsterRegistrationJobAsync(DescribeFraudsterRegistrationJobRequest request, AsyncHandler<DescribeFraudsterRegistrationJobRequest,DescribeFraudsterRegistrationJobResult> asyncHandler)
AmazonVoiceIDAsync
Describes the specified fraudster registration job.
describeFraudsterRegistrationJobAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSpeakerResult> describeSpeakerAsync(DescribeSpeakerRequest request)
AmazonVoiceIDAsync
Describes the specified speaker.
describeSpeakerAsync
in interface AmazonVoiceIDAsync
public Future<DescribeSpeakerResult> describeSpeakerAsync(DescribeSpeakerRequest request, AsyncHandler<DescribeSpeakerRequest,DescribeSpeakerResult> asyncHandler)
AmazonVoiceIDAsync
Describes the specified speaker.
describeSpeakerAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeSpeakerEnrollmentJobResult> describeSpeakerEnrollmentJobAsync(DescribeSpeakerEnrollmentJobRequest request)
AmazonVoiceIDAsync
Describes the specified speaker enrollment job.
describeSpeakerEnrollmentJobAsync
in interface AmazonVoiceIDAsync
public Future<DescribeSpeakerEnrollmentJobResult> describeSpeakerEnrollmentJobAsync(DescribeSpeakerEnrollmentJobRequest request, AsyncHandler<DescribeSpeakerEnrollmentJobRequest,DescribeSpeakerEnrollmentJobResult> asyncHandler)
AmazonVoiceIDAsync
Describes the specified speaker enrollment job.
describeSpeakerEnrollmentJobAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeWatchlistResult> describeWatchlistAsync(DescribeWatchlistRequest request)
AmazonVoiceIDAsync
Describes the specified watchlist.
describeWatchlistAsync
in interface AmazonVoiceIDAsync
public Future<DescribeWatchlistResult> describeWatchlistAsync(DescribeWatchlistRequest request, AsyncHandler<DescribeWatchlistRequest,DescribeWatchlistResult> asyncHandler)
AmazonVoiceIDAsync
Describes the specified watchlist.
describeWatchlistAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateFraudsterResult> disassociateFraudsterAsync(DisassociateFraudsterRequest request)
AmazonVoiceIDAsync
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.
disassociateFraudsterAsync
in interface AmazonVoiceIDAsync
public Future<DisassociateFraudsterResult> disassociateFraudsterAsync(DisassociateFraudsterRequest request, AsyncHandler<DisassociateFraudsterRequest,DisassociateFraudsterResult> asyncHandler)
AmazonVoiceIDAsync
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.
disassociateFraudsterAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<EvaluateSessionResult> evaluateSessionAsync(EvaluateSessionRequest request)
AmazonVoiceIDAsync
Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call.
evaluateSessionAsync
in interface AmazonVoiceIDAsync
public Future<EvaluateSessionResult> evaluateSessionAsync(EvaluateSessionRequest request, AsyncHandler<EvaluateSessionRequest,EvaluateSessionResult> asyncHandler)
AmazonVoiceIDAsync
Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice ID call.
evaluateSessionAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListDomainsResult> listDomainsAsync(ListDomainsRequest request)
AmazonVoiceIDAsync
Lists all the domains in the Amazon Web Services account.
listDomainsAsync
in interface AmazonVoiceIDAsync
public Future<ListDomainsResult> listDomainsAsync(ListDomainsRequest request, AsyncHandler<ListDomainsRequest,ListDomainsResult> asyncHandler)
AmazonVoiceIDAsync
Lists all the domains in the Amazon Web Services account.
listDomainsAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFraudsterRegistrationJobsResult> listFraudsterRegistrationJobsAsync(ListFraudsterRegistrationJobsRequest request)
AmazonVoiceIDAsync
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.
listFraudsterRegistrationJobsAsync
in interface AmazonVoiceIDAsync
public Future<ListFraudsterRegistrationJobsResult> listFraudsterRegistrationJobsAsync(ListFraudsterRegistrationJobsRequest request, AsyncHandler<ListFraudsterRegistrationJobsRequest,ListFraudsterRegistrationJobsResult> asyncHandler)
AmazonVoiceIDAsync
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.
listFraudsterRegistrationJobsAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListFraudstersResult> listFraudstersAsync(ListFraudstersRequest request)
AmazonVoiceIDAsync
Lists all fraudsters in a specified watchlist or domain.
listFraudstersAsync
in interface AmazonVoiceIDAsync
public Future<ListFraudstersResult> listFraudstersAsync(ListFraudstersRequest request, AsyncHandler<ListFraudstersRequest,ListFraudstersResult> asyncHandler)
AmazonVoiceIDAsync
Lists all fraudsters in a specified watchlist or domain.
listFraudstersAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSpeakerEnrollmentJobsResult> listSpeakerEnrollmentJobsAsync(ListSpeakerEnrollmentJobsRequest request)
AmazonVoiceIDAsync
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.
listSpeakerEnrollmentJobsAsync
in interface AmazonVoiceIDAsync
public Future<ListSpeakerEnrollmentJobsResult> listSpeakerEnrollmentJobsAsync(ListSpeakerEnrollmentJobsRequest request, AsyncHandler<ListSpeakerEnrollmentJobsRequest,ListSpeakerEnrollmentJobsResult> asyncHandler)
AmazonVoiceIDAsync
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.
listSpeakerEnrollmentJobsAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSpeakersResult> listSpeakersAsync(ListSpeakersRequest request)
AmazonVoiceIDAsync
Lists all speakers in a specified domain.
listSpeakersAsync
in interface AmazonVoiceIDAsync
public Future<ListSpeakersResult> listSpeakersAsync(ListSpeakersRequest request, AsyncHandler<ListSpeakersRequest,ListSpeakersResult> asyncHandler)
AmazonVoiceIDAsync
Lists all speakers in a specified domain.
listSpeakersAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonVoiceIDAsync
Lists all tags associated with a specified Voice ID resource.
listTagsForResourceAsync
in interface AmazonVoiceIDAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonVoiceIDAsync
Lists all tags associated with a specified Voice ID resource.
listTagsForResourceAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListWatchlistsResult> listWatchlistsAsync(ListWatchlistsRequest request)
AmazonVoiceIDAsync
Lists all watchlists in a specified domain.
listWatchlistsAsync
in interface AmazonVoiceIDAsync
public Future<ListWatchlistsResult> listWatchlistsAsync(ListWatchlistsRequest request, AsyncHandler<ListWatchlistsRequest,ListWatchlistsResult> asyncHandler)
AmazonVoiceIDAsync
Lists all watchlists in a specified domain.
listWatchlistsAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<OptOutSpeakerResult> optOutSpeakerAsync(OptOutSpeakerRequest request)
AmazonVoiceIDAsync
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.
optOutSpeakerAsync
in interface AmazonVoiceIDAsync
public Future<OptOutSpeakerResult> optOutSpeakerAsync(OptOutSpeakerRequest request, AsyncHandler<OptOutSpeakerRequest,OptOutSpeakerResult> asyncHandler)
AmazonVoiceIDAsync
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.
optOutSpeakerAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartFraudsterRegistrationJobResult> startFraudsterRegistrationJobAsync(StartFraudsterRegistrationJobRequest request)
AmazonVoiceIDAsync
Starts a new batch fraudster registration job using provided details.
startFraudsterRegistrationJobAsync
in interface AmazonVoiceIDAsync
public Future<StartFraudsterRegistrationJobResult> startFraudsterRegistrationJobAsync(StartFraudsterRegistrationJobRequest request, AsyncHandler<StartFraudsterRegistrationJobRequest,StartFraudsterRegistrationJobResult> asyncHandler)
AmazonVoiceIDAsync
Starts a new batch fraudster registration job using provided details.
startFraudsterRegistrationJobAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<StartSpeakerEnrollmentJobResult> startSpeakerEnrollmentJobAsync(StartSpeakerEnrollmentJobRequest request)
AmazonVoiceIDAsync
Starts a new batch speaker enrollment job using specified details.
startSpeakerEnrollmentJobAsync
in interface AmazonVoiceIDAsync
public Future<StartSpeakerEnrollmentJobResult> startSpeakerEnrollmentJobAsync(StartSpeakerEnrollmentJobRequest request, AsyncHandler<StartSpeakerEnrollmentJobRequest,StartSpeakerEnrollmentJobResult> asyncHandler)
AmazonVoiceIDAsync
Starts a new batch speaker enrollment job using specified details.
startSpeakerEnrollmentJobAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonVoiceIDAsync
Tags a Voice ID resource with the provided list of tags.
tagResourceAsync
in interface AmazonVoiceIDAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonVoiceIDAsync
Tags a Voice ID resource with the provided list of tags.
tagResourceAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonVoiceIDAsync
Removes specified tags from a specified Amazon Connect Voice ID resource.
untagResourceAsync
in interface AmazonVoiceIDAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonVoiceIDAsync
Removes specified tags from a specified Amazon Connect Voice ID resource.
untagResourceAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateDomainResult> updateDomainAsync(UpdateDomainRequest request)
AmazonVoiceIDAsync
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.
updateDomainAsync
in interface AmazonVoiceIDAsync
public Future<UpdateDomainResult> updateDomainAsync(UpdateDomainRequest request, AsyncHandler<UpdateDomainRequest,UpdateDomainResult> asyncHandler)
AmazonVoiceIDAsync
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.
updateDomainAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateWatchlistResult> updateWatchlistAsync(UpdateWatchlistRequest request)
AmazonVoiceIDAsync
Updates the specified watchlist. Every domain has a default watchlist which cannot be updated.
updateWatchlistAsync
in interface AmazonVoiceIDAsync
public Future<UpdateWatchlistResult> updateWatchlistAsync(UpdateWatchlistRequest request, AsyncHandler<UpdateWatchlistRequest,UpdateWatchlistResult> asyncHandler)
AmazonVoiceIDAsync
Updates the specified watchlist. Every domain has a default watchlist which cannot be updated.
updateWatchlistAsync
in interface AmazonVoiceIDAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonVoiceID
shutdown
in class AmazonVoiceIDClient