You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CognitoIdentityProvider::Types::AdminSetUserSettingsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::AdminSetUserSettingsRequest
- Defined in:
- (unknown)
Overview
When passing AdminSetUserSettingsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
user_pool_id: "UserPoolIdType", # required
username: "UsernameType", # required
mfa_options: [ # required
{
delivery_medium: "SMS", # accepts SMS, EMAIL
attribute_name: "AttributeNameType",
},
],
}
You can use this parameter to set an MFA configuration that uses the SMS delivery medium.
Instance Attribute Summary collapse
-
#mfa_options ⇒ Array<Types::MFAOptionType>
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
-
#user_pool_id ⇒ String
The ID of the user pool that contains the user that you are setting options for.
-
#username ⇒ String
The user name of the user that you are setting options for.
Instance Attribute Details
#mfa_options ⇒ Array<Types::MFAOptionType>
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
#user_pool_id ⇒ String
The ID of the user pool that contains the user that you are setting options for.
#username ⇒ String
The user name of the user that you are setting options for.