class Aws::SESV2::Types::CreateContactRequest

@note When making an API call, you may pass CreateContactRequest

data as a hash:

    {
      contact_list_name: "ContactListName", # required
      email_address: "EmailAddress", # required
      topic_preferences: [
        {
          topic_name: "TopicName", # required
          subscription_status: "OPT_IN", # required, accepts OPT_IN, OPT_OUT
        },
      ],
      unsubscribe_all: false,
      attributes_data: "AttributesData",
    }

@!attribute [rw] contact_list_name

The name of the contact list to which the contact should be added.
@return [String]

@!attribute [rw] email_address

The contact's email address.
@return [String]

@!attribute [rw] topic_preferences

The contact's preferences for being opted-in to or opted-out of
topics.
@return [Array<Types::TopicPreference>]

@!attribute [rw] unsubscribe_all

A boolean value status noting if the contact is unsubscribed from
all contact list topics.
@return [Boolean]

@!attribute [rw] attributes_data

The attribute data attached to a contact.
@return [String]

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

Constants

SENSITIVE