AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::Pinpoint::Types::NumberValidateRequest

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

Overview

Note:

When passing NumberValidateRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  iso_country_code: "__string",
  phone_number: "__string",
}

Specifies a phone number to validate and retrieve information about.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#iso_country_codeString

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.

#phone_numberString

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.

Returns:

  • (String)

    The phone number to retrieve information about.