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

Description

 
Synopsis

Documentation

data SavingsPlansDetails Source #

The attribute details on a specific Savings Plan.

See: newSavingsPlansDetails smart constructor.

Constructors

SavingsPlansDetails' 

Fields

  • instanceFamily :: Maybe Text

    A group of instance types that Savings Plans applies to.

  • offeringId :: Maybe Text

    The unique ID that's used to distinguish Savings Plans from one another.

  • region :: Maybe Text

    A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is isolated and independent of the other Regions.

Instances

Instances details
FromJSON SavingsPlansDetails Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansDetails

Generic SavingsPlansDetails Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansDetails

Associated Types

type Rep SavingsPlansDetails :: Type -> Type #

Read SavingsPlansDetails Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansDetails

Show SavingsPlansDetails Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansDetails

NFData SavingsPlansDetails Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansDetails

Methods

rnf :: SavingsPlansDetails -> () #

Eq SavingsPlansDetails Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansDetails

Hashable SavingsPlansDetails Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansDetails

type Rep SavingsPlansDetails Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.SavingsPlansDetails

type Rep SavingsPlansDetails = D1 ('MetaData "SavingsPlansDetails" "Amazonka.CostExplorer.Types.SavingsPlansDetails" "amazonka-cost-explorer-2.0-QqVzyVvst98QYs5s2Ea4h" 'False) (C1 ('MetaCons "SavingsPlansDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceFamily") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "offeringId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSavingsPlansDetails :: SavingsPlansDetails Source #

Create a value of SavingsPlansDetails 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:instanceFamily:SavingsPlansDetails', savingsPlansDetails_instanceFamily - A group of instance types that Savings Plans applies to.

$sel:offeringId:SavingsPlansDetails', savingsPlansDetails_offeringId - The unique ID that's used to distinguish Savings Plans from one another.

$sel:region:SavingsPlansDetails', savingsPlansDetails_region - A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is isolated and independent of the other Regions.

savingsPlansDetails_instanceFamily :: Lens' SavingsPlansDetails (Maybe Text) Source #

A group of instance types that Savings Plans applies to.

savingsPlansDetails_offeringId :: Lens' SavingsPlansDetails (Maybe Text) Source #

The unique ID that's used to distinguish Savings Plans from one another.

savingsPlansDetails_region :: Lens' SavingsPlansDetails (Maybe Text) Source #

A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is isolated and independent of the other Regions.