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::MessageTag

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

Overview

Note:

When passing MessageTag as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "MessageTagName", # required
  value: "MessageTagValue", # required
}

Contains the name and value of a tag that you apply to an email. You can use message tags when you publish email sending events.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the message tag. The message tag name has to meet the following criteria:

  • It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).

  • It can contain no more than 256 characters.

Returns:

  • (String)

    The name of the message tag.

#valueString

The value of the message tag. The message tag value has to meet the following criteria:

  • It can only contain ASCII letters (a–z, A–Z), numbers (0–9), underscores (_), or dashes (-).

  • It can contain no more than 256 characters.

Returns:

  • (String)

    The value of the message tag.