@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_METRIC
ENDPOINT_PREFIX
builder, createCampaign, deleteCampaign, deleteConnectInstanceConfig, deleteInstanceOnboardingJob, describeCampaign, getCachedResponseMetadata, getCampaignState, getCampaignStateBatch, getConnectInstanceConfig, getInstanceOnboardingJobStatus, listCampaigns, listTagsForResource, pauseCampaign, putDialRequestBatch, resumeCampaign, startCampaign, startInstanceOnboardingJob, stopCampaign, tagResource, untagResource, updateCampaignDialerConfig, updateCampaignName, updateCampaignOutboundCallConfig
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
createCampaign, deleteCampaign, deleteConnectInstanceConfig, deleteInstanceOnboardingJob, describeCampaign, getCachedResponseMetadata, getCampaignState, getCampaignStateBatch, getConnectInstanceConfig, getInstanceOnboardingJobStatus, listCampaigns, listTagsForResource, pauseCampaign, putDialRequestBatch, resumeCampaign, startCampaign, startInstanceOnboardingJob, stopCampaign, tagResource, untagResource, updateCampaignDialerConfig, updateCampaignName, updateCampaignOutboundCallConfig
public static AmazonConnectCampaignAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateCampaignResult> createCampaignAsync(CreateCampaignRequest request)
AmazonConnectCampaignAsync
Creates a campaign for the specified Amazon Connect account. This API is idempotent.
createCampaignAsync
in interface AmazonConnectCampaignAsync
request
- The request for Create Campaign API.public Future<CreateCampaignResult> createCampaignAsync(CreateCampaignRequest request, AsyncHandler<CreateCampaignRequest,CreateCampaignResult> asyncHandler)
AmazonConnectCampaignAsync
Creates a campaign for the specified Amazon Connect account. This API is idempotent.
createCampaignAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Deletes a campaign from the specified Amazon Connect account.
deleteCampaignAsync
in interface AmazonConnectCampaignAsync
request
- DeleteCampaignRequestpublic Future<DeleteCampaignResult> deleteCampaignAsync(DeleteCampaignRequest request, AsyncHandler<DeleteCampaignRequest,DeleteCampaignResult> asyncHandler)
AmazonConnectCampaignAsync
Deletes a campaign from the specified Amazon Connect account.
deleteCampaignAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Deletes a connect instance config from the specified AWS account.
deleteConnectInstanceConfigAsync
in interface AmazonConnectCampaignAsync
request
- DeleteCampaignRequestpublic Future<DeleteConnectInstanceConfigResult> deleteConnectInstanceConfigAsync(DeleteConnectInstanceConfigRequest request, AsyncHandler<DeleteConnectInstanceConfigRequest,DeleteConnectInstanceConfigResult> asyncHandler)
AmazonConnectCampaignAsync
Deletes a connect instance config from the specified AWS account.
deleteConnectInstanceConfigAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
deleteInstanceOnboardingJobAsync
in interface AmazonConnectCampaignAsync
request
- The request for DeleteInstanceOnboardingJob API.public Future<DeleteInstanceOnboardingJobResult> deleteInstanceOnboardingJobAsync(DeleteInstanceOnboardingJobRequest request, AsyncHandler<DeleteInstanceOnboardingJobRequest,DeleteInstanceOnboardingJobResult> asyncHandler)
AmazonConnectCampaignAsync
Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
deleteInstanceOnboardingJobAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Describes the specific campaign.
describeCampaignAsync
in interface AmazonConnectCampaignAsync
request
- DescribeCampaignRequestspublic Future<DescribeCampaignResult> describeCampaignAsync(DescribeCampaignRequest request, AsyncHandler<DescribeCampaignRequest,DescribeCampaignResult> asyncHandler)
AmazonConnectCampaignAsync
Describes the specific campaign.
describeCampaignAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Get state of a campaign for the specified Amazon Connect account.
getCampaignStateAsync
in interface AmazonConnectCampaignAsync
request
- GetCampaignStateRequestpublic Future<GetCampaignStateResult> getCampaignStateAsync(GetCampaignStateRequest request, AsyncHandler<GetCampaignStateRequest,GetCampaignStateResult> asyncHandler)
AmazonConnectCampaignAsync
Get state of a campaign for the specified Amazon Connect account.
getCampaignStateAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Get state of campaigns for the specified Amazon Connect account.
getCampaignStateBatchAsync
in interface AmazonConnectCampaignAsync
request
- GetCampaignStateBatchRequestpublic Future<GetCampaignStateBatchResult> getCampaignStateBatchAsync(GetCampaignStateBatchRequest request, AsyncHandler<GetCampaignStateBatchRequest,GetCampaignStateBatchResult> asyncHandler)
AmazonConnectCampaignAsync
Get state of campaigns for the specified Amazon Connect account.
getCampaignStateBatchAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Get the specific Connect instance config.
getConnectInstanceConfigAsync
in interface AmazonConnectCampaignAsync
request
- GetConnectInstanceConfigRequestpublic Future<GetConnectInstanceConfigResult> getConnectInstanceConfigAsync(GetConnectInstanceConfigRequest request, AsyncHandler<GetConnectInstanceConfigRequest,GetConnectInstanceConfigResult> asyncHandler)
AmazonConnectCampaignAsync
Get the specific Connect instance config.
getConnectInstanceConfigAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Get the specific instance onboarding job status.
getInstanceOnboardingJobStatusAsync
in interface AmazonConnectCampaignAsync
request
- GetInstanceOnboardingJobStatusRequestpublic Future<GetInstanceOnboardingJobStatusResult> getInstanceOnboardingJobStatusAsync(GetInstanceOnboardingJobStatusRequest request, AsyncHandler<GetInstanceOnboardingJobStatusRequest,GetInstanceOnboardingJobStatusResult> asyncHandler)
AmazonConnectCampaignAsync
Get the specific instance onboarding job status.
getInstanceOnboardingJobStatusAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Provides summary information about the campaigns under the specified Amazon Connect account.
listCampaignsAsync
in interface AmazonConnectCampaignAsync
request
- ListCampaignsRequestpublic Future<ListCampaignsResult> listCampaignsAsync(ListCampaignsRequest request, AsyncHandler<ListCampaignsRequest,ListCampaignsResult> asyncHandler)
AmazonConnectCampaignAsync
Provides summary information about the campaigns under the specified Amazon Connect account.
listCampaignsAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
List tags for a resource.
listTagsForResourceAsync
in interface AmazonConnectCampaignAsync
request
- ListTagsForResourcepublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonConnectCampaignAsync
List tags for a resource.
listTagsForResourceAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Pauses a campaign for the specified Amazon Connect account.
pauseCampaignAsync
in interface AmazonConnectCampaignAsync
request
- PauseCampaignRequestpublic Future<PauseCampaignResult> pauseCampaignAsync(PauseCampaignRequest request, AsyncHandler<PauseCampaignRequest,PauseCampaignResult> asyncHandler)
AmazonConnectCampaignAsync
Pauses a campaign for the specified Amazon Connect account.
pauseCampaignAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
putDialRequestBatchAsync
in interface AmazonConnectCampaignAsync
request
- PutDialRequestBatchRequestpublic Future<PutDialRequestBatchResult> putDialRequestBatchAsync(PutDialRequestBatchRequest request, AsyncHandler<PutDialRequestBatchRequest,PutDialRequestBatchResult> asyncHandler)
AmazonConnectCampaignAsync
Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
putDialRequestBatchAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Stops a campaign for the specified Amazon Connect account.
resumeCampaignAsync
in interface AmazonConnectCampaignAsync
request
- ResumeCampaignRequestpublic Future<ResumeCampaignResult> resumeCampaignAsync(ResumeCampaignRequest request, AsyncHandler<ResumeCampaignRequest,ResumeCampaignResult> asyncHandler)
AmazonConnectCampaignAsync
Stops a campaign for the specified Amazon Connect account.
resumeCampaignAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Starts a campaign for the specified Amazon Connect account.
startCampaignAsync
in interface AmazonConnectCampaignAsync
request
- StartCampaignRequestpublic Future<StartCampaignResult> startCampaignAsync(StartCampaignRequest request, AsyncHandler<StartCampaignRequest,StartCampaignResult> asyncHandler)
AmazonConnectCampaignAsync
Starts a campaign for the specified Amazon Connect account.
startCampaignAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Onboard the specific Amazon Connect instance to Connect Campaigns.
startInstanceOnboardingJobAsync
in interface AmazonConnectCampaignAsync
request
- The request for StartInstanceOnboardingJob API.public Future<StartInstanceOnboardingJobResult> startInstanceOnboardingJobAsync(StartInstanceOnboardingJobRequest request, AsyncHandler<StartInstanceOnboardingJobRequest,StartInstanceOnboardingJobResult> asyncHandler)
AmazonConnectCampaignAsync
Onboard the specific Amazon Connect instance to Connect Campaigns.
startInstanceOnboardingJobAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Stops a campaign for the specified Amazon Connect account.
stopCampaignAsync
in interface AmazonConnectCampaignAsync
request
- StopCampaignRequestpublic Future<StopCampaignResult> stopCampaignAsync(StopCampaignRequest request, AsyncHandler<StopCampaignRequest,StopCampaignResult> asyncHandler)
AmazonConnectCampaignAsync
Stops a campaign for the specified Amazon Connect account.
stopCampaignAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Tag a resource.
tagResourceAsync
in interface AmazonConnectCampaignAsync
request
- TagResourceRequestpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonConnectCampaignAsync
Tag a resource.
tagResourceAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Untag a resource.
untagResourceAsync
in interface AmazonConnectCampaignAsync
request
- UntagResourceRequestpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonConnectCampaignAsync
Untag a resource.
untagResourceAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Updates the dialer config of a campaign. This API is idempotent.
updateCampaignDialerConfigAsync
in interface AmazonConnectCampaignAsync
request
- UpdateCampaignDialerConfigRequestpublic Future<UpdateCampaignDialerConfigResult> updateCampaignDialerConfigAsync(UpdateCampaignDialerConfigRequest request, AsyncHandler<UpdateCampaignDialerConfigRequest,UpdateCampaignDialerConfigResult> asyncHandler)
AmazonConnectCampaignAsync
Updates the dialer config of a campaign. This API is idempotent.
updateCampaignDialerConfigAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Updates the name of a campaign. This API is idempotent.
updateCampaignNameAsync
in interface AmazonConnectCampaignAsync
request
- UpdateCampaignNameRequestpublic Future<UpdateCampaignNameResult> updateCampaignNameAsync(UpdateCampaignNameRequest request, AsyncHandler<UpdateCampaignNameRequest,UpdateCampaignNameResult> asyncHandler)
AmazonConnectCampaignAsync
Updates the name of a campaign. This API is idempotent.
updateCampaignNameAsync
in interface AmazonConnectCampaignAsync
request
- 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)
AmazonConnectCampaignAsync
Updates the outbound call config of a campaign. This API is idempotent.
updateCampaignOutboundCallConfigAsync
in interface AmazonConnectCampaignAsync
request
- UpdateCampaignOutboundCallConfigRequestpublic Future<UpdateCampaignOutboundCallConfigResult> updateCampaignOutboundCallConfigAsync(UpdateCampaignOutboundCallConfigRequest request, AsyncHandler<UpdateCampaignOutboundCallConfigRequest,UpdateCampaignOutboundCallConfigResult> asyncHandler)
AmazonConnectCampaignAsync
Updates the outbound call config of a campaign. This API is idempotent.
updateCampaignOutboundCallConfigAsync
in interface AmazonConnectCampaignAsync
request
- 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 AmazonConnectCampaign
shutdown
in class AmazonConnectCampaignClient