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
- Struct
- Aws::SESV2::Types::TopicPreference
- 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
-
#subscription_status ⇒ String
The contact\'s subscription status to a topic which is either
OPT_IN
orOPT_OUT
. -
#topic_name ⇒ String
The name of the topic.
Instance Attribute Details
#subscription_status ⇒ String
The contact\'s subscription status to a topic which is either OPT_IN
or OPT_OUT
.
Possible values:
- OPT_IN
- OPT_OUT
#topic_name ⇒ String
The name of the topic.