| 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.PhoneNumber
Description
Synopsis
Documentation
data PhoneNumber Source #
The phone number associated with the user.
See: newPhoneNumber smart constructor.
Constructors
| PhoneNumber' | |
Fields
| |
Instances
newPhoneNumber :: PhoneNumber Source #
Create a value of PhoneNumber 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:PhoneNumber', phoneNumber_primary - A Boolean value representing whether this is the primary phone number
for the associated resource.
$sel:type':PhoneNumber', phoneNumber_type - A string representing the type of a phone number. For example,
"Mobile."
$sel:value:PhoneNumber', phoneNumber_value - A string containing a phone number. For example, "8675309" or "+1
(800) 123-4567".
phoneNumber_primary :: Lens' PhoneNumber (Maybe Bool) Source #
A Boolean value representing whether this is the primary phone number for the associated resource.
phoneNumber_type :: Lens' PhoneNumber (Maybe Text) Source #
A string representing the type of a phone number. For example, "Mobile."
phoneNumber_value :: Lens' PhoneNumber (Maybe Text) Source #
A string containing a phone number. For example, "8675309" or "+1 (800) 123-4567".