@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonConnectCampaignAsync extends AmazonConnectCampaign
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonConnectCampaignAsync
instead.
Provide APIs to create and manage Amazon Connect Campaigns.
ENDPOINT_PREFIX
createCampaign, deleteCampaign, deleteConnectInstanceConfig, deleteInstanceOnboardingJob, describeCampaign, getCachedResponseMetadata, getCampaignState, getCampaignStateBatch, getConnectInstanceConfig, getInstanceOnboardingJobStatus, listCampaigns, listTagsForResource, pauseCampaign, putDialRequestBatch, resumeCampaign, shutdown, startCampaign, startInstanceOnboardingJob, stopCampaign, tagResource, untagResource, updateCampaignDialerConfig, updateCampaignName, updateCampaignOutboundCallConfig
Future<CreateCampaignResult> createCampaignAsync(CreateCampaignRequest createCampaignRequest)
Creates a campaign for the specified Amazon Connect account. This API is idempotent.
createCampaignRequest
- The request for Create Campaign API.Future<CreateCampaignResult> createCampaignAsync(CreateCampaignRequest createCampaignRequest, AsyncHandler<CreateCampaignRequest,CreateCampaignResult> asyncHandler)
Creates a campaign for the specified Amazon Connect account. This API is idempotent.
createCampaignRequest
- 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.Future<DeleteCampaignResult> deleteCampaignAsync(DeleteCampaignRequest deleteCampaignRequest)
Deletes a campaign from the specified Amazon Connect account.
deleteCampaignRequest
- DeleteCampaignRequestFuture<DeleteCampaignResult> deleteCampaignAsync(DeleteCampaignRequest deleteCampaignRequest, AsyncHandler<DeleteCampaignRequest,DeleteCampaignResult> asyncHandler)
Deletes a campaign from the specified Amazon Connect account.
deleteCampaignRequest
- 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.Future<DeleteConnectInstanceConfigResult> deleteConnectInstanceConfigAsync(DeleteConnectInstanceConfigRequest deleteConnectInstanceConfigRequest)
Deletes a connect instance config from the specified AWS account.
deleteConnectInstanceConfigRequest
- DeleteCampaignRequestFuture<DeleteConnectInstanceConfigResult> deleteConnectInstanceConfigAsync(DeleteConnectInstanceConfigRequest deleteConnectInstanceConfigRequest, AsyncHandler<DeleteConnectInstanceConfigRequest,DeleteConnectInstanceConfigResult> asyncHandler)
Deletes a connect instance config from the specified AWS account.
deleteConnectInstanceConfigRequest
- 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.Future<DeleteInstanceOnboardingJobResult> deleteInstanceOnboardingJobAsync(DeleteInstanceOnboardingJobRequest deleteInstanceOnboardingJobRequest)
Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
deleteInstanceOnboardingJobRequest
- The request for DeleteInstanceOnboardingJob API.Future<DeleteInstanceOnboardingJobResult> deleteInstanceOnboardingJobAsync(DeleteInstanceOnboardingJobRequest deleteInstanceOnboardingJobRequest, AsyncHandler<DeleteInstanceOnboardingJobRequest,DeleteInstanceOnboardingJobResult> asyncHandler)
Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
deleteInstanceOnboardingJobRequest
- 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.Future<DescribeCampaignResult> describeCampaignAsync(DescribeCampaignRequest describeCampaignRequest)
Describes the specific campaign.
describeCampaignRequest
- DescribeCampaignRequestsFuture<DescribeCampaignResult> describeCampaignAsync(DescribeCampaignRequest describeCampaignRequest, AsyncHandler<DescribeCampaignRequest,DescribeCampaignResult> asyncHandler)
Describes the specific campaign.
describeCampaignRequest
- 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.Future<GetCampaignStateResult> getCampaignStateAsync(GetCampaignStateRequest getCampaignStateRequest)
Get state of a campaign for the specified Amazon Connect account.
getCampaignStateRequest
- GetCampaignStateRequestFuture<GetCampaignStateResult> getCampaignStateAsync(GetCampaignStateRequest getCampaignStateRequest, AsyncHandler<GetCampaignStateRequest,GetCampaignStateResult> asyncHandler)
Get state of a campaign for the specified Amazon Connect account.
getCampaignStateRequest
- 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.Future<GetCampaignStateBatchResult> getCampaignStateBatchAsync(GetCampaignStateBatchRequest getCampaignStateBatchRequest)
Get state of campaigns for the specified Amazon Connect account.
getCampaignStateBatchRequest
- GetCampaignStateBatchRequestFuture<GetCampaignStateBatchResult> getCampaignStateBatchAsync(GetCampaignStateBatchRequest getCampaignStateBatchRequest, AsyncHandler<GetCampaignStateBatchRequest,GetCampaignStateBatchResult> asyncHandler)
Get state of campaigns for the specified Amazon Connect account.
getCampaignStateBatchRequest
- 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.Future<GetConnectInstanceConfigResult> getConnectInstanceConfigAsync(GetConnectInstanceConfigRequest getConnectInstanceConfigRequest)
Get the specific Connect instance config.
getConnectInstanceConfigRequest
- GetConnectInstanceConfigRequestFuture<GetConnectInstanceConfigResult> getConnectInstanceConfigAsync(GetConnectInstanceConfigRequest getConnectInstanceConfigRequest, AsyncHandler<GetConnectInstanceConfigRequest,GetConnectInstanceConfigResult> asyncHandler)
Get the specific Connect instance config.
getConnectInstanceConfigRequest
- 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.Future<GetInstanceOnboardingJobStatusResult> getInstanceOnboardingJobStatusAsync(GetInstanceOnboardingJobStatusRequest getInstanceOnboardingJobStatusRequest)
Get the specific instance onboarding job status.
getInstanceOnboardingJobStatusRequest
- GetInstanceOnboardingJobStatusRequestFuture<GetInstanceOnboardingJobStatusResult> getInstanceOnboardingJobStatusAsync(GetInstanceOnboardingJobStatusRequest getInstanceOnboardingJobStatusRequest, AsyncHandler<GetInstanceOnboardingJobStatusRequest,GetInstanceOnboardingJobStatusResult> asyncHandler)
Get the specific instance onboarding job status.
getInstanceOnboardingJobStatusRequest
- 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.Future<ListCampaignsResult> listCampaignsAsync(ListCampaignsRequest listCampaignsRequest)
Provides summary information about the campaigns under the specified Amazon Connect account.
listCampaignsRequest
- ListCampaignsRequestFuture<ListCampaignsResult> listCampaignsAsync(ListCampaignsRequest listCampaignsRequest, AsyncHandler<ListCampaignsRequest,ListCampaignsResult> asyncHandler)
Provides summary information about the campaigns under the specified Amazon Connect account.
listCampaignsRequest
- 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.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
List tags for a resource.
listTagsForResourceRequest
- ListTagsForResourceFuture<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
List tags for a resource.
listTagsForResourceRequest
- 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.Future<PauseCampaignResult> pauseCampaignAsync(PauseCampaignRequest pauseCampaignRequest)
Pauses a campaign for the specified Amazon Connect account.
pauseCampaignRequest
- PauseCampaignRequestFuture<PauseCampaignResult> pauseCampaignAsync(PauseCampaignRequest pauseCampaignRequest, AsyncHandler<PauseCampaignRequest,PauseCampaignResult> asyncHandler)
Pauses a campaign for the specified Amazon Connect account.
pauseCampaignRequest
- 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.Future<PutDialRequestBatchResult> putDialRequestBatchAsync(PutDialRequestBatchRequest putDialRequestBatchRequest)
Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
putDialRequestBatchRequest
- PutDialRequestBatchRequestFuture<PutDialRequestBatchResult> putDialRequestBatchAsync(PutDialRequestBatchRequest putDialRequestBatchRequest, AsyncHandler<PutDialRequestBatchRequest,PutDialRequestBatchResult> asyncHandler)
Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
putDialRequestBatchRequest
- 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.Future<ResumeCampaignResult> resumeCampaignAsync(ResumeCampaignRequest resumeCampaignRequest)
Stops a campaign for the specified Amazon Connect account.
resumeCampaignRequest
- ResumeCampaignRequestFuture<ResumeCampaignResult> resumeCampaignAsync(ResumeCampaignRequest resumeCampaignRequest, AsyncHandler<ResumeCampaignRequest,ResumeCampaignResult> asyncHandler)
Stops a campaign for the specified Amazon Connect account.
resumeCampaignRequest
- 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.Future<StartCampaignResult> startCampaignAsync(StartCampaignRequest startCampaignRequest)
Starts a campaign for the specified Amazon Connect account.
startCampaignRequest
- StartCampaignRequestFuture<StartCampaignResult> startCampaignAsync(StartCampaignRequest startCampaignRequest, AsyncHandler<StartCampaignRequest,StartCampaignResult> asyncHandler)
Starts a campaign for the specified Amazon Connect account.
startCampaignRequest
- 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.Future<StartInstanceOnboardingJobResult> startInstanceOnboardingJobAsync(StartInstanceOnboardingJobRequest startInstanceOnboardingJobRequest)
Onboard the specific Amazon Connect instance to Connect Campaigns.
startInstanceOnboardingJobRequest
- The request for StartInstanceOnboardingJob API.Future<StartInstanceOnboardingJobResult> startInstanceOnboardingJobAsync(StartInstanceOnboardingJobRequest startInstanceOnboardingJobRequest, AsyncHandler<StartInstanceOnboardingJobRequest,StartInstanceOnboardingJobResult> asyncHandler)
Onboard the specific Amazon Connect instance to Connect Campaigns.
startInstanceOnboardingJobRequest
- 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.Future<StopCampaignResult> stopCampaignAsync(StopCampaignRequest stopCampaignRequest)
Stops a campaign for the specified Amazon Connect account.
stopCampaignRequest
- StopCampaignRequestFuture<StopCampaignResult> stopCampaignAsync(StopCampaignRequest stopCampaignRequest, AsyncHandler<StopCampaignRequest,StopCampaignResult> asyncHandler)
Stops a campaign for the specified Amazon Connect account.
stopCampaignRequest
- 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Tag a resource.
tagResourceRequest
- TagResourceRequestFuture<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Tag a resource.
tagResourceRequest
- 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.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Untag a resource.
untagResourceRequest
- UntagResourceRequestFuture<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Untag a resource.
untagResourceRequest
- 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.Future<UpdateCampaignDialerConfigResult> updateCampaignDialerConfigAsync(UpdateCampaignDialerConfigRequest updateCampaignDialerConfigRequest)
Updates the dialer config of a campaign. This API is idempotent.
updateCampaignDialerConfigRequest
- UpdateCampaignDialerConfigRequestFuture<UpdateCampaignDialerConfigResult> updateCampaignDialerConfigAsync(UpdateCampaignDialerConfigRequest updateCampaignDialerConfigRequest, AsyncHandler<UpdateCampaignDialerConfigRequest,UpdateCampaignDialerConfigResult> asyncHandler)
Updates the dialer config of a campaign. This API is idempotent.
updateCampaignDialerConfigRequest
- 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.Future<UpdateCampaignNameResult> updateCampaignNameAsync(UpdateCampaignNameRequest updateCampaignNameRequest)
Updates the name of a campaign. This API is idempotent.
updateCampaignNameRequest
- UpdateCampaignNameRequestFuture<UpdateCampaignNameResult> updateCampaignNameAsync(UpdateCampaignNameRequest updateCampaignNameRequest, AsyncHandler<UpdateCampaignNameRequest,UpdateCampaignNameResult> asyncHandler)
Updates the name of a campaign. This API is idempotent.
updateCampaignNameRequest
- 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.Future<UpdateCampaignOutboundCallConfigResult> updateCampaignOutboundCallConfigAsync(UpdateCampaignOutboundCallConfigRequest updateCampaignOutboundCallConfigRequest)
Updates the outbound call config of a campaign. This API is idempotent.
updateCampaignOutboundCallConfigRequest
- UpdateCampaignOutboundCallConfigRequestFuture<UpdateCampaignOutboundCallConfigResult> updateCampaignOutboundCallConfigAsync(UpdateCampaignOutboundCallConfigRequest updateCampaignOutboundCallConfigRequest, AsyncHandler<UpdateCampaignOutboundCallConfigRequest,UpdateCampaignOutboundCallConfigResult> asyncHandler)
Updates the outbound call config of a campaign. This API is idempotent.
updateCampaignOutboundCallConfigRequest
- 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.