Class: Aws::CognitoIdentityProvider::Types::AccountRecoverySettingType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Note:

When making an API call, you may pass AccountRecoverySettingType data as a hash:

{
  recovery_mechanisms: [
    {
      priority: 1, # required
      name: "verified_email", # required, accepts verified_email, verified_phone_number, admin_only
    },
  ],
}

The data type for AccountRecoverySetting.

Instance Attribute Summary collapse

Instance Attribute Details

#recovery_mechanismsArray<Types::RecoveryOptionType>

The list of RecoveryOptionTypes.

Returns:



31
32
33
34
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 31

class AccountRecoverySettingType < Struct.new(
  :recovery_mechanisms)
  include Aws::Structure
end