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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TopicPreference as input to an Aws::Client method, you can use a vanilla 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.

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.

Possible values:

  • OPT_IN
  • OPT_OUT

Returns:

  • (String)

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

#topic_nameString

The name of the topic.

Returns:

  • (String)

    The name of the topic.