libZSservicesZSamazonka-sesZSamazonka-ses
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SES.Types.MessageTag

Description

 
Synopsis

Documentation

data MessageTag Source #

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.

See: newMessageTag smart constructor.

Constructors

MessageTag' 

Fields

  • name :: Text

    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.
  • value :: Text

    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.

Instances

Instances details
Eq MessageTag Source # 
Instance details

Defined in Amazonka.SES.Types.MessageTag

Read MessageTag Source # 
Instance details

Defined in Amazonka.SES.Types.MessageTag

Show MessageTag Source # 
Instance details

Defined in Amazonka.SES.Types.MessageTag

Generic MessageTag Source # 
Instance details

Defined in Amazonka.SES.Types.MessageTag

Associated Types

type Rep MessageTag :: Type -> Type #

NFData MessageTag Source # 
Instance details

Defined in Amazonka.SES.Types.MessageTag

Methods

rnf :: MessageTag -> () #

Hashable MessageTag Source # 
Instance details

Defined in Amazonka.SES.Types.MessageTag

ToQuery MessageTag Source # 
Instance details

Defined in Amazonka.SES.Types.MessageTag

type Rep MessageTag Source # 
Instance details

Defined in Amazonka.SES.Types.MessageTag

type Rep MessageTag = D1 ('MetaData "MessageTag" "Amazonka.SES.Types.MessageTag" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "MessageTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newMessageTag Source #

Create a value of MessageTag with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:MessageTag', messageTag_name - 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.

$sel:value:MessageTag', messageTag_value - 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.

messageTag_name :: Lens' MessageTag Text Source #

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.

messageTag_value :: Lens' MessageTag Text Source #

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.