Struct aws_sdk_appstream::types::User
source · #[non_exhaustive]pub struct User { /* private fields */ }
Expand description
Describes a user in the user pool.
Implementations§
source§impl User
impl User
sourcepub fn user_name(&self) -> Option<&str>
pub fn user_name(&self) -> Option<&str>
The email address of the user.
Users' email addresses are case-sensitive.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the user in the user pool. The status can be one of the following:
-
UNCONFIRMED – The user is created but not confirmed.
-
CONFIRMED – The user is confirmed.
-
ARCHIVED – The user is no longer active.
-
COMPROMISED – The user is disabled because of a potential security threat.
-
UNKNOWN – The user status is not known.
sourcepub fn first_name(&self) -> Option<&str>
pub fn first_name(&self) -> Option<&str>
The first name, or given name, of the user.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The date and time the user was created in the user pool.
sourcepub fn authentication_type(&self) -> Option<&AuthenticationType>
pub fn authentication_type(&self) -> Option<&AuthenticationType>
The authentication type for the user.