@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonConnectCampaignAsyncClient extends AmazonConnectCampaignClient implements AmazonConnectCampaignAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Provide APIs to create and manage Amazon Connect Campaigns.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createCampaign, deleteCampaign, deleteConnectInstanceConfig, deleteInstanceOnboardingJob, describeCampaign, getCachedResponseMetadata, getCampaignState, getCampaignStateBatch, getConnectInstanceConfig, getInstanceOnboardingJobStatus, listCampaigns, listTagsForResource, pauseCampaign, putDialRequestBatch, resumeCampaign, startCampaign, startInstanceOnboardingJob, stopCampaign, tagResource, untagResource, updateCampaignDialerConfig, updateCampaignName, updateCampaignOutboundCallConfigaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCampaign, deleteCampaign, deleteConnectInstanceConfig, deleteInstanceOnboardingJob, describeCampaign, getCachedResponseMetadata, getCampaignState, getCampaignStateBatch, getConnectInstanceConfig, getInstanceOnboardingJobStatus, listCampaigns, listTagsForResource, pauseCampaign, putDialRequestBatch, resumeCampaign, startCampaign, startInstanceOnboardingJob, stopCampaign, tagResource, untagResource, updateCampaignDialerConfig, updateCampaignName, updateCampaignOutboundCallConfigpublic static AmazonConnectCampaignAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateCampaignResult> createCampaignAsync(CreateCampaignRequest request)
AmazonConnectCampaignAsyncCreates a campaign for the specified Amazon Connect account. This API is idempotent.
createCampaignAsync in interface AmazonConnectCampaignAsyncrequest - The request for Create Campaign API.public Future<CreateCampaignResult> createCampaignAsync(CreateCampaignRequest request, AsyncHandler<CreateCampaignRequest,CreateCampaignResult> asyncHandler)
AmazonConnectCampaignAsyncCreates a campaign for the specified Amazon Connect account. This API is idempotent.
createCampaignAsync in interface AmazonConnectCampaignAsyncrequest - The request for Create Campaign API.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<DeleteCampaignResult> deleteCampaignAsync(DeleteCampaignRequest request)
AmazonConnectCampaignAsyncDeletes a campaign from the specified Amazon Connect account.
deleteCampaignAsync in interface AmazonConnectCampaignAsyncrequest - DeleteCampaignRequestpublic Future<DeleteCampaignResult> deleteCampaignAsync(DeleteCampaignRequest request, AsyncHandler<DeleteCampaignRequest,DeleteCampaignResult> asyncHandler)
AmazonConnectCampaignAsyncDeletes a campaign from the specified Amazon Connect account.
deleteCampaignAsync in interface AmazonConnectCampaignAsyncrequest - DeleteCampaignRequestasyncHandler - 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<DeleteConnectInstanceConfigResult> deleteConnectInstanceConfigAsync(DeleteConnectInstanceConfigRequest request)
AmazonConnectCampaignAsyncDeletes a connect instance config from the specified AWS account.
deleteConnectInstanceConfigAsync in interface AmazonConnectCampaignAsyncrequest - DeleteCampaignRequestpublic Future<DeleteConnectInstanceConfigResult> deleteConnectInstanceConfigAsync(DeleteConnectInstanceConfigRequest request, AsyncHandler<DeleteConnectInstanceConfigRequest,DeleteConnectInstanceConfigResult> asyncHandler)
AmazonConnectCampaignAsyncDeletes a connect instance config from the specified AWS account.
deleteConnectInstanceConfigAsync in interface AmazonConnectCampaignAsyncrequest - DeleteCampaignRequestasyncHandler - 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<DeleteInstanceOnboardingJobResult> deleteInstanceOnboardingJobAsync(DeleteInstanceOnboardingJobRequest request)
AmazonConnectCampaignAsyncDelete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
deleteInstanceOnboardingJobAsync in interface AmazonConnectCampaignAsyncrequest - The request for DeleteInstanceOnboardingJob API.public Future<DeleteInstanceOnboardingJobResult> deleteInstanceOnboardingJobAsync(DeleteInstanceOnboardingJobRequest request, AsyncHandler<DeleteInstanceOnboardingJobRequest,DeleteInstanceOnboardingJobResult> asyncHandler)
AmazonConnectCampaignAsyncDelete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
deleteInstanceOnboardingJobAsync in interface AmazonConnectCampaignAsyncrequest - The request for DeleteInstanceOnboardingJob API.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<DescribeCampaignResult> describeCampaignAsync(DescribeCampaignRequest request)
AmazonConnectCampaignAsyncDescribes the specific campaign.
describeCampaignAsync in interface AmazonConnectCampaignAsyncrequest - DescribeCampaignRequestspublic Future<DescribeCampaignResult> describeCampaignAsync(DescribeCampaignRequest request, AsyncHandler<DescribeCampaignRequest,DescribeCampaignResult> asyncHandler)
AmazonConnectCampaignAsyncDescribes the specific campaign.
describeCampaignAsync in interface AmazonConnectCampaignAsyncrequest - DescribeCampaignRequestsasyncHandler - 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<GetCampaignStateResult> getCampaignStateAsync(GetCampaignStateRequest request)
AmazonConnectCampaignAsyncGet state of a campaign for the specified Amazon Connect account.
getCampaignStateAsync in interface AmazonConnectCampaignAsyncrequest - GetCampaignStateRequestpublic Future<GetCampaignStateResult> getCampaignStateAsync(GetCampaignStateRequest request, AsyncHandler<GetCampaignStateRequest,GetCampaignStateResult> asyncHandler)
AmazonConnectCampaignAsyncGet state of a campaign for the specified Amazon Connect account.
getCampaignStateAsync in interface AmazonConnectCampaignAsyncrequest - GetCampaignStateRequestasyncHandler - 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<GetCampaignStateBatchResult> getCampaignStateBatchAsync(GetCampaignStateBatchRequest request)
AmazonConnectCampaignAsyncGet state of campaigns for the specified Amazon Connect account.
getCampaignStateBatchAsync in interface AmazonConnectCampaignAsyncrequest - GetCampaignStateBatchRequestpublic Future<GetCampaignStateBatchResult> getCampaignStateBatchAsync(GetCampaignStateBatchRequest request, AsyncHandler<GetCampaignStateBatchRequest,GetCampaignStateBatchResult> asyncHandler)
AmazonConnectCampaignAsyncGet state of campaigns for the specified Amazon Connect account.
getCampaignStateBatchAsync in interface AmazonConnectCampaignAsyncrequest - GetCampaignStateBatchRequestasyncHandler - 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<GetConnectInstanceConfigResult> getConnectInstanceConfigAsync(GetConnectInstanceConfigRequest request)
AmazonConnectCampaignAsyncGet the specific Connect instance config.
getConnectInstanceConfigAsync in interface AmazonConnectCampaignAsyncrequest - GetConnectInstanceConfigRequestpublic Future<GetConnectInstanceConfigResult> getConnectInstanceConfigAsync(GetConnectInstanceConfigRequest request, AsyncHandler<GetConnectInstanceConfigRequest,GetConnectInstanceConfigResult> asyncHandler)
AmazonConnectCampaignAsyncGet the specific Connect instance config.
getConnectInstanceConfigAsync in interface AmazonConnectCampaignAsyncrequest - GetConnectInstanceConfigRequestasyncHandler - 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<GetInstanceOnboardingJobStatusResult> getInstanceOnboardingJobStatusAsync(GetInstanceOnboardingJobStatusRequest request)
AmazonConnectCampaignAsyncGet the specific instance onboarding job status.
getInstanceOnboardingJobStatusAsync in interface AmazonConnectCampaignAsyncrequest - GetInstanceOnboardingJobStatusRequestpublic Future<GetInstanceOnboardingJobStatusResult> getInstanceOnboardingJobStatusAsync(GetInstanceOnboardingJobStatusRequest request, AsyncHandler<GetInstanceOnboardingJobStatusRequest,GetInstanceOnboardingJobStatusResult> asyncHandler)
AmazonConnectCampaignAsyncGet the specific instance onboarding job status.
getInstanceOnboardingJobStatusAsync in interface AmazonConnectCampaignAsyncrequest - GetInstanceOnboardingJobStatusRequestasyncHandler - 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<ListCampaignsResult> listCampaignsAsync(ListCampaignsRequest request)
AmazonConnectCampaignAsyncProvides summary information about the campaigns under the specified Amazon Connect account.
listCampaignsAsync in interface AmazonConnectCampaignAsyncrequest - ListCampaignsRequestpublic Future<ListCampaignsResult> listCampaignsAsync(ListCampaignsRequest request, AsyncHandler<ListCampaignsRequest,ListCampaignsResult> asyncHandler)
AmazonConnectCampaignAsyncProvides summary information about the campaigns under the specified Amazon Connect account.
listCampaignsAsync in interface AmazonConnectCampaignAsyncrequest - ListCampaignsRequestasyncHandler - 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)
AmazonConnectCampaignAsyncList tags for a resource.
listTagsForResourceAsync in interface AmazonConnectCampaignAsyncrequest - ListTagsForResourcepublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonConnectCampaignAsyncList tags for a resource.
listTagsForResourceAsync in interface AmazonConnectCampaignAsyncrequest - ListTagsForResourceasyncHandler - 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<PauseCampaignResult> pauseCampaignAsync(PauseCampaignRequest request)
AmazonConnectCampaignAsyncPauses a campaign for the specified Amazon Connect account.
pauseCampaignAsync in interface AmazonConnectCampaignAsyncrequest - PauseCampaignRequestpublic Future<PauseCampaignResult> pauseCampaignAsync(PauseCampaignRequest request, AsyncHandler<PauseCampaignRequest,PauseCampaignResult> asyncHandler)
AmazonConnectCampaignAsyncPauses a campaign for the specified Amazon Connect account.
pauseCampaignAsync in interface AmazonConnectCampaignAsyncrequest - PauseCampaignRequestasyncHandler - 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<PutDialRequestBatchResult> putDialRequestBatchAsync(PutDialRequestBatchRequest request)
AmazonConnectCampaignAsyncCreates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
putDialRequestBatchAsync in interface AmazonConnectCampaignAsyncrequest - PutDialRequestBatchRequestpublic Future<PutDialRequestBatchResult> putDialRequestBatchAsync(PutDialRequestBatchRequest request, AsyncHandler<PutDialRequestBatchRequest,PutDialRequestBatchResult> asyncHandler)
AmazonConnectCampaignAsyncCreates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
putDialRequestBatchAsync in interface AmazonConnectCampaignAsyncrequest - PutDialRequestBatchRequestasyncHandler - 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<ResumeCampaignResult> resumeCampaignAsync(ResumeCampaignRequest request)
AmazonConnectCampaignAsyncStops a campaign for the specified Amazon Connect account.
resumeCampaignAsync in interface AmazonConnectCampaignAsyncrequest - ResumeCampaignRequestpublic Future<ResumeCampaignResult> resumeCampaignAsync(ResumeCampaignRequest request, AsyncHandler<ResumeCampaignRequest,ResumeCampaignResult> asyncHandler)
AmazonConnectCampaignAsyncStops a campaign for the specified Amazon Connect account.
resumeCampaignAsync in interface AmazonConnectCampaignAsyncrequest - ResumeCampaignRequestasyncHandler - 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<StartCampaignResult> startCampaignAsync(StartCampaignRequest request)
AmazonConnectCampaignAsyncStarts a campaign for the specified Amazon Connect account.
startCampaignAsync in interface AmazonConnectCampaignAsyncrequest - StartCampaignRequestpublic Future<StartCampaignResult> startCampaignAsync(StartCampaignRequest request, AsyncHandler<StartCampaignRequest,StartCampaignResult> asyncHandler)
AmazonConnectCampaignAsyncStarts a campaign for the specified Amazon Connect account.
startCampaignAsync in interface AmazonConnectCampaignAsyncrequest - StartCampaignRequestasyncHandler - 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<StartInstanceOnboardingJobResult> startInstanceOnboardingJobAsync(StartInstanceOnboardingJobRequest request)
AmazonConnectCampaignAsyncOnboard the specific Amazon Connect instance to Connect Campaigns.
startInstanceOnboardingJobAsync in interface AmazonConnectCampaignAsyncrequest - The request for StartInstanceOnboardingJob API.public Future<StartInstanceOnboardingJobResult> startInstanceOnboardingJobAsync(StartInstanceOnboardingJobRequest request, AsyncHandler<StartInstanceOnboardingJobRequest,StartInstanceOnboardingJobResult> asyncHandler)
AmazonConnectCampaignAsyncOnboard the specific Amazon Connect instance to Connect Campaigns.
startInstanceOnboardingJobAsync in interface AmazonConnectCampaignAsyncrequest - The request for StartInstanceOnboardingJob API.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<StopCampaignResult> stopCampaignAsync(StopCampaignRequest request)
AmazonConnectCampaignAsyncStops a campaign for the specified Amazon Connect account.
stopCampaignAsync in interface AmazonConnectCampaignAsyncrequest - StopCampaignRequestpublic Future<StopCampaignResult> stopCampaignAsync(StopCampaignRequest request, AsyncHandler<StopCampaignRequest,StopCampaignResult> asyncHandler)
AmazonConnectCampaignAsyncStops a campaign for the specified Amazon Connect account.
stopCampaignAsync in interface AmazonConnectCampaignAsyncrequest - StopCampaignRequestasyncHandler - 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)
AmazonConnectCampaignAsyncTag a resource.
tagResourceAsync in interface AmazonConnectCampaignAsyncrequest - TagResourceRequestpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonConnectCampaignAsyncTag a resource.
tagResourceAsync in interface AmazonConnectCampaignAsyncrequest - TagResourceRequestasyncHandler - 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)
AmazonConnectCampaignAsyncUntag a resource.
untagResourceAsync in interface AmazonConnectCampaignAsyncrequest - UntagResourceRequestpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonConnectCampaignAsyncUntag a resource.
untagResourceAsync in interface AmazonConnectCampaignAsyncrequest - UntagResourceRequestasyncHandler - 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<UpdateCampaignDialerConfigResult> updateCampaignDialerConfigAsync(UpdateCampaignDialerConfigRequest request)
AmazonConnectCampaignAsyncUpdates the dialer config of a campaign. This API is idempotent.
updateCampaignDialerConfigAsync in interface AmazonConnectCampaignAsyncrequest - UpdateCampaignDialerConfigRequestpublic Future<UpdateCampaignDialerConfigResult> updateCampaignDialerConfigAsync(UpdateCampaignDialerConfigRequest request, AsyncHandler<UpdateCampaignDialerConfigRequest,UpdateCampaignDialerConfigResult> asyncHandler)
AmazonConnectCampaignAsyncUpdates the dialer config of a campaign. This API is idempotent.
updateCampaignDialerConfigAsync in interface AmazonConnectCampaignAsyncrequest - UpdateCampaignDialerConfigRequestasyncHandler - 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<UpdateCampaignNameResult> updateCampaignNameAsync(UpdateCampaignNameRequest request)
AmazonConnectCampaignAsyncUpdates the name of a campaign. This API is idempotent.
updateCampaignNameAsync in interface AmazonConnectCampaignAsyncrequest - UpdateCampaignNameRequestpublic Future<UpdateCampaignNameResult> updateCampaignNameAsync(UpdateCampaignNameRequest request, AsyncHandler<UpdateCampaignNameRequest,UpdateCampaignNameResult> asyncHandler)
AmazonConnectCampaignAsyncUpdates the name of a campaign. This API is idempotent.
updateCampaignNameAsync in interface AmazonConnectCampaignAsyncrequest - UpdateCampaignNameRequestasyncHandler - 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<UpdateCampaignOutboundCallConfigResult> updateCampaignOutboundCallConfigAsync(UpdateCampaignOutboundCallConfigRequest request)
AmazonConnectCampaignAsyncUpdates the outbound call config of a campaign. This API is idempotent.
updateCampaignOutboundCallConfigAsync in interface AmazonConnectCampaignAsyncrequest - UpdateCampaignOutboundCallConfigRequestpublic Future<UpdateCampaignOutboundCallConfigResult> updateCampaignOutboundCallConfigAsync(UpdateCampaignOutboundCallConfigRequest request, AsyncHandler<UpdateCampaignOutboundCallConfigRequest,UpdateCampaignOutboundCallConfigResult> asyncHandler)
AmazonConnectCampaignAsyncUpdates the outbound call config of a campaign. This API is idempotent.
updateCampaignOutboundCallConfigAsync in interface AmazonConnectCampaignAsyncrequest - UpdateCampaignOutboundCallConfigRequestasyncHandler - 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 AmazonConnectCampaignshutdown in class AmazonConnectCampaignClient