Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Starts the creation of an estimate of the monthly cost to analyze your AWS resources.
Synopsis
- data StartCostEstimation = StartCostEstimation' {}
- newStartCostEstimation :: CostEstimationResourceCollectionFilter -> StartCostEstimation
- startCostEstimation_clientToken :: Lens' StartCostEstimation (Maybe Text)
- startCostEstimation_resourceCollection :: Lens' StartCostEstimation CostEstimationResourceCollectionFilter
- data StartCostEstimationResponse = StartCostEstimationResponse' {
- httpStatus :: Int
- newStartCostEstimationResponse :: Int -> StartCostEstimationResponse
- startCostEstimationResponse_httpStatus :: Lens' StartCostEstimationResponse Int
Creating a Request
data StartCostEstimation Source #
See: newStartCostEstimation
smart constructor.
StartCostEstimation' | |
|
Instances
newStartCostEstimation Source #
Create a value of StartCostEstimation
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:clientToken:StartCostEstimation'
, startCostEstimation_clientToken
- The idempotency token used to identify each cost estimate request.
$sel:resourceCollection:StartCostEstimation'
, startCostEstimation_resourceCollection
- The collection of AWS resources used to create a monthly DevOps Guru
cost estimate.
Request Lenses
startCostEstimation_clientToken :: Lens' StartCostEstimation (Maybe Text) Source #
The idempotency token used to identify each cost estimate request.
startCostEstimation_resourceCollection :: Lens' StartCostEstimation CostEstimationResourceCollectionFilter Source #
The collection of AWS resources used to create a monthly DevOps Guru cost estimate.
Destructuring the Response
data StartCostEstimationResponse Source #
See: newStartCostEstimationResponse
smart constructor.
StartCostEstimationResponse' | |
|
Instances
newStartCostEstimationResponse Source #
Create a value of StartCostEstimationResponse
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:httpStatus:StartCostEstimationResponse'
, startCostEstimationResponse_httpStatus
- The response's http status code.
Response Lenses
startCostEstimationResponse_httpStatus :: Lens' StartCostEstimationResponse Int Source #
The response's http status code.