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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Specifies a phone number to validate and retrieve information about.

Constant Summary collapse

SENSITIVE =
[]

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)


9705
9706
9707
9708
9709
9710
# File 'lib/aws-sdk-pinpoint/types.rb', line 9705

class NumberValidateRequest < Struct.new(
  :iso_country_code,
  :phone_number)
  SENSITIVE = []
  include Aws::Structure
end

#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)


9705
9706
9707
9708
9709
9710
# File 'lib/aws-sdk-pinpoint/types.rb', line 9705

class NumberValidateRequest < Struct.new(
  :iso_country_code,
  :phone_number)
  SENSITIVE = []
  include Aws::Structure
end