Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data NumberValidateRequest Source #
Specifies a phone number to validate and retrieve information about.
See: newNumberValidateRequest
smart constructor.
NumberValidateRequest' | |
|
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.