Interface ConnectCampaignsV2Client
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ConnectCampaignsV2Client extends AwsClient
Service client for accessing AmazonConnectCampaignServiceV2. This can be created using the staticbuilder()method.Provide APIs to create and manage Amazon Connect Campaigns.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ConnectCampaignsV2ClientBuilderbuilder()Create a builder that can be used to configure and create aConnectCampaignsV2Client.static ConnectCampaignsV2Clientcreate()Create aConnectCampaignsV2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateCampaignResponsecreateCampaign(Consumer<CreateCampaignRequest.Builder> createCampaignRequest)Creates a campaign for the specified Amazon Connect account.default CreateCampaignResponsecreateCampaign(CreateCampaignRequest createCampaignRequest)Creates a campaign for the specified Amazon Connect account.default DeleteCampaignResponsedeleteCampaign(Consumer<DeleteCampaignRequest.Builder> deleteCampaignRequest)Deletes a campaign from the specified Amazon Connect account.default DeleteCampaignResponsedeleteCampaign(DeleteCampaignRequest deleteCampaignRequest)Deletes a campaign from the specified Amazon Connect account.default DeleteCampaignChannelSubtypeConfigResponsedeleteCampaignChannelSubtypeConfig(Consumer<DeleteCampaignChannelSubtypeConfigRequest.Builder> deleteCampaignChannelSubtypeConfigRequest)Deletes the channel subtype config of a campaign.default DeleteCampaignChannelSubtypeConfigResponsedeleteCampaignChannelSubtypeConfig(DeleteCampaignChannelSubtypeConfigRequest deleteCampaignChannelSubtypeConfigRequest)Deletes the channel subtype config of a campaign.default DeleteCampaignCommunicationLimitsResponsedeleteCampaignCommunicationLimits(Consumer<DeleteCampaignCommunicationLimitsRequest.Builder> deleteCampaignCommunicationLimitsRequest)Deletes the communication limits config for a campaign.default DeleteCampaignCommunicationLimitsResponsedeleteCampaignCommunicationLimits(DeleteCampaignCommunicationLimitsRequest deleteCampaignCommunicationLimitsRequest)Deletes the communication limits config for a campaign.default DeleteCampaignCommunicationTimeResponsedeleteCampaignCommunicationTime(Consumer<DeleteCampaignCommunicationTimeRequest.Builder> deleteCampaignCommunicationTimeRequest)Deletes the communication time config for a campaign.default DeleteCampaignCommunicationTimeResponsedeleteCampaignCommunicationTime(DeleteCampaignCommunicationTimeRequest deleteCampaignCommunicationTimeRequest)Deletes the communication time config for a campaign.default DeleteConnectInstanceConfigResponsedeleteConnectInstanceConfig(Consumer<DeleteConnectInstanceConfigRequest.Builder> deleteConnectInstanceConfigRequest)Deletes a connect instance config from the specified AWS account.default DeleteConnectInstanceConfigResponsedeleteConnectInstanceConfig(DeleteConnectInstanceConfigRequest deleteConnectInstanceConfigRequest)Deletes a connect instance config from the specified AWS account.default DeleteConnectInstanceIntegrationResponsedeleteConnectInstanceIntegration(Consumer<DeleteConnectInstanceIntegrationRequest.Builder> deleteConnectInstanceIntegrationRequest)Delete the integration for the specified Amazon Connect instance.default DeleteConnectInstanceIntegrationResponsedeleteConnectInstanceIntegration(DeleteConnectInstanceIntegrationRequest deleteConnectInstanceIntegrationRequest)Delete the integration for the specified Amazon Connect instance.default DeleteInstanceOnboardingJobResponsedeleteInstanceOnboardingJob(Consumer<DeleteInstanceOnboardingJobRequest.Builder> deleteInstanceOnboardingJobRequest)Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.default DeleteInstanceOnboardingJobResponsedeleteInstanceOnboardingJob(DeleteInstanceOnboardingJobRequest deleteInstanceOnboardingJobRequest)Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.default DescribeCampaignResponsedescribeCampaign(Consumer<DescribeCampaignRequest.Builder> describeCampaignRequest)Describes the specific campaign.default DescribeCampaignResponsedescribeCampaign(DescribeCampaignRequest describeCampaignRequest)Describes the specific campaign.default GetCampaignStateResponsegetCampaignState(Consumer<GetCampaignStateRequest.Builder> getCampaignStateRequest)Get state of a campaign for the specified Amazon Connect account.default GetCampaignStateResponsegetCampaignState(GetCampaignStateRequest getCampaignStateRequest)Get state of a campaign for the specified Amazon Connect account.default GetCampaignStateBatchResponsegetCampaignStateBatch(Consumer<GetCampaignStateBatchRequest.Builder> getCampaignStateBatchRequest)Get state of campaigns for the specified Amazon Connect account.default GetCampaignStateBatchResponsegetCampaignStateBatch(GetCampaignStateBatchRequest getCampaignStateBatchRequest)Get state of campaigns for the specified Amazon Connect account.default GetConnectInstanceConfigResponsegetConnectInstanceConfig(Consumer<GetConnectInstanceConfigRequest.Builder> getConnectInstanceConfigRequest)Get the specific Connect instance config.default GetConnectInstanceConfigResponsegetConnectInstanceConfig(GetConnectInstanceConfigRequest getConnectInstanceConfigRequest)Get the specific Connect instance config.default GetInstanceOnboardingJobStatusResponsegetInstanceOnboardingJobStatus(Consumer<GetInstanceOnboardingJobStatusRequest.Builder> getInstanceOnboardingJobStatusRequest)Get the specific instance onboarding job status.default GetInstanceOnboardingJobStatusResponsegetInstanceOnboardingJobStatus(GetInstanceOnboardingJobStatusRequest getInstanceOnboardingJobStatusRequest)Get the specific instance onboarding job status.default ListCampaignsResponselistCampaigns(Consumer<ListCampaignsRequest.Builder> listCampaignsRequest)Provides summary information about the campaigns under the specified Amazon Connect account.default ListCampaignsResponselistCampaigns(ListCampaignsRequest listCampaignsRequest)Provides summary information about the campaigns under the specified Amazon Connect account.default ListCampaignsIterablelistCampaignsPaginator(Consumer<ListCampaignsRequest.Builder> listCampaignsRequest)This is a variant oflistCampaigns(software.amazon.awssdk.services.connectcampaignsv2.model.ListCampaignsRequest)operation.default ListCampaignsIterablelistCampaignsPaginator(ListCampaignsRequest listCampaignsRequest)This is a variant oflistCampaigns(software.amazon.awssdk.services.connectcampaignsv2.model.ListCampaignsRequest)operation.default ListConnectInstanceIntegrationsResponselistConnectInstanceIntegrations(Consumer<ListConnectInstanceIntegrationsRequest.Builder> listConnectInstanceIntegrationsRequest)Provides summary information about the integration under the specified Connect instance.default ListConnectInstanceIntegrationsResponselistConnectInstanceIntegrations(ListConnectInstanceIntegrationsRequest listConnectInstanceIntegrationsRequest)Provides summary information about the integration under the specified Connect instance.default ListConnectInstanceIntegrationsIterablelistConnectInstanceIntegrationsPaginator(Consumer<ListConnectInstanceIntegrationsRequest.Builder> listConnectInstanceIntegrationsRequest)This is a variant oflistConnectInstanceIntegrations(software.amazon.awssdk.services.connectcampaignsv2.model.ListConnectInstanceIntegrationsRequest)operation.default ListConnectInstanceIntegrationsIterablelistConnectInstanceIntegrationsPaginator(ListConnectInstanceIntegrationsRequest listConnectInstanceIntegrationsRequest)This is a variant oflistConnectInstanceIntegrations(software.amazon.awssdk.services.connectcampaignsv2.model.ListConnectInstanceIntegrationsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)List tags for a resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)List tags for a resource.default PauseCampaignResponsepauseCampaign(Consumer<PauseCampaignRequest.Builder> pauseCampaignRequest)Pauses a campaign for the specified Amazon Connect account.default PauseCampaignResponsepauseCampaign(PauseCampaignRequest pauseCampaignRequest)Pauses a campaign for the specified Amazon Connect account.default PutConnectInstanceIntegrationResponseputConnectInstanceIntegration(Consumer<PutConnectInstanceIntegrationRequest.Builder> putConnectInstanceIntegrationRequest)Put or update the integration for the specified Amazon Connect instance.default PutConnectInstanceIntegrationResponseputConnectInstanceIntegration(PutConnectInstanceIntegrationRequest putConnectInstanceIntegrationRequest)Put or update the integration for the specified Amazon Connect instance.default PutOutboundRequestBatchResponseputOutboundRequestBatch(Consumer<PutOutboundRequestBatchRequest.Builder> putOutboundRequestBatchRequest)Creates outbound requests for the specified campaign Amazon Connect account.default PutOutboundRequestBatchResponseputOutboundRequestBatch(PutOutboundRequestBatchRequest putOutboundRequestBatchRequest)Creates outbound requests for the specified campaign Amazon Connect account.default PutProfileOutboundRequestBatchResponseputProfileOutboundRequestBatch(Consumer<PutProfileOutboundRequestBatchRequest.Builder> putProfileOutboundRequestBatchRequest)Takes in a list of profile outbound requests to be placed as part of an outbound campaign.default PutProfileOutboundRequestBatchResponseputProfileOutboundRequestBatch(PutProfileOutboundRequestBatchRequest putProfileOutboundRequestBatchRequest)Takes in a list of profile outbound requests to be placed as part of an outbound campaign.default ResumeCampaignResponseresumeCampaign(Consumer<ResumeCampaignRequest.Builder> resumeCampaignRequest)Stops a campaign for the specified Amazon Connect account.default ResumeCampaignResponseresumeCampaign(ResumeCampaignRequest resumeCampaignRequest)Stops a campaign for the specified Amazon Connect account.default ConnectCampaignsV2ServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default StartCampaignResponsestartCampaign(Consumer<StartCampaignRequest.Builder> startCampaignRequest)Starts a campaign for the specified Amazon Connect account.default StartCampaignResponsestartCampaign(StartCampaignRequest startCampaignRequest)Starts a campaign for the specified Amazon Connect account.default StartInstanceOnboardingJobResponsestartInstanceOnboardingJob(Consumer<StartInstanceOnboardingJobRequest.Builder> startInstanceOnboardingJobRequest)Onboard the specific Amazon Connect instance to Connect Campaigns.default StartInstanceOnboardingJobResponsestartInstanceOnboardingJob(StartInstanceOnboardingJobRequest startInstanceOnboardingJobRequest)Onboard the specific Amazon Connect instance to Connect Campaigns.default StopCampaignResponsestopCampaign(Consumer<StopCampaignRequest.Builder> stopCampaignRequest)Stops a campaign for the specified Amazon Connect account.default StopCampaignResponsestopCampaign(StopCampaignRequest stopCampaignRequest)Stops a campaign for the specified Amazon Connect account.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Tag a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Tag a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Untag a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Untag a resource.default UpdateCampaignChannelSubtypeConfigResponseupdateCampaignChannelSubtypeConfig(Consumer<UpdateCampaignChannelSubtypeConfigRequest.Builder> updateCampaignChannelSubtypeConfigRequest)Updates the channel subtype config of a campaign.default UpdateCampaignChannelSubtypeConfigResponseupdateCampaignChannelSubtypeConfig(UpdateCampaignChannelSubtypeConfigRequest updateCampaignChannelSubtypeConfigRequest)Updates the channel subtype config of a campaign.default UpdateCampaignCommunicationLimitsResponseupdateCampaignCommunicationLimits(Consumer<UpdateCampaignCommunicationLimitsRequest.Builder> updateCampaignCommunicationLimitsRequest)Updates the communication limits config for a campaign.default UpdateCampaignCommunicationLimitsResponseupdateCampaignCommunicationLimits(UpdateCampaignCommunicationLimitsRequest updateCampaignCommunicationLimitsRequest)Updates the communication limits config for a campaign.default UpdateCampaignCommunicationTimeResponseupdateCampaignCommunicationTime(Consumer<UpdateCampaignCommunicationTimeRequest.Builder> updateCampaignCommunicationTimeRequest)Updates the communication time config for a campaign.default UpdateCampaignCommunicationTimeResponseupdateCampaignCommunicationTime(UpdateCampaignCommunicationTimeRequest updateCampaignCommunicationTimeRequest)Updates the communication time config for a campaign.default UpdateCampaignFlowAssociationResponseupdateCampaignFlowAssociation(Consumer<UpdateCampaignFlowAssociationRequest.Builder> updateCampaignFlowAssociationRequest)Updates the campaign flow associated with a campaign.default UpdateCampaignFlowAssociationResponseupdateCampaignFlowAssociation(UpdateCampaignFlowAssociationRequest updateCampaignFlowAssociationRequest)Updates the campaign flow associated with a campaign.default UpdateCampaignNameResponseupdateCampaignName(Consumer<UpdateCampaignNameRequest.Builder> updateCampaignNameRequest)Updates the name of a campaign.default UpdateCampaignNameResponseupdateCampaignName(UpdateCampaignNameRequest updateCampaignNameRequest)Updates the name of a campaign.default UpdateCampaignScheduleResponseupdateCampaignSchedule(Consumer<UpdateCampaignScheduleRequest.Builder> updateCampaignScheduleRequest)Updates the schedule for a campaign.default UpdateCampaignScheduleResponseupdateCampaignSchedule(UpdateCampaignScheduleRequest updateCampaignScheduleRequest)Updates the schedule for a campaign.default UpdateCampaignSourceResponseupdateCampaignSource(Consumer<UpdateCampaignSourceRequest.Builder> updateCampaignSourceRequest)Updates the campaign source with a campaign.default UpdateCampaignSourceResponseupdateCampaignSource(UpdateCampaignSourceRequest updateCampaignSourceRequest)Updates the campaign source with a campaign.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createCampaign
default CreateCampaignResponse createCampaign(CreateCampaignRequest createCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Creates a campaign for the specified Amazon Connect account. This API is idempotent.
- Parameters:
createCampaignRequest- The request for CreateCampaign API.- Returns:
- Result of the CreateCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.ServiceQuotaExceededException- Request would cause a service quota to be exceeded.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createCampaign
default CreateCampaignResponse createCampaign(Consumer<CreateCampaignRequest.Builder> createCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, ServiceQuotaExceededException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Creates a campaign for the specified Amazon Connect account. This API is idempotent.
This is a convenience which creates an instance of the
CreateCampaignRequest.Builderavoiding the need to create one manually viaCreateCampaignRequest.builder()- Parameters:
createCampaignRequest- AConsumerthat will call methods onCreateCampaignRequest.Builderto create a request. The request for CreateCampaign API.- Returns:
- Result of the CreateCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.ServiceQuotaExceededException- Request would cause a service quota to be exceeded.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCampaign
default DeleteCampaignResponse deleteCampaign(DeleteCampaignRequest deleteCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Deletes a campaign from the specified Amazon Connect account.
- Parameters:
deleteCampaignRequest- The request for DeleteCampaign API.- Returns:
- Result of the DeleteCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCampaign
default DeleteCampaignResponse deleteCampaign(Consumer<DeleteCampaignRequest.Builder> deleteCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Deletes a campaign from the specified Amazon Connect account.
This is a convenience which creates an instance of the
DeleteCampaignRequest.Builderavoiding the need to create one manually viaDeleteCampaignRequest.builder()- Parameters:
deleteCampaignRequest- AConsumerthat will call methods onDeleteCampaignRequest.Builderto create a request. The request for DeleteCampaign API.- Returns:
- Result of the DeleteCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCampaignChannelSubtypeConfig
default DeleteCampaignChannelSubtypeConfigResponse deleteCampaignChannelSubtypeConfig(DeleteCampaignChannelSubtypeConfigRequest deleteCampaignChannelSubtypeConfigRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Deletes the channel subtype config of a campaign. This API is idempotent.
- Parameters:
deleteCampaignChannelSubtypeConfigRequest- The request for DeleteCampaignChannelSubtypeConfig API.- Returns:
- Result of the DeleteCampaignChannelSubtypeConfig operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCampaignChannelSubtypeConfig
default DeleteCampaignChannelSubtypeConfigResponse deleteCampaignChannelSubtypeConfig(Consumer<DeleteCampaignChannelSubtypeConfigRequest.Builder> deleteCampaignChannelSubtypeConfigRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Deletes the channel subtype config of a campaign. This API is idempotent.
This is a convenience which creates an instance of the
DeleteCampaignChannelSubtypeConfigRequest.Builderavoiding the need to create one manually viaDeleteCampaignChannelSubtypeConfigRequest.builder()- Parameters:
deleteCampaignChannelSubtypeConfigRequest- AConsumerthat will call methods onDeleteCampaignChannelSubtypeConfigRequest.Builderto create a request. The request for DeleteCampaignChannelSubtypeConfig API.- Returns:
- Result of the DeleteCampaignChannelSubtypeConfig operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCampaignCommunicationLimits
default DeleteCampaignCommunicationLimitsResponse deleteCampaignCommunicationLimits(DeleteCampaignCommunicationLimitsRequest deleteCampaignCommunicationLimitsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Deletes the communication limits config for a campaign. This API is idempotent.
- Parameters:
deleteCampaignCommunicationLimitsRequest- The request for DeleteCampaignCommunicationLimits API.- Returns:
- Result of the DeleteCampaignCommunicationLimits operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCampaignCommunicationLimits
default DeleteCampaignCommunicationLimitsResponse deleteCampaignCommunicationLimits(Consumer<DeleteCampaignCommunicationLimitsRequest.Builder> deleteCampaignCommunicationLimitsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Deletes the communication limits config for a campaign. This API is idempotent.
This is a convenience which creates an instance of the
DeleteCampaignCommunicationLimitsRequest.Builderavoiding the need to create one manually viaDeleteCampaignCommunicationLimitsRequest.builder()- Parameters:
deleteCampaignCommunicationLimitsRequest- AConsumerthat will call methods onDeleteCampaignCommunicationLimitsRequest.Builderto create a request. The request for DeleteCampaignCommunicationLimits API.- Returns:
- Result of the DeleteCampaignCommunicationLimits operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCampaignCommunicationTime
default DeleteCampaignCommunicationTimeResponse deleteCampaignCommunicationTime(DeleteCampaignCommunicationTimeRequest deleteCampaignCommunicationTimeRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Deletes the communication time config for a campaign. This API is idempotent.
- Parameters:
deleteCampaignCommunicationTimeRequest- The request for DeleteCampaignCommunicationTime API.- Returns:
- Result of the DeleteCampaignCommunicationTime operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteCampaignCommunicationTime
default DeleteCampaignCommunicationTimeResponse deleteCampaignCommunicationTime(Consumer<DeleteCampaignCommunicationTimeRequest.Builder> deleteCampaignCommunicationTimeRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Deletes the communication time config for a campaign. This API is idempotent.
This is a convenience which creates an instance of the
DeleteCampaignCommunicationTimeRequest.Builderavoiding the need to create one manually viaDeleteCampaignCommunicationTimeRequest.builder()- Parameters:
deleteCampaignCommunicationTimeRequest- AConsumerthat will call methods onDeleteCampaignCommunicationTimeRequest.Builderto create a request. The request for DeleteCampaignCommunicationTime API.- Returns:
- Result of the DeleteCampaignCommunicationTime operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConnectInstanceConfig
default DeleteConnectInstanceConfigResponse deleteConnectInstanceConfig(DeleteConnectInstanceConfigRequest deleteConnectInstanceConfigRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, InvalidStateException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Deletes a connect instance config from the specified AWS account.
- Parameters:
deleteConnectInstanceConfigRequest- The request for DeleteConnectInstanceConfig API.- Returns:
- Result of the DeleteConnectInstanceConfig operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.InvalidStateException- The request could not be processed because of conflict in the current state.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConnectInstanceConfig
default DeleteConnectInstanceConfigResponse deleteConnectInstanceConfig(Consumer<DeleteConnectInstanceConfigRequest.Builder> deleteConnectInstanceConfigRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, InvalidStateException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Deletes a connect instance config from the specified AWS account.
This is a convenience which creates an instance of the
DeleteConnectInstanceConfigRequest.Builderavoiding the need to create one manually viaDeleteConnectInstanceConfigRequest.builder()- Parameters:
deleteConnectInstanceConfigRequest- AConsumerthat will call methods onDeleteConnectInstanceConfigRequest.Builderto create a request. The request for DeleteConnectInstanceConfig API.- Returns:
- Result of the DeleteConnectInstanceConfig operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.InvalidStateException- The request could not be processed because of conflict in the current state.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConnectInstanceIntegration
default DeleteConnectInstanceIntegrationResponse deleteConnectInstanceIntegration(DeleteConnectInstanceIntegrationRequest deleteConnectInstanceIntegrationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Delete the integration for the specified Amazon Connect instance.
- Parameters:
deleteConnectInstanceIntegrationRequest- The request for DeleteConnectInstanceIntegration API.- Returns:
- Result of the DeleteConnectInstanceIntegration operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteConnectInstanceIntegration
default DeleteConnectInstanceIntegrationResponse deleteConnectInstanceIntegration(Consumer<DeleteConnectInstanceIntegrationRequest.Builder> deleteConnectInstanceIntegrationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Delete the integration for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
DeleteConnectInstanceIntegrationRequest.Builderavoiding the need to create one manually viaDeleteConnectInstanceIntegrationRequest.builder()- Parameters:
deleteConnectInstanceIntegrationRequest- AConsumerthat will call methods onDeleteConnectInstanceIntegrationRequest.Builderto create a request. The request for DeleteConnectInstanceIntegration API.- Returns:
- Result of the DeleteConnectInstanceIntegration operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteInstanceOnboardingJob
default DeleteInstanceOnboardingJobResponse deleteInstanceOnboardingJob(DeleteInstanceOnboardingJobRequest deleteInstanceOnboardingJobRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, InvalidStateException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
- Parameters:
deleteInstanceOnboardingJobRequest- The request for DeleteInstanceOnboardingJob API.- Returns:
- Result of the DeleteInstanceOnboardingJob operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.InvalidStateException- The request could not be processed because of conflict in the current state.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteInstanceOnboardingJob
default DeleteInstanceOnboardingJobResponse deleteInstanceOnboardingJob(Consumer<DeleteInstanceOnboardingJobRequest.Builder> deleteInstanceOnboardingJobRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, InvalidStateException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
DeleteInstanceOnboardingJobRequest.Builderavoiding the need to create one manually viaDeleteInstanceOnboardingJobRequest.builder()- Parameters:
deleteInstanceOnboardingJobRequest- AConsumerthat will call methods onDeleteInstanceOnboardingJobRequest.Builderto create a request. The request for DeleteInstanceOnboardingJob API.- Returns:
- Result of the DeleteInstanceOnboardingJob operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.InvalidStateException- The request could not be processed because of conflict in the current state.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeCampaign
default DescribeCampaignResponse describeCampaign(DescribeCampaignRequest describeCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Describes the specific campaign.
- Parameters:
describeCampaignRequest- The request for DescribeCampaign API.- Returns:
- Result of the DescribeCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeCampaign
default DescribeCampaignResponse describeCampaign(Consumer<DescribeCampaignRequest.Builder> describeCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Describes the specific campaign.
This is a convenience which creates an instance of the
DescribeCampaignRequest.Builderavoiding the need to create one manually viaDescribeCampaignRequest.builder()- Parameters:
describeCampaignRequest- AConsumerthat will call methods onDescribeCampaignRequest.Builderto create a request. The request for DescribeCampaign API.- Returns:
- Result of the DescribeCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCampaignState
default GetCampaignStateResponse getCampaignState(GetCampaignStateRequest getCampaignStateRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Get state of a campaign for the specified Amazon Connect account.
- Parameters:
getCampaignStateRequest- The request for GetCampaignState API.- Returns:
- Result of the GetCampaignState operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCampaignState
default GetCampaignStateResponse getCampaignState(Consumer<GetCampaignStateRequest.Builder> getCampaignStateRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Get state of a campaign for the specified Amazon Connect account.
This is a convenience which creates an instance of the
GetCampaignStateRequest.Builderavoiding the need to create one manually viaGetCampaignStateRequest.builder()- Parameters:
getCampaignStateRequest- AConsumerthat will call methods onGetCampaignStateRequest.Builderto create a request. The request for GetCampaignState API.- Returns:
- Result of the GetCampaignState operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCampaignStateBatch
default GetCampaignStateBatchResponse getCampaignStateBatch(GetCampaignStateBatchRequest getCampaignStateBatchRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Get state of campaigns for the specified Amazon Connect account.
- Parameters:
getCampaignStateBatchRequest- The request for GetCampaignStateBatch API.- Returns:
- Result of the GetCampaignStateBatch operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getCampaignStateBatch
default GetCampaignStateBatchResponse getCampaignStateBatch(Consumer<GetCampaignStateBatchRequest.Builder> getCampaignStateBatchRequest) throws InternalServerException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Get state of campaigns for the specified Amazon Connect account.
This is a convenience which creates an instance of the
GetCampaignStateBatchRequest.Builderavoiding the need to create one manually viaGetCampaignStateBatchRequest.builder()- Parameters:
getCampaignStateBatchRequest- AConsumerthat will call methods onGetCampaignStateBatchRequest.Builderto create a request. The request for GetCampaignStateBatch API.- Returns:
- Result of the GetCampaignStateBatch operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConnectInstanceConfig
default GetConnectInstanceConfigResponse getConnectInstanceConfig(GetConnectInstanceConfigRequest getConnectInstanceConfigRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Get the specific Connect instance config.
- Parameters:
getConnectInstanceConfigRequest- The request for GetConnectInstanceConfig API.- Returns:
- Result of the GetConnectInstanceConfig operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getConnectInstanceConfig
default GetConnectInstanceConfigResponse getConnectInstanceConfig(Consumer<GetConnectInstanceConfigRequest.Builder> getConnectInstanceConfigRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Get the specific Connect instance config.
This is a convenience which creates an instance of the
GetConnectInstanceConfigRequest.Builderavoiding the need to create one manually viaGetConnectInstanceConfigRequest.builder()- Parameters:
getConnectInstanceConfigRequest- AConsumerthat will call methods onGetConnectInstanceConfigRequest.Builderto create a request. The request for GetConnectInstanceConfig API.- Returns:
- Result of the GetConnectInstanceConfig operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getInstanceOnboardingJobStatus
default GetInstanceOnboardingJobStatusResponse getInstanceOnboardingJobStatus(GetInstanceOnboardingJobStatusRequest getInstanceOnboardingJobStatusRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Get the specific instance onboarding job status.
- Parameters:
getInstanceOnboardingJobStatusRequest- The request for GetInstanceOnboardingJobStatus API.- Returns:
- Result of the GetInstanceOnboardingJobStatus operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getInstanceOnboardingJobStatus
default GetInstanceOnboardingJobStatusResponse getInstanceOnboardingJobStatus(Consumer<GetInstanceOnboardingJobStatusRequest.Builder> getInstanceOnboardingJobStatusRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Get the specific instance onboarding job status.
This is a convenience which creates an instance of the
GetInstanceOnboardingJobStatusRequest.Builderavoiding the need to create one manually viaGetInstanceOnboardingJobStatusRequest.builder()- Parameters:
getInstanceOnboardingJobStatusRequest- AConsumerthat will call methods onGetInstanceOnboardingJobStatusRequest.Builderto create a request. The request for GetInstanceOnboardingJobStatus API.- Returns:
- Result of the GetInstanceOnboardingJobStatus operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listCampaigns
default ListCampaignsResponse listCampaigns(ListCampaignsRequest listCampaignsRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Provides summary information about the campaigns under the specified Amazon Connect account.
- Parameters:
listCampaignsRequest- The request for ListCampaigns API.- Returns:
- Result of the ListCampaigns operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listCampaigns
default ListCampaignsResponse listCampaigns(Consumer<ListCampaignsRequest.Builder> listCampaignsRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Provides summary information about the campaigns under the specified Amazon Connect account.
This is a convenience which creates an instance of the
ListCampaignsRequest.Builderavoiding the need to create one manually viaListCampaignsRequest.builder()- Parameters:
listCampaignsRequest- AConsumerthat will call methods onListCampaignsRequest.Builderto create a request. The request for ListCampaigns API.- Returns:
- Result of the ListCampaigns operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listCampaignsPaginator
default ListCampaignsIterable listCampaignsPaginator(ListCampaignsRequest listCampaignsRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
This is a variant of
listCampaigns(software.amazon.awssdk.services.connectcampaignsv2.model.ListCampaignsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.connectcampaignsv2.paginators.ListCampaignsIterable responses = client.listCampaignsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.connectcampaignsv2.paginators.ListCampaignsIterable responses = client .listCampaignsPaginator(request); for (software.amazon.awssdk.services.connectcampaignsv2.model.ListCampaignsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.connectcampaignsv2.paginators.ListCampaignsIterable responses = client.listCampaignsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCampaigns(software.amazon.awssdk.services.connectcampaignsv2.model.ListCampaignsRequest)operation.- Parameters:
listCampaignsRequest- The request for ListCampaigns API.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listCampaignsPaginator
default ListCampaignsIterable listCampaignsPaginator(Consumer<ListCampaignsRequest.Builder> listCampaignsRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
This is a variant of
listCampaigns(software.amazon.awssdk.services.connectcampaignsv2.model.ListCampaignsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.connectcampaignsv2.paginators.ListCampaignsIterable responses = client.listCampaignsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.connectcampaignsv2.paginators.ListCampaignsIterable responses = client .listCampaignsPaginator(request); for (software.amazon.awssdk.services.connectcampaignsv2.model.ListCampaignsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.connectcampaignsv2.paginators.ListCampaignsIterable responses = client.listCampaignsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCampaigns(software.amazon.awssdk.services.connectcampaignsv2.model.ListCampaignsRequest)operation.
This is a convenience which creates an instance of the
ListCampaignsRequest.Builderavoiding the need to create one manually viaListCampaignsRequest.builder()- Parameters:
listCampaignsRequest- AConsumerthat will call methods onListCampaignsRequest.Builderto create a request. The request for ListCampaigns API.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConnectInstanceIntegrations
default ListConnectInstanceIntegrationsResponse listConnectInstanceIntegrations(ListConnectInstanceIntegrationsRequest listConnectInstanceIntegrationsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Provides summary information about the integration under the specified Connect instance.
- Parameters:
listConnectInstanceIntegrationsRequest- The request for ListConnectInstanceIntegrations API.- Returns:
- Result of the ListConnectInstanceIntegrations operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConnectInstanceIntegrations
default ListConnectInstanceIntegrationsResponse listConnectInstanceIntegrations(Consumer<ListConnectInstanceIntegrationsRequest.Builder> listConnectInstanceIntegrationsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Provides summary information about the integration under the specified Connect instance.
This is a convenience which creates an instance of the
ListConnectInstanceIntegrationsRequest.Builderavoiding the need to create one manually viaListConnectInstanceIntegrationsRequest.builder()- Parameters:
listConnectInstanceIntegrationsRequest- AConsumerthat will call methods onListConnectInstanceIntegrationsRequest.Builderto create a request. The request for ListConnectInstanceIntegrations API.- Returns:
- Result of the ListConnectInstanceIntegrations operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConnectInstanceIntegrationsPaginator
default ListConnectInstanceIntegrationsIterable listConnectInstanceIntegrationsPaginator(ListConnectInstanceIntegrationsRequest listConnectInstanceIntegrationsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
This is a variant of
listConnectInstanceIntegrations(software.amazon.awssdk.services.connectcampaignsv2.model.ListConnectInstanceIntegrationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.connectcampaignsv2.paginators.ListConnectInstanceIntegrationsIterable responses = client.listConnectInstanceIntegrationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.connectcampaignsv2.paginators.ListConnectInstanceIntegrationsIterable responses = client .listConnectInstanceIntegrationsPaginator(request); for (software.amazon.awssdk.services.connectcampaignsv2.model.ListConnectInstanceIntegrationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.connectcampaignsv2.paginators.ListConnectInstanceIntegrationsIterable responses = client.listConnectInstanceIntegrationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectInstanceIntegrations(software.amazon.awssdk.services.connectcampaignsv2.model.ListConnectInstanceIntegrationsRequest)operation.- Parameters:
listConnectInstanceIntegrationsRequest- The request for ListConnectInstanceIntegrations API.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listConnectInstanceIntegrationsPaginator
default ListConnectInstanceIntegrationsIterable listConnectInstanceIntegrationsPaginator(Consumer<ListConnectInstanceIntegrationsRequest.Builder> listConnectInstanceIntegrationsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
This is a variant of
listConnectInstanceIntegrations(software.amazon.awssdk.services.connectcampaignsv2.model.ListConnectInstanceIntegrationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.connectcampaignsv2.paginators.ListConnectInstanceIntegrationsIterable responses = client.listConnectInstanceIntegrationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.connectcampaignsv2.paginators.ListConnectInstanceIntegrationsIterable responses = client .listConnectInstanceIntegrationsPaginator(request); for (software.amazon.awssdk.services.connectcampaignsv2.model.ListConnectInstanceIntegrationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.connectcampaignsv2.paginators.ListConnectInstanceIntegrationsIterable responses = client.listConnectInstanceIntegrationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectInstanceIntegrations(software.amazon.awssdk.services.connectcampaignsv2.model.ListConnectInstanceIntegrationsRequest)operation.
This is a convenience which creates an instance of the
ListConnectInstanceIntegrationsRequest.Builderavoiding the need to create one manually viaListConnectInstanceIntegrationsRequest.builder()- Parameters:
listConnectInstanceIntegrationsRequest- AConsumerthat will call methods onListConnectInstanceIntegrationsRequest.Builderto create a request. The request for ListConnectInstanceIntegrations API.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
List tags for a resource.
- Parameters:
listTagsForResourceRequest- The request for ListTagsForResource API.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
List tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request. The request for ListTagsForResource API.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
pauseCampaign
default PauseCampaignResponse pauseCampaign(PauseCampaignRequest pauseCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Pauses a campaign for the specified Amazon Connect account.
- Parameters:
pauseCampaignRequest- The request for PauseCampaign API.- Returns:
- Result of the PauseCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
pauseCampaign
default PauseCampaignResponse pauseCampaign(Consumer<PauseCampaignRequest.Builder> pauseCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Pauses a campaign for the specified Amazon Connect account.
This is a convenience which creates an instance of the
PauseCampaignRequest.Builderavoiding the need to create one manually viaPauseCampaignRequest.builder()- Parameters:
pauseCampaignRequest- AConsumerthat will call methods onPauseCampaignRequest.Builderto create a request. The request for PauseCampaign API.- Returns:
- Result of the PauseCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putConnectInstanceIntegration
default PutConnectInstanceIntegrationResponse putConnectInstanceIntegration(PutConnectInstanceIntegrationRequest putConnectInstanceIntegrationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Put or update the integration for the specified Amazon Connect instance.
- Parameters:
putConnectInstanceIntegrationRequest- The request for PutConnectInstanceIntegration API.- Returns:
- Result of the PutConnectInstanceIntegration operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putConnectInstanceIntegration
default PutConnectInstanceIntegrationResponse putConnectInstanceIntegration(Consumer<PutConnectInstanceIntegrationRequest.Builder> putConnectInstanceIntegrationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Put or update the integration for the specified Amazon Connect instance.
This is a convenience which creates an instance of the
PutConnectInstanceIntegrationRequest.Builderavoiding the need to create one manually viaPutConnectInstanceIntegrationRequest.builder()- Parameters:
putConnectInstanceIntegrationRequest- AConsumerthat will call methods onPutConnectInstanceIntegrationRequest.Builderto create a request. The request for PutConnectInstanceIntegration API.- Returns:
- Result of the PutConnectInstanceIntegration operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putOutboundRequestBatch
default PutOutboundRequestBatchResponse putOutboundRequestBatch(PutOutboundRequestBatchRequest putOutboundRequestBatchRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Creates outbound requests for the specified campaign Amazon Connect account. This API is idempotent.
- Parameters:
putOutboundRequestBatchRequest- The request for PutOutboundRequestBatch API.- Returns:
- Result of the PutOutboundRequestBatch operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putOutboundRequestBatch
default PutOutboundRequestBatchResponse putOutboundRequestBatch(Consumer<PutOutboundRequestBatchRequest.Builder> putOutboundRequestBatchRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Creates outbound requests for the specified campaign Amazon Connect account. This API is idempotent.
This is a convenience which creates an instance of the
PutOutboundRequestBatchRequest.Builderavoiding the need to create one manually viaPutOutboundRequestBatchRequest.builder()- Parameters:
putOutboundRequestBatchRequest- AConsumerthat will call methods onPutOutboundRequestBatchRequest.Builderto create a request. The request for PutOutboundRequestBatch API.- Returns:
- Result of the PutOutboundRequestBatch operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putProfileOutboundRequestBatch
default PutProfileOutboundRequestBatchResponse putProfileOutboundRequestBatch(PutProfileOutboundRequestBatchRequest putProfileOutboundRequestBatchRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Takes in a list of profile outbound requests to be placed as part of an outbound campaign. This API is idempotent.
- Parameters:
putProfileOutboundRequestBatchRequest- The request for PutProfileOutboundRequestBatch API- Returns:
- Result of the PutProfileOutboundRequestBatch operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putProfileOutboundRequestBatch
default PutProfileOutboundRequestBatchResponse putProfileOutboundRequestBatch(Consumer<PutProfileOutboundRequestBatchRequest.Builder> putProfileOutboundRequestBatchRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Takes in a list of profile outbound requests to be placed as part of an outbound campaign. This API is idempotent.
This is a convenience which creates an instance of the
PutProfileOutboundRequestBatchRequest.Builderavoiding the need to create one manually viaPutProfileOutboundRequestBatchRequest.builder()- Parameters:
putProfileOutboundRequestBatchRequest- AConsumerthat will call methods onPutProfileOutboundRequestBatchRequest.Builderto create a request. The request for PutProfileOutboundRequestBatch API- Returns:
- Result of the PutProfileOutboundRequestBatch operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
resumeCampaign
default ResumeCampaignResponse resumeCampaign(ResumeCampaignRequest resumeCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Stops a campaign for the specified Amazon Connect account.
- Parameters:
resumeCampaignRequest- The request for ResumeCampaign API.- Returns:
- Result of the ResumeCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
resumeCampaign
default ResumeCampaignResponse resumeCampaign(Consumer<ResumeCampaignRequest.Builder> resumeCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Stops a campaign for the specified Amazon Connect account.
This is a convenience which creates an instance of the
ResumeCampaignRequest.Builderavoiding the need to create one manually viaResumeCampaignRequest.builder()- Parameters:
resumeCampaignRequest- AConsumerthat will call methods onResumeCampaignRequest.Builderto create a request. The request for ResumeCampaign API.- Returns:
- Result of the ResumeCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startCampaign
default StartCampaignResponse startCampaign(StartCampaignRequest startCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Starts a campaign for the specified Amazon Connect account.
- Parameters:
startCampaignRequest- The request for StartCampaign API.- Returns:
- Result of the StartCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startCampaign
default StartCampaignResponse startCampaign(Consumer<StartCampaignRequest.Builder> startCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Starts a campaign for the specified Amazon Connect account.
This is a convenience which creates an instance of the
StartCampaignRequest.Builderavoiding the need to create one manually viaStartCampaignRequest.builder()- Parameters:
startCampaignRequest- AConsumerthat will call methods onStartCampaignRequest.Builderto create a request. The request for StartCampaign API.- Returns:
- Result of the StartCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startInstanceOnboardingJob
default StartInstanceOnboardingJobResponse startInstanceOnboardingJob(StartInstanceOnboardingJobRequest startInstanceOnboardingJobRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Onboard the specific Amazon Connect instance to Connect Campaigns.
- Parameters:
startInstanceOnboardingJobRequest- The request for StartInstanceOnboardingJob API.- Returns:
- Result of the StartInstanceOnboardingJob operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startInstanceOnboardingJob
default StartInstanceOnboardingJobResponse startInstanceOnboardingJob(Consumer<StartInstanceOnboardingJobRequest.Builder> startInstanceOnboardingJobRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Onboard the specific Amazon Connect instance to Connect Campaigns.
This is a convenience which creates an instance of the
StartInstanceOnboardingJobRequest.Builderavoiding the need to create one manually viaStartInstanceOnboardingJobRequest.builder()- Parameters:
startInstanceOnboardingJobRequest- AConsumerthat will call methods onStartInstanceOnboardingJobRequest.Builderto create a request. The request for StartInstanceOnboardingJob API.- Returns:
- Result of the StartInstanceOnboardingJob operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
stopCampaign
default StopCampaignResponse stopCampaign(StopCampaignRequest stopCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Stops a campaign for the specified Amazon Connect account.
- Parameters:
stopCampaignRequest- The request for StopCampaign API.- Returns:
- Result of the StopCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
stopCampaign
default StopCampaignResponse stopCampaign(Consumer<StopCampaignRequest.Builder> stopCampaignRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Stops a campaign for the specified Amazon Connect account.
This is a convenience which creates an instance of the
StopCampaignRequest.Builderavoiding the need to create one manually viaStopCampaignRequest.builder()- Parameters:
stopCampaignRequest- AConsumerthat will call methods onStopCampaignRequest.Builderto create a request. The request for StopCampaign API.- Returns:
- Result of the StopCampaign operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Tag a resource.
- Parameters:
tagResourceRequest- The request for TagResource API.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Tag a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request. The request for TagResource API.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Untag a resource.
- Parameters:
untagResourceRequest- The request for UntagResource API.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, ThrottlingException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Untag a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request. The request for UntagResource API.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.AccessDeniedException- You do not have sufficient access to perform this action.ThrottlingException- The request was denied due to request throttling.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignChannelSubtypeConfig
default UpdateCampaignChannelSubtypeConfigResponse updateCampaignChannelSubtypeConfig(UpdateCampaignChannelSubtypeConfigRequest updateCampaignChannelSubtypeConfigRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the channel subtype config of a campaign. This API is idempotent.
- Parameters:
updateCampaignChannelSubtypeConfigRequest- The request for UpdateCampaignChannelSubtypeConfig API.- Returns:
- Result of the UpdateCampaignChannelSubtypeConfig operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignChannelSubtypeConfig
default UpdateCampaignChannelSubtypeConfigResponse updateCampaignChannelSubtypeConfig(Consumer<UpdateCampaignChannelSubtypeConfigRequest.Builder> updateCampaignChannelSubtypeConfigRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the channel subtype config of a campaign. This API is idempotent.
This is a convenience which creates an instance of the
UpdateCampaignChannelSubtypeConfigRequest.Builderavoiding the need to create one manually viaUpdateCampaignChannelSubtypeConfigRequest.builder()- Parameters:
updateCampaignChannelSubtypeConfigRequest- AConsumerthat will call methods onUpdateCampaignChannelSubtypeConfigRequest.Builderto create a request. The request for UpdateCampaignChannelSubtypeConfig API.- Returns:
- Result of the UpdateCampaignChannelSubtypeConfig operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignCommunicationLimits
default UpdateCampaignCommunicationLimitsResponse updateCampaignCommunicationLimits(UpdateCampaignCommunicationLimitsRequest updateCampaignCommunicationLimitsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the communication limits config for a campaign. This API is idempotent.
- Parameters:
updateCampaignCommunicationLimitsRequest- The request for UpdateCampaignCommunicationLimits API.- Returns:
- Result of the UpdateCampaignCommunicationLimits operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignCommunicationLimits
default UpdateCampaignCommunicationLimitsResponse updateCampaignCommunicationLimits(Consumer<UpdateCampaignCommunicationLimitsRequest.Builder> updateCampaignCommunicationLimitsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the communication limits config for a campaign. This API is idempotent.
This is a convenience which creates an instance of the
UpdateCampaignCommunicationLimitsRequest.Builderavoiding the need to create one manually viaUpdateCampaignCommunicationLimitsRequest.builder()- Parameters:
updateCampaignCommunicationLimitsRequest- AConsumerthat will call methods onUpdateCampaignCommunicationLimitsRequest.Builderto create a request. The request for UpdateCampaignCommunicationLimits API.- Returns:
- Result of the UpdateCampaignCommunicationLimits operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignCommunicationTime
default UpdateCampaignCommunicationTimeResponse updateCampaignCommunicationTime(UpdateCampaignCommunicationTimeRequest updateCampaignCommunicationTimeRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the communication time config for a campaign. This API is idempotent.
- Parameters:
updateCampaignCommunicationTimeRequest- The request for UpdateCampaignCommunicationTime API.- Returns:
- Result of the UpdateCampaignCommunicationTime operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignCommunicationTime
default UpdateCampaignCommunicationTimeResponse updateCampaignCommunicationTime(Consumer<UpdateCampaignCommunicationTimeRequest.Builder> updateCampaignCommunicationTimeRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the communication time config for a campaign. This API is idempotent.
This is a convenience which creates an instance of the
UpdateCampaignCommunicationTimeRequest.Builderavoiding the need to create one manually viaUpdateCampaignCommunicationTimeRequest.builder()- Parameters:
updateCampaignCommunicationTimeRequest- AConsumerthat will call methods onUpdateCampaignCommunicationTimeRequest.Builderto create a request. The request for UpdateCampaignCommunicationTime API.- Returns:
- Result of the UpdateCampaignCommunicationTime operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignFlowAssociation
default UpdateCampaignFlowAssociationResponse updateCampaignFlowAssociation(UpdateCampaignFlowAssociationRequest updateCampaignFlowAssociationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the campaign flow associated with a campaign. This API is idempotent.
- Parameters:
updateCampaignFlowAssociationRequest- The request for UpdateCampaignFlowAssociation API.- Returns:
- Result of the UpdateCampaignFlowAssociation operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignFlowAssociation
default UpdateCampaignFlowAssociationResponse updateCampaignFlowAssociation(Consumer<UpdateCampaignFlowAssociationRequest.Builder> updateCampaignFlowAssociationRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the campaign flow associated with a campaign. This API is idempotent.
This is a convenience which creates an instance of the
UpdateCampaignFlowAssociationRequest.Builderavoiding the need to create one manually viaUpdateCampaignFlowAssociationRequest.builder()- Parameters:
updateCampaignFlowAssociationRequest- AConsumerthat will call methods onUpdateCampaignFlowAssociationRequest.Builderto create a request. The request for UpdateCampaignFlowAssociation API.- Returns:
- Result of the UpdateCampaignFlowAssociation operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignName
default UpdateCampaignNameResponse updateCampaignName(UpdateCampaignNameRequest updateCampaignNameRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the name of a campaign. This API is idempotent.
- Parameters:
updateCampaignNameRequest- The request for UpdateCampaignName API.- Returns:
- Result of the UpdateCampaignName operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignName
default UpdateCampaignNameResponse updateCampaignName(Consumer<UpdateCampaignNameRequest.Builder> updateCampaignNameRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the name of a campaign. This API is idempotent.
This is a convenience which creates an instance of the
UpdateCampaignNameRequest.Builderavoiding the need to create one manually viaUpdateCampaignNameRequest.builder()- Parameters:
updateCampaignNameRequest- AConsumerthat will call methods onUpdateCampaignNameRequest.Builderto create a request. The request for UpdateCampaignName API.- Returns:
- Result of the UpdateCampaignName operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignSchedule
default UpdateCampaignScheduleResponse updateCampaignSchedule(UpdateCampaignScheduleRequest updateCampaignScheduleRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the schedule for a campaign. This API is idempotent.
- Parameters:
updateCampaignScheduleRequest- The request for UpdateCampaignSchedule API.- Returns:
- Result of the UpdateCampaignSchedule operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignSchedule
default UpdateCampaignScheduleResponse updateCampaignSchedule(Consumer<UpdateCampaignScheduleRequest.Builder> updateCampaignScheduleRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the schedule for a campaign. This API is idempotent.
This is a convenience which creates an instance of the
UpdateCampaignScheduleRequest.Builderavoiding the need to create one manually viaUpdateCampaignScheduleRequest.builder()- Parameters:
updateCampaignScheduleRequest- AConsumerthat will call methods onUpdateCampaignScheduleRequest.Builderto create a request. The request for UpdateCampaignSchedule API.- Returns:
- Result of the UpdateCampaignSchedule operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignSource
default UpdateCampaignSourceResponse updateCampaignSource(UpdateCampaignSourceRequest updateCampaignSourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the campaign source with a campaign. This API is idempotent.
- Parameters:
updateCampaignSourceRequest- The request for UpdateCampaignSource API.- Returns:
- Result of the UpdateCampaignSource operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateCampaignSource
default UpdateCampaignSourceResponse updateCampaignSource(Consumer<UpdateCampaignSourceRequest.Builder> updateCampaignSourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, InvalidCampaignStateException, AccessDeniedException, AwsServiceException, SdkClientException, ConnectCampaignsV2Exception
Updates the campaign source with a campaign. This API is idempotent.
This is a convenience which creates an instance of the
UpdateCampaignSourceRequest.Builderavoiding the need to create one manually viaUpdateCampaignSourceRequest.builder()- Parameters:
updateCampaignSourceRequest- AConsumerthat will call methods onUpdateCampaignSourceRequest.Builderto create a request. The request for UpdateCampaignSource API.- Returns:
- Result of the UpdateCampaignSource operation returned by the service.
- Throws:
InternalServerException- Request processing failed because of an error or failure with the service.ResourceNotFoundException- The specified resource was not found.ValidationException- The input fails to satisfy the constraints specified by an AWS service.ConflictException- The request could not be processed because of conflict in the current state of the resource.InvalidCampaignStateException- The request could not be processed because of conflict in the current state of the campaign.AccessDeniedException- You do not have sufficient access to perform this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ConnectCampaignsV2Exception- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static ConnectCampaignsV2Client create()
Create aConnectCampaignsV2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static ConnectCampaignsV2ClientBuilder builder()
Create a builder that can be used to configure and create aConnectCampaignsV2Client.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default ConnectCampaignsV2ServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-