Struct rusoto_cognito_idp::CreateUserPoolRequest[][src]

pub struct CreateUserPoolRequest {
    pub admin_create_user_config: Option<AdminCreateUserConfigType>,
    pub alias_attributes: Option<Vec<String>>,
    pub auto_verified_attributes: Option<Vec<String>>,
    pub device_configuration: Option<DeviceConfigurationType>,
    pub email_configuration: Option<EmailConfigurationType>,
    pub email_verification_message: Option<String>,
    pub email_verification_subject: Option<String>,
    pub lambda_config: Option<LambdaConfigType>,
    pub mfa_configuration: Option<String>,
    pub policies: Option<UserPoolPolicyType>,
    pub pool_name: String,
    pub schema: Option<Vec<SchemaAttributeType>>,
    pub sms_authentication_message: Option<String>,
    pub sms_configuration: Option<SmsConfigurationType>,
    pub sms_verification_message: Option<String>,
    pub user_pool_add_ons: Option<UserPoolAddOnsType>,
    pub user_pool_tags: Option<HashMap<String, String>>,
    pub username_attributes: Option<Vec<String>>,
    pub verification_message_template: Option<VerificationMessageTemplateType>,
}

Represents the request to create a user pool.

Fields

The configuration for AdminCreateUser requests.

Attributes supported as an alias for this user pool. Possible values: phone_number, email, or preferred_username.

The attributes to be auto-verified. Possible values: email, phone_number.

The device configuration.

The email configuration.

A string representing the email verification message.

A string representing the email verification subject.

The Lambda trigger configuration information for the new user pool.

In a push model, event sources (such as Amazon S3 and custom applications) need permission to invoke a function. So you will need to make an extra call to add permission for these event sources to invoke your Lambda function.

For more information on using the Lambda API to add permission, see AddPermission .

For adding permission using the AWS CLI, see add-permission .

Specifies MFA configuration details.

The policies associated with the new user pool.

A string used to name the user pool.

An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.

A string representing the SMS authentication message.

The SMS configuration.

A string representing the SMS verification message.

Used to enable advanced security risk detection. Set the key AdvancedSecurityMode to the value "AUDIT".

The cost allocation tags for the user pool. For more information, see Adding Cost Allocation Tags to Your User Pool

Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.

The template for the verification message that the user sees when the app requests permission to access the user's information.

Trait Implementations

impl Default for CreateUserPoolRequest
[src]

Returns the "default value" for a type. Read more

impl Debug for CreateUserPoolRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for CreateUserPoolRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for CreateUserPoolRequest
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations