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

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#iso_country_codeString

(Optional) The two-character ISO country code for the country or region where the phone number was originally registered.

Returns:

  • (String)


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_numberString

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.

Returns:

  • (String)


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