[][src]Struct rusoto_cognito_idp::CreateUserPoolRequest

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

admin_create_user_config: Option<AdminCreateUserConfigType>

The configuration for AdminCreateUser requests.

alias_attributes: Option<Vec<String>>

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

auto_verified_attributes: Option<Vec<String>>

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

device_configuration: Option<DeviceConfigurationType>

The device configuration.

email_configuration: Option<EmailConfigurationType>

The email configuration.

email_verification_message: Option<String>

A string representing the email verification message.

email_verification_subject: Option<String>

A string representing the email verification subject.

lambda_config: Option<LambdaConfigType>

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 .

mfa_configuration: Option<String>

Specifies MFA configuration details.

policies: Option<UserPoolPolicyType>

The policies associated with the new user pool.

pool_name: String

A string used to name the user pool.

schema: Option<Vec<SchemaAttributeType>>

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

sms_authentication_message: Option<String>

A string representing the SMS authentication message.

sms_configuration: Option<SmsConfigurationType>

The SMS configuration.

sms_verification_message: Option<String>

A string representing the SMS verification message.

user_pool_add_ons: Option<UserPoolAddOnsType>

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

user_pool_tags: Option<HashMap<String, String>>

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

username_attributes: Option<Vec<String>>

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

verification_message_template: Option<VerificationMessageTemplateType>

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

Trait Implementations

impl PartialEq<CreateUserPoolRequest> for CreateUserPoolRequest[src]

impl Default for CreateUserPoolRequest[src]

impl Clone for CreateUserPoolRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CreateUserPoolRequest[src]

impl Serialize for CreateUserPoolRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self