libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.Types.TagsModel

Description

 
Synopsis

Documentation

data TagsModel Source #

Specifies the tags (keys and values) for an application, campaign, message template, or segment.

See: newTagsModel smart constructor.

Constructors

TagsModel' 

Fields

  • tags :: HashMap Text Text

    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.

Instances

Instances details
Eq TagsModel Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TagsModel

Read TagsModel Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TagsModel

Show TagsModel Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TagsModel

Generic TagsModel Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TagsModel

Associated Types

type Rep TagsModel :: Type -> Type #

NFData TagsModel Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TagsModel

Methods

rnf :: TagsModel -> () #

Hashable TagsModel Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TagsModel

ToJSON TagsModel Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TagsModel

FromJSON TagsModel Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TagsModel

type Rep TagsModel Source # 
Instance details

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.