aws-sdk-connectcampaignservice 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1094 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'seahorse/client/plugins/content_length.rb'
11
+ require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
+ require 'aws-sdk-core/plugins/logging.rb'
13
+ require 'aws-sdk-core/plugins/param_converter.rb'
14
+ require 'aws-sdk-core/plugins/param_validator.rb'
15
+ require 'aws-sdk-core/plugins/user_agent.rb'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
+ require 'aws-sdk-core/plugins/retry_errors.rb'
18
+ require 'aws-sdk-core/plugins/global_configuration.rb'
19
+ require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
+ require 'aws-sdk-core/plugins/response_paging.rb'
23
+ require 'aws-sdk-core/plugins/stub_responses.rb'
24
+ require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
+ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
33
+ require 'aws-sdk-core/plugins/signature_v4.rb'
34
+ require 'aws-sdk-core/plugins/protocols/rest_json.rb'
35
+
36
+ Aws::Plugins::GlobalConfiguration.add_identifier(:connectcampaignservice)
37
+
38
+ module Aws::ConnectCampaignService
39
+ # An API client for ConnectCampaignService. To construct a client, you need to configure a `:region` and `:credentials`.
40
+ #
41
+ # client = Aws::ConnectCampaignService::Client.new(
42
+ # region: region_name,
43
+ # credentials: credentials,
44
+ # # ...
45
+ # )
46
+ #
47
+ # For details on configuring region and credentials see
48
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
49
+ #
50
+ # See {#initialize} for a full list of supported configuration options.
51
+ class Client < Seahorse::Client::Base
52
+
53
+ include Aws::ClientStubs
54
+
55
+ @identifier = :connectcampaignservice
56
+
57
+ set_api(ClientApi::API)
58
+
59
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
60
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
61
+ add_plugin(Aws::Plugins::Logging)
62
+ add_plugin(Aws::Plugins::ParamConverter)
63
+ add_plugin(Aws::Plugins::ParamValidator)
64
+ add_plugin(Aws::Plugins::UserAgent)
65
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
66
+ add_plugin(Aws::Plugins::RetryErrors)
67
+ add_plugin(Aws::Plugins::GlobalConfiguration)
68
+ add_plugin(Aws::Plugins::RegionalEndpoint)
69
+ add_plugin(Aws::Plugins::EndpointDiscovery)
70
+ add_plugin(Aws::Plugins::EndpointPattern)
71
+ add_plugin(Aws::Plugins::ResponsePaging)
72
+ add_plugin(Aws::Plugins::StubResponses)
73
+ add_plugin(Aws::Plugins::IdempotencyToken)
74
+ add_plugin(Aws::Plugins::JsonvalueConverter)
75
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
76
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
77
+ add_plugin(Aws::Plugins::TransferEncoding)
78
+ add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
+ add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
82
+ add_plugin(Aws::Plugins::SignatureV4)
83
+ add_plugin(Aws::Plugins::Protocols::RestJson)
84
+
85
+ # @overload initialize(options)
86
+ # @param [Hash] options
87
+ # @option options [required, Aws::CredentialProvider] :credentials
88
+ # Your AWS credentials. This can be an instance of any one of the
89
+ # following classes:
90
+ #
91
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
92
+ # credentials.
93
+ #
94
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
95
+ # shared file, such as `~/.aws/config`.
96
+ #
97
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
98
+ #
99
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
100
+ # assume a role after providing credentials via the web.
101
+ #
102
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
103
+ # access token generated from `aws login`.
104
+ #
105
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
106
+ # process that outputs to stdout.
107
+ #
108
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
109
+ # from an EC2 IMDS on an EC2 instance.
110
+ #
111
+ # * `Aws::ECSCredentials` - Used for loading credentials from
112
+ # instances running in ECS.
113
+ #
114
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
115
+ # from the Cognito Identity service.
116
+ #
117
+ # When `:credentials` are not configured directly, the following
118
+ # locations will be searched for credentials:
119
+ #
120
+ # * `Aws.config[:credentials]`
121
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
122
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
123
+ # * `~/.aws/credentials`
124
+ # * `~/.aws/config`
125
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
126
+ # are very aggressive. Construct and pass an instance of
127
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
128
+ # enable retries and extended timeouts. Instance profile credential
129
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
130
+ # to true.
131
+ #
132
+ # @option options [required, String] :region
133
+ # The AWS region to connect to. The configured `:region` is
134
+ # used to determine the service `:endpoint`. When not passed,
135
+ # a default `:region` is searched for in the following locations:
136
+ #
137
+ # * `Aws.config[:region]`
138
+ # * `ENV['AWS_REGION']`
139
+ # * `ENV['AMAZON_REGION']`
140
+ # * `ENV['AWS_DEFAULT_REGION']`
141
+ # * `~/.aws/credentials`
142
+ # * `~/.aws/config`
143
+ #
144
+ # @option options [String] :access_key_id
145
+ #
146
+ # @option options [Boolean] :active_endpoint_cache (false)
147
+ # When set to `true`, a thread polling for endpoints will be running in
148
+ # the background every 60 secs (default). Defaults to `false`.
149
+ #
150
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
151
+ # Used only in `adaptive` retry mode. When true, the request will sleep
152
+ # until there is sufficent client side capacity to retry the request.
153
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
154
+ # not retry instead of sleeping.
155
+ #
156
+ # @option options [Boolean] :client_side_monitoring (false)
157
+ # When `true`, client-side metrics will be collected for all API requests from
158
+ # this client.
159
+ #
160
+ # @option options [String] :client_side_monitoring_client_id ("")
161
+ # Allows you to provide an identifier for this client which will be attached to
162
+ # all generated client side metrics. Defaults to an empty string.
163
+ #
164
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
165
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
166
+ # side monitoring agent is running on, where client metrics will be published via UDP.
167
+ #
168
+ # @option options [Integer] :client_side_monitoring_port (31000)
169
+ # Required for publishing client metrics. The port that the client side monitoring
170
+ # agent is running on, where client metrics will be published via UDP.
171
+ #
172
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
173
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
174
+ # will use the Client Side Monitoring Agent Publisher.
175
+ #
176
+ # @option options [Boolean] :convert_params (true)
177
+ # When `true`, an attempt is made to coerce request parameters into
178
+ # the required types.
179
+ #
180
+ # @option options [Boolean] :correct_clock_skew (true)
181
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
182
+ # a clock skew correction and retry requests with skewed client clocks.
183
+ #
184
+ # @option options [String] :defaults_mode ("legacy")
185
+ # See {Aws::DefaultsModeConfiguration} for a list of the
186
+ # accepted modes and the configuration defaults that are included.
187
+ #
188
+ # @option options [Boolean] :disable_host_prefix_injection (false)
189
+ # Set to true to disable SDK automatically adding host prefix
190
+ # to default service endpoint when available.
191
+ #
192
+ # @option options [String] :endpoint
193
+ # The client endpoint is normally constructed from the `:region`
194
+ # option. You should only configure an `:endpoint` when connecting
195
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
196
+ #
197
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
198
+ # Used for the maximum size limit of the LRU cache storing endpoints data
199
+ # for endpoint discovery enabled operations. Defaults to 1000.
200
+ #
201
+ # @option options [Integer] :endpoint_cache_max_threads (10)
202
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
203
+ #
204
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
205
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
206
+ # Use this option to config the time interval in seconds for making
207
+ # requests fetching endpoints information. Defaults to 60 sec.
208
+ #
209
+ # @option options [Boolean] :endpoint_discovery (false)
210
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
211
+ #
212
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
213
+ # The log formatter.
214
+ #
215
+ # @option options [Symbol] :log_level (:info)
216
+ # The log level to send messages to the `:logger` at.
217
+ #
218
+ # @option options [Logger] :logger
219
+ # The Logger instance to send log messages to. If this option
220
+ # is not set, logging will be disabled.
221
+ #
222
+ # @option options [Integer] :max_attempts (3)
223
+ # An integer representing the maximum number attempts that will be made for
224
+ # a single request, including the initial attempt. For example,
225
+ # setting this value to 5 will result in a request being retried up to
226
+ # 4 times. Used in `standard` and `adaptive` retry modes.
227
+ #
228
+ # @option options [String] :profile ("default")
229
+ # Used when loading credentials from the shared credentials file
230
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
231
+ #
232
+ # @option options [Proc] :retry_backoff
233
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
234
+ # This option is only used in the `legacy` retry mode.
235
+ #
236
+ # @option options [Float] :retry_base_delay (0.3)
237
+ # The base delay in seconds used by the default backoff function. This option
238
+ # is only used in the `legacy` retry mode.
239
+ #
240
+ # @option options [Symbol] :retry_jitter (:none)
241
+ # A delay randomiser function used by the default backoff function.
242
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
243
+ # otherwise a Proc that takes and returns a number. This option is only used
244
+ # in the `legacy` retry mode.
245
+ #
246
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
247
+ #
248
+ # @option options [Integer] :retry_limit (3)
249
+ # The maximum number of times to retry failed requests. Only
250
+ # ~ 500 level server errors and certain ~ 400 level client errors
251
+ # are retried. Generally, these are throttling errors, data
252
+ # checksum errors, networking errors, timeout errors, auth errors,
253
+ # endpoint discovery, and errors from expired credentials.
254
+ # This option is only used in the `legacy` retry mode.
255
+ #
256
+ # @option options [Integer] :retry_max_delay (0)
257
+ # The maximum number of seconds to delay between retries (0 for no limit)
258
+ # used by the default backoff function. This option is only used in the
259
+ # `legacy` retry mode.
260
+ #
261
+ # @option options [String] :retry_mode ("legacy")
262
+ # Specifies which retry algorithm to use. Values are:
263
+ #
264
+ # * `legacy` - The pre-existing retry behavior. This is default value if
265
+ # no retry mode is provided.
266
+ #
267
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
268
+ # This includes support for retry quotas, which limit the number of
269
+ # unsuccessful retries a client can make.
270
+ #
271
+ # * `adaptive` - An experimental retry mode that includes all the
272
+ # functionality of `standard` mode along with automatic client side
273
+ # throttling. This is a provisional mode that may change behavior
274
+ # in the future.
275
+ #
276
+ #
277
+ # @option options [String] :secret_access_key
278
+ #
279
+ # @option options [String] :session_token
280
+ #
281
+ # @option options [Boolean] :stub_responses (false)
282
+ # Causes the client to return stubbed responses. By default
283
+ # fake responses are generated and returned. You can specify
284
+ # the response data to return or errors to raise by calling
285
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
286
+ #
287
+ # ** Please note ** When response stubbing is enabled, no HTTP
288
+ # requests are made, and retries are disabled.
289
+ #
290
+ # @option options [Boolean] :use_dualstack_endpoint
291
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
+ # will be used if available.
293
+ #
294
+ # @option options [Boolean] :use_fips_endpoint
295
+ # When set to `true`, fips compatible endpoints will be used if available.
296
+ # When a `fips` region is used, the region is normalized and this config
297
+ # is set to `true`.
298
+ #
299
+ # @option options [Boolean] :validate_params (true)
300
+ # When `true`, request parameters are validated before
301
+ # sending the request.
302
+ #
303
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
+ # requests through. Formatted like 'http://proxy.com:123'.
305
+ #
306
+ # @option options [Float] :http_open_timeout (15) The number of
307
+ # seconds to wait when opening a HTTP session before raising a
308
+ # `Timeout::Error`.
309
+ #
310
+ # @option options [Float] :http_read_timeout (60) The default
311
+ # number of seconds to wait for response data. This value can
312
+ # safely be set per-request on the session.
313
+ #
314
+ # @option options [Float] :http_idle_timeout (5) The number of
315
+ # seconds a connection is allowed to sit idle before it is
316
+ # considered stale. Stale connections are closed and removed
317
+ # from the pool before making a request.
318
+ #
319
+ # @option options [Float] :http_continue_timeout (1) The number of
320
+ # seconds to wait for a 100-continue response before sending the
321
+ # request body. This option has no effect unless the request has
322
+ # "Expect" header set to "100-continue". Defaults to `nil` which
323
+ # disables this behaviour. This value can safely be set per
324
+ # request on the session.
325
+ #
326
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
327
+ # in seconds.
328
+ #
329
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
330
+ # HTTP debug output will be sent to the `:logger`.
331
+ #
332
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
333
+ # SSL peer certificates are verified when establishing a
334
+ # connection.
335
+ #
336
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
337
+ # certificate authority bundle file that should be used when
338
+ # verifying peer certificates. If you do not pass
339
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
340
+ # will be used if available.
341
+ #
342
+ # @option options [String] :ssl_ca_directory Full path of the
343
+ # directory that contains the unbundled SSL certificate
344
+ # authority files for verifying peer certificates. If you do
345
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
346
+ # system default will be used if available.
347
+ #
348
+ def initialize(*args)
349
+ super
350
+ end
351
+
352
+ # @!group API Operations
353
+
354
+ # Creates a campaign for the specified Amazon Connect account. This API
355
+ # is idempotent.
356
+ #
357
+ # @option params [required, String] :connect_instance_id
358
+ # Amazon Connect Instance Id
359
+ #
360
+ # @option params [required, Types::DialerConfig] :dialer_config
361
+ # The possible types of dialer config parameters
362
+ #
363
+ # @option params [required, String] :name
364
+ # The name of an Amazon Connect Campaign name.
365
+ #
366
+ # @option params [required, Types::OutboundCallConfig] :outbound_call_config
367
+ # The configuration used for outbound calls.
368
+ #
369
+ # @option params [Hash<String,String>] :tags
370
+ # Tag map with key and value.
371
+ #
372
+ # @return [Types::CreateCampaignResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
373
+ #
374
+ # * {Types::CreateCampaignResponse#arn #arn} => String
375
+ # * {Types::CreateCampaignResponse#id #id} => String
376
+ # * {Types::CreateCampaignResponse#tags #tags} => Hash&lt;String,String&gt;
377
+ #
378
+ # @example Request syntax with placeholder values
379
+ #
380
+ # resp = client.create_campaign({
381
+ # connect_instance_id: "InstanceId", # required
382
+ # dialer_config: { # required
383
+ # predictive_dialer_config: {
384
+ # bandwidth_allocation: 1.0, # required
385
+ # },
386
+ # progressive_dialer_config: {
387
+ # bandwidth_allocation: 1.0, # required
388
+ # },
389
+ # },
390
+ # name: "CampaignName", # required
391
+ # outbound_call_config: { # required
392
+ # answer_machine_detection_config: {
393
+ # enable_answer_machine_detection: false, # required
394
+ # },
395
+ # connect_contact_flow_id: "ContactFlowId", # required
396
+ # connect_queue_id: "QueueId", # required
397
+ # connect_source_phone_number: "SourcePhoneNumber",
398
+ # },
399
+ # tags: {
400
+ # "TagKey" => "TagValue",
401
+ # },
402
+ # })
403
+ #
404
+ # @example Response structure
405
+ #
406
+ # resp.arn #=> String
407
+ # resp.id #=> String
408
+ # resp.tags #=> Hash
409
+ # resp.tags["TagKey"] #=> String
410
+ #
411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/CreateCampaign AWS API Documentation
412
+ #
413
+ # @overload create_campaign(params = {})
414
+ # @param [Hash] params ({})
415
+ def create_campaign(params = {}, options = {})
416
+ req = build_request(:create_campaign, params)
417
+ req.send_request(options)
418
+ end
419
+
420
+ # Deletes a campaign from the specified Amazon Connect account.
421
+ #
422
+ # @option params [required, String] :id
423
+ # Identifier representing a Campaign
424
+ #
425
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
426
+ #
427
+ # @example Request syntax with placeholder values
428
+ #
429
+ # resp = client.delete_campaign({
430
+ # id: "CampaignId", # required
431
+ # })
432
+ #
433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DeleteCampaign AWS API Documentation
434
+ #
435
+ # @overload delete_campaign(params = {})
436
+ # @param [Hash] params ({})
437
+ def delete_campaign(params = {}, options = {})
438
+ req = build_request(:delete_campaign, params)
439
+ req.send_request(options)
440
+ end
441
+
442
+ # Deletes a connect instance config from the specified AWS account.
443
+ #
444
+ # @option params [required, String] :connect_instance_id
445
+ # Amazon Connect Instance Id
446
+ #
447
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
448
+ #
449
+ # @example Request syntax with placeholder values
450
+ #
451
+ # resp = client.delete_connect_instance_config({
452
+ # connect_instance_id: "InstanceId", # required
453
+ # })
454
+ #
455
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DeleteConnectInstanceConfig AWS API Documentation
456
+ #
457
+ # @overload delete_connect_instance_config(params = {})
458
+ # @param [Hash] params ({})
459
+ def delete_connect_instance_config(params = {}, options = {})
460
+ req = build_request(:delete_connect_instance_config, params)
461
+ req.send_request(options)
462
+ end
463
+
464
+ # Delete the Connect Campaigns onboarding job for the specified Amazon
465
+ # Connect instance.
466
+ #
467
+ # @option params [required, String] :connect_instance_id
468
+ # Amazon Connect Instance Id
469
+ #
470
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
471
+ #
472
+ # @example Request syntax with placeholder values
473
+ #
474
+ # resp = client.delete_instance_onboarding_job({
475
+ # connect_instance_id: "InstanceId", # required
476
+ # })
477
+ #
478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DeleteInstanceOnboardingJob AWS API Documentation
479
+ #
480
+ # @overload delete_instance_onboarding_job(params = {})
481
+ # @param [Hash] params ({})
482
+ def delete_instance_onboarding_job(params = {}, options = {})
483
+ req = build_request(:delete_instance_onboarding_job, params)
484
+ req.send_request(options)
485
+ end
486
+
487
+ # Describes the specific campaign.
488
+ #
489
+ # @option params [required, String] :id
490
+ # Identifier representing a Campaign
491
+ #
492
+ # @return [Types::DescribeCampaignResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
493
+ #
494
+ # * {Types::DescribeCampaignResponse#campaign #campaign} => Types::Campaign
495
+ #
496
+ # @example Request syntax with placeholder values
497
+ #
498
+ # resp = client.describe_campaign({
499
+ # id: "CampaignId", # required
500
+ # })
501
+ #
502
+ # @example Response structure
503
+ #
504
+ # resp.campaign.arn #=> String
505
+ # resp.campaign.connect_instance_id #=> String
506
+ # resp.campaign.dialer_config.predictive_dialer_config.bandwidth_allocation #=> Float
507
+ # resp.campaign.dialer_config.progressive_dialer_config.bandwidth_allocation #=> Float
508
+ # resp.campaign.id #=> String
509
+ # resp.campaign.name #=> String
510
+ # resp.campaign.outbound_call_config.answer_machine_detection_config.enable_answer_machine_detection #=> Boolean
511
+ # resp.campaign.outbound_call_config.connect_contact_flow_id #=> String
512
+ # resp.campaign.outbound_call_config.connect_queue_id #=> String
513
+ # resp.campaign.outbound_call_config.connect_source_phone_number #=> String
514
+ # resp.campaign.tags #=> Hash
515
+ # resp.campaign.tags["TagKey"] #=> String
516
+ #
517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/DescribeCampaign AWS API Documentation
518
+ #
519
+ # @overload describe_campaign(params = {})
520
+ # @param [Hash] params ({})
521
+ def describe_campaign(params = {}, options = {})
522
+ req = build_request(:describe_campaign, params)
523
+ req.send_request(options)
524
+ end
525
+
526
+ # Get state of a campaign for the specified Amazon Connect account.
527
+ #
528
+ # @option params [required, String] :id
529
+ # Identifier representing a Campaign
530
+ #
531
+ # @return [Types::GetCampaignStateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
532
+ #
533
+ # * {Types::GetCampaignStateResponse#state #state} => String
534
+ #
535
+ # @example Request syntax with placeholder values
536
+ #
537
+ # resp = client.get_campaign_state({
538
+ # id: "CampaignId", # required
539
+ # })
540
+ #
541
+ # @example Response structure
542
+ #
543
+ # resp.state #=> String, one of "Initialized", "Running", "Paused", "Stopped", "Failed"
544
+ #
545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetCampaignState AWS API Documentation
546
+ #
547
+ # @overload get_campaign_state(params = {})
548
+ # @param [Hash] params ({})
549
+ def get_campaign_state(params = {}, options = {})
550
+ req = build_request(:get_campaign_state, params)
551
+ req.send_request(options)
552
+ end
553
+
554
+ # Get state of campaigns for the specified Amazon Connect account.
555
+ #
556
+ # @option params [required, Array<String>] :campaign_ids
557
+ # List of CampaignId
558
+ #
559
+ # @return [Types::GetCampaignStateBatchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
560
+ #
561
+ # * {Types::GetCampaignStateBatchResponse#failed_requests #failed_requests} => Array&lt;Types::FailedCampaignStateResponse&gt;
562
+ # * {Types::GetCampaignStateBatchResponse#successful_requests #successful_requests} => Array&lt;Types::SuccessfulCampaignStateResponse&gt;
563
+ #
564
+ # @example Request syntax with placeholder values
565
+ #
566
+ # resp = client.get_campaign_state_batch({
567
+ # campaign_ids: ["CampaignId"], # required
568
+ # })
569
+ #
570
+ # @example Response structure
571
+ #
572
+ # resp.failed_requests #=> Array
573
+ # resp.failed_requests[0].campaign_id #=> String
574
+ # resp.failed_requests[0].failure_code #=> String, one of "ResourceNotFound", "UnknownError"
575
+ # resp.successful_requests #=> Array
576
+ # resp.successful_requests[0].campaign_id #=> String
577
+ # resp.successful_requests[0].state #=> String, one of "Initialized", "Running", "Paused", "Stopped", "Failed"
578
+ #
579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetCampaignStateBatch AWS API Documentation
580
+ #
581
+ # @overload get_campaign_state_batch(params = {})
582
+ # @param [Hash] params ({})
583
+ def get_campaign_state_batch(params = {}, options = {})
584
+ req = build_request(:get_campaign_state_batch, params)
585
+ req.send_request(options)
586
+ end
587
+
588
+ # Get the specific Connect instance config.
589
+ #
590
+ # @option params [required, String] :connect_instance_id
591
+ # Amazon Connect Instance Id
592
+ #
593
+ # @return [Types::GetConnectInstanceConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
594
+ #
595
+ # * {Types::GetConnectInstanceConfigResponse#connect_instance_config #connect_instance_config} => Types::InstanceConfig
596
+ #
597
+ # @example Request syntax with placeholder values
598
+ #
599
+ # resp = client.get_connect_instance_config({
600
+ # connect_instance_id: "InstanceId", # required
601
+ # })
602
+ #
603
+ # @example Response structure
604
+ #
605
+ # resp.connect_instance_config.connect_instance_id #=> String
606
+ # resp.connect_instance_config.encryption_config.enabled #=> Boolean
607
+ # resp.connect_instance_config.encryption_config.encryption_type #=> String, one of "KMS"
608
+ # resp.connect_instance_config.encryption_config.key_arn #=> String
609
+ # resp.connect_instance_config.service_linked_role_arn #=> String
610
+ #
611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetConnectInstanceConfig AWS API Documentation
612
+ #
613
+ # @overload get_connect_instance_config(params = {})
614
+ # @param [Hash] params ({})
615
+ def get_connect_instance_config(params = {}, options = {})
616
+ req = build_request(:get_connect_instance_config, params)
617
+ req.send_request(options)
618
+ end
619
+
620
+ # Get the specific instance onboarding job status.
621
+ #
622
+ # @option params [required, String] :connect_instance_id
623
+ # Amazon Connect Instance Id
624
+ #
625
+ # @return [Types::GetInstanceOnboardingJobStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
626
+ #
627
+ # * {Types::GetInstanceOnboardingJobStatusResponse#connect_instance_onboarding_job_status #connect_instance_onboarding_job_status} => Types::InstanceOnboardingJobStatus
628
+ #
629
+ # @example Request syntax with placeholder values
630
+ #
631
+ # resp = client.get_instance_onboarding_job_status({
632
+ # connect_instance_id: "InstanceId", # required
633
+ # })
634
+ #
635
+ # @example Response structure
636
+ #
637
+ # resp.connect_instance_onboarding_job_status.connect_instance_id #=> String
638
+ # resp.connect_instance_onboarding_job_status.failure_code #=> String, one of "EVENT_BRIDGE_ACCESS_DENIED", "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED", "IAM_ACCESS_DENIED", "KMS_ACCESS_DENIED", "KMS_KEY_NOT_FOUND", "INTERNAL_FAILURE"
639
+ # resp.connect_instance_onboarding_job_status.status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
640
+ #
641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/GetInstanceOnboardingJobStatus AWS API Documentation
642
+ #
643
+ # @overload get_instance_onboarding_job_status(params = {})
644
+ # @param [Hash] params ({})
645
+ def get_instance_onboarding_job_status(params = {}, options = {})
646
+ req = build_request(:get_instance_onboarding_job_status, params)
647
+ req.send_request(options)
648
+ end
649
+
650
+ # Provides summary information about the campaigns under the specified
651
+ # Amazon Connect account.
652
+ #
653
+ # @option params [Types::CampaignFilters] :filters
654
+ # Filter model by type
655
+ #
656
+ # @option params [Integer] :max_results
657
+ # The maximum number of results to return per page.
658
+ #
659
+ # @option params [String] :next_token
660
+ # The token for the next set of results.
661
+ #
662
+ # @return [Types::ListCampaignsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
663
+ #
664
+ # * {Types::ListCampaignsResponse#campaign_summary_list #campaign_summary_list} => Array&lt;Types::CampaignSummary&gt;
665
+ # * {Types::ListCampaignsResponse#next_token #next_token} => String
666
+ #
667
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
668
+ #
669
+ # @example Request syntax with placeholder values
670
+ #
671
+ # resp = client.list_campaigns({
672
+ # filters: {
673
+ # instance_id_filter: {
674
+ # operator: "Eq", # required, accepts Eq
675
+ # value: "InstanceId", # required
676
+ # },
677
+ # },
678
+ # max_results: 1,
679
+ # next_token: "NextToken",
680
+ # })
681
+ #
682
+ # @example Response structure
683
+ #
684
+ # resp.campaign_summary_list #=> Array
685
+ # resp.campaign_summary_list[0].arn #=> String
686
+ # resp.campaign_summary_list[0].connect_instance_id #=> String
687
+ # resp.campaign_summary_list[0].id #=> String
688
+ # resp.campaign_summary_list[0].name #=> String
689
+ # resp.next_token #=> String
690
+ #
691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/ListCampaigns AWS API Documentation
692
+ #
693
+ # @overload list_campaigns(params = {})
694
+ # @param [Hash] params ({})
695
+ def list_campaigns(params = {}, options = {})
696
+ req = build_request(:list_campaigns, params)
697
+ req.send_request(options)
698
+ end
699
+
700
+ # List tags for a resource.
701
+ #
702
+ # @option params [required, String] :arn
703
+ # Arn
704
+ #
705
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
706
+ #
707
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
708
+ #
709
+ # @example Request syntax with placeholder values
710
+ #
711
+ # resp = client.list_tags_for_resource({
712
+ # arn: "Arn", # required
713
+ # })
714
+ #
715
+ # @example Response structure
716
+ #
717
+ # resp.tags #=> Hash
718
+ # resp.tags["TagKey"] #=> String
719
+ #
720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/ListTagsForResource AWS API Documentation
721
+ #
722
+ # @overload list_tags_for_resource(params = {})
723
+ # @param [Hash] params ({})
724
+ def list_tags_for_resource(params = {}, options = {})
725
+ req = build_request(:list_tags_for_resource, params)
726
+ req.send_request(options)
727
+ end
728
+
729
+ # Pauses a campaign for the specified Amazon Connect account.
730
+ #
731
+ # @option params [required, String] :id
732
+ # Identifier representing a Campaign
733
+ #
734
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
735
+ #
736
+ # @example Request syntax with placeholder values
737
+ #
738
+ # resp = client.pause_campaign({
739
+ # id: "CampaignId", # required
740
+ # })
741
+ #
742
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/PauseCampaign AWS API Documentation
743
+ #
744
+ # @overload pause_campaign(params = {})
745
+ # @param [Hash] params ({})
746
+ def pause_campaign(params = {}, options = {})
747
+ req = build_request(:pause_campaign, params)
748
+ req.send_request(options)
749
+ end
750
+
751
+ # Creates dials requests for the specified campaign Amazon Connect
752
+ # account. This API is idempotent.
753
+ #
754
+ # @option params [required, Array<Types::DialRequest>] :dial_requests
755
+ # A list of dial requests.
756
+ #
757
+ # @option params [required, String] :id
758
+ # Identifier representing a Campaign
759
+ #
760
+ # @return [Types::PutDialRequestBatchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
761
+ #
762
+ # * {Types::PutDialRequestBatchResponse#failed_requests #failed_requests} => Array&lt;Types::FailedRequest&gt;
763
+ # * {Types::PutDialRequestBatchResponse#successful_requests #successful_requests} => Array&lt;Types::SuccessfulRequest&gt;
764
+ #
765
+ # @example Request syntax with placeholder values
766
+ #
767
+ # resp = client.put_dial_request_batch({
768
+ # dial_requests: [ # required
769
+ # {
770
+ # attributes: { # required
771
+ # "AttributeName" => "AttributeValue",
772
+ # },
773
+ # client_token: "ClientToken", # required
774
+ # expiration_time: Time.now, # required
775
+ # phone_number: "DestinationPhoneNumber", # required
776
+ # },
777
+ # ],
778
+ # id: "CampaignId", # required
779
+ # })
780
+ #
781
+ # @example Response structure
782
+ #
783
+ # resp.failed_requests #=> Array
784
+ # resp.failed_requests[0].client_token #=> String
785
+ # resp.failed_requests[0].failure_code #=> String, one of "InvalidInput", "RequestThrottled", "UnknownError"
786
+ # resp.failed_requests[0].id #=> String
787
+ # resp.successful_requests #=> Array
788
+ # resp.successful_requests[0].client_token #=> String
789
+ # resp.successful_requests[0].id #=> String
790
+ #
791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/PutDialRequestBatch AWS API Documentation
792
+ #
793
+ # @overload put_dial_request_batch(params = {})
794
+ # @param [Hash] params ({})
795
+ def put_dial_request_batch(params = {}, options = {})
796
+ req = build_request(:put_dial_request_batch, params)
797
+ req.send_request(options)
798
+ end
799
+
800
+ # Stops a campaign for the specified Amazon Connect account.
801
+ #
802
+ # @option params [required, String] :id
803
+ # Identifier representing a Campaign
804
+ #
805
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
806
+ #
807
+ # @example Request syntax with placeholder values
808
+ #
809
+ # resp = client.resume_campaign({
810
+ # id: "CampaignId", # required
811
+ # })
812
+ #
813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/ResumeCampaign AWS API Documentation
814
+ #
815
+ # @overload resume_campaign(params = {})
816
+ # @param [Hash] params ({})
817
+ def resume_campaign(params = {}, options = {})
818
+ req = build_request(:resume_campaign, params)
819
+ req.send_request(options)
820
+ end
821
+
822
+ # Starts a campaign for the specified Amazon Connect account.
823
+ #
824
+ # @option params [required, String] :id
825
+ # Identifier representing a Campaign
826
+ #
827
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
828
+ #
829
+ # @example Request syntax with placeholder values
830
+ #
831
+ # resp = client.start_campaign({
832
+ # id: "CampaignId", # required
833
+ # })
834
+ #
835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/StartCampaign AWS API Documentation
836
+ #
837
+ # @overload start_campaign(params = {})
838
+ # @param [Hash] params ({})
839
+ def start_campaign(params = {}, options = {})
840
+ req = build_request(:start_campaign, params)
841
+ req.send_request(options)
842
+ end
843
+
844
+ # Onboard the specific Amazon Connect instance to Connect Campaigns.
845
+ #
846
+ # @option params [required, String] :connect_instance_id
847
+ # Amazon Connect Instance Id
848
+ #
849
+ # @option params [required, Types::EncryptionConfig] :encryption_config
850
+ # Encryption config for Connect Instance. Note that sensitive data will
851
+ # always be encrypted. If disabled, service will perform encryption with
852
+ # its own key. If enabled, a KMS key id needs to be provided and KMS
853
+ # charges will apply. KMS is only type supported
854
+ #
855
+ # @return [Types::StartInstanceOnboardingJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
856
+ #
857
+ # * {Types::StartInstanceOnboardingJobResponse#connect_instance_onboarding_job_status #connect_instance_onboarding_job_status} => Types::InstanceOnboardingJobStatus
858
+ #
859
+ # @example Request syntax with placeholder values
860
+ #
861
+ # resp = client.start_instance_onboarding_job({
862
+ # connect_instance_id: "InstanceId", # required
863
+ # encryption_config: { # required
864
+ # enabled: false, # required
865
+ # encryption_type: "KMS", # accepts KMS
866
+ # key_arn: "EncryptionKey",
867
+ # },
868
+ # })
869
+ #
870
+ # @example Response structure
871
+ #
872
+ # resp.connect_instance_onboarding_job_status.connect_instance_id #=> String
873
+ # resp.connect_instance_onboarding_job_status.failure_code #=> String, one of "EVENT_BRIDGE_ACCESS_DENIED", "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED", "IAM_ACCESS_DENIED", "KMS_ACCESS_DENIED", "KMS_KEY_NOT_FOUND", "INTERNAL_FAILURE"
874
+ # resp.connect_instance_onboarding_job_status.status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
875
+ #
876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/StartInstanceOnboardingJob AWS API Documentation
877
+ #
878
+ # @overload start_instance_onboarding_job(params = {})
879
+ # @param [Hash] params ({})
880
+ def start_instance_onboarding_job(params = {}, options = {})
881
+ req = build_request(:start_instance_onboarding_job, params)
882
+ req.send_request(options)
883
+ end
884
+
885
+ # Stops a campaign for the specified Amazon Connect account.
886
+ #
887
+ # @option params [required, String] :id
888
+ # Identifier representing a Campaign
889
+ #
890
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
891
+ #
892
+ # @example Request syntax with placeholder values
893
+ #
894
+ # resp = client.stop_campaign({
895
+ # id: "CampaignId", # required
896
+ # })
897
+ #
898
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/StopCampaign AWS API Documentation
899
+ #
900
+ # @overload stop_campaign(params = {})
901
+ # @param [Hash] params ({})
902
+ def stop_campaign(params = {}, options = {})
903
+ req = build_request(:stop_campaign, params)
904
+ req.send_request(options)
905
+ end
906
+
907
+ # Tag a resource.
908
+ #
909
+ # @option params [required, String] :arn
910
+ # Arn
911
+ #
912
+ # @option params [required, Hash<String,String>] :tags
913
+ # Tag map with key and value.
914
+ #
915
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
916
+ #
917
+ # @example Request syntax with placeholder values
918
+ #
919
+ # resp = client.tag_resource({
920
+ # arn: "Arn", # required
921
+ # tags: { # required
922
+ # "TagKey" => "TagValue",
923
+ # },
924
+ # })
925
+ #
926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/TagResource AWS API Documentation
927
+ #
928
+ # @overload tag_resource(params = {})
929
+ # @param [Hash] params ({})
930
+ def tag_resource(params = {}, options = {})
931
+ req = build_request(:tag_resource, params)
932
+ req.send_request(options)
933
+ end
934
+
935
+ # Untag a resource.
936
+ #
937
+ # @option params [required, String] :arn
938
+ # Arn
939
+ #
940
+ # @option params [required, Array<String>] :tag_keys
941
+ # List of tag keys.
942
+ #
943
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
944
+ #
945
+ # @example Request syntax with placeholder values
946
+ #
947
+ # resp = client.untag_resource({
948
+ # arn: "Arn", # required
949
+ # tag_keys: ["TagKey"], # required
950
+ # })
951
+ #
952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UntagResource AWS API Documentation
953
+ #
954
+ # @overload untag_resource(params = {})
955
+ # @param [Hash] params ({})
956
+ def untag_resource(params = {}, options = {})
957
+ req = build_request(:untag_resource, params)
958
+ req.send_request(options)
959
+ end
960
+
961
+ # Updates the dialer config of a campaign. This API is idempotent.
962
+ #
963
+ # @option params [required, Types::DialerConfig] :dialer_config
964
+ # The possible types of dialer config parameters
965
+ #
966
+ # @option params [required, String] :id
967
+ # Identifier representing a Campaign
968
+ #
969
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
970
+ #
971
+ # @example Request syntax with placeholder values
972
+ #
973
+ # resp = client.update_campaign_dialer_config({
974
+ # dialer_config: { # required
975
+ # predictive_dialer_config: {
976
+ # bandwidth_allocation: 1.0, # required
977
+ # },
978
+ # progressive_dialer_config: {
979
+ # bandwidth_allocation: 1.0, # required
980
+ # },
981
+ # },
982
+ # id: "CampaignId", # required
983
+ # })
984
+ #
985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UpdateCampaignDialerConfig AWS API Documentation
986
+ #
987
+ # @overload update_campaign_dialer_config(params = {})
988
+ # @param [Hash] params ({})
989
+ def update_campaign_dialer_config(params = {}, options = {})
990
+ req = build_request(:update_campaign_dialer_config, params)
991
+ req.send_request(options)
992
+ end
993
+
994
+ # Updates the name of a campaign. This API is idempotent.
995
+ #
996
+ # @option params [required, String] :id
997
+ # Identifier representing a Campaign
998
+ #
999
+ # @option params [required, String] :name
1000
+ # The name of an Amazon Connect Campaign name.
1001
+ #
1002
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1003
+ #
1004
+ # @example Request syntax with placeholder values
1005
+ #
1006
+ # resp = client.update_campaign_name({
1007
+ # id: "CampaignId", # required
1008
+ # name: "CampaignName", # required
1009
+ # })
1010
+ #
1011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UpdateCampaignName AWS API Documentation
1012
+ #
1013
+ # @overload update_campaign_name(params = {})
1014
+ # @param [Hash] params ({})
1015
+ def update_campaign_name(params = {}, options = {})
1016
+ req = build_request(:update_campaign_name, params)
1017
+ req.send_request(options)
1018
+ end
1019
+
1020
+ # Updates the outbound call config of a campaign. This API is
1021
+ # idempotent.
1022
+ #
1023
+ # @option params [Types::AnswerMachineDetectionConfig] :answer_machine_detection_config
1024
+ # Answering Machine Detection config
1025
+ #
1026
+ # @option params [String] :connect_contact_flow_id
1027
+ # The identifier of the contact flow for the outbound call.
1028
+ #
1029
+ # @option params [String] :connect_source_phone_number
1030
+ # The phone number associated with the Amazon Connect instance, in E.164
1031
+ # format. If you do not specify a source phone number, you must specify
1032
+ # a queue.
1033
+ #
1034
+ # @option params [required, String] :id
1035
+ # Identifier representing a Campaign
1036
+ #
1037
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1038
+ #
1039
+ # @example Request syntax with placeholder values
1040
+ #
1041
+ # resp = client.update_campaign_outbound_call_config({
1042
+ # answer_machine_detection_config: {
1043
+ # enable_answer_machine_detection: false, # required
1044
+ # },
1045
+ # connect_contact_flow_id: "ContactFlowId",
1046
+ # connect_source_phone_number: "SourcePhoneNumber",
1047
+ # id: "CampaignId", # required
1048
+ # })
1049
+ #
1050
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcampaigns-2021-01-30/UpdateCampaignOutboundCallConfig AWS API Documentation
1051
+ #
1052
+ # @overload update_campaign_outbound_call_config(params = {})
1053
+ # @param [Hash] params ({})
1054
+ def update_campaign_outbound_call_config(params = {}, options = {})
1055
+ req = build_request(:update_campaign_outbound_call_config, params)
1056
+ req.send_request(options)
1057
+ end
1058
+
1059
+ # @!endgroup
1060
+
1061
+ # @param params ({})
1062
+ # @api private
1063
+ def build_request(operation_name, params = {})
1064
+ handlers = @handlers.for(operation_name)
1065
+ context = Seahorse::Client::RequestContext.new(
1066
+ operation_name: operation_name,
1067
+ operation: config.api.operation(operation_name),
1068
+ client: self,
1069
+ params: params,
1070
+ config: config)
1071
+ context[:gem_name] = 'aws-sdk-connectcampaignservice'
1072
+ context[:gem_version] = '1.0.0'
1073
+ Seahorse::Client::Request.new(handlers, context)
1074
+ end
1075
+
1076
+ # @api private
1077
+ # @deprecated
1078
+ def waiter_names
1079
+ []
1080
+ end
1081
+
1082
+ class << self
1083
+
1084
+ # @api private
1085
+ attr_reader :identifier
1086
+
1087
+ # @api private
1088
+ def errors_module
1089
+ Errors
1090
+ end
1091
+
1092
+ end
1093
+ end
1094
+ end