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 ==
.impl StructuralPartialEq for UserIdentityInfo
Auto Trait Implementations§
impl Freeze for UserIdentityInfo
impl RefUnwindSafe for UserIdentityInfo
impl Send for UserIdentityInfo
impl Sync for UserIdentityInfo
impl Unpin for UserIdentityInfo
impl UnwindSafe for UserIdentityInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more