Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data MessageTag = MessageTag' {}
- newMessageTag :: Text -> Text -> MessageTag
- messageTag_name :: Lens' MessageTag Text
- messageTag_value :: Lens' MessageTag Text
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.
MessageTag' | |
|
Instances
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.