what_if_forecasts
Creates, updates, deletes, gets or lists a what_if_forecasts resource.
Overview​
| Name | what_if_forecasts |
| Type | Resource |
| Id | aws.forecastquery.what_if_forecasts |
Fields​
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
query_what_if_forecast | exec | region, WhatIfForecastArn, Filters | Retrieves a what-if forecast. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
Lifecycle Methods​
- query_what_if_forecast
Retrieves a what-if forecast.
EXEC aws.forecastquery.what_if_forecasts.query_what_if_forecast
@region='{{ region }}' --required
@@json=
'{
"WhatIfForecastArn": "{{ WhatIfForecastArn }}",
"StartDate": "{{ StartDate }}",
"EndDate": "{{ EndDate }}",
"Filters": "{{ Filters }}",
"NextToken": "{{ NextToken }}"
}'
;