Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ServiceResourceCost = ServiceResourceCost' {}
- newServiceResourceCost :: ServiceResourceCost
- serviceResourceCost_cost :: Lens' ServiceResourceCost (Maybe Double)
- serviceResourceCost_count :: Lens' ServiceResourceCost (Maybe Int)
- serviceResourceCost_state :: Lens' ServiceResourceCost (Maybe CostEstimationServiceResourceState)
- serviceResourceCost_type :: Lens' ServiceResourceCost (Maybe Text)
- serviceResourceCost_unitCost :: Lens' ServiceResourceCost (Maybe Double)
Documentation
data ServiceResourceCost Source #
An object that contains information about the estimated monthly cost to analyze an Amazon Web Services resource. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.
See: newServiceResourceCost
smart constructor.
ServiceResourceCost' | |
|
Instances
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:cost:ServiceResourceCost'
, serviceResourceCost_cost
- The total estimated monthly cost to analyze the active resources for
this resource.
$sel:count:ServiceResourceCost'
, serviceResourceCost_count
- The number of active resources analyzed for this service to create a
monthly cost estimate.
$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 Amazon Web Services resource hours analyzed
for each resource. Inactive resources are not charged.
$sel:type':ServiceResourceCost'
, serviceResourceCost_type
- The type of the Amazon Web Services resource.
$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.
serviceResourceCost_cost :: Lens' ServiceResourceCost (Maybe Double) Source #
The total estimated monthly cost to analyze the active resources for this resource.
serviceResourceCost_count :: Lens' ServiceResourceCost (Maybe Int) Source #
The number of active resources analyzed for this service to create a monthly cost estimate.
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 Amazon Web Services resource hours analyzed
for each resource. Inactive resources are not charged.
serviceResourceCost_type :: Lens' ServiceResourceCost (Maybe Text) Source #
The type of the Amazon Web Services resource.
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.