Class: Aws::SNS::Types::CheckIfPhoneNumberIsOptedOutResponse

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

Overview

The response from the CheckIfPhoneNumberIsOptedOut action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#is_opted_outBoolean

Indicates whether the phone number is opted out:

  • true – The phone number is opted out, meaning you cannot publish SMS messages to it.

  • false – The phone number is opted in, meaning you can publish SMS messages to it.

Returns:

  • (Boolean)


144
145
146
147
148
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 144

class CheckIfPhoneNumberIsOptedOutResponse < Struct.new(
  :is_opted_out)
  SENSITIVE = []
  include Aws::Structure
end