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

Description

 
Synopsis

Documentation

data CurrentInstance Source #

Context about the current instance.

See: newCurrentInstance smart constructor.

Constructors

CurrentInstance' 

Fields

Instances

Instances details
Eq CurrentInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CurrentInstance

Read CurrentInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CurrentInstance

Show CurrentInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CurrentInstance

Generic CurrentInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CurrentInstance

Associated Types

type Rep CurrentInstance :: Type -> Type #

NFData CurrentInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CurrentInstance

Methods

rnf :: CurrentInstance -> () #

Hashable CurrentInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CurrentInstance

FromJSON CurrentInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CurrentInstance

type Rep CurrentInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.CurrentInstance

type Rep CurrentInstance = D1 ('MetaData "CurrentInstance" "Amazonka.CostExplorer.Types.CurrentInstance" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "CurrentInstance'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceUtilization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceUtilization)) :*: (S1 ('MetaSel ('Just "resourceDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceDetails)) :*: S1 ('MetaSel ('Just "totalRunningHoursInLookbackPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "reservationCoveredHoursInLookbackPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "onDemandHoursInLookbackPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "monthlyCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "instanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "savingsPlansCoveredHoursInLookbackPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagValues])))))))

newCurrentInstance :: CurrentInstance Source #

Create a value of CurrentInstance 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:resourceId:CurrentInstance', currentInstance_resourceId - Resource ID of the current instance.

$sel:currencyCode:CurrentInstance', currentInstance_currencyCode - The currency code that Amazon Web Services used to calculate the costs for this instance.

$sel:resourceUtilization:CurrentInstance', currentInstance_resourceUtilization - Utilization information of the current instance during the lookback period.

$sel:resourceDetails:CurrentInstance', currentInstance_resourceDetails - Details about the resource and utilization.

$sel:totalRunningHoursInLookbackPeriod:CurrentInstance', currentInstance_totalRunningHoursInLookbackPeriod - The total number of hours that the instance ran during the lookback period.

$sel:reservationCoveredHoursInLookbackPeriod:CurrentInstance', currentInstance_reservationCoveredHoursInLookbackPeriod - The number of hours during the lookback period that's covered by reservations.

$sel:onDemandHoursInLookbackPeriod:CurrentInstance', currentInstance_onDemandHoursInLookbackPeriod - The number of hours during the lookback period that's billed at On-Demand rates.

$sel:monthlyCost:CurrentInstance', currentInstance_monthlyCost - The current On-Demand cost of operating this instance on a monthly basis.

$sel:instanceName:CurrentInstance', currentInstance_instanceName - The name that you given an instance. This field shows as blank if you haven't given the instance a name.

$sel:savingsPlansCoveredHoursInLookbackPeriod:CurrentInstance', currentInstance_savingsPlansCoveredHoursInLookbackPeriod - The number of hours during the lookback period that's covered by Savings Plans.

$sel:tags:CurrentInstance', currentInstance_tags - Cost allocation resource tags that are applied to the instance.

currentInstance_resourceId :: Lens' CurrentInstance (Maybe Text) Source #

Resource ID of the current instance.

currentInstance_currencyCode :: Lens' CurrentInstance (Maybe Text) Source #

The currency code that Amazon Web Services used to calculate the costs for this instance.

currentInstance_resourceUtilization :: Lens' CurrentInstance (Maybe ResourceUtilization) Source #

Utilization information of the current instance during the lookback period.

currentInstance_resourceDetails :: Lens' CurrentInstance (Maybe ResourceDetails) Source #

Details about the resource and utilization.

currentInstance_totalRunningHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #

The total number of hours that the instance ran during the lookback period.

currentInstance_reservationCoveredHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #

The number of hours during the lookback period that's covered by reservations.

currentInstance_onDemandHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #

The number of hours during the lookback period that's billed at On-Demand rates.

currentInstance_monthlyCost :: Lens' CurrentInstance (Maybe Text) Source #

The current On-Demand cost of operating this instance on a monthly basis.

currentInstance_instanceName :: Lens' CurrentInstance (Maybe Text) Source #

The name that you given an instance. This field shows as blank if you haven't given the instance a name.

currentInstance_savingsPlansCoveredHoursInLookbackPeriod :: Lens' CurrentInstance (Maybe Text) Source #

The number of hours during the lookback period that's covered by Savings Plans.

currentInstance_tags :: Lens' CurrentInstance (Maybe [TagValues]) Source #

Cost allocation resource tags that are applied to the instance.