You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SNS::Types::OptInPhoneNumberInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb

Overview

Note:

When making an API call, you may pass OptInPhoneNumberInput data as a hash:

{
  phone_number: "PhoneNumber", # required
}

Input for the OptInPhoneNumber action.

Instance Attribute Summary collapse

Instance Attribute Details

#phone_numberString

The phone number to opt in.

Returns:

  • (String)


949
950
951
952
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 949

class OptInPhoneNumberInput < Struct.new(
  :phone_number)
  include Aws::Structure
end