amazonka-identitystore-2.0: Amazon SSO Identity Store 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.IdentityStore.Types.Email

Description

 
Synopsis

Documentation

data Email Source #

The email address associated with the user.

See: newEmail smart constructor.

Constructors

Email' 

Fields

Instances

Instances details
FromJSON Email Source # 
Instance details

Defined in Amazonka.IdentityStore.Types.Email

ToJSON Email Source # 
Instance details

Defined in Amazonka.IdentityStore.Types.Email

Generic Email Source # 
Instance details

Defined in Amazonka.IdentityStore.Types.Email

Associated Types

type Rep Email :: Type -> Type #

Methods

from :: Email -> Rep Email x #

to :: Rep Email x -> Email #

Show Email Source # 
Instance details

Defined in Amazonka.IdentityStore.Types.Email

Methods

showsPrec :: Int -> Email -> ShowS #

show :: Email -> String #

showList :: [Email] -> ShowS #

NFData Email Source # 
Instance details

Defined in Amazonka.IdentityStore.Types.Email

Methods

rnf :: Email -> () #

Eq Email Source # 
Instance details

Defined in Amazonka.IdentityStore.Types.Email

Methods

(==) :: Email -> Email -> Bool #

(/=) :: Email -> Email -> Bool #

Hashable Email Source # 
Instance details

Defined in Amazonka.IdentityStore.Types.Email

Methods

hashWithSalt :: Int -> Email -> Int #

hash :: Email -> Int #

type Rep Email Source # 
Instance details

Defined in Amazonka.IdentityStore.Types.Email

type Rep Email = D1 ('MetaData "Email" "Amazonka.IdentityStore.Types.Email" "amazonka-identitystore-2.0-FD6RUaLi6gx9YE16ATGTMj" 'False) (C1 ('MetaCons "Email'" 'PrefixI 'True) (S1 ('MetaSel ('Just "primary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Bool))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))))

newEmail :: Email Source #

Create a value of Email 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:primary:Email', email_primary - A Boolean value representing whether this is the primary email address for the associated resource.

$sel:type':Email', email_type - A string representing the type of address. For example, "Work."

$sel:value:Email', email_value - A string containing an email address. For example, "johndoe@amazon.com."

email_primary :: Lens' Email (Maybe Bool) Source #

A Boolean value representing whether this is the primary email address for the associated resource.

email_type :: Lens' Email (Maybe Text) Source #

A string representing the type of address. For example, "Work."

email_value :: Lens' Email (Maybe Text) Source #

A string containing an email address. For example, "johndoe@amazon.com."