aws-sdk-connectcampaignservice 1.13.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbde3e1220017e8d80e915f228ee6544fd5769b3fdf7fafa088f8bd32c48a685
4
- data.tar.gz: 157380f27e931ae305aa5349f21c8723a7f6e8fe10d68201d585e79400e70dcd
3
+ metadata.gz: f5fcbb9c34a285d863c5993edec2936e6ad96c7b82fbd8f9287cfbb2f16a7ddc
4
+ data.tar.gz: d816660a878954630dd0c75b45868af844e1d5ec17bf489a29193bdb1895c905
5
5
  SHA512:
6
- metadata.gz: e522f61824b1dcf81d6228361b81600c6a1c3138182eece68696dabc56eb30f524cb06cb4f04c5fe475635425c048ebed068b6129ef95bee7f79a49eefc1373a
7
- data.tar.gz: 82104b75fc5b7be5a5ce8c1e4e512c60b6ffce02a52a2b898c42ca389f67dc78c44eafc54e4afd157889e2ed4213bb831e2ec341d3a6e3fe7251911128762ed3
6
+ metadata.gz: 87e3846425480710d4c1d7cd4d430ced30512e68d11da62c3b27421442bfe871218b579d6472b891ed95055bcf3585640eb31ca2b56bf24a7cf7628d7e84e202
7
+ data.tar.gz: babb74fdcabd688609cf0541fc8c03a15daa2b6a86c26a7459fdf6675c7fc74ac2244a66559cbd6457f679b8cfa8b8e45eb1c0275d9efc8bb51b2df4c9cd846f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.14.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.13.0 (2024-01-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.13.0
1
+ 1.14.0
@@ -1119,7 +1119,7 @@ module Aws::ConnectCampaignService
1119
1119
  params: params,
1120
1120
  config: config)
1121
1121
  context[:gem_name] = 'aws-sdk-connectcampaignservice'
1122
- context[:gem_version] = '1.13.0'
1122
+ context[:gem_version] = '1.14.0'
1123
1123
  Seahorse::Client::Request.new(handlers, context)
1124
1124
  end
1125
1125
 
@@ -14,6 +14,7 @@ module Aws::ConnectCampaignService
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::ConnectCampaignService::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-connectcampaignservice/customizations'
52
52
  # @!group service
53
53
  module Aws::ConnectCampaignService
54
54
 
55
- GEM_VERSION = '1.13.0'
55
+ GEM_VERSION = '1.14.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,318 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ConnectCampaignService
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _CreateCampaignResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCampaignResponse]
77
+ def id: () -> ::String
78
+ def arn: () -> ::String
79
+ def tags: () -> ::Hash[::String, ::String]
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#create_campaign-instance_method
82
+ def create_campaign: (
83
+ name: ::String,
84
+ connect_instance_id: ::String,
85
+ dialer_config: {
86
+ progressive_dialer_config: {
87
+ bandwidth_allocation: ::Float,
88
+ dialing_capacity: ::Float?
89
+ }?,
90
+ predictive_dialer_config: {
91
+ bandwidth_allocation: ::Float,
92
+ dialing_capacity: ::Float?
93
+ }?,
94
+ agentless_dialer_config: {
95
+ dialing_capacity: ::Float?
96
+ }?
97
+ },
98
+ outbound_call_config: {
99
+ connect_contact_flow_id: ::String,
100
+ connect_source_phone_number: ::String?,
101
+ connect_queue_id: ::String?,
102
+ answer_machine_detection_config: {
103
+ enable_answer_machine_detection: bool
104
+ }?
105
+ },
106
+ ?tags: Hash[::String, ::String]
107
+ ) -> _CreateCampaignResponseSuccess
108
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCampaignResponseSuccess
109
+
110
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#delete_campaign-instance_method
111
+ def delete_campaign: (
112
+ id: ::String
113
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
114
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
115
+
116
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#delete_connect_instance_config-instance_method
117
+ def delete_connect_instance_config: (
118
+ connect_instance_id: ::String
119
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
120
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
121
+
122
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#delete_instance_onboarding_job-instance_method
123
+ def delete_instance_onboarding_job: (
124
+ connect_instance_id: ::String
125
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
126
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
127
+
128
+ interface _DescribeCampaignResponseSuccess
129
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCampaignResponse]
130
+ def campaign: () -> Types::Campaign
131
+ end
132
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#describe_campaign-instance_method
133
+ def describe_campaign: (
134
+ id: ::String
135
+ ) -> _DescribeCampaignResponseSuccess
136
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCampaignResponseSuccess
137
+
138
+ interface _GetCampaignStateResponseSuccess
139
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCampaignStateResponse]
140
+ def state: () -> ("Initialized" | "Running" | "Paused" | "Stopped" | "Failed")
141
+ end
142
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#get_campaign_state-instance_method
143
+ def get_campaign_state: (
144
+ id: ::String
145
+ ) -> _GetCampaignStateResponseSuccess
146
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCampaignStateResponseSuccess
147
+
148
+ interface _GetCampaignStateBatchResponseSuccess
149
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCampaignStateBatchResponse]
150
+ def successful_requests: () -> ::Array[Types::SuccessfulCampaignStateResponse]
151
+ def failed_requests: () -> ::Array[Types::FailedCampaignStateResponse]
152
+ end
153
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#get_campaign_state_batch-instance_method
154
+ def get_campaign_state_batch: (
155
+ campaign_ids: Array[::String]
156
+ ) -> _GetCampaignStateBatchResponseSuccess
157
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCampaignStateBatchResponseSuccess
158
+
159
+ interface _GetConnectInstanceConfigResponseSuccess
160
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetConnectInstanceConfigResponse]
161
+ def connect_instance_config: () -> Types::InstanceConfig
162
+ end
163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#get_connect_instance_config-instance_method
164
+ def get_connect_instance_config: (
165
+ connect_instance_id: ::String
166
+ ) -> _GetConnectInstanceConfigResponseSuccess
167
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectInstanceConfigResponseSuccess
168
+
169
+ interface _GetInstanceOnboardingJobStatusResponseSuccess
170
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceOnboardingJobStatusResponse]
171
+ def connect_instance_onboarding_job_status: () -> Types::InstanceOnboardingJobStatus
172
+ end
173
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#get_instance_onboarding_job_status-instance_method
174
+ def get_instance_onboarding_job_status: (
175
+ connect_instance_id: ::String
176
+ ) -> _GetInstanceOnboardingJobStatusResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstanceOnboardingJobStatusResponseSuccess
178
+
179
+ interface _ListCampaignsResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCampaignsResponse]
181
+ def next_token: () -> ::String
182
+ def campaign_summary_list: () -> ::Array[Types::CampaignSummary]
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#list_campaigns-instance_method
185
+ def list_campaigns: (
186
+ ?max_results: ::Integer,
187
+ ?next_token: ::String,
188
+ ?filters: {
189
+ instance_id_filter: {
190
+ value: ::String,
191
+ operator: ("Eq")
192
+ }?
193
+ }
194
+ ) -> _ListCampaignsResponseSuccess
195
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCampaignsResponseSuccess
196
+
197
+ interface _ListTagsForResourceResponseSuccess
198
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
199
+ def tags: () -> ::Hash[::String, ::String]
200
+ end
201
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#list_tags_for_resource-instance_method
202
+ def list_tags_for_resource: (
203
+ arn: ::String
204
+ ) -> _ListTagsForResourceResponseSuccess
205
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
206
+
207
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#pause_campaign-instance_method
208
+ def pause_campaign: (
209
+ id: ::String
210
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
211
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
212
+
213
+ interface _PutDialRequestBatchResponseSuccess
214
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutDialRequestBatchResponse]
215
+ def successful_requests: () -> ::Array[Types::SuccessfulRequest]
216
+ def failed_requests: () -> ::Array[Types::FailedRequest]
217
+ end
218
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#put_dial_request_batch-instance_method
219
+ def put_dial_request_batch: (
220
+ id: ::String,
221
+ dial_requests: Array[
222
+ {
223
+ client_token: ::String,
224
+ phone_number: ::String,
225
+ expiration_time: ::Time,
226
+ attributes: Hash[::String, ::String]
227
+ },
228
+ ]
229
+ ) -> _PutDialRequestBatchResponseSuccess
230
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDialRequestBatchResponseSuccess
231
+
232
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#resume_campaign-instance_method
233
+ def resume_campaign: (
234
+ id: ::String
235
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
237
+
238
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#start_campaign-instance_method
239
+ def start_campaign: (
240
+ id: ::String
241
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
242
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
243
+
244
+ interface _StartInstanceOnboardingJobResponseSuccess
245
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartInstanceOnboardingJobResponse]
246
+ def connect_instance_onboarding_job_status: () -> Types::InstanceOnboardingJobStatus
247
+ end
248
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#start_instance_onboarding_job-instance_method
249
+ def start_instance_onboarding_job: (
250
+ connect_instance_id: ::String,
251
+ encryption_config: {
252
+ enabled: bool,
253
+ encryption_type: ("KMS")?,
254
+ key_arn: ::String?
255
+ }
256
+ ) -> _StartInstanceOnboardingJobResponseSuccess
257
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartInstanceOnboardingJobResponseSuccess
258
+
259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#stop_campaign-instance_method
260
+ def stop_campaign: (
261
+ id: ::String
262
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
263
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
264
+
265
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#tag_resource-instance_method
266
+ def tag_resource: (
267
+ arn: ::String,
268
+ tags: Hash[::String, ::String]
269
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
270
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
271
+
272
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#untag_resource-instance_method
273
+ def untag_resource: (
274
+ arn: ::String,
275
+ tag_keys: Array[::String]
276
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
277
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
278
+
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#update_campaign_dialer_config-instance_method
280
+ def update_campaign_dialer_config: (
281
+ id: ::String,
282
+ dialer_config: {
283
+ progressive_dialer_config: {
284
+ bandwidth_allocation: ::Float,
285
+ dialing_capacity: ::Float?
286
+ }?,
287
+ predictive_dialer_config: {
288
+ bandwidth_allocation: ::Float,
289
+ dialing_capacity: ::Float?
290
+ }?,
291
+ agentless_dialer_config: {
292
+ dialing_capacity: ::Float?
293
+ }?
294
+ }
295
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
296
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
297
+
298
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#update_campaign_name-instance_method
299
+ def update_campaign_name: (
300
+ id: ::String,
301
+ name: ::String
302
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
303
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
304
+
305
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Client.html#update_campaign_outbound_call_config-instance_method
306
+ def update_campaign_outbound_call_config: (
307
+ id: ::String,
308
+ ?connect_contact_flow_id: ::String,
309
+ ?connect_source_phone_number: ::String,
310
+ ?answer_machine_detection_config: {
311
+ enable_answer_machine_detection: bool
312
+ }
313
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
314
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
315
+ end
316
+ end
317
+ end
318
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,53 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ConnectCampaignService
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ def x_amz_error_type: () -> ::String
17
+ end
18
+ class ConflictException < ::Aws::Errors::ServiceError
19
+ def message: () -> ::String
20
+ def x_amz_error_type: () -> ::String
21
+ end
22
+ class InternalServerException < ::Aws::Errors::ServiceError
23
+ def message: () -> ::String
24
+ def x_amz_error_type: () -> ::String
25
+ end
26
+ class InvalidCampaignStateException < ::Aws::Errors::ServiceError
27
+ def state: () -> ::String
28
+ def message: () -> ::String
29
+ def x_amz_error_type: () -> ::String
30
+ end
31
+ class InvalidStateException < ::Aws::Errors::ServiceError
32
+ def message: () -> ::String
33
+ def x_amz_error_type: () -> ::String
34
+ end
35
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ def x_amz_error_type: () -> ::String
38
+ end
39
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
40
+ def message: () -> ::String
41
+ def x_amz_error_type: () -> ::String
42
+ end
43
+ class ThrottlingException < ::Aws::Errors::ServiceError
44
+ def message: () -> ::String
45
+ def x_amz_error_type: () -> ::String
46
+ end
47
+ class ValidationException < ::Aws::Errors::ServiceError
48
+ def message: () -> ::String
49
+ def x_amz_error_type: () -> ::String
50
+ end
51
+ end
52
+ end
53
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ConnectCampaignService
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCampaignService/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,377 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::ConnectCampaignService
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ attr_accessor x_amz_error_type: ::String
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class AgentlessDialerConfig
18
+ attr_accessor dialing_capacity: ::Float
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class AnswerMachineDetectionConfig
23
+ attr_accessor enable_answer_machine_detection: bool
24
+ SENSITIVE: []
25
+ end
26
+
27
+ class Campaign
28
+ attr_accessor id: ::String
29
+ attr_accessor arn: ::String
30
+ attr_accessor name: ::String
31
+ attr_accessor connect_instance_id: ::String
32
+ attr_accessor dialer_config: Types::DialerConfig
33
+ attr_accessor outbound_call_config: Types::OutboundCallConfig
34
+ attr_accessor tags: ::Hash[::String, ::String]
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class CampaignFilters
39
+ attr_accessor instance_id_filter: Types::InstanceIdFilter
40
+ SENSITIVE: []
41
+ end
42
+
43
+ class CampaignSummary
44
+ attr_accessor id: ::String
45
+ attr_accessor arn: ::String
46
+ attr_accessor name: ::String
47
+ attr_accessor connect_instance_id: ::String
48
+ SENSITIVE: []
49
+ end
50
+
51
+ class ConflictException
52
+ attr_accessor message: ::String
53
+ attr_accessor x_amz_error_type: ::String
54
+ SENSITIVE: []
55
+ end
56
+
57
+ class CreateCampaignRequest
58
+ attr_accessor name: ::String
59
+ attr_accessor connect_instance_id: ::String
60
+ attr_accessor dialer_config: Types::DialerConfig
61
+ attr_accessor outbound_call_config: Types::OutboundCallConfig
62
+ attr_accessor tags: ::Hash[::String, ::String]
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class CreateCampaignResponse
67
+ attr_accessor id: ::String
68
+ attr_accessor arn: ::String
69
+ attr_accessor tags: ::Hash[::String, ::String]
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class DeleteCampaignRequest
74
+ attr_accessor id: ::String
75
+ SENSITIVE: []
76
+ end
77
+
78
+ class DeleteConnectInstanceConfigRequest
79
+ attr_accessor connect_instance_id: ::String
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class DeleteInstanceOnboardingJobRequest
84
+ attr_accessor connect_instance_id: ::String
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class DescribeCampaignRequest
89
+ attr_accessor id: ::String
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class DescribeCampaignResponse
94
+ attr_accessor campaign: Types::Campaign
95
+ SENSITIVE: []
96
+ end
97
+
98
+ class DialRequest
99
+ attr_accessor client_token: ::String
100
+ attr_accessor phone_number: ::String
101
+ attr_accessor expiration_time: ::Time
102
+ attr_accessor attributes: ::Hash[::String, ::String]
103
+ SENSITIVE: [:phone_number, :attributes]
104
+ end
105
+
106
+ class DialerConfig
107
+ attr_accessor progressive_dialer_config: Types::ProgressiveDialerConfig
108
+ attr_accessor predictive_dialer_config: Types::PredictiveDialerConfig
109
+ attr_accessor agentless_dialer_config: Types::AgentlessDialerConfig
110
+ attr_accessor unknown: untyped
111
+ SENSITIVE: []
112
+
113
+ class ProgressiveDialerConfig < DialerConfig
114
+ end
115
+ class PredictiveDialerConfig < DialerConfig
116
+ end
117
+ class AgentlessDialerConfig < DialerConfig
118
+ end
119
+ class Unknown < DialerConfig
120
+ end
121
+ end
122
+
123
+ class EncryptionConfig
124
+ attr_accessor enabled: bool
125
+ attr_accessor encryption_type: ("KMS")
126
+ attr_accessor key_arn: ::String
127
+ SENSITIVE: []
128
+ end
129
+
130
+ class FailedCampaignStateResponse
131
+ attr_accessor campaign_id: ::String
132
+ attr_accessor failure_code: ("ResourceNotFound" | "UnknownError")
133
+ SENSITIVE: []
134
+ end
135
+
136
+ class FailedRequest
137
+ attr_accessor client_token: ::String
138
+ attr_accessor id: ::String
139
+ attr_accessor failure_code: ("InvalidInput" | "RequestThrottled" | "UnknownError")
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class GetCampaignStateBatchRequest
144
+ attr_accessor campaign_ids: ::Array[::String]
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class GetCampaignStateBatchResponse
149
+ attr_accessor successful_requests: ::Array[Types::SuccessfulCampaignStateResponse]
150
+ attr_accessor failed_requests: ::Array[Types::FailedCampaignStateResponse]
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class GetCampaignStateRequest
155
+ attr_accessor id: ::String
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class GetCampaignStateResponse
160
+ attr_accessor state: ("Initialized" | "Running" | "Paused" | "Stopped" | "Failed")
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class GetConnectInstanceConfigRequest
165
+ attr_accessor connect_instance_id: ::String
166
+ SENSITIVE: []
167
+ end
168
+
169
+ class GetConnectInstanceConfigResponse
170
+ attr_accessor connect_instance_config: Types::InstanceConfig
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class GetInstanceOnboardingJobStatusRequest
175
+ attr_accessor connect_instance_id: ::String
176
+ SENSITIVE: []
177
+ end
178
+
179
+ class GetInstanceOnboardingJobStatusResponse
180
+ attr_accessor connect_instance_onboarding_job_status: Types::InstanceOnboardingJobStatus
181
+ SENSITIVE: []
182
+ end
183
+
184
+ class InstanceConfig
185
+ attr_accessor connect_instance_id: ::String
186
+ attr_accessor service_linked_role_arn: ::String
187
+ attr_accessor encryption_config: Types::EncryptionConfig
188
+ SENSITIVE: []
189
+ end
190
+
191
+ class InstanceIdFilter
192
+ attr_accessor value: ::String
193
+ attr_accessor operator: ("Eq")
194
+ SENSITIVE: []
195
+ end
196
+
197
+ class InstanceOnboardingJobStatus
198
+ attr_accessor connect_instance_id: ::String
199
+ attr_accessor status: ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
200
+ attr_accessor failure_code: ("EVENT_BRIDGE_ACCESS_DENIED" | "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED" | "IAM_ACCESS_DENIED" | "KMS_ACCESS_DENIED" | "KMS_KEY_NOT_FOUND" | "INTERNAL_FAILURE")
201
+ SENSITIVE: []
202
+ end
203
+
204
+ class InternalServerException
205
+ attr_accessor message: ::String
206
+ attr_accessor x_amz_error_type: ::String
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class InvalidCampaignStateException
211
+ attr_accessor state: ("Initialized" | "Running" | "Paused" | "Stopped" | "Failed")
212
+ attr_accessor message: ::String
213
+ attr_accessor x_amz_error_type: ::String
214
+ SENSITIVE: []
215
+ end
216
+
217
+ class InvalidStateException
218
+ attr_accessor message: ::String
219
+ attr_accessor x_amz_error_type: ::String
220
+ SENSITIVE: []
221
+ end
222
+
223
+ class ListCampaignsRequest
224
+ attr_accessor max_results: ::Integer
225
+ attr_accessor next_token: ::String
226
+ attr_accessor filters: Types::CampaignFilters
227
+ SENSITIVE: []
228
+ end
229
+
230
+ class ListCampaignsResponse
231
+ attr_accessor next_token: ::String
232
+ attr_accessor campaign_summary_list: ::Array[Types::CampaignSummary]
233
+ SENSITIVE: []
234
+ end
235
+
236
+ class ListTagsForResourceRequest
237
+ attr_accessor arn: ::String
238
+ SENSITIVE: []
239
+ end
240
+
241
+ class ListTagsForResourceResponse
242
+ attr_accessor tags: ::Hash[::String, ::String]
243
+ SENSITIVE: []
244
+ end
245
+
246
+ class OutboundCallConfig
247
+ attr_accessor connect_contact_flow_id: ::String
248
+ attr_accessor connect_source_phone_number: ::String
249
+ attr_accessor connect_queue_id: ::String
250
+ attr_accessor answer_machine_detection_config: Types::AnswerMachineDetectionConfig
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class PauseCampaignRequest
255
+ attr_accessor id: ::String
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class PredictiveDialerConfig
260
+ attr_accessor bandwidth_allocation: ::Float
261
+ attr_accessor dialing_capacity: ::Float
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class ProgressiveDialerConfig
266
+ attr_accessor bandwidth_allocation: ::Float
267
+ attr_accessor dialing_capacity: ::Float
268
+ SENSITIVE: []
269
+ end
270
+
271
+ class PutDialRequestBatchRequest
272
+ attr_accessor id: ::String
273
+ attr_accessor dial_requests: ::Array[Types::DialRequest]
274
+ SENSITIVE: []
275
+ end
276
+
277
+ class PutDialRequestBatchResponse
278
+ attr_accessor successful_requests: ::Array[Types::SuccessfulRequest]
279
+ attr_accessor failed_requests: ::Array[Types::FailedRequest]
280
+ SENSITIVE: []
281
+ end
282
+
283
+ class ResourceNotFoundException
284
+ attr_accessor message: ::String
285
+ attr_accessor x_amz_error_type: ::String
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class ResumeCampaignRequest
290
+ attr_accessor id: ::String
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class ServiceQuotaExceededException
295
+ attr_accessor message: ::String
296
+ attr_accessor x_amz_error_type: ::String
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class StartCampaignRequest
301
+ attr_accessor id: ::String
302
+ SENSITIVE: []
303
+ end
304
+
305
+ class StartInstanceOnboardingJobRequest
306
+ attr_accessor connect_instance_id: ::String
307
+ attr_accessor encryption_config: Types::EncryptionConfig
308
+ SENSITIVE: []
309
+ end
310
+
311
+ class StartInstanceOnboardingJobResponse
312
+ attr_accessor connect_instance_onboarding_job_status: Types::InstanceOnboardingJobStatus
313
+ SENSITIVE: []
314
+ end
315
+
316
+ class StopCampaignRequest
317
+ attr_accessor id: ::String
318
+ SENSITIVE: []
319
+ end
320
+
321
+ class SuccessfulCampaignStateResponse
322
+ attr_accessor campaign_id: ::String
323
+ attr_accessor state: ("Initialized" | "Running" | "Paused" | "Stopped" | "Failed")
324
+ SENSITIVE: []
325
+ end
326
+
327
+ class SuccessfulRequest
328
+ attr_accessor client_token: ::String
329
+ attr_accessor id: ::String
330
+ SENSITIVE: []
331
+ end
332
+
333
+ class TagResourceRequest
334
+ attr_accessor arn: ::String
335
+ attr_accessor tags: ::Hash[::String, ::String]
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class ThrottlingException
340
+ attr_accessor message: ::String
341
+ attr_accessor x_amz_error_type: ::String
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class UntagResourceRequest
346
+ attr_accessor arn: ::String
347
+ attr_accessor tag_keys: ::Array[::String]
348
+ SENSITIVE: []
349
+ end
350
+
351
+ class UpdateCampaignDialerConfigRequest
352
+ attr_accessor id: ::String
353
+ attr_accessor dialer_config: Types::DialerConfig
354
+ SENSITIVE: []
355
+ end
356
+
357
+ class UpdateCampaignNameRequest
358
+ attr_accessor id: ::String
359
+ attr_accessor name: ::String
360
+ SENSITIVE: []
361
+ end
362
+
363
+ class UpdateCampaignOutboundCallConfigRequest
364
+ attr_accessor id: ::String
365
+ attr_accessor connect_contact_flow_id: ::String
366
+ attr_accessor connect_source_phone_number: ::String
367
+ attr_accessor answer_machine_detection_config: Types::AnswerMachineDetectionConfig
368
+ SENSITIVE: []
369
+ end
370
+
371
+ class ValidationException
372
+ attr_accessor message: ::String
373
+ attr_accessor x_amz_error_type: ::String
374
+ SENSITIVE: []
375
+ end
376
+ end
377
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ConnectCampaignService
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-connectcampaignservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-10 00:00:00.000000000 Z
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.191.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-connectcampaignservice/plugins/endpoints.rb
67
67
  - lib/aws-sdk-connectcampaignservice/resource.rb
68
68
  - lib/aws-sdk-connectcampaignservice/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-connectcampaignservice
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-connectcampaignservice/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - AmazonConnectCampaignService
94
99
  test_files: []