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

Class: Aws::SES::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 can provide to SendEmail or SendRawEmail to apply to an email.

Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the tag. The name must:

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

  • Contain less than 256 characters.

Returns:

  • (String)

    The name of the tag.

#valueString

The value of the tag. The value must:

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

  • Contain less than 256 characters.

Returns:

  • (String)

    The value of the tag.