[−][src]Struct rusoto_cognito_idp::CreateUserPoolRequest
Represents the request to create a user pool.
Fields
account_recovery_setting: Option<AccountRecoverySettingType>
Use this setting to define which verified available method a user can use to recover their password when they call ForgotPassword
. It allows you to define a preferred method when a user has more than one method available. With this setting, SMS does not qualify for a valid password recovery mechanism if the user also has SMS MFA enabled. In the absence of this setting, Cognito uses the legacy behavior to determine the recovery method where SMS is preferred over email.
Starting February 1, 2020, the value of AccountRecoverySetting
will default to verifiedemail
first and verifiedphone_number
as the second option for newly created user pools if no value is provided.
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".
The tag keys and values to assign to the user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
username_attributes: Option<Vec<String>>
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
username_configuration: Option<UsernameConfigurationType>
You can choose to set case sensitivity on the username input for the selected sign-in option. For example, when this is set to False
, users will be able to sign in using either "username" or "Username". This configuration is immutable once it has been set. For more information, see .
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 Clone for CreateUserPoolRequest
[src]
pub fn clone(&self) -> CreateUserPoolRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CreateUserPoolRequest
[src]
impl Default for CreateUserPoolRequest
[src]
pub fn default() -> CreateUserPoolRequest
[src]
impl PartialEq<CreateUserPoolRequest> for CreateUserPoolRequest
[src]
pub fn eq(&self, other: &CreateUserPoolRequest) -> bool
[src]
pub fn ne(&self, other: &CreateUserPoolRequest) -> bool
[src]
impl Serialize for CreateUserPoolRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for CreateUserPoolRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateUserPoolRequest
[src]
impl Send for CreateUserPoolRequest
[src]
impl Sync for CreateUserPoolRequest
[src]
impl Unpin for CreateUserPoolRequest
[src]
impl UnwindSafe for CreateUserPoolRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,