libZSservicesZSamazonka-appmeshZSamazonka-appmesh
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.AppMesh.Types.TagRef

Description

 
Synopsis

Documentation

data TagRef Source #

Optional metadata that you apply to a resource to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

See: newTagRef smart constructor.

Constructors

TagRef' 

Fields

  • key :: Text

    One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.

  • value :: Text

    The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).

Instances

Instances details
Eq TagRef Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TagRef

Methods

(==) :: TagRef -> TagRef -> Bool #

(/=) :: TagRef -> TagRef -> Bool #

Read TagRef Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TagRef

Show TagRef Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TagRef

Generic TagRef Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TagRef

Associated Types

type Rep TagRef :: Type -> Type #

Methods

from :: TagRef -> Rep TagRef x #

to :: Rep TagRef x -> TagRef #

NFData TagRef Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TagRef

Methods

rnf :: TagRef -> () #

Hashable TagRef Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TagRef

Methods

hashWithSalt :: Int -> TagRef -> Int #

hash :: TagRef -> Int #

ToJSON TagRef Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TagRef

FromJSON TagRef Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TagRef

type Rep TagRef Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TagRef

type Rep TagRef = D1 ('MetaData "TagRef" "Amazonka.AppMesh.Types.TagRef" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "TagRef'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTagRef Source #

Create a value of TagRef 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:key:TagRef', tagRef_key - One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.

$sel:value:TagRef', tagRef_value - The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).

tagRef_key :: Lens' TagRef Text Source #

One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.

tagRef_value :: Lens' TagRef Text Source #

The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).