amazonka-resourcegroupstagging-2.0: Amazon Resource Groups Tagging API SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ResourceGroupsTagging.Types.TagFilter

Description

 
Synopsis

Documentation

data TagFilter Source #

A list of tags (keys and values) that are used to specify the associated resources.

See: newTagFilter smart constructor.

Constructors

TagFilter' 

Fields

  • key :: Maybe Text

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

  • values :: Maybe [Text]

    One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.

Instances

Instances details
ToJSON TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Generic TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Associated Types

type Rep TagFilter :: Type -> Type #

Read TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Show TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

NFData TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Methods

rnf :: TagFilter -> () #

Eq TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Hashable TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

type Rep TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

type Rep TagFilter = D1 ('MetaData "TagFilter" "Amazonka.ResourceGroupsTagging.Types.TagFilter" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'False) (C1 ('MetaCons "TagFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newTagFilter :: TagFilter Source #

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

$sel:values:TagFilter', tagFilter_values - One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.

tagFilter_key :: Lens' TagFilter (Maybe Text) Source #

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

tagFilter_values :: Lens' TagFilter (Maybe [Text]) Source #

One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.