aws-sdk-cognitoidentity 1.17.0 → 1.18.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
  SHA1:
3
- metadata.gz: 03fef6e9604113455535566c9b980e2e13838ae4
4
- data.tar.gz: fc1ab18c67637b852a6a2c41ab89fe458d61bf35
3
+ metadata.gz: 2a929492c6fe75beb54608d0a0709e8381c02216
4
+ data.tar.gz: f87af3b70a55459cc7272042ad9d35e09611a4a8
5
5
  SHA512:
6
- metadata.gz: c446c1d5ad9834bf822f5baa7e9914d6f1fb3df7221a49162d37f106401332391cda15e1eb5e1c51820e82779d098c6eda3fe796b59baac955f5246304ed57a2
7
- data.tar.gz: '08e715731148063b68f2fe26ce14fffaccfad893b621ead0d6b6b6796caf49399525c817a07a691b36ff121a1c12f4d54fe6b728d47d0bc1dc2c0a44ce633741'
6
+ metadata.gz: 0e0966f0ac702b7d2d535287d60ea4b6e8a51d6ef7535ebb6e57b427db782c7b069d08c20b3a30b95ba1853cab3ec9a8fd7d5c517fba937b3a3c75b3e4475430
7
+ data.tar.gz: 2373c7ae205f7aae0b14670aa3923eca243239e20382a85b710fc0ff21d91a6e113f4236f75eda4dd94fccd2e0253708d69fa3767f437c69921e86992c38e468
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cognitoidentity/customizations'
42
42
  # @service
43
43
  module Aws::CognitoIdentity
44
44
 
45
- GEM_VERSION = '1.17.0'
45
+ GEM_VERSION = '1.18.0'
46
46
 
47
47
  end
@@ -265,9 +265,8 @@ module Aws::CognitoIdentity
265
265
  # @!group API Operations
266
266
 
267
267
  # Creates a new identity pool. The identity pool is a store of user
268
- # identity information that is specific to your AWS account. The limit
269
- # on identity pools is 60 per account. The keys for
270
- # `SupportedLoginProviders` are as follows:
268
+ # identity information that is specific to your AWS account. The keys
269
+ # for `SupportedLoginProviders` are as follows:
271
270
  #
272
271
  # * Facebook: `graph.facebook.com`
273
272
  #
@@ -287,6 +286,15 @@ module Aws::CognitoIdentity
287
286
  # @option params [required, Boolean] :allow_unauthenticated_identities
288
287
  # TRUE if the identity pool supports unauthenticated logins.
289
288
  #
289
+ # @option params [Boolean] :allow_classic_flow
290
+ # Enables or disables the Basic (Classic) authentication flow. For more
291
+ # information, see [Identity Pools (Federated Identities) Authentication
292
+ # Flow][1] in the *Amazon Cognito Developer Guide*.
293
+ #
294
+ #
295
+ #
296
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html
297
+ #
290
298
  # @option params [Hash<String,String>] :supported_login_providers
291
299
  # Optional key:value pairs mapping provider names to provider app IDs.
292
300
  #
@@ -320,6 +328,7 @@ module Aws::CognitoIdentity
320
328
  # * {Types::IdentityPool#identity_pool_id #identity_pool_id} => String
321
329
  # * {Types::IdentityPool#identity_pool_name #identity_pool_name} => String
322
330
  # * {Types::IdentityPool#allow_unauthenticated_identities #allow_unauthenticated_identities} => Boolean
331
+ # * {Types::IdentityPool#allow_classic_flow #allow_classic_flow} => Boolean
323
332
  # * {Types::IdentityPool#supported_login_providers #supported_login_providers} => Hash&lt;String,String&gt;
324
333
  # * {Types::IdentityPool#developer_provider_name #developer_provider_name} => String
325
334
  # * {Types::IdentityPool#open_id_connect_provider_arns #open_id_connect_provider_arns} => Array&lt;String&gt;
@@ -332,6 +341,7 @@ module Aws::CognitoIdentity
332
341
  # resp = client.create_identity_pool({
333
342
  # identity_pool_name: "IdentityPoolName", # required
334
343
  # allow_unauthenticated_identities: false, # required
344
+ # allow_classic_flow: false,
335
345
  # supported_login_providers: {
336
346
  # "IdentityProviderName" => "IdentityProviderId",
337
347
  # },
@@ -355,6 +365,7 @@ module Aws::CognitoIdentity
355
365
  # resp.identity_pool_id #=> String
356
366
  # resp.identity_pool_name #=> String
357
367
  # resp.allow_unauthenticated_identities #=> Boolean
368
+ # resp.allow_classic_flow #=> Boolean
358
369
  # resp.supported_login_providers #=> Hash
359
370
  # resp.supported_login_providers["IdentityProviderName"] #=> String
360
371
  # resp.developer_provider_name #=> String
@@ -487,6 +498,7 @@ module Aws::CognitoIdentity
487
498
  # * {Types::IdentityPool#identity_pool_id #identity_pool_id} => String
488
499
  # * {Types::IdentityPool#identity_pool_name #identity_pool_name} => String
489
500
  # * {Types::IdentityPool#allow_unauthenticated_identities #allow_unauthenticated_identities} => Boolean
501
+ # * {Types::IdentityPool#allow_classic_flow #allow_classic_flow} => Boolean
490
502
  # * {Types::IdentityPool#supported_login_providers #supported_login_providers} => Hash&lt;String,String&gt;
491
503
  # * {Types::IdentityPool#developer_provider_name #developer_provider_name} => String
492
504
  # * {Types::IdentityPool#open_id_connect_provider_arns #open_id_connect_provider_arns} => Array&lt;String&gt;
@@ -505,6 +517,7 @@ module Aws::CognitoIdentity
505
517
  # resp.identity_pool_id #=> String
506
518
  # resp.identity_pool_name #=> String
507
519
  # resp.allow_unauthenticated_identities #=> Boolean
520
+ # resp.allow_classic_flow #=> Boolean
508
521
  # resp.supported_login_providers #=> Hash
509
522
  # resp.supported_login_providers["IdentityProviderName"] #=> String
510
523
  # resp.developer_provider_name #=> String
@@ -787,6 +800,11 @@ module Aws::CognitoIdentity
787
800
  # implications: an attacker could use a leaked token to access your AWS
788
801
  # resources for the token's duration.
789
802
  #
803
+ # <note markdown="1"> Please provide for a small grace period, usually no more than 5
804
+ # minutes, to account for clock skew.
805
+ #
806
+ # </note>
807
+ #
790
808
  # @return [Types::GetOpenIdTokenForDeveloperIdentityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
791
809
  #
792
810
  # * {Types::GetOpenIdTokenForDeveloperIdentityResponse#identity_id #identity_id} => String
@@ -1163,7 +1181,7 @@ module Aws::CognitoIdentity
1163
1181
  # The Amazon Resource Name (ARN) of the identity pool to assign the tags
1164
1182
  # to.
1165
1183
  #
1166
- # @option params [Hash<String,String>] :tags
1184
+ # @option params [required, Hash<String,String>] :tags
1167
1185
  # The tags to assign to the identity pool.
1168
1186
  #
1169
1187
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -1172,7 +1190,7 @@ module Aws::CognitoIdentity
1172
1190
  #
1173
1191
  # resp = client.tag_resource({
1174
1192
  # resource_arn: "ARNString", # required
1175
- # tags: {
1193
+ # tags: { # required
1176
1194
  # "TagKeysType" => "TagValueType",
1177
1195
  # },
1178
1196
  # })
@@ -1272,7 +1290,7 @@ module Aws::CognitoIdentity
1272
1290
  # The Amazon Resource Name (ARN) of the identity pool that the tags are
1273
1291
  # assigned to.
1274
1292
  #
1275
- # @option params [Array<String>] :tag_keys
1293
+ # @option params [required, Array<String>] :tag_keys
1276
1294
  # The keys of the tags to remove from the user pool.
1277
1295
  #
1278
1296
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -1281,7 +1299,7 @@ module Aws::CognitoIdentity
1281
1299
  #
1282
1300
  # resp = client.untag_resource({
1283
1301
  # resource_arn: "ARNString", # required
1284
- # tag_keys: ["TagKeysType"],
1302
+ # tag_keys: ["TagKeysType"], # required
1285
1303
  # })
1286
1304
  #
1287
1305
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UntagResource AWS API Documentation
@@ -1306,6 +1324,15 @@ module Aws::CognitoIdentity
1306
1324
  # @option params [required, Boolean] :allow_unauthenticated_identities
1307
1325
  # TRUE if the identity pool supports unauthenticated logins.
1308
1326
  #
1327
+ # @option params [Boolean] :allow_classic_flow
1328
+ # Enables or disables the Basic (Classic) authentication flow. For more
1329
+ # information, see [Identity Pools (Federated Identities) Authentication
1330
+ # Flow][1] in the *Amazon Cognito Developer Guide*.
1331
+ #
1332
+ #
1333
+ #
1334
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html
1335
+ #
1309
1336
  # @option params [Hash<String,String>] :supported_login_providers
1310
1337
  # Optional key:value pairs mapping provider names to provider app IDs.
1311
1338
  #
@@ -1333,6 +1360,7 @@ module Aws::CognitoIdentity
1333
1360
  # * {Types::IdentityPool#identity_pool_id #identity_pool_id} => String
1334
1361
  # * {Types::IdentityPool#identity_pool_name #identity_pool_name} => String
1335
1362
  # * {Types::IdentityPool#allow_unauthenticated_identities #allow_unauthenticated_identities} => Boolean
1363
+ # * {Types::IdentityPool#allow_classic_flow #allow_classic_flow} => Boolean
1336
1364
  # * {Types::IdentityPool#supported_login_providers #supported_login_providers} => Hash&lt;String,String&gt;
1337
1365
  # * {Types::IdentityPool#developer_provider_name #developer_provider_name} => String
1338
1366
  # * {Types::IdentityPool#open_id_connect_provider_arns #open_id_connect_provider_arns} => Array&lt;String&gt;
@@ -1346,6 +1374,7 @@ module Aws::CognitoIdentity
1346
1374
  # identity_pool_id: "IdentityPoolId", # required
1347
1375
  # identity_pool_name: "IdentityPoolName", # required
1348
1376
  # allow_unauthenticated_identities: false, # required
1377
+ # allow_classic_flow: false,
1349
1378
  # supported_login_providers: {
1350
1379
  # "IdentityProviderName" => "IdentityProviderId",
1351
1380
  # },
@@ -1369,6 +1398,7 @@ module Aws::CognitoIdentity
1369
1398
  # resp.identity_pool_id #=> String
1370
1399
  # resp.identity_pool_name #=> String
1371
1400
  # resp.allow_unauthenticated_identities #=> Boolean
1401
+ # resp.allow_classic_flow #=> Boolean
1372
1402
  # resp.supported_login_providers #=> Hash
1373
1403
  # resp.supported_login_providers["IdentityProviderName"] #=> String
1374
1404
  # resp.developer_provider_name #=> String
@@ -1405,7 +1435,7 @@ module Aws::CognitoIdentity
1405
1435
  params: params,
1406
1436
  config: config)
1407
1437
  context[:gem_name] = 'aws-sdk-cognitoidentity'
1408
- context[:gem_version] = '1.17.0'
1438
+ context[:gem_version] = '1.18.0'
1409
1439
  Seahorse::Client::Request.new(handlers, context)
1410
1440
  end
1411
1441
 
@@ -17,6 +17,7 @@ module Aws::CognitoIdentity
17
17
  AmbiguousRoleResolutionType = Shapes::StringShape.new(name: 'AmbiguousRoleResolutionType')
18
18
  ClaimName = Shapes::StringShape.new(name: 'ClaimName')
19
19
  ClaimValue = Shapes::StringShape.new(name: 'ClaimValue')
20
+ ClassicFlow = Shapes::BooleanShape.new(name: 'ClassicFlow')
20
21
  CognitoIdentityProvider = Shapes::StructureShape.new(name: 'CognitoIdentityProvider')
21
22
  CognitoIdentityProviderClientId = Shapes::StringShape.new(name: 'CognitoIdentityProviderClientId')
22
23
  CognitoIdentityProviderList = Shapes::ListShape.new(name: 'CognitoIdentityProviderList')
@@ -126,6 +127,7 @@ module Aws::CognitoIdentity
126
127
 
127
128
  CreateIdentityPoolInput.add_member(:identity_pool_name, Shapes::ShapeRef.new(shape: IdentityPoolName, required: true, location_name: "IdentityPoolName"))
128
129
  CreateIdentityPoolInput.add_member(:allow_unauthenticated_identities, Shapes::ShapeRef.new(shape: IdentityPoolUnauthenticated, required: true, location_name: "AllowUnauthenticatedIdentities"))
130
+ CreateIdentityPoolInput.add_member(:allow_classic_flow, Shapes::ShapeRef.new(shape: ClassicFlow, location_name: "AllowClassicFlow"))
129
131
  CreateIdentityPoolInput.add_member(:supported_login_providers, Shapes::ShapeRef.new(shape: IdentityProviders, location_name: "SupportedLoginProviders"))
130
132
  CreateIdentityPoolInput.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, location_name: "DeveloperProviderName"))
131
133
  CreateIdentityPoolInput.add_member(:open_id_connect_provider_arns, Shapes::ShapeRef.new(shape: OIDCProviderList, location_name: "OpenIdConnectProviderARNs"))
@@ -219,6 +221,7 @@ module Aws::CognitoIdentity
219
221
  IdentityPool.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
220
222
  IdentityPool.add_member(:identity_pool_name, Shapes::ShapeRef.new(shape: IdentityPoolName, required: true, location_name: "IdentityPoolName"))
221
223
  IdentityPool.add_member(:allow_unauthenticated_identities, Shapes::ShapeRef.new(shape: IdentityPoolUnauthenticated, required: true, location_name: "AllowUnauthenticatedIdentities"))
224
+ IdentityPool.add_member(:allow_classic_flow, Shapes::ShapeRef.new(shape: ClassicFlow, location_name: "AllowClassicFlow"))
222
225
  IdentityPool.add_member(:supported_login_providers, Shapes::ShapeRef.new(shape: IdentityProviders, location_name: "SupportedLoginProviders"))
223
226
  IdentityPool.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, location_name: "DeveloperProviderName"))
224
227
  IdentityPool.add_member(:open_id_connect_provider_arns, Shapes::ShapeRef.new(shape: OIDCProviderList, location_name: "OpenIdConnectProviderARNs"))
@@ -345,7 +348,7 @@ module Aws::CognitoIdentity
345
348
  SetIdentityPoolRolesInput.struct_class = Types::SetIdentityPoolRolesInput
346
349
 
347
350
  TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARNString, required: true, location_name: "ResourceArn"))
348
- TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: IdentityPoolTagsType, location_name: "Tags"))
351
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: IdentityPoolTagsType, required: true, location_name: "Tags"))
349
352
  TagResourceInput.struct_class = Types::TagResourceInput
350
353
 
351
354
  TagResourceResponse.struct_class = Types::TagResourceResponse
@@ -371,7 +374,7 @@ module Aws::CognitoIdentity
371
374
  UnprocessedIdentityIdList.member = Shapes::ShapeRef.new(shape: UnprocessedIdentityId)
372
375
 
373
376
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARNString, required: true, location_name: "ResourceArn"))
374
- UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: IdentityPoolTagsListType, location_name: "TagKeys"))
377
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: IdentityPoolTagsListType, required: true, location_name: "TagKeys"))
375
378
  UntagResourceInput.struct_class = Types::UntagResourceInput
376
379
 
377
380
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
@@ -72,6 +72,7 @@ module Aws::CognitoIdentity
72
72
  # {
73
73
  # identity_pool_name: "IdentityPoolName", # required
74
74
  # allow_unauthenticated_identities: false, # required
75
+ # allow_classic_flow: false,
75
76
  # supported_login_providers: {
76
77
  # "IdentityProviderName" => "IdentityProviderId",
77
78
  # },
@@ -98,6 +99,16 @@ module Aws::CognitoIdentity
98
99
  # TRUE if the identity pool supports unauthenticated logins.
99
100
  # @return [Boolean]
100
101
  #
102
+ # @!attribute [rw] allow_classic_flow
103
+ # Enables or disables the Basic (Classic) authentication flow. For
104
+ # more information, see [Identity Pools (Federated Identities)
105
+ # Authentication Flow][1] in the *Amazon Cognito Developer Guide*.
106
+ #
107
+ #
108
+ #
109
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html
110
+ # @return [Boolean]
111
+ #
101
112
  # @!attribute [rw] supported_login_providers
102
113
  # Optional key:value pairs mapping provider names to provider app IDs.
103
114
  # @return [Hash<String,String>]
@@ -137,6 +148,7 @@ module Aws::CognitoIdentity
137
148
  class CreateIdentityPoolInput < Struct.new(
138
149
  :identity_pool_name,
139
150
  :allow_unauthenticated_identities,
151
+ :allow_classic_flow,
140
152
  :supported_login_providers,
141
153
  :developer_provider_name,
142
154
  :open_id_connect_provider_arns,
@@ -523,6 +535,11 @@ module Aws::CognitoIdentity
523
535
  # in setting the expiration time for a token, as there are significant
524
536
  # security implications: an attacker could use a leaked token to
525
537
  # access your AWS resources for the token's duration.
538
+ #
539
+ # <note markdown="1"> Please provide for a small grace period, usually no more than 5
540
+ # minutes, to account for clock skew.
541
+ #
542
+ # </note>
526
543
  # @return [Integer]
527
544
  #
528
545
  # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentityInput AWS API Documentation
@@ -642,6 +659,7 @@ module Aws::CognitoIdentity
642
659
  # identity_pool_id: "IdentityPoolId", # required
643
660
  # identity_pool_name: "IdentityPoolName", # required
644
661
  # allow_unauthenticated_identities: false, # required
662
+ # allow_classic_flow: false,
645
663
  # supported_login_providers: {
646
664
  # "IdentityProviderName" => "IdentityProviderId",
647
665
  # },
@@ -672,6 +690,16 @@ module Aws::CognitoIdentity
672
690
  # TRUE if the identity pool supports unauthenticated logins.
673
691
  # @return [Boolean]
674
692
  #
693
+ # @!attribute [rw] allow_classic_flow
694
+ # Enables or disables the Basic (Classic) authentication flow. For
695
+ # more information, see [Identity Pools (Federated Identities)
696
+ # Authentication Flow][1] in the *Amazon Cognito Developer Guide*.
697
+ #
698
+ #
699
+ #
700
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flow.html
701
+ # @return [Boolean]
702
+ #
675
703
  # @!attribute [rw] supported_login_providers
676
704
  # Optional key:value pairs mapping provider names to provider app IDs.
677
705
  # @return [Hash<String,String>]
@@ -706,6 +734,7 @@ module Aws::CognitoIdentity
706
734
  :identity_pool_id,
707
735
  :identity_pool_name,
708
736
  :allow_unauthenticated_identities,
737
+ :allow_classic_flow,
709
738
  :supported_login_providers,
710
739
  :developer_provider_name,
711
740
  :open_id_connect_provider_arns,
@@ -1296,7 +1325,7 @@ module Aws::CognitoIdentity
1296
1325
  #
1297
1326
  # {
1298
1327
  # resource_arn: "ARNString", # required
1299
- # tags: {
1328
+ # tags: { # required
1300
1329
  # "TagKeysType" => "TagValueType",
1301
1330
  # },
1302
1331
  # }
@@ -1433,7 +1462,7 @@ module Aws::CognitoIdentity
1433
1462
  #
1434
1463
  # {
1435
1464
  # resource_arn: "ARNString", # required
1436
- # tag_keys: ["TagKeysType"],
1465
+ # tag_keys: ["TagKeysType"], # required
1437
1466
  # }
1438
1467
  #
1439
1468
  # @!attribute [rw] resource_arn
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.17.0
4
+ version: 1.18.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: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2019-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core