aws-sdk-cognitoidentity 1.70.0 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cognitoidentity/client.rb +52 -30
- data/lib/aws-sdk-cognitoidentity/types.rb +23 -14
- data/lib/aws-sdk-cognitoidentity.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5f61ccb65e8ce4ab78db485d12bc2c2a6700350e0fdaa248774f00a62f6f7ca
|
4
|
+
data.tar.gz: 70b58d7b16d8f5c91b46966bb864972d8bba629e59fd2f8079d24ab3dd9d3784
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88dd0618536cd7c246684ef5c802b4dcd81462c25ac58ab3863322399aa6ccbd396b19eefbaf90a1225d3740d71b0cfddeddb8ead018cd1f872d3c3a1fe1801e
|
7
|
+
data.tar.gz: 753d69e6f23bbbeec6415c1f0cc8909f856eaf636b0ae6c6ca6bdd09a938270b8a09eff87050c39e9d8a42e052484dffee3972682106d9ee0108adf4030d7e41
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.71.0
|
@@ -478,20 +478,26 @@ module Aws::CognitoIdentity
|
|
478
478
|
# @!group API Operations
|
479
479
|
|
480
480
|
# Creates a new identity pool. The identity pool is a store of user
|
481
|
-
# identity information that is specific to your
|
482
|
-
# for `SupportedLoginProviders` are as follows:
|
481
|
+
# identity information that is specific to your Amazon Web Services
|
482
|
+
# account. The keys for `SupportedLoginProviders` are as follows:
|
483
483
|
#
|
484
484
|
# * Facebook: `graph.facebook.com`
|
485
485
|
#
|
486
486
|
# * Google: `accounts.google.com`
|
487
487
|
#
|
488
|
+
# * Sign in With Apple: `appleid.apple.com`
|
489
|
+
#
|
488
490
|
# * Amazon: `www.amazon.com`
|
489
491
|
#
|
490
492
|
# * Twitter: `api.twitter.com`
|
491
493
|
#
|
492
494
|
# * Digits: `www.digits.com`
|
493
495
|
#
|
494
|
-
#
|
496
|
+
# If you don't provide a value for a parameter, Amazon Cognito sets it
|
497
|
+
# to its default value.
|
498
|
+
#
|
499
|
+
# You must use Amazon Web Services developer credentials to call this
|
500
|
+
# operation.
|
495
501
|
#
|
496
502
|
# @option params [required, String] :identity_pool_name
|
497
503
|
# A string that you provide.
|
@@ -605,7 +611,8 @@ module Aws::CognitoIdentity
|
|
605
611
|
# Deletes identities from an identity pool. You can specify a list of
|
606
612
|
# 1-60 identities that you want to delete.
|
607
613
|
#
|
608
|
-
# You must use
|
614
|
+
# You must use Amazon Web Services developer credentials to call this
|
615
|
+
# operation.
|
609
616
|
#
|
610
617
|
# @option params [required, Array<String>] :identity_ids_to_delete
|
611
618
|
# A list of 1-60 identities that you want to delete.
|
@@ -638,7 +645,8 @@ module Aws::CognitoIdentity
|
|
638
645
|
# Deletes an identity pool. Once a pool is deleted, users will not be
|
639
646
|
# able to authenticate with the pool.
|
640
647
|
#
|
641
|
-
# You must use
|
648
|
+
# You must use Amazon Web Services developer credentials to call this
|
649
|
+
# operation.
|
642
650
|
#
|
643
651
|
# @option params [required, String] :identity_pool_id
|
644
652
|
# An identity pool ID in the format REGION:GUID.
|
@@ -663,7 +671,8 @@ module Aws::CognitoIdentity
|
|
663
671
|
# Returns metadata related to the given identity, including when the
|
664
672
|
# identity was created and any associated linked logins.
|
665
673
|
#
|
666
|
-
# You must use
|
674
|
+
# You must use Amazon Web Services developer credentials to call this
|
675
|
+
# operation.
|
667
676
|
#
|
668
677
|
# @option params [required, String] :identity_id
|
669
678
|
# A unique identifier in the format REGION:GUID.
|
@@ -701,7 +710,8 @@ module Aws::CognitoIdentity
|
|
701
710
|
# Gets details about a particular identity pool, including the pool
|
702
711
|
# name, ID description, creation date, and current number of users.
|
703
712
|
#
|
704
|
-
# You must use
|
713
|
+
# You must use Amazon Web Services developer credentials to call this
|
714
|
+
# operation.
|
705
715
|
#
|
706
716
|
# @option params [required, String] :identity_pool_id
|
707
717
|
# An identity pool ID in the format REGION:GUID.
|
@@ -756,7 +766,7 @@ module Aws::CognitoIdentity
|
|
756
766
|
|
757
767
|
# Returns credentials for the provided identity ID. Any provided logins
|
758
768
|
# will be validated against supported login providers. If the token is
|
759
|
-
# for cognito-identity.amazonaws.com
|
769
|
+
# for `cognito-identity.amazonaws.com`, it will be passed through to
|
760
770
|
# Security Token Service with the appropriate role for the token.
|
761
771
|
#
|
762
772
|
# This is a public API. You do not need any credentials to call this
|
@@ -820,14 +830,14 @@ module Aws::CognitoIdentity
|
|
820
830
|
req.send_request(options)
|
821
831
|
end
|
822
832
|
|
823
|
-
# Generates (or retrieves)
|
833
|
+
# Generates (or retrieves) IdentityID. Supplying multiple logins will
|
824
834
|
# create an implicit linked account.
|
825
835
|
#
|
826
836
|
# This is a public API. You do not need any credentials to call this
|
827
837
|
# API.
|
828
838
|
#
|
829
839
|
# @option params [String] :account_id
|
830
|
-
# A standard
|
840
|
+
# A standard Amazon Web Services account ID (9+ digits).
|
831
841
|
#
|
832
842
|
# @option params [required, String] :identity_pool_id
|
833
843
|
# An identity pool ID in the format REGION:GUID.
|
@@ -879,7 +889,8 @@ module Aws::CognitoIdentity
|
|
879
889
|
|
880
890
|
# Gets the roles for an identity pool.
|
881
891
|
#
|
882
|
-
# You must use
|
892
|
+
# You must use Amazon Web Services developer credentials to call this
|
893
|
+
# operation.
|
883
894
|
#
|
884
895
|
# @option params [required, String] :identity_pool_id
|
885
896
|
# An identity pool ID in the format REGION:GUID.
|
@@ -982,7 +993,8 @@ module Aws::CognitoIdentity
|
|
982
993
|
# existing `IdentityId`. This API will create the identity in the
|
983
994
|
# specified `IdentityPoolId`.
|
984
995
|
#
|
985
|
-
# You must use
|
996
|
+
# You must use Amazon Web Services developer credentials to call this
|
997
|
+
# operation.
|
986
998
|
#
|
987
999
|
# @option params [required, String] :identity_pool_id
|
988
1000
|
# An identity pool ID in the format REGION:GUID.
|
@@ -1010,12 +1022,12 @@ module Aws::CognitoIdentity
|
|
1010
1022
|
# The expiration time of the token, in seconds. You can specify a custom
|
1011
1023
|
# expiration time for the token so that you can cache it. If you don't
|
1012
1024
|
# provide an expiration time, the token is valid for 15 minutes. You can
|
1013
|
-
# exchange the token with Amazon STS for temporary
|
1014
|
-
# which are valid for a maximum of one hour. The maximum
|
1015
|
-
# you can set is 24 hours. You should take care in
|
1016
|
-
# expiration time for a token, as there are significant
|
1017
|
-
# implications: an attacker could use a leaked token to access
|
1018
|
-
# resources for the token's duration.
|
1025
|
+
# exchange the token with Amazon STS for temporary Amazon Web Services
|
1026
|
+
# credentials, which are valid for a maximum of one hour. The maximum
|
1027
|
+
# token duration you can set is 24 hours. You should take care in
|
1028
|
+
# setting the expiration time for a token, as there are significant
|
1029
|
+
# security implications: an attacker could use a leaked token to access
|
1030
|
+
# your Amazon Web Services resources for the token's duration.
|
1019
1031
|
#
|
1020
1032
|
# <note markdown="1"> Please provide for a small grace period, usually no more than 5
|
1021
1033
|
# minutes, to account for clock skew.
|
@@ -1098,7 +1110,8 @@ module Aws::CognitoIdentity
|
|
1098
1110
|
|
1099
1111
|
# Lists the identities in an identity pool.
|
1100
1112
|
#
|
1101
|
-
# You must use
|
1113
|
+
# You must use Amazon Web Services developer credentials to call this
|
1114
|
+
# operation.
|
1102
1115
|
#
|
1103
1116
|
# @option params [required, String] :identity_pool_id
|
1104
1117
|
# An identity pool ID in the format REGION:GUID.
|
@@ -1151,7 +1164,8 @@ module Aws::CognitoIdentity
|
|
1151
1164
|
|
1152
1165
|
# Lists all of the Cognito identity pools registered for your account.
|
1153
1166
|
#
|
1154
|
-
# You must use
|
1167
|
+
# You must use Amazon Web Services developer credentials to call this
|
1168
|
+
# operation.
|
1155
1169
|
#
|
1156
1170
|
# @option params [required, Integer] :max_results
|
1157
1171
|
# The maximum number of identities to return.
|
@@ -1233,7 +1247,7 @@ module Aws::CognitoIdentity
|
|
1233
1247
|
# returned as a part of the response. If you supply both,
|
1234
1248
|
# `DeveloperUserIdentifier` will be matched against `IdentityID`. If the
|
1235
1249
|
# values are verified against the database, the response returns both
|
1236
|
-
# values and is the same as the request. Otherwise a
|
1250
|
+
# values and is the same as the request. Otherwise, a
|
1237
1251
|
# `ResourceConflictException` is thrown.
|
1238
1252
|
#
|
1239
1253
|
# `LookupDeveloperIdentity` is intended for low-throughput control plane
|
@@ -1243,7 +1257,8 @@ module Aws::CognitoIdentity
|
|
1243
1257
|
# throttled. GetOpenIdTokenForDeveloperIdentity is a better option for
|
1244
1258
|
# higher-volume operations for user authentication.
|
1245
1259
|
#
|
1246
|
-
# You must use
|
1260
|
+
# You must use Amazon Web Services developer credentials to call this
|
1261
|
+
# operation.
|
1247
1262
|
#
|
1248
1263
|
# @option params [required, String] :identity_pool_id
|
1249
1264
|
# An identity pool ID in the format REGION:GUID.
|
@@ -1315,7 +1330,8 @@ module Aws::CognitoIdentity
|
|
1315
1330
|
# destination user, `DestinationUserIdentifier`, together should not be
|
1316
1331
|
# larger than 20. Otherwise, an exception will be thrown.
|
1317
1332
|
#
|
1318
|
-
# You must use
|
1333
|
+
# You must use Amazon Web Services developer credentials to call this
|
1334
|
+
# operation.
|
1319
1335
|
#
|
1320
1336
|
# @option params [required, String] :source_user_identifier
|
1321
1337
|
# User identifier for the source user. The value should be a
|
@@ -1365,7 +1381,8 @@ module Aws::CognitoIdentity
|
|
1365
1381
|
# Sets the roles for an identity pool. These roles are used when making
|
1366
1382
|
# calls to GetCredentialsForIdentity action.
|
1367
1383
|
#
|
1368
|
-
# You must use
|
1384
|
+
# You must use Amazon Web Services developer credentials to call this
|
1385
|
+
# operation.
|
1369
1386
|
#
|
1370
1387
|
# @option params [required, String] :identity_pool_id
|
1371
1388
|
# An identity pool ID in the format REGION:GUID.
|
@@ -1378,8 +1395,8 @@ module Aws::CognitoIdentity
|
|
1378
1395
|
# @option params [Hash<String,Types::RoleMapping>] :role_mappings
|
1379
1396
|
# How users for a specific identity provider are to mapped to roles.
|
1380
1397
|
# This is a string to RoleMapping object map. The string identifies the
|
1381
|
-
# identity provider, for example,
|
1382
|
-
#
|
1398
|
+
# identity provider, for example, `graph.facebook.com` or
|
1399
|
+
# `cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id`.
|
1383
1400
|
#
|
1384
1401
|
# Up to 25 rules can be specified per identity provider.
|
1385
1402
|
#
|
@@ -1523,7 +1540,8 @@ module Aws::CognitoIdentity
|
|
1523
1540
|
# federated identities as well as the developer user identifier, the
|
1524
1541
|
# Cognito identity becomes inaccessible.
|
1525
1542
|
#
|
1526
|
-
# You must use
|
1543
|
+
# You must use Amazon Web Services developer credentials to call this
|
1544
|
+
# operation.
|
1527
1545
|
#
|
1528
1546
|
# @option params [required, String] :identity_id
|
1529
1547
|
# A unique identifier in the format REGION:GUID.
|
@@ -1623,9 +1641,13 @@ module Aws::CognitoIdentity
|
|
1623
1641
|
req.send_request(options)
|
1624
1642
|
end
|
1625
1643
|
|
1626
|
-
# Updates an identity pool.
|
1644
|
+
# Updates the configuration of an identity pool.
|
1645
|
+
#
|
1646
|
+
# If you don't provide a value for a parameter, Amazon Cognito sets it
|
1647
|
+
# to its default value.
|
1627
1648
|
#
|
1628
|
-
# You must use
|
1649
|
+
# You must use Amazon Web Services developer credentials to call this
|
1650
|
+
# operation.
|
1629
1651
|
#
|
1630
1652
|
# @option params [required, String] :identity_pool_id
|
1631
1653
|
# An identity pool ID in the format REGION:GUID.
|
@@ -1752,7 +1774,7 @@ module Aws::CognitoIdentity
|
|
1752
1774
|
tracer: tracer
|
1753
1775
|
)
|
1754
1776
|
context[:gem_name] = 'aws-sdk-cognitoidentity'
|
1755
|
-
context[:gem_version] = '1.
|
1777
|
+
context[:gem_version] = '1.71.0'
|
1756
1778
|
Seahorse::Client::Request.new(handlers, context)
|
1757
1779
|
end
|
1758
1780
|
|
@@ -28,8 +28,8 @@ module Aws::CognitoIdentity
|
|
28
28
|
# Once you set `ServerSideTokenCheck` to TRUE for an identity pool,
|
29
29
|
# that identity pool will check with the integrated user pools to make
|
30
30
|
# sure that the user has not been globally signed out or deleted
|
31
|
-
# before the identity pool provides an OIDC token or
|
32
|
-
# for the user.
|
31
|
+
# before the identity pool provides an OIDC token or Amazon Web
|
32
|
+
# Services credentials for the user.
|
33
33
|
#
|
34
34
|
# If the user is signed out or deleted, the identity pool will return
|
35
35
|
# a 400 Not Authorized error.
|
@@ -324,7 +324,7 @@ module Aws::CognitoIdentity
|
|
324
324
|
# Input to the GetId action.
|
325
325
|
#
|
326
326
|
# @!attribute [rw] account_id
|
327
|
-
# A standard
|
327
|
+
# A standard Amazon Web Services account ID (9+ digits).
|
328
328
|
# @return [String]
|
329
329
|
#
|
330
330
|
# @!attribute [rw] identity_pool_id
|
@@ -404,8 +404,8 @@ module Aws::CognitoIdentity
|
|
404
404
|
# @!attribute [rw] role_mappings
|
405
405
|
# How users for a specific identity provider are to mapped to roles.
|
406
406
|
# This is a String-to-RoleMapping object map. The string identifies
|
407
|
-
# the identity provider, for example,
|
408
|
-
#
|
407
|
+
# the identity provider, for example, `graph.facebook.com` or
|
408
|
+
# `cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id`.
|
409
409
|
# @return [Hash<String,Types::RoleMapping>]
|
410
410
|
#
|
411
411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRolesResponse AWS API Documentation
|
@@ -451,11 +451,12 @@ module Aws::CognitoIdentity
|
|
451
451
|
# custom expiration time for the token so that you can cache it. If
|
452
452
|
# you don't provide an expiration time, the token is valid for 15
|
453
453
|
# minutes. You can exchange the token with Amazon STS for temporary
|
454
|
-
#
|
455
|
-
# maximum token duration you can set is 24 hours. You
|
456
|
-
# in setting the expiration time for a token, as
|
457
|
-
# security implications: an attacker could use a
|
458
|
-
# access your
|
454
|
+
# Amazon Web Services credentials, which are valid for a maximum of
|
455
|
+
# one hour. The maximum token duration you can set is 24 hours. You
|
456
|
+
# should take care in setting the expiration time for a token, as
|
457
|
+
# there are significant security implications: an attacker could use a
|
458
|
+
# leaked token to access your Amazon Web Services resources for the
|
459
|
+
# token's duration.
|
459
460
|
#
|
460
461
|
# <note markdown="1"> Please provide for a small grace period, usually no more than 5
|
461
462
|
# minutes, to account for clock skew.
|
@@ -718,8 +719,16 @@ module Aws::CognitoIdentity
|
|
718
719
|
include Aws::Structure
|
719
720
|
end
|
720
721
|
|
721
|
-
#
|
722
|
-
#
|
722
|
+
# If you provided authentication information in the request, the
|
723
|
+
# identity pool has no authenticated role configured, or STS returned an
|
724
|
+
# error response to the request to assume the authenticated role from
|
725
|
+
# the identity pool. If you provided no authentication information in
|
726
|
+
# the request, the identity pool has no unauthenticated role configured,
|
727
|
+
# or STS returned an error response to the request to assume the
|
728
|
+
# unauthenticated role from the identity pool.
|
729
|
+
#
|
730
|
+
# Your role trust policy must grant `AssumeRoleWithWebIdentity`
|
731
|
+
# permissions to `cognito-identity.amazonaws.com`.
|
723
732
|
#
|
724
733
|
# @!attribute [rw] message
|
725
734
|
# The message returned for an
|
@@ -1152,8 +1161,8 @@ module Aws::CognitoIdentity
|
|
1152
1161
|
# @!attribute [rw] role_mappings
|
1153
1162
|
# How users for a specific identity provider are to mapped to roles.
|
1154
1163
|
# This is a string to RoleMapping object map. The string identifies
|
1155
|
-
# the identity provider, for example,
|
1156
|
-
#
|
1164
|
+
# the identity provider, for example, `graph.facebook.com` or
|
1165
|
+
# `cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id`.
|
1157
1166
|
#
|
1158
1167
|
# Up to 25 rules can be specified per identity provider.
|
1159
1168
|
# @return [Hash<String,Types::RoleMapping>]
|
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.71.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: 2025-
|
11
|
+
date: 2025-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|