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

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.

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 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 85

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