Class: Aws::SESV2::Types::MessageTag

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/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 apply to an email. You can use message tags when you publish email sending events.

Constant Summary collapse

SENSITIVE =
[]

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)


4057
4058
4059
4060
4061
4062
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 4057

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

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


4057
4058
4059
4060
4061
4062
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 4057

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