| 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.Pinpoint.Types.NumberValidateRequest
Description
Documentation
data NumberValidateRequest Source #
Specifies a phone number to validate and retrieve information about.
See: newNumberValidateRequest smart constructor.
Constructors
| NumberValidateRequest' | |
Fields
| |
Instances
newNumberValidateRequest :: NumberValidateRequest Source #
Create a value of NumberValidateRequest 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:isoCountryCode:NumberValidateRequest', numberValidateRequest_isoCountryCode - The two-character code, in ISO 3166-1 alpha-2 format, for the country or
region where the phone number was originally registered.
$sel:phoneNumber:NumberValidateRequest', numberValidateRequest_phoneNumber - The phone number to retrieve information about. The phone number that
you provide should include a valid numeric country code. Otherwise, the
operation might result in an error.
numberValidateRequest_isoCountryCode :: Lens' NumberValidateRequest (Maybe Text) Source #
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
numberValidateRequest_phoneNumber :: Lens' NumberValidateRequest (Maybe Text) Source #
The phone number to retrieve information about. The phone number that you provide should include a valid numeric country code. Otherwise, the operation might result in an error.