Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TagValues = TagValues' {
- values :: Maybe [Text]
- key :: Maybe Text
- matchOptions :: Maybe [MatchOption]
- newTagValues :: TagValues
- tagValues_values :: Lens' TagValues (Maybe [Text])
- tagValues_key :: Lens' TagValues (Maybe Text)
- tagValues_matchOptions :: Lens' TagValues (Maybe [MatchOption])
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 Values
is provided and Key
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
Eq TagValues Source # | |
Read TagValues Source # | |
Show TagValues Source # | |
Generic TagValues Source # | |
NFData TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
Hashable TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
ToJSON TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues | |
FromJSON TagValues Source # | |
type Rep TagValues Source # | |
Defined in Amazonka.CostExplorer.Types.TagValues type Rep TagValues = D1 ('MetaData "TagValues" "Amazonka.CostExplorer.Types.TagValues" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "TagValues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "matchOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MatchOption]))))) |
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:values:TagValues'
, tagValues_values
- The specific value of the tag.
$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
.
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
.