Actions12
- Cost Anomaly Detection Actions
- Cost and Usage Actions
- Cost Forecast Actions
- Dimension Values Actions
- Reserved Instances Actions
- Savings Plans Actions
Cost Forecast → Get
AI-generatedSummary
Retrieve an AWS cost forecast for a specified date range, cost metric, and daily or monthly granularity.
Inputs
- startDate — Required forecast start date in YYYY-MM-DD format.
- endDate — Required forecast end date in YYYY-MM-DD format, exclusive.
- granularity — Forecast interval: DAILY or MONTHLY. Defaults to MONTHLY.
- forecastMetric — Cost metric: AMORTIZED_COST, BLENDED_COST, NET_AMORTIZED_COST, NET_UNBLENDED_COST, or UNBLENDED_COST. Defaults to UNBLENDED_COST.
Output shape
One JSON item containing the AWS GetCostForecast response per input item.
Returns the SDK response unchanged, without flattening or pagination. If Continue On Fail is enabled, a failed request returns an item with an error message.