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

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

Overview

The response from the ‘CheckIfPhoneNumberIsOptedOut` action.

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)


85
86
87
88
# File 'lib/aws-sdk-sns/types.rb', line 85

class CheckIfPhoneNumberIsOptedOutResponse < Struct.new(
  :is_opted_out)
  include Aws::Structure
end