Class: Aws::SESV2::Types::TopicPreference

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

Overview

Note:

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

{
  topic_name: "TopicName", # required
  subscription_status: "OPT_IN", # required, accepts OPT_IN, OPT_OUT
}

The contact's preference for being opted-in to or opted-out of a topic.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#subscription_statusString

The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.

Returns:

  • (String)


6716
6717
6718
6719
6720
6721
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 6716

class TopicPreference < Struct.new(
  :topic_name,
  :subscription_status)
  SENSITIVE = []
  include Aws::Structure
end

#topic_nameString

The name of the topic.

Returns:

  • (String)


6716
6717
6718
6719
6720
6721
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 6716

class TopicPreference < Struct.new(
  :topic_name,
  :subscription_status)
  SENSITIVE = []
  include Aws::Structure
end