[][src]Struct rusoto_cognito_idp::AdminCreateUserConfigType

pub struct AdminCreateUserConfigType {
    pub allow_admin_create_user_only: Option<bool>,
    pub invite_message_template: Option<MessageTemplateType>,
    pub unused_account_validity_days: Option<i64>,
}

The configuration for creating a new user profile.

Fields

allow_admin_create_user_only: Option<bool>

Set to True if only the administrator is allowed to create user profiles. Set to False if users can sign themselves up via an app.

invite_message_template: Option<MessageTemplateType>

The message template to be used for the welcome message to new users.

See also Customizing User Invitation Messages.

unused_account_validity_days: Option<i64>

The user account expiration limit, in days, after which the account is no longer usable. To reset the account after that time limit, you must call AdminCreateUser again, specifying "RESEND" for the MessageAction parameter. The default value for this parameter is 7.

If you set a value for TemporaryPasswordValidityDays in PasswordPolicy, that value will be used and UnusedAccountValidityDays will be deprecated for that user pool.

Trait Implementations

impl Clone for AdminCreateUserConfigType[src]

impl Debug for AdminCreateUserConfigType[src]

impl Default for AdminCreateUserConfigType[src]

impl<'de> Deserialize<'de> for AdminCreateUserConfigType[src]

impl PartialEq<AdminCreateUserConfigType> for AdminCreateUserConfigType[src]

impl Serialize for AdminCreateUserConfigType[src]

impl StructuralPartialEq for AdminCreateUserConfigType[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.