GetCostEstimation
Source:
src/AWS/DevOpsGuru/GetCostEstimation.ts
Runtime binding for devops-guru:GetCostEstimation.
Returns the result of the most recent cost estimation started with StartCostEstimation — the estimated monthly cost of DevOps Guru analyzing the candidate resource collection.
Provide the implementation with
Effect.provide(AWS.DevOpsGuru.GetCostEstimationHttp).
Cost Estimation
Section titled “Cost Estimation”// init — account-level binding, no resource argumentconst getCostEstimation = yield* AWS.DevOpsGuru.GetCostEstimation();
// runtimeconst estimate = yield* getCostEstimation();yield* Effect.log(`estimated: ${estimate.TotalCost} (${estimate.Status})`);