AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Retrieves a forecast for a single item, filtered by the supplied criteria.
The criteria is a key-value pair. The key is either item_id (or the equivalent
non-timestamp, non-target field) from the TARGET_TIME_SERIES dataset, or one
of the forecast dimensions specified as part of the FeaturizationConfig object.
By default, QueryForecast returns the complete date range for the filtered
forecast. You can request a specific date range.
To get the full forecast, use the CreateForecastExportJob operation.
The forecasts generated by Amazon Forecast are in the same timezone as the dataset that was used to create the predictor.
For .NET Core this operation is only available in asynchronous form. Please refer to QueryForecastAsync.
Namespace: Amazon.ForecastQueryService
Assembly: AWSSDK.ForecastQueryService.dll
Version: 3.x.y.z
public virtual QueryForecastResponse QueryForecast( QueryForecastRequest request )
Container for the necessary parameters to execute the QueryForecast service method.
| Exception | Condition |
|---|---|
| InvalidInputException | The value is invalid or is too long. |
| InvalidNextTokenException | The token is not valid. Tokens expire after 24 hours. |
| LimitExceededException | The limit on the number of requests per second has been exceeded. |
| ResourceInUseException | The specified resource is in use. |
| ResourceNotFoundException | We can't find that resource. Check the information that you've provided and try again. |
.NET Framework:
Supported in: 4.7.2 and newer