| 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 |
Amazonka.DevOpsGuru.StartCostEstimation
Description
Starts the creation of an estimate of the monthly cost to analyze your Amazon Web Services 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.
Constructors
| StartCostEstimation' | |
Fields
| |
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.
StartCostEstimation, startCostEstimation_resourceCollection - The collection of Amazon Web Services 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 Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.
Destructuring the Response
data StartCostEstimationResponse Source #
See: newStartCostEstimationResponse smart constructor.
Constructors
| StartCostEstimationResponse' | |
Fields
| |
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.