amazonka-cost-explorer-2.0: Amazon Cost Explorer Service 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.CostExplorer.Types.TagValues

Description

 
Synopsis

Documentation

data TagValues Source #

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.

Constructors

TagValues' 

Fields

  • key :: Maybe Text

    The key for the tag.

  • matchOptions :: Maybe [MatchOption]

    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.

  • values :: Maybe [Text]

    The specific value of the tag.

Instances

Instances details
FromJSON TagValues Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TagValues

ToJSON TagValues Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TagValues

Generic TagValues Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TagValues

Associated Types

type Rep TagValues :: Type -> Type #

Read TagValues Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TagValues

Show TagValues Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TagValues

NFData TagValues Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TagValues

Methods

rnf :: TagValues -> () #

Eq TagValues Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TagValues

Hashable TagValues Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TagValues

type Rep TagValues Source # 
Instance details

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_key :: Lens' TagValues (Maybe Text) Source #

The key for 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.

tagValues_values :: Lens' TagValues (Maybe [Text]) Source #

The specific value of the tag.