Class: Aws::Pinpoint::Types::NumberValidateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::NumberValidateRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
Note:
When making an API call, you may pass NumberValidateRequest data as a hash:
{
iso_country_code: "__string",
phone_number: "__string",
}
Phone Number Validate request.
Instance Attribute Summary collapse
-
#iso_country_code ⇒ String
(Optional) The two-character ISO country code for the country or region where the phone number was originally registered.
-
#phone_number ⇒ String
The phone number to get information about.
Instance Attribute Details
#iso_country_code ⇒ String
(Optional) The two-character ISO country code for the country or region where the phone number was originally registered.
6958 6959 6960 6961 6962 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6958 class NumberValidateRequest < Struct.new( :iso_country_code, :phone_number) include Aws::Structure end |
#phone_number ⇒ String
The phone number to get information about. The phone number that you provide should include a country code. If the number doesn’t include a valid country code, the operation might result in an error.
6958 6959 6960 6961 6962 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 6958 class NumberValidateRequest < Struct.new( :iso_country_code, :phone_number) include Aws::Structure end |