Struct aws_sdk_connect::types::UserIdentityInfo
source · #[non_exhaustive]pub struct UserIdentityInfo {
pub first_name: Option<String>,
pub last_name: Option<String>,
pub email: Option<String>,
pub secondary_email: Option<String>,
pub mobile: Option<String>,
}
Expand description
Contains information about the identity of a user.
For Amazon Connect instances that are created with the EXISTING_DIRECTORY
identity management type, FirstName
, LastName
, and Email
cannot be updated from within Amazon Connect because they are managed by the directory.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.first_name: Option<String>
The first name. This is required if you are using Amazon Connect or SAML for identity management.
last_name: Option<String>
The last name. This is required if you are using Amazon Connect or SAML for identity management.
email: Option<String>
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
secondary_email: Option<String>
The user's secondary email address. If you provide a secondary email, the user receives email notifications - other than password reset notifications - to this email address instead of to their primary email address.
Pattern: (?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
mobile: Option<String>
The user's mobile number.
Implementations§
source§impl UserIdentityInfo
impl UserIdentityInfo
sourcepub fn first_name(&self) -> Option<&str>
pub fn first_name(&self) -> Option<&str>
The first name. This is required if you are using Amazon Connect or SAML for identity management.
sourcepub fn last_name(&self) -> Option<&str>
pub fn last_name(&self) -> Option<&str>
The last name. This is required if you are using Amazon Connect or SAML for identity management.
sourcepub fn email(&self) -> Option<&str>
pub fn email(&self) -> Option<&str>
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
sourcepub fn secondary_email(&self) -> Option<&str>
pub fn secondary_email(&self) -> Option<&str>
The user's secondary email address. If you provide a secondary email, the user receives email notifications - other than password reset notifications - to this email address instead of to their primary email address.
Pattern: (?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
source§impl UserIdentityInfo
impl UserIdentityInfo
sourcepub fn builder() -> UserIdentityInfoBuilder
pub fn builder() -> UserIdentityInfoBuilder
Creates a new builder-style object to manufacture UserIdentityInfo
.
Trait Implementations§
source§impl Clone for UserIdentityInfo
impl Clone for UserIdentityInfo
source§fn clone(&self) -> UserIdentityInfo
fn clone(&self) -> UserIdentityInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserIdentityInfo
impl Debug for UserIdentityInfo
source§impl PartialEq for UserIdentityInfo
impl PartialEq for UserIdentityInfo
source§fn eq(&self, other: &UserIdentityInfo) -> bool
fn eq(&self, other: &UserIdentityInfo) -> bool
self
and other
values to be equal, and is used
by ==
.