/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.connectcampaign; import javax.annotation.Generated; import com.amazonaws.services.connectcampaign.model.*; /** * Interface for accessing AmazonConnectCampaignService asynchronously. Each asynchronous method will return a Java * Future object representing the asynchronous operation; overloads which accept an {@code 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 * {@link com.amazonaws.services.connectcampaign.AbstractAmazonConnectCampaignAsync} instead. *
**
* Provide APIs to create and manage Amazon Connect Campaigns. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonConnectCampaignAsync extends AmazonConnectCampaign { /** ** Creates a campaign for the specified Amazon Connect account. This API is idempotent. *
* * @param createCampaignRequest * The request for Create Campaign API. * @return A Java Future containing the result of the CreateCampaign operation returned by the service. * @sample AmazonConnectCampaignAsync.CreateCampaign * @see AWS API Documentation */ java.util.concurrent.Future* Creates a campaign for the specified Amazon Connect account. This API is idempotent. *
* * @param createCampaignRequest * The request for Create Campaign API. * @param 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. * @return A Java Future containing the result of the CreateCampaign operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.CreateCampaign * @see AWS API Documentation */ java.util.concurrent.Future* Deletes a campaign from the specified Amazon Connect account. *
* * @param deleteCampaignRequest * DeleteCampaignRequest * @return A Java Future containing the result of the DeleteCampaign operation returned by the service. * @sample AmazonConnectCampaignAsync.DeleteCampaign * @see AWS API Documentation */ java.util.concurrent.Future* Deletes a campaign from the specified Amazon Connect account. *
* * @param deleteCampaignRequest * DeleteCampaignRequest * @param 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. * @return A Java Future containing the result of the DeleteCampaign operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.DeleteCampaign * @see AWS API Documentation */ java.util.concurrent.Future* Deletes a connect instance config from the specified AWS account. *
* * @param deleteConnectInstanceConfigRequest * DeleteCampaignRequest * @return A Java Future containing the result of the DeleteConnectInstanceConfig operation returned by the service. * @sample AmazonConnectCampaignAsync.DeleteConnectInstanceConfig * @see AWS API Documentation */ java.util.concurrent.Future* Deletes a connect instance config from the specified AWS account. *
* * @param deleteConnectInstanceConfigRequest * DeleteCampaignRequest * @param 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. * @return A Java Future containing the result of the DeleteConnectInstanceConfig operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.DeleteConnectInstanceConfig * @see AWS API Documentation */ java.util.concurrent.Future* Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance. *
* * @param deleteInstanceOnboardingJobRequest * The request for DeleteInstanceOnboardingJob API. * @return A Java Future containing the result of the DeleteInstanceOnboardingJob operation returned by the service. * @sample AmazonConnectCampaignAsync.DeleteInstanceOnboardingJob * @see AWS API Documentation */ java.util.concurrent.Future* Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance. *
* * @param deleteInstanceOnboardingJobRequest * The request for DeleteInstanceOnboardingJob API. * @param 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. * @return A Java Future containing the result of the DeleteInstanceOnboardingJob operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.DeleteInstanceOnboardingJob * @see AWS API Documentation */ java.util.concurrent.Future* Describes the specific campaign. *
* * @param describeCampaignRequest * DescribeCampaignRequests * @return A Java Future containing the result of the DescribeCampaign operation returned by the service. * @sample AmazonConnectCampaignAsync.DescribeCampaign * @see AWS API Documentation */ java.util.concurrent.Future* Describes the specific campaign. *
* * @param describeCampaignRequest * DescribeCampaignRequests * @param 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. * @return A Java Future containing the result of the DescribeCampaign operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.DescribeCampaign * @see AWS API Documentation */ java.util.concurrent.Future* Get state of a campaign for the specified Amazon Connect account. *
* * @param getCampaignStateRequest * GetCampaignStateRequest * @return A Java Future containing the result of the GetCampaignState operation returned by the service. * @sample AmazonConnectCampaignAsync.GetCampaignState * @see AWS API Documentation */ java.util.concurrent.Future* Get state of a campaign for the specified Amazon Connect account. *
* * @param getCampaignStateRequest * GetCampaignStateRequest * @param 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. * @return A Java Future containing the result of the GetCampaignState operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.GetCampaignState * @see AWS API Documentation */ java.util.concurrent.Future* Get state of campaigns for the specified Amazon Connect account. *
* * @param getCampaignStateBatchRequest * GetCampaignStateBatchRequest * @return A Java Future containing the result of the GetCampaignStateBatch operation returned by the service. * @sample AmazonConnectCampaignAsync.GetCampaignStateBatch * @see AWS API Documentation */ java.util.concurrent.Future* Get state of campaigns for the specified Amazon Connect account. *
* * @param getCampaignStateBatchRequest * GetCampaignStateBatchRequest * @param 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. * @return A Java Future containing the result of the GetCampaignStateBatch operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.GetCampaignStateBatch * @see AWS API Documentation */ java.util.concurrent.Future* Get the specific Connect instance config. *
* * @param getConnectInstanceConfigRequest * GetConnectInstanceConfigRequest * @return A Java Future containing the result of the GetConnectInstanceConfig operation returned by the service. * @sample AmazonConnectCampaignAsync.GetConnectInstanceConfig * @see AWS API Documentation */ java.util.concurrent.Future* Get the specific Connect instance config. *
* * @param getConnectInstanceConfigRequest * GetConnectInstanceConfigRequest * @param 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. * @return A Java Future containing the result of the GetConnectInstanceConfig operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.GetConnectInstanceConfig * @see AWS API Documentation */ java.util.concurrent.Future* Get the specific instance onboarding job status. *
* * @param getInstanceOnboardingJobStatusRequest * GetInstanceOnboardingJobStatusRequest * @return A Java Future containing the result of the GetInstanceOnboardingJobStatus operation returned by the * service. * @sample AmazonConnectCampaignAsync.GetInstanceOnboardingJobStatus * @see AWS API Documentation */ java.util.concurrent.Future* Get the specific instance onboarding job status. *
* * @param getInstanceOnboardingJobStatusRequest * GetInstanceOnboardingJobStatusRequest * @param 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. * @return A Java Future containing the result of the GetInstanceOnboardingJobStatus operation returned by the * service. * @sample AmazonConnectCampaignAsyncHandler.GetInstanceOnboardingJobStatus * @see AWS API Documentation */ java.util.concurrent.Future* Provides summary information about the campaigns under the specified Amazon Connect account. *
* * @param listCampaignsRequest * ListCampaignsRequest * @return A Java Future containing the result of the ListCampaigns operation returned by the service. * @sample AmazonConnectCampaignAsync.ListCampaigns * @see AWS * API Documentation */ java.util.concurrent.Future* Provides summary information about the campaigns under the specified Amazon Connect account. *
* * @param listCampaignsRequest * ListCampaignsRequest * @param 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. * @return A Java Future containing the result of the ListCampaigns operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.ListCampaigns * @see AWS * API Documentation */ java.util.concurrent.Future* List tags for a resource. *
* * @param listTagsForResourceRequest * ListTagsForResource * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonConnectCampaignAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* List tags for a resource. *
* * @param listTagsForResourceRequest * ListTagsForResource * @param 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. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future* Pauses a campaign for the specified Amazon Connect account. *
* * @param pauseCampaignRequest * PauseCampaignRequest * @return A Java Future containing the result of the PauseCampaign operation returned by the service. * @sample AmazonConnectCampaignAsync.PauseCampaign * @see AWS * API Documentation */ java.util.concurrent.Future* Pauses a campaign for the specified Amazon Connect account. *
* * @param pauseCampaignRequest * PauseCampaignRequest * @param 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. * @return A Java Future containing the result of the PauseCampaign operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.PauseCampaign * @see AWS * API Documentation */ java.util.concurrent.Future* Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent. *
* * @param putDialRequestBatchRequest * PutDialRequestBatchRequest * @return A Java Future containing the result of the PutDialRequestBatch operation returned by the service. * @sample AmazonConnectCampaignAsync.PutDialRequestBatch * @see AWS API Documentation */ java.util.concurrent.Future* Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent. *
* * @param putDialRequestBatchRequest * PutDialRequestBatchRequest * @param 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. * @return A Java Future containing the result of the PutDialRequestBatch operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.PutDialRequestBatch * @see AWS API Documentation */ java.util.concurrent.Future* Stops a campaign for the specified Amazon Connect account. *
* * @param resumeCampaignRequest * ResumeCampaignRequest * @return A Java Future containing the result of the ResumeCampaign operation returned by the service. * @sample AmazonConnectCampaignAsync.ResumeCampaign * @see AWS API Documentation */ java.util.concurrent.Future* Stops a campaign for the specified Amazon Connect account. *
* * @param resumeCampaignRequest * ResumeCampaignRequest * @param 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. * @return A Java Future containing the result of the ResumeCampaign operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.ResumeCampaign * @see AWS API Documentation */ java.util.concurrent.Future* Starts a campaign for the specified Amazon Connect account. *
* * @param startCampaignRequest * StartCampaignRequest * @return A Java Future containing the result of the StartCampaign operation returned by the service. * @sample AmazonConnectCampaignAsync.StartCampaign * @see AWS * API Documentation */ java.util.concurrent.Future* Starts a campaign for the specified Amazon Connect account. *
* * @param startCampaignRequest * StartCampaignRequest * @param 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. * @return A Java Future containing the result of the StartCampaign operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.StartCampaign * @see AWS * API Documentation */ java.util.concurrent.Future* Onboard the specific Amazon Connect instance to Connect Campaigns. *
* * @param startInstanceOnboardingJobRequest * The request for StartInstanceOnboardingJob API. * @return A Java Future containing the result of the StartInstanceOnboardingJob operation returned by the service. * @sample AmazonConnectCampaignAsync.StartInstanceOnboardingJob * @see AWS API Documentation */ java.util.concurrent.Future* Onboard the specific Amazon Connect instance to Connect Campaigns. *
* * @param startInstanceOnboardingJobRequest * The request for StartInstanceOnboardingJob API. * @param 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. * @return A Java Future containing the result of the StartInstanceOnboardingJob operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.StartInstanceOnboardingJob * @see AWS API Documentation */ java.util.concurrent.Future* Stops a campaign for the specified Amazon Connect account. *
* * @param stopCampaignRequest * StopCampaignRequest * @return A Java Future containing the result of the StopCampaign operation returned by the service. * @sample AmazonConnectCampaignAsync.StopCampaign * @see AWS * API Documentation */ java.util.concurrent.Future* Stops a campaign for the specified Amazon Connect account. *
* * @param stopCampaignRequest * StopCampaignRequest * @param 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. * @return A Java Future containing the result of the StopCampaign operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.StopCampaign * @see AWS * API Documentation */ java.util.concurrent.Future* Tag a resource. *
* * @param tagResourceRequest * TagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonConnectCampaignAsync.TagResource * @see AWS * API Documentation */ java.util.concurrent.Future* Tag a resource. *
* * @param tagResourceRequest * TagResourceRequest * @param 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. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.TagResource * @see AWS * API Documentation */ java.util.concurrent.Future* Untag a resource. *
* * @param untagResourceRequest * UntagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonConnectCampaignAsync.UntagResource * @see AWS * API Documentation */ java.util.concurrent.Future* Untag a resource. *
* * @param untagResourceRequest * UntagResourceRequest * @param 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. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.UntagResource * @see AWS * API Documentation */ java.util.concurrent.Future* Updates the dialer config of a campaign. This API is idempotent. *
* * @param updateCampaignDialerConfigRequest * UpdateCampaignDialerConfigRequest * @return A Java Future containing the result of the UpdateCampaignDialerConfig operation returned by the service. * @sample AmazonConnectCampaignAsync.UpdateCampaignDialerConfig * @see AWS API Documentation */ java.util.concurrent.Future* Updates the dialer config of a campaign. This API is idempotent. *
* * @param updateCampaignDialerConfigRequest * UpdateCampaignDialerConfigRequest * @param 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. * @return A Java Future containing the result of the UpdateCampaignDialerConfig operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.UpdateCampaignDialerConfig * @see AWS API Documentation */ java.util.concurrent.Future* Updates the name of a campaign. This API is idempotent. *
* * @param updateCampaignNameRequest * UpdateCampaignNameRequest * @return A Java Future containing the result of the UpdateCampaignName operation returned by the service. * @sample AmazonConnectCampaignAsync.UpdateCampaignName * @see AWS API Documentation */ java.util.concurrent.Future* Updates the name of a campaign. This API is idempotent. *
* * @param updateCampaignNameRequest * UpdateCampaignNameRequest * @param 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. * @return A Java Future containing the result of the UpdateCampaignName operation returned by the service. * @sample AmazonConnectCampaignAsyncHandler.UpdateCampaignName * @see AWS API Documentation */ java.util.concurrent.Future* Updates the outbound call config of a campaign. This API is idempotent. *
* * @param updateCampaignOutboundCallConfigRequest * UpdateCampaignOutboundCallConfigRequest * @return A Java Future containing the result of the UpdateCampaignOutboundCallConfig operation returned by the * service. * @sample AmazonConnectCampaignAsync.UpdateCampaignOutboundCallConfig * @see AWS API Documentation */ java.util.concurrent.Future* Updates the outbound call config of a campaign. This API is idempotent. *
* * @param updateCampaignOutboundCallConfigRequest * UpdateCampaignOutboundCallConfigRequest * @param 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. * @return A Java Future containing the result of the UpdateCampaignOutboundCallConfig operation returned by the * service. * @sample AmazonConnectCampaignAsyncHandler.UpdateCampaignOutboundCallConfig * @see AWS API Documentation */ java.util.concurrent.Future