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 |
Synopsis
- data NumberValidateResponse = NumberValidateResponse' {
- carrier :: Maybe Text
- county :: Maybe Text
- country :: Maybe Text
- countryCodeNumeric :: Maybe Text
- zipCode :: Maybe Text
- originalPhoneNumber :: Maybe Text
- phoneTypeCode :: Maybe Int
- phoneType :: Maybe Text
- city :: Maybe Text
- countryCodeIso2 :: Maybe Text
- timezone :: Maybe Text
- originalCountryCodeIso2 :: Maybe Text
- cleansedPhoneNumberNational :: Maybe Text
- cleansedPhoneNumberE164 :: Maybe Text
- newNumberValidateResponse :: NumberValidateResponse
- numberValidateResponse_carrier :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_county :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_country :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_countryCodeNumeric :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_zipCode :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_originalPhoneNumber :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_phoneTypeCode :: Lens' NumberValidateResponse (Maybe Int)
- numberValidateResponse_phoneType :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_city :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_countryCodeIso2 :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_timezone :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_originalCountryCodeIso2 :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_cleansedPhoneNumberNational :: Lens' NumberValidateResponse (Maybe Text)
- numberValidateResponse_cleansedPhoneNumberE164 :: Lens' NumberValidateResponse (Maybe Text)
Documentation
data NumberValidateResponse Source #
Provides information about a phone number.
See: newNumberValidateResponse
smart constructor.
NumberValidateResponse' | |
|
Instances
newNumberValidateResponse :: NumberValidateResponse Source #
Create a value of NumberValidateResponse
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:carrier:NumberValidateResponse'
, numberValidateResponse_carrier
- The carrier or service provider that the phone number is currently
registered with. In some countries and regions, this value may be the
carrier or service provider that the phone number was originally
registered with.
$sel:county:NumberValidateResponse'
, numberValidateResponse_county
- The name of the county where the phone number was originally registered.
$sel:country:NumberValidateResponse'
, numberValidateResponse_country
- The name of the country or region where the phone number was originally
registered.
$sel:countryCodeNumeric:NumberValidateResponse'
, numberValidateResponse_countryCodeNumeric
- The numeric code for the country or region where the phone number was
originally registered.
$sel:zipCode:NumberValidateResponse'
, numberValidateResponse_zipCode
- The postal or ZIP code for the location where the phone number was
originally registered.
$sel:originalPhoneNumber:NumberValidateResponse'
, numberValidateResponse_originalPhoneNumber
- The phone number that was sent in the request body.
$sel:phoneTypeCode:NumberValidateResponse'
, numberValidateResponse_phoneTypeCode
- The phone type, represented by an integer. Valid values are: 0 (mobile),
1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
$sel:phoneType:NumberValidateResponse'
, numberValidateResponse_phoneType
- The description of the phone type. Valid values are: MOBILE, LANDLINE,
VOIP, INVALID, PREPAID, and OTHER.
$sel:city:NumberValidateResponse'
, numberValidateResponse_city
- The name of the city where the phone number was originally registered.
$sel:countryCodeIso2:NumberValidateResponse'
, numberValidateResponse_countryCodeIso2
- The two-character code, in ISO 3166-1 alpha-2 format, for the country or
region where the phone number was originally registered.
$sel:timezone:NumberValidateResponse'
, numberValidateResponse_timezone
- The time zone for the location where the phone number was originally
registered.
$sel:originalCountryCodeIso2:NumberValidateResponse'
, numberValidateResponse_originalCountryCodeIso2
- The two-character code, in ISO 3166-1 alpha-2 format, that was sent in
the request body.
$sel:cleansedPhoneNumberNational:NumberValidateResponse'
, numberValidateResponse_cleansedPhoneNumberNational
- The cleansed phone number, in the format for the location where the
phone number was originally registered.
$sel:cleansedPhoneNumberE164:NumberValidateResponse'
, numberValidateResponse_cleansedPhoneNumberE164
- The cleansed phone number, in E.164 format, for the location where the
phone number was originally registered.
numberValidateResponse_carrier :: Lens' NumberValidateResponse (Maybe Text) Source #
The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.
numberValidateResponse_county :: Lens' NumberValidateResponse (Maybe Text) Source #
The name of the county where the phone number was originally registered.
numberValidateResponse_country :: Lens' NumberValidateResponse (Maybe Text) Source #
The name of the country or region where the phone number was originally registered.
numberValidateResponse_countryCodeNumeric :: Lens' NumberValidateResponse (Maybe Text) Source #
The numeric code for the country or region where the phone number was originally registered.
numberValidateResponse_zipCode :: Lens' NumberValidateResponse (Maybe Text) Source #
The postal or ZIP code for the location where the phone number was originally registered.
numberValidateResponse_originalPhoneNumber :: Lens' NumberValidateResponse (Maybe Text) Source #
The phone number that was sent in the request body.
numberValidateResponse_phoneTypeCode :: Lens' NumberValidateResponse (Maybe Int) Source #
The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
numberValidateResponse_phoneType :: Lens' NumberValidateResponse (Maybe Text) Source #
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
numberValidateResponse_city :: Lens' NumberValidateResponse (Maybe Text) Source #
The name of the city where the phone number was originally registered.
numberValidateResponse_countryCodeIso2 :: Lens' NumberValidateResponse (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.
numberValidateResponse_timezone :: Lens' NumberValidateResponse (Maybe Text) Source #
The time zone for the location where the phone number was originally registered.
numberValidateResponse_originalCountryCodeIso2 :: Lens' NumberValidateResponse (Maybe Text) Source #
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
numberValidateResponse_cleansedPhoneNumberNational :: Lens' NumberValidateResponse (Maybe Text) Source #
The cleansed phone number, in the format for the location where the phone number was originally registered.
numberValidateResponse_cleansedPhoneNumberE164 :: Lens' NumberValidateResponse (Maybe Text) Source #
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.