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

Description

 
Synopsis

Documentation

data TargetInstance Source #

Details on recommended instance.

See: newTargetInstance smart constructor.

Constructors

TargetInstance' 

Fields

Instances

Instances details
Eq TargetInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TargetInstance

Read TargetInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TargetInstance

Show TargetInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TargetInstance

Generic TargetInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TargetInstance

Associated Types

type Rep TargetInstance :: Type -> Type #

NFData TargetInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TargetInstance

Methods

rnf :: TargetInstance -> () #

Hashable TargetInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TargetInstance

FromJSON TargetInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TargetInstance

type Rep TargetInstance Source # 
Instance details

Defined in Amazonka.CostExplorer.Types.TargetInstance

type Rep TargetInstance = D1 ('MetaData "TargetInstance" "Amazonka.CostExplorer.Types.TargetInstance" "libZSservicesZSamazonka-cost-explorerZSamazonka-cost-explorer" 'False) (C1 ('MetaCons "TargetInstance'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "currencyCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceDetails)) :*: S1 ('MetaSel ('Just "platformDifferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PlatformDifference])))) :*: ((S1 ('MetaSel ('Just "defaultTargetInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "estimatedMonthlyCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "estimatedMonthlySavings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "expectedResourceUtilization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceUtilization))))))

newTargetInstance :: TargetInstance Source #

Create a value of TargetInstance 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:currencyCode:TargetInstance', targetInstance_currencyCode - The currency code that Amazon Web Services used to calculate the costs for this instance.

$sel:resourceDetails:TargetInstance', targetInstance_resourceDetails - Details on the target instance type.

$sel:platformDifferences:TargetInstance', targetInstance_platformDifferences - Explains the actions you might need to take in order to successfully migrate your workloads from the current instance type to the recommended instance type.

$sel:defaultTargetInstance:TargetInstance', targetInstance_defaultTargetInstance - Determines whether this recommendation is the defaulted Amazon Web Services recommendation.

$sel:estimatedMonthlyCost:TargetInstance', targetInstance_estimatedMonthlyCost - The expected cost to operate this instance type on a monthly basis.

$sel:estimatedMonthlySavings:TargetInstance', targetInstance_estimatedMonthlySavings - The estimated savings that result from modification, on a monthly basis.

$sel:expectedResourceUtilization:TargetInstance', targetInstance_expectedResourceUtilization - The expected utilization metrics for target instance type.

targetInstance_currencyCode :: Lens' TargetInstance (Maybe Text) Source #

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

targetInstance_platformDifferences :: Lens' TargetInstance (Maybe [PlatformDifference]) Source #

Explains the actions you might need to take in order to successfully migrate your workloads from the current instance type to the recommended instance type.

targetInstance_defaultTargetInstance :: Lens' TargetInstance (Maybe Bool) Source #

Determines whether this recommendation is the defaulted Amazon Web Services recommendation.

targetInstance_estimatedMonthlyCost :: Lens' TargetInstance (Maybe Text) Source #

The expected cost to operate this instance type on a monthly basis.

targetInstance_estimatedMonthlySavings :: Lens' TargetInstance (Maybe Text) Source #

The estimated savings that result from modification, on a monthly basis.

targetInstance_expectedResourceUtilization :: Lens' TargetInstance (Maybe ResourceUtilization) Source #

The expected utilization metrics for target instance type.