aws-sdk-cognitoidentity 1.8.0 → 1.9.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/lib/aws-sdk-cognitoidentity.rb +1 -1
- data/lib/aws-sdk-cognitoidentity/client.rb +178 -15
- data/lib/aws-sdk-cognitoidentity/client_api.rb +76 -0
- data/lib/aws-sdk-cognitoidentity/types.rb +150 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69b9fdc803eb6dc83c59ae853cbb2d005e4c7724
|
4
|
+
data.tar.gz: a5ec02b9ef13243421575a5241ab41c3bd894324
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e28c32ee211377e30bef0a8e2fbe554e690c7f7f5890db6f5c8a6a449883f4c954f5711e685561c5731c33178396eb1f5334a63f01b379fc3340d41895bbc7b
|
7
|
+
data.tar.gz: 17127ae8c4ba42449202ceeed6e45d485a98c58d694d3651de92c65a426eb11cccb0525006792085bc33f0f5f001a7582696eaf9ee59cadcacf1f4735c13ebfc
|
@@ -255,12 +255,17 @@ module Aws::CognitoIdentity
|
|
255
255
|
# A list of OpendID Connect provider ARNs.
|
256
256
|
#
|
257
257
|
# @option params [Array<Types::CognitoIdentityProvider>] :cognito_identity_providers
|
258
|
-
# An array of Amazon Cognito
|
258
|
+
# An array of Amazon Cognito user pools and their client IDs.
|
259
259
|
#
|
260
260
|
# @option params [Array<String>] :saml_provider_arns
|
261
261
|
# An array of Amazon Resource Names (ARNs) of the SAML provider for your
|
262
262
|
# identity pool.
|
263
263
|
#
|
264
|
+
# @option params [Hash<String,String>] :identity_pool_tags
|
265
|
+
# Tags to assign to the identity pool. A tag is a label that you can
|
266
|
+
# apply to identity pools to categorize and manage them in different
|
267
|
+
# ways, such as by purpose, owner, environment, or other criteria.
|
268
|
+
#
|
264
269
|
# @return [Types::IdentityPool] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
265
270
|
#
|
266
271
|
# * {Types::IdentityPool#identity_pool_id #identity_pool_id} => String
|
@@ -271,6 +276,7 @@ module Aws::CognitoIdentity
|
|
271
276
|
# * {Types::IdentityPool#open_id_connect_provider_arns #open_id_connect_provider_arns} => Array<String>
|
272
277
|
# * {Types::IdentityPool#cognito_identity_providers #cognito_identity_providers} => Array<Types::CognitoIdentityProvider>
|
273
278
|
# * {Types::IdentityPool#saml_provider_arns #saml_provider_arns} => Array<String>
|
279
|
+
# * {Types::IdentityPool#identity_pool_tags #identity_pool_tags} => Hash<String,String>
|
274
280
|
#
|
275
281
|
# @example Request syntax with placeholder values
|
276
282
|
#
|
@@ -290,6 +296,9 @@ module Aws::CognitoIdentity
|
|
290
296
|
# },
|
291
297
|
# ],
|
292
298
|
# saml_provider_arns: ["ARNString"],
|
299
|
+
# identity_pool_tags: {
|
300
|
+
# "TagKeysType" => "TagValueType",
|
301
|
+
# },
|
293
302
|
# })
|
294
303
|
#
|
295
304
|
# @example Response structure
|
@@ -308,6 +317,8 @@ module Aws::CognitoIdentity
|
|
308
317
|
# resp.cognito_identity_providers[0].server_side_token_check #=> Boolean
|
309
318
|
# resp.saml_provider_arns #=> Array
|
310
319
|
# resp.saml_provider_arns[0] #=> String
|
320
|
+
# resp.identity_pool_tags #=> Hash
|
321
|
+
# resp.identity_pool_tags["TagKeysType"] #=> String
|
311
322
|
#
|
312
323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CreateIdentityPool AWS API Documentation
|
313
324
|
#
|
@@ -351,8 +362,8 @@ module Aws::CognitoIdentity
|
|
351
362
|
req.send_request(options)
|
352
363
|
end
|
353
364
|
|
354
|
-
# Deletes
|
355
|
-
# authenticate with the pool.
|
365
|
+
# Deletes an identity pool. Once a pool is deleted, users will not be
|
366
|
+
# able to authenticate with the pool.
|
356
367
|
#
|
357
368
|
# You must use AWS Developer credentials to call this API.
|
358
369
|
#
|
@@ -432,6 +443,7 @@ module Aws::CognitoIdentity
|
|
432
443
|
# * {Types::IdentityPool#open_id_connect_provider_arns #open_id_connect_provider_arns} => Array<String>
|
433
444
|
# * {Types::IdentityPool#cognito_identity_providers #cognito_identity_providers} => Array<Types::CognitoIdentityProvider>
|
434
445
|
# * {Types::IdentityPool#saml_provider_arns #saml_provider_arns} => Array<String>
|
446
|
+
# * {Types::IdentityPool#identity_pool_tags #identity_pool_tags} => Hash<String,String>
|
435
447
|
#
|
436
448
|
# @example Request syntax with placeholder values
|
437
449
|
#
|
@@ -455,6 +467,8 @@ module Aws::CognitoIdentity
|
|
455
467
|
# resp.cognito_identity_providers[0].server_side_token_check #=> Boolean
|
456
468
|
# resp.saml_provider_arns #=> Array
|
457
469
|
# resp.saml_provider_arns[0] #=> String
|
470
|
+
# resp.identity_pool_tags #=> Hash
|
471
|
+
# resp.identity_pool_tags["TagKeysType"] #=> String
|
458
472
|
#
|
459
473
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityPool AWS API Documentation
|
460
474
|
#
|
@@ -478,7 +492,20 @@ module Aws::CognitoIdentity
|
|
478
492
|
#
|
479
493
|
# @option params [Hash<String,String>] :logins
|
480
494
|
# A set of optional name-value pairs that map provider names to provider
|
481
|
-
# tokens.
|
495
|
+
# tokens. The name-value pair will follow the syntax "provider\_name":
|
496
|
+
# "provider\_user\_identifier".
|
497
|
+
#
|
498
|
+
# Logins should not be specified when trying to get credentials for an
|
499
|
+
# unauthenticated identity.
|
500
|
+
#
|
501
|
+
# The Logins parameter is required when using identities associated with
|
502
|
+
# external identity providers such as FaceBook. For examples of `Logins`
|
503
|
+
# maps, see the code examples in the [External Identity Providers][1]
|
504
|
+
# section of the Amazon Cognito Developer Guide.
|
505
|
+
#
|
506
|
+
#
|
507
|
+
#
|
508
|
+
# [1]: http://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html
|
482
509
|
#
|
483
510
|
# @option params [String] :custom_role_arn
|
484
511
|
# The Amazon Resource Name (ARN) of the role to be assumed when multiple
|
@@ -536,8 +563,9 @@ module Aws::CognitoIdentity
|
|
536
563
|
#
|
537
564
|
# * Facebook: `graph.facebook.com`
|
538
565
|
#
|
539
|
-
# * Amazon Cognito
|
540
|
-
# `cognito-idp
|
566
|
+
# * Amazon Cognito user pool:
|
567
|
+
# `cognito-idp.<region>.amazonaws.com/<YOUR_USER_POOL_ID>`, for
|
568
|
+
# example, `cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789`.
|
541
569
|
#
|
542
570
|
# * Google: `accounts.google.com`
|
543
571
|
#
|
@@ -620,7 +648,7 @@ module Aws::CognitoIdentity
|
|
620
648
|
# is returned by GetId. You can optionally add additional logins for the
|
621
649
|
# identity. Supplying multiple logins creates an implicit link.
|
622
650
|
#
|
623
|
-
# The OpenId token is valid for
|
651
|
+
# The OpenId token is valid for 10 minutes.
|
624
652
|
#
|
625
653
|
# This is a public API. You do not need any credentials to call this
|
626
654
|
# API.
|
@@ -632,8 +660,8 @@ module Aws::CognitoIdentity
|
|
632
660
|
# A set of optional name-value pairs that map provider names to provider
|
633
661
|
# tokens. When using graph.facebook.com and www.amazon.com, supply the
|
634
662
|
# access\_token returned from the provider's authflow. For
|
635
|
-
# accounts.google.com, an Amazon Cognito
|
636
|
-
# OpenId Connect provider, always include the `id_token`.
|
663
|
+
# accounts.google.com, an Amazon Cognito user pool provider, or any
|
664
|
+
# other OpenId Connect provider, always include the `id_token`.
|
637
665
|
#
|
638
666
|
# @return [Types::GetOpenIdTokenResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
639
667
|
#
|
@@ -740,7 +768,7 @@ module Aws::CognitoIdentity
|
|
740
768
|
req.send_request(options)
|
741
769
|
end
|
742
770
|
|
743
|
-
# Lists the identities in
|
771
|
+
# Lists the identities in an identity pool.
|
744
772
|
#
|
745
773
|
# You must use AWS Developer credentials to call this API.
|
746
774
|
#
|
@@ -831,8 +859,44 @@ module Aws::CognitoIdentity
|
|
831
859
|
req.send_request(options)
|
832
860
|
end
|
833
861
|
|
862
|
+
# Lists the tags that are assigned to an Amazon Cognito identity pool.
|
863
|
+
#
|
864
|
+
# A tag is a label that you can apply to identity pools to categorize
|
865
|
+
# and manage them in different ways, such as by purpose, owner,
|
866
|
+
# environment, or other criteria.
|
867
|
+
#
|
868
|
+
# You can use this action up to 10 times per second, per account.
|
869
|
+
#
|
870
|
+
# @option params [required, String] :resource_arn
|
871
|
+
# The Amazon Resource Name (ARN) of the identity pool that the tags are
|
872
|
+
# assigned to.
|
873
|
+
#
|
874
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
875
|
+
#
|
876
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
877
|
+
#
|
878
|
+
# @example Request syntax with placeholder values
|
879
|
+
#
|
880
|
+
# resp = client.list_tags_for_resource({
|
881
|
+
# resource_arn: "ARNString", # required
|
882
|
+
# })
|
883
|
+
#
|
884
|
+
# @example Response structure
|
885
|
+
#
|
886
|
+
# resp.tags #=> Hash
|
887
|
+
# resp.tags["TagKeysType"] #=> String
|
888
|
+
#
|
889
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListTagsForResource AWS API Documentation
|
890
|
+
#
|
891
|
+
# @overload list_tags_for_resource(params = {})
|
892
|
+
# @param [Hash] params ({})
|
893
|
+
def list_tags_for_resource(params = {}, options = {})
|
894
|
+
req = build_request(:list_tags_for_resource, params)
|
895
|
+
req.send_request(options)
|
896
|
+
end
|
897
|
+
|
834
898
|
# Retrieves the `IdentityID` associated with a `DeveloperUserIdentifier`
|
835
|
-
# or the list of `DeveloperUserIdentifier`
|
899
|
+
# or the list of `DeveloperUserIdentifier` values associated with an
|
836
900
|
# `IdentityId` for an existing identity. Either `IdentityID` or
|
837
901
|
# `DeveloperUserIdentifier` must not be null. If you supply only one of
|
838
902
|
# these values, the other value will be searched in the database and
|
@@ -842,6 +906,13 @@ module Aws::CognitoIdentity
|
|
842
906
|
# values and is the same as the request. Otherwise a
|
843
907
|
# `ResourceConflictException` is thrown.
|
844
908
|
#
|
909
|
+
# `LookupDeveloperIdentity` is intended for low-throughput control plane
|
910
|
+
# operations: for example, to enable customer service to locate an
|
911
|
+
# identity ID by username. If you are using it for higher-volume
|
912
|
+
# operations such as user authentication, your requests are likely to be
|
913
|
+
# throttled. GetOpenIdTokenForDeveloperIdentity is a better option for
|
914
|
+
# higher-volume operations for user authentication.
|
915
|
+
#
|
845
916
|
# You must use AWS Developer credentials to call this API.
|
846
917
|
#
|
847
918
|
# @option params [required, String] :identity_pool_id
|
@@ -909,6 +980,11 @@ module Aws::CognitoIdentity
|
|
909
980
|
# are associated with the same public provider, but as two different
|
910
981
|
# users, an exception will be thrown.
|
911
982
|
#
|
983
|
+
# The number of linked logins is limited to 20. So, the number of linked
|
984
|
+
# logins for the source user, `SourceUserIdentifier`, and the
|
985
|
+
# destination user, `DestinationUserIdentifier`, together should not be
|
986
|
+
# larger than 20. Otherwise, an exception will be thrown.
|
987
|
+
#
|
912
988
|
# You must use AWS Developer credentials to call this API.
|
913
989
|
#
|
914
990
|
# @option params [required, String] :source_user_identifier
|
@@ -1013,6 +1089,54 @@ module Aws::CognitoIdentity
|
|
1013
1089
|
req.send_request(options)
|
1014
1090
|
end
|
1015
1091
|
|
1092
|
+
# Assigns a set of tags to an Amazon Cognito identity pool. A tag is a
|
1093
|
+
# label that you can use to categorize and manage identity pools in
|
1094
|
+
# different ways, such as by purpose, owner, environment, or other
|
1095
|
+
# criteria.
|
1096
|
+
#
|
1097
|
+
# Each tag consists of a key and value, both of which you define. A key
|
1098
|
+
# is a general category for more specific values. For example, if you
|
1099
|
+
# have two versions of an identity pool, one for testing and another for
|
1100
|
+
# production, you might assign an `Environment` tag key to both identity
|
1101
|
+
# pools. The value of this key might be `Test` for one identity pool and
|
1102
|
+
# `Production` for the other.
|
1103
|
+
#
|
1104
|
+
# Tags are useful for cost tracking and access control. You can activate
|
1105
|
+
# your tags so that they appear on the Billing and Cost Management
|
1106
|
+
# console, where you can track the costs associated with your identity
|
1107
|
+
# pools. In an IAM policy, you can constrain permissions for identity
|
1108
|
+
# pools based on specific tags or tag values.
|
1109
|
+
#
|
1110
|
+
# You can use this action up to 5 times per second, per account. An
|
1111
|
+
# identity pool can have as many as 50 tags.
|
1112
|
+
#
|
1113
|
+
# @option params [required, String] :resource_arn
|
1114
|
+
# The Amazon Resource Name (ARN) of the identity pool to assign the tags
|
1115
|
+
# to.
|
1116
|
+
#
|
1117
|
+
# @option params [Hash<String,String>] :tags
|
1118
|
+
# The tags to assign to the identity pool.
|
1119
|
+
#
|
1120
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1121
|
+
#
|
1122
|
+
# @example Request syntax with placeholder values
|
1123
|
+
#
|
1124
|
+
# resp = client.tag_resource({
|
1125
|
+
# resource_arn: "ARNString", # required
|
1126
|
+
# tags: {
|
1127
|
+
# "TagKeysType" => "TagValueType",
|
1128
|
+
# },
|
1129
|
+
# })
|
1130
|
+
#
|
1131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/TagResource AWS API Documentation
|
1132
|
+
#
|
1133
|
+
# @overload tag_resource(params = {})
|
1134
|
+
# @param [Hash] params ({})
|
1135
|
+
def tag_resource(params = {}, options = {})
|
1136
|
+
req = build_request(:tag_resource, params)
|
1137
|
+
req.send_request(options)
|
1138
|
+
end
|
1139
|
+
|
1016
1140
|
# Unlinks a `DeveloperUserIdentifier` from an existing identity.
|
1017
1141
|
# Unlinked developer users will be considered new identities next time
|
1018
1142
|
# they are seen. If, for a given Cognito identity, you remove all
|
@@ -1092,7 +1216,35 @@ module Aws::CognitoIdentity
|
|
1092
1216
|
req.send_request(options)
|
1093
1217
|
end
|
1094
1218
|
|
1095
|
-
#
|
1219
|
+
# Removes the specified tags from an Amazon Cognito identity pool. You
|
1220
|
+
# can use this action up to 5 times per second, per account
|
1221
|
+
#
|
1222
|
+
# @option params [required, String] :resource_arn
|
1223
|
+
# The Amazon Resource Name (ARN) of the identity pool that the tags are
|
1224
|
+
# assigned to.
|
1225
|
+
#
|
1226
|
+
# @option params [Array<String>] :tag_keys
|
1227
|
+
# The keys of the tags to remove from the user pool.
|
1228
|
+
#
|
1229
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1230
|
+
#
|
1231
|
+
# @example Request syntax with placeholder values
|
1232
|
+
#
|
1233
|
+
# resp = client.untag_resource({
|
1234
|
+
# resource_arn: "ARNString", # required
|
1235
|
+
# tag_keys: ["TagKeysType"],
|
1236
|
+
# })
|
1237
|
+
#
|
1238
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UntagResource AWS API Documentation
|
1239
|
+
#
|
1240
|
+
# @overload untag_resource(params = {})
|
1241
|
+
# @param [Hash] params ({})
|
1242
|
+
def untag_resource(params = {}, options = {})
|
1243
|
+
req = build_request(:untag_resource, params)
|
1244
|
+
req.send_request(options)
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
# Updates an identity pool.
|
1096
1248
|
#
|
1097
1249
|
# You must use AWS Developer credentials to call this API.
|
1098
1250
|
#
|
@@ -1115,13 +1267,18 @@ module Aws::CognitoIdentity
|
|
1115
1267
|
# A list of OpendID Connect provider ARNs.
|
1116
1268
|
#
|
1117
1269
|
# @option params [Array<Types::CognitoIdentityProvider>] :cognito_identity_providers
|
1118
|
-
# A list representing an Amazon Cognito
|
1119
|
-
# client ID.
|
1270
|
+
# A list representing an Amazon Cognito user pool and its client ID.
|
1120
1271
|
#
|
1121
1272
|
# @option params [Array<String>] :saml_provider_arns
|
1122
1273
|
# An array of Amazon Resource Names (ARNs) of the SAML provider for your
|
1123
1274
|
# identity pool.
|
1124
1275
|
#
|
1276
|
+
# @option params [Hash<String,String>] :identity_pool_tags
|
1277
|
+
# The tags that are assigned to the identity pool. A tag is a label that
|
1278
|
+
# you can apply to identity pools to categorize and manage them in
|
1279
|
+
# different ways, such as by purpose, owner, environment, or other
|
1280
|
+
# criteria.
|
1281
|
+
#
|
1125
1282
|
# @return [Types::IdentityPool] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1126
1283
|
#
|
1127
1284
|
# * {Types::IdentityPool#identity_pool_id #identity_pool_id} => String
|
@@ -1132,6 +1289,7 @@ module Aws::CognitoIdentity
|
|
1132
1289
|
# * {Types::IdentityPool#open_id_connect_provider_arns #open_id_connect_provider_arns} => Array<String>
|
1133
1290
|
# * {Types::IdentityPool#cognito_identity_providers #cognito_identity_providers} => Array<Types::CognitoIdentityProvider>
|
1134
1291
|
# * {Types::IdentityPool#saml_provider_arns #saml_provider_arns} => Array<String>
|
1292
|
+
# * {Types::IdentityPool#identity_pool_tags #identity_pool_tags} => Hash<String,String>
|
1135
1293
|
#
|
1136
1294
|
# @example Request syntax with placeholder values
|
1137
1295
|
#
|
@@ -1152,6 +1310,9 @@ module Aws::CognitoIdentity
|
|
1152
1310
|
# },
|
1153
1311
|
# ],
|
1154
1312
|
# saml_provider_arns: ["ARNString"],
|
1313
|
+
# identity_pool_tags: {
|
1314
|
+
# "TagKeysType" => "TagValueType",
|
1315
|
+
# },
|
1155
1316
|
# })
|
1156
1317
|
#
|
1157
1318
|
# @example Response structure
|
@@ -1170,6 +1331,8 @@ module Aws::CognitoIdentity
|
|
1170
1331
|
# resp.cognito_identity_providers[0].server_side_token_check #=> Boolean
|
1171
1332
|
# resp.saml_provider_arns #=> Array
|
1172
1333
|
# resp.saml_provider_arns[0] #=> String
|
1334
|
+
# resp.identity_pool_tags #=> Hash
|
1335
|
+
# resp.identity_pool_tags["TagKeysType"] #=> String
|
1173
1336
|
#
|
1174
1337
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UpdateIdentityPool AWS API Documentation
|
1175
1338
|
#
|
@@ -1193,7 +1356,7 @@ module Aws::CognitoIdentity
|
|
1193
1356
|
params: params,
|
1194
1357
|
config: config)
|
1195
1358
|
context[:gem_name] = 'aws-sdk-cognitoidentity'
|
1196
|
-
context[:gem_version] = '1.
|
1359
|
+
context[:gem_version] = '1.9.0'
|
1197
1360
|
Seahorse::Client::Request.new(handlers, context)
|
1198
1361
|
end
|
1199
1362
|
|
@@ -56,6 +56,8 @@ module Aws::CognitoIdentity
|
|
56
56
|
IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
|
57
57
|
IdentityPoolName = Shapes::StringShape.new(name: 'IdentityPoolName')
|
58
58
|
IdentityPoolShortDescription = Shapes::StructureShape.new(name: 'IdentityPoolShortDescription')
|
59
|
+
IdentityPoolTagsListType = Shapes::ListShape.new(name: 'IdentityPoolTagsListType')
|
60
|
+
IdentityPoolTagsType = Shapes::MapShape.new(name: 'IdentityPoolTagsType')
|
59
61
|
IdentityPoolUnauthenticated = Shapes::BooleanShape.new(name: 'IdentityPoolUnauthenticated')
|
60
62
|
IdentityPoolsList = Shapes::ListShape.new(name: 'IdentityPoolsList')
|
61
63
|
IdentityProviderId = Shapes::StringShape.new(name: 'IdentityProviderId')
|
@@ -70,6 +72,8 @@ module Aws::CognitoIdentity
|
|
70
72
|
ListIdentitiesResponse = Shapes::StructureShape.new(name: 'ListIdentitiesResponse')
|
71
73
|
ListIdentityPoolsInput = Shapes::StructureShape.new(name: 'ListIdentityPoolsInput')
|
72
74
|
ListIdentityPoolsResponse = Shapes::StructureShape.new(name: 'ListIdentityPoolsResponse')
|
75
|
+
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
76
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
73
77
|
LoginsList = Shapes::ListShape.new(name: 'LoginsList')
|
74
78
|
LoginsMap = Shapes::MapShape.new(name: 'LoginsMap')
|
75
79
|
LookupDeveloperIdentityInput = Shapes::StructureShape.new(name: 'LookupDeveloperIdentityInput')
|
@@ -97,12 +101,18 @@ module Aws::CognitoIdentity
|
|
97
101
|
SessionTokenString = Shapes::StringShape.new(name: 'SessionTokenString')
|
98
102
|
SetIdentityPoolRolesInput = Shapes::StructureShape.new(name: 'SetIdentityPoolRolesInput')
|
99
103
|
String = Shapes::StringShape.new(name: 'String')
|
104
|
+
TagKeysType = Shapes::StringShape.new(name: 'TagKeysType')
|
105
|
+
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
106
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
107
|
+
TagValueType = Shapes::StringShape.new(name: 'TagValueType')
|
100
108
|
TokenDuration = Shapes::IntegerShape.new(name: 'TokenDuration')
|
101
109
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
102
110
|
UnlinkDeveloperIdentityInput = Shapes::StructureShape.new(name: 'UnlinkDeveloperIdentityInput')
|
103
111
|
UnlinkIdentityInput = Shapes::StructureShape.new(name: 'UnlinkIdentityInput')
|
104
112
|
UnprocessedIdentityId = Shapes::StructureShape.new(name: 'UnprocessedIdentityId')
|
105
113
|
UnprocessedIdentityIdList = Shapes::ListShape.new(name: 'UnprocessedIdentityIdList')
|
114
|
+
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
115
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
106
116
|
|
107
117
|
CognitoIdentityProvider.add_member(:provider_name, Shapes::ShapeRef.new(shape: CognitoIdentityProviderName, location_name: "ProviderName"))
|
108
118
|
CognitoIdentityProvider.add_member(:client_id, Shapes::ShapeRef.new(shape: CognitoIdentityProviderClientId, location_name: "ClientId"))
|
@@ -118,6 +128,7 @@ module Aws::CognitoIdentity
|
|
118
128
|
CreateIdentityPoolInput.add_member(:open_id_connect_provider_arns, Shapes::ShapeRef.new(shape: OIDCProviderList, location_name: "OpenIdConnectProviderARNs"))
|
119
129
|
CreateIdentityPoolInput.add_member(:cognito_identity_providers, Shapes::ShapeRef.new(shape: CognitoIdentityProviderList, location_name: "CognitoIdentityProviders"))
|
120
130
|
CreateIdentityPoolInput.add_member(:saml_provider_arns, Shapes::ShapeRef.new(shape: SAMLProviderList, location_name: "SamlProviderARNs"))
|
131
|
+
CreateIdentityPoolInput.add_member(:identity_pool_tags, Shapes::ShapeRef.new(shape: IdentityPoolTagsType, location_name: "IdentityPoolTags"))
|
121
132
|
CreateIdentityPoolInput.struct_class = Types::CreateIdentityPoolInput
|
122
133
|
|
123
134
|
Credentials.add_member(:access_key_id, Shapes::ShapeRef.new(shape: AccessKeyString, location_name: "AccessKeyId"))
|
@@ -204,12 +215,18 @@ module Aws::CognitoIdentity
|
|
204
215
|
IdentityPool.add_member(:open_id_connect_provider_arns, Shapes::ShapeRef.new(shape: OIDCProviderList, location_name: "OpenIdConnectProviderARNs"))
|
205
216
|
IdentityPool.add_member(:cognito_identity_providers, Shapes::ShapeRef.new(shape: CognitoIdentityProviderList, location_name: "CognitoIdentityProviders"))
|
206
217
|
IdentityPool.add_member(:saml_provider_arns, Shapes::ShapeRef.new(shape: SAMLProviderList, location_name: "SamlProviderARNs"))
|
218
|
+
IdentityPool.add_member(:identity_pool_tags, Shapes::ShapeRef.new(shape: IdentityPoolTagsType, location_name: "IdentityPoolTags"))
|
207
219
|
IdentityPool.struct_class = Types::IdentityPool
|
208
220
|
|
209
221
|
IdentityPoolShortDescription.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, location_name: "IdentityPoolId"))
|
210
222
|
IdentityPoolShortDescription.add_member(:identity_pool_name, Shapes::ShapeRef.new(shape: IdentityPoolName, location_name: "IdentityPoolName"))
|
211
223
|
IdentityPoolShortDescription.struct_class = Types::IdentityPoolShortDescription
|
212
224
|
|
225
|
+
IdentityPoolTagsListType.member = Shapes::ShapeRef.new(shape: TagKeysType)
|
226
|
+
|
227
|
+
IdentityPoolTagsType.key = Shapes::ShapeRef.new(shape: TagKeysType)
|
228
|
+
IdentityPoolTagsType.value = Shapes::ShapeRef.new(shape: TagValueType)
|
229
|
+
|
213
230
|
IdentityPoolsList.member = Shapes::ShapeRef.new(shape: IdentityPoolShortDescription)
|
214
231
|
|
215
232
|
IdentityProviders.key = Shapes::ShapeRef.new(shape: IdentityProviderName)
|
@@ -234,6 +251,12 @@ module Aws::CognitoIdentity
|
|
234
251
|
ListIdentityPoolsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationKey, location_name: "NextToken"))
|
235
252
|
ListIdentityPoolsResponse.struct_class = Types::ListIdentityPoolsResponse
|
236
253
|
|
254
|
+
ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARNString, required: true, location_name: "ResourceArn"))
|
255
|
+
ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
|
256
|
+
|
257
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: IdentityPoolTagsType, location_name: "Tags"))
|
258
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
259
|
+
|
237
260
|
LoginsList.member = Shapes::ShapeRef.new(shape: IdentityProviderName)
|
238
261
|
|
239
262
|
LoginsMap.key = Shapes::ShapeRef.new(shape: IdentityProviderName)
|
@@ -291,6 +314,12 @@ module Aws::CognitoIdentity
|
|
291
314
|
SetIdentityPoolRolesInput.add_member(:role_mappings, Shapes::ShapeRef.new(shape: RoleMappingMap, location_name: "RoleMappings"))
|
292
315
|
SetIdentityPoolRolesInput.struct_class = Types::SetIdentityPoolRolesInput
|
293
316
|
|
317
|
+
TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARNString, required: true, location_name: "ResourceArn"))
|
318
|
+
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: IdentityPoolTagsType, location_name: "Tags"))
|
319
|
+
TagResourceInput.struct_class = Types::TagResourceInput
|
320
|
+
|
321
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
322
|
+
|
294
323
|
UnlinkDeveloperIdentityInput.add_member(:identity_id, Shapes::ShapeRef.new(shape: IdentityId, required: true, location_name: "IdentityId"))
|
295
324
|
UnlinkDeveloperIdentityInput.add_member(:identity_pool_id, Shapes::ShapeRef.new(shape: IdentityPoolId, required: true, location_name: "IdentityPoolId"))
|
296
325
|
UnlinkDeveloperIdentityInput.add_member(:developer_provider_name, Shapes::ShapeRef.new(shape: DeveloperProviderName, required: true, location_name: "DeveloperProviderName"))
|
@@ -308,6 +337,12 @@ module Aws::CognitoIdentity
|
|
308
337
|
|
309
338
|
UnprocessedIdentityIdList.member = Shapes::ShapeRef.new(shape: UnprocessedIdentityId)
|
310
339
|
|
340
|
+
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARNString, required: true, location_name: "ResourceArn"))
|
341
|
+
UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: IdentityPoolTagsListType, location_name: "TagKeys"))
|
342
|
+
UntagResourceInput.struct_class = Types::UntagResourceInput
|
343
|
+
|
344
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
345
|
+
|
311
346
|
|
312
347
|
# @api private
|
313
348
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -320,6 +355,7 @@ module Aws::CognitoIdentity
|
|
320
355
|
"jsonVersion" => "1.1",
|
321
356
|
"protocol" => "json",
|
322
357
|
"serviceFullName" => "Amazon Cognito Identity",
|
358
|
+
"serviceId" => "Cognito Identity",
|
323
359
|
"signatureVersion" => "v4",
|
324
360
|
"targetPrefix" => "AWSCognitoIdentityService",
|
325
361
|
"uid" => "cognito-identity-2014-06-30",
|
@@ -490,6 +526,20 @@ module Aws::CognitoIdentity
|
|
490
526
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
491
527
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
492
528
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
531
|
+
end)
|
532
|
+
|
533
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
534
|
+
o.name = "ListTagsForResource"
|
535
|
+
o.http_method = "POST"
|
536
|
+
o.http_request_uri = "/"
|
537
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
|
538
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
539
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
540
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
541
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
542
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
493
543
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
494
544
|
end)
|
495
545
|
|
@@ -536,6 +586,19 @@ module Aws::CognitoIdentity
|
|
536
586
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
537
587
|
end)
|
538
588
|
|
589
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
590
|
+
o.name = "TagResource"
|
591
|
+
o.http_method = "POST"
|
592
|
+
o.http_request_uri = "/"
|
593
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
|
594
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
595
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
596
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
598
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
599
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
600
|
+
end)
|
601
|
+
|
539
602
|
api.add_operation(:unlink_developer_identity, Seahorse::Model::Operation.new.tap do |o|
|
540
603
|
o.name = "UnlinkDeveloperIdentity"
|
541
604
|
o.http_method = "POST"
|
@@ -566,6 +629,19 @@ module Aws::CognitoIdentity
|
|
566
629
|
o.errors << Shapes::ShapeRef.new(shape: ExternalServiceException)
|
567
630
|
end)
|
568
631
|
|
632
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
633
|
+
o.name = "UntagResource"
|
634
|
+
o.http_method = "POST"
|
635
|
+
o.http_request_uri = "/"
|
636
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
|
637
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
638
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
639
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
640
|
+
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
643
|
+
end)
|
644
|
+
|
569
645
|
api.add_operation(:update_identity_pool, Seahorse::Model::Operation.new.tap do |o|
|
570
646
|
o.name = "UpdateIdentityPool"
|
571
647
|
o.http_method = "POST"
|
@@ -8,8 +8,7 @@
|
|
8
8
|
module Aws::CognitoIdentity
|
9
9
|
module Types
|
10
10
|
|
11
|
-
# A provider representing an Amazon Cognito
|
12
|
-
# client ID.
|
11
|
+
# A provider representing an Amazon Cognito user pool and its client ID.
|
13
12
|
#
|
14
13
|
# @note When making an API call, you may pass CognitoIdentityProvider
|
15
14
|
# data as a hash:
|
@@ -21,17 +20,26 @@ module Aws::CognitoIdentity
|
|
21
20
|
# }
|
22
21
|
#
|
23
22
|
# @!attribute [rw] provider_name
|
24
|
-
# The provider name for an Amazon Cognito
|
25
|
-
#
|
23
|
+
# The provider name for an Amazon Cognito user pool. For example,
|
24
|
+
# `cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789`.
|
26
25
|
# @return [String]
|
27
26
|
#
|
28
27
|
# @!attribute [rw] client_id
|
29
|
-
# The client ID for the Amazon Cognito
|
28
|
+
# The client ID for the Amazon Cognito user pool.
|
30
29
|
# @return [String]
|
31
30
|
#
|
32
31
|
# @!attribute [rw] server_side_token_check
|
33
32
|
# TRUE if server-side token validation is enabled for the identity
|
34
33
|
# provider’s token.
|
34
|
+
#
|
35
|
+
# Once you set `ServerSideTokenCheck` to TRUE for an identity pool,
|
36
|
+
# that identity pool will check with the integrated user pools to make
|
37
|
+
# sure that the user has not been globally signed out or deleted
|
38
|
+
# before the identity pool provides an OIDC token or AWS credentials
|
39
|
+
# for the user.
|
40
|
+
#
|
41
|
+
# If the user is signed out or deleted, the identity pool will return
|
42
|
+
# a 400 Not Authorized error.
|
35
43
|
# @return [Boolean]
|
36
44
|
#
|
37
45
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CognitoIdentityProvider AWS API Documentation
|
@@ -64,6 +72,9 @@ module Aws::CognitoIdentity
|
|
64
72
|
# },
|
65
73
|
# ],
|
66
74
|
# saml_provider_arns: ["ARNString"],
|
75
|
+
# identity_pool_tags: {
|
76
|
+
# "TagKeysType" => "TagValueType",
|
77
|
+
# },
|
67
78
|
# }
|
68
79
|
#
|
69
80
|
# @!attribute [rw] identity_pool_name
|
@@ -94,7 +105,7 @@ module Aws::CognitoIdentity
|
|
94
105
|
# @return [Array<String>]
|
95
106
|
#
|
96
107
|
# @!attribute [rw] cognito_identity_providers
|
97
|
-
# An array of Amazon Cognito
|
108
|
+
# An array of Amazon Cognito user pools and their client IDs.
|
98
109
|
# @return [Array<Types::CognitoIdentityProvider>]
|
99
110
|
#
|
100
111
|
# @!attribute [rw] saml_provider_arns
|
@@ -102,6 +113,12 @@ module Aws::CognitoIdentity
|
|
102
113
|
# your identity pool.
|
103
114
|
# @return [Array<String>]
|
104
115
|
#
|
116
|
+
# @!attribute [rw] identity_pool_tags
|
117
|
+
# Tags to assign to the identity pool. A tag is a label that you can
|
118
|
+
# apply to identity pools to categorize and manage them in different
|
119
|
+
# ways, such as by purpose, owner, environment, or other criteria.
|
120
|
+
# @return [Hash<String,String>]
|
121
|
+
#
|
105
122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CreateIdentityPoolInput AWS API Documentation
|
106
123
|
#
|
107
124
|
class CreateIdentityPoolInput < Struct.new(
|
@@ -111,7 +128,8 @@ module Aws::CognitoIdentity
|
|
111
128
|
:developer_provider_name,
|
112
129
|
:open_id_connect_provider_arns,
|
113
130
|
:cognito_identity_providers,
|
114
|
-
:saml_provider_arns
|
131
|
+
:saml_provider_arns,
|
132
|
+
:identity_pool_tags)
|
115
133
|
include Aws::Structure
|
116
134
|
end
|
117
135
|
|
@@ -256,7 +274,20 @@ module Aws::CognitoIdentity
|
|
256
274
|
#
|
257
275
|
# @!attribute [rw] logins
|
258
276
|
# A set of optional name-value pairs that map provider names to
|
259
|
-
# provider tokens.
|
277
|
+
# provider tokens. The name-value pair will follow the syntax
|
278
|
+
# "provider\_name": "provider\_user\_identifier".
|
279
|
+
#
|
280
|
+
# Logins should not be specified when trying to get credentials for an
|
281
|
+
# unauthenticated identity.
|
282
|
+
#
|
283
|
+
# The Logins parameter is required when using identities associated
|
284
|
+
# with external identity providers such as FaceBook. For examples of
|
285
|
+
# `Logins` maps, see the code examples in the [External Identity
|
286
|
+
# Providers][1] section of the Amazon Cognito Developer Guide.
|
287
|
+
#
|
288
|
+
#
|
289
|
+
#
|
290
|
+
# [1]: http://docs.aws.amazon.com/cognito/latest/developerguide/external-identity-providers.html
|
260
291
|
# @return [Hash<String,String>]
|
261
292
|
#
|
262
293
|
# @!attribute [rw] custom_role_arn
|
@@ -323,8 +354,10 @@ module Aws::CognitoIdentity
|
|
323
354
|
#
|
324
355
|
# * Facebook: `graph.facebook.com`
|
325
356
|
#
|
326
|
-
# * Amazon Cognito
|
327
|
-
# `cognito-idp
|
357
|
+
# * Amazon Cognito user pool:
|
358
|
+
# `cognito-idp.<region>.amazonaws.com/<YOUR_USER_POOL_ID>`, for
|
359
|
+
# example,
|
360
|
+
# `cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789`.
|
328
361
|
#
|
329
362
|
# * Google: `accounts.google.com`
|
330
363
|
#
|
@@ -392,7 +425,7 @@ module Aws::CognitoIdentity
|
|
392
425
|
# How users for a specific identity provider are to mapped to roles.
|
393
426
|
# This is a String-to-RoleMapping object map. The string identifies
|
394
427
|
# the identity provider, for example, "graph.facebook.com" or
|
395
|
-
# "cognito-idp-east-1.amazonaws.com/us-east-1\_abcdefghi:app\_client\_id".
|
428
|
+
# "cognito-idp.us-east-1.amazonaws.com/us-east-1\_abcdefghi:app\_client\_id".
|
396
429
|
# @return [Hash<String,Types::RoleMapping>]
|
397
430
|
#
|
398
431
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRolesResponse AWS API Documentation
|
@@ -500,7 +533,7 @@ module Aws::CognitoIdentity
|
|
500
533
|
# A set of optional name-value pairs that map provider names to
|
501
534
|
# provider tokens. When using graph.facebook.com and www.amazon.com,
|
502
535
|
# supply the access\_token returned from the provider's authflow. For
|
503
|
-
# accounts.google.com, an Amazon Cognito
|
536
|
+
# accounts.google.com, an Amazon Cognito user pool provider, or any
|
504
537
|
# other OpenId Connect provider, always include the `id_token`.
|
505
538
|
# @return [Hash<String,String>]
|
506
539
|
#
|
@@ -520,7 +553,7 @@ module Aws::CognitoIdentity
|
|
520
553
|
# @return [String]
|
521
554
|
#
|
522
555
|
# @!attribute [rw] token
|
523
|
-
# An OpenID token, valid for
|
556
|
+
# An OpenID token, valid for 10 minutes.
|
524
557
|
# @return [String]
|
525
558
|
#
|
526
559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenResponse AWS API Documentation
|
@@ -538,8 +571,7 @@ module Aws::CognitoIdentity
|
|
538
571
|
# @return [String]
|
539
572
|
#
|
540
573
|
# @!attribute [rw] logins
|
541
|
-
#
|
542
|
-
# provider tokens.
|
574
|
+
# The provider names.
|
543
575
|
# @return [Array<String>]
|
544
576
|
#
|
545
577
|
# @!attribute [rw] creation_date
|
@@ -582,6 +614,9 @@ module Aws::CognitoIdentity
|
|
582
614
|
# },
|
583
615
|
# ],
|
584
616
|
# saml_provider_arns: ["ARNString"],
|
617
|
+
# identity_pool_tags: {
|
618
|
+
# "TagKeysType" => "TagValueType",
|
619
|
+
# },
|
585
620
|
# }
|
586
621
|
#
|
587
622
|
# @!attribute [rw] identity_pool_id
|
@@ -609,8 +644,7 @@ module Aws::CognitoIdentity
|
|
609
644
|
# @return [Array<String>]
|
610
645
|
#
|
611
646
|
# @!attribute [rw] cognito_identity_providers
|
612
|
-
# A list representing an Amazon Cognito
|
613
|
-
# client ID.
|
647
|
+
# A list representing an Amazon Cognito user pool and its client ID.
|
614
648
|
# @return [Array<Types::CognitoIdentityProvider>]
|
615
649
|
#
|
616
650
|
# @!attribute [rw] saml_provider_arns
|
@@ -618,6 +652,13 @@ module Aws::CognitoIdentity
|
|
618
652
|
# your identity pool.
|
619
653
|
# @return [Array<String>]
|
620
654
|
#
|
655
|
+
# @!attribute [rw] identity_pool_tags
|
656
|
+
# The tags that are assigned to the identity pool. A tag is a label
|
657
|
+
# that you can apply to identity pools to categorize and manage them
|
658
|
+
# in different ways, such as by purpose, owner, environment, or other
|
659
|
+
# criteria.
|
660
|
+
# @return [Hash<String,String>]
|
661
|
+
#
|
621
662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/IdentityPool AWS API Documentation
|
622
663
|
#
|
623
664
|
class IdentityPool < Struct.new(
|
@@ -628,7 +669,8 @@ module Aws::CognitoIdentity
|
|
628
669
|
:developer_provider_name,
|
629
670
|
:open_id_connect_provider_arns,
|
630
671
|
:cognito_identity_providers,
|
631
|
-
:saml_provider_arns
|
672
|
+
:saml_provider_arns,
|
673
|
+
:identity_pool_tags)
|
632
674
|
include Aws::Structure
|
633
675
|
end
|
634
676
|
|
@@ -757,6 +799,36 @@ module Aws::CognitoIdentity
|
|
757
799
|
include Aws::Structure
|
758
800
|
end
|
759
801
|
|
802
|
+
# @note When making an API call, you may pass ListTagsForResourceInput
|
803
|
+
# data as a hash:
|
804
|
+
#
|
805
|
+
# {
|
806
|
+
# resource_arn: "ARNString", # required
|
807
|
+
# }
|
808
|
+
#
|
809
|
+
# @!attribute [rw] resource_arn
|
810
|
+
# The Amazon Resource Name (ARN) of the identity pool that the tags
|
811
|
+
# are assigned to.
|
812
|
+
# @return [String]
|
813
|
+
#
|
814
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListTagsForResourceInput AWS API Documentation
|
815
|
+
#
|
816
|
+
class ListTagsForResourceInput < Struct.new(
|
817
|
+
:resource_arn)
|
818
|
+
include Aws::Structure
|
819
|
+
end
|
820
|
+
|
821
|
+
# @!attribute [rw] tags
|
822
|
+
# The tags that are assigned to the identity pool.
|
823
|
+
# @return [Hash<String,String>]
|
824
|
+
#
|
825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListTagsForResourceResponse AWS API Documentation
|
826
|
+
#
|
827
|
+
class ListTagsForResourceResponse < Struct.new(
|
828
|
+
:tags)
|
829
|
+
include Aws::Structure
|
830
|
+
end
|
831
|
+
|
760
832
|
# Input to the `LookupDeveloperIdentityInput` action.
|
761
833
|
#
|
762
834
|
# @note When making an API call, you may pass LookupDeveloperIdentityInput
|
@@ -1081,6 +1153,37 @@ module Aws::CognitoIdentity
|
|
1081
1153
|
include Aws::Structure
|
1082
1154
|
end
|
1083
1155
|
|
1156
|
+
# @note When making an API call, you may pass TagResourceInput
|
1157
|
+
# data as a hash:
|
1158
|
+
#
|
1159
|
+
# {
|
1160
|
+
# resource_arn: "ARNString", # required
|
1161
|
+
# tags: {
|
1162
|
+
# "TagKeysType" => "TagValueType",
|
1163
|
+
# },
|
1164
|
+
# }
|
1165
|
+
#
|
1166
|
+
# @!attribute [rw] resource_arn
|
1167
|
+
# The Amazon Resource Name (ARN) of the identity pool to assign the
|
1168
|
+
# tags to.
|
1169
|
+
# @return [String]
|
1170
|
+
#
|
1171
|
+
# @!attribute [rw] tags
|
1172
|
+
# The tags to assign to the identity pool.
|
1173
|
+
# @return [Hash<String,String>]
|
1174
|
+
#
|
1175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/TagResourceInput AWS API Documentation
|
1176
|
+
#
|
1177
|
+
class TagResourceInput < Struct.new(
|
1178
|
+
:resource_arn,
|
1179
|
+
:tags)
|
1180
|
+
include Aws::Structure
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/TagResourceResponse AWS API Documentation
|
1184
|
+
#
|
1185
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
1186
|
+
|
1084
1187
|
# Input to the `UnlinkDeveloperIdentity` action.
|
1085
1188
|
#
|
1086
1189
|
# @note When making an API call, you may pass UnlinkDeveloperIdentityInput
|
@@ -1174,5 +1277,34 @@ module Aws::CognitoIdentity
|
|
1174
1277
|
include Aws::Structure
|
1175
1278
|
end
|
1176
1279
|
|
1280
|
+
# @note When making an API call, you may pass UntagResourceInput
|
1281
|
+
# data as a hash:
|
1282
|
+
#
|
1283
|
+
# {
|
1284
|
+
# resource_arn: "ARNString", # required
|
1285
|
+
# tag_keys: ["TagKeysType"],
|
1286
|
+
# }
|
1287
|
+
#
|
1288
|
+
# @!attribute [rw] resource_arn
|
1289
|
+
# The Amazon Resource Name (ARN) of the identity pool that the tags
|
1290
|
+
# are assigned to.
|
1291
|
+
# @return [String]
|
1292
|
+
#
|
1293
|
+
# @!attribute [rw] tag_keys
|
1294
|
+
# The keys of the tags to remove from the user pool.
|
1295
|
+
# @return [Array<String>]
|
1296
|
+
#
|
1297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UntagResourceInput AWS API Documentation
|
1298
|
+
#
|
1299
|
+
class UntagResourceInput < Struct.new(
|
1300
|
+
:resource_arn,
|
1301
|
+
:tag_keys)
|
1302
|
+
include Aws::Structure
|
1303
|
+
end
|
1304
|
+
|
1305
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UntagResourceResponse AWS API Documentation
|
1306
|
+
#
|
1307
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
1308
|
+
|
1177
1309
|
end
|
1178
1310
|
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.
|
4
|
+
version: 1.9.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-03-
|
11
|
+
date: 2019-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|