amazonka-ram-2.0: Amazon Resource Access Manager 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.RAM.Types.TagFilter

Description

 
Synopsis

Documentation

data TagFilter Source #

A tag key and optional list of possible values that you can use to filter results for tagged resources.

See: newTagFilter smart constructor.

Constructors

TagFilter' 

Fields

  • tagKey :: Maybe Text

    The tag key. This must have a valid string value and can't be empty.

  • tagValues :: Maybe [Text]

    A list of zero or more tag values. If no values are provided, then the filter matches any tag with the specified key, regardless of its value.

Instances

Instances details
ToJSON TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

Generic TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

Associated Types

type Rep TagFilter :: Type -> Type #

Read TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

Show TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

NFData TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

Methods

rnf :: TagFilter -> () #

Eq TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

Hashable TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

type Rep TagFilter Source # 
Instance details

Defined in Amazonka.RAM.Types.TagFilter

type Rep TagFilter = D1 ('MetaData "TagFilter" "Amazonka.RAM.Types.TagFilter" "amazonka-ram-2.0-2ZD9k8USaHb58ZVl9MaFYL" 'False) (C1 ('MetaCons "TagFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tagKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tagValues") '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:tagKey:TagFilter', tagFilter_tagKey - The tag key. This must have a valid string value and can't be empty.

$sel:tagValues:TagFilter', tagFilter_tagValues - A list of zero or more tag values. If no values are provided, then the filter matches any tag with the specified key, regardless of its value.

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

The tag key. This must have a valid string value and can't be empty.

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

A list of zero or more tag values. If no values are provided, then the filter matches any tag with the specified key, regardless of its value.