class Aws::SESV2::Types::TopicPreference

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

@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
    }

@!attribute [rw] topic_name

The name of the topic.
@return [String]

@!attribute [rw] subscription_status

The contact's subscription status to a topic which is either
`OPT_IN` or `OPT_OUT`.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TopicPreference AWS API Documentation

Constants

SENSITIVE