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.
444 445 446 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 444 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.
517 518 519 520 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 517 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.
539 540 541 542 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 539 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.
561 562 563 564 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 561 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.
584 585 586 587 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 584 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.
627 628 629 630 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 627 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.
655 656 657 658 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 655 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.
689 690 691 692 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 689 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.
721 722 723 724 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 721 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.
751 752 753 754 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 751 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.
801 802 803 804 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 801 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.
830 831 832 833 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 830 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.
852 853 854 855 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 852 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.
901 902 903 904 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 901 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.
923 924 925 926 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 923 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.
945 946 947 948 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 945 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.
986 987 988 989 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 986 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.
1008 1009 1010 1011 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1008 def stop_campaign(params = {}, = {}) req = build_request(:stop_campaign, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tag a resource.
1036 1037 1038 1039 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1036 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Untag a resource.
1062 1063 1064 1065 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1062 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.
1100 1101 1102 1103 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1100 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.
1126 1127 1128 1129 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1126 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.
1166 1167 1168 1169 |
# File 'gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb', line 1166 def update_campaign_outbound_call_config(params = {}, = {}) req = build_request(:update_campaign_outbound_call_config, params) req.send_request() end |