libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CostExplorer.Types.Group

Description

 
Synopsis

Documentation

data Group Source #

One level of grouped data in the results.

See: newGroup smart constructor.

Constructors

Group' 

Fields

Instances

Instances details
Eq Group Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Group

Methods

(==) :: Group -> Group -> Bool #

(/=) :: Group -> Group -> Bool #

Read Group Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Group

Show Group Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Group

Methods

showsPrec :: Int -> Group -> ShowS #

show :: Group -> String #

showList :: [Group] -> ShowS #

Generic Group Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Group

Associated Types

type Rep Group :: Type -> Type #

Methods

from :: Group -> Rep Group x #

to :: Rep Group x -> Group #

NFData Group Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Group

Methods

rnf :: Group -> () #

Hashable Group Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Group

Methods

hashWithSalt :: Int -> Group -> Int #

hash :: Group -> Int #

FromJSON Group Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Group

type Rep Group Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.Group

type Rep Group = D1 ('MetaData "Group" "Amazonka.CostExplorer.Types.Group" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "Group'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MetricValue))) :*: S1 ('MetaSel ('Just "keys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newGroup :: Group Source #

Create a value of Group 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:metrics:Group', group_metrics - The metrics that are included in this group.

$sel:keys:Group', group_keys - The keys that are included in this group.

group_metrics :: Lens' Group (Maybe (HashMap Text MetricValue)) Source #

The metrics that are included in this group.

group_keys :: Lens' Group (Maybe [Text]) Source #

The keys that are included in this group.