aws-sdk-connectcampaignservice 1.1.0 → 1.3.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-connectcampaignservice/client.rb +20 -3
- data/lib/aws-sdk-connectcampaignservice/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-connectcampaignservice/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-connectcampaignservice/endpoints.rb +323 -0
- data/lib/aws-sdk-connectcampaignservice/plugins/endpoints.rb +112 -0
- data/lib/aws-sdk-connectcampaignservice/types.rb +0 -286
- data/lib/aws-sdk-connectcampaignservice.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69a9d9565437c8dfd0c692137f018a253a64613618b418791b67461ae8faabbd
|
4
|
+
data.tar.gz: 935e21c23b056abc3a18497869956fd97d2ee4fdd564bb14d0f9e2191442e959
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb32505275cd903f2f2d616c13359baf4611814adcf06bebc2f4238e108279c124f0cfe57693ad5bcab7721f91ab3020463ab245b804fbed8669f0deeb99cbdd
|
7
|
+
data.tar.gz: '0395d83f2ab38d59ad57df6ebf9b1c9b069af0fc12efcd2f3923ab1fc95e6262b24cd562b0107d7e1896e13681c84ca6d485503aeda34da969b729813da58991'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.3.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.2.0 (2022-10-25)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
15
|
+
|
4
16
|
1.1.0 (2022-08-17)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.3.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:connectcampaignservice)
|
@@ -79,8 +79,9 @@ module Aws::ConnectCampaignService
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::ConnectCampaignService::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::ConnectCampaignService
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::ConnectCampaignService
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::ConnectCampaignService::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ConnectCampaignService::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -1069,7 +1086,7 @@ module Aws::ConnectCampaignService
|
|
1069
1086
|
params: params,
|
1070
1087
|
config: config)
|
1071
1088
|
context[:gem_name] = 'aws-sdk-connectcampaignservice'
|
1072
|
-
context[:gem_version] = '1.
|
1089
|
+
context[:gem_version] = '1.3.0'
|
1073
1090
|
Seahorse::Client::Request.new(handlers, context)
|
1074
1091
|
end
|
1075
1092
|
|
@@ -0,0 +1,66 @@
|
|
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
|
+
module Aws::ConnectCampaignService
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,51 @@
|
|
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
|
+
module Aws::ConnectCampaignService
|
11
|
+
class EndpointProvider
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect-campaigns-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect-campaigns-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect-campaigns.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://connect-campaigns.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
48
|
+
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,323 @@
|
|
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
|
+
|
11
|
+
module Aws::ConnectCampaignService
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class CreateCampaign
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class DeleteCampaign
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class DeleteConnectInstanceConfig
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class DeleteInstanceOnboardingJob
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class DescribeCampaign
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class GetCampaignState
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class GetCampaignStateBatch
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class GetConnectInstanceConfig
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class GetInstanceOnboardingJobStatus
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class ListCampaigns
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class ListTagsForResource
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class PauseCampaign
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class PutDialRequestBatch
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class ResumeCampaign
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class StartCampaign
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class StartInstanceOnboardingJob
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class StopCampaign
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class TagResource
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class UntagResource
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class UpdateCampaignDialerConfig
|
281
|
+
def self.build(context)
|
282
|
+
unless context.config.regional_endpoint
|
283
|
+
endpoint = context.config.endpoint.to_s
|
284
|
+
end
|
285
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
286
|
+
region: context.config.region,
|
287
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
288
|
+
use_fips: context.config.use_fips_endpoint,
|
289
|
+
endpoint: endpoint,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class UpdateCampaignName
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class UpdateCampaignOutboundCallConfig
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::ConnectCampaignService::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
end
|
323
|
+
end
|
@@ -0,0 +1,112 @@
|
|
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
|
+
|
11
|
+
module Aws::ConnectCampaignService
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::ConnectCampaignService::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::ConnectCampaignService::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::ConnectCampaignService::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :create_campaign
|
60
|
+
Aws::ConnectCampaignService::Endpoints::CreateCampaign.build(context)
|
61
|
+
when :delete_campaign
|
62
|
+
Aws::ConnectCampaignService::Endpoints::DeleteCampaign.build(context)
|
63
|
+
when :delete_connect_instance_config
|
64
|
+
Aws::ConnectCampaignService::Endpoints::DeleteConnectInstanceConfig.build(context)
|
65
|
+
when :delete_instance_onboarding_job
|
66
|
+
Aws::ConnectCampaignService::Endpoints::DeleteInstanceOnboardingJob.build(context)
|
67
|
+
when :describe_campaign
|
68
|
+
Aws::ConnectCampaignService::Endpoints::DescribeCampaign.build(context)
|
69
|
+
when :get_campaign_state
|
70
|
+
Aws::ConnectCampaignService::Endpoints::GetCampaignState.build(context)
|
71
|
+
when :get_campaign_state_batch
|
72
|
+
Aws::ConnectCampaignService::Endpoints::GetCampaignStateBatch.build(context)
|
73
|
+
when :get_connect_instance_config
|
74
|
+
Aws::ConnectCampaignService::Endpoints::GetConnectInstanceConfig.build(context)
|
75
|
+
when :get_instance_onboarding_job_status
|
76
|
+
Aws::ConnectCampaignService::Endpoints::GetInstanceOnboardingJobStatus.build(context)
|
77
|
+
when :list_campaigns
|
78
|
+
Aws::ConnectCampaignService::Endpoints::ListCampaigns.build(context)
|
79
|
+
when :list_tags_for_resource
|
80
|
+
Aws::ConnectCampaignService::Endpoints::ListTagsForResource.build(context)
|
81
|
+
when :pause_campaign
|
82
|
+
Aws::ConnectCampaignService::Endpoints::PauseCampaign.build(context)
|
83
|
+
when :put_dial_request_batch
|
84
|
+
Aws::ConnectCampaignService::Endpoints::PutDialRequestBatch.build(context)
|
85
|
+
when :resume_campaign
|
86
|
+
Aws::ConnectCampaignService::Endpoints::ResumeCampaign.build(context)
|
87
|
+
when :start_campaign
|
88
|
+
Aws::ConnectCampaignService::Endpoints::StartCampaign.build(context)
|
89
|
+
when :start_instance_onboarding_job
|
90
|
+
Aws::ConnectCampaignService::Endpoints::StartInstanceOnboardingJob.build(context)
|
91
|
+
when :stop_campaign
|
92
|
+
Aws::ConnectCampaignService::Endpoints::StopCampaign.build(context)
|
93
|
+
when :tag_resource
|
94
|
+
Aws::ConnectCampaignService::Endpoints::TagResource.build(context)
|
95
|
+
when :untag_resource
|
96
|
+
Aws::ConnectCampaignService::Endpoints::UntagResource.build(context)
|
97
|
+
when :update_campaign_dialer_config
|
98
|
+
Aws::ConnectCampaignService::Endpoints::UpdateCampaignDialerConfig.build(context)
|
99
|
+
when :update_campaign_name
|
100
|
+
Aws::ConnectCampaignService::Endpoints::UpdateCampaignName.build(context)
|
101
|
+
when :update_campaign_outbound_call_config
|
102
|
+
Aws::ConnectCampaignService::Endpoints::UpdateCampaignOutboundCallConfig.build(context)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
def add_handlers(handlers, _config)
|
108
|
+
handlers.add(Handler, step: :build, priority: 75)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -31,13 +31,6 @@ module Aws::ConnectCampaignService
|
|
31
31
|
|
32
32
|
# Answering Machine Detection config
|
33
33
|
#
|
34
|
-
# @note When making an API call, you may pass AnswerMachineDetectionConfig
|
35
|
-
# data as a hash:
|
36
|
-
#
|
37
|
-
# {
|
38
|
-
# enable_answer_machine_detection: false, # required
|
39
|
-
# }
|
40
|
-
#
|
41
34
|
# @!attribute [rw] enable_answer_machine_detection
|
42
35
|
# Enable or disable answering machine detection
|
43
36
|
# @return [Boolean]
|
@@ -96,16 +89,6 @@ module Aws::ConnectCampaignService
|
|
96
89
|
|
97
90
|
# Filter model by type
|
98
91
|
#
|
99
|
-
# @note When making an API call, you may pass CampaignFilters
|
100
|
-
# data as a hash:
|
101
|
-
#
|
102
|
-
# {
|
103
|
-
# instance_id_filter: {
|
104
|
-
# operator: "Eq", # required, accepts Eq
|
105
|
-
# value: "InstanceId", # required
|
106
|
-
# },
|
107
|
-
# }
|
108
|
-
#
|
109
92
|
# @!attribute [rw] instance_id_filter
|
110
93
|
# Connect instance identifier filter
|
111
94
|
# @return [Types::InstanceIdFilter]
|
@@ -169,33 +152,6 @@ module Aws::ConnectCampaignService
|
|
169
152
|
|
170
153
|
# The request for Create Campaign API.
|
171
154
|
#
|
172
|
-
# @note When making an API call, you may pass CreateCampaignRequest
|
173
|
-
# data as a hash:
|
174
|
-
#
|
175
|
-
# {
|
176
|
-
# connect_instance_id: "InstanceId", # required
|
177
|
-
# dialer_config: { # required
|
178
|
-
# predictive_dialer_config: {
|
179
|
-
# bandwidth_allocation: 1.0, # required
|
180
|
-
# },
|
181
|
-
# progressive_dialer_config: {
|
182
|
-
# bandwidth_allocation: 1.0, # required
|
183
|
-
# },
|
184
|
-
# },
|
185
|
-
# name: "CampaignName", # required
|
186
|
-
# outbound_call_config: { # required
|
187
|
-
# answer_machine_detection_config: {
|
188
|
-
# enable_answer_machine_detection: false, # required
|
189
|
-
# },
|
190
|
-
# connect_contact_flow_id: "ContactFlowId", # required
|
191
|
-
# connect_queue_id: "QueueId", # required
|
192
|
-
# connect_source_phone_number: "SourcePhoneNumber",
|
193
|
-
# },
|
194
|
-
# tags: {
|
195
|
-
# "TagKey" => "TagValue",
|
196
|
-
# },
|
197
|
-
# }
|
198
|
-
#
|
199
155
|
# @!attribute [rw] connect_instance_id
|
200
156
|
# Amazon Connect Instance Id
|
201
157
|
# @return [String]
|
@@ -254,13 +210,6 @@ module Aws::ConnectCampaignService
|
|
254
210
|
|
255
211
|
# DeleteCampaignRequest
|
256
212
|
#
|
257
|
-
# @note When making an API call, you may pass DeleteCampaignRequest
|
258
|
-
# data as a hash:
|
259
|
-
#
|
260
|
-
# {
|
261
|
-
# id: "CampaignId", # required
|
262
|
-
# }
|
263
|
-
#
|
264
213
|
# @!attribute [rw] id
|
265
214
|
# Identifier representing a Campaign
|
266
215
|
# @return [String]
|
@@ -275,13 +224,6 @@ module Aws::ConnectCampaignService
|
|
275
224
|
|
276
225
|
# DeleteCampaignRequest
|
277
226
|
#
|
278
|
-
# @note When making an API call, you may pass DeleteConnectInstanceConfigRequest
|
279
|
-
# data as a hash:
|
280
|
-
#
|
281
|
-
# {
|
282
|
-
# connect_instance_id: "InstanceId", # required
|
283
|
-
# }
|
284
|
-
#
|
285
227
|
# @!attribute [rw] connect_instance_id
|
286
228
|
# Amazon Connect Instance Id
|
287
229
|
# @return [String]
|
@@ -296,13 +238,6 @@ module Aws::ConnectCampaignService
|
|
296
238
|
|
297
239
|
# The request for DeleteInstanceOnboardingJob API.
|
298
240
|
#
|
299
|
-
# @note When making an API call, you may pass DeleteInstanceOnboardingJobRequest
|
300
|
-
# data as a hash:
|
301
|
-
#
|
302
|
-
# {
|
303
|
-
# connect_instance_id: "InstanceId", # required
|
304
|
-
# }
|
305
|
-
#
|
306
241
|
# @!attribute [rw] connect_instance_id
|
307
242
|
# Amazon Connect Instance Id
|
308
243
|
# @return [String]
|
@@ -317,13 +252,6 @@ module Aws::ConnectCampaignService
|
|
317
252
|
|
318
253
|
# DescribeCampaignRequests
|
319
254
|
#
|
320
|
-
# @note When making an API call, you may pass DescribeCampaignRequest
|
321
|
-
# data as a hash:
|
322
|
-
#
|
323
|
-
# {
|
324
|
-
# id: "CampaignId", # required
|
325
|
-
# }
|
326
|
-
#
|
327
255
|
# @!attribute [rw] id
|
328
256
|
# Identifier representing a Campaign
|
329
257
|
# @return [String]
|
@@ -352,18 +280,6 @@ module Aws::ConnectCampaignService
|
|
352
280
|
|
353
281
|
# A dial request for a campaign.
|
354
282
|
#
|
355
|
-
# @note When making an API call, you may pass DialRequest
|
356
|
-
# data as a hash:
|
357
|
-
#
|
358
|
-
# {
|
359
|
-
# attributes: { # required
|
360
|
-
# "AttributeName" => "AttributeValue",
|
361
|
-
# },
|
362
|
-
# client_token: "ClientToken", # required
|
363
|
-
# expiration_time: Time.now, # required
|
364
|
-
# phone_number: "DestinationPhoneNumber", # required
|
365
|
-
# }
|
366
|
-
#
|
367
283
|
# @!attribute [rw] attributes
|
368
284
|
# A custom key-value pair using an attribute map. The attributes are
|
369
285
|
# standard Amazon Connect attributes, and can be accessed in contact
|
@@ -428,15 +344,6 @@ module Aws::ConnectCampaignService
|
|
428
344
|
# its own key. If enabled, a KMS key id needs to be provided and KMS
|
429
345
|
# charges will apply. KMS is only type supported
|
430
346
|
#
|
431
|
-
# @note When making an API call, you may pass EncryptionConfig
|
432
|
-
# data as a hash:
|
433
|
-
#
|
434
|
-
# {
|
435
|
-
# enabled: false, # required
|
436
|
-
# encryption_type: "KMS", # accepts KMS
|
437
|
-
# key_arn: "EncryptionKey",
|
438
|
-
# }
|
439
|
-
#
|
440
347
|
# @!attribute [rw] enabled
|
441
348
|
# Boolean to indicate if custom encryption has been enabled.
|
442
349
|
# @return [Boolean]
|
@@ -506,13 +413,6 @@ module Aws::ConnectCampaignService
|
|
506
413
|
|
507
414
|
# GetCampaignStateBatchRequest
|
508
415
|
#
|
509
|
-
# @note When making an API call, you may pass GetCampaignStateBatchRequest
|
510
|
-
# data as a hash:
|
511
|
-
#
|
512
|
-
# {
|
513
|
-
# campaign_ids: ["CampaignId"], # required
|
514
|
-
# }
|
515
|
-
#
|
516
416
|
# @!attribute [rw] campaign_ids
|
517
417
|
# List of CampaignId
|
518
418
|
# @return [Array<String>]
|
@@ -546,13 +446,6 @@ module Aws::ConnectCampaignService
|
|
546
446
|
|
547
447
|
# GetCampaignStateRequest
|
548
448
|
#
|
549
|
-
# @note When making an API call, you may pass GetCampaignStateRequest
|
550
|
-
# data as a hash:
|
551
|
-
#
|
552
|
-
# {
|
553
|
-
# id: "CampaignId", # required
|
554
|
-
# }
|
555
|
-
#
|
556
449
|
# @!attribute [rw] id
|
557
450
|
# Identifier representing a Campaign
|
558
451
|
# @return [String]
|
@@ -581,13 +474,6 @@ module Aws::ConnectCampaignService
|
|
581
474
|
|
582
475
|
# GetConnectInstanceConfigRequest
|
583
476
|
#
|
584
|
-
# @note When making an API call, you may pass GetConnectInstanceConfigRequest
|
585
|
-
# data as a hash:
|
586
|
-
#
|
587
|
-
# {
|
588
|
-
# connect_instance_id: "InstanceId", # required
|
589
|
-
# }
|
590
|
-
#
|
591
477
|
# @!attribute [rw] connect_instance_id
|
592
478
|
# Amazon Connect Instance Id
|
593
479
|
# @return [String]
|
@@ -616,13 +502,6 @@ module Aws::ConnectCampaignService
|
|
616
502
|
|
617
503
|
# GetInstanceOnboardingJobStatusRequest
|
618
504
|
#
|
619
|
-
# @note When making an API call, you may pass GetInstanceOnboardingJobStatusRequest
|
620
|
-
# data as a hash:
|
621
|
-
#
|
622
|
-
# {
|
623
|
-
# connect_instance_id: "InstanceId", # required
|
624
|
-
# }
|
625
|
-
#
|
626
505
|
# @!attribute [rw] connect_instance_id
|
627
506
|
# Amazon Connect Instance Id
|
628
507
|
# @return [String]
|
@@ -678,14 +557,6 @@ module Aws::ConnectCampaignService
|
|
678
557
|
|
679
558
|
# Connect instance identifier filter
|
680
559
|
#
|
681
|
-
# @note When making an API call, you may pass InstanceIdFilter
|
682
|
-
# data as a hash:
|
683
|
-
#
|
684
|
-
# {
|
685
|
-
# operator: "Eq", # required, accepts Eq
|
686
|
-
# value: "InstanceId", # required
|
687
|
-
# }
|
688
|
-
#
|
689
560
|
# @!attribute [rw] operator
|
690
561
|
# Operators for Connect instance identifier filter
|
691
562
|
# @return [String]
|
@@ -795,20 +666,6 @@ module Aws::ConnectCampaignService
|
|
795
666
|
|
796
667
|
# ListCampaignsRequest
|
797
668
|
#
|
798
|
-
# @note When making an API call, you may pass ListCampaignsRequest
|
799
|
-
# data as a hash:
|
800
|
-
#
|
801
|
-
# {
|
802
|
-
# filters: {
|
803
|
-
# instance_id_filter: {
|
804
|
-
# operator: "Eq", # required, accepts Eq
|
805
|
-
# value: "InstanceId", # required
|
806
|
-
# },
|
807
|
-
# },
|
808
|
-
# max_results: 1,
|
809
|
-
# next_token: "NextToken",
|
810
|
-
# }
|
811
|
-
#
|
812
669
|
# @!attribute [rw] filters
|
813
670
|
# Filter model by type
|
814
671
|
# @return [Types::CampaignFilters]
|
@@ -852,13 +709,6 @@ module Aws::ConnectCampaignService
|
|
852
709
|
|
853
710
|
# ListTagsForResource
|
854
711
|
#
|
855
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
856
|
-
# data as a hash:
|
857
|
-
#
|
858
|
-
# {
|
859
|
-
# arn: "Arn", # required
|
860
|
-
# }
|
861
|
-
#
|
862
712
|
# @!attribute [rw] arn
|
863
713
|
# Arn
|
864
714
|
# @return [String]
|
@@ -887,18 +737,6 @@ module Aws::ConnectCampaignService
|
|
887
737
|
|
888
738
|
# The configuration used for outbound calls.
|
889
739
|
#
|
890
|
-
# @note When making an API call, you may pass OutboundCallConfig
|
891
|
-
# data as a hash:
|
892
|
-
#
|
893
|
-
# {
|
894
|
-
# answer_machine_detection_config: {
|
895
|
-
# enable_answer_machine_detection: false, # required
|
896
|
-
# },
|
897
|
-
# connect_contact_flow_id: "ContactFlowId", # required
|
898
|
-
# connect_queue_id: "QueueId", # required
|
899
|
-
# connect_source_phone_number: "SourcePhoneNumber",
|
900
|
-
# }
|
901
|
-
#
|
902
740
|
# @!attribute [rw] answer_machine_detection_config
|
903
741
|
# Answering Machine Detection config
|
904
742
|
# @return [Types::AnswerMachineDetectionConfig]
|
@@ -934,13 +772,6 @@ module Aws::ConnectCampaignService
|
|
934
772
|
|
935
773
|
# PauseCampaignRequest
|
936
774
|
#
|
937
|
-
# @note When making an API call, you may pass PauseCampaignRequest
|
938
|
-
# data as a hash:
|
939
|
-
#
|
940
|
-
# {
|
941
|
-
# id: "CampaignId", # required
|
942
|
-
# }
|
943
|
-
#
|
944
775
|
# @!attribute [rw] id
|
945
776
|
# Identifier representing a Campaign
|
946
777
|
# @return [String]
|
@@ -955,13 +786,6 @@ module Aws::ConnectCampaignService
|
|
955
786
|
|
956
787
|
# Predictive Dialer config
|
957
788
|
#
|
958
|
-
# @note When making an API call, you may pass PredictiveDialerConfig
|
959
|
-
# data as a hash:
|
960
|
-
#
|
961
|
-
# {
|
962
|
-
# bandwidth_allocation: 1.0, # required
|
963
|
-
# }
|
964
|
-
#
|
965
789
|
# @!attribute [rw] bandwidth_allocation
|
966
790
|
# The bandwidth allocation of a queue resource.
|
967
791
|
# @return [Float]
|
@@ -976,13 +800,6 @@ module Aws::ConnectCampaignService
|
|
976
800
|
|
977
801
|
# Progressive Dialer config
|
978
802
|
#
|
979
|
-
# @note When making an API call, you may pass ProgressiveDialerConfig
|
980
|
-
# data as a hash:
|
981
|
-
#
|
982
|
-
# {
|
983
|
-
# bandwidth_allocation: 1.0, # required
|
984
|
-
# }
|
985
|
-
#
|
986
803
|
# @!attribute [rw] bandwidth_allocation
|
987
804
|
# The bandwidth allocation of a queue resource.
|
988
805
|
# @return [Float]
|
@@ -997,23 +814,6 @@ module Aws::ConnectCampaignService
|
|
997
814
|
|
998
815
|
# PutDialRequestBatchRequest
|
999
816
|
#
|
1000
|
-
# @note When making an API call, you may pass PutDialRequestBatchRequest
|
1001
|
-
# data as a hash:
|
1002
|
-
#
|
1003
|
-
# {
|
1004
|
-
# dial_requests: [ # required
|
1005
|
-
# {
|
1006
|
-
# attributes: { # required
|
1007
|
-
# "AttributeName" => "AttributeValue",
|
1008
|
-
# },
|
1009
|
-
# client_token: "ClientToken", # required
|
1010
|
-
# expiration_time: Time.now, # required
|
1011
|
-
# phone_number: "DestinationPhoneNumber", # required
|
1012
|
-
# },
|
1013
|
-
# ],
|
1014
|
-
# id: "CampaignId", # required
|
1015
|
-
# }
|
1016
|
-
#
|
1017
817
|
# @!attribute [rw] dial_requests
|
1018
818
|
# A list of dial requests.
|
1019
819
|
# @return [Array<Types::DialRequest>]
|
@@ -1071,13 +871,6 @@ module Aws::ConnectCampaignService
|
|
1071
871
|
|
1072
872
|
# ResumeCampaignRequest
|
1073
873
|
#
|
1074
|
-
# @note When making an API call, you may pass ResumeCampaignRequest
|
1075
|
-
# data as a hash:
|
1076
|
-
#
|
1077
|
-
# {
|
1078
|
-
# id: "CampaignId", # required
|
1079
|
-
# }
|
1080
|
-
#
|
1081
874
|
# @!attribute [rw] id
|
1082
875
|
# Identifier representing a Campaign
|
1083
876
|
# @return [String]
|
@@ -1111,13 +904,6 @@ module Aws::ConnectCampaignService
|
|
1111
904
|
|
1112
905
|
# StartCampaignRequest
|
1113
906
|
#
|
1114
|
-
# @note When making an API call, you may pass StartCampaignRequest
|
1115
|
-
# data as a hash:
|
1116
|
-
#
|
1117
|
-
# {
|
1118
|
-
# id: "CampaignId", # required
|
1119
|
-
# }
|
1120
|
-
#
|
1121
907
|
# @!attribute [rw] id
|
1122
908
|
# Identifier representing a Campaign
|
1123
909
|
# @return [String]
|
@@ -1132,18 +918,6 @@ module Aws::ConnectCampaignService
|
|
1132
918
|
|
1133
919
|
# The request for StartInstanceOnboardingJob API.
|
1134
920
|
#
|
1135
|
-
# @note When making an API call, you may pass StartInstanceOnboardingJobRequest
|
1136
|
-
# data as a hash:
|
1137
|
-
#
|
1138
|
-
# {
|
1139
|
-
# connect_instance_id: "InstanceId", # required
|
1140
|
-
# encryption_config: { # required
|
1141
|
-
# enabled: false, # required
|
1142
|
-
# encryption_type: "KMS", # accepts KMS
|
1143
|
-
# key_arn: "EncryptionKey",
|
1144
|
-
# },
|
1145
|
-
# }
|
1146
|
-
#
|
1147
921
|
# @!attribute [rw] connect_instance_id
|
1148
922
|
# Amazon Connect Instance Id
|
1149
923
|
# @return [String]
|
@@ -1180,13 +954,6 @@ module Aws::ConnectCampaignService
|
|
1180
954
|
|
1181
955
|
# StopCampaignRequest
|
1182
956
|
#
|
1183
|
-
# @note When making an API call, you may pass StopCampaignRequest
|
1184
|
-
# data as a hash:
|
1185
|
-
#
|
1186
|
-
# {
|
1187
|
-
# id: "CampaignId", # required
|
1188
|
-
# }
|
1189
|
-
#
|
1190
957
|
# @!attribute [rw] id
|
1191
958
|
# Identifier representing a Campaign
|
1192
959
|
# @return [String]
|
@@ -1240,16 +1007,6 @@ module Aws::ConnectCampaignService
|
|
1240
1007
|
|
1241
1008
|
# TagResourceRequest
|
1242
1009
|
#
|
1243
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1244
|
-
# data as a hash:
|
1245
|
-
#
|
1246
|
-
# {
|
1247
|
-
# arn: "Arn", # required
|
1248
|
-
# tags: { # required
|
1249
|
-
# "TagKey" => "TagValue",
|
1250
|
-
# },
|
1251
|
-
# }
|
1252
|
-
#
|
1253
1010
|
# @!attribute [rw] arn
|
1254
1011
|
# Arn
|
1255
1012
|
# @return [String]
|
@@ -1288,14 +1045,6 @@ module Aws::ConnectCampaignService
|
|
1288
1045
|
|
1289
1046
|
# UntagResourceRequest
|
1290
1047
|
#
|
1291
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1292
|
-
# data as a hash:
|
1293
|
-
#
|
1294
|
-
# {
|
1295
|
-
# arn: "Arn", # required
|
1296
|
-
# tag_keys: ["TagKey"], # required
|
1297
|
-
# }
|
1298
|
-
#
|
1299
1048
|
# @!attribute [rw] arn
|
1300
1049
|
# Arn
|
1301
1050
|
# @return [String]
|
@@ -1315,21 +1064,6 @@ module Aws::ConnectCampaignService
|
|
1315
1064
|
|
1316
1065
|
# UpdateCampaignDialerConfigRequest
|
1317
1066
|
#
|
1318
|
-
# @note When making an API call, you may pass UpdateCampaignDialerConfigRequest
|
1319
|
-
# data as a hash:
|
1320
|
-
#
|
1321
|
-
# {
|
1322
|
-
# dialer_config: { # required
|
1323
|
-
# predictive_dialer_config: {
|
1324
|
-
# bandwidth_allocation: 1.0, # required
|
1325
|
-
# },
|
1326
|
-
# progressive_dialer_config: {
|
1327
|
-
# bandwidth_allocation: 1.0, # required
|
1328
|
-
# },
|
1329
|
-
# },
|
1330
|
-
# id: "CampaignId", # required
|
1331
|
-
# }
|
1332
|
-
#
|
1333
1067
|
# @!attribute [rw] dialer_config
|
1334
1068
|
# The possible types of dialer config parameters
|
1335
1069
|
# @return [Types::DialerConfig]
|
@@ -1349,14 +1083,6 @@ module Aws::ConnectCampaignService
|
|
1349
1083
|
|
1350
1084
|
# UpdateCampaignNameRequest
|
1351
1085
|
#
|
1352
|
-
# @note When making an API call, you may pass UpdateCampaignNameRequest
|
1353
|
-
# data as a hash:
|
1354
|
-
#
|
1355
|
-
# {
|
1356
|
-
# id: "CampaignId", # required
|
1357
|
-
# name: "CampaignName", # required
|
1358
|
-
# }
|
1359
|
-
#
|
1360
1086
|
# @!attribute [rw] id
|
1361
1087
|
# Identifier representing a Campaign
|
1362
1088
|
# @return [String]
|
@@ -1376,18 +1102,6 @@ module Aws::ConnectCampaignService
|
|
1376
1102
|
|
1377
1103
|
# UpdateCampaignOutboundCallConfigRequest
|
1378
1104
|
#
|
1379
|
-
# @note When making an API call, you may pass UpdateCampaignOutboundCallConfigRequest
|
1380
|
-
# data as a hash:
|
1381
|
-
#
|
1382
|
-
# {
|
1383
|
-
# answer_machine_detection_config: {
|
1384
|
-
# enable_answer_machine_detection: false, # required
|
1385
|
-
# },
|
1386
|
-
# connect_contact_flow_id: "ContactFlowId",
|
1387
|
-
# connect_source_phone_number: "SourcePhoneNumber",
|
1388
|
-
# id: "CampaignId", # required
|
1389
|
-
# }
|
1390
|
-
#
|
1391
1105
|
# @!attribute [rw] answer_machine_detection_config
|
1392
1106
|
# Answering Machine Detection config
|
1393
1107
|
# @return [Types::AnswerMachineDetectionConfig]
|
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-connectcampaignservice/types'
|
15
15
|
require_relative 'aws-sdk-connectcampaignservice/client_api'
|
16
|
+
require_relative 'aws-sdk-connectcampaignservice/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-connectcampaignservice/client'
|
17
18
|
require_relative 'aws-sdk-connectcampaignservice/errors'
|
18
19
|
require_relative 'aws-sdk-connectcampaignservice/resource'
|
20
|
+
require_relative 'aws-sdk-connectcampaignservice/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-connectcampaignservice/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-connectcampaignservice/endpoints'
|
19
23
|
require_relative 'aws-sdk-connectcampaignservice/customizations'
|
20
24
|
|
21
25
|
# This module provides support for AmazonConnectCampaignService. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-connectcampaignservice/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::ConnectCampaignService
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.3.0'
|
52
56
|
|
53
57
|
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.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-18 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.
|
22
|
+
version: 3.165.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.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-connectcampaignservice/client.rb
|
60
60
|
- lib/aws-sdk-connectcampaignservice/client_api.rb
|
61
61
|
- lib/aws-sdk-connectcampaignservice/customizations.rb
|
62
|
+
- lib/aws-sdk-connectcampaignservice/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-connectcampaignservice/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-connectcampaignservice/endpoints.rb
|
62
65
|
- lib/aws-sdk-connectcampaignservice/errors.rb
|
66
|
+
- lib/aws-sdk-connectcampaignservice/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-connectcampaignservice/resource.rb
|
64
68
|
- lib/aws-sdk-connectcampaignservice/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|