amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.Types.UserIdentityInfo

Description

 
Synopsis

Documentation

data UserIdentityInfo Source #

Contains information about the identity of a user.

See: newUserIdentityInfo smart constructor.

Constructors

UserIdentityInfo' 

Fields

  • email :: Maybe Text

    The email address. If you are using SAML for identity management and include this parameter, an error is returned.

  • firstName :: Maybe Text

    The first name. This is required if you are using Amazon Connect or SAML for identity management.

  • lastName :: Maybe Text

    The last name. This is required if you are using Amazon Connect or SAML for identity management.

  • mobile :: Maybe Text

    The user's mobile number.

  • secondaryEmail :: Maybe Text

    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}

Instances

Instances details
FromJSON UserIdentityInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.UserIdentityInfo

ToJSON UserIdentityInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.UserIdentityInfo

Generic UserIdentityInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.UserIdentityInfo

Associated Types

type Rep UserIdentityInfo :: Type -> Type #

Read UserIdentityInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.UserIdentityInfo

Show UserIdentityInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.UserIdentityInfo

NFData UserIdentityInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.UserIdentityInfo

Methods

rnf :: UserIdentityInfo -> () #

Eq UserIdentityInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.UserIdentityInfo

Hashable UserIdentityInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.UserIdentityInfo

type Rep UserIdentityInfo Source # 
Instance details

Defined in Amazonka.Connect.Types.UserIdentityInfo

type Rep UserIdentityInfo = D1 ('MetaData "UserIdentityInfo" "Amazonka.Connect.Types.UserIdentityInfo" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "UserIdentityInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mobile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secondaryEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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_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}