Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data TagFilter = TagFilter' {}
- newTagFilter :: TagFilter
- tagFilter_tagKey :: Lens' TagFilter (Maybe Text)
- tagFilter_tagValues :: Lens' TagFilter (Maybe [Text])
Documentation
A tag key and optional list of possible values that you can use to filter results for tagged resources.
See: newTagFilter
smart constructor.
Instances
ToJSON TagFilter Source # | |
Defined in Amazonka.RAM.Types.TagFilter | |
Generic TagFilter Source # | |
Read TagFilter Source # | |
Show TagFilter Source # | |
NFData TagFilter Source # | |
Defined in Amazonka.RAM.Types.TagFilter | |
Eq TagFilter Source # | |
Hashable TagFilter Source # | |
Defined in Amazonka.RAM.Types.TagFilter | |
type Rep TagFilter Source # | |
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.