pub trait ForecastQuery {
// Required method
fn query_forecast<'life0, 'async_trait>(
&'life0 self,
input: QueryForecastRequest,
) -> Pin<Box<dyn Future<Output = Result<QueryForecastResponse, RusotoError<QueryForecastError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Trait representing the capabilities of the Amazon Forecast Query Service API. Amazon Forecast Query Service clients implement this trait.
Required Methods§
Sourcefn query_forecast<'life0, 'async_trait>(
&'life0 self,
input: QueryForecastRequest,
) -> Pin<Box<dyn Future<Output = Result<QueryForecastResponse, RusotoError<QueryForecastError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn query_forecast<'life0, 'async_trait>(
&'life0 self,
input: QueryForecastRequest,
) -> Pin<Box<dyn Future<Output = Result<QueryForecastResponse, RusotoError<QueryForecastError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves a forecast for a single item, filtered by the supplied criteria.
The criteria is a key-value pair. The key is either itemid (or the equivalent non-timestamp, non-target field) from the TARGETTIMESERIES 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 <a href="https://docs.aws.amazon.com/enus/forecast/latest/dg/API_CreateForecastExportJob.html">CreateForecastExportJob operation.
The forecasts generated by Amazon Forecast are in the same timezone as the dataset that was used to create the predictor.