Skip to main content

what_if_forecasts

Creates, updates, deletes, gets or lists a what_if_forecasts resource.

Overview​

Namewhat_if_forecasts
TypeResource
Idaws.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:

NameAccessible byRequired ParamsOptional ParamsDescription
query_what_if_forecastexecregion, WhatIfForecastArn, FiltersRetrieves 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

Lifecycle Methods​

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 }}"
}'
;