Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
Eq TagsModel Source # | |
Read TagsModel Source # | |
Show TagsModel Source # | |
Generic TagsModel Source # | |
NFData TagsModel Source # | |
Defined in Amazonka.Pinpoint.Types.TagsModel | |
Hashable TagsModel Source # | |
Defined in Amazonka.Pinpoint.Types.TagsModel | |
ToJSON TagsModel Source # | |
Defined in Amazonka.Pinpoint.Types.TagsModel | |
FromJSON TagsModel Source # | |
type Rep TagsModel Source # | |
Defined in Amazonka.Pinpoint.Types.TagsModel type Rep TagsModel = D1 ('MetaData "TagsModel" "Amazonka.Pinpoint.Types.TagsModel" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "TagsModel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)))) |
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.