CarrierLookupResult
¶
Source code in docs_src/capo_pinpoint_sms_voice_v2/types/carrier_lookup_result.py
carrier
instance-attribute
¶
carrier: NotRequired[str]
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.
country
instance-attribute
¶
country: NotRequired[str]
The name of the country or region for the phone number.
dialing_country_code
instance-attribute
¶
dialing_country_code: NotRequired[DialingCountryCodeType]
The country or region numeric dialing code for the phone number.
e164_phone_number
instance-attribute
¶
e164_phone_number: E164PhoneNumberType
The phone number in E164 format, sanitized from the original input by removing any formatting characters.
iso_country_code
instance-attribute
¶
iso_country_code: NotRequired[IsoCountryCode]
The two-character country or region code, in ISO 3166-1 alpha-2 format, for the phone number.
mcc
instance-attribute
¶
mcc: NotRequired[MCCType]
The phone number's mobile country code, for mobile phone number types
mnc
instance-attribute
¶
mnc: NotRequired[MNCType]
The phone number's mobile network code, for mobile phone number types.
original_phone_number
instance-attribute
¶
original_phone_number: NotRequired[CarrierLookupInputPhoneNumberType]
The phone number exactly as you supplied it in the request. This field is returned only when you set EnableCleansing to true, the phone number was cleansed, and a normalized E.164 phone number was returned in the E164PhoneNumber field.
phone_number_type
instance-attribute
¶
phone_number_type: PhoneNumberType
Describes the type of phone number. Valid values are: MOBILE, LANDLINE, VOIP, PREPAID, OTHER, and INVALID. Avoid sending SMS or voice messages to INVALID phone numbers, as these numbers are unlikely to belong to actual recipients.