amazonka-devops-guru-2.0: Amazon DevOps Guru SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DevOpsGuru.GetCostEstimation

Description

Returns an estimate of the monthly cost for DevOps Guru to analyze your Amazon Web Services 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
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

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 #

Generic GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Associated Types

type Rep GetCostEstimation :: Type -> Type #

Read GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Show GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

NFData GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Methods

rnf :: GetCostEstimation -> () #

Eq GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Hashable GetCostEstimation Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

type AWSResponse 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" "amazonka-devops-guru-2.0-C03FLSgo73f1Pu5ftIREHS" 'False) (C1 ('MetaCons "GetCostEstimation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:

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
Generic GetCostEstimationResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Associated Types

type Rep GetCostEstimationResponse :: Type -> Type #

Read GetCostEstimationResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Show GetCostEstimationResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

NFData GetCostEstimationResponse Source # 
Instance details

Defined in Amazonka.DevOpsGuru.GetCostEstimation

Eq 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:costs:GetCostEstimationResponse', getCostEstimationResponse_costs - An array of ResourceCost objects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.

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.

GetCostEstimationResponse, getCostEstimationResponse_resourceCollection - The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.

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:timeRange:GetCostEstimationResponse', getCostEstimationResponse_timeRange - The start and end time of the cost estimation.

$sel:totalCost:GetCostEstimationResponse', getCostEstimationResponse_totalCost - The estimated monthly cost to analyze the Amazon Web Services 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_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 Amazon Web Services 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_resourceCollection :: Lens' GetCostEstimationResponse (Maybe CostEstimationResourceCollectionFilter) Source #

The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.

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_totalCost :: Lens' GetCostEstimationResponse (Maybe Double) Source #

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