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 TagValues = TagValues' {
- key :: Maybe Text
- matchOptions :: Maybe [MatchOption]
- values :: Maybe [Text]
- newTagValues :: TagValues
- tagValues_key :: Lens' TagValues (Maybe Text)
- tagValues_matchOptions :: Lens' TagValues (Maybe [MatchOption])
- tagValues_values :: Lens' TagValues (Maybe [Text])
Documentation
The values that are available for a tag.
If Values
and Key
aren't specified, the ABSENT
MatchOption
is
applied to all tags. That is, it's filtered on resources with no tags.
If Key
is provided and Values
isn't specified, the ABSENT
MatchOption
is applied to the tag Key
only. That is, it's filtered
on resources without the given tag key.
See: newTagValues
smart constructor.
TagValues' | |
|
Instances
FromJSON TagValues Source # | |
ToJSON TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
Generic TagValues Source # | |
Read TagValues Source # | |
Show TagValues Source # | |
NFData TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
Eq TagValues Source # | |
Hashable TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
type Rep TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues type Rep TagValues = D1 ('MetaData "TagValues" "Amazonka.CostExplorer.Types.TagValues" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "TagValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "matchOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MatchOption])) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))) |
newTagValues :: TagValues Source #
Create a value of TagValues
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:TagValues'
, tagValues_key
- The key for the tag.
$sel:matchOptions:TagValues'
, tagValues_matchOptions
- The match options that you can use to filter your results.
MatchOptions
is only applicable for actions related to Cost Category.
The default values for MatchOptions
are EQUALS
and CASE_SENSITIVE
.
$sel:values:TagValues'
, tagValues_values
- The specific value of the tag.
tagValues_matchOptions :: Lens' TagValues (Maybe [MatchOption]) Source #
The match options that you can use to filter your results.
MatchOptions
is only applicable for actions related to Cost Category.
The default values for MatchOptions
are EQUALS
and CASE_SENSITIVE
.