aws-sdk-cognitoidentityprovider 1.30.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 578f7d94326ca7c6330d2fe103763deab0ac2a0e
|
4
|
+
data.tar.gz: 827cb1755e2cacca7d4e20b308b41c3225bf160b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bb8b9eb46d02d64cf7b185c5f4ac8efd88b1ea4fac04f94a66b26c8a6104b50f916828628f04b07196fdb3c26f6911a5d0588736ab459a52079edfb781e9651
|
7
|
+
data.tar.gz: 8a82815bc9182b9267c9c5b8e16208108963990e737ee6b2707dd6052d20ec9f312c3cb7fc96f7ec684e4e0f845d89e7bda62007c2fa91431cf6062ede5f66b6
|
@@ -1953,7 +1953,10 @@ module Aws::CognitoIdentityProvider
|
|
1953
1953
|
req.send_request(options)
|
1954
1954
|
end
|
1955
1955
|
|
1956
|
-
# Signs out users from all devices, as an administrator.
|
1956
|
+
# Signs out users from all devices, as an administrator. It also
|
1957
|
+
# invalidates all refresh tokens issued to a user. The user's current
|
1958
|
+
# access and Id tokens remain valid until their expiry. Access and Id
|
1959
|
+
# tokens expire one hour after they are issued.
|
1957
1960
|
#
|
1958
1961
|
# Calling this action requires developer credentials.
|
1959
1962
|
#
|
@@ -2620,6 +2623,21 @@ module Aws::CognitoIdentityProvider
|
|
2620
2623
|
# Used to enable advanced security risk detection. Set the key
|
2621
2624
|
# `AdvancedSecurityMode` to the value "AUDIT".
|
2622
2625
|
#
|
2626
|
+
# @option params [Types::AccountRecoverySettingType] :account_recovery_setting
|
2627
|
+
# Use this setting to define which verified available method a user can
|
2628
|
+
# use to recover their password when they call `ForgotPassword`. It
|
2629
|
+
# allows you to define a preferred method when a user has more than one
|
2630
|
+
# method available. With this setting, SMS does not qualify for a valid
|
2631
|
+
# password recovery mechanism if the user also has SMS MFA enabled. In
|
2632
|
+
# the absence of this setting, Cognito uses the legacy behavior to
|
2633
|
+
# determine the recovery method where SMS is preferred over email.
|
2634
|
+
#
|
2635
|
+
# <note markdown="1"> Starting February 1, 2020, the value of `AccountRecoverySetting` will
|
2636
|
+
# default to `verified_email` first and `verified_phone_number` as the
|
2637
|
+
# second option for newly created user pools if no value is provided.
|
2638
|
+
#
|
2639
|
+
# </note>
|
2640
|
+
#
|
2623
2641
|
# @return [Types::CreateUserPoolResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2624
2642
|
#
|
2625
2643
|
# * {Types::CreateUserPoolResponse#user_pool #user_pool} => Types::UserPoolType
|
@@ -2713,6 +2731,14 @@ module Aws::CognitoIdentityProvider
|
|
2713
2731
|
# user_pool_add_ons: {
|
2714
2732
|
# advanced_security_mode: "OFF", # required, accepts OFF, AUDIT, ENFORCED
|
2715
2733
|
# },
|
2734
|
+
# account_recovery_setting: {
|
2735
|
+
# recovery_mechanisms: [
|
2736
|
+
# {
|
2737
|
+
# priority: 1, # required
|
2738
|
+
# name: "verified_email", # required, accepts verified_email, verified_phone_number, admin_only
|
2739
|
+
# },
|
2740
|
+
# ],
|
2741
|
+
# },
|
2716
2742
|
# })
|
2717
2743
|
#
|
2718
2744
|
# @example Response structure
|
@@ -2788,6 +2814,9 @@ module Aws::CognitoIdentityProvider
|
|
2788
2814
|
# resp.user_pool.admin_create_user_config.invite_message_template.email_subject #=> String
|
2789
2815
|
# resp.user_pool.user_pool_add_ons.advanced_security_mode #=> String, one of "OFF", "AUDIT", "ENFORCED"
|
2790
2816
|
# resp.user_pool.arn #=> String
|
2817
|
+
# resp.user_pool.account_recovery_setting.recovery_mechanisms #=> Array
|
2818
|
+
# resp.user_pool.account_recovery_setting.recovery_mechanisms[0].priority #=> Integer
|
2819
|
+
# resp.user_pool.account_recovery_setting.recovery_mechanisms[0].name #=> String, one of "verified_email", "verified_phone_number", "admin_only"
|
2791
2820
|
#
|
2792
2821
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool AWS API Documentation
|
2793
2822
|
#
|
@@ -3576,6 +3605,9 @@ module Aws::CognitoIdentityProvider
|
|
3576
3605
|
# resp.user_pool.admin_create_user_config.invite_message_template.email_subject #=> String
|
3577
3606
|
# resp.user_pool.user_pool_add_ons.advanced_security_mode #=> String, one of "OFF", "AUDIT", "ENFORCED"
|
3578
3607
|
# resp.user_pool.arn #=> String
|
3608
|
+
# resp.user_pool.account_recovery_setting.recovery_mechanisms #=> Array
|
3609
|
+
# resp.user_pool.account_recovery_setting.recovery_mechanisms[0].priority #=> Integer
|
3610
|
+
# resp.user_pool.account_recovery_setting.recovery_mechanisms[0].name #=> String, one of "verified_email", "verified_phone_number", "admin_only"
|
3579
3611
|
#
|
3580
3612
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool AWS API Documentation
|
3581
3613
|
#
|
@@ -4191,7 +4223,10 @@ module Aws::CognitoIdentityProvider
|
|
4191
4223
|
req.send_request(options)
|
4192
4224
|
end
|
4193
4225
|
|
4194
|
-
# Signs out users from all devices.
|
4226
|
+
# Signs out users from all devices. It also invalidates all refresh
|
4227
|
+
# tokens issued to a user. The user's current access and Id tokens
|
4228
|
+
# remain valid until their expiry. Access and Id tokens expire one hour
|
4229
|
+
# after they are issued.
|
4195
4230
|
#
|
4196
4231
|
# @option params [required, String] :access_token
|
4197
4232
|
# The access token.
|
@@ -6175,6 +6210,15 @@ module Aws::CognitoIdentityProvider
|
|
6175
6210
|
# Used to enable advanced security risk detection. Set the key
|
6176
6211
|
# `AdvancedSecurityMode` to the value "AUDIT".
|
6177
6212
|
#
|
6213
|
+
# @option params [Types::AccountRecoverySettingType] :account_recovery_setting
|
6214
|
+
# Use this setting to define which verified available method a user can
|
6215
|
+
# use to recover their password when they call `ForgotPassword`. It
|
6216
|
+
# allows you to define a preferred method when a user has more than one
|
6217
|
+
# method available. With this setting, SMS does not qualify for a valid
|
6218
|
+
# password recovery mechanism if the user also has SMS MFA enabled. In
|
6219
|
+
# the absence of this setting, Cognito uses the legacy behavior to
|
6220
|
+
# determine the recovery method where SMS is preferred over email.
|
6221
|
+
#
|
6178
6222
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6179
6223
|
#
|
6180
6224
|
# @example Request syntax with placeholder values
|
@@ -6247,6 +6291,14 @@ module Aws::CognitoIdentityProvider
|
|
6247
6291
|
# user_pool_add_ons: {
|
6248
6292
|
# advanced_security_mode: "OFF", # required, accepts OFF, AUDIT, ENFORCED
|
6249
6293
|
# },
|
6294
|
+
# account_recovery_setting: {
|
6295
|
+
# recovery_mechanisms: [
|
6296
|
+
# {
|
6297
|
+
# priority: 1, # required
|
6298
|
+
# name: "verified_email", # required, accepts verified_email, verified_phone_number, admin_only
|
6299
|
+
# },
|
6300
|
+
# ],
|
6301
|
+
# },
|
6250
6302
|
# })
|
6251
6303
|
#
|
6252
6304
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool AWS API Documentation
|
@@ -6661,7 +6713,7 @@ module Aws::CognitoIdentityProvider
|
|
6661
6713
|
params: params,
|
6662
6714
|
config: config)
|
6663
6715
|
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
|
6664
|
-
context[:gem_version] = '1.
|
6716
|
+
context[:gem_version] = '1.31.0'
|
6665
6717
|
Seahorse::Client::Request.new(handlers, context)
|
6666
6718
|
end
|
6667
6719
|
|
@@ -12,6 +12,7 @@ module Aws::CognitoIdentityProvider
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
14
|
AWSAccountIdType = Shapes::StringShape.new(name: 'AWSAccountIdType')
|
15
|
+
AccountRecoverySettingType = Shapes::StructureShape.new(name: 'AccountRecoverySettingType')
|
15
16
|
AccountTakeoverActionNotifyType = Shapes::BooleanShape.new(name: 'AccountTakeoverActionNotifyType')
|
16
17
|
AccountTakeoverActionType = Shapes::StructureShape.new(name: 'AccountTakeoverActionType')
|
17
18
|
AccountTakeoverActionsType = Shapes::StructureShape.new(name: 'AccountTakeoverActionsType')
|
@@ -309,6 +310,7 @@ module Aws::CognitoIdentityProvider
|
|
309
310
|
PrecedenceType = Shapes::IntegerShape.new(name: 'PrecedenceType')
|
310
311
|
PreconditionNotMetException = Shapes::StructureShape.new(name: 'PreconditionNotMetException')
|
311
312
|
PreventUserExistenceErrorTypes = Shapes::StringShape.new(name: 'PreventUserExistenceErrorTypes')
|
313
|
+
PriorityType = Shapes::IntegerShape.new(name: 'PriorityType')
|
312
314
|
ProviderDescription = Shapes::StructureShape.new(name: 'ProviderDescription')
|
313
315
|
ProviderDetailsType = Shapes::MapShape.new(name: 'ProviderDetailsType')
|
314
316
|
ProviderNameType = Shapes::StringShape.new(name: 'ProviderNameType')
|
@@ -317,6 +319,9 @@ module Aws::CognitoIdentityProvider
|
|
317
319
|
ProvidersListType = Shapes::ListShape.new(name: 'ProvidersListType')
|
318
320
|
QueryLimit = Shapes::IntegerShape.new(name: 'QueryLimit')
|
319
321
|
QueryLimitType = Shapes::IntegerShape.new(name: 'QueryLimitType')
|
322
|
+
RecoveryMechanismsType = Shapes::ListShape.new(name: 'RecoveryMechanismsType')
|
323
|
+
RecoveryOptionNameType = Shapes::StringShape.new(name: 'RecoveryOptionNameType')
|
324
|
+
RecoveryOptionType = Shapes::StructureShape.new(name: 'RecoveryOptionType')
|
320
325
|
RedirectUrlType = Shapes::StringShape.new(name: 'RedirectUrlType')
|
321
326
|
RefreshTokenValidityType = Shapes::IntegerShape.new(name: 'RefreshTokenValidityType')
|
322
327
|
ResendConfirmationCodeRequest = Shapes::StructureShape.new(name: 'ResendConfirmationCodeRequest')
|
@@ -452,6 +457,9 @@ module Aws::CognitoIdentityProvider
|
|
452
457
|
VerifyUserAttributeRequest = Shapes::StructureShape.new(name: 'VerifyUserAttributeRequest')
|
453
458
|
VerifyUserAttributeResponse = Shapes::StructureShape.new(name: 'VerifyUserAttributeResponse')
|
454
459
|
|
460
|
+
AccountRecoverySettingType.add_member(:recovery_mechanisms, Shapes::ShapeRef.new(shape: RecoveryMechanismsType, location_name: "RecoveryMechanisms"))
|
461
|
+
AccountRecoverySettingType.struct_class = Types::AccountRecoverySettingType
|
462
|
+
|
455
463
|
AccountTakeoverActionType.add_member(:notify, Shapes::ShapeRef.new(shape: AccountTakeoverActionNotifyType, required: true, location_name: "Notify"))
|
456
464
|
AccountTakeoverActionType.add_member(:event_action, Shapes::ShapeRef.new(shape: AccountTakeoverEventActionType, required: true, location_name: "EventAction"))
|
457
465
|
AccountTakeoverActionType.struct_class = Types::AccountTakeoverActionType
|
@@ -925,6 +933,7 @@ module Aws::CognitoIdentityProvider
|
|
925
933
|
CreateUserPoolRequest.add_member(:admin_create_user_config, Shapes::ShapeRef.new(shape: AdminCreateUserConfigType, location_name: "AdminCreateUserConfig"))
|
926
934
|
CreateUserPoolRequest.add_member(:schema, Shapes::ShapeRef.new(shape: SchemaAttributesListType, location_name: "Schema"))
|
927
935
|
CreateUserPoolRequest.add_member(:user_pool_add_ons, Shapes::ShapeRef.new(shape: UserPoolAddOnsType, location_name: "UserPoolAddOns"))
|
936
|
+
CreateUserPoolRequest.add_member(:account_recovery_setting, Shapes::ShapeRef.new(shape: AccountRecoverySettingType, location_name: "AccountRecoverySetting"))
|
928
937
|
CreateUserPoolRequest.struct_class = Types::CreateUserPoolRequest
|
929
938
|
|
930
939
|
CreateUserPoolResponse.add_member(:user_pool, Shapes::ShapeRef.new(shape: UserPoolType, location_name: "UserPool"))
|
@@ -1419,6 +1428,12 @@ module Aws::CognitoIdentityProvider
|
|
1419
1428
|
|
1420
1429
|
ProvidersListType.member = Shapes::ShapeRef.new(shape: ProviderDescription)
|
1421
1430
|
|
1431
|
+
RecoveryMechanismsType.member = Shapes::ShapeRef.new(shape: RecoveryOptionType)
|
1432
|
+
|
1433
|
+
RecoveryOptionType.add_member(:priority, Shapes::ShapeRef.new(shape: PriorityType, required: true, location_name: "Priority"))
|
1434
|
+
RecoveryOptionType.add_member(:name, Shapes::ShapeRef.new(shape: RecoveryOptionNameType, required: true, location_name: "Name"))
|
1435
|
+
RecoveryOptionType.struct_class = Types::RecoveryOptionType
|
1436
|
+
|
1422
1437
|
ResendConfirmationCodeRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientIdType, required: true, location_name: "ClientId"))
|
1423
1438
|
ResendConfirmationCodeRequest.add_member(:secret_hash, Shapes::ShapeRef.new(shape: SecretHashType, location_name: "SecretHash"))
|
1424
1439
|
ResendConfirmationCodeRequest.add_member(:user_context_data, Shapes::ShapeRef.new(shape: UserContextDataType, location_name: "UserContextData"))
|
@@ -1729,6 +1744,7 @@ module Aws::CognitoIdentityProvider
|
|
1729
1744
|
UpdateUserPoolRequest.add_member(:user_pool_tags, Shapes::ShapeRef.new(shape: UserPoolTagsType, location_name: "UserPoolTags"))
|
1730
1745
|
UpdateUserPoolRequest.add_member(:admin_create_user_config, Shapes::ShapeRef.new(shape: AdminCreateUserConfigType, location_name: "AdminCreateUserConfig"))
|
1731
1746
|
UpdateUserPoolRequest.add_member(:user_pool_add_ons, Shapes::ShapeRef.new(shape: UserPoolAddOnsType, location_name: "UserPoolAddOns"))
|
1747
|
+
UpdateUserPoolRequest.add_member(:account_recovery_setting, Shapes::ShapeRef.new(shape: AccountRecoverySettingType, location_name: "AccountRecoverySetting"))
|
1732
1748
|
UpdateUserPoolRequest.struct_class = Types::UpdateUserPoolRequest
|
1733
1749
|
|
1734
1750
|
UpdateUserPoolResponse.struct_class = Types::UpdateUserPoolResponse
|
@@ -1851,6 +1867,7 @@ module Aws::CognitoIdentityProvider
|
|
1851
1867
|
UserPoolType.add_member(:admin_create_user_config, Shapes::ShapeRef.new(shape: AdminCreateUserConfigType, location_name: "AdminCreateUserConfig"))
|
1852
1868
|
UserPoolType.add_member(:user_pool_add_ons, Shapes::ShapeRef.new(shape: UserPoolAddOnsType, location_name: "UserPoolAddOns"))
|
1853
1869
|
UserPoolType.add_member(:arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "Arn"))
|
1870
|
+
UserPoolType.add_member(:account_recovery_setting, Shapes::ShapeRef.new(shape: AccountRecoverySettingType, location_name: "AccountRecoverySetting"))
|
1854
1871
|
UserPoolType.struct_class = Types::UserPoolType
|
1855
1872
|
|
1856
1873
|
UserType.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, location_name: "Username"))
|
@@ -8,6 +8,31 @@
|
|
8
8
|
module Aws::CognitoIdentityProvider
|
9
9
|
module Types
|
10
10
|
|
11
|
+
# The data type for `AccountRecoverySetting`.
|
12
|
+
#
|
13
|
+
# @note When making an API call, you may pass AccountRecoverySettingType
|
14
|
+
# data as a hash:
|
15
|
+
#
|
16
|
+
# {
|
17
|
+
# recovery_mechanisms: [
|
18
|
+
# {
|
19
|
+
# priority: 1, # required
|
20
|
+
# name: "verified_email", # required, accepts verified_email, verified_phone_number, admin_only
|
21
|
+
# },
|
22
|
+
# ],
|
23
|
+
# }
|
24
|
+
#
|
25
|
+
# @!attribute [rw] recovery_mechanisms
|
26
|
+
# The list of `RecoveryOptionTypes`.
|
27
|
+
# @return [Array<Types::RecoveryOptionType>]
|
28
|
+
#
|
29
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AccountRecoverySettingType AWS API Documentation
|
30
|
+
#
|
31
|
+
class AccountRecoverySettingType < Struct.new(
|
32
|
+
:recovery_mechanisms)
|
33
|
+
include Aws::Structure
|
34
|
+
end
|
35
|
+
|
11
36
|
# Account takeover action type.
|
12
37
|
#
|
13
38
|
# @note When making an API call, you may pass AccountTakeoverActionType
|
@@ -3459,6 +3484,14 @@ module Aws::CognitoIdentityProvider
|
|
3459
3484
|
# user_pool_add_ons: {
|
3460
3485
|
# advanced_security_mode: "OFF", # required, accepts OFF, AUDIT, ENFORCED
|
3461
3486
|
# },
|
3487
|
+
# account_recovery_setting: {
|
3488
|
+
# recovery_mechanisms: [
|
3489
|
+
# {
|
3490
|
+
# priority: 1, # required
|
3491
|
+
# name: "verified_email", # required, accepts verified_email, verified_phone_number, admin_only
|
3492
|
+
# },
|
3493
|
+
# ],
|
3494
|
+
# },
|
3462
3495
|
# }
|
3463
3496
|
#
|
3464
3497
|
# @!attribute [rw] pool_name
|
@@ -3564,6 +3597,24 @@ module Aws::CognitoIdentityProvider
|
|
3564
3597
|
# `AdvancedSecurityMode` to the value "AUDIT".
|
3565
3598
|
# @return [Types::UserPoolAddOnsType]
|
3566
3599
|
#
|
3600
|
+
# @!attribute [rw] account_recovery_setting
|
3601
|
+
# Use this setting to define which verified available method a user
|
3602
|
+
# can use to recover their password when they call `ForgotPassword`.
|
3603
|
+
# It allows you to define a preferred method when a user has more than
|
3604
|
+
# one method available. With this setting, SMS does not qualify for a
|
3605
|
+
# valid password recovery mechanism if the user also has SMS MFA
|
3606
|
+
# enabled. In the absence of this setting, Cognito uses the legacy
|
3607
|
+
# behavior to determine the recovery method where SMS is preferred
|
3608
|
+
# over email.
|
3609
|
+
#
|
3610
|
+
# <note markdown="1"> Starting February 1, 2020, the value of `AccountRecoverySetting`
|
3611
|
+
# will default to `verified_email` first and `verified_phone_number`
|
3612
|
+
# as the second option for newly created user pools if no value is
|
3613
|
+
# provided.
|
3614
|
+
#
|
3615
|
+
# </note>
|
3616
|
+
# @return [Types::AccountRecoverySettingType]
|
3617
|
+
#
|
3567
3618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolRequest AWS API Documentation
|
3568
3619
|
#
|
3569
3620
|
class CreateUserPoolRequest < Struct.new(
|
@@ -3585,7 +3636,8 @@ module Aws::CognitoIdentityProvider
|
|
3585
3636
|
:user_pool_tags,
|
3586
3637
|
:admin_create_user_config,
|
3587
3638
|
:schema,
|
3588
|
-
:user_pool_add_ons
|
3639
|
+
:user_pool_add_ons,
|
3640
|
+
:account_recovery_setting)
|
3589
3641
|
include Aws::Structure
|
3590
3642
|
end
|
3591
3643
|
|
@@ -6590,6 +6642,34 @@ module Aws::CognitoIdentityProvider
|
|
6590
6642
|
include Aws::Structure
|
6591
6643
|
end
|
6592
6644
|
|
6645
|
+
# A map containing a priority as a key, and recovery method name as a
|
6646
|
+
# value.
|
6647
|
+
#
|
6648
|
+
# @note When making an API call, you may pass RecoveryOptionType
|
6649
|
+
# data as a hash:
|
6650
|
+
#
|
6651
|
+
# {
|
6652
|
+
# priority: 1, # required
|
6653
|
+
# name: "verified_email", # required, accepts verified_email, verified_phone_number, admin_only
|
6654
|
+
# }
|
6655
|
+
#
|
6656
|
+
# @!attribute [rw] priority
|
6657
|
+
# A positive integer specifying priority of a method with 1 being the
|
6658
|
+
# highest priority.
|
6659
|
+
# @return [Integer]
|
6660
|
+
#
|
6661
|
+
# @!attribute [rw] name
|
6662
|
+
# Specifies the recovery method for a user.
|
6663
|
+
# @return [String]
|
6664
|
+
#
|
6665
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RecoveryOptionType AWS API Documentation
|
6666
|
+
#
|
6667
|
+
class RecoveryOptionType < Struct.new(
|
6668
|
+
:priority,
|
6669
|
+
:name)
|
6670
|
+
include Aws::Structure
|
6671
|
+
end
|
6672
|
+
|
6593
6673
|
# Represents the request to resend the confirmation code.
|
6594
6674
|
#
|
6595
6675
|
# @note When making an API call, you may pass ResendConfirmationCodeRequest
|
@@ -8709,6 +8789,14 @@ module Aws::CognitoIdentityProvider
|
|
8709
8789
|
# user_pool_add_ons: {
|
8710
8790
|
# advanced_security_mode: "OFF", # required, accepts OFF, AUDIT, ENFORCED
|
8711
8791
|
# },
|
8792
|
+
# account_recovery_setting: {
|
8793
|
+
# recovery_mechanisms: [
|
8794
|
+
# {
|
8795
|
+
# priority: 1, # required
|
8796
|
+
# name: "verified_email", # required, accepts verified_email, verified_phone_number, admin_only
|
8797
|
+
# },
|
8798
|
+
# ],
|
8799
|
+
# },
|
8712
8800
|
# }
|
8713
8801
|
#
|
8714
8802
|
# @!attribute [rw] user_pool_id
|
@@ -8789,6 +8877,17 @@ module Aws::CognitoIdentityProvider
|
|
8789
8877
|
# `AdvancedSecurityMode` to the value "AUDIT".
|
8790
8878
|
# @return [Types::UserPoolAddOnsType]
|
8791
8879
|
#
|
8880
|
+
# @!attribute [rw] account_recovery_setting
|
8881
|
+
# Use this setting to define which verified available method a user
|
8882
|
+
# can use to recover their password when they call `ForgotPassword`.
|
8883
|
+
# It allows you to define a preferred method when a user has more than
|
8884
|
+
# one method available. With this setting, SMS does not qualify for a
|
8885
|
+
# valid password recovery mechanism if the user also has SMS MFA
|
8886
|
+
# enabled. In the absence of this setting, Cognito uses the legacy
|
8887
|
+
# behavior to determine the recovery method where SMS is preferred
|
8888
|
+
# over email.
|
8889
|
+
# @return [Types::AccountRecoverySettingType]
|
8890
|
+
#
|
8792
8891
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolRequest AWS API Documentation
|
8793
8892
|
#
|
8794
8893
|
class UpdateUserPoolRequest < Struct.new(
|
@@ -8807,7 +8906,8 @@ module Aws::CognitoIdentityProvider
|
|
8807
8906
|
:sms_configuration,
|
8808
8907
|
:user_pool_tags,
|
8809
8908
|
:admin_create_user_config,
|
8810
|
-
:user_pool_add_ons
|
8909
|
+
:user_pool_add_ons,
|
8910
|
+
:account_recovery_setting)
|
8811
8911
|
include Aws::Structure
|
8812
8912
|
end
|
8813
8913
|
|
@@ -9488,6 +9588,17 @@ module Aws::CognitoIdentityProvider
|
|
9488
9588
|
# The Amazon Resource Name (ARN) for the user pool.
|
9489
9589
|
# @return [String]
|
9490
9590
|
#
|
9591
|
+
# @!attribute [rw] account_recovery_setting
|
9592
|
+
# Use this setting to define which verified available method a user
|
9593
|
+
# can use to recover their password when they call `ForgotPassword`.
|
9594
|
+
# It allows you to define a preferred method when a user has more than
|
9595
|
+
# one method available. With this setting, SMS does not qualify for a
|
9596
|
+
# valid password recovery mechanism if the user also has SMS MFA
|
9597
|
+
# enabled. In the absence of this setting, Cognito uses the legacy
|
9598
|
+
# behavior to determine the recovery method where SMS is preferred
|
9599
|
+
# over email.
|
9600
|
+
# @return [Types::AccountRecoverySettingType]
|
9601
|
+
#
|
9491
9602
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UserPoolType AWS API Documentation
|
9492
9603
|
#
|
9493
9604
|
class UserPoolType < Struct.new(
|
@@ -9519,7 +9630,8 @@ module Aws::CognitoIdentityProvider
|
|
9519
9630
|
:custom_domain,
|
9520
9631
|
:admin_create_user_config,
|
9521
9632
|
:user_pool_add_ons,
|
9522
|
-
:arn
|
9633
|
+
:arn,
|
9634
|
+
:account_recovery_setting)
|
9523
9635
|
include Aws::Structure
|
9524
9636
|
end
|
9525
9637
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cognitoidentityprovider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|