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

Description

Returns an estimate of the monthly cost for DevOps Guru to analyze your AWS resources. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.

This operation returns paginated results.

Synopsis

Creating a Request

data GetCostEstimation Source #

See: newGetCostEstimation smart constructor.

Constructors

GetCostEstimation' 

Fields

  • nextToken :: Maybe Text

    The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

Instances

Instances details
Eq GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Read GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Show GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Generic GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Associated Types

type Rep GetCostEstimation :: Type -> Type #

NFData GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Methods

rnf :: GetCostEstimation -> () #

Hashable GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

AWSPager GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

AWSRequest GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Associated Types

type AWSResponse GetCostEstimation #

ToHeaders GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

ToPath GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

ToQuery GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

type Rep GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

type Rep GetCostEstimation = D1 ('MetaData "GetCostEstimation" "Amazonka.DevOpsGuru.GetCostEstimation" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "GetCostEstimation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

newGetCostEstimation :: GetCostEstimation Source #

Create a value of GetCostEstimation 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:nextToken:GetCostEstimation', getCostEstimation_nextToken - The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

Request Lenses

getCostEstimation_nextToken :: Lens' GetCostEstimation (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

Destructuring the Response

data GetCostEstimationResponse Source #

See: newGetCostEstimationResponse smart constructor.

Constructors

GetCostEstimationResponse' 

Fields

Instances

Instances details
Eq GetCostEstimationResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Read GetCostEstimationResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Show GetCostEstimationResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Generic GetCostEstimationResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Associated Types

type Rep GetCostEstimationResponse :: Type -> Type #

NFData GetCostEstimationResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

type Rep GetCostEstimationResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

newGetCostEstimationResponse Source #

Create a value of GetCostEstimationResponse 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:status:GetCostEstimationResponse', getCostEstimationResponse_status - The status of creating this cost estimate. If it's still in progress, the status ONGOING is returned. If it is finished, the status COMPLETED is returned.

$sel:resourceCollection:GetCostEstimationResponse', getCostEstimationResponse_resourceCollection - The collection of the AWS resources used to create your monthly DevOps Guru cost estimate.

$sel:timeRange:GetCostEstimationResponse', getCostEstimationResponse_timeRange - The start and end time of the cost estimation.

$sel:costs:GetCostEstimationResponse', getCostEstimationResponse_costs - An array of ResourceCost objects that each contains details about the monthly cost estimate to analyze one of your AWS resources.

$sel:nextToken:GetCostEstimation', getCostEstimationResponse_nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

$sel:totalCost:GetCostEstimationResponse', getCostEstimationResponse_totalCost - The estimated monthly cost to analyze the AWS resources. This value is the sum of the estimated costs to analyze each resource in the Costs object in this response.

$sel:httpStatus:GetCostEstimationResponse', getCostEstimationResponse_httpStatus - The response's http status code.

Response Lenses

getCostEstimationResponse_status :: Lens' GetCostEstimationResponse (Maybe CostEstimationStatus) Source #

The status of creating this cost estimate. If it's still in progress, the status ONGOING is returned. If it is finished, the status COMPLETED is returned.

getCostEstimationResponse_resourceCollection :: Lens' GetCostEstimationResponse (Maybe CostEstimationResourceCollectionFilter) Source #

The collection of the AWS resources used to create your monthly DevOps Guru cost estimate.

getCostEstimationResponse_costs :: Lens' GetCostEstimationResponse (Maybe [ServiceResourceCost]) Source #

An array of ResourceCost objects that each contains details about the monthly cost estimate to analyze one of your AWS resources.

getCostEstimationResponse_nextToken :: Lens' GetCostEstimationResponse (Maybe Text) Source #

The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

getCostEstimationResponse_totalCost :: Lens' GetCostEstimationResponse (Maybe Double) Source #

The estimated monthly cost to analyze the AWS resources. This value is the sum of the estimated costs to analyze each resource in the Costs object in this response.