NumberValidateResponse
public struct NumberValidateResponse : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let carrier: String?
-
The name of the city where the phone number was originally registered.
Declaration
Swift
public let city: String?
-
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
Declaration
Swift
public let cleansedPhoneNumberE164: String?
-
The cleansed phone number, in the format for the location where the phone number was originally registered.
Declaration
Swift
public let cleansedPhoneNumberNational: String?
-
The name of the country or region where the phone number was originally registered.
Declaration
Swift
public let country: String?
-
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
Declaration
Swift
public let countryCodeIso2: String?
-
The numeric code for the country or region where the phone number was originally registered.
Declaration
Swift
public let countryCodeNumeric: String?
-
The name of the county where the phone number was originally registered.
Declaration
Swift
public let county: String?
-
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
Declaration
Swift
public let originalCountryCodeIso2: String?
-
The phone number that was sent in the request body.
Declaration
Swift
public let originalPhoneNumber: String?
-
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
Declaration
Swift
public let phoneType: String?
-
The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
Declaration
Swift
public let phoneTypeCode: Int?
-
The time zone for the location where the phone number was originally registered.
Declaration
Swift
public let timezone: String?
-
The postal or ZIP code for the location where the phone number was originally registered.
Declaration
Swift
public let zipCode: String?
-
init(carrier:city:cleansedPhoneNumberE164:cleansedPhoneNumberNational:country:countryCodeIso2:countryCodeNumeric:county:originalCountryCodeIso2:originalPhoneNumber:phoneType:phoneTypeCode:timezone:zipCode:)
Undocumented
Declaration
Swift
public init(carrier: String? = nil, city: String? = nil, cleansedPhoneNumberE164: String? = nil, cleansedPhoneNumberNational: String? = nil, country: String? = nil, countryCodeIso2: String? = nil, countryCodeNumeric: String? = nil, county: String? = nil, originalCountryCodeIso2: String? = nil, originalPhoneNumber: String? = nil, phoneType: String? = nil, phoneTypeCode: Int? = nil, timezone: String? = nil, zipCode: String? = nil)