aws-sdk-cognitoidentityprovider 1.38.0 → 1.43.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-cognitoidentityprovider.rb +3 -1
- data/lib/aws-sdk-cognitoidentityprovider/client.rb +178 -95
- data/lib/aws-sdk-cognitoidentityprovider/client_api.rb +23 -0
- data/lib/aws-sdk-cognitoidentityprovider/customizations.rb +1 -0
- data/lib/aws-sdk-cognitoidentityprovider/errors.rb +2 -0
- data/lib/aws-sdk-cognitoidentityprovider/resource.rb +2 -0
- data/lib/aws-sdk-cognitoidentityprovider/types.rb +505 -121
- metadata +2 -2
@@ -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:
|
@@ -12,6 +14,7 @@ module Aws::CognitoIdentityProvider
|
|
12
14
|
include Seahorse::Model
|
13
15
|
|
14
16
|
AWSAccountIdType = Shapes::StringShape.new(name: 'AWSAccountIdType')
|
17
|
+
AccessTokenValidityType = Shapes::IntegerShape.new(name: 'AccessTokenValidityType')
|
15
18
|
AccountRecoverySettingType = Shapes::StructureShape.new(name: 'AccountRecoverySettingType')
|
16
19
|
AccountTakeoverActionNotifyType = Shapes::BooleanShape.new(name: 'AccountTakeoverActionNotifyType')
|
17
20
|
AccountTakeoverActionType = Shapes::StructureShape.new(name: 'AccountTakeoverActionType')
|
@@ -241,6 +244,7 @@ module Aws::CognitoIdentityProvider
|
|
241
244
|
HexStringType = Shapes::StringShape.new(name: 'HexStringType')
|
242
245
|
HttpHeader = Shapes::StructureShape.new(name: 'HttpHeader')
|
243
246
|
HttpHeaderList = Shapes::ListShape.new(name: 'HttpHeaderList')
|
247
|
+
IdTokenValidityType = Shapes::IntegerShape.new(name: 'IdTokenValidityType')
|
244
248
|
IdentityProviderType = Shapes::StructureShape.new(name: 'IdentityProviderType')
|
245
249
|
IdentityProviderTypeType = Shapes::StringShape.new(name: 'IdentityProviderTypeType')
|
246
250
|
IdpIdentifierType = Shapes::StringShape.new(name: 'IdpIdentifierType')
|
@@ -387,7 +391,9 @@ module Aws::CognitoIdentityProvider
|
|
387
391
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
388
392
|
TagValueType = Shapes::StringShape.new(name: 'TagValueType')
|
389
393
|
TemporaryPasswordValidityDaysType = Shapes::IntegerShape.new(name: 'TemporaryPasswordValidityDaysType')
|
394
|
+
TimeUnitsType = Shapes::StringShape.new(name: 'TimeUnitsType')
|
390
395
|
TokenModelType = Shapes::StringShape.new(name: 'TokenModelType')
|
396
|
+
TokenValidityUnitsType = Shapes::StructureShape.new(name: 'TokenValidityUnitsType')
|
391
397
|
TooManyFailedAttemptsException = Shapes::StructureShape.new(name: 'TooManyFailedAttemptsException')
|
392
398
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
393
399
|
UICustomizationType = Shapes::StructureShape.new(name: 'UICustomizationType')
|
@@ -891,6 +897,9 @@ module Aws::CognitoIdentityProvider
|
|
891
897
|
CreateUserPoolClientRequest.add_member(:client_name, Shapes::ShapeRef.new(shape: ClientNameType, required: true, location_name: "ClientName"))
|
892
898
|
CreateUserPoolClientRequest.add_member(:generate_secret, Shapes::ShapeRef.new(shape: GenerateSecret, location_name: "GenerateSecret"))
|
893
899
|
CreateUserPoolClientRequest.add_member(:refresh_token_validity, Shapes::ShapeRef.new(shape: RefreshTokenValidityType, location_name: "RefreshTokenValidity"))
|
900
|
+
CreateUserPoolClientRequest.add_member(:access_token_validity, Shapes::ShapeRef.new(shape: AccessTokenValidityType, location_name: "AccessTokenValidity"))
|
901
|
+
CreateUserPoolClientRequest.add_member(:id_token_validity, Shapes::ShapeRef.new(shape: IdTokenValidityType, location_name: "IdTokenValidity"))
|
902
|
+
CreateUserPoolClientRequest.add_member(:token_validity_units, Shapes::ShapeRef.new(shape: TokenValidityUnitsType, location_name: "TokenValidityUnits"))
|
894
903
|
CreateUserPoolClientRequest.add_member(:read_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "ReadAttributes"))
|
895
904
|
CreateUserPoolClientRequest.add_member(:write_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "WriteAttributes"))
|
896
905
|
CreateUserPoolClientRequest.add_member(:explicit_auth_flows, Shapes::ShapeRef.new(shape: ExplicitAuthFlowsListType, location_name: "ExplicitAuthFlows"))
|
@@ -1620,6 +1629,11 @@ module Aws::CognitoIdentityProvider
|
|
1620
1629
|
|
1621
1630
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1622
1631
|
|
1632
|
+
TokenValidityUnitsType.add_member(:access_token, Shapes::ShapeRef.new(shape: TimeUnitsType, location_name: "AccessToken"))
|
1633
|
+
TokenValidityUnitsType.add_member(:id_token, Shapes::ShapeRef.new(shape: TimeUnitsType, location_name: "IdToken"))
|
1634
|
+
TokenValidityUnitsType.add_member(:refresh_token, Shapes::ShapeRef.new(shape: TimeUnitsType, location_name: "RefreshToken"))
|
1635
|
+
TokenValidityUnitsType.struct_class = Types::TokenValidityUnitsType
|
1636
|
+
|
1623
1637
|
TooManyFailedAttemptsException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
|
1624
1638
|
TooManyFailedAttemptsException.struct_class = Types::TooManyFailedAttemptsException
|
1625
1639
|
|
@@ -1707,6 +1721,9 @@ module Aws::CognitoIdentityProvider
|
|
1707
1721
|
UpdateUserPoolClientRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, required: true, location_name: "ClientId"))
|
1708
1722
|
UpdateUserPoolClientRequest.add_member(:client_name, Shapes::ShapeRef.new(shape: ClientNameType, location_name: "ClientName"))
|
1709
1723
|
UpdateUserPoolClientRequest.add_member(:refresh_token_validity, Shapes::ShapeRef.new(shape: RefreshTokenValidityType, location_name: "RefreshTokenValidity"))
|
1724
|
+
UpdateUserPoolClientRequest.add_member(:access_token_validity, Shapes::ShapeRef.new(shape: AccessTokenValidityType, location_name: "AccessTokenValidity"))
|
1725
|
+
UpdateUserPoolClientRequest.add_member(:id_token_validity, Shapes::ShapeRef.new(shape: IdTokenValidityType, location_name: "IdTokenValidity"))
|
1726
|
+
UpdateUserPoolClientRequest.add_member(:token_validity_units, Shapes::ShapeRef.new(shape: TokenValidityUnitsType, location_name: "TokenValidityUnits"))
|
1710
1727
|
UpdateUserPoolClientRequest.add_member(:read_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "ReadAttributes"))
|
1711
1728
|
UpdateUserPoolClientRequest.add_member(:write_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "WriteAttributes"))
|
1712
1729
|
UpdateUserPoolClientRequest.add_member(:explicit_auth_flows, Shapes::ShapeRef.new(shape: ExplicitAuthFlowsListType, location_name: "ExplicitAuthFlows"))
|
@@ -1807,6 +1824,9 @@ module Aws::CognitoIdentityProvider
|
|
1807
1824
|
UserPoolClientType.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "LastModifiedDate"))
|
1808
1825
|
UserPoolClientType.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "CreationDate"))
|
1809
1826
|
UserPoolClientType.add_member(:refresh_token_validity, Shapes::ShapeRef.new(shape: RefreshTokenValidityType, location_name: "RefreshTokenValidity"))
|
1827
|
+
UserPoolClientType.add_member(:access_token_validity, Shapes::ShapeRef.new(shape: AccessTokenValidityType, location_name: "AccessTokenValidity"))
|
1828
|
+
UserPoolClientType.add_member(:id_token_validity, Shapes::ShapeRef.new(shape: IdTokenValidityType, location_name: "IdTokenValidity"))
|
1829
|
+
UserPoolClientType.add_member(:token_validity_units, Shapes::ShapeRef.new(shape: TokenValidityUnitsType, location_name: "TokenValidityUnits"))
|
1810
1830
|
UserPoolClientType.add_member(:read_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "ReadAttributes"))
|
1811
1831
|
UserPoolClientType.add_member(:write_attributes, Shapes::ShapeRef.new(shape: ClientPermissionListType, location_name: "WriteAttributes"))
|
1812
1832
|
UserPoolClientType.add_member(:explicit_auth_flows, Shapes::ShapeRef.new(shape: ExplicitAuthFlowsListType, location_name: "ExplicitAuthFlows"))
|
@@ -2395,6 +2415,7 @@ module Aws::CognitoIdentityProvider
|
|
2395
2415
|
o.http_request_uri = "/"
|
2396
2416
|
o.input = Shapes::ShapeRef.new(shape: AssociateSoftwareTokenRequest)
|
2397
2417
|
o.output = Shapes::ShapeRef.new(shape: AssociateSoftwareTokenResponse)
|
2418
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
2398
2419
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2399
2420
|
o.errors << Shapes::ShapeRef.new(shape: NotAuthorizedException)
|
2400
2421
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -2993,6 +3014,7 @@ module Aws::CognitoIdentityProvider
|
|
2993
3014
|
o.name = "InitiateAuth"
|
2994
3015
|
o.http_method = "POST"
|
2995
3016
|
o.http_request_uri = "/"
|
3017
|
+
o['authtype'] = "none"
|
2996
3018
|
o.input = Shapes::ShapeRef.new(shape: InitiateAuthRequest)
|
2997
3019
|
o.output = Shapes::ShapeRef.new(shape: InitiateAuthResponse)
|
2998
3020
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -3213,6 +3235,7 @@ module Aws::CognitoIdentityProvider
|
|
3213
3235
|
o.name = "RespondToAuthChallenge"
|
3214
3236
|
o.http_method = "POST"
|
3215
3237
|
o.http_request_uri = "/"
|
3238
|
+
o['authtype'] = "none"
|
3216
3239
|
o.input = Shapes::ShapeRef.new(shape: RespondToAuthChallengeRequest)
|
3217
3240
|
o.output = Shapes::ShapeRef.new(shape: RespondToAuthChallengeResponse)
|
3218
3241
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
@@ -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:
|
@@ -30,6 +32,7 @@ module Aws::CognitoIdentityProvider
|
|
30
32
|
#
|
31
33
|
class AccountRecoverySettingType < Struct.new(
|
32
34
|
:recovery_mechanisms)
|
35
|
+
SENSITIVE = []
|
33
36
|
include Aws::Structure
|
34
37
|
end
|
35
38
|
|
@@ -66,6 +69,7 @@ module Aws::CognitoIdentityProvider
|
|
66
69
|
class AccountTakeoverActionType < Struct.new(
|
67
70
|
:notify,
|
68
71
|
:event_action)
|
72
|
+
SENSITIVE = []
|
69
73
|
include Aws::Structure
|
70
74
|
end
|
71
75
|
|
@@ -107,6 +111,7 @@ module Aws::CognitoIdentityProvider
|
|
107
111
|
:low_action,
|
108
112
|
:medium_action,
|
109
113
|
:high_action)
|
114
|
+
SENSITIVE = []
|
110
115
|
include Aws::Structure
|
111
116
|
end
|
112
117
|
|
@@ -166,6 +171,7 @@ module Aws::CognitoIdentityProvider
|
|
166
171
|
class AccountTakeoverRiskConfigurationType < Struct.new(
|
167
172
|
:notify_configuration,
|
168
173
|
:actions)
|
174
|
+
SENSITIVE = []
|
169
175
|
include Aws::Structure
|
170
176
|
end
|
171
177
|
|
@@ -209,6 +215,7 @@ module Aws::CognitoIdentityProvider
|
|
209
215
|
class AddCustomAttributesRequest < Struct.new(
|
210
216
|
:user_pool_id,
|
211
217
|
:custom_attributes)
|
218
|
+
SENSITIVE = []
|
212
219
|
include Aws::Structure
|
213
220
|
end
|
214
221
|
|
@@ -246,6 +253,7 @@ module Aws::CognitoIdentityProvider
|
|
246
253
|
:user_pool_id,
|
247
254
|
:username,
|
248
255
|
:group_name)
|
256
|
+
SENSITIVE = [:username]
|
249
257
|
include Aws::Structure
|
250
258
|
end
|
251
259
|
|
@@ -314,6 +322,7 @@ module Aws::CognitoIdentityProvider
|
|
314
322
|
:user_pool_id,
|
315
323
|
:username,
|
316
324
|
:client_metadata)
|
325
|
+
SENSITIVE = [:username]
|
317
326
|
include Aws::Structure
|
318
327
|
end
|
319
328
|
|
@@ -375,6 +384,7 @@ module Aws::CognitoIdentityProvider
|
|
375
384
|
:allow_admin_create_user_only,
|
376
385
|
:unused_account_validity_days,
|
377
386
|
:invite_message_template)
|
387
|
+
SENSITIVE = []
|
378
388
|
include Aws::Structure
|
379
389
|
end
|
380
390
|
|
@@ -421,10 +431,11 @@ module Aws::CognitoIdentityProvider
|
|
421
431
|
# An array of name-value pairs that contain user attributes and
|
422
432
|
# attribute values to be set for the user to be created. You can
|
423
433
|
# create a user without specifying any attributes other than
|
424
|
-
# `Username`. However, any attributes that you specify as required
|
425
|
-
# or in the **Attributes** tab of the
|
426
|
-
# by you (in your call to
|
427
|
-
# or
|
434
|
+
# `Username`. However, any attributes that you specify as required
|
435
|
+
# (when creating a user pool or in the **Attributes** tab of the
|
436
|
+
# console) must be supplied either by you (in your call to
|
437
|
+
# `AdminCreateUser`) or by the user (when he or she signs up in
|
438
|
+
# response to your welcome message).
|
428
439
|
#
|
429
440
|
# For custom attributes, you must prepend the `custom:` prefix to the
|
430
441
|
# attribute name.
|
@@ -436,7 +447,8 @@ module Aws::CognitoIdentityProvider
|
|
436
447
|
#
|
437
448
|
# In your call to `AdminCreateUser`, you can set the `email_verified`
|
438
449
|
# attribute to `True`, and you can set the `phone_number_verified`
|
439
|
-
# attribute to `True`. (You can also do this by calling
|
450
|
+
# attribute to `True`. (You can also do this by calling
|
451
|
+
# [AdminUpdateUserAttributes][1].)
|
440
452
|
#
|
441
453
|
# * **email**\: The email address of the user to whom the message that
|
442
454
|
# contains the code and username will be sent. Required if the
|
@@ -447,6 +459,10 @@ module Aws::CognitoIdentityProvider
|
|
447
459
|
# message that contains the code and username will be sent. Required
|
448
460
|
# if the `phone_number_verified` attribute is set to `True`, or if
|
449
461
|
# `"SMS"` is specified in the `DesiredDeliveryMediums` parameter.
|
462
|
+
#
|
463
|
+
#
|
464
|
+
#
|
465
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminUpdateUserAttributes.html
|
450
466
|
# @return [Array<Types::AttributeType>]
|
451
467
|
#
|
452
468
|
# @!attribute [rw] validation_data
|
@@ -563,6 +579,7 @@ module Aws::CognitoIdentityProvider
|
|
563
579
|
:message_action,
|
564
580
|
:desired_delivery_mediums,
|
565
581
|
:client_metadata)
|
582
|
+
SENSITIVE = [:username, :temporary_password]
|
566
583
|
include Aws::Structure
|
567
584
|
end
|
568
585
|
|
@@ -577,6 +594,7 @@ module Aws::CognitoIdentityProvider
|
|
577
594
|
#
|
578
595
|
class AdminCreateUserResponse < Struct.new(
|
579
596
|
:user)
|
597
|
+
SENSITIVE = []
|
580
598
|
include Aws::Structure
|
581
599
|
end
|
582
600
|
|
@@ -615,6 +633,7 @@ module Aws::CognitoIdentityProvider
|
|
615
633
|
:user_pool_id,
|
616
634
|
:username,
|
617
635
|
:user_attribute_names)
|
636
|
+
SENSITIVE = [:username]
|
618
637
|
include Aws::Structure
|
619
638
|
end
|
620
639
|
|
@@ -649,6 +668,7 @@ module Aws::CognitoIdentityProvider
|
|
649
668
|
class AdminDeleteUserRequest < Struct.new(
|
650
669
|
:user_pool_id,
|
651
670
|
:username)
|
671
|
+
SENSITIVE = [:username]
|
652
672
|
include Aws::Structure
|
653
673
|
end
|
654
674
|
|
@@ -677,6 +697,7 @@ module Aws::CognitoIdentityProvider
|
|
677
697
|
class AdminDisableProviderForUserRequest < Struct.new(
|
678
698
|
:user_pool_id,
|
679
699
|
:user)
|
700
|
+
SENSITIVE = []
|
680
701
|
include Aws::Structure
|
681
702
|
end
|
682
703
|
|
@@ -708,6 +729,7 @@ module Aws::CognitoIdentityProvider
|
|
708
729
|
class AdminDisableUserRequest < Struct.new(
|
709
730
|
:user_pool_id,
|
710
731
|
:username)
|
732
|
+
SENSITIVE = [:username]
|
711
733
|
include Aws::Structure
|
712
734
|
end
|
713
735
|
|
@@ -742,6 +764,7 @@ module Aws::CognitoIdentityProvider
|
|
742
764
|
class AdminEnableUserRequest < Struct.new(
|
743
765
|
:user_pool_id,
|
744
766
|
:username)
|
767
|
+
SENSITIVE = [:username]
|
745
768
|
include Aws::Structure
|
746
769
|
end
|
747
770
|
|
@@ -781,6 +804,7 @@ module Aws::CognitoIdentityProvider
|
|
781
804
|
:user_pool_id,
|
782
805
|
:username,
|
783
806
|
:device_key)
|
807
|
+
SENSITIVE = [:username]
|
784
808
|
include Aws::Structure
|
785
809
|
end
|
786
810
|
|
@@ -813,6 +837,7 @@ module Aws::CognitoIdentityProvider
|
|
813
837
|
:device_key,
|
814
838
|
:user_pool_id,
|
815
839
|
:username)
|
840
|
+
SENSITIVE = [:username]
|
816
841
|
include Aws::Structure
|
817
842
|
end
|
818
843
|
|
@@ -826,6 +851,7 @@ module Aws::CognitoIdentityProvider
|
|
826
851
|
#
|
827
852
|
class AdminGetDeviceResponse < Struct.new(
|
828
853
|
:device)
|
854
|
+
SENSITIVE = []
|
829
855
|
include Aws::Structure
|
830
856
|
end
|
831
857
|
|
@@ -853,6 +879,7 @@ module Aws::CognitoIdentityProvider
|
|
853
879
|
class AdminGetUserRequest < Struct.new(
|
854
880
|
:user_pool_id,
|
855
881
|
:username)
|
882
|
+
SENSITIVE = [:username]
|
856
883
|
include Aws::Structure
|
857
884
|
end
|
858
885
|
|
@@ -905,8 +932,8 @@ module Aws::CognitoIdentityProvider
|
|
905
932
|
# *This response parameter is no longer supported.* It provides
|
906
933
|
# information only about SMS MFA configurations. It doesn't provide
|
907
934
|
# information about TOTP software token MFA configurations. To look up
|
908
|
-
# information about either type of MFA configuration, use
|
909
|
-
#
|
935
|
+
# information about either type of MFA configuration, use
|
936
|
+
# UserMFASettingList instead.
|
910
937
|
# @return [Array<Types::MFAOptionType>]
|
911
938
|
#
|
912
939
|
# @!attribute [rw] preferred_mfa_setting
|
@@ -930,6 +957,7 @@ module Aws::CognitoIdentityProvider
|
|
930
957
|
:mfa_options,
|
931
958
|
:preferred_mfa_setting,
|
932
959
|
:user_mfa_setting_list)
|
960
|
+
SENSITIVE = [:username]
|
933
961
|
include Aws::Structure
|
934
962
|
end
|
935
963
|
|
@@ -1020,18 +1048,20 @@ module Aws::CognitoIdentityProvider
|
|
1020
1048
|
#
|
1021
1049
|
# * For `USER_SRP_AUTH`\: `USERNAME` (required), `SRP_A` (required),
|
1022
1050
|
# `SECRET_HASH` (required if the app client is configured with a
|
1023
|
-
# client secret), `DEVICE_KEY
|
1051
|
+
# client secret), `DEVICE_KEY`.
|
1024
1052
|
#
|
1025
1053
|
# * For `REFRESH_TOKEN_AUTH/REFRESH_TOKEN`\: `REFRESH_TOKEN`
|
1026
1054
|
# (required), `SECRET_HASH` (required if the app client is
|
1027
|
-
# configured with a client secret), `DEVICE_KEY
|
1055
|
+
# configured with a client secret), `DEVICE_KEY`.
|
1028
1056
|
#
|
1029
1057
|
# * For `ADMIN_NO_SRP_AUTH`\: `USERNAME` (required), `SECRET_HASH` (if
|
1030
1058
|
# app client is configured with client secret), `PASSWORD`
|
1031
|
-
# (required), `DEVICE_KEY
|
1059
|
+
# (required), `DEVICE_KEY`.
|
1032
1060
|
#
|
1033
1061
|
# * For `CUSTOM_AUTH`\: `USERNAME` (required), `SECRET_HASH` (if app
|
1034
|
-
# client is configured with client secret), `DEVICE_KEY
|
1062
|
+
# client is configured with client secret), `DEVICE_KEY`. To start
|
1063
|
+
# the authentication flow with password verification, include
|
1064
|
+
# `ChallengeName: SRP_A` and `SRP_A: (The SRP_A Value)`.
|
1035
1065
|
# @return [Hash<String,String>]
|
1036
1066
|
#
|
1037
1067
|
# @!attribute [rw] client_metadata
|
@@ -1119,6 +1149,7 @@ module Aws::CognitoIdentityProvider
|
|
1119
1149
|
:client_metadata,
|
1120
1150
|
:analytics_metadata,
|
1121
1151
|
:context_data)
|
1152
|
+
SENSITIVE = [:client_id, :auth_parameters]
|
1122
1153
|
include Aws::Structure
|
1123
1154
|
end
|
1124
1155
|
|
@@ -1205,6 +1236,7 @@ module Aws::CognitoIdentityProvider
|
|
1205
1236
|
:session,
|
1206
1237
|
:challenge_parameters,
|
1207
1238
|
:authentication_result)
|
1239
|
+
SENSITIVE = []
|
1208
1240
|
include Aws::Structure
|
1209
1241
|
end
|
1210
1242
|
|
@@ -1281,6 +1313,7 @@ module Aws::CognitoIdentityProvider
|
|
1281
1313
|
:user_pool_id,
|
1282
1314
|
:destination_user,
|
1283
1315
|
:source_user)
|
1316
|
+
SENSITIVE = []
|
1284
1317
|
include Aws::Structure
|
1285
1318
|
end
|
1286
1319
|
|
@@ -1323,6 +1356,7 @@ module Aws::CognitoIdentityProvider
|
|
1323
1356
|
:username,
|
1324
1357
|
:limit,
|
1325
1358
|
:pagination_token)
|
1359
|
+
SENSITIVE = [:username]
|
1326
1360
|
include Aws::Structure
|
1327
1361
|
end
|
1328
1362
|
|
@@ -1341,6 +1375,7 @@ module Aws::CognitoIdentityProvider
|
|
1341
1375
|
class AdminListDevicesResponse < Struct.new(
|
1342
1376
|
:devices,
|
1343
1377
|
:pagination_token)
|
1378
|
+
SENSITIVE = []
|
1344
1379
|
include Aws::Structure
|
1345
1380
|
end
|
1346
1381
|
|
@@ -1379,6 +1414,7 @@ module Aws::CognitoIdentityProvider
|
|
1379
1414
|
:user_pool_id,
|
1380
1415
|
:limit,
|
1381
1416
|
:next_token)
|
1417
|
+
SENSITIVE = [:username]
|
1382
1418
|
include Aws::Structure
|
1383
1419
|
end
|
1384
1420
|
|
@@ -1397,6 +1433,7 @@ module Aws::CognitoIdentityProvider
|
|
1397
1433
|
class AdminListGroupsForUserResponse < Struct.new(
|
1398
1434
|
:groups,
|
1399
1435
|
:next_token)
|
1436
|
+
SENSITIVE = []
|
1400
1437
|
include Aws::Structure
|
1401
1438
|
end
|
1402
1439
|
|
@@ -1433,6 +1470,7 @@ module Aws::CognitoIdentityProvider
|
|
1433
1470
|
:username,
|
1434
1471
|
:max_results,
|
1435
1472
|
:next_token)
|
1473
|
+
SENSITIVE = [:username]
|
1436
1474
|
include Aws::Structure
|
1437
1475
|
end
|
1438
1476
|
|
@@ -1450,6 +1488,7 @@ module Aws::CognitoIdentityProvider
|
|
1450
1488
|
class AdminListUserAuthEventsResponse < Struct.new(
|
1451
1489
|
:auth_events,
|
1452
1490
|
:next_token)
|
1491
|
+
SENSITIVE = []
|
1453
1492
|
include Aws::Structure
|
1454
1493
|
end
|
1455
1494
|
|
@@ -1480,6 +1519,7 @@ module Aws::CognitoIdentityProvider
|
|
1480
1519
|
:user_pool_id,
|
1481
1520
|
:username,
|
1482
1521
|
:group_name)
|
1522
|
+
SENSITIVE = [:username]
|
1483
1523
|
include Aws::Structure
|
1484
1524
|
end
|
1485
1525
|
|
@@ -1551,6 +1591,7 @@ module Aws::CognitoIdentityProvider
|
|
1551
1591
|
:user_pool_id,
|
1552
1592
|
:username,
|
1553
1593
|
:client_metadata)
|
1594
|
+
SENSITIVE = [:username]
|
1554
1595
|
include Aws::Structure
|
1555
1596
|
end
|
1556
1597
|
|
@@ -1604,7 +1645,12 @@ module Aws::CognitoIdentityProvider
|
|
1604
1645
|
# @return [String]
|
1605
1646
|
#
|
1606
1647
|
# @!attribute [rw] challenge_name
|
1607
|
-
# The challenge name. For more information, see
|
1648
|
+
# The challenge name. For more information, see
|
1649
|
+
# [AdminInitiateAuth][1].
|
1650
|
+
#
|
1651
|
+
#
|
1652
|
+
#
|
1653
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html
|
1608
1654
|
# @return [String]
|
1609
1655
|
#
|
1610
1656
|
# @!attribute [rw] challenge_responses
|
@@ -1705,25 +1751,36 @@ module Aws::CognitoIdentityProvider
|
|
1705
1751
|
:analytics_metadata,
|
1706
1752
|
:context_data,
|
1707
1753
|
:client_metadata)
|
1754
|
+
SENSITIVE = [:client_id]
|
1708
1755
|
include Aws::Structure
|
1709
1756
|
end
|
1710
1757
|
|
1711
1758
|
# Responds to the authentication challenge, as an administrator.
|
1712
1759
|
#
|
1713
1760
|
# @!attribute [rw] challenge_name
|
1714
|
-
# The name of the challenge. For more information, see
|
1761
|
+
# The name of the challenge. For more information, see
|
1762
|
+
# [AdminInitiateAuth][1].
|
1763
|
+
#
|
1764
|
+
#
|
1765
|
+
#
|
1766
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html
|
1715
1767
|
# @return [String]
|
1716
1768
|
#
|
1717
1769
|
# @!attribute [rw] session
|
1718
1770
|
# The session which should be passed both ways in challenge-response
|
1719
|
-
# calls to the service. If the
|
1720
|
-
#
|
1721
|
-
#
|
1722
|
-
#
|
1771
|
+
# calls to the service. If the caller needs to go through another
|
1772
|
+
# challenge, they return a session with other challenge parameters.
|
1773
|
+
# This session should be passed as it is to the next
|
1774
|
+
# `RespondToAuthChallenge` API call.
|
1723
1775
|
# @return [String]
|
1724
1776
|
#
|
1725
1777
|
# @!attribute [rw] challenge_parameters
|
1726
|
-
# The challenge parameters. For more information, see
|
1778
|
+
# The challenge parameters. For more information, see
|
1779
|
+
# [AdminInitiateAuth][1].
|
1780
|
+
#
|
1781
|
+
#
|
1782
|
+
#
|
1783
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminInitiateAuth.html
|
1727
1784
|
# @return [Hash<String,String>]
|
1728
1785
|
#
|
1729
1786
|
# @!attribute [rw] authentication_result
|
@@ -1738,6 +1795,7 @@ module Aws::CognitoIdentityProvider
|
|
1738
1795
|
:session,
|
1739
1796
|
:challenge_parameters,
|
1740
1797
|
:authentication_result)
|
1798
|
+
SENSITIVE = []
|
1741
1799
|
include Aws::Structure
|
1742
1800
|
end
|
1743
1801
|
|
@@ -1780,6 +1838,7 @@ module Aws::CognitoIdentityProvider
|
|
1780
1838
|
:software_token_mfa_settings,
|
1781
1839
|
:username,
|
1782
1840
|
:user_pool_id)
|
1841
|
+
SENSITIVE = [:username]
|
1783
1842
|
include Aws::Structure
|
1784
1843
|
end
|
1785
1844
|
|
@@ -1821,6 +1880,7 @@ module Aws::CognitoIdentityProvider
|
|
1821
1880
|
:username,
|
1822
1881
|
:password,
|
1823
1882
|
:permanent)
|
1883
|
+
SENSITIVE = [:username, :password]
|
1824
1884
|
include Aws::Structure
|
1825
1885
|
end
|
1826
1886
|
|
@@ -1865,6 +1925,7 @@ module Aws::CognitoIdentityProvider
|
|
1865
1925
|
:user_pool_id,
|
1866
1926
|
:username,
|
1867
1927
|
:mfa_options)
|
1928
|
+
SENSITIVE = [:username]
|
1868
1929
|
include Aws::Structure
|
1869
1930
|
end
|
1870
1931
|
|
@@ -1908,6 +1969,7 @@ module Aws::CognitoIdentityProvider
|
|
1908
1969
|
:username,
|
1909
1970
|
:event_id,
|
1910
1971
|
:feedback_value)
|
1972
|
+
SENSITIVE = [:username]
|
1911
1973
|
include Aws::Structure
|
1912
1974
|
end
|
1913
1975
|
|
@@ -1950,6 +2012,7 @@ module Aws::CognitoIdentityProvider
|
|
1950
2012
|
:username,
|
1951
2013
|
:device_key,
|
1952
2014
|
:device_remembered_status)
|
2015
|
+
SENSITIVE = [:username]
|
1953
2016
|
include Aws::Structure
|
1954
2017
|
end
|
1955
2018
|
|
@@ -2043,6 +2106,7 @@ module Aws::CognitoIdentityProvider
|
|
2043
2106
|
:username,
|
2044
2107
|
:user_attributes,
|
2045
2108
|
:client_metadata)
|
2109
|
+
SENSITIVE = [:username]
|
2046
2110
|
include Aws::Structure
|
2047
2111
|
end
|
2048
2112
|
|
@@ -2076,6 +2140,7 @@ module Aws::CognitoIdentityProvider
|
|
2076
2140
|
class AdminUserGlobalSignOutRequest < Struct.new(
|
2077
2141
|
:user_pool_id,
|
2078
2142
|
:username)
|
2143
|
+
SENSITIVE = [:username]
|
2079
2144
|
include Aws::Structure
|
2080
2145
|
end
|
2081
2146
|
|
@@ -2098,15 +2163,17 @@ module Aws::CognitoIdentityProvider
|
|
2098
2163
|
#
|
2099
2164
|
class AliasExistsException < Struct.new(
|
2100
2165
|
:message)
|
2166
|
+
SENSITIVE = []
|
2101
2167
|
include Aws::Structure
|
2102
2168
|
end
|
2103
2169
|
|
2104
2170
|
# The Amazon Pinpoint analytics configuration for collecting metrics for
|
2105
2171
|
# a user pool.
|
2106
2172
|
#
|
2107
|
-
# <note markdown="1">
|
2108
|
-
#
|
2109
|
-
#
|
2173
|
+
# <note markdown="1"> In regions where Pinpoint is not available, Cognito User Pools only
|
2174
|
+
# supports sending events to Amazon Pinpoint projects in us-east-1. In
|
2175
|
+
# regions where Pinpoint is available, Cognito User Pools will support
|
2176
|
+
# sending events to Amazon Pinpoint projects within that same region.
|
2110
2177
|
#
|
2111
2178
|
# </note>
|
2112
2179
|
#
|
@@ -2145,6 +2212,7 @@ module Aws::CognitoIdentityProvider
|
|
2145
2212
|
:role_arn,
|
2146
2213
|
:external_id,
|
2147
2214
|
:user_data_shared)
|
2215
|
+
SENSITIVE = []
|
2148
2216
|
include Aws::Structure
|
2149
2217
|
end
|
2150
2218
|
|
@@ -2174,6 +2242,7 @@ module Aws::CognitoIdentityProvider
|
|
2174
2242
|
#
|
2175
2243
|
class AnalyticsMetadataType < Struct.new(
|
2176
2244
|
:analytics_endpoint_id)
|
2245
|
+
SENSITIVE = []
|
2177
2246
|
include Aws::Structure
|
2178
2247
|
end
|
2179
2248
|
|
@@ -2200,6 +2269,7 @@ module Aws::CognitoIdentityProvider
|
|
2200
2269
|
class AssociateSoftwareTokenRequest < Struct.new(
|
2201
2270
|
:access_token,
|
2202
2271
|
:session)
|
2272
|
+
SENSITIVE = [:access_token]
|
2203
2273
|
include Aws::Structure
|
2204
2274
|
end
|
2205
2275
|
|
@@ -2219,6 +2289,7 @@ module Aws::CognitoIdentityProvider
|
|
2219
2289
|
class AssociateSoftwareTokenResponse < Struct.new(
|
2220
2290
|
:secret_code,
|
2221
2291
|
:session)
|
2292
|
+
SENSITIVE = [:secret_code]
|
2222
2293
|
include Aws::Structure
|
2223
2294
|
end
|
2224
2295
|
|
@@ -2245,6 +2316,7 @@ module Aws::CognitoIdentityProvider
|
|
2245
2316
|
class AttributeType < Struct.new(
|
2246
2317
|
:name,
|
2247
2318
|
:value)
|
2319
|
+
SENSITIVE = [:value]
|
2248
2320
|
include Aws::Structure
|
2249
2321
|
end
|
2250
2322
|
|
@@ -2296,6 +2368,7 @@ module Aws::CognitoIdentityProvider
|
|
2296
2368
|
:challenge_responses,
|
2297
2369
|
:event_context_data,
|
2298
2370
|
:event_feedback)
|
2371
|
+
SENSITIVE = []
|
2299
2372
|
include Aws::Structure
|
2300
2373
|
end
|
2301
2374
|
|
@@ -2334,6 +2407,7 @@ module Aws::CognitoIdentityProvider
|
|
2334
2407
|
:refresh_token,
|
2335
2408
|
:id_token,
|
2336
2409
|
:new_device_metadata)
|
2410
|
+
SENSITIVE = [:access_token, :refresh_token, :id_token]
|
2337
2411
|
include Aws::Structure
|
2338
2412
|
end
|
2339
2413
|
|
@@ -2352,6 +2426,7 @@ module Aws::CognitoIdentityProvider
|
|
2352
2426
|
class ChallengeResponseType < Struct.new(
|
2353
2427
|
:challenge_name,
|
2354
2428
|
:challenge_response)
|
2429
|
+
SENSITIVE = []
|
2355
2430
|
include Aws::Structure
|
2356
2431
|
end
|
2357
2432
|
|
@@ -2384,6 +2459,7 @@ module Aws::CognitoIdentityProvider
|
|
2384
2459
|
:previous_password,
|
2385
2460
|
:proposed_password,
|
2386
2461
|
:access_token)
|
2462
|
+
SENSITIVE = [:previous_password, :proposed_password, :access_token]
|
2387
2463
|
include Aws::Structure
|
2388
2464
|
end
|
2389
2465
|
|
@@ -2413,6 +2489,7 @@ module Aws::CognitoIdentityProvider
|
|
2413
2489
|
:destination,
|
2414
2490
|
:delivery_medium,
|
2415
2491
|
:attribute_name)
|
2492
|
+
SENSITIVE = []
|
2416
2493
|
include Aws::Structure
|
2417
2494
|
end
|
2418
2495
|
|
@@ -2428,6 +2505,7 @@ module Aws::CognitoIdentityProvider
|
|
2428
2505
|
#
|
2429
2506
|
class CodeDeliveryFailureException < Struct.new(
|
2430
2507
|
:message)
|
2508
|
+
SENSITIVE = []
|
2431
2509
|
include Aws::Structure
|
2432
2510
|
end
|
2433
2511
|
|
@@ -2442,6 +2520,7 @@ module Aws::CognitoIdentityProvider
|
|
2442
2520
|
#
|
2443
2521
|
class CodeMismatchException < Struct.new(
|
2444
2522
|
:message)
|
2523
|
+
SENSITIVE = []
|
2445
2524
|
include Aws::Structure
|
2446
2525
|
end
|
2447
2526
|
|
@@ -2462,6 +2541,7 @@ module Aws::CognitoIdentityProvider
|
|
2462
2541
|
#
|
2463
2542
|
class CompromisedCredentialsActionsType < Struct.new(
|
2464
2543
|
:event_action)
|
2544
|
+
SENSITIVE = []
|
2465
2545
|
include Aws::Structure
|
2466
2546
|
end
|
2467
2547
|
|
@@ -2491,6 +2571,7 @@ module Aws::CognitoIdentityProvider
|
|
2491
2571
|
class CompromisedCredentialsRiskConfigurationType < Struct.new(
|
2492
2572
|
:event_filter,
|
2493
2573
|
:actions)
|
2574
|
+
SENSITIVE = []
|
2494
2575
|
include Aws::Structure
|
2495
2576
|
end
|
2496
2577
|
|
@@ -2505,6 +2586,7 @@ module Aws::CognitoIdentityProvider
|
|
2505
2586
|
#
|
2506
2587
|
class ConcurrentModificationException < Struct.new(
|
2507
2588
|
:message)
|
2589
|
+
SENSITIVE = []
|
2508
2590
|
include Aws::Structure
|
2509
2591
|
end
|
2510
2592
|
|
@@ -2546,6 +2628,7 @@ module Aws::CognitoIdentityProvider
|
|
2546
2628
|
:device_key,
|
2547
2629
|
:device_secret_verifier_config,
|
2548
2630
|
:device_name)
|
2631
|
+
SENSITIVE = [:access_token]
|
2549
2632
|
include Aws::Structure
|
2550
2633
|
end
|
2551
2634
|
|
@@ -2560,6 +2643,7 @@ module Aws::CognitoIdentityProvider
|
|
2560
2643
|
#
|
2561
2644
|
class ConfirmDeviceResponse < Struct.new(
|
2562
2645
|
:user_confirmation_necessary)
|
2646
|
+
SENSITIVE = []
|
2563
2647
|
include Aws::Structure
|
2564
2648
|
end
|
2565
2649
|
|
@@ -2602,7 +2686,11 @@ module Aws::CognitoIdentityProvider
|
|
2602
2686
|
#
|
2603
2687
|
# @!attribute [rw] confirmation_code
|
2604
2688
|
# The confirmation code sent by a user's request to retrieve a
|
2605
|
-
# forgotten password. For more information, see
|
2689
|
+
# forgotten password. For more information, see [ForgotPassword][1].
|
2690
|
+
#
|
2691
|
+
#
|
2692
|
+
#
|
2693
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_ForgotPassword.html
|
2606
2694
|
# @return [String]
|
2607
2695
|
#
|
2608
2696
|
# @!attribute [rw] password
|
@@ -2671,6 +2759,7 @@ module Aws::CognitoIdentityProvider
|
|
2671
2759
|
:analytics_metadata,
|
2672
2760
|
:user_context_data,
|
2673
2761
|
:client_metadata)
|
2762
|
+
SENSITIVE = [:client_id, :secret_hash, :username, :password]
|
2674
2763
|
include Aws::Structure
|
2675
2764
|
end
|
2676
2765
|
|
@@ -2793,6 +2882,7 @@ module Aws::CognitoIdentityProvider
|
|
2793
2882
|
:analytics_metadata,
|
2794
2883
|
:user_context_data,
|
2795
2884
|
:client_metadata)
|
2885
|
+
SENSITIVE = [:client_id, :secret_hash, :username]
|
2796
2886
|
include Aws::Structure
|
2797
2887
|
end
|
2798
2888
|
|
@@ -2851,6 +2941,7 @@ module Aws::CognitoIdentityProvider
|
|
2851
2941
|
:server_path,
|
2852
2942
|
:http_headers,
|
2853
2943
|
:encoded_data)
|
2944
|
+
SENSITIVE = []
|
2854
2945
|
include Aws::Structure
|
2855
2946
|
end
|
2856
2947
|
|
@@ -2909,6 +3000,7 @@ module Aws::CognitoIdentityProvider
|
|
2909
3000
|
:description,
|
2910
3001
|
:role_arn,
|
2911
3002
|
:precedence)
|
3003
|
+
SENSITIVE = []
|
2912
3004
|
include Aws::Structure
|
2913
3005
|
end
|
2914
3006
|
|
@@ -2920,6 +3012,7 @@ module Aws::CognitoIdentityProvider
|
|
2920
3012
|
#
|
2921
3013
|
class CreateGroupResponse < Struct.new(
|
2922
3014
|
:group)
|
3015
|
+
SENSITIVE = []
|
2923
3016
|
include Aws::Structure
|
2924
3017
|
end
|
2925
3018
|
|
@@ -2955,7 +3048,7 @@ module Aws::CognitoIdentityProvider
|
|
2955
3048
|
# The identity provider details. The following list describes the
|
2956
3049
|
# provider detail keys for each identity provider type.
|
2957
3050
|
#
|
2958
|
-
# * For Google
|
3051
|
+
# * For Google and Login with Amazon:
|
2959
3052
|
#
|
2960
3053
|
# * client\_id
|
2961
3054
|
#
|
@@ -2963,6 +3056,16 @@ module Aws::CognitoIdentityProvider
|
|
2963
3056
|
#
|
2964
3057
|
# * authorize\_scopes
|
2965
3058
|
#
|
3059
|
+
# * For Facebook:
|
3060
|
+
#
|
3061
|
+
# * client\_id
|
3062
|
+
#
|
3063
|
+
# * client\_secret
|
3064
|
+
#
|
3065
|
+
# * authorize\_scopes
|
3066
|
+
#
|
3067
|
+
# * api\_version
|
3068
|
+
#
|
2966
3069
|
# * For Sign in with Apple:
|
2967
3070
|
#
|
2968
3071
|
# * client\_id
|
@@ -2999,8 +3102,6 @@ module Aws::CognitoIdentityProvider
|
|
2999
3102
|
# * jwks\_uri *if not available from discovery URL specified by
|
3000
3103
|
# oidc\_issuer key*
|
3001
3104
|
#
|
3002
|
-
# * authorize\_scopes
|
3003
|
-
#
|
3004
3105
|
# * For SAML providers:
|
3005
3106
|
#
|
3006
3107
|
# * MetadataFile OR MetadataURL
|
@@ -3026,6 +3127,7 @@ module Aws::CognitoIdentityProvider
|
|
3026
3127
|
:provider_details,
|
3027
3128
|
:attribute_mapping,
|
3028
3129
|
:idp_identifiers)
|
3130
|
+
SENSITIVE = []
|
3029
3131
|
include Aws::Structure
|
3030
3132
|
end
|
3031
3133
|
|
@@ -3037,6 +3139,7 @@ module Aws::CognitoIdentityProvider
|
|
3037
3139
|
#
|
3038
3140
|
class CreateIdentityProviderResponse < Struct.new(
|
3039
3141
|
:identity_provider)
|
3142
|
+
SENSITIVE = []
|
3040
3143
|
include Aws::Structure
|
3041
3144
|
end
|
3042
3145
|
|
@@ -3081,6 +3184,7 @@ module Aws::CognitoIdentityProvider
|
|
3081
3184
|
:identifier,
|
3082
3185
|
:name,
|
3083
3186
|
:scopes)
|
3187
|
+
SENSITIVE = []
|
3084
3188
|
include Aws::Structure
|
3085
3189
|
end
|
3086
3190
|
|
@@ -3092,6 +3196,7 @@ module Aws::CognitoIdentityProvider
|
|
3092
3196
|
#
|
3093
3197
|
class CreateResourceServerResponse < Struct.new(
|
3094
3198
|
:resource_server)
|
3199
|
+
SENSITIVE = []
|
3095
3200
|
include Aws::Structure
|
3096
3201
|
end
|
3097
3202
|
|
@@ -3126,6 +3231,7 @@ module Aws::CognitoIdentityProvider
|
|
3126
3231
|
:job_name,
|
3127
3232
|
:user_pool_id,
|
3128
3233
|
:cloud_watch_logs_role_arn)
|
3234
|
+
SENSITIVE = []
|
3129
3235
|
include Aws::Structure
|
3130
3236
|
end
|
3131
3237
|
|
@@ -3140,6 +3246,7 @@ module Aws::CognitoIdentityProvider
|
|
3140
3246
|
#
|
3141
3247
|
class CreateUserImportJobResponse < Struct.new(
|
3142
3248
|
:user_import_job)
|
3249
|
+
SENSITIVE = []
|
3143
3250
|
include Aws::Structure
|
3144
3251
|
end
|
3145
3252
|
|
@@ -3153,6 +3260,13 @@ module Aws::CognitoIdentityProvider
|
|
3153
3260
|
# client_name: "ClientNameType", # required
|
3154
3261
|
# generate_secret: false,
|
3155
3262
|
# refresh_token_validity: 1,
|
3263
|
+
# access_token_validity: 1,
|
3264
|
+
# id_token_validity: 1,
|
3265
|
+
# token_validity_units: {
|
3266
|
+
# access_token: "seconds", # accepts seconds, minutes, hours, days
|
3267
|
+
# id_token: "seconds", # accepts seconds, minutes, hours, days
|
3268
|
+
# refresh_token: "seconds", # accepts seconds, minutes, hours, days
|
3269
|
+
# },
|
3156
3270
|
# read_attributes: ["ClientPermissionType"],
|
3157
3271
|
# write_attributes: ["ClientPermissionType"],
|
3158
3272
|
# explicit_auth_flows: ["ADMIN_NO_SRP_AUTH"], # accepts ADMIN_NO_SRP_AUTH, CUSTOM_AUTH_FLOW_ONLY, USER_PASSWORD_AUTH, ALLOW_ADMIN_USER_PASSWORD_AUTH, ALLOW_CUSTOM_AUTH, ALLOW_USER_PASSWORD_AUTH, ALLOW_USER_SRP_AUTH, ALLOW_REFRESH_TOKEN_AUTH
|
@@ -3191,6 +3305,24 @@ module Aws::CognitoIdentityProvider
|
|
3191
3305
|
# valid and cannot be used.
|
3192
3306
|
# @return [Integer]
|
3193
3307
|
#
|
3308
|
+
# @!attribute [rw] access_token_validity
|
3309
|
+
# The time limit, between 5 minutes and 1 day, after which the access
|
3310
|
+
# token is no longer valid and cannot be used. This value will be
|
3311
|
+
# overridden if you have entered a value in TokenValidityUnits.
|
3312
|
+
# @return [Integer]
|
3313
|
+
#
|
3314
|
+
# @!attribute [rw] id_token_validity
|
3315
|
+
# The time limit, between 5 minutes and 1 day, after which the ID
|
3316
|
+
# token is no longer valid and cannot be used. This value will be
|
3317
|
+
# overridden if you have entered a value in TokenValidityUnits.
|
3318
|
+
# @return [Integer]
|
3319
|
+
#
|
3320
|
+
# @!attribute [rw] token_validity_units
|
3321
|
+
# The units in which the validity times are represented in. Default
|
3322
|
+
# for RefreshToken is days, and default for ID and access tokens are
|
3323
|
+
# hours.
|
3324
|
+
# @return [Types::TokenValidityUnitsType]
|
3325
|
+
#
|
3194
3326
|
# @!attribute [rw] read_attributes
|
3195
3327
|
# The read attributes.
|
3196
3328
|
# @return [Array<String>]
|
@@ -3327,9 +3459,10 @@ module Aws::CognitoIdentityProvider
|
|
3327
3459
|
# The Amazon Pinpoint analytics configuration for collecting metrics
|
3328
3460
|
# for this user pool.
|
3329
3461
|
#
|
3330
|
-
# <note markdown="1">
|
3331
|
-
#
|
3332
|
-
#
|
3462
|
+
# <note markdown="1"> In regions where Pinpoint is not available, Cognito User Pools only
|
3463
|
+
# supports sending events to Amazon Pinpoint projects in us-east-1. In
|
3464
|
+
# regions where Pinpoint is available, Cognito User Pools will support
|
3465
|
+
# sending events to Amazon Pinpoint projects within that same region.
|
3333
3466
|
#
|
3334
3467
|
# </note>
|
3335
3468
|
# @return [Types::AnalyticsConfigurationType]
|
@@ -3352,24 +3485,6 @@ module Aws::CognitoIdentityProvider
|
|
3352
3485
|
# * `LEGACY` - This represents the old behavior of Cognito where user
|
3353
3486
|
# existence related errors are not prevented.
|
3354
3487
|
#
|
3355
|
-
# This setting affects the behavior of following APIs:
|
3356
|
-
#
|
3357
|
-
# * AdminInitiateAuth
|
3358
|
-
#
|
3359
|
-
# * AdminRespondToAuthChallenge
|
3360
|
-
#
|
3361
|
-
# * InitiateAuth
|
3362
|
-
#
|
3363
|
-
# * RespondToAuthChallenge
|
3364
|
-
#
|
3365
|
-
# * ForgotPassword
|
3366
|
-
#
|
3367
|
-
# * ConfirmForgotPassword
|
3368
|
-
#
|
3369
|
-
# * ConfirmSignUp
|
3370
|
-
#
|
3371
|
-
# * ResendConfirmationCode
|
3372
|
-
#
|
3373
3488
|
# <note markdown="1"> After February 15th 2020, the value of `PreventUserExistenceErrors`
|
3374
3489
|
# will default to `ENABLED` for newly created user pool clients if no
|
3375
3490
|
# value is provided.
|
@@ -3384,6 +3499,9 @@ module Aws::CognitoIdentityProvider
|
|
3384
3499
|
:client_name,
|
3385
3500
|
:generate_secret,
|
3386
3501
|
:refresh_token_validity,
|
3502
|
+
:access_token_validity,
|
3503
|
+
:id_token_validity,
|
3504
|
+
:token_validity_units,
|
3387
3505
|
:read_attributes,
|
3388
3506
|
:write_attributes,
|
3389
3507
|
:explicit_auth_flows,
|
@@ -3396,6 +3514,7 @@ module Aws::CognitoIdentityProvider
|
|
3396
3514
|
:allowed_o_auth_flows_user_pool_client,
|
3397
3515
|
:analytics_configuration,
|
3398
3516
|
:prevent_user_existence_errors)
|
3517
|
+
SENSITIVE = []
|
3399
3518
|
include Aws::Structure
|
3400
3519
|
end
|
3401
3520
|
|
@@ -3409,6 +3528,7 @@ module Aws::CognitoIdentityProvider
|
|
3409
3528
|
#
|
3410
3529
|
class CreateUserPoolClientResponse < Struct.new(
|
3411
3530
|
:user_pool_client)
|
3531
|
+
SENSITIVE = []
|
3412
3532
|
include Aws::Structure
|
3413
3533
|
end
|
3414
3534
|
|
@@ -3453,6 +3573,7 @@ module Aws::CognitoIdentityProvider
|
|
3453
3573
|
:domain,
|
3454
3574
|
:user_pool_id,
|
3455
3575
|
:custom_domain_config)
|
3576
|
+
SENSITIVE = []
|
3456
3577
|
include Aws::Structure
|
3457
3578
|
end
|
3458
3579
|
|
@@ -3465,6 +3586,7 @@ module Aws::CognitoIdentityProvider
|
|
3465
3586
|
#
|
3466
3587
|
class CreateUserPoolDomainResponse < Struct.new(
|
3467
3588
|
:cloud_front_domain)
|
3589
|
+
SENSITIVE = []
|
3468
3590
|
include Aws::Structure
|
3469
3591
|
end
|
3470
3592
|
|
@@ -3681,7 +3803,11 @@ module Aws::CognitoIdentityProvider
|
|
3681
3803
|
# selected sign-in option. For example, when this is set to `False`,
|
3682
3804
|
# users will be able to sign in using either "username" or
|
3683
3805
|
# "Username". This configuration is immutable once it has been set.
|
3684
|
-
# For more information, see .
|
3806
|
+
# For more information, see [UsernameConfigurationType][1].
|
3807
|
+
#
|
3808
|
+
#
|
3809
|
+
#
|
3810
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UsernameConfigurationType.html
|
3685
3811
|
# @return [Types::UsernameConfigurationType]
|
3686
3812
|
#
|
3687
3813
|
# @!attribute [rw] account_recovery_setting
|
@@ -3693,13 +3819,6 @@ module Aws::CognitoIdentityProvider
|
|
3693
3819
|
# enabled. In the absence of this setting, Cognito uses the legacy
|
3694
3820
|
# behavior to determine the recovery method where SMS is preferred
|
3695
3821
|
# over email.
|
3696
|
-
#
|
3697
|
-
# <note markdown="1"> Starting February 1, 2020, the value of `AccountRecoverySetting`
|
3698
|
-
# will default to `verified_email` first and `verified_phone_number`
|
3699
|
-
# as the second option for newly created user pools if no value is
|
3700
|
-
# provided.
|
3701
|
-
#
|
3702
|
-
# </note>
|
3703
3822
|
# @return [Types::AccountRecoverySettingType]
|
3704
3823
|
#
|
3705
3824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolRequest AWS API Documentation
|
@@ -3726,6 +3845,7 @@ module Aws::CognitoIdentityProvider
|
|
3726
3845
|
:user_pool_add_ons,
|
3727
3846
|
:username_configuration,
|
3728
3847
|
:account_recovery_setting)
|
3848
|
+
SENSITIVE = []
|
3729
3849
|
include Aws::Structure
|
3730
3850
|
end
|
3731
3851
|
|
@@ -3740,6 +3860,7 @@ module Aws::CognitoIdentityProvider
|
|
3740
3860
|
#
|
3741
3861
|
class CreateUserPoolResponse < Struct.new(
|
3742
3862
|
:user_pool)
|
3863
|
+
SENSITIVE = []
|
3743
3864
|
include Aws::Structure
|
3744
3865
|
end
|
3745
3866
|
|
@@ -3763,6 +3884,7 @@ module Aws::CognitoIdentityProvider
|
|
3763
3884
|
#
|
3764
3885
|
class CustomDomainConfigType < Struct.new(
|
3765
3886
|
:certificate_arn)
|
3887
|
+
SENSITIVE = []
|
3766
3888
|
include Aws::Structure
|
3767
3889
|
end
|
3768
3890
|
|
@@ -3787,6 +3909,7 @@ module Aws::CognitoIdentityProvider
|
|
3787
3909
|
class DeleteGroupRequest < Struct.new(
|
3788
3910
|
:group_name,
|
3789
3911
|
:user_pool_id)
|
3912
|
+
SENSITIVE = []
|
3790
3913
|
include Aws::Structure
|
3791
3914
|
end
|
3792
3915
|
|
@@ -3811,6 +3934,7 @@ module Aws::CognitoIdentityProvider
|
|
3811
3934
|
class DeleteIdentityProviderRequest < Struct.new(
|
3812
3935
|
:user_pool_id,
|
3813
3936
|
:provider_name)
|
3937
|
+
SENSITIVE = []
|
3814
3938
|
include Aws::Structure
|
3815
3939
|
end
|
3816
3940
|
|
@@ -3835,6 +3959,7 @@ module Aws::CognitoIdentityProvider
|
|
3835
3959
|
class DeleteResourceServerRequest < Struct.new(
|
3836
3960
|
:user_pool_id,
|
3837
3961
|
:identifier)
|
3962
|
+
SENSITIVE = []
|
3838
3963
|
include Aws::Structure
|
3839
3964
|
end
|
3840
3965
|
|
@@ -3865,6 +3990,7 @@ module Aws::CognitoIdentityProvider
|
|
3865
3990
|
class DeleteUserAttributesRequest < Struct.new(
|
3866
3991
|
:user_attribute_names,
|
3867
3992
|
:access_token)
|
3993
|
+
SENSITIVE = [:access_token]
|
3868
3994
|
include Aws::Structure
|
3869
3995
|
end
|
3870
3996
|
|
@@ -3898,6 +4024,7 @@ module Aws::CognitoIdentityProvider
|
|
3898
4024
|
class DeleteUserPoolClientRequest < Struct.new(
|
3899
4025
|
:user_pool_id,
|
3900
4026
|
:client_id)
|
4027
|
+
SENSITIVE = [:client_id]
|
3901
4028
|
include Aws::Structure
|
3902
4029
|
end
|
3903
4030
|
|
@@ -3922,6 +4049,7 @@ module Aws::CognitoIdentityProvider
|
|
3922
4049
|
class DeleteUserPoolDomainRequest < Struct.new(
|
3923
4050
|
:domain,
|
3924
4051
|
:user_pool_id)
|
4052
|
+
SENSITIVE = []
|
3925
4053
|
include Aws::Structure
|
3926
4054
|
end
|
3927
4055
|
|
@@ -3946,6 +4074,7 @@ module Aws::CognitoIdentityProvider
|
|
3946
4074
|
#
|
3947
4075
|
class DeleteUserPoolRequest < Struct.new(
|
3948
4076
|
:user_pool_id)
|
4077
|
+
SENSITIVE = []
|
3949
4078
|
include Aws::Structure
|
3950
4079
|
end
|
3951
4080
|
|
@@ -3966,6 +4095,7 @@ module Aws::CognitoIdentityProvider
|
|
3966
4095
|
#
|
3967
4096
|
class DeleteUserRequest < Struct.new(
|
3968
4097
|
:access_token)
|
4098
|
+
SENSITIVE = [:access_token]
|
3969
4099
|
include Aws::Structure
|
3970
4100
|
end
|
3971
4101
|
|
@@ -3990,6 +4120,7 @@ module Aws::CognitoIdentityProvider
|
|
3990
4120
|
class DescribeIdentityProviderRequest < Struct.new(
|
3991
4121
|
:user_pool_id,
|
3992
4122
|
:provider_name)
|
4123
|
+
SENSITIVE = []
|
3993
4124
|
include Aws::Structure
|
3994
4125
|
end
|
3995
4126
|
|
@@ -4001,6 +4132,7 @@ module Aws::CognitoIdentityProvider
|
|
4001
4132
|
#
|
4002
4133
|
class DescribeIdentityProviderResponse < Struct.new(
|
4003
4134
|
:identity_provider)
|
4135
|
+
SENSITIVE = []
|
4004
4136
|
include Aws::Structure
|
4005
4137
|
end
|
4006
4138
|
|
@@ -4025,6 +4157,7 @@ module Aws::CognitoIdentityProvider
|
|
4025
4157
|
class DescribeResourceServerRequest < Struct.new(
|
4026
4158
|
:user_pool_id,
|
4027
4159
|
:identifier)
|
4160
|
+
SENSITIVE = []
|
4028
4161
|
include Aws::Structure
|
4029
4162
|
end
|
4030
4163
|
|
@@ -4036,6 +4169,7 @@ module Aws::CognitoIdentityProvider
|
|
4036
4169
|
#
|
4037
4170
|
class DescribeResourceServerResponse < Struct.new(
|
4038
4171
|
:resource_server)
|
4172
|
+
SENSITIVE = []
|
4039
4173
|
include Aws::Structure
|
4040
4174
|
end
|
4041
4175
|
|
@@ -4060,6 +4194,7 @@ module Aws::CognitoIdentityProvider
|
|
4060
4194
|
class DescribeRiskConfigurationRequest < Struct.new(
|
4061
4195
|
:user_pool_id,
|
4062
4196
|
:client_id)
|
4197
|
+
SENSITIVE = [:client_id]
|
4063
4198
|
include Aws::Structure
|
4064
4199
|
end
|
4065
4200
|
|
@@ -4071,6 +4206,7 @@ module Aws::CognitoIdentityProvider
|
|
4071
4206
|
#
|
4072
4207
|
class DescribeRiskConfigurationResponse < Struct.new(
|
4073
4208
|
:risk_configuration)
|
4209
|
+
SENSITIVE = []
|
4074
4210
|
include Aws::Structure
|
4075
4211
|
end
|
4076
4212
|
|
@@ -4098,6 +4234,7 @@ module Aws::CognitoIdentityProvider
|
|
4098
4234
|
class DescribeUserImportJobRequest < Struct.new(
|
4099
4235
|
:user_pool_id,
|
4100
4236
|
:job_id)
|
4237
|
+
SENSITIVE = []
|
4101
4238
|
include Aws::Structure
|
4102
4239
|
end
|
4103
4240
|
|
@@ -4112,6 +4249,7 @@ module Aws::CognitoIdentityProvider
|
|
4112
4249
|
#
|
4113
4250
|
class DescribeUserImportJobResponse < Struct.new(
|
4114
4251
|
:user_import_job)
|
4252
|
+
SENSITIVE = []
|
4115
4253
|
include Aws::Structure
|
4116
4254
|
end
|
4117
4255
|
|
@@ -4138,6 +4276,7 @@ module Aws::CognitoIdentityProvider
|
|
4138
4276
|
class DescribeUserPoolClientRequest < Struct.new(
|
4139
4277
|
:user_pool_id,
|
4140
4278
|
:client_id)
|
4279
|
+
SENSITIVE = [:client_id]
|
4141
4280
|
include Aws::Structure
|
4142
4281
|
end
|
4143
4282
|
|
@@ -4153,6 +4292,7 @@ module Aws::CognitoIdentityProvider
|
|
4153
4292
|
#
|
4154
4293
|
class DescribeUserPoolClientResponse < Struct.new(
|
4155
4294
|
:user_pool_client)
|
4295
|
+
SENSITIVE = []
|
4156
4296
|
include Aws::Structure
|
4157
4297
|
end
|
4158
4298
|
|
@@ -4171,6 +4311,7 @@ module Aws::CognitoIdentityProvider
|
|
4171
4311
|
#
|
4172
4312
|
class DescribeUserPoolDomainRequest < Struct.new(
|
4173
4313
|
:domain)
|
4314
|
+
SENSITIVE = []
|
4174
4315
|
include Aws::Structure
|
4175
4316
|
end
|
4176
4317
|
|
@@ -4182,6 +4323,7 @@ module Aws::CognitoIdentityProvider
|
|
4182
4323
|
#
|
4183
4324
|
class DescribeUserPoolDomainResponse < Struct.new(
|
4184
4325
|
:domain_description)
|
4326
|
+
SENSITIVE = []
|
4185
4327
|
include Aws::Structure
|
4186
4328
|
end
|
4187
4329
|
|
@@ -4202,6 +4344,7 @@ module Aws::CognitoIdentityProvider
|
|
4202
4344
|
#
|
4203
4345
|
class DescribeUserPoolRequest < Struct.new(
|
4204
4346
|
:user_pool_id)
|
4347
|
+
SENSITIVE = []
|
4205
4348
|
include Aws::Structure
|
4206
4349
|
end
|
4207
4350
|
|
@@ -4216,6 +4359,7 @@ module Aws::CognitoIdentityProvider
|
|
4216
4359
|
#
|
4217
4360
|
class DescribeUserPoolResponse < Struct.new(
|
4218
4361
|
:user_pool)
|
4362
|
+
SENSITIVE = []
|
4219
4363
|
include Aws::Structure
|
4220
4364
|
end
|
4221
4365
|
|
@@ -4243,6 +4387,7 @@ module Aws::CognitoIdentityProvider
|
|
4243
4387
|
class DeviceConfigurationType < Struct.new(
|
4244
4388
|
:challenge_required_on_new_device,
|
4245
4389
|
:device_only_remembered_on_user_prompt)
|
4390
|
+
SENSITIVE = []
|
4246
4391
|
include Aws::Structure
|
4247
4392
|
end
|
4248
4393
|
|
@@ -4269,6 +4414,7 @@ module Aws::CognitoIdentityProvider
|
|
4269
4414
|
class DeviceSecretVerifierConfigType < Struct.new(
|
4270
4415
|
:password_verifier,
|
4271
4416
|
:salt)
|
4417
|
+
SENSITIVE = []
|
4272
4418
|
include Aws::Structure
|
4273
4419
|
end
|
4274
4420
|
|
@@ -4302,6 +4448,7 @@ module Aws::CognitoIdentityProvider
|
|
4302
4448
|
:device_create_date,
|
4303
4449
|
:device_last_modified_date,
|
4304
4450
|
:device_last_authenticated_date)
|
4451
|
+
SENSITIVE = []
|
4305
4452
|
include Aws::Structure
|
4306
4453
|
end
|
4307
4454
|
|
@@ -4351,6 +4498,7 @@ module Aws::CognitoIdentityProvider
|
|
4351
4498
|
:version,
|
4352
4499
|
:status,
|
4353
4500
|
:custom_domain_config)
|
4501
|
+
SENSITIVE = []
|
4354
4502
|
include Aws::Structure
|
4355
4503
|
end
|
4356
4504
|
|
@@ -4364,6 +4512,7 @@ module Aws::CognitoIdentityProvider
|
|
4364
4512
|
#
|
4365
4513
|
class DuplicateProviderException < Struct.new(
|
4366
4514
|
:message)
|
4515
|
+
SENSITIVE = []
|
4367
4516
|
include Aws::Structure
|
4368
4517
|
end
|
4369
4518
|
|
@@ -4482,6 +4631,7 @@ module Aws::CognitoIdentityProvider
|
|
4482
4631
|
:email_sending_account,
|
4483
4632
|
:from,
|
4484
4633
|
:configuration_set)
|
4634
|
+
SENSITIVE = []
|
4485
4635
|
include Aws::Structure
|
4486
4636
|
end
|
4487
4637
|
|
@@ -4496,6 +4646,7 @@ module Aws::CognitoIdentityProvider
|
|
4496
4646
|
#
|
4497
4647
|
class EnableSoftwareTokenMFAException < Struct.new(
|
4498
4648
|
:message)
|
4649
|
+
SENSITIVE = []
|
4499
4650
|
include Aws::Structure
|
4500
4651
|
end
|
4501
4652
|
|
@@ -4530,6 +4681,7 @@ module Aws::CognitoIdentityProvider
|
|
4530
4681
|
:timezone,
|
4531
4682
|
:city,
|
4532
4683
|
:country)
|
4684
|
+
SENSITIVE = []
|
4533
4685
|
include Aws::Structure
|
4534
4686
|
end
|
4535
4687
|
|
@@ -4553,6 +4705,7 @@ module Aws::CognitoIdentityProvider
|
|
4553
4705
|
:feedback_value,
|
4554
4706
|
:provider,
|
4555
4707
|
:feedback_date)
|
4708
|
+
SENSITIVE = []
|
4556
4709
|
include Aws::Structure
|
4557
4710
|
end
|
4558
4711
|
|
@@ -4577,6 +4730,7 @@ module Aws::CognitoIdentityProvider
|
|
4577
4730
|
:risk_decision,
|
4578
4731
|
:risk_level,
|
4579
4732
|
:compromised_credentials_detected)
|
4733
|
+
SENSITIVE = []
|
4580
4734
|
include Aws::Structure
|
4581
4735
|
end
|
4582
4736
|
|
@@ -4590,6 +4744,7 @@ module Aws::CognitoIdentityProvider
|
|
4590
4744
|
#
|
4591
4745
|
class ExpiredCodeException < Struct.new(
|
4592
4746
|
:message)
|
4747
|
+
SENSITIVE = []
|
4593
4748
|
include Aws::Structure
|
4594
4749
|
end
|
4595
4750
|
|
@@ -4616,6 +4771,7 @@ module Aws::CognitoIdentityProvider
|
|
4616
4771
|
class ForgetDeviceRequest < Struct.new(
|
4617
4772
|
:access_token,
|
4618
4773
|
:device_key)
|
4774
|
+
SENSITIVE = [:access_token]
|
4619
4775
|
include Aws::Structure
|
4620
4776
|
end
|
4621
4777
|
|
@@ -4714,6 +4870,7 @@ module Aws::CognitoIdentityProvider
|
|
4714
4870
|
:username,
|
4715
4871
|
:analytics_metadata,
|
4716
4872
|
:client_metadata)
|
4873
|
+
SENSITIVE = [:client_id, :secret_hash, :username]
|
4717
4874
|
include Aws::Structure
|
4718
4875
|
end
|
4719
4876
|
|
@@ -4729,6 +4886,7 @@ module Aws::CognitoIdentityProvider
|
|
4729
4886
|
#
|
4730
4887
|
class ForgotPasswordResponse < Struct.new(
|
4731
4888
|
:code_delivery_details)
|
4889
|
+
SENSITIVE = []
|
4732
4890
|
include Aws::Structure
|
4733
4891
|
end
|
4734
4892
|
|
@@ -4751,6 +4909,7 @@ module Aws::CognitoIdentityProvider
|
|
4751
4909
|
#
|
4752
4910
|
class GetCSVHeaderRequest < Struct.new(
|
4753
4911
|
:user_pool_id)
|
4912
|
+
SENSITIVE = []
|
4754
4913
|
include Aws::Structure
|
4755
4914
|
end
|
4756
4915
|
|
@@ -4771,6 +4930,7 @@ module Aws::CognitoIdentityProvider
|
|
4771
4930
|
class GetCSVHeaderResponse < Struct.new(
|
4772
4931
|
:user_pool_id,
|
4773
4932
|
:csv_header)
|
4933
|
+
SENSITIVE = []
|
4774
4934
|
include Aws::Structure
|
4775
4935
|
end
|
4776
4936
|
|
@@ -4797,6 +4957,7 @@ module Aws::CognitoIdentityProvider
|
|
4797
4957
|
class GetDeviceRequest < Struct.new(
|
4798
4958
|
:device_key,
|
4799
4959
|
:access_token)
|
4960
|
+
SENSITIVE = [:access_token]
|
4800
4961
|
include Aws::Structure
|
4801
4962
|
end
|
4802
4963
|
|
@@ -4810,6 +4971,7 @@ module Aws::CognitoIdentityProvider
|
|
4810
4971
|
#
|
4811
4972
|
class GetDeviceResponse < Struct.new(
|
4812
4973
|
:device)
|
4974
|
+
SENSITIVE = []
|
4813
4975
|
include Aws::Structure
|
4814
4976
|
end
|
4815
4977
|
|
@@ -4834,6 +4996,7 @@ module Aws::CognitoIdentityProvider
|
|
4834
4996
|
class GetGroupRequest < Struct.new(
|
4835
4997
|
:group_name,
|
4836
4998
|
:user_pool_id)
|
4999
|
+
SENSITIVE = []
|
4837
5000
|
include Aws::Structure
|
4838
5001
|
end
|
4839
5002
|
|
@@ -4845,6 +5008,7 @@ module Aws::CognitoIdentityProvider
|
|
4845
5008
|
#
|
4846
5009
|
class GetGroupResponse < Struct.new(
|
4847
5010
|
:group)
|
5011
|
+
SENSITIVE = []
|
4848
5012
|
include Aws::Structure
|
4849
5013
|
end
|
4850
5014
|
|
@@ -4869,6 +5033,7 @@ module Aws::CognitoIdentityProvider
|
|
4869
5033
|
class GetIdentityProviderByIdentifierRequest < Struct.new(
|
4870
5034
|
:user_pool_id,
|
4871
5035
|
:idp_identifier)
|
5036
|
+
SENSITIVE = []
|
4872
5037
|
include Aws::Structure
|
4873
5038
|
end
|
4874
5039
|
|
@@ -4880,6 +5045,7 @@ module Aws::CognitoIdentityProvider
|
|
4880
5045
|
#
|
4881
5046
|
class GetIdentityProviderByIdentifierResponse < Struct.new(
|
4882
5047
|
:identity_provider)
|
5048
|
+
SENSITIVE = []
|
4883
5049
|
include Aws::Structure
|
4884
5050
|
end
|
4885
5051
|
|
@@ -4900,6 +5066,7 @@ module Aws::CognitoIdentityProvider
|
|
4900
5066
|
#
|
4901
5067
|
class GetSigningCertificateRequest < Struct.new(
|
4902
5068
|
:user_pool_id)
|
5069
|
+
SENSITIVE = []
|
4903
5070
|
include Aws::Structure
|
4904
5071
|
end
|
4905
5072
|
|
@@ -4913,6 +5080,7 @@ module Aws::CognitoIdentityProvider
|
|
4913
5080
|
#
|
4914
5081
|
class GetSigningCertificateResponse < Struct.new(
|
4915
5082
|
:certificate)
|
5083
|
+
SENSITIVE = []
|
4916
5084
|
include Aws::Structure
|
4917
5085
|
end
|
4918
5086
|
|
@@ -4937,6 +5105,7 @@ module Aws::CognitoIdentityProvider
|
|
4937
5105
|
class GetUICustomizationRequest < Struct.new(
|
4938
5106
|
:user_pool_id,
|
4939
5107
|
:client_id)
|
5108
|
+
SENSITIVE = [:client_id]
|
4940
5109
|
include Aws::Structure
|
4941
5110
|
end
|
4942
5111
|
|
@@ -4948,6 +5117,7 @@ module Aws::CognitoIdentityProvider
|
|
4948
5117
|
#
|
4949
5118
|
class GetUICustomizationResponse < Struct.new(
|
4950
5119
|
:ui_customization)
|
5120
|
+
SENSITIVE = []
|
4951
5121
|
include Aws::Structure
|
4952
5122
|
end
|
4953
5123
|
|
@@ -5020,6 +5190,7 @@ module Aws::CognitoIdentityProvider
|
|
5020
5190
|
:access_token,
|
5021
5191
|
:attribute_name,
|
5022
5192
|
:client_metadata)
|
5193
|
+
SENSITIVE = [:access_token]
|
5023
5194
|
include Aws::Structure
|
5024
5195
|
end
|
5025
5196
|
|
@@ -5035,6 +5206,7 @@ module Aws::CognitoIdentityProvider
|
|
5035
5206
|
#
|
5036
5207
|
class GetUserAttributeVerificationCodeResponse < Struct.new(
|
5037
5208
|
:code_delivery_details)
|
5209
|
+
SENSITIVE = []
|
5038
5210
|
include Aws::Structure
|
5039
5211
|
end
|
5040
5212
|
|
@@ -5053,6 +5225,7 @@ module Aws::CognitoIdentityProvider
|
|
5053
5225
|
#
|
5054
5226
|
class GetUserPoolMfaConfigRequest < Struct.new(
|
5055
5227
|
:user_pool_id)
|
5228
|
+
SENSITIVE = []
|
5056
5229
|
include Aws::Structure
|
5057
5230
|
end
|
5058
5231
|
|
@@ -5081,6 +5254,7 @@ module Aws::CognitoIdentityProvider
|
|
5081
5254
|
:sms_mfa_configuration,
|
5082
5255
|
:software_token_mfa_configuration,
|
5083
5256
|
:mfa_configuration)
|
5257
|
+
SENSITIVE = []
|
5084
5258
|
include Aws::Structure
|
5085
5259
|
end
|
5086
5260
|
|
@@ -5102,6 +5276,7 @@ module Aws::CognitoIdentityProvider
|
|
5102
5276
|
#
|
5103
5277
|
class GetUserRequest < Struct.new(
|
5104
5278
|
:access_token)
|
5279
|
+
SENSITIVE = [:access_token]
|
5105
5280
|
include Aws::Structure
|
5106
5281
|
end
|
5107
5282
|
|
@@ -5124,8 +5299,8 @@ module Aws::CognitoIdentityProvider
|
|
5124
5299
|
# *This response parameter is no longer supported.* It provides
|
5125
5300
|
# information only about SMS MFA configurations. It doesn't provide
|
5126
5301
|
# information about TOTP software token MFA configurations. To look up
|
5127
|
-
# information about either type of MFA configuration, use
|
5128
|
-
#
|
5302
|
+
# information about either type of MFA configuration, use
|
5303
|
+
# UserMFASettingList instead.
|
5129
5304
|
# @return [Array<Types::MFAOptionType>]
|
5130
5305
|
#
|
5131
5306
|
# @!attribute [rw] preferred_mfa_setting
|
@@ -5145,6 +5320,7 @@ module Aws::CognitoIdentityProvider
|
|
5145
5320
|
:mfa_options,
|
5146
5321
|
:preferred_mfa_setting,
|
5147
5322
|
:user_mfa_setting_list)
|
5323
|
+
SENSITIVE = [:username]
|
5148
5324
|
include Aws::Structure
|
5149
5325
|
end
|
5150
5326
|
|
@@ -5165,6 +5341,7 @@ module Aws::CognitoIdentityProvider
|
|
5165
5341
|
#
|
5166
5342
|
class GlobalSignOutRequest < Struct.new(
|
5167
5343
|
:access_token)
|
5344
|
+
SENSITIVE = [:access_token]
|
5168
5345
|
include Aws::Structure
|
5169
5346
|
end
|
5170
5347
|
|
@@ -5184,6 +5361,7 @@ module Aws::CognitoIdentityProvider
|
|
5184
5361
|
#
|
5185
5362
|
class GroupExistsException < Struct.new(
|
5186
5363
|
:message)
|
5364
|
+
SENSITIVE = []
|
5187
5365
|
include Aws::Structure
|
5188
5366
|
end
|
5189
5367
|
|
@@ -5243,6 +5421,7 @@ module Aws::CognitoIdentityProvider
|
|
5243
5421
|
:precedence,
|
5244
5422
|
:last_modified_date,
|
5245
5423
|
:creation_date)
|
5424
|
+
SENSITIVE = []
|
5246
5425
|
include Aws::Structure
|
5247
5426
|
end
|
5248
5427
|
|
@@ -5269,6 +5448,7 @@ module Aws::CognitoIdentityProvider
|
|
5269
5448
|
class HttpHeader < Struct.new(
|
5270
5449
|
:header_name,
|
5271
5450
|
:header_value)
|
5451
|
+
SENSITIVE = []
|
5272
5452
|
include Aws::Structure
|
5273
5453
|
end
|
5274
5454
|
|
@@ -5290,7 +5470,7 @@ module Aws::CognitoIdentityProvider
|
|
5290
5470
|
# The identity provider details. The following list describes the
|
5291
5471
|
# provider detail keys for each identity provider type.
|
5292
5472
|
#
|
5293
|
-
# * For Google
|
5473
|
+
# * For Google and Login with Amazon:
|
5294
5474
|
#
|
5295
5475
|
# * client\_id
|
5296
5476
|
#
|
@@ -5298,6 +5478,16 @@ module Aws::CognitoIdentityProvider
|
|
5298
5478
|
#
|
5299
5479
|
# * authorize\_scopes
|
5300
5480
|
#
|
5481
|
+
# * For Facebook:
|
5482
|
+
#
|
5483
|
+
# * client\_id
|
5484
|
+
#
|
5485
|
+
# * client\_secret
|
5486
|
+
#
|
5487
|
+
# * authorize\_scopes
|
5488
|
+
#
|
5489
|
+
# * api\_version
|
5490
|
+
#
|
5301
5491
|
# * For Sign in with Apple:
|
5302
5492
|
#
|
5303
5493
|
# * client\_id
|
@@ -5371,6 +5561,7 @@ module Aws::CognitoIdentityProvider
|
|
5371
5561
|
:idp_identifiers,
|
5372
5562
|
:last_modified_date,
|
5373
5563
|
:creation_date)
|
5564
|
+
SENSITIVE = []
|
5374
5565
|
include Aws::Structure
|
5375
5566
|
end
|
5376
5567
|
|
@@ -5441,14 +5632,16 @@ module Aws::CognitoIdentityProvider
|
|
5441
5632
|
#
|
5442
5633
|
# * For `USER_SRP_AUTH`\: `USERNAME` (required), `SRP_A` (required),
|
5443
5634
|
# `SECRET_HASH` (required if the app client is configured with a
|
5444
|
-
# client secret), `DEVICE_KEY
|
5635
|
+
# client secret), `DEVICE_KEY`.
|
5445
5636
|
#
|
5446
5637
|
# * For `REFRESH_TOKEN_AUTH/REFRESH_TOKEN`\: `REFRESH_TOKEN`
|
5447
5638
|
# (required), `SECRET_HASH` (required if the app client is
|
5448
|
-
# configured with a client secret), `DEVICE_KEY
|
5639
|
+
# configured with a client secret), `DEVICE_KEY`.
|
5449
5640
|
#
|
5450
5641
|
# * For `CUSTOM_AUTH`\: `USERNAME` (required), `SECRET_HASH` (if app
|
5451
|
-
# client is configured with client secret), `DEVICE_KEY
|
5642
|
+
# client is configured with client secret), `DEVICE_KEY`. To start
|
5643
|
+
# the authentication flow with password verification, include
|
5644
|
+
# `ChallengeName: SRP_A` and `SRP_A: (The SRP_A Value)`.
|
5452
5645
|
# @return [Hash<String,String>]
|
5453
5646
|
#
|
5454
5647
|
# @!attribute [rw] client_metadata
|
@@ -5539,6 +5732,7 @@ module Aws::CognitoIdentityProvider
|
|
5539
5732
|
:client_id,
|
5540
5733
|
:analytics_metadata,
|
5541
5734
|
:user_context_data)
|
5735
|
+
SENSITIVE = [:auth_parameters, :client_id]
|
5542
5736
|
include Aws::Structure
|
5543
5737
|
end
|
5544
5738
|
|
@@ -5579,10 +5773,10 @@ module Aws::CognitoIdentityProvider
|
|
5579
5773
|
#
|
5580
5774
|
# @!attribute [rw] session
|
5581
5775
|
# The session which should be passed both ways in challenge-response
|
5582
|
-
# calls to the service. If the
|
5583
|
-
#
|
5584
|
-
#
|
5585
|
-
#
|
5776
|
+
# calls to the service. If the caller needs to go through another
|
5777
|
+
# challenge, they return a session with other challenge parameters.
|
5778
|
+
# This session should be passed as it is to the next
|
5779
|
+
# `RespondToAuthChallenge` API call.
|
5586
5780
|
# @return [String]
|
5587
5781
|
#
|
5588
5782
|
# @!attribute [rw] challenge_parameters
|
@@ -5608,6 +5802,7 @@ module Aws::CognitoIdentityProvider
|
|
5608
5802
|
:session,
|
5609
5803
|
:challenge_parameters,
|
5610
5804
|
:authentication_result)
|
5805
|
+
SENSITIVE = []
|
5611
5806
|
include Aws::Structure
|
5612
5807
|
end
|
5613
5808
|
|
@@ -5623,6 +5818,7 @@ module Aws::CognitoIdentityProvider
|
|
5623
5818
|
#
|
5624
5819
|
class InternalErrorException < Struct.new(
|
5625
5820
|
:message)
|
5821
|
+
SENSITIVE = []
|
5626
5822
|
include Aws::Structure
|
5627
5823
|
end
|
5628
5824
|
|
@@ -5639,6 +5835,7 @@ module Aws::CognitoIdentityProvider
|
|
5639
5835
|
#
|
5640
5836
|
class InvalidEmailRoleAccessPolicyException < Struct.new(
|
5641
5837
|
:message)
|
5838
|
+
SENSITIVE = []
|
5642
5839
|
include Aws::Structure
|
5643
5840
|
end
|
5644
5841
|
|
@@ -5654,6 +5851,7 @@ module Aws::CognitoIdentityProvider
|
|
5654
5851
|
#
|
5655
5852
|
class InvalidLambdaResponseException < Struct.new(
|
5656
5853
|
:message)
|
5854
|
+
SENSITIVE = []
|
5657
5855
|
include Aws::Structure
|
5658
5856
|
end
|
5659
5857
|
|
@@ -5666,6 +5864,7 @@ module Aws::CognitoIdentityProvider
|
|
5666
5864
|
#
|
5667
5865
|
class InvalidOAuthFlowException < Struct.new(
|
5668
5866
|
:message)
|
5867
|
+
SENSITIVE = []
|
5669
5868
|
include Aws::Structure
|
5670
5869
|
end
|
5671
5870
|
|
@@ -5681,6 +5880,7 @@ module Aws::CognitoIdentityProvider
|
|
5681
5880
|
#
|
5682
5881
|
class InvalidParameterException < Struct.new(
|
5683
5882
|
:message)
|
5883
|
+
SENSITIVE = []
|
5684
5884
|
include Aws::Structure
|
5685
5885
|
end
|
5686
5886
|
|
@@ -5696,6 +5896,7 @@ module Aws::CognitoIdentityProvider
|
|
5696
5896
|
#
|
5697
5897
|
class InvalidPasswordException < Struct.new(
|
5698
5898
|
:message)
|
5899
|
+
SENSITIVE = []
|
5699
5900
|
include Aws::Structure
|
5700
5901
|
end
|
5701
5902
|
|
@@ -5711,6 +5912,7 @@ module Aws::CognitoIdentityProvider
|
|
5711
5912
|
#
|
5712
5913
|
class InvalidSmsRoleAccessPolicyException < Struct.new(
|
5713
5914
|
:message)
|
5915
|
+
SENSITIVE = []
|
5714
5916
|
include Aws::Structure
|
5715
5917
|
end
|
5716
5918
|
|
@@ -5729,6 +5931,7 @@ module Aws::CognitoIdentityProvider
|
|
5729
5931
|
#
|
5730
5932
|
class InvalidSmsRoleTrustRelationshipException < Struct.new(
|
5731
5933
|
:message)
|
5934
|
+
SENSITIVE = []
|
5732
5935
|
include Aws::Structure
|
5733
5936
|
end
|
5734
5937
|
|
@@ -5742,6 +5945,7 @@ module Aws::CognitoIdentityProvider
|
|
5742
5945
|
#
|
5743
5946
|
class InvalidUserPoolConfigurationException < Struct.new(
|
5744
5947
|
:message)
|
5948
|
+
SENSITIVE = []
|
5745
5949
|
include Aws::Structure
|
5746
5950
|
end
|
5747
5951
|
|
@@ -5816,6 +6020,7 @@ module Aws::CognitoIdentityProvider
|
|
5816
6020
|
:verify_auth_challenge_response,
|
5817
6021
|
:pre_token_generation,
|
5818
6022
|
:user_migration)
|
6023
|
+
SENSITIVE = []
|
5819
6024
|
include Aws::Structure
|
5820
6025
|
end
|
5821
6026
|
|
@@ -5831,6 +6036,7 @@ module Aws::CognitoIdentityProvider
|
|
5831
6036
|
#
|
5832
6037
|
class LimitExceededException < Struct.new(
|
5833
6038
|
:message)
|
6039
|
+
SENSITIVE = []
|
5834
6040
|
include Aws::Structure
|
5835
6041
|
end
|
5836
6042
|
|
@@ -5863,6 +6069,7 @@ module Aws::CognitoIdentityProvider
|
|
5863
6069
|
:access_token,
|
5864
6070
|
:limit,
|
5865
6071
|
:pagination_token)
|
6072
|
+
SENSITIVE = [:access_token]
|
5866
6073
|
include Aws::Structure
|
5867
6074
|
end
|
5868
6075
|
|
@@ -5881,6 +6088,7 @@ module Aws::CognitoIdentityProvider
|
|
5881
6088
|
class ListDevicesResponse < Struct.new(
|
5882
6089
|
:devices,
|
5883
6090
|
:pagination_token)
|
6091
|
+
SENSITIVE = []
|
5884
6092
|
include Aws::Structure
|
5885
6093
|
end
|
5886
6094
|
|
@@ -5913,6 +6121,7 @@ module Aws::CognitoIdentityProvider
|
|
5913
6121
|
:user_pool_id,
|
5914
6122
|
:limit,
|
5915
6123
|
:next_token)
|
6124
|
+
SENSITIVE = []
|
5916
6125
|
include Aws::Structure
|
5917
6126
|
end
|
5918
6127
|
|
@@ -5931,6 +6140,7 @@ module Aws::CognitoIdentityProvider
|
|
5931
6140
|
class ListGroupsResponse < Struct.new(
|
5932
6141
|
:groups,
|
5933
6142
|
:next_token)
|
6143
|
+
SENSITIVE = []
|
5934
6144
|
include Aws::Structure
|
5935
6145
|
end
|
5936
6146
|
|
@@ -5961,6 +6171,7 @@ module Aws::CognitoIdentityProvider
|
|
5961
6171
|
:user_pool_id,
|
5962
6172
|
:max_results,
|
5963
6173
|
:next_token)
|
6174
|
+
SENSITIVE = []
|
5964
6175
|
include Aws::Structure
|
5965
6176
|
end
|
5966
6177
|
|
@@ -5977,6 +6188,7 @@ module Aws::CognitoIdentityProvider
|
|
5977
6188
|
class ListIdentityProvidersResponse < Struct.new(
|
5978
6189
|
:providers,
|
5979
6190
|
:next_token)
|
6191
|
+
SENSITIVE = []
|
5980
6192
|
include Aws::Structure
|
5981
6193
|
end
|
5982
6194
|
|
@@ -6007,6 +6219,7 @@ module Aws::CognitoIdentityProvider
|
|
6007
6219
|
:user_pool_id,
|
6008
6220
|
:max_results,
|
6009
6221
|
:next_token)
|
6222
|
+
SENSITIVE = []
|
6010
6223
|
include Aws::Structure
|
6011
6224
|
end
|
6012
6225
|
|
@@ -6023,6 +6236,7 @@ module Aws::CognitoIdentityProvider
|
|
6023
6236
|
class ListResourceServersResponse < Struct.new(
|
6024
6237
|
:resource_servers,
|
6025
6238
|
:next_token)
|
6239
|
+
SENSITIVE = []
|
6026
6240
|
include Aws::Structure
|
6027
6241
|
end
|
6028
6242
|
|
@@ -6042,6 +6256,7 @@ module Aws::CognitoIdentityProvider
|
|
6042
6256
|
#
|
6043
6257
|
class ListTagsForResourceRequest < Struct.new(
|
6044
6258
|
:resource_arn)
|
6259
|
+
SENSITIVE = []
|
6045
6260
|
include Aws::Structure
|
6046
6261
|
end
|
6047
6262
|
|
@@ -6053,6 +6268,7 @@ module Aws::CognitoIdentityProvider
|
|
6053
6268
|
#
|
6054
6269
|
class ListTagsForResourceResponse < Struct.new(
|
6055
6270
|
:tags)
|
6271
|
+
SENSITIVE = []
|
6056
6272
|
include Aws::Structure
|
6057
6273
|
end
|
6058
6274
|
|
@@ -6088,6 +6304,7 @@ module Aws::CognitoIdentityProvider
|
|
6088
6304
|
:user_pool_id,
|
6089
6305
|
:max_results,
|
6090
6306
|
:pagination_token)
|
6307
|
+
SENSITIVE = []
|
6091
6308
|
include Aws::Structure
|
6092
6309
|
end
|
6093
6310
|
|
@@ -6108,6 +6325,7 @@ module Aws::CognitoIdentityProvider
|
|
6108
6325
|
class ListUserImportJobsResponse < Struct.new(
|
6109
6326
|
:user_import_jobs,
|
6110
6327
|
:pagination_token)
|
6328
|
+
SENSITIVE = []
|
6111
6329
|
include Aws::Structure
|
6112
6330
|
end
|
6113
6331
|
|
@@ -6144,6 +6362,7 @@ module Aws::CognitoIdentityProvider
|
|
6144
6362
|
:user_pool_id,
|
6145
6363
|
:max_results,
|
6146
6364
|
:next_token)
|
6365
|
+
SENSITIVE = []
|
6147
6366
|
include Aws::Structure
|
6148
6367
|
end
|
6149
6368
|
|
@@ -6164,6 +6383,7 @@ module Aws::CognitoIdentityProvider
|
|
6164
6383
|
class ListUserPoolClientsResponse < Struct.new(
|
6165
6384
|
:user_pool_clients,
|
6166
6385
|
:next_token)
|
6386
|
+
SENSITIVE = []
|
6167
6387
|
include Aws::Structure
|
6168
6388
|
end
|
6169
6389
|
|
@@ -6193,6 +6413,7 @@ module Aws::CognitoIdentityProvider
|
|
6193
6413
|
class ListUserPoolsRequest < Struct.new(
|
6194
6414
|
:next_token,
|
6195
6415
|
:max_results)
|
6416
|
+
SENSITIVE = []
|
6196
6417
|
include Aws::Structure
|
6197
6418
|
end
|
6198
6419
|
|
@@ -6213,6 +6434,7 @@ module Aws::CognitoIdentityProvider
|
|
6213
6434
|
class ListUserPoolsResponse < Struct.new(
|
6214
6435
|
:user_pools,
|
6215
6436
|
:next_token)
|
6437
|
+
SENSITIVE = []
|
6216
6438
|
include Aws::Structure
|
6217
6439
|
end
|
6218
6440
|
|
@@ -6251,6 +6473,7 @@ module Aws::CognitoIdentityProvider
|
|
6251
6473
|
:group_name,
|
6252
6474
|
:limit,
|
6253
6475
|
:next_token)
|
6476
|
+
SENSITIVE = []
|
6254
6477
|
include Aws::Structure
|
6255
6478
|
end
|
6256
6479
|
|
@@ -6269,6 +6492,7 @@ module Aws::CognitoIdentityProvider
|
|
6269
6492
|
class ListUsersInGroupResponse < Struct.new(
|
6270
6493
|
:users,
|
6271
6494
|
:next_token)
|
6495
|
+
SENSITIVE = []
|
6272
6496
|
include Aws::Structure
|
6273
6497
|
end
|
6274
6498
|
|
@@ -6368,6 +6592,7 @@ module Aws::CognitoIdentityProvider
|
|
6368
6592
|
:limit,
|
6369
6593
|
:pagination_token,
|
6370
6594
|
:filter)
|
6595
|
+
SENSITIVE = []
|
6371
6596
|
include Aws::Structure
|
6372
6597
|
end
|
6373
6598
|
|
@@ -6388,6 +6613,7 @@ module Aws::CognitoIdentityProvider
|
|
6388
6613
|
class ListUsersResponse < Struct.new(
|
6389
6614
|
:users,
|
6390
6615
|
:pagination_token)
|
6616
|
+
SENSITIVE = []
|
6391
6617
|
include Aws::Structure
|
6392
6618
|
end
|
6393
6619
|
|
@@ -6403,6 +6629,7 @@ module Aws::CognitoIdentityProvider
|
|
6403
6629
|
#
|
6404
6630
|
class MFAMethodNotFoundException < Struct.new(
|
6405
6631
|
:message)
|
6632
|
+
SENSITIVE = []
|
6406
6633
|
include Aws::Structure
|
6407
6634
|
end
|
6408
6635
|
|
@@ -6410,13 +6637,6 @@ module Aws::CognitoIdentityProvider
|
|
6410
6637
|
# MFA configurations. You can't use it for TOTP software token MFA
|
6411
6638
|
# configurations.
|
6412
6639
|
#
|
6413
|
-
# To set either type of MFA configuration, use the
|
6414
|
-
# AdminSetUserMFAPreference or SetUserMFAPreference actions.
|
6415
|
-
#
|
6416
|
-
# To look up information about either type of MFA configuration, use the
|
6417
|
-
# AdminGetUserResponse$UserMFASettingList or
|
6418
|
-
# GetUserResponse$UserMFASettingList responses.
|
6419
|
-
#
|
6420
6640
|
# @note When making an API call, you may pass MFAOptionType
|
6421
6641
|
# data as a hash:
|
6422
6642
|
#
|
@@ -6440,6 +6660,7 @@ module Aws::CognitoIdentityProvider
|
|
6440
6660
|
class MFAOptionType < Struct.new(
|
6441
6661
|
:delivery_medium,
|
6442
6662
|
:attribute_name)
|
6663
|
+
SENSITIVE = []
|
6443
6664
|
include Aws::Structure
|
6444
6665
|
end
|
6445
6666
|
|
@@ -6472,6 +6693,7 @@ module Aws::CognitoIdentityProvider
|
|
6472
6693
|
:sms_message,
|
6473
6694
|
:email_message,
|
6474
6695
|
:email_subject)
|
6696
|
+
SENSITIVE = []
|
6475
6697
|
include Aws::Structure
|
6476
6698
|
end
|
6477
6699
|
|
@@ -6490,6 +6712,7 @@ module Aws::CognitoIdentityProvider
|
|
6490
6712
|
class NewDeviceMetadataType < Struct.new(
|
6491
6713
|
:device_key,
|
6492
6714
|
:device_group_key)
|
6715
|
+
SENSITIVE = []
|
6493
6716
|
include Aws::Structure
|
6494
6717
|
end
|
6495
6718
|
|
@@ -6504,6 +6727,7 @@ module Aws::CognitoIdentityProvider
|
|
6504
6727
|
#
|
6505
6728
|
class NotAuthorizedException < Struct.new(
|
6506
6729
|
:message)
|
6730
|
+
SENSITIVE = []
|
6507
6731
|
include Aws::Structure
|
6508
6732
|
end
|
6509
6733
|
|
@@ -6571,6 +6795,7 @@ module Aws::CognitoIdentityProvider
|
|
6571
6795
|
:block_email,
|
6572
6796
|
:no_action_email,
|
6573
6797
|
:mfa_email)
|
6798
|
+
SENSITIVE = []
|
6574
6799
|
include Aws::Structure
|
6575
6800
|
end
|
6576
6801
|
|
@@ -6603,6 +6828,7 @@ module Aws::CognitoIdentityProvider
|
|
6603
6828
|
:subject,
|
6604
6829
|
:html_body,
|
6605
6830
|
:text_body)
|
6831
|
+
SENSITIVE = []
|
6606
6832
|
include Aws::Structure
|
6607
6833
|
end
|
6608
6834
|
|
@@ -6630,6 +6856,7 @@ module Aws::CognitoIdentityProvider
|
|
6630
6856
|
class NumberAttributeConstraintsType < Struct.new(
|
6631
6857
|
:min_value,
|
6632
6858
|
:max_value)
|
6859
|
+
SENSITIVE = []
|
6633
6860
|
include Aws::Structure
|
6634
6861
|
end
|
6635
6862
|
|
@@ -6695,6 +6922,7 @@ module Aws::CognitoIdentityProvider
|
|
6695
6922
|
:require_numbers,
|
6696
6923
|
:require_symbols,
|
6697
6924
|
:temporary_password_validity_days)
|
6925
|
+
SENSITIVE = []
|
6698
6926
|
include Aws::Structure
|
6699
6927
|
end
|
6700
6928
|
|
@@ -6708,6 +6936,7 @@ module Aws::CognitoIdentityProvider
|
|
6708
6936
|
#
|
6709
6937
|
class PasswordResetRequiredException < Struct.new(
|
6710
6938
|
:message)
|
6939
|
+
SENSITIVE = []
|
6711
6940
|
include Aws::Structure
|
6712
6941
|
end
|
6713
6942
|
|
@@ -6721,6 +6950,7 @@ module Aws::CognitoIdentityProvider
|
|
6721
6950
|
#
|
6722
6951
|
class PreconditionNotMetException < Struct.new(
|
6723
6952
|
:message)
|
6953
|
+
SENSITIVE = []
|
6724
6954
|
include Aws::Structure
|
6725
6955
|
end
|
6726
6956
|
|
@@ -6749,6 +6979,7 @@ module Aws::CognitoIdentityProvider
|
|
6749
6979
|
:provider_type,
|
6750
6980
|
:last_modified_date,
|
6751
6981
|
:creation_date)
|
6982
|
+
SENSITIVE = []
|
6752
6983
|
include Aws::Structure
|
6753
6984
|
end
|
6754
6985
|
|
@@ -6785,6 +7016,7 @@ module Aws::CognitoIdentityProvider
|
|
6785
7016
|
:provider_name,
|
6786
7017
|
:provider_attribute_name,
|
6787
7018
|
:provider_attribute_value)
|
7019
|
+
SENSITIVE = []
|
6788
7020
|
include Aws::Structure
|
6789
7021
|
end
|
6790
7022
|
|
@@ -6813,6 +7045,7 @@ module Aws::CognitoIdentityProvider
|
|
6813
7045
|
class RecoveryOptionType < Struct.new(
|
6814
7046
|
:priority,
|
6815
7047
|
:name)
|
7048
|
+
SENSITIVE = []
|
6816
7049
|
include Aws::Structure
|
6817
7050
|
end
|
6818
7051
|
|
@@ -6910,6 +7143,7 @@ module Aws::CognitoIdentityProvider
|
|
6910
7143
|
:username,
|
6911
7144
|
:analytics_metadata,
|
6912
7145
|
:client_metadata)
|
7146
|
+
SENSITIVE = [:client_id, :secret_hash, :username]
|
6913
7147
|
include Aws::Structure
|
6914
7148
|
end
|
6915
7149
|
|
@@ -6925,6 +7159,7 @@ module Aws::CognitoIdentityProvider
|
|
6925
7159
|
#
|
6926
7160
|
class ResendConfirmationCodeResponse < Struct.new(
|
6927
7161
|
:code_delivery_details)
|
7162
|
+
SENSITIVE = []
|
6928
7163
|
include Aws::Structure
|
6929
7164
|
end
|
6930
7165
|
|
@@ -6940,6 +7175,7 @@ module Aws::CognitoIdentityProvider
|
|
6940
7175
|
#
|
6941
7176
|
class ResourceNotFoundException < Struct.new(
|
6942
7177
|
:message)
|
7178
|
+
SENSITIVE = []
|
6943
7179
|
include Aws::Structure
|
6944
7180
|
end
|
6945
7181
|
|
@@ -6966,6 +7202,7 @@ module Aws::CognitoIdentityProvider
|
|
6966
7202
|
class ResourceServerScopeType < Struct.new(
|
6967
7203
|
:scope_name,
|
6968
7204
|
:scope_description)
|
7205
|
+
SENSITIVE = []
|
6969
7206
|
include Aws::Structure
|
6970
7207
|
end
|
6971
7208
|
|
@@ -6994,6 +7231,7 @@ module Aws::CognitoIdentityProvider
|
|
6994
7231
|
:identifier,
|
6995
7232
|
:name,
|
6996
7233
|
:scopes)
|
7234
|
+
SENSITIVE = []
|
6997
7235
|
include Aws::Structure
|
6998
7236
|
end
|
6999
7237
|
|
@@ -7025,9 +7263,13 @@ module Aws::CognitoIdentityProvider
|
|
7025
7263
|
# @return [String]
|
7026
7264
|
#
|
7027
7265
|
# @!attribute [rw] challenge_name
|
7028
|
-
# The challenge name. For more information, see .
|
7266
|
+
# The challenge name. For more information, see [InitiateAuth][1].
|
7029
7267
|
#
|
7030
7268
|
# `ADMIN_NO_SRP_AUTH` is not a valid value.
|
7269
|
+
#
|
7270
|
+
#
|
7271
|
+
#
|
7272
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html
|
7031
7273
|
# @return [String]
|
7032
7274
|
#
|
7033
7275
|
# @!attribute [rw] session
|
@@ -7128,25 +7370,35 @@ module Aws::CognitoIdentityProvider
|
|
7128
7370
|
:analytics_metadata,
|
7129
7371
|
:user_context_data,
|
7130
7372
|
:client_metadata)
|
7373
|
+
SENSITIVE = [:client_id]
|
7131
7374
|
include Aws::Structure
|
7132
7375
|
end
|
7133
7376
|
|
7134
7377
|
# The response to respond to the authentication challenge.
|
7135
7378
|
#
|
7136
7379
|
# @!attribute [rw] challenge_name
|
7137
|
-
# The challenge name. For more information, see .
|
7380
|
+
# The challenge name. For more information, see [InitiateAuth][1].
|
7381
|
+
#
|
7382
|
+
#
|
7383
|
+
#
|
7384
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html
|
7138
7385
|
# @return [String]
|
7139
7386
|
#
|
7140
7387
|
# @!attribute [rw] session
|
7141
7388
|
# The session which should be passed both ways in challenge-response
|
7142
|
-
# calls to the service. If the
|
7143
|
-
#
|
7144
|
-
#
|
7145
|
-
#
|
7389
|
+
# calls to the service. If the caller needs to go through another
|
7390
|
+
# challenge, they return a session with other challenge parameters.
|
7391
|
+
# This session should be passed as it is to the next
|
7392
|
+
# `RespondToAuthChallenge` API call.
|
7146
7393
|
# @return [String]
|
7147
7394
|
#
|
7148
7395
|
# @!attribute [rw] challenge_parameters
|
7149
|
-
# The challenge parameters. For more information, see
|
7396
|
+
# The challenge parameters. For more information, see
|
7397
|
+
# [InitiateAuth][1].
|
7398
|
+
#
|
7399
|
+
#
|
7400
|
+
#
|
7401
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_InitiateAuth.html
|
7150
7402
|
# @return [Hash<String,String>]
|
7151
7403
|
#
|
7152
7404
|
# @!attribute [rw] authentication_result
|
@@ -7161,6 +7413,7 @@ module Aws::CognitoIdentityProvider
|
|
7161
7413
|
:session,
|
7162
7414
|
:challenge_parameters,
|
7163
7415
|
:authentication_result)
|
7416
|
+
SENSITIVE = []
|
7164
7417
|
include Aws::Structure
|
7165
7418
|
end
|
7166
7419
|
|
@@ -7202,6 +7455,7 @@ module Aws::CognitoIdentityProvider
|
|
7202
7455
|
:account_takeover_risk_configuration,
|
7203
7456
|
:risk_exception_configuration,
|
7204
7457
|
:last_modified_date)
|
7458
|
+
SENSITIVE = [:client_id]
|
7205
7459
|
include Aws::Structure
|
7206
7460
|
end
|
7207
7461
|
|
@@ -7231,6 +7485,7 @@ module Aws::CognitoIdentityProvider
|
|
7231
7485
|
class RiskExceptionConfigurationType < Struct.new(
|
7232
7486
|
:blocked_ip_range_list,
|
7233
7487
|
:skipped_ip_range_list)
|
7488
|
+
SENSITIVE = []
|
7234
7489
|
include Aws::Structure
|
7235
7490
|
end
|
7236
7491
|
|
@@ -7257,6 +7512,7 @@ module Aws::CognitoIdentityProvider
|
|
7257
7512
|
class SMSMfaSettingsType < Struct.new(
|
7258
7513
|
:enabled,
|
7259
7514
|
:preferred_mfa)
|
7515
|
+
SENSITIVE = []
|
7260
7516
|
include Aws::Structure
|
7261
7517
|
end
|
7262
7518
|
|
@@ -7299,8 +7555,9 @@ module Aws::CognitoIdentityProvider
|
|
7299
7555
|
# Specifies whether the attribute type is developer only. This
|
7300
7556
|
# attribute can only be modified by an administrator. Users will not
|
7301
7557
|
# be able to modify this attribute using their access token. For
|
7302
|
-
# example, `DeveloperOnlyAttribute` can be modified using
|
7303
|
-
# cannot be updated using
|
7558
|
+
# example, `DeveloperOnlyAttribute` can be modified using
|
7559
|
+
# AdminUpdateUserAttributes but cannot be updated using
|
7560
|
+
# UpdateUserAttributes.
|
7304
7561
|
#
|
7305
7562
|
#
|
7306
7563
|
#
|
@@ -7347,6 +7604,7 @@ module Aws::CognitoIdentityProvider
|
|
7347
7604
|
:required,
|
7348
7605
|
:number_attribute_constraints,
|
7349
7606
|
:string_attribute_constraints)
|
7607
|
+
SENSITIVE = []
|
7350
7608
|
include Aws::Structure
|
7351
7609
|
end
|
7352
7610
|
|
@@ -7359,6 +7617,7 @@ module Aws::CognitoIdentityProvider
|
|
7359
7617
|
#
|
7360
7618
|
class ScopeDoesNotExistException < Struct.new(
|
7361
7619
|
:message)
|
7620
|
+
SENSITIVE = []
|
7362
7621
|
include Aws::Structure
|
7363
7622
|
end
|
7364
7623
|
|
@@ -7451,6 +7710,7 @@ module Aws::CognitoIdentityProvider
|
|
7451
7710
|
:compromised_credentials_risk_configuration,
|
7452
7711
|
:account_takeover_risk_configuration,
|
7453
7712
|
:risk_exception_configuration)
|
7713
|
+
SENSITIVE = [:client_id]
|
7454
7714
|
include Aws::Structure
|
7455
7715
|
end
|
7456
7716
|
|
@@ -7462,6 +7722,7 @@ module Aws::CognitoIdentityProvider
|
|
7462
7722
|
#
|
7463
7723
|
class SetRiskConfigurationResponse < Struct.new(
|
7464
7724
|
:risk_configuration)
|
7725
|
+
SENSITIVE = []
|
7465
7726
|
include Aws::Structure
|
7466
7727
|
end
|
7467
7728
|
|
@@ -7498,6 +7759,7 @@ module Aws::CognitoIdentityProvider
|
|
7498
7759
|
:client_id,
|
7499
7760
|
:css,
|
7500
7761
|
:image_file)
|
7762
|
+
SENSITIVE = [:client_id]
|
7501
7763
|
include Aws::Structure
|
7502
7764
|
end
|
7503
7765
|
|
@@ -7509,6 +7771,7 @@ module Aws::CognitoIdentityProvider
|
|
7509
7771
|
#
|
7510
7772
|
class SetUICustomizationResponse < Struct.new(
|
7511
7773
|
:ui_customization)
|
7774
|
+
SENSITIVE = []
|
7512
7775
|
include Aws::Structure
|
7513
7776
|
end
|
7514
7777
|
|
@@ -7545,6 +7808,7 @@ module Aws::CognitoIdentityProvider
|
|
7545
7808
|
:sms_mfa_settings,
|
7546
7809
|
:software_token_mfa_settings,
|
7547
7810
|
:access_token)
|
7811
|
+
SENSITIVE = [:access_token]
|
7548
7812
|
include Aws::Structure
|
7549
7813
|
end
|
7550
7814
|
|
@@ -7600,6 +7864,7 @@ module Aws::CognitoIdentityProvider
|
|
7600
7864
|
:sms_mfa_configuration,
|
7601
7865
|
:software_token_mfa_configuration,
|
7602
7866
|
:mfa_configuration)
|
7867
|
+
SENSITIVE = []
|
7603
7868
|
include Aws::Structure
|
7604
7869
|
end
|
7605
7870
|
|
@@ -7628,6 +7893,7 @@ module Aws::CognitoIdentityProvider
|
|
7628
7893
|
:sms_mfa_configuration,
|
7629
7894
|
:software_token_mfa_configuration,
|
7630
7895
|
:mfa_configuration)
|
7896
|
+
SENSITIVE = []
|
7631
7897
|
include Aws::Structure
|
7632
7898
|
end
|
7633
7899
|
|
@@ -7660,6 +7926,7 @@ module Aws::CognitoIdentityProvider
|
|
7660
7926
|
class SetUserSettingsRequest < Struct.new(
|
7661
7927
|
:access_token,
|
7662
7928
|
:mfa_options)
|
7929
|
+
SENSITIVE = [:access_token]
|
7663
7930
|
include Aws::Structure
|
7664
7931
|
end
|
7665
7932
|
|
@@ -7794,6 +8061,7 @@ module Aws::CognitoIdentityProvider
|
|
7794
8061
|
:analytics_metadata,
|
7795
8062
|
:user_context_data,
|
7796
8063
|
:client_metadata)
|
8064
|
+
SENSITIVE = [:client_id, :secret_hash, :username, :password]
|
7797
8065
|
include Aws::Structure
|
7798
8066
|
end
|
7799
8067
|
|
@@ -7820,6 +8088,7 @@ module Aws::CognitoIdentityProvider
|
|
7820
8088
|
:user_confirmed,
|
7821
8089
|
:code_delivery_details,
|
7822
8090
|
:user_sub)
|
8091
|
+
SENSITIVE = []
|
7823
8092
|
include Aws::Structure
|
7824
8093
|
end
|
7825
8094
|
|
@@ -7860,6 +8129,7 @@ module Aws::CognitoIdentityProvider
|
|
7860
8129
|
class SmsConfigurationType < Struct.new(
|
7861
8130
|
:sns_caller_arn,
|
7862
8131
|
:external_id)
|
8132
|
+
SENSITIVE = []
|
7863
8133
|
include Aws::Structure
|
7864
8134
|
end
|
7865
8135
|
|
@@ -7893,6 +8163,7 @@ module Aws::CognitoIdentityProvider
|
|
7893
8163
|
class SmsMfaConfigType < Struct.new(
|
7894
8164
|
:sms_authentication_message,
|
7895
8165
|
:sms_configuration)
|
8166
|
+
SENSITIVE = []
|
7896
8167
|
include Aws::Structure
|
7897
8168
|
end
|
7898
8169
|
|
@@ -7906,6 +8177,7 @@ module Aws::CognitoIdentityProvider
|
|
7906
8177
|
#
|
7907
8178
|
class SoftwareTokenMFANotFoundException < Struct.new(
|
7908
8179
|
:message)
|
8180
|
+
SENSITIVE = []
|
7909
8181
|
include Aws::Structure
|
7910
8182
|
end
|
7911
8183
|
|
@@ -7926,6 +8198,7 @@ module Aws::CognitoIdentityProvider
|
|
7926
8198
|
#
|
7927
8199
|
class SoftwareTokenMfaConfigType < Struct.new(
|
7928
8200
|
:enabled)
|
8201
|
+
SENSITIVE = []
|
7929
8202
|
include Aws::Structure
|
7930
8203
|
end
|
7931
8204
|
|
@@ -7952,6 +8225,7 @@ module Aws::CognitoIdentityProvider
|
|
7952
8225
|
class SoftwareTokenMfaSettingsType < Struct.new(
|
7953
8226
|
:enabled,
|
7954
8227
|
:preferred_mfa)
|
8228
|
+
SENSITIVE = []
|
7955
8229
|
include Aws::Structure
|
7956
8230
|
end
|
7957
8231
|
|
@@ -7979,6 +8253,7 @@ module Aws::CognitoIdentityProvider
|
|
7979
8253
|
class StartUserImportJobRequest < Struct.new(
|
7980
8254
|
:user_pool_id,
|
7981
8255
|
:job_id)
|
8256
|
+
SENSITIVE = []
|
7982
8257
|
include Aws::Structure
|
7983
8258
|
end
|
7984
8259
|
|
@@ -7993,6 +8268,7 @@ module Aws::CognitoIdentityProvider
|
|
7993
8268
|
#
|
7994
8269
|
class StartUserImportJobResponse < Struct.new(
|
7995
8270
|
:user_import_job)
|
8271
|
+
SENSITIVE = []
|
7996
8272
|
include Aws::Structure
|
7997
8273
|
end
|
7998
8274
|
|
@@ -8020,6 +8296,7 @@ module Aws::CognitoIdentityProvider
|
|
8020
8296
|
class StopUserImportJobRequest < Struct.new(
|
8021
8297
|
:user_pool_id,
|
8022
8298
|
:job_id)
|
8299
|
+
SENSITIVE = []
|
8023
8300
|
include Aws::Structure
|
8024
8301
|
end
|
8025
8302
|
|
@@ -8034,6 +8311,7 @@ module Aws::CognitoIdentityProvider
|
|
8034
8311
|
#
|
8035
8312
|
class StopUserImportJobResponse < Struct.new(
|
8036
8313
|
:user_import_job)
|
8314
|
+
SENSITIVE = []
|
8037
8315
|
include Aws::Structure
|
8038
8316
|
end
|
8039
8317
|
|
@@ -8060,6 +8338,7 @@ module Aws::CognitoIdentityProvider
|
|
8060
8338
|
class StringAttributeConstraintsType < Struct.new(
|
8061
8339
|
:min_length,
|
8062
8340
|
:max_length)
|
8341
|
+
SENSITIVE = []
|
8063
8342
|
include Aws::Structure
|
8064
8343
|
end
|
8065
8344
|
|
@@ -8087,6 +8366,7 @@ module Aws::CognitoIdentityProvider
|
|
8087
8366
|
class TagResourceRequest < Struct.new(
|
8088
8367
|
:resource_arn,
|
8089
8368
|
:tags)
|
8369
|
+
SENSITIVE = []
|
8090
8370
|
include Aws::Structure
|
8091
8371
|
end
|
8092
8372
|
|
@@ -8094,6 +8374,43 @@ module Aws::CognitoIdentityProvider
|
|
8094
8374
|
#
|
8095
8375
|
class TagResourceResponse < Aws::EmptyStructure; end
|
8096
8376
|
|
8377
|
+
# The data type for TokenValidityUnits that specifics the time
|
8378
|
+
# measurements for token validity.
|
8379
|
+
#
|
8380
|
+
# @note When making an API call, you may pass TokenValidityUnitsType
|
8381
|
+
# data as a hash:
|
8382
|
+
#
|
8383
|
+
# {
|
8384
|
+
# access_token: "seconds", # accepts seconds, minutes, hours, days
|
8385
|
+
# id_token: "seconds", # accepts seconds, minutes, hours, days
|
8386
|
+
# refresh_token: "seconds", # accepts seconds, minutes, hours, days
|
8387
|
+
# }
|
8388
|
+
#
|
8389
|
+
# @!attribute [rw] access_token
|
8390
|
+
# A time unit in “seconds”, “minutes”, “hours” or “days” for the value
|
8391
|
+
# in AccessTokenValidity, defaults to hours.
|
8392
|
+
# @return [String]
|
8393
|
+
#
|
8394
|
+
# @!attribute [rw] id_token
|
8395
|
+
# A time unit in “seconds”, “minutes”, “hours” or “days” for the value
|
8396
|
+
# in IdTokenValidity, defaults to hours.
|
8397
|
+
# @return [String]
|
8398
|
+
#
|
8399
|
+
# @!attribute [rw] refresh_token
|
8400
|
+
# A time unit in “seconds”, “minutes”, “hours” or “days” for the value
|
8401
|
+
# in RefreshTokenValidity, defaults to days.
|
8402
|
+
# @return [String]
|
8403
|
+
#
|
8404
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TokenValidityUnitsType AWS API Documentation
|
8405
|
+
#
|
8406
|
+
class TokenValidityUnitsType < Struct.new(
|
8407
|
+
:access_token,
|
8408
|
+
:id_token,
|
8409
|
+
:refresh_token)
|
8410
|
+
SENSITIVE = []
|
8411
|
+
include Aws::Structure
|
8412
|
+
end
|
8413
|
+
|
8097
8414
|
# This exception is thrown when the user has made too many failed
|
8098
8415
|
# attempts for a given action (e.g., sign in).
|
8099
8416
|
#
|
@@ -8106,6 +8423,7 @@ module Aws::CognitoIdentityProvider
|
|
8106
8423
|
#
|
8107
8424
|
class TooManyFailedAttemptsException < Struct.new(
|
8108
8425
|
:message)
|
8426
|
+
SENSITIVE = []
|
8109
8427
|
include Aws::Structure
|
8110
8428
|
end
|
8111
8429
|
|
@@ -8121,6 +8439,7 @@ module Aws::CognitoIdentityProvider
|
|
8121
8439
|
#
|
8122
8440
|
class TooManyRequestsException < Struct.new(
|
8123
8441
|
:message)
|
8442
|
+
SENSITIVE = []
|
8124
8443
|
include Aws::Structure
|
8125
8444
|
end
|
8126
8445
|
|
@@ -8165,6 +8484,7 @@ module Aws::CognitoIdentityProvider
|
|
8165
8484
|
:css_version,
|
8166
8485
|
:last_modified_date,
|
8167
8486
|
:creation_date)
|
8487
|
+
SENSITIVE = [:client_id]
|
8168
8488
|
include Aws::Structure
|
8169
8489
|
end
|
8170
8490
|
|
@@ -8180,6 +8500,7 @@ module Aws::CognitoIdentityProvider
|
|
8180
8500
|
#
|
8181
8501
|
class UnexpectedLambdaException < Struct.new(
|
8182
8502
|
:message)
|
8503
|
+
SENSITIVE = []
|
8183
8504
|
include Aws::Structure
|
8184
8505
|
end
|
8185
8506
|
|
@@ -8193,6 +8514,7 @@ module Aws::CognitoIdentityProvider
|
|
8193
8514
|
#
|
8194
8515
|
class UnsupportedIdentityProviderException < Struct.new(
|
8195
8516
|
:message)
|
8517
|
+
SENSITIVE = []
|
8196
8518
|
include Aws::Structure
|
8197
8519
|
end
|
8198
8520
|
|
@@ -8206,6 +8528,7 @@ module Aws::CognitoIdentityProvider
|
|
8206
8528
|
#
|
8207
8529
|
class UnsupportedUserStateException < Struct.new(
|
8208
8530
|
:message)
|
8531
|
+
SENSITIVE = []
|
8209
8532
|
include Aws::Structure
|
8210
8533
|
end
|
8211
8534
|
|
@@ -8231,6 +8554,7 @@ module Aws::CognitoIdentityProvider
|
|
8231
8554
|
class UntagResourceRequest < Struct.new(
|
8232
8555
|
:resource_arn,
|
8233
8556
|
:tag_keys)
|
8557
|
+
SENSITIVE = []
|
8234
8558
|
include Aws::Structure
|
8235
8559
|
end
|
8236
8560
|
|
@@ -8277,6 +8601,7 @@ module Aws::CognitoIdentityProvider
|
|
8277
8601
|
:event_id,
|
8278
8602
|
:feedback_token,
|
8279
8603
|
:feedback_value)
|
8604
|
+
SENSITIVE = [:username, :feedback_token]
|
8280
8605
|
include Aws::Structure
|
8281
8606
|
end
|
8282
8607
|
|
@@ -8313,6 +8638,7 @@ module Aws::CognitoIdentityProvider
|
|
8313
8638
|
:access_token,
|
8314
8639
|
:device_key,
|
8315
8640
|
:device_remembered_status)
|
8641
|
+
SENSITIVE = [:access_token]
|
8316
8642
|
include Aws::Structure
|
8317
8643
|
end
|
8318
8644
|
|
@@ -8352,7 +8678,11 @@ module Aws::CognitoIdentityProvider
|
|
8352
8678
|
#
|
8353
8679
|
# @!attribute [rw] precedence
|
8354
8680
|
# The new precedence value for the group. For more information about
|
8355
|
-
# this parameter, see .
|
8681
|
+
# this parameter, see [CreateGroup][1].
|
8682
|
+
#
|
8683
|
+
#
|
8684
|
+
#
|
8685
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateGroup.html
|
8356
8686
|
# @return [Integer]
|
8357
8687
|
#
|
8358
8688
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroupRequest AWS API Documentation
|
@@ -8363,6 +8693,7 @@ module Aws::CognitoIdentityProvider
|
|
8363
8693
|
:description,
|
8364
8694
|
:role_arn,
|
8365
8695
|
:precedence)
|
8696
|
+
SENSITIVE = []
|
8366
8697
|
include Aws::Structure
|
8367
8698
|
end
|
8368
8699
|
|
@@ -8374,6 +8705,7 @@ module Aws::CognitoIdentityProvider
|
|
8374
8705
|
#
|
8375
8706
|
class UpdateGroupResponse < Struct.new(
|
8376
8707
|
:group)
|
8708
|
+
SENSITIVE = []
|
8377
8709
|
include Aws::Structure
|
8378
8710
|
end
|
8379
8711
|
|
@@ -8421,6 +8753,7 @@ module Aws::CognitoIdentityProvider
|
|
8421
8753
|
:provider_details,
|
8422
8754
|
:attribute_mapping,
|
8423
8755
|
:idp_identifiers)
|
8756
|
+
SENSITIVE = []
|
8424
8757
|
include Aws::Structure
|
8425
8758
|
end
|
8426
8759
|
|
@@ -8432,6 +8765,7 @@ module Aws::CognitoIdentityProvider
|
|
8432
8765
|
#
|
8433
8766
|
class UpdateIdentityProviderResponse < Struct.new(
|
8434
8767
|
:identity_provider)
|
8768
|
+
SENSITIVE = []
|
8435
8769
|
include Aws::Structure
|
8436
8770
|
end
|
8437
8771
|
|
@@ -8473,6 +8807,7 @@ module Aws::CognitoIdentityProvider
|
|
8473
8807
|
:identifier,
|
8474
8808
|
:name,
|
8475
8809
|
:scopes)
|
8810
|
+
SENSITIVE = []
|
8476
8811
|
include Aws::Structure
|
8477
8812
|
end
|
8478
8813
|
|
@@ -8484,6 +8819,7 @@ module Aws::CognitoIdentityProvider
|
|
8484
8819
|
#
|
8485
8820
|
class UpdateResourceServerResponse < Struct.new(
|
8486
8821
|
:resource_server)
|
8822
|
+
SENSITIVE = []
|
8487
8823
|
include Aws::Structure
|
8488
8824
|
end
|
8489
8825
|
|
@@ -8561,6 +8897,7 @@ module Aws::CognitoIdentityProvider
|
|
8561
8897
|
:user_attributes,
|
8562
8898
|
:access_token,
|
8563
8899
|
:client_metadata)
|
8900
|
+
SENSITIVE = [:access_token]
|
8564
8901
|
include Aws::Structure
|
8565
8902
|
end
|
8566
8903
|
|
@@ -8576,6 +8913,7 @@ module Aws::CognitoIdentityProvider
|
|
8576
8913
|
#
|
8577
8914
|
class UpdateUserAttributesResponse < Struct.new(
|
8578
8915
|
:code_delivery_details_list)
|
8916
|
+
SENSITIVE = []
|
8579
8917
|
include Aws::Structure
|
8580
8918
|
end
|
8581
8919
|
|
@@ -8589,6 +8927,13 @@ module Aws::CognitoIdentityProvider
|
|
8589
8927
|
# client_id: "ClientIdType", # required
|
8590
8928
|
# client_name: "ClientNameType",
|
8591
8929
|
# refresh_token_validity: 1,
|
8930
|
+
# access_token_validity: 1,
|
8931
|
+
# id_token_validity: 1,
|
8932
|
+
# token_validity_units: {
|
8933
|
+
# access_token: "seconds", # accepts seconds, minutes, hours, days
|
8934
|
+
# id_token: "seconds", # accepts seconds, minutes, hours, days
|
8935
|
+
# refresh_token: "seconds", # accepts seconds, minutes, hours, days
|
8936
|
+
# },
|
8592
8937
|
# read_attributes: ["ClientPermissionType"],
|
8593
8938
|
# write_attributes: ["ClientPermissionType"],
|
8594
8939
|
# explicit_auth_flows: ["ADMIN_NO_SRP_AUTH"], # accepts ADMIN_NO_SRP_AUTH, CUSTOM_AUTH_FLOW_ONLY, USER_PASSWORD_AUTH, ALLOW_ADMIN_USER_PASSWORD_AUTH, ALLOW_CUSTOM_AUTH, ALLOW_USER_PASSWORD_AUTH, ALLOW_USER_SRP_AUTH, ALLOW_REFRESH_TOKEN_AUTH
|
@@ -8626,6 +8971,22 @@ module Aws::CognitoIdentityProvider
|
|
8626
8971
|
# valid and cannot be used.
|
8627
8972
|
# @return [Integer]
|
8628
8973
|
#
|
8974
|
+
# @!attribute [rw] access_token_validity
|
8975
|
+
# The time limit, after which the access token is no longer valid and
|
8976
|
+
# cannot be used.
|
8977
|
+
# @return [Integer]
|
8978
|
+
#
|
8979
|
+
# @!attribute [rw] id_token_validity
|
8980
|
+
# The time limit, after which the ID token is no longer valid and
|
8981
|
+
# cannot be used.
|
8982
|
+
# @return [Integer]
|
8983
|
+
#
|
8984
|
+
# @!attribute [rw] token_validity_units
|
8985
|
+
# The units in which the validity times are represented in. Default
|
8986
|
+
# for RefreshToken is days, and default for ID and access tokens are
|
8987
|
+
# hours.
|
8988
|
+
# @return [Types::TokenValidityUnitsType]
|
8989
|
+
#
|
8629
8990
|
# @!attribute [rw] read_attributes
|
8630
8991
|
# The read-only attributes of the user pool.
|
8631
8992
|
# @return [Array<String>]
|
@@ -8748,9 +9109,10 @@ module Aws::CognitoIdentityProvider
|
|
8748
9109
|
# The Amazon Pinpoint analytics configuration for collecting metrics
|
8749
9110
|
# for this user pool.
|
8750
9111
|
#
|
8751
|
-
# <note markdown="1">
|
8752
|
-
#
|
8753
|
-
#
|
9112
|
+
# <note markdown="1"> In regions where Pinpoint is not available, Cognito User Pools only
|
9113
|
+
# supports sending events to Amazon Pinpoint projects in us-east-1. In
|
9114
|
+
# regions where Pinpoint is available, Cognito User Pools will support
|
9115
|
+
# sending events to Amazon Pinpoint projects within that same region.
|
8754
9116
|
#
|
8755
9117
|
# </note>
|
8756
9118
|
# @return [Types::AnalyticsConfigurationType]
|
@@ -8773,24 +9135,6 @@ module Aws::CognitoIdentityProvider
|
|
8773
9135
|
# * `LEGACY` - This represents the old behavior of Cognito where user
|
8774
9136
|
# existence related errors are not prevented.
|
8775
9137
|
#
|
8776
|
-
# This setting affects the behavior of following APIs:
|
8777
|
-
#
|
8778
|
-
# * AdminInitiateAuth
|
8779
|
-
#
|
8780
|
-
# * AdminRespondToAuthChallenge
|
8781
|
-
#
|
8782
|
-
# * InitiateAuth
|
8783
|
-
#
|
8784
|
-
# * RespondToAuthChallenge
|
8785
|
-
#
|
8786
|
-
# * ForgotPassword
|
8787
|
-
#
|
8788
|
-
# * ConfirmForgotPassword
|
8789
|
-
#
|
8790
|
-
# * ConfirmSignUp
|
8791
|
-
#
|
8792
|
-
# * ResendConfirmationCode
|
8793
|
-
#
|
8794
9138
|
# <note markdown="1"> After February 15th 2020, the value of `PreventUserExistenceErrors`
|
8795
9139
|
# will default to `ENABLED` for newly created user pool clients if no
|
8796
9140
|
# value is provided.
|
@@ -8805,6 +9149,9 @@ module Aws::CognitoIdentityProvider
|
|
8805
9149
|
:client_id,
|
8806
9150
|
:client_name,
|
8807
9151
|
:refresh_token_validity,
|
9152
|
+
:access_token_validity,
|
9153
|
+
:id_token_validity,
|
9154
|
+
:token_validity_units,
|
8808
9155
|
:read_attributes,
|
8809
9156
|
:write_attributes,
|
8810
9157
|
:explicit_auth_flows,
|
@@ -8817,6 +9164,7 @@ module Aws::CognitoIdentityProvider
|
|
8817
9164
|
:allowed_o_auth_flows_user_pool_client,
|
8818
9165
|
:analytics_configuration,
|
8819
9166
|
:prevent_user_existence_errors)
|
9167
|
+
SENSITIVE = [:client_id]
|
8820
9168
|
include Aws::Structure
|
8821
9169
|
end
|
8822
9170
|
|
@@ -8832,6 +9180,7 @@ module Aws::CognitoIdentityProvider
|
|
8832
9180
|
#
|
8833
9181
|
class UpdateUserPoolClientResponse < Struct.new(
|
8834
9182
|
:user_pool_client)
|
9183
|
+
SENSITIVE = []
|
8835
9184
|
include Aws::Structure
|
8836
9185
|
end
|
8837
9186
|
|
@@ -8874,6 +9223,7 @@ module Aws::CognitoIdentityProvider
|
|
8874
9223
|
:domain,
|
8875
9224
|
:user_pool_id,
|
8876
9225
|
:custom_domain_config)
|
9226
|
+
SENSITIVE = []
|
8877
9227
|
include Aws::Structure
|
8878
9228
|
end
|
8879
9229
|
|
@@ -8888,6 +9238,7 @@ module Aws::CognitoIdentityProvider
|
|
8888
9238
|
#
|
8889
9239
|
class UpdateUserPoolDomainResponse < Struct.new(
|
8890
9240
|
:cloud_front_domain)
|
9241
|
+
SENSITIVE = []
|
8891
9242
|
include Aws::Structure
|
8892
9243
|
end
|
8893
9244
|
|
@@ -9083,6 +9434,7 @@ module Aws::CognitoIdentityProvider
|
|
9083
9434
|
:admin_create_user_config,
|
9084
9435
|
:user_pool_add_ons,
|
9085
9436
|
:account_recovery_setting)
|
9437
|
+
SENSITIVE = []
|
9086
9438
|
include Aws::Structure
|
9087
9439
|
end
|
9088
9440
|
|
@@ -9114,6 +9466,7 @@ module Aws::CognitoIdentityProvider
|
|
9114
9466
|
#
|
9115
9467
|
class UserContextDataType < Struct.new(
|
9116
9468
|
:encoded_data)
|
9469
|
+
SENSITIVE = []
|
9117
9470
|
include Aws::Structure
|
9118
9471
|
end
|
9119
9472
|
|
@@ -9128,6 +9481,7 @@ module Aws::CognitoIdentityProvider
|
|
9128
9481
|
#
|
9129
9482
|
class UserImportInProgressException < Struct.new(
|
9130
9483
|
:message)
|
9484
|
+
SENSITIVE = []
|
9131
9485
|
include Aws::Structure
|
9132
9486
|
end
|
9133
9487
|
|
@@ -9225,6 +9579,7 @@ module Aws::CognitoIdentityProvider
|
|
9225
9579
|
:skipped_users,
|
9226
9580
|
:failed_users,
|
9227
9581
|
:completion_message)
|
9582
|
+
SENSITIVE = []
|
9228
9583
|
include Aws::Structure
|
9229
9584
|
end
|
9230
9585
|
|
@@ -9240,6 +9595,7 @@ module Aws::CognitoIdentityProvider
|
|
9240
9595
|
#
|
9241
9596
|
class UserLambdaValidationException < Struct.new(
|
9242
9597
|
:message)
|
9598
|
+
SENSITIVE = []
|
9243
9599
|
include Aws::Structure
|
9244
9600
|
end
|
9245
9601
|
|
@@ -9253,6 +9609,7 @@ module Aws::CognitoIdentityProvider
|
|
9253
9609
|
#
|
9254
9610
|
class UserNotConfirmedException < Struct.new(
|
9255
9611
|
:message)
|
9612
|
+
SENSITIVE = []
|
9256
9613
|
include Aws::Structure
|
9257
9614
|
end
|
9258
9615
|
|
@@ -9266,6 +9623,7 @@ module Aws::CognitoIdentityProvider
|
|
9266
9623
|
#
|
9267
9624
|
class UserNotFoundException < Struct.new(
|
9268
9625
|
:message)
|
9626
|
+
SENSITIVE = []
|
9269
9627
|
include Aws::Structure
|
9270
9628
|
end
|
9271
9629
|
|
@@ -9278,6 +9636,7 @@ module Aws::CognitoIdentityProvider
|
|
9278
9636
|
#
|
9279
9637
|
class UserPoolAddOnNotEnabledException < Struct.new(
|
9280
9638
|
:message)
|
9639
|
+
SENSITIVE = []
|
9281
9640
|
include Aws::Structure
|
9282
9641
|
end
|
9283
9642
|
|
@@ -9298,6 +9657,7 @@ module Aws::CognitoIdentityProvider
|
|
9298
9657
|
#
|
9299
9658
|
class UserPoolAddOnsType < Struct.new(
|
9300
9659
|
:advanced_security_mode)
|
9660
|
+
SENSITIVE = []
|
9301
9661
|
include Aws::Structure
|
9302
9662
|
end
|
9303
9663
|
|
@@ -9322,6 +9682,7 @@ module Aws::CognitoIdentityProvider
|
|
9322
9682
|
:client_id,
|
9323
9683
|
:user_pool_id,
|
9324
9684
|
:client_name)
|
9685
|
+
SENSITIVE = [:client_id]
|
9325
9686
|
include Aws::Structure
|
9326
9687
|
end
|
9327
9688
|
|
@@ -9356,6 +9717,23 @@ module Aws::CognitoIdentityProvider
|
|
9356
9717
|
# valid and cannot be used.
|
9357
9718
|
# @return [Integer]
|
9358
9719
|
#
|
9720
|
+
# @!attribute [rw] access_token_validity
|
9721
|
+
# The time limit, specified by tokenValidityUnits, defaulting to
|
9722
|
+
# hours, after which the access token is no longer valid and cannot be
|
9723
|
+
# used.
|
9724
|
+
# @return [Integer]
|
9725
|
+
#
|
9726
|
+
# @!attribute [rw] id_token_validity
|
9727
|
+
# The time limit, specified by tokenValidityUnits, defaulting to
|
9728
|
+
# hours, after which the refresh token is no longer valid and cannot
|
9729
|
+
# be used.
|
9730
|
+
# @return [Integer]
|
9731
|
+
#
|
9732
|
+
# @!attribute [rw] token_validity_units
|
9733
|
+
# The time units used to specify the token validity times of their
|
9734
|
+
# respective token.
|
9735
|
+
# @return [Types::TokenValidityUnitsType]
|
9736
|
+
#
|
9359
9737
|
# @!attribute [rw] read_attributes
|
9360
9738
|
# The Read-only attributes.
|
9361
9739
|
# @return [Array<String>]
|
@@ -9503,24 +9881,6 @@ module Aws::CognitoIdentityProvider
|
|
9503
9881
|
# * `LEGACY` - This represents the old behavior of Cognito where user
|
9504
9882
|
# existence related errors are not prevented.
|
9505
9883
|
#
|
9506
|
-
# This setting affects the behavior of following APIs:
|
9507
|
-
#
|
9508
|
-
# * AdminInitiateAuth
|
9509
|
-
#
|
9510
|
-
# * AdminRespondToAuthChallenge
|
9511
|
-
#
|
9512
|
-
# * InitiateAuth
|
9513
|
-
#
|
9514
|
-
# * RespondToAuthChallenge
|
9515
|
-
#
|
9516
|
-
# * ForgotPassword
|
9517
|
-
#
|
9518
|
-
# * ConfirmForgotPassword
|
9519
|
-
#
|
9520
|
-
# * ConfirmSignUp
|
9521
|
-
#
|
9522
|
-
# * ResendConfirmationCode
|
9523
|
-
#
|
9524
9884
|
# <note markdown="1"> After February 15th 2020, the value of `PreventUserExistenceErrors`
|
9525
9885
|
# will default to `ENABLED` for newly created user pool clients if no
|
9526
9886
|
# value is provided.
|
@@ -9538,6 +9898,9 @@ module Aws::CognitoIdentityProvider
|
|
9538
9898
|
:last_modified_date,
|
9539
9899
|
:creation_date,
|
9540
9900
|
:refresh_token_validity,
|
9901
|
+
:access_token_validity,
|
9902
|
+
:id_token_validity,
|
9903
|
+
:token_validity_units,
|
9541
9904
|
:read_attributes,
|
9542
9905
|
:write_attributes,
|
9543
9906
|
:explicit_auth_flows,
|
@@ -9550,6 +9913,7 @@ module Aws::CognitoIdentityProvider
|
|
9550
9913
|
:allowed_o_auth_flows_user_pool_client,
|
9551
9914
|
:analytics_configuration,
|
9552
9915
|
:prevent_user_existence_errors)
|
9916
|
+
SENSITIVE = [:client_id, :client_secret]
|
9553
9917
|
include Aws::Structure
|
9554
9918
|
end
|
9555
9919
|
|
@@ -9588,6 +9952,7 @@ module Aws::CognitoIdentityProvider
|
|
9588
9952
|
:status,
|
9589
9953
|
:last_modified_date,
|
9590
9954
|
:creation_date)
|
9955
|
+
SENSITIVE = []
|
9591
9956
|
include Aws::Structure
|
9592
9957
|
end
|
9593
9958
|
|
@@ -9615,6 +9980,7 @@ module Aws::CognitoIdentityProvider
|
|
9615
9980
|
#
|
9616
9981
|
class UserPoolPolicyType < Struct.new(
|
9617
9982
|
:password_policy)
|
9983
|
+
SENSITIVE = []
|
9618
9984
|
include Aws::Structure
|
9619
9985
|
end
|
9620
9986
|
|
@@ -9628,6 +9994,7 @@ module Aws::CognitoIdentityProvider
|
|
9628
9994
|
#
|
9629
9995
|
class UserPoolTaggingException < Struct.new(
|
9630
9996
|
:message)
|
9997
|
+
SENSITIVE = []
|
9631
9998
|
include Aws::Structure
|
9632
9999
|
end
|
9633
10000
|
|
@@ -9776,7 +10143,11 @@ module Aws::CognitoIdentityProvider
|
|
9776
10143
|
# the selected sign-in option. For example, when this is set to
|
9777
10144
|
# `False`, users will be able to sign in using either "username" or
|
9778
10145
|
# "Username". This configuration is immutable once it has been set.
|
9779
|
-
# For more information, see .
|
10146
|
+
# For more information, see [UsernameConfigurationType][1].
|
10147
|
+
#
|
10148
|
+
#
|
10149
|
+
#
|
10150
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_UsernameConfigurationType.html
|
9780
10151
|
# @return [Types::UsernameConfigurationType]
|
9781
10152
|
#
|
9782
10153
|
# @!attribute [rw] arn
|
@@ -9828,6 +10199,7 @@ module Aws::CognitoIdentityProvider
|
|
9828
10199
|
:username_configuration,
|
9829
10200
|
:arn,
|
9830
10201
|
:account_recovery_setting)
|
10202
|
+
SENSITIVE = []
|
9831
10203
|
include Aws::Structure
|
9832
10204
|
end
|
9833
10205
|
|
@@ -9889,6 +10261,7 @@ module Aws::CognitoIdentityProvider
|
|
9889
10261
|
:enabled,
|
9890
10262
|
:user_status,
|
9891
10263
|
:mfa_options)
|
10264
|
+
SENSITIVE = [:username]
|
9892
10265
|
include Aws::Structure
|
9893
10266
|
end
|
9894
10267
|
|
@@ -9924,6 +10297,7 @@ module Aws::CognitoIdentityProvider
|
|
9924
10297
|
#
|
9925
10298
|
class UsernameConfigurationType < Struct.new(
|
9926
10299
|
:case_sensitive)
|
10300
|
+
SENSITIVE = []
|
9927
10301
|
include Aws::Structure
|
9928
10302
|
end
|
9929
10303
|
|
@@ -9939,6 +10313,7 @@ module Aws::CognitoIdentityProvider
|
|
9939
10313
|
#
|
9940
10314
|
class UsernameExistsException < Struct.new(
|
9941
10315
|
:message)
|
10316
|
+
SENSITIVE = []
|
9942
10317
|
include Aws::Structure
|
9943
10318
|
end
|
9944
10319
|
|
@@ -9991,6 +10366,7 @@ module Aws::CognitoIdentityProvider
|
|
9991
10366
|
:email_message_by_link,
|
9992
10367
|
:email_subject_by_link,
|
9993
10368
|
:default_email_option)
|
10369
|
+
SENSITIVE = []
|
9994
10370
|
include Aws::Structure
|
9995
10371
|
end
|
9996
10372
|
|
@@ -10015,6 +10391,11 @@ module Aws::CognitoIdentityProvider
|
|
10015
10391
|
#
|
10016
10392
|
# @!attribute [rw] user_code
|
10017
10393
|
# The one time password computed using the secret code returned by
|
10394
|
+
# [AssociateSoftwareToken"][1].
|
10395
|
+
#
|
10396
|
+
#
|
10397
|
+
#
|
10398
|
+
# [1]: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AssociateSoftwareToken.html
|
10018
10399
|
# @return [String]
|
10019
10400
|
#
|
10020
10401
|
# @!attribute [rw] friendly_device_name
|
@@ -10028,6 +10409,7 @@ module Aws::CognitoIdentityProvider
|
|
10028
10409
|
:session,
|
10029
10410
|
:user_code,
|
10030
10411
|
:friendly_device_name)
|
10412
|
+
SENSITIVE = [:access_token]
|
10031
10413
|
include Aws::Structure
|
10032
10414
|
end
|
10033
10415
|
|
@@ -10045,6 +10427,7 @@ module Aws::CognitoIdentityProvider
|
|
10045
10427
|
class VerifySoftwareTokenResponse < Struct.new(
|
10046
10428
|
:status,
|
10047
10429
|
:session)
|
10430
|
+
SENSITIVE = []
|
10048
10431
|
include Aws::Structure
|
10049
10432
|
end
|
10050
10433
|
|
@@ -10078,6 +10461,7 @@ module Aws::CognitoIdentityProvider
|
|
10078
10461
|
:access_token,
|
10079
10462
|
:attribute_name,
|
10080
10463
|
:code)
|
10464
|
+
SENSITIVE = [:access_token]
|
10081
10465
|
include Aws::Structure
|
10082
10466
|
end
|
10083
10467
|
|