libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru
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.DevOpsGuru.Types.ServiceResourceCost

Description

 
Synopsis

Documentation

data ServiceResourceCost Source #

An object that contains information about the estimated monthly cost to analyze an AWS resource. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.

See: newServiceResourceCost smart constructor.

Constructors

ServiceResourceCost' 

Fields

Instances

Instances details
Eq ServiceResourceCost Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.ServiceResourceCost

Read ServiceResourceCost Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.ServiceResourceCost

Show ServiceResourceCost Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.ServiceResourceCost

Generic ServiceResourceCost Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.ServiceResourceCost

Associated Types

type Rep ServiceResourceCost :: Type -> Type #

NFData ServiceResourceCost Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.ServiceResourceCost

Methods

rnf :: ServiceResourceCost -> () #

Hashable ServiceResourceCost Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.ServiceResourceCost

FromJSON ServiceResourceCost Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.ServiceResourceCost

type Rep ServiceResourceCost Source # 
Instance details

Defined in Amazonka.DevOpsGuru.Types.ServiceResourceCost

type Rep ServiceResourceCost = D1 ('MetaData "ServiceResourceCost" "Amazonka.DevOpsGuru.Types.ServiceResourceCost" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "ServiceResourceCost'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CostEstimationServiceResourceState)) :*: S1 ('MetaSel ('Just "unitCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "cost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newServiceResourceCost :: ServiceResourceCost Source #

Create a value of ServiceResourceCost 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:state:ServiceResourceCost', serviceResourceCost_state - The state of the resource. The resource is ACTIVE if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE. You pay for the number of active AWS resource hours analyzed for each resource. Inactive resources are not charged.

$sel:unitCost:ServiceResourceCost', serviceResourceCost_unitCost - The price per hour to analyze the resources in the service. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.

$sel:count:ServiceResourceCost', serviceResourceCost_count - The number of active resources analyzed for this service to create a monthly cost estimate.

$sel:cost:ServiceResourceCost', serviceResourceCost_cost - The total estimated monthly cost to analyze the active resources for this resource.

$sel:type':ServiceResourceCost', serviceResourceCost_type - The type of the AWS resource.

serviceResourceCost_state :: Lens' ServiceResourceCost (Maybe CostEstimationServiceResourceState) Source #

The state of the resource. The resource is ACTIVE if it produces metrics, events, or logs within an hour, otherwise it is INACTIVE. You pay for the number of active AWS resource hours analyzed for each resource. Inactive resources are not charged.

serviceResourceCost_unitCost :: Lens' ServiceResourceCost (Maybe Double) Source #

The price per hour to analyze the resources in the service. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.

serviceResourceCost_count :: Lens' ServiceResourceCost (Maybe Int) Source #

The number of active resources analyzed for this service to create a monthly cost estimate.

serviceResourceCost_cost :: Lens' ServiceResourceCost (Maybe Double) Source #

The total estimated monthly cost to analyze the active resources for this resource.