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 TagsModel = TagsModel' {}
- newTagsModel :: TagsModel
- tagsModel_tags :: Lens' TagsModel (HashMap Text Text)
Documentation
Specifies the tags (keys and values) for an application, campaign, message template, or segment.
See: newTagsModel
smart constructor.
TagsModel' | |
|
Instances
FromJSON TagsModel Source # | |
ToJSON TagsModel Source # | |
Defined in Amazonka.Pinpoint.Types.TagsModel | |
Generic TagsModel Source # | |
Read TagsModel Source # | |
Show TagsModel Source # | |
NFData TagsModel Source # | |
Defined in Amazonka.Pinpoint.Types.TagsModel | |
Eq TagsModel Source # | |
Hashable TagsModel Source # | |
Defined in Amazonka.Pinpoint.Types.TagsModel | |
type Rep TagsModel Source # | |
Defined in Amazonka.Pinpoint.Types.TagsModel |
newTagsModel :: TagsModel Source #
Create a value of TagsModel
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:tags:TagsModel'
, tagsModel_tags
- A string-to-string map of key-value pairs that defines the tags for an
application, campaign, message template, or segment. Each of these
resources can have a maximum of 50 tags.
Each tag consists of a required tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
tagsModel_tags :: Lens' TagsModel (HashMap Text Text) Source #
A string-to-string map of key-value pairs that defines the tags for an application, campaign, message template, or segment. Each of these resources can have a maximum of 50 tags.
Each tag consists of a required tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.