aws-sdk-cognitoidentity 1.19.0 → 1.24.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
- SHA1:
3
- metadata.gz: d35703dff38c11fc60a5b0deddcc7077ab9ecf3e
4
- data.tar.gz: 8d7c1319fb082a22c3ed78e357e373c5a80fe4a5
2
+ SHA256:
3
+ metadata.gz: 39cfcd4d5e0c70520929944d60f6c7f88b5b67ba03b1bcf90879e919582d2c8a
4
+ data.tar.gz: 4d803999344f36f1ebb273a2ae709c86c25a959664670b65d9dc2e1a917a0c7c
5
5
  SHA512:
6
- metadata.gz: aac18eac4a492ef30715eef4a53b2b208419bc36964bd9796567e566eb70c81fb8fa48c07817e9fa751cffb6ecf4f8c74aa036346745978ebdfde50263180ae2
7
- data.tar.gz: 066610d585cb5b3cee26d9fa06616f983c592daab5490ef36e6bec16c0cf8ebd4106605561af6fc94d7fcf98cad4fd81ddb4cbc80ea5b0608b1bb0791ae3b2d3
6
+ metadata.gz: 81d839d32390bcedcf7b9bb4713ef3afa7f552b66d8b6a6c17db8e477eaa852b5067188708fd46e537cad86d7724ab2d5d61d9c0f14ea319ffb6c5178a6f520d
7
+ data.tar.gz: 677fe4485865e60148bf73821f67ec51b1e0a8e85cf89834ff05323acbf9acc905e8c2f91b31b10a915927a9e7dd1eff36c2446f33ffaf53aa987fcd8e012c3f
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-cognitoidentity/customizations'
45
47
  # @service
46
48
  module Aws::CognitoIdentity
47
49
 
48
- GEM_VERSION = '1.19.0'
50
+ GEM_VERSION = '1.24.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:cognitoidentity)
32
35
  module Aws::CognitoIdentity
33
36
  # An API client for CognitoIdentity. To construct a client, you need to configure a `:region` and `:credentials`.
34
37
  #
35
- # client = Aws::CognitoIdentity::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
38
+ # client = Aws::CognitoIdentity::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
40
43
  #
41
44
  # For details on configuring region and credentials see
42
45
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -69,6 +72,7 @@ module Aws::CognitoIdentity
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -105,7 +109,7 @@ module Aws::CognitoIdentity
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -161,7 +165,7 @@ module Aws::CognitoIdentity
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::CognitoIdentity
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -229,15 +233,19 @@ module Aws::CognitoIdentity
229
233
  #
230
234
  # @option options [String] :retry_mode ("legacy")
231
235
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
236
+ #
237
+ # * `legacy` - The pre-existing retry behavior. This is default value if
238
+ # no retry mode is provided.
239
+ #
240
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
241
+ # This includes support for retry quotas, which limit the number of
242
+ # unsuccessful retries a client can make.
243
+ #
244
+ # * `adaptive` - An experimental retry mode that includes all the
245
+ # functionality of `standard` mode along with automatic client side
246
+ # throttling. This is a provisional mode that may change behavior
247
+ # in the future.
248
+ #
241
249
  #
242
250
  # @option options [String] :secret_access_key
243
251
  #
@@ -275,8 +283,7 @@ module Aws::CognitoIdentity
275
283
  #
276
284
  # @option options [Integer] :http_read_timeout (60) The default
277
285
  # number of seconds to wait for response data. This value can
278
- # safely be set
279
- # per-request on the session yielded by {#session_for}.
286
+ # safely be set per-request on the session.
280
287
  #
281
288
  # @option options [Float] :http_idle_timeout (5) The number of
282
289
  # seconds a connection is allowed to sit idle before it is
@@ -288,7 +295,7 @@ module Aws::CognitoIdentity
288
295
  # request body. This option has no effect unless the request has
289
296
  # "Expect" header set to "100-continue". Defaults to `nil` which
290
297
  # disables this behaviour. This value can safely be set per
291
- # request on the session yielded by {#session_for}.
298
+ # request on the session.
292
299
  #
293
300
  # @option options [Boolean] :http_wire_trace (false) When `true`,
294
301
  # HTTP debug output will be sent to the `:logger`.
@@ -1486,7 +1493,7 @@ module Aws::CognitoIdentity
1486
1493
  params: params,
1487
1494
  config: config)
1488
1495
  context[:gem_name] = 'aws-sdk-cognitoidentity'
1489
- context[:gem_version] = '1.19.0'
1496
+ context[:gem_version] = '1.24.0'
1490
1497
  Seahorse::Client::Request.new(handlers, context)
1491
1498
  end
1492
1499
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,7 +1,3 @@
1
- # WARNING ABOUT GENERATED CODE
2
- #
3
- # This file is generated. See the contributing for info on making contributions:
4
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
- #
6
- # WARNING ABOUT GENERATED CODE
1
+ # frozen_string_literal: true
7
2
 
3
+ require 'aws-sdk-cognitoidentity/customizations/cognito_identity_credentials'
@@ -0,0 +1,134 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'set'
4
+ require 'securerandom'
5
+ require 'base64'
6
+
7
+ module Aws
8
+ module CognitoIdentity
9
+ # An auto-refreshing credential provider that
10
+ # represents credentials retrieved from STS Web Identity Federation using
11
+ # the Amazon Cognito Identity service.
12
+ #
13
+ # This provider gets credentials using the
14
+ # {Client.get_credentials_for_identity} service operation, which
15
+ # requires either an `identity_id` or an `identity_pool_id` (Amazon Cognito
16
+ # Identity Pool ID), which is used to call {Client.get_id} to
17
+ # obtain an `identity_id` automatically.
18
+ #
19
+ # In addition, if this credential provider is used to provide authenticated
20
+ # login, the `logins` map may be set to the tokens provided by the
21
+ # respective identity providers. See {#initialize} for an example on
22
+ # creating a credentials object with proper property values.
23
+ #
24
+ # ## Refreshing Credentials from Identity Service
25
+ #
26
+ # The CognitoIdentityCredentials will auto-refresh the AWS credentials from
27
+ # Cognito. In addition to AWS credentials expiring after a given amount of
28
+ # time, the login token from the identity provider will also expire.
29
+ # Once this token expires, it will not be usable to refresh AWS credentials,
30
+ # and another token will be needed. The SDK does not manage refreshing of
31
+ # the token value, but this can be done through a "refresh token"
32
+ # supported by most identity providers. Consult the documentation for
33
+ # the identity provider for refreshing tokens. Once the refreshed token is
34
+ # acquired, you should make sure to update this new token in the
35
+ # CognitoIdentityCredentials object's {logins} property. The following
36
+ # code will update the WebIdentityToken, assuming you have retrieved
37
+ # an updated token from the identity provider:
38
+ #
39
+ # AWS.config.credentials.logins['graph.facebook.com'] = updatedToken;
40
+ # AWS.config.credentials.refresh! # required only if authentication state has changed
41
+ #
42
+ # The CognitoIdentityCredentials also provides a `before_refresh` callback
43
+ # that can be used to help manage refreshing identity provider tokens.
44
+ # `before_refresh` is called when AWS credentials are required and need
45
+ # to be refreshed and it has access to the CognitoIdentityCredentials object.
46
+ class CognitoIdentityCredentials
47
+
48
+ include CredentialProvider
49
+ include RefreshingCredentials
50
+
51
+ # @param [Hash] options
52
+ # @option options [String] :identity_id the Cognito identity_id. Required
53
+ # unless identity_pool_id is given. A unique
54
+ # identifier in the format REGION:GUID
55
+ #
56
+ # @option options [String] :identity_pool_id Required unless identity_id
57
+ # is provided. A Amazon Cognito
58
+ # Identity Pool ID)in the format REGION:GUID.
59
+ #
60
+ # @option options [Hash<String,String>] :logins A set of optional
61
+ # name-value pairs that map provider names to provider tokens.
62
+ # The name-value pair will follow the syntax
63
+ # "provider_name": "provider_user_identifier".
64
+ #
65
+ # @option options [String] :custom_role_arn The Amazon Resource
66
+ # Name (ARN) of the role to be assumed when multiple roles were received
67
+ # in the token from the identity provider. For example, a SAML-based
68
+ # identity provider. This parameter is optional for identity providers
69
+ # that do not support role customization.
70
+ #
71
+ # @option options [Callable] before_refresh Proc called before
72
+ # credentials are refreshed from Cognito. Useful for updating logins/
73
+ # auth tokens. `before_refresh` is called when AWS credentials are
74
+ # required and need to be refreshed. Login tokens can be refreshed using
75
+ # the following example:
76
+ #
77
+ # before_refresh = Proc.new do |cognito_credentials| do
78
+ # cognito_credentials.logins['graph.facebook.com'] = update_token
79
+ # end
80
+ #
81
+ # @option options [STS::CognitoIdentity] :client Optional CognitoIdentity
82
+ # client. If not provided, a client will be constructed.
83
+ def initialize(options = {})
84
+ @identity_pool_id = options.delete(:identity_pool_id)
85
+ @identity_id = options.delete(:identity_id)
86
+ @custom_role_arn = options.delete(:custom_role_arn)
87
+ @logins = options.delete(:logins) || {}
88
+ @before_refresh = options.delete(:before_refresh)
89
+
90
+ if !@identity_pool_id && !@identity_id
91
+ raise ArgumentError,
92
+ 'Must provide either identity_pool_id or identity_id'
93
+ end
94
+
95
+ @client = options[:client] || CognitoIdentity::Client.new(
96
+ options.merge(credentials: false)
97
+ )
98
+ super
99
+ end
100
+
101
+ # @return [CognitoIdentity::Client]
102
+ attr_reader :client
103
+
104
+ # @return [Hash<String,String>]
105
+ attr_accessor :logins
106
+
107
+ # @return [String]
108
+ def identity_id
109
+ @identity_id ||= @client
110
+ .get_id(identity_pool_id: @identity_pool_id)
111
+ .identity_id
112
+ end
113
+
114
+ private
115
+
116
+ def refresh
117
+ @before_refresh.call(self) if @before_refresh
118
+
119
+ resp = @client.get_credentials_for_identity(
120
+ identity_id: identity_id,
121
+ custom_role_arn: @custom_role_arn
122
+ )
123
+
124
+ @credentials = Credentials.new(
125
+ resp.credentials.access_key_id,
126
+ resp.credentials.secret_key,
127
+ resp.credentials.session_token
128
+ )
129
+ @expiration = resp.credentials.expiration
130
+ end
131
+ end
132
+ end
133
+ end
134
+
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::CognitoIdentity
9
- # This class provides a resource oriented interface for CognitoIdentity.
10
- # To create a resource object:
11
- # resource = Aws::CognitoIdentity::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::CognitoIdentity::Client.new(region: 'us-west-2')
15
- # resource = Aws::CognitoIdentity::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -48,6 +50,7 @@ module Aws::CognitoIdentity
48
50
  :provider_name,
49
51
  :client_id,
50
52
  :server_side_token_check)
53
+ SENSITIVE = []
51
54
  include Aws::Structure
52
55
  end
53
56
 
@@ -61,6 +64,7 @@ module Aws::CognitoIdentity
61
64
  #
62
65
  class ConcurrentModificationException < Struct.new(
63
66
  :message)
67
+ SENSITIVE = []
64
68
  include Aws::Structure
65
69
  end
66
70
 
@@ -155,6 +159,7 @@ module Aws::CognitoIdentity
155
159
  :cognito_identity_providers,
156
160
  :saml_provider_arns,
157
161
  :identity_pool_tags)
162
+ SENSITIVE = []
158
163
  include Aws::Structure
159
164
  end
160
165
 
@@ -183,6 +188,7 @@ module Aws::CognitoIdentity
183
188
  :secret_key,
184
189
  :session_token,
185
190
  :expiration)
191
+ SENSITIVE = []
186
192
  include Aws::Structure
187
193
  end
188
194
 
@@ -203,6 +209,7 @@ module Aws::CognitoIdentity
203
209
  #
204
210
  class DeleteIdentitiesInput < Struct.new(
205
211
  :identity_ids_to_delete)
212
+ SENSITIVE = []
206
213
  include Aws::Structure
207
214
  end
208
215
 
@@ -217,6 +224,7 @@ module Aws::CognitoIdentity
217
224
  #
218
225
  class DeleteIdentitiesResponse < Struct.new(
219
226
  :unprocessed_identity_ids)
227
+ SENSITIVE = []
220
228
  include Aws::Structure
221
229
  end
222
230
 
@@ -237,6 +245,7 @@ module Aws::CognitoIdentity
237
245
  #
238
246
  class DeleteIdentityPoolInput < Struct.new(
239
247
  :identity_pool_id)
248
+ SENSITIVE = []
240
249
  include Aws::Structure
241
250
  end
242
251
 
@@ -257,6 +266,7 @@ module Aws::CognitoIdentity
257
266
  #
258
267
  class DescribeIdentityInput < Struct.new(
259
268
  :identity_id)
269
+ SENSITIVE = []
260
270
  include Aws::Structure
261
271
  end
262
272
 
@@ -277,6 +287,7 @@ module Aws::CognitoIdentity
277
287
  #
278
288
  class DescribeIdentityPoolInput < Struct.new(
279
289
  :identity_pool_id)
290
+ SENSITIVE = []
280
291
  include Aws::Structure
281
292
  end
282
293
 
@@ -291,6 +302,7 @@ module Aws::CognitoIdentity
291
302
  #
292
303
  class DeveloperUserAlreadyRegisteredException < Struct.new(
293
304
  :message)
305
+ SENSITIVE = []
294
306
  include Aws::Structure
295
307
  end
296
308
 
@@ -305,6 +317,7 @@ module Aws::CognitoIdentity
305
317
  #
306
318
  class ExternalServiceException < Struct.new(
307
319
  :message)
320
+ SENSITIVE = []
308
321
  include Aws::Structure
309
322
  end
310
323
 
@@ -357,6 +370,7 @@ module Aws::CognitoIdentity
357
370
  :identity_id,
358
371
  :logins,
359
372
  :custom_role_arn)
373
+ SENSITIVE = []
360
374
  include Aws::Structure
361
375
  end
362
376
 
@@ -376,6 +390,7 @@ module Aws::CognitoIdentity
376
390
  class GetCredentialsForIdentityResponse < Struct.new(
377
391
  :identity_id,
378
392
  :credentials)
393
+ SENSITIVE = []
379
394
  include Aws::Structure
380
395
  end
381
396
 
@@ -427,6 +442,7 @@ module Aws::CognitoIdentity
427
442
  :account_id,
428
443
  :identity_pool_id,
429
444
  :logins)
445
+ SENSITIVE = []
430
446
  include Aws::Structure
431
447
  end
432
448
 
@@ -440,6 +456,7 @@ module Aws::CognitoIdentity
440
456
  #
441
457
  class GetIdResponse < Struct.new(
442
458
  :identity_id)
459
+ SENSITIVE = []
443
460
  include Aws::Structure
444
461
  end
445
462
 
@@ -460,6 +477,7 @@ module Aws::CognitoIdentity
460
477
  #
461
478
  class GetIdentityPoolRolesInput < Struct.new(
462
479
  :identity_pool_id)
480
+ SENSITIVE = []
463
481
  include Aws::Structure
464
482
  end
465
483
 
@@ -487,6 +505,7 @@ module Aws::CognitoIdentity
487
505
  :identity_pool_id,
488
506
  :roles,
489
507
  :role_mappings)
508
+ SENSITIVE = []
490
509
  include Aws::Structure
491
510
  end
492
511
 
@@ -549,6 +568,7 @@ module Aws::CognitoIdentity
549
568
  :identity_id,
550
569
  :logins,
551
570
  :token_duration)
571
+ SENSITIVE = []
552
572
  include Aws::Structure
553
573
  end
554
574
 
@@ -568,6 +588,7 @@ module Aws::CognitoIdentity
568
588
  class GetOpenIdTokenForDeveloperIdentityResponse < Struct.new(
569
589
  :identity_id,
570
590
  :token)
591
+ SENSITIVE = []
571
592
  include Aws::Structure
572
593
  end
573
594
 
@@ -600,6 +621,7 @@ module Aws::CognitoIdentity
600
621
  class GetOpenIdTokenInput < Struct.new(
601
622
  :identity_id,
602
623
  :logins)
624
+ SENSITIVE = []
603
625
  include Aws::Structure
604
626
  end
605
627
 
@@ -619,6 +641,7 @@ module Aws::CognitoIdentity
619
641
  class GetOpenIdTokenResponse < Struct.new(
620
642
  :identity_id,
621
643
  :token)
644
+ SENSITIVE = []
622
645
  include Aws::Structure
623
646
  end
624
647
 
@@ -647,6 +670,7 @@ module Aws::CognitoIdentity
647
670
  :logins,
648
671
  :creation_date,
649
672
  :last_modified_date)
673
+ SENSITIVE = []
650
674
  include Aws::Structure
651
675
  end
652
676
 
@@ -741,6 +765,7 @@ module Aws::CognitoIdentity
741
765
  :cognito_identity_providers,
742
766
  :saml_provider_arns,
743
767
  :identity_pool_tags)
768
+ SENSITIVE = []
744
769
  include Aws::Structure
745
770
  end
746
771
 
@@ -759,6 +784,7 @@ module Aws::CognitoIdentity
759
784
  class IdentityPoolShortDescription < Struct.new(
760
785
  :identity_pool_id,
761
786
  :identity_pool_name)
787
+ SENSITIVE = []
762
788
  include Aws::Structure
763
789
  end
764
790
 
@@ -773,6 +799,7 @@ module Aws::CognitoIdentity
773
799
  #
774
800
  class InternalErrorException < Struct.new(
775
801
  :message)
802
+ SENSITIVE = []
776
803
  include Aws::Structure
777
804
  end
778
805
 
@@ -788,6 +815,7 @@ module Aws::CognitoIdentity
788
815
  #
789
816
  class InvalidIdentityPoolConfigurationException < Struct.new(
790
817
  :message)
818
+ SENSITIVE = []
791
819
  include Aws::Structure
792
820
  end
793
821
 
@@ -801,6 +829,7 @@ module Aws::CognitoIdentity
801
829
  #
802
830
  class InvalidParameterException < Struct.new(
803
831
  :message)
832
+ SENSITIVE = []
804
833
  include Aws::Structure
805
834
  end
806
835
 
@@ -815,6 +844,7 @@ module Aws::CognitoIdentity
815
844
  #
816
845
  class LimitExceededException < Struct.new(
817
846
  :message)
847
+ SENSITIVE = []
818
848
  include Aws::Structure
819
849
  end
820
850
 
@@ -855,6 +885,7 @@ module Aws::CognitoIdentity
855
885
  :max_results,
856
886
  :next_token,
857
887
  :hide_disabled)
888
+ SENSITIVE = []
858
889
  include Aws::Structure
859
890
  end
860
891
 
@@ -878,6 +909,7 @@ module Aws::CognitoIdentity
878
909
  :identity_pool_id,
879
910
  :identities,
880
911
  :next_token)
912
+ SENSITIVE = []
881
913
  include Aws::Structure
882
914
  end
883
915
 
@@ -904,6 +936,7 @@ module Aws::CognitoIdentity
904
936
  class ListIdentityPoolsInput < Struct.new(
905
937
  :max_results,
906
938
  :next_token)
939
+ SENSITIVE = []
907
940
  include Aws::Structure
908
941
  end
909
942
 
@@ -922,6 +955,7 @@ module Aws::CognitoIdentity
922
955
  class ListIdentityPoolsResponse < Struct.new(
923
956
  :identity_pools,
924
957
  :next_token)
958
+ SENSITIVE = []
925
959
  include Aws::Structure
926
960
  end
927
961
 
@@ -941,6 +975,7 @@ module Aws::CognitoIdentity
941
975
  #
942
976
  class ListTagsForResourceInput < Struct.new(
943
977
  :resource_arn)
978
+ SENSITIVE = []
944
979
  include Aws::Structure
945
980
  end
946
981
 
@@ -952,6 +987,7 @@ module Aws::CognitoIdentity
952
987
  #
953
988
  class ListTagsForResourceResponse < Struct.new(
954
989
  :tags)
990
+ SENSITIVE = []
955
991
  include Aws::Structure
956
992
  end
957
993
 
@@ -1004,6 +1040,7 @@ module Aws::CognitoIdentity
1004
1040
  :developer_user_identifier,
1005
1041
  :max_results,
1006
1042
  :next_token)
1043
+ SENSITIVE = []
1007
1044
  include Aws::Structure
1008
1045
  end
1009
1046
 
@@ -1035,6 +1072,7 @@ module Aws::CognitoIdentity
1035
1072
  :identity_id,
1036
1073
  :developer_user_identifier_list,
1037
1074
  :next_token)
1075
+ SENSITIVE = []
1038
1076
  include Aws::Structure
1039
1077
  end
1040
1078
 
@@ -1077,6 +1115,7 @@ module Aws::CognitoIdentity
1077
1115
  :match_type,
1078
1116
  :value,
1079
1117
  :role_arn)
1118
+ SENSITIVE = []
1080
1119
  include Aws::Structure
1081
1120
  end
1082
1121
 
@@ -1122,6 +1161,7 @@ module Aws::CognitoIdentity
1122
1161
  :destination_user_identifier,
1123
1162
  :developer_provider_name,
1124
1163
  :identity_pool_id)
1164
+ SENSITIVE = []
1125
1165
  include Aws::Structure
1126
1166
  end
1127
1167
 
@@ -1136,6 +1176,7 @@ module Aws::CognitoIdentity
1136
1176
  #
1137
1177
  class MergeDeveloperIdentitiesResponse < Struct.new(
1138
1178
  :identity_id)
1179
+ SENSITIVE = []
1139
1180
  include Aws::Structure
1140
1181
  end
1141
1182
 
@@ -1149,6 +1190,7 @@ module Aws::CognitoIdentity
1149
1190
  #
1150
1191
  class NotAuthorizedException < Struct.new(
1151
1192
  :message)
1193
+ SENSITIVE = []
1152
1194
  include Aws::Structure
1153
1195
  end
1154
1196
 
@@ -1163,6 +1205,7 @@ module Aws::CognitoIdentity
1163
1205
  #
1164
1206
  class ResourceConflictException < Struct.new(
1165
1207
  :message)
1208
+ SENSITIVE = []
1166
1209
  include Aws::Structure
1167
1210
  end
1168
1211
 
@@ -1177,6 +1220,7 @@ module Aws::CognitoIdentity
1177
1220
  #
1178
1221
  class ResourceNotFoundException < Struct.new(
1179
1222
  :message)
1223
+ SENSITIVE = []
1180
1224
  include Aws::Structure
1181
1225
  end
1182
1226
 
@@ -1230,6 +1274,7 @@ module Aws::CognitoIdentity
1230
1274
  :type,
1231
1275
  :ambiguous_role_resolution,
1232
1276
  :rules_configuration)
1277
+ SENSITIVE = []
1233
1278
  include Aws::Structure
1234
1279
  end
1235
1280
 
@@ -1261,6 +1306,7 @@ module Aws::CognitoIdentity
1261
1306
  #
1262
1307
  class RulesConfigurationType < Struct.new(
1263
1308
  :rules)
1309
+ SENSITIVE = []
1264
1310
  include Aws::Structure
1265
1311
  end
1266
1312
 
@@ -1317,6 +1363,7 @@ module Aws::CognitoIdentity
1317
1363
  :identity_pool_id,
1318
1364
  :roles,
1319
1365
  :role_mappings)
1366
+ SENSITIVE = []
1320
1367
  include Aws::Structure
1321
1368
  end
1322
1369
 
@@ -1344,6 +1391,7 @@ module Aws::CognitoIdentity
1344
1391
  class TagResourceInput < Struct.new(
1345
1392
  :resource_arn,
1346
1393
  :tags)
1394
+ SENSITIVE = []
1347
1395
  include Aws::Structure
1348
1396
  end
1349
1397
 
@@ -1361,6 +1409,7 @@ module Aws::CognitoIdentity
1361
1409
  #
1362
1410
  class TooManyRequestsException < Struct.new(
1363
1411
  :message)
1412
+ SENSITIVE = []
1364
1413
  include Aws::Structure
1365
1414
  end
1366
1415
 
@@ -1400,6 +1449,7 @@ module Aws::CognitoIdentity
1400
1449
  :identity_pool_id,
1401
1450
  :developer_provider_name,
1402
1451
  :developer_user_identifier)
1452
+ SENSITIVE = []
1403
1453
  include Aws::Structure
1404
1454
  end
1405
1455
 
@@ -1435,6 +1485,7 @@ module Aws::CognitoIdentity
1435
1485
  :identity_id,
1436
1486
  :logins,
1437
1487
  :logins_to_remove)
1488
+ SENSITIVE = []
1438
1489
  include Aws::Structure
1439
1490
  end
1440
1491
 
@@ -1454,6 +1505,7 @@ module Aws::CognitoIdentity
1454
1505
  class UnprocessedIdentityId < Struct.new(
1455
1506
  :identity_id,
1456
1507
  :error_code)
1508
+ SENSITIVE = []
1457
1509
  include Aws::Structure
1458
1510
  end
1459
1511
 
@@ -1479,6 +1531,7 @@ module Aws::CognitoIdentity
1479
1531
  class UntagResourceInput < Struct.new(
1480
1532
  :resource_arn,
1481
1533
  :tag_keys)
1534
+ SENSITIVE = []
1482
1535
  include Aws::Structure
1483
1536
  end
1484
1537
 
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.19.0
4
+ version: 1.24.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: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-06-23 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -56,6 +56,7 @@ files:
56
56
  - lib/aws-sdk-cognitoidentity/client.rb
57
57
  - lib/aws-sdk-cognitoidentity/client_api.rb
58
58
  - lib/aws-sdk-cognitoidentity/customizations.rb
59
+ - lib/aws-sdk-cognitoidentity/customizations/cognito_identity_credentials.rb
59
60
  - lib/aws-sdk-cognitoidentity/errors.rb
60
61
  - lib/aws-sdk-cognitoidentity/resource.rb
61
62
  - lib/aws-sdk-cognitoidentity/types.rb
@@ -81,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
82
  version: '0'
82
83
  requirements: []
83
84
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
85
+ rubygems_version: 2.7.6.2
85
86
  signing_key:
86
87
  specification_version: 4
87
88
  summary: AWS SDK for Ruby - Amazon Cognito Identity