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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ses/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.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the tag. The name must:

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

  • Contain less than 256 characters.

Returns:

  • (String)


2276
2277
2278
2279
2280
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 2276

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

#valueString

The value of the tag. The value must:

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

  • Contain less than 256 characters.

Returns:

  • (String)


2276
2277
2278
2279
2280
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 2276

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