Class: Aws::ConnectCampaignService::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::ConnectCampaignService::Client
- Includes:
- Aws::ClientStubs
- Defined in:
- gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb
Overview
An API client for ConnectCampaignService. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::ConnectCampaignService::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_connect_instance_config(params = {}) ⇒ Struct
Deletes a connect instance config from the specified AWS account.
-
#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_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_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_dial_request_batch(params = {}) ⇒ Types::PutDialRequestBatchResponse
Creates dials requests for the specified campaign Amazon Connect account.
-
#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_dialer_config(params = {}) ⇒ Struct
Updates the dialer config of a campaign.
-
#update_campaign_name(params = {}) ⇒ Struct
Updates the name of a campaign.
-
#update_campaign_outbound_call_config(params = {}) ⇒ Struct
Updates the outbound call config of 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.
467 468 469 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 467 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.
540 541 542 543 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 540 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.
562 563 564 565 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 562 def delete_campaign(params = {}, = {}) req = build_request(:delete_campaign, params) req.send_request() end |
#delete_connect_instance_config(params = {}) ⇒ Struct
Deletes a connect instance config from the specified AWS account.
584 585 586 587 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 584 def delete_connect_instance_config(params = {}, = {}) req = build_request(:delete_connect_instance_config, params) req.send_request() end |
#delete_instance_onboarding_job(params = {}) ⇒ Struct
Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance.
607 608 609 610 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 607 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.
650 651 652 653 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 650 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.
678 679 680 681 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 678 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.
712 713 714 715 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 712 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.
744 745 746 747 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 744 def get_connect_instance_config(params = {}, = {}) req = build_request(:get_connect_instance_config, params) req.send_request() end |
#get_instance_onboarding_job_status(params = {}) ⇒ Types::GetInstanceOnboardingJobStatusResponse
Get the specific instance onboarding job status.
774 775 776 777 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 774 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.
824 825 826 827 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 824 def list_campaigns(params = {}, = {}) req = build_request(:list_campaigns, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List tags for a resource.
853 854 855 856 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 853 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.
875 876 877 878 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 875 def pause_campaign(params = {}, = {}) req = build_request(:pause_campaign, params) req.send_request() end |
#put_dial_request_batch(params = {}) ⇒ Types::PutDialRequestBatchResponse
Creates dials requests for the specified campaign Amazon Connect account. This API is idempotent.
924 925 926 927 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 924 def put_dial_request_batch(params = {}, = {}) req = build_request(:put_dial_request_batch, params) req.send_request() end |
#resume_campaign(params = {}) ⇒ Struct
Stops a campaign for the specified Amazon Connect account.
946 947 948 949 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 946 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.
968 969 970 971 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 968 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.
1009 1010 1011 1012 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1009 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.
1031 1032 1033 1034 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1031 def stop_campaign(params = {}, = {}) req = build_request(:stop_campaign, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tag a resource.
1059 1060 1061 1062 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1059 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Untag a resource.
1085 1086 1087 1088 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1085 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_campaign_dialer_config(params = {}) ⇒ Struct
Updates the dialer config of a campaign. This API is idempotent.
1123 1124 1125 1126 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1123 def update_campaign_dialer_config(params = {}, = {}) req = build_request(:update_campaign_dialer_config, params) req.send_request() end |
#update_campaign_name(params = {}) ⇒ Struct
Updates the name of a campaign. This API is idempotent.
1149 1150 1151 1152 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1149 def update_campaign_name(params = {}, = {}) req = build_request(:update_campaign_name, params) req.send_request() end |
#update_campaign_outbound_call_config(params = {}) ⇒ Struct
Updates the outbound call config of a campaign. This API is idempotent.
1189 1190 1191 1192 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1189 def update_campaign_outbound_call_config(params = {}, = {}) req = build_request(:update_campaign_outbound_call_config, params) req.send_request() end |