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.

Constant Summary collapse

SENSITIVE =
[]

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)


3421
3422
3423
3424
3425
3426
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 3421

class MessageTag < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  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)


3421
3422
3423
3424
3425
3426
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 3421

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