Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data UserIdentityInfo = UserIdentityInfo' {}
- newUserIdentityInfo :: UserIdentityInfo
- userIdentityInfo_email :: Lens' UserIdentityInfo (Maybe Text)
- userIdentityInfo_firstName :: Lens' UserIdentityInfo (Maybe Text)
- userIdentityInfo_lastName :: Lens' UserIdentityInfo (Maybe Text)
- userIdentityInfo_mobile :: Lens' UserIdentityInfo (Maybe Text)
- userIdentityInfo_secondaryEmail :: Lens' UserIdentityInfo (Maybe Text)
Documentation
data UserIdentityInfo Source #
Contains information about the identity of a user.
See: newUserIdentityInfo
smart constructor.
UserIdentityInfo' | |
|
Instances
newUserIdentityInfo :: UserIdentityInfo Source #
Create a value of UserIdentityInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:email:UserIdentityInfo'
, userIdentityInfo_email
- The email address. If you are using SAML for identity management and
include this parameter, an error is returned.
$sel:firstName:UserIdentityInfo'
, userIdentityInfo_firstName
- The first name. This is required if you are using Amazon Connect or SAML
for identity management.
$sel:lastName:UserIdentityInfo'
, userIdentityInfo_lastName
- The last name. This is required if you are using Amazon Connect or SAML
for identity management.
$sel:mobile:UserIdentityInfo'
, userIdentityInfo_mobile
- The user's mobile number.
$sel:secondaryEmail:UserIdentityInfo'
, userIdentityInfo_secondaryEmail
- 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}
userIdentityInfo_email :: Lens' UserIdentityInfo (Maybe Text) Source #
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
userIdentityInfo_firstName :: Lens' UserIdentityInfo (Maybe Text) Source #
The first name. This is required if you are using Amazon Connect or SAML for identity management.
userIdentityInfo_lastName :: Lens' UserIdentityInfo (Maybe Text) Source #
The last name. This is required if you are using Amazon Connect or SAML for identity management.
userIdentityInfo_mobile :: Lens' UserIdentityInfo (Maybe Text) Source #
The user's mobile number.
userIdentityInfo_secondaryEmail :: Lens' UserIdentityInfo (Maybe Text) Source #
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}