Class: Aws::ConnectCampaignsV2::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ConnectCampaignsV2::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb
Overview
An API client for ConnectCampaignsV2. To construct a client, you need to configure a :region and :credentials.
client = Aws::ConnectCampaignsV2::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_campaign(params = {}) ⇒ Types::CreateCampaignResponse
Creates a campaign for the specified Amazon Connect account.
-
#delete_campaign(params = {}) ⇒ Struct
Deletes a campaign from the specified Amazon Connect account.
-
#delete_campaign_channel_subtype_config(params = {}) ⇒ Struct
Deletes the channel subtype config of a campaign.
-
#delete_campaign_communication_limits(params = {}) ⇒ Struct
Deletes the communication limits config for a campaign.
-
#delete_campaign_communication_time(params = {}) ⇒ Struct
Deletes the communication time config for a campaign.
-
#delete_campaign_entry_limits(params = {}) ⇒ Struct
Deletes the entry limits config for a campaign.
-
#delete_connect_instance_config(params = {}) ⇒ Struct
Deletes a connect instance config from the specified AWS account.
-
#delete_connect_instance_integration(params = {}) ⇒ Struct
Delete the integration for the specified Amazon Connect instance.
-
#delete_instance_onboarding_job(params = {}) ⇒ Struct
Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
-
#describe_campaign(params = {}) ⇒ Types::DescribeCampaignResponse
Describes the specific campaign.
-
#get_campaign_state(params = {}) ⇒ Types::GetCampaignStateResponse
Get state of a campaign for the specified Amazon Connect account.
-
#get_campaign_state_batch(params = {}) ⇒ Types::GetCampaignStateBatchResponse
Get state of campaigns for the specified Amazon Connect account.
-
#get_connect_instance_config(params = {}) ⇒ Types::GetConnectInstanceConfigResponse
Get the specific Connect instance config.
-
#get_instance_communication_limits(params = {}) ⇒ Types::GetInstanceCommunicationLimitsResponse
Get the instance communication limits.
-
#get_instance_onboarding_job_status(params = {}) ⇒ Types::GetInstanceOnboardingJobStatusResponse
Get the specific instance onboarding job status.
-
#list_campaigns(params = {}) ⇒ Types::ListCampaignsResponse
Provides summary information about the campaigns under the specified Amazon Connect account.
-
#list_connect_instance_integrations(params = {}) ⇒ Types::ListConnectInstanceIntegrationsResponse
Provides summary information about the integration under the specified Connect instance.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List tags for a resource.
-
#pause_campaign(params = {}) ⇒ Struct
Pauses a campaign for the specified Amazon Connect account.
-
#put_connect_instance_integration(params = {}) ⇒ Struct
Put or update the integration for the specified Amazon Connect instance.
-
#put_instance_communication_limits(params = {}) ⇒ Struct
Put the instance communication limits.
-
#put_outbound_request_batch(params = {}) ⇒ Types::PutOutboundRequestBatchResponse
Creates outbound requests for the specified campaign Amazon Connect account.
-
#put_profile_outbound_request_batch(params = {}) ⇒ Types::PutProfileOutboundRequestBatchResponse
Takes in a list of profile outbound requests to be placed as part of an outbound campaign.
-
#resume_campaign(params = {}) ⇒ Struct
Stops a campaign for the specified Amazon Connect account.
-
#start_campaign(params = {}) ⇒ Struct
Starts a campaign for the specified Amazon Connect account.
-
#start_instance_onboarding_job(params = {}) ⇒ Types::StartInstanceOnboardingJobResponse
Onboard the specific Amazon Connect instance to Connect Campaigns.
-
#stop_campaign(params = {}) ⇒ Struct
Stops a campaign for the specified Amazon Connect account.
-
#tag_resource(params = {}) ⇒ Struct
Tag a resource.
-
#untag_resource(params = {}) ⇒ Struct
Untag a resource.
-
#update_campaign_channel_subtype_config(params = {}) ⇒ Struct
Updates the channel subtype config of a campaign.
-
#update_campaign_communication_limits(params = {}) ⇒ Struct
Updates the communication limits config for a campaign.
-
#update_campaign_communication_time(params = {}) ⇒ Struct
Updates the communication time config for a campaign.
-
#update_campaign_entry_limits(params = {}) ⇒ Struct
Updates the entry limits config for a campaign.
-
#update_campaign_flow_association(params = {}) ⇒ Struct
Updates the campaign flow associated with a campaign.
-
#update_campaign_name(params = {}) ⇒ Struct
Updates the name of a campaign.
-
#update_campaign_schedule(params = {}) ⇒ Struct
Updates the schedule for a campaign.
-
#update_campaign_source(params = {}) ⇒ Struct
Updates the campaign source with a campaign.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from Aws::ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
471 472 473 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 471 def initialize(*args) super end |
Instance Method Details
#create_campaign(params = {}) ⇒ Types::CreateCampaignResponse
Creates a campaign for the specified Amazon Connect account. This API is idempotent.
736 737 738 739 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 736 def create_campaign(params = {}, = {}) req = build_request(:create_campaign, params) req.send_request() end |
#delete_campaign(params = {}) ⇒ Struct
Deletes a campaign from the specified Amazon Connect account.
758 759 760 761 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 758 def delete_campaign(params = {}, = {}) req = build_request(:delete_campaign, params) req.send_request() end |
#delete_campaign_channel_subtype_config(params = {}) ⇒ Struct
Deletes the channel subtype config of a campaign. This API is idempotent.
785 786 787 788 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 785 def delete_campaign_channel_subtype_config(params = {}, = {}) req = build_request(:delete_campaign_channel_subtype_config, params) req.send_request() end |
#delete_campaign_communication_limits(params = {}) ⇒ Struct
Deletes the communication limits config for a campaign. This API is idempotent.
812 813 814 815 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 812 def delete_campaign_communication_limits(params = {}, = {}) req = build_request(:delete_campaign_communication_limits, params) req.send_request() end |
#delete_campaign_communication_time(params = {}) ⇒ Struct
Deletes the communication time config for a campaign. This API is idempotent.
839 840 841 842 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 839 def delete_campaign_communication_time(params = {}, = {}) req = build_request(:delete_campaign_communication_time, params) req.send_request() end |
#delete_campaign_entry_limits(params = {}) ⇒ Struct
Deletes the entry limits config for a campaign. This API is idempotent.
862 863 864 865 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 862 def delete_campaign_entry_limits(params = {}, = {}) req = build_request(:delete_campaign_entry_limits, params) req.send_request() end |
#delete_connect_instance_config(params = {}) ⇒ Struct
Deletes a connect instance config from the specified AWS account.
889 890 891 892 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 889 def delete_connect_instance_config(params = {}, = {}) req = build_request(:delete_connect_instance_config, params) req.send_request() end |
#delete_connect_instance_integration(params = {}) ⇒ Struct
Delete the integration for the specified Amazon Connect instance.
925 926 927 928 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 925 def delete_connect_instance_integration(params = {}, = {}) req = build_request(:delete_connect_instance_integration, params) req.send_request() end |
#delete_instance_onboarding_job(params = {}) ⇒ Struct
Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
948 949 950 951 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 948 def delete_instance_onboarding_job(params = {}, = {}) req = build_request(:delete_instance_onboarding_job, params) req.send_request() end |
#describe_campaign(params = {}) ⇒ Types::DescribeCampaignResponse
Describes the specific campaign.
1059 1060 1061 1062 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1059 def describe_campaign(params = {}, = {}) req = build_request(:describe_campaign, params) req.send_request() end |
#get_campaign_state(params = {}) ⇒ Types::GetCampaignStateResponse
Get state of a campaign for the specified Amazon Connect account.
1087 1088 1089 1090 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1087 def get_campaign_state(params = {}, = {}) req = build_request(:get_campaign_state, params) req.send_request() end |
#get_campaign_state_batch(params = {}) ⇒ Types::GetCampaignStateBatchResponse
Get state of campaigns for the specified Amazon Connect account.
1121 1122 1123 1124 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1121 def get_campaign_state_batch(params = {}, = {}) req = build_request(:get_campaign_state_batch, params) req.send_request() end |
#get_connect_instance_config(params = {}) ⇒ Types::GetConnectInstanceConfigResponse
Get the specific Connect instance config.
1153 1154 1155 1156 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1153 def get_connect_instance_config(params = {}, = {}) req = build_request(:get_connect_instance_config, params) req.send_request() end |
#get_instance_communication_limits(params = {}) ⇒ Types::GetInstanceCommunicationLimitsResponse
Get the instance communication limits.
1184 1185 1186 1187 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1184 def get_instance_communication_limits(params = {}, = {}) req = build_request(:get_instance_communication_limits, params) req.send_request() end |
#get_instance_onboarding_job_status(params = {}) ⇒ Types::GetInstanceOnboardingJobStatusResponse
Get the specific instance onboarding job status.
1214 1215 1216 1217 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1214 def get_instance_onboarding_job_status(params = {}, = {}) req = build_request(:get_instance_onboarding_job_status, params) req.send_request() end |
#list_campaigns(params = {}) ⇒ Types::ListCampaignsResponse
Provides summary information about the campaigns under the specified Amazon Connect account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1273 1274 1275 1276 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1273 def list_campaigns(params = {}, = {}) req = build_request(:list_campaigns, params) req.send_request() end |
#list_connect_instance_integrations(params = {}) ⇒ Types::ListConnectInstanceIntegrationsResponse
Provides summary information about the integration under the specified Connect instance.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1319 1320 1321 1322 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1319 def list_connect_instance_integrations(params = {}, = {}) req = build_request(:list_connect_instance_integrations, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List tags for a resource.
1348 1349 1350 1351 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1348 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#pause_campaign(params = {}) ⇒ Struct
Pauses a campaign for the specified Amazon Connect account.
1370 1371 1372 1373 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1370 def pause_campaign(params = {}, = {}) req = build_request(:pause_campaign, params) req.send_request() end |
#put_connect_instance_integration(params = {}) ⇒ Struct
Put or update the integration for the specified Amazon Connect instance.
1410 1411 1412 1413 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1410 def put_connect_instance_integration(params = {}, = {}) req = build_request(:put_connect_instance_integration, params) req.send_request() end |
#put_instance_communication_limits(params = {}) ⇒ Struct
Put the instance communication limits. This API is idempotent.
1446 1447 1448 1449 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1446 def put_instance_communication_limits(params = {}, = {}) req = build_request(:put_instance_communication_limits, params) req.send_request() end |
#put_outbound_request_batch(params = {}) ⇒ Types::PutOutboundRequestBatchResponse
Creates outbound requests for the specified campaign Amazon Connect account. This API is idempotent.
1529 1530 1531 1532 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1529 def put_outbound_request_batch(params = {}, = {}) req = build_request(:put_outbound_request_batch, params) req.send_request() end |
#put_profile_outbound_request_batch(params = {}) ⇒ Types::PutProfileOutboundRequestBatchResponse
Takes in a list of profile outbound requests to be placed as part of an outbound campaign. This API is idempotent.
1584 1585 1586 1587 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1584 def put_profile_outbound_request_batch(params = {}, = {}) req = build_request(:put_profile_outbound_request_batch, params) req.send_request() end |
#resume_campaign(params = {}) ⇒ Struct
Stops a campaign for the specified Amazon Connect account.
1606 1607 1608 1609 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1606 def resume_campaign(params = {}, = {}) req = build_request(:resume_campaign, params) req.send_request() end |
#start_campaign(params = {}) ⇒ Struct
Starts a campaign for the specified Amazon Connect account.
1628 1629 1630 1631 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1628 def start_campaign(params = {}, = {}) req = build_request(:start_campaign, params) req.send_request() end |
#start_instance_onboarding_job(params = {}) ⇒ Types::StartInstanceOnboardingJobResponse
Onboard the specific Amazon Connect instance to Connect Campaigns.
1669 1670 1671 1672 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1669 def start_instance_onboarding_job(params = {}, = {}) req = build_request(:start_instance_onboarding_job, params) req.send_request() end |
#stop_campaign(params = {}) ⇒ Struct
Stops a campaign for the specified Amazon Connect account.
1691 1692 1693 1694 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1691 def stop_campaign(params = {}, = {}) req = build_request(:stop_campaign, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tag a resource.
1719 1720 1721 1722 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1719 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Untag a resource.
1745 1746 1747 1748 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1745 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_campaign_channel_subtype_config(params = {}) ⇒ Struct
Updates the channel subtype config of a campaign. This API is idempotent.
1847 1848 1849 1850 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1847 def update_campaign_channel_subtype_config(params = {}, = {}) req = build_request(:update_campaign_channel_subtype_config, params) req.send_request() end |
#update_campaign_communication_limits(params = {}) ⇒ Struct
Updates the communication limits config for a campaign. This API is idempotent.
1885 1886 1887 1888 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 1885 def update_campaign_communication_limits(params = {}, = {}) req = build_request(:update_campaign_communication_limits, params) req.send_request() end |
#update_campaign_communication_time(params = {}) ⇒ Struct
Updates the communication time config for a campaign. This API is idempotent.
2002 2003 2004 2005 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 2002 def update_campaign_communication_time(params = {}, = {}) req = build_request(:update_campaign_communication_time, params) req.send_request() end |
#update_campaign_entry_limits(params = {}) ⇒ Struct
Updates the entry limits config for a campaign. This API is idempotent.
2032 2033 2034 2035 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 2032 def update_campaign_entry_limits(params = {}, = {}) req = build_request(:update_campaign_entry_limits, params) req.send_request() end |
#update_campaign_flow_association(params = {}) ⇒ Struct
Updates the campaign flow associated with a campaign. This API is idempotent.
2059 2060 2061 2062 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 2059 def update_campaign_flow_association(params = {}, = {}) req = build_request(:update_campaign_flow_association, params) req.send_request() end |
#update_campaign_name(params = {}) ⇒ Struct
Updates the name of a campaign. This API is idempotent.
2085 2086 2087 2088 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 2085 def update_campaign_name(params = {}, = {}) req = build_request(:update_campaign_name, params) req.send_request() end |
#update_campaign_schedule(params = {}) ⇒ Struct
Updates the schedule for a campaign. This API is idempotent.
2115 2116 2117 2118 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 2115 def update_campaign_schedule(params = {}, = {}) req = build_request(:update_campaign_schedule, params) req.send_request() end |
#update_campaign_source(params = {}) ⇒ Struct
Updates the campaign source with a campaign. This API is idempotent.
2146 2147 2148 2149 |
# File 'gems/aws-sdk-connectcampaignsv2/lib/aws-sdk-connectcampaignsv2/client.rb', line 2146 def update_campaign_source(params = {}, = {}) req = build_request(:update_campaign_source, params) req.send_request() end |