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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/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)


9682
9683
9684
9685
9686
9687
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9682

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)


9682
9683
9684
9685
9686
9687
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 9682

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