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

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

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)


12254
12255
12256
12257
12258
12259
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 12254

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)


12254
12255
12256
12257
12258
12259
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 12254

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