aws-sdk-cognitoidentity 1.40.1 → 1.42.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: d849ac9e7adc58f4161873832424e9a5e5a0d162be35207fb1d48a880a818e52
4
- data.tar.gz: 59eafd6960ed25e69229616bb4c1b2deec59eb1ee83a23a196cce4c8e5767615
3
+ metadata.gz: ac368e4767fd94043f5cf4b35b8f00bf80518d4c23d107aac058fa8a764a392e
4
+ data.tar.gz: 7a6a833b674062c6863dcec1825f8dc84a83516f43d70b739d48b17bfb8a8cd6
5
5
  SHA512:
6
- metadata.gz: c8ce7efccfdc3d370f96049db3f7ee063ca5568eebf81ea643b448161bd963c67fc7b79180b6fa3bd9934eea0c260755ac8e4b37cf87bbd2a26cd10d5d659d46
7
- data.tar.gz: cd4ae43971a41655d3e6238c471754f471d61992ac208497ab9333fa8265c75c07bc09008c5239ddda1f5abb8f88539b5a70fa094cc35a9296dd9a8269a5b78b
6
+ metadata.gz: 350de19578a9204faec6cc8e0648640d8c67dfee5dcd99f1e3365e6db905b7503329f6840a53130b4b57ca38e757872122747d897227aff7ff743d9d4d5318af
7
+ data.tar.gz: 5c7ca81ff56bd7aab15d3bfba7d9ba475a60b72e680f5b8abcec3164d2fd2a6499f3986e5336f8bf57f29cbefca4ea7ccc74f6322f04018ab4ee3606f7afed19
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.42.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.41.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.40.1 (2022-04-22)
5
17
  ------------------
6
18
 
@@ -283,4 +295,4 @@ Unreleased Changes
283
295
  1.0.0.rc1 (2016-12-05)
284
296
  ------------------
285
297
 
286
- * Feature - Initial preview release of the `aws-sdk-cognitoidentity` gem.
298
+ * Feature - Initial preview release of the `aws-sdk-cognitoidentity` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.1
1
+ 1.42.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/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:cognitoidentity)
@@ -79,8 +79,9 @@ module Aws::CognitoIdentity
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::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::CognitoIdentity::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::CognitoIdentity
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::CognitoIdentity
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::CognitoIdentity::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CognitoIdentity::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -1631,7 +1648,7 @@ module Aws::CognitoIdentity
1631
1648
  params: params,
1632
1649
  config: config)
1633
1650
  context[:gem_name] = 'aws-sdk-cognitoidentity'
1634
- context[:gem_version] = '1.40.1'
1651
+ context[:gem_version] = '1.42.0'
1635
1652
  Seahorse::Client::Request.new(handlers, context)
1636
1653
  end
1637
1654
 
@@ -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::CognitoIdentity
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::CognitoIdentity
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://cognito-identity-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://cognito-identity-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://cognito-identity.#{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://cognito-identity.#{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,337 @@
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::CognitoIdentity
12
+ module Endpoints
13
+
14
+ class CreateIdentityPool
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::CognitoIdentity::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 DeleteIdentities
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::CognitoIdentity::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 DeleteIdentityPool
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::CognitoIdentity::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 DescribeIdentity
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::CognitoIdentity::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 DescribeIdentityPool
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::CognitoIdentity::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 GetCredentialsForIdentity
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::CognitoIdentity::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 GetId
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::CognitoIdentity::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 GetIdentityPoolRoles
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::CognitoIdentity::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 GetOpenIdToken
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::CognitoIdentity::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 GetOpenIdTokenForDeveloperIdentity
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::CognitoIdentity::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 GetPrincipalTagAttributeMap
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::CognitoIdentity::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 ListIdentities
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::CognitoIdentity::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 ListIdentityPools
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::CognitoIdentity::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 ListTagsForResource
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::CognitoIdentity::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 LookupDeveloperIdentity
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::CognitoIdentity::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 MergeDeveloperIdentities
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::CognitoIdentity::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 SetIdentityPoolRoles
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::CognitoIdentity::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 SetPrincipalTagAttributeMap
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::CognitoIdentity::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 TagResource
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::CognitoIdentity::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 UnlinkDeveloperIdentity
281
+ def self.build(context)
282
+ unless context.config.regional_endpoint
283
+ endpoint = context.config.endpoint.to_s
284
+ end
285
+ Aws::CognitoIdentity::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 UnlinkIdentity
295
+ def self.build(context)
296
+ unless context.config.regional_endpoint
297
+ endpoint = context.config.endpoint.to_s
298
+ end
299
+ Aws::CognitoIdentity::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 UntagResource
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::CognitoIdentity::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
+ class UpdateIdentityPool
323
+ def self.build(context)
324
+ unless context.config.regional_endpoint
325
+ endpoint = context.config.endpoint.to_s
326
+ end
327
+ Aws::CognitoIdentity::EndpointParameters.new(
328
+ region: context.config.region,
329
+ use_dual_stack: context.config.use_dualstack_endpoint,
330
+ use_fips: context.config.use_fips_endpoint,
331
+ endpoint: endpoint,
332
+ )
333
+ end
334
+ end
335
+
336
+ end
337
+ end
@@ -0,0 +1,114 @@
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::CognitoIdentity
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::CognitoIdentity::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::CognitoIdentity::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::CognitoIdentity::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_identity_pool
60
+ Aws::CognitoIdentity::Endpoints::CreateIdentityPool.build(context)
61
+ when :delete_identities
62
+ Aws::CognitoIdentity::Endpoints::DeleteIdentities.build(context)
63
+ when :delete_identity_pool
64
+ Aws::CognitoIdentity::Endpoints::DeleteIdentityPool.build(context)
65
+ when :describe_identity
66
+ Aws::CognitoIdentity::Endpoints::DescribeIdentity.build(context)
67
+ when :describe_identity_pool
68
+ Aws::CognitoIdentity::Endpoints::DescribeIdentityPool.build(context)
69
+ when :get_credentials_for_identity
70
+ Aws::CognitoIdentity::Endpoints::GetCredentialsForIdentity.build(context)
71
+ when :get_id
72
+ Aws::CognitoIdentity::Endpoints::GetId.build(context)
73
+ when :get_identity_pool_roles
74
+ Aws::CognitoIdentity::Endpoints::GetIdentityPoolRoles.build(context)
75
+ when :get_open_id_token
76
+ Aws::CognitoIdentity::Endpoints::GetOpenIdToken.build(context)
77
+ when :get_open_id_token_for_developer_identity
78
+ Aws::CognitoIdentity::Endpoints::GetOpenIdTokenForDeveloperIdentity.build(context)
79
+ when :get_principal_tag_attribute_map
80
+ Aws::CognitoIdentity::Endpoints::GetPrincipalTagAttributeMap.build(context)
81
+ when :list_identities
82
+ Aws::CognitoIdentity::Endpoints::ListIdentities.build(context)
83
+ when :list_identity_pools
84
+ Aws::CognitoIdentity::Endpoints::ListIdentityPools.build(context)
85
+ when :list_tags_for_resource
86
+ Aws::CognitoIdentity::Endpoints::ListTagsForResource.build(context)
87
+ when :lookup_developer_identity
88
+ Aws::CognitoIdentity::Endpoints::LookupDeveloperIdentity.build(context)
89
+ when :merge_developer_identities
90
+ Aws::CognitoIdentity::Endpoints::MergeDeveloperIdentities.build(context)
91
+ when :set_identity_pool_roles
92
+ Aws::CognitoIdentity::Endpoints::SetIdentityPoolRoles.build(context)
93
+ when :set_principal_tag_attribute_map
94
+ Aws::CognitoIdentity::Endpoints::SetPrincipalTagAttributeMap.build(context)
95
+ when :tag_resource
96
+ Aws::CognitoIdentity::Endpoints::TagResource.build(context)
97
+ when :unlink_developer_identity
98
+ Aws::CognitoIdentity::Endpoints::UnlinkDeveloperIdentity.build(context)
99
+ when :unlink_identity
100
+ Aws::CognitoIdentity::Endpoints::UnlinkIdentity.build(context)
101
+ when :untag_resource
102
+ Aws::CognitoIdentity::Endpoints::UntagResource.build(context)
103
+ when :update_identity_pool
104
+ Aws::CognitoIdentity::Endpoints::UpdateIdentityPool.build(context)
105
+ end
106
+ end
107
+ end
108
+
109
+ def add_handlers(handlers, _config)
110
+ handlers.add(Handler, step: :build, priority: 75)
111
+ end
112
+ end
113
+ end
114
+ end
@@ -12,15 +12,6 @@ module Aws::CognitoIdentity
12
12
 
13
13
  # A provider representing an Amazon Cognito user pool and its client ID.
14
14
  #
15
- # @note When making an API call, you may pass CognitoIdentityProvider
16
- # data as a hash:
17
- #
18
- # {
19
- # provider_name: "CognitoIdentityProviderName",
20
- # client_id: "CognitoIdentityProviderClientId",
21
- # server_side_token_check: false,
22
- # }
23
- #
24
15
  # @!attribute [rw] provider_name
25
16
  # The provider name for an Amazon Cognito user pool. For example,
26
17
  # `cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789`.
@@ -70,31 +61,6 @@ module Aws::CognitoIdentity
70
61
 
71
62
  # Input to the CreateIdentityPool action.
72
63
  #
73
- # @note When making an API call, you may pass CreateIdentityPoolInput
74
- # data as a hash:
75
- #
76
- # {
77
- # identity_pool_name: "IdentityPoolName", # required
78
- # allow_unauthenticated_identities: false, # required
79
- # allow_classic_flow: false,
80
- # supported_login_providers: {
81
- # "IdentityProviderName" => "IdentityProviderId",
82
- # },
83
- # developer_provider_name: "DeveloperProviderName",
84
- # open_id_connect_provider_arns: ["ARNString"],
85
- # cognito_identity_providers: [
86
- # {
87
- # provider_name: "CognitoIdentityProviderName",
88
- # client_id: "CognitoIdentityProviderClientId",
89
- # server_side_token_check: false,
90
- # },
91
- # ],
92
- # saml_provider_arns: ["ARNString"],
93
- # identity_pool_tags: {
94
- # "TagKeysType" => "TagValueType",
95
- # },
96
- # }
97
- #
98
64
  # @!attribute [rw] identity_pool_name
99
65
  # A string that you provide.
100
66
  # @return [String]
@@ -194,13 +160,6 @@ module Aws::CognitoIdentity
194
160
 
195
161
  # Input to the `DeleteIdentities` action.
196
162
  #
197
- # @note When making an API call, you may pass DeleteIdentitiesInput
198
- # data as a hash:
199
- #
200
- # {
201
- # identity_ids_to_delete: ["IdentityId"], # required
202
- # }
203
- #
204
163
  # @!attribute [rw] identity_ids_to_delete
205
164
  # A list of 1-60 identities that you want to delete.
206
165
  # @return [Array<String>]
@@ -230,13 +189,6 @@ module Aws::CognitoIdentity
230
189
 
231
190
  # Input to the DeleteIdentityPool action.
232
191
  #
233
- # @note When making an API call, you may pass DeleteIdentityPoolInput
234
- # data as a hash:
235
- #
236
- # {
237
- # identity_pool_id: "IdentityPoolId", # required
238
- # }
239
- #
240
192
  # @!attribute [rw] identity_pool_id
241
193
  # An identity pool ID in the format REGION:GUID.
242
194
  # @return [String]
@@ -251,13 +203,6 @@ module Aws::CognitoIdentity
251
203
 
252
204
  # Input to the `DescribeIdentity` action.
253
205
  #
254
- # @note When making an API call, you may pass DescribeIdentityInput
255
- # data as a hash:
256
- #
257
- # {
258
- # identity_id: "IdentityId", # required
259
- # }
260
- #
261
206
  # @!attribute [rw] identity_id
262
207
  # A unique identifier in the format REGION:GUID.
263
208
  # @return [String]
@@ -272,13 +217,6 @@ module Aws::CognitoIdentity
272
217
 
273
218
  # Input to the DescribeIdentityPool action.
274
219
  #
275
- # @note When making an API call, you may pass DescribeIdentityPoolInput
276
- # data as a hash:
277
- #
278
- # {
279
- # identity_pool_id: "IdentityPoolId", # required
280
- # }
281
- #
282
220
  # @!attribute [rw] identity_pool_id
283
221
  # An identity pool ID in the format REGION:GUID.
284
222
  # @return [String]
@@ -323,17 +261,6 @@ module Aws::CognitoIdentity
323
261
 
324
262
  # Input to the `GetCredentialsForIdentity` action.
325
263
  #
326
- # @note When making an API call, you may pass GetCredentialsForIdentityInput
327
- # data as a hash:
328
- #
329
- # {
330
- # identity_id: "IdentityId", # required
331
- # logins: {
332
- # "IdentityProviderName" => "IdentityProviderToken",
333
- # },
334
- # custom_role_arn: "ARNString",
335
- # }
336
- #
337
264
  # @!attribute [rw] identity_id
338
265
  # A unique identifier in the format REGION:GUID.
339
266
  # @return [String]
@@ -396,17 +323,6 @@ module Aws::CognitoIdentity
396
323
 
397
324
  # Input to the GetId action.
398
325
  #
399
- # @note When making an API call, you may pass GetIdInput
400
- # data as a hash:
401
- #
402
- # {
403
- # account_id: "AccountId",
404
- # identity_pool_id: "IdentityPoolId", # required
405
- # logins: {
406
- # "IdentityProviderName" => "IdentityProviderToken",
407
- # },
408
- # }
409
- #
410
326
  # @!attribute [rw] account_id
411
327
  # A standard AWS account ID (9+ digits).
412
328
  # @return [String]
@@ -462,13 +378,6 @@ module Aws::CognitoIdentity
462
378
 
463
379
  # Input to the `GetIdentityPoolRoles` action.
464
380
  #
465
- # @note When making an API call, you may pass GetIdentityPoolRolesInput
466
- # data as a hash:
467
- #
468
- # {
469
- # identity_pool_id: "IdentityPoolId", # required
470
- # }
471
- #
472
381
  # @!attribute [rw] identity_pool_id
473
382
  # An identity pool ID in the format REGION:GUID.
474
383
  # @return [String]
@@ -511,21 +420,6 @@ module Aws::CognitoIdentity
511
420
 
512
421
  # Input to the `GetOpenIdTokenForDeveloperIdentity` action.
513
422
  #
514
- # @note When making an API call, you may pass GetOpenIdTokenForDeveloperIdentityInput
515
- # data as a hash:
516
- #
517
- # {
518
- # identity_pool_id: "IdentityPoolId", # required
519
- # identity_id: "IdentityId",
520
- # logins: { # required
521
- # "IdentityProviderName" => "IdentityProviderToken",
522
- # },
523
- # principal_tags: {
524
- # "PrincipalTagID" => "PrincipalTagValue",
525
- # },
526
- # token_duration: 1,
527
- # }
528
- #
529
423
  # @!attribute [rw] identity_pool_id
530
424
  # An identity pool ID in the format REGION:GUID.
531
425
  # @return [String]
@@ -603,16 +497,6 @@ module Aws::CognitoIdentity
603
497
 
604
498
  # Input to the GetOpenIdToken action.
605
499
  #
606
- # @note When making an API call, you may pass GetOpenIdTokenInput
607
- # data as a hash:
608
- #
609
- # {
610
- # identity_id: "IdentityId", # required
611
- # logins: {
612
- # "IdentityProviderName" => "IdentityProviderToken",
613
- # },
614
- # }
615
- #
616
500
  # @!attribute [rw] identity_id
617
501
  # A unique identifier in the format REGION:GUID.
618
502
  # @return [String]
@@ -654,14 +538,6 @@ module Aws::CognitoIdentity
654
538
  include Aws::Structure
655
539
  end
656
540
 
657
- # @note When making an API call, you may pass GetPrincipalTagAttributeMapInput
658
- # data as a hash:
659
- #
660
- # {
661
- # identity_pool_id: "IdentityPoolId", # required
662
- # identity_provider_name: "IdentityProviderName", # required
663
- # }
664
- #
665
541
  # @!attribute [rw] identity_pool_id
666
542
  # You can use this operation to get the ID of the Identity Pool you
667
543
  # setup attribute mappings for.
@@ -741,32 +617,6 @@ module Aws::CognitoIdentity
741
617
 
742
618
  # An object representing an Amazon Cognito identity pool.
743
619
  #
744
- # @note When making an API call, you may pass IdentityPool
745
- # data as a hash:
746
- #
747
- # {
748
- # identity_pool_id: "IdentityPoolId", # required
749
- # identity_pool_name: "IdentityPoolName", # required
750
- # allow_unauthenticated_identities: false, # required
751
- # allow_classic_flow: false,
752
- # supported_login_providers: {
753
- # "IdentityProviderName" => "IdentityProviderId",
754
- # },
755
- # developer_provider_name: "DeveloperProviderName",
756
- # open_id_connect_provider_arns: ["ARNString"],
757
- # cognito_identity_providers: [
758
- # {
759
- # provider_name: "CognitoIdentityProviderName",
760
- # client_id: "CognitoIdentityProviderClientId",
761
- # server_side_token_check: false,
762
- # },
763
- # ],
764
- # saml_provider_arns: ["ARNString"],
765
- # identity_pool_tags: {
766
- # "TagKeysType" => "TagValueType",
767
- # },
768
- # }
769
- #
770
620
  # @!attribute [rw] identity_pool_id
771
621
  # An identity pool ID in the format REGION:GUID.
772
622
  # @return [String]
@@ -915,16 +765,6 @@ module Aws::CognitoIdentity
915
765
 
916
766
  # Input to the ListIdentities action.
917
767
  #
918
- # @note When making an API call, you may pass ListIdentitiesInput
919
- # data as a hash:
920
- #
921
- # {
922
- # identity_pool_id: "IdentityPoolId", # required
923
- # max_results: 1, # required
924
- # next_token: "PaginationKey",
925
- # hide_disabled: false,
926
- # }
927
- #
928
768
  # @!attribute [rw] identity_pool_id
929
769
  # An identity pool ID in the format REGION:GUID.
930
770
  # @return [String]
@@ -980,14 +820,6 @@ module Aws::CognitoIdentity
980
820
 
981
821
  # Input to the ListIdentityPools action.
982
822
  #
983
- # @note When making an API call, you may pass ListIdentityPoolsInput
984
- # data as a hash:
985
- #
986
- # {
987
- # max_results: 1, # required
988
- # next_token: "PaginationKey",
989
- # }
990
- #
991
823
  # @!attribute [rw] max_results
992
824
  # The maximum number of identities to return.
993
825
  # @return [Integer]
@@ -1024,13 +856,6 @@ module Aws::CognitoIdentity
1024
856
  include Aws::Structure
1025
857
  end
1026
858
 
1027
- # @note When making an API call, you may pass ListTagsForResourceInput
1028
- # data as a hash:
1029
- #
1030
- # {
1031
- # resource_arn: "ARNString", # required
1032
- # }
1033
- #
1034
859
  # @!attribute [rw] resource_arn
1035
860
  # The Amazon Resource Name (ARN) of the identity pool that the tags
1036
861
  # are assigned to.
@@ -1058,17 +883,6 @@ module Aws::CognitoIdentity
1058
883
 
1059
884
  # Input to the `LookupDeveloperIdentityInput` action.
1060
885
  #
1061
- # @note When making an API call, you may pass LookupDeveloperIdentityInput
1062
- # data as a hash:
1063
- #
1064
- # {
1065
- # identity_pool_id: "IdentityPoolId", # required
1066
- # identity_id: "IdentityId",
1067
- # developer_user_identifier: "DeveloperUserIdentifier",
1068
- # max_results: 1,
1069
- # next_token: "PaginationKey",
1070
- # }
1071
- #
1072
886
  # @!attribute [rw] identity_pool_id
1073
887
  # An identity pool ID in the format REGION:GUID.
1074
888
  # @return [String]
@@ -1144,16 +958,6 @@ module Aws::CognitoIdentity
1144
958
  # A rule that maps a claim name, a claim value, and a match type to a
1145
959
  # role ARN.
1146
960
  #
1147
- # @note When making an API call, you may pass MappingRule
1148
- # data as a hash:
1149
- #
1150
- # {
1151
- # claim: "ClaimName", # required
1152
- # match_type: "Equals", # required, accepts Equals, Contains, StartsWith, NotEqual
1153
- # value: "ClaimValue", # required
1154
- # role_arn: "ARNString", # required
1155
- # }
1156
- #
1157
961
  # @!attribute [rw] claim
1158
962
  # The claim name that must be present in the token, for example,
1159
963
  # "isAdmin" or "paid".
@@ -1186,16 +990,6 @@ module Aws::CognitoIdentity
1186
990
 
1187
991
  # Input to the `MergeDeveloperIdentities` action.
1188
992
  #
1189
- # @note When making an API call, you may pass MergeDeveloperIdentitiesInput
1190
- # data as a hash:
1191
- #
1192
- # {
1193
- # source_user_identifier: "DeveloperUserIdentifier", # required
1194
- # destination_user_identifier: "DeveloperUserIdentifier", # required
1195
- # developer_provider_name: "DeveloperProviderName", # required
1196
- # identity_pool_id: "IdentityPoolId", # required
1197
- # }
1198
- #
1199
993
  # @!attribute [rw] source_user_identifier
1200
994
  # User identifier for the source user. The value should be a
1201
995
  # `DeveloperUserIdentifier`.
@@ -1291,24 +1085,6 @@ module Aws::CognitoIdentity
1291
1085
 
1292
1086
  # A role mapping.
1293
1087
  #
1294
- # @note When making an API call, you may pass RoleMapping
1295
- # data as a hash:
1296
- #
1297
- # {
1298
- # type: "Token", # required, accepts Token, Rules
1299
- # ambiguous_role_resolution: "AuthenticatedRole", # accepts AuthenticatedRole, Deny
1300
- # rules_configuration: {
1301
- # rules: [ # required
1302
- # {
1303
- # claim: "ClaimName", # required
1304
- # match_type: "Equals", # required, accepts Equals, Contains, StartsWith, NotEqual
1305
- # value: "ClaimValue", # required
1306
- # role_arn: "ARNString", # required
1307
- # },
1308
- # ],
1309
- # },
1310
- # }
1311
- #
1312
1088
  # @!attribute [rw] type
1313
1089
  # The role mapping type. Token will use `cognito:roles` and
1314
1090
  # `cognito:preferred_role` claims from the Cognito identity provider
@@ -1345,20 +1121,6 @@ module Aws::CognitoIdentity
1345
1121
 
1346
1122
  # A container for rules.
1347
1123
  #
1348
- # @note When making an API call, you may pass RulesConfigurationType
1349
- # data as a hash:
1350
- #
1351
- # {
1352
- # rules: [ # required
1353
- # {
1354
- # claim: "ClaimName", # required
1355
- # match_type: "Equals", # required, accepts Equals, Contains, StartsWith, NotEqual
1356
- # value: "ClaimValue", # required
1357
- # role_arn: "ARNString", # required
1358
- # },
1359
- # ],
1360
- # }
1361
- #
1362
1124
  # @!attribute [rw] rules
1363
1125
  # An array of rules. You can specify up to 25 rules per identity
1364
1126
  # provider.
@@ -1377,32 +1139,6 @@ module Aws::CognitoIdentity
1377
1139
 
1378
1140
  # Input to the `SetIdentityPoolRoles` action.
1379
1141
  #
1380
- # @note When making an API call, you may pass SetIdentityPoolRolesInput
1381
- # data as a hash:
1382
- #
1383
- # {
1384
- # identity_pool_id: "IdentityPoolId", # required
1385
- # roles: { # required
1386
- # "RoleType" => "ARNString",
1387
- # },
1388
- # role_mappings: {
1389
- # "IdentityProviderName" => {
1390
- # type: "Token", # required, accepts Token, Rules
1391
- # ambiguous_role_resolution: "AuthenticatedRole", # accepts AuthenticatedRole, Deny
1392
- # rules_configuration: {
1393
- # rules: [ # required
1394
- # {
1395
- # claim: "ClaimName", # required
1396
- # match_type: "Equals", # required, accepts Equals, Contains, StartsWith, NotEqual
1397
- # value: "ClaimValue", # required
1398
- # role_arn: "ARNString", # required
1399
- # },
1400
- # ],
1401
- # },
1402
- # },
1403
- # },
1404
- # }
1405
- #
1406
1142
  # @!attribute [rw] identity_pool_id
1407
1143
  # An identity pool ID in the format REGION:GUID.
1408
1144
  # @return [String]
@@ -1432,18 +1168,6 @@ module Aws::CognitoIdentity
1432
1168
  include Aws::Structure
1433
1169
  end
1434
1170
 
1435
- # @note When making an API call, you may pass SetPrincipalTagAttributeMapInput
1436
- # data as a hash:
1437
- #
1438
- # {
1439
- # identity_pool_id: "IdentityPoolId", # required
1440
- # identity_provider_name: "IdentityProviderName", # required
1441
- # use_defaults: false,
1442
- # principal_tags: {
1443
- # "PrincipalTagID" => "PrincipalTagValue",
1444
- # },
1445
- # }
1446
- #
1447
1171
  # @!attribute [rw] identity_pool_id
1448
1172
  # The ID of the Identity Pool you want to set attribute mappings for.
1449
1173
  # @return [String]
@@ -1502,16 +1226,6 @@ module Aws::CognitoIdentity
1502
1226
  include Aws::Structure
1503
1227
  end
1504
1228
 
1505
- # @note When making an API call, you may pass TagResourceInput
1506
- # data as a hash:
1507
- #
1508
- # {
1509
- # resource_arn: "ARNString", # required
1510
- # tags: { # required
1511
- # "TagKeysType" => "TagValueType",
1512
- # },
1513
- # }
1514
- #
1515
1229
  # @!attribute [rw] resource_arn
1516
1230
  # The Amazon Resource Name (ARN) of the identity pool.
1517
1231
  # @return [String]
@@ -1549,16 +1263,6 @@ module Aws::CognitoIdentity
1549
1263
 
1550
1264
  # Input to the `UnlinkDeveloperIdentity` action.
1551
1265
  #
1552
- # @note When making an API call, you may pass UnlinkDeveloperIdentityInput
1553
- # data as a hash:
1554
- #
1555
- # {
1556
- # identity_id: "IdentityId", # required
1557
- # identity_pool_id: "IdentityPoolId", # required
1558
- # developer_provider_name: "DeveloperProviderName", # required
1559
- # developer_user_identifier: "DeveloperUserIdentifier", # required
1560
- # }
1561
- #
1562
1266
  # @!attribute [rw] identity_id
1563
1267
  # A unique identifier in the format REGION:GUID.
1564
1268
  # @return [String]
@@ -1589,17 +1293,6 @@ module Aws::CognitoIdentity
1589
1293
 
1590
1294
  # Input to the UnlinkIdentity action.
1591
1295
  #
1592
- # @note When making an API call, you may pass UnlinkIdentityInput
1593
- # data as a hash:
1594
- #
1595
- # {
1596
- # identity_id: "IdentityId", # required
1597
- # logins: { # required
1598
- # "IdentityProviderName" => "IdentityProviderToken",
1599
- # },
1600
- # logins_to_remove: ["IdentityProviderName"], # required
1601
- # }
1602
- #
1603
1296
  # @!attribute [rw] identity_id
1604
1297
  # A unique identifier in the format REGION:GUID.
1605
1298
  # @return [String]
@@ -1643,14 +1336,6 @@ module Aws::CognitoIdentity
1643
1336
  include Aws::Structure
1644
1337
  end
1645
1338
 
1646
- # @note When making an API call, you may pass UntagResourceInput
1647
- # data as a hash:
1648
- #
1649
- # {
1650
- # resource_arn: "ARNString", # required
1651
- # tag_keys: ["TagKeysType"], # required
1652
- # }
1653
- #
1654
1339
  # @!attribute [rw] resource_arn
1655
1340
  # The Amazon Resource Name (ARN) of the identity pool.
1656
1341
  # @return [String]
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-cognitoidentity/types'
15
15
  require_relative 'aws-sdk-cognitoidentity/client_api'
16
+ require_relative 'aws-sdk-cognitoidentity/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-cognitoidentity/client'
17
18
  require_relative 'aws-sdk-cognitoidentity/errors'
18
19
  require_relative 'aws-sdk-cognitoidentity/resource'
20
+ require_relative 'aws-sdk-cognitoidentity/endpoint_parameters'
21
+ require_relative 'aws-sdk-cognitoidentity/endpoint_provider'
22
+ require_relative 'aws-sdk-cognitoidentity/endpoints'
19
23
  require_relative 'aws-sdk-cognitoidentity/customizations'
20
24
 
21
25
  # This module provides support for Amazon Cognito Identity. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-cognitoidentity/customizations'
48
52
  # @!group service
49
53
  module Aws::CognitoIdentity
50
54
 
51
- GEM_VERSION = '1.40.1'
55
+ GEM_VERSION = '1.42.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cognitoidentity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.1
4
+ version: 1.42.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: 2022-04-22 00:00:00.000000000 Z
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.127.0
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.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -60,7 +60,11 @@ files:
60
60
  - lib/aws-sdk-cognitoidentity/client_api.rb
61
61
  - lib/aws-sdk-cognitoidentity/customizations.rb
62
62
  - lib/aws-sdk-cognitoidentity/customizations/cognito_identity_credentials.rb
63
+ - lib/aws-sdk-cognitoidentity/endpoint_parameters.rb
64
+ - lib/aws-sdk-cognitoidentity/endpoint_provider.rb
65
+ - lib/aws-sdk-cognitoidentity/endpoints.rb
63
66
  - lib/aws-sdk-cognitoidentity/errors.rb
67
+ - lib/aws-sdk-cognitoidentity/plugins/endpoints.rb
64
68
  - lib/aws-sdk-cognitoidentity/resource.rb
65
69
  - lib/aws-sdk-cognitoidentity/types.rb
66
70
  homepage: https://github.com/aws/aws-sdk-ruby