[][src]Struct rusoto_cognito_idp::AdminGetUserResponse

pub struct AdminGetUserResponse {
    pub enabled: Option<bool>,
    pub mfa_options: Option<Vec<MFAOptionType>>,
    pub preferred_mfa_setting: Option<String>,
    pub user_attributes: Option<Vec<AttributeType>>,
    pub user_create_date: Option<f64>,
    pub user_last_modified_date: Option<f64>,
    pub user_mfa_setting_list: Option<Vec<String>>,
    pub user_status: Option<String>,
    pub username: String,
}

Represents the response from the server from the request to get the specified user as an administrator.

Fields

enabled: Option<bool>

Indicates that the status is enabled.

mfa_options: Option<Vec<MFAOptionType>>

This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about TOTP software token MFA configurations. To look up information about either type of MFA configuration, use the AdminGetUserResponse$UserMFASettingList response instead.

preferred_mfa_setting: Option<String>

The user's preferred MFA setting.

user_attributes: Option<Vec<AttributeType>>

An array of name-value pairs representing user attributes.

user_create_date: Option<f64>

The date the user was created.

user_last_modified_date: Option<f64>

The date the user was last modified.

user_mfa_setting_list: Option<Vec<String>>

The MFA options that are enabled for the user. The possible values in this list are SMS_MFA and SOFTWARE_TOKEN_MFA.

user_status: Option<String>

The user status. Can be one of the following:

  • UNCONFIRMED - User has been created but not confirmed.

  • CONFIRMED - User has been confirmed.

  • ARCHIVED - User is no longer active.

  • COMPROMISED - User is disabled due to a potential security threat.

  • UNKNOWN - User status is not known.

  • RESETREQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she can sign in.

  • FORCECHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change his or her password to a new value before doing anything else.

username: String

The user name of the user about whom you are receiving information.

Trait Implementations

impl Clone for AdminGetUserResponse[src]

impl Debug for AdminGetUserResponse[src]

impl Default for AdminGetUserResponse[src]

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

impl PartialEq<AdminGetUserResponse> for AdminGetUserResponse[src]

impl StructuralPartialEq for AdminGetUserResponse[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.