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
- Struct
- Aws::Pinpoint::Types::NumberValidateRequest
- Defined in:
- (unknown)
Overview
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
-
#iso_country_code ⇒ 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_number ⇒ String
The phone number to retrieve information about.
Instance Attribute Details
#iso_country_code ⇒ 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_number ⇒ String
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.