| 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 |
Amazonka.IdentityStore.Types.Email
Description
Documentation
The email address associated with the user.
See: newEmail smart constructor.
Constructors
| Email' | |
Fields
| |
Instances
| FromJSON Email Source # | |
| ToJSON Email Source # | |
Defined in Amazonka.IdentityStore.Types.Email | |
| Generic Email Source # | |
| Show Email Source # | |
| NFData Email Source # | |
Defined in Amazonka.IdentityStore.Types.Email | |
| Eq Email Source # | |
| Hashable Email Source # | |
Defined in Amazonka.IdentityStore.Types.Email | |
| type Rep Email Source # | |
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)))))) | |
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.