You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Pinpoint::Types::NumberValidateResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Provides information about a phone number.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#carrierString

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.

Returns:

  • (String)

    The carrier or service provider that the phone number is currently registered with.

#cityString

The name of the city where the phone number was originally registered.

Returns:

  • (String)

    The name of the city where the phone number was originally registered.

#cleansed_phone_number_e164String

The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.

Returns:

  • (String)

    The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.

#cleansed_phone_number_nationalString

The cleansed phone number, in the format for the location where the phone number was originally registered.

Returns:

  • (String)

    The cleansed phone number, in the format for the location where the phone number was originally registered.

#countryString

The name of the country or region where the phone number was originally registered.

Returns:

  • (String)

    The name of the country or region where the phone number was originally registered.

#country_code_iso_2String

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.

Returns:

  • (String)

    The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.

#country_code_numericString

The numeric code for the country or region where the phone number was originally registered.

Returns:

  • (String)

    The numeric code for the country or region where the phone number was originally registered.

#countyString

The name of the county where the phone number was originally registered.

Returns:

  • (String)

    The name of the county where the phone number was originally registered.

#original_country_code_iso_2String

The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.

Returns:

  • (String)

    The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.

#original_phone_numberString

The phone number that was sent in the request body.

Returns:

  • (String)

    The phone number that was sent in the request body.

#phone_typeString

The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.

Returns:

  • (String)

    The description of the phone type.

#phone_type_codeInteger

The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).

Returns:

  • (Integer)

    The phone type, represented by an integer.

#timezoneString

The time zone for the location where the phone number was originally registered.

Returns:

  • (String)

    The time zone for the location where the phone number was originally registered.

#zip_codeString

The postal or ZIP code for the location where the phone number was originally registered.

Returns:

  • (String)

    The postal or ZIP code for the location where the phone number was originally registered.