Class: Aws::SES::Types::MessageTag

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ses/types.rb

Overview

Note:

When making an API call, you may pass MessageTag data as a 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].

[1]: docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html

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)


2899
2900
2901
2902
2903
# File 'lib/aws-sdk-ses/types.rb', line 2899

class MessageTag < Struct.new(
  :name,
  :value)
  include Aws::Structure
end

#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)


2899
2900
2901
2902
2903
# File 'lib/aws-sdk-ses/types.rb', line 2899

class MessageTag < Struct.new(
  :name,
  :value)
  include Aws::Structure
end