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.CoverageNormalizedUnits

Description

 
Synopsis

Documentation

data CoverageNormalizedUnits Source #

The amount of instance usage, in normalized units. You can use normalized units to see your EC2 usage for multiple sizes of instances in a uniform way. For example, suppose that you run an xlarge instance and a 2xlarge instance. If you run both instances for the same amount of time, the 2xlarge instance uses twice as much of your reservation as the xlarge instance, even though both instances show only one instance-hour. When you use normalized units instead of instance-hours, the xlarge instance used 8 normalized units, and the 2xlarge instance used 16 normalized units.

For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide for Linux Instances.

See: newCoverageNormalizedUnits smart constructor.

Constructors

CoverageNormalizedUnits' 

Fields

Instances

Instances details
Eq CoverageNormalizedUnits Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageNormalizedUnits

Read CoverageNormalizedUnits Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageNormalizedUnits

Show CoverageNormalizedUnits Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageNormalizedUnits

Generic CoverageNormalizedUnits Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageNormalizedUnits

Associated Types

type Rep CoverageNormalizedUnits :: Type -> Type #

NFData CoverageNormalizedUnits Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageNormalizedUnits

Methods

rnf :: CoverageNormalizedUnits -> () #

Hashable CoverageNormalizedUnits Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageNormalizedUnits

FromJSON CoverageNormalizedUnits Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageNormalizedUnits

type Rep CoverageNormalizedUnits Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CoverageNormalizedUnits

type Rep CoverageNormalizedUnits = D1 ('MetaData "CoverageNormalizedUnits" "Amazonka.CostExplorer.Types.CoverageNormalizedUnits" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "CoverageNormalizedUnits'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reservedNormalizedUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "totalRunningNormalizedUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "coverageNormalizedUnitsPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "onDemandNormalizedUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCoverageNormalizedUnits :: CoverageNormalizedUnits Source #

Create a value of CoverageNormalizedUnits 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:reservedNormalizedUnits:CoverageNormalizedUnits', coverageNormalizedUnits_reservedNormalizedUnits - The number of normalized units that a reservation covers.

$sel:totalRunningNormalizedUnits:CoverageNormalizedUnits', coverageNormalizedUnits_totalRunningNormalizedUnits - The total number of normalized units that you used.

$sel:coverageNormalizedUnitsPercentage:CoverageNormalizedUnits', coverageNormalizedUnits_coverageNormalizedUnitsPercentage - The percentage of your used instance normalized units that a reservation covers.

$sel:onDemandNormalizedUnits:CoverageNormalizedUnits', coverageNormalizedUnits_onDemandNormalizedUnits - The number of normalized units that are covered by On-Demand Instances instead of a reservation.

coverageNormalizedUnits_reservedNormalizedUnits :: Lens' CoverageNormalizedUnits (Maybe Text) Source #

The number of normalized units that a reservation covers.

coverageNormalizedUnits_coverageNormalizedUnitsPercentage :: Lens' CoverageNormalizedUnits (Maybe Text) Source #

The percentage of your used instance normalized units that a reservation covers.

coverageNormalizedUnits_onDemandNormalizedUnits :: Lens' CoverageNormalizedUnits (Maybe Text) Source #

The number of normalized units that are covered by On-Demand Instances instead of a reservation.