AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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)


103
104
105
106
107
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 103

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