AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::SESV2::Types::UpdateContactRequest

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

Overview

Note:

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

Instance Attribute Summary collapse

Instance Attribute Details

#attributes_dataString

The attribute data attached to a contact.

Returns:

  • (String)

    The attribute data attached to a contact.

#contact_list_nameString

The name of the contact list.

Returns:

  • (String)

    The name of the contact list.

#email_addressString

The contact\'s email addres.

Returns:

  • (String)

    The contact\'s email addres.

#topic_preferencesArray<Types::TopicPreference>

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

Returns:

  • (Array<Types::TopicPreference>)

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

#unsubscribe_allBoolean

A boolean value status noting if the contact is unsubscribed from all contact list topics.

Returns:

  • (Boolean)

    A boolean value status noting if the contact is unsubscribed from all contact list topics.