Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ForecastQueryService

import { ForecastQueryService } from "https://aws-api.deno.dev/v0.4/services/forecastqueryservice.ts?docs=full";
class ForecastQueryService {
constructor(apiFactory: client.ApiFactory);
async queryForecast(params: QueryForecastRequest, opts?: client.RequestOptions): Promise<QueryForecastResponse>;
async queryWhatIfForecast(params: QueryWhatIfForecastRequest, opts?: client.RequestOptions): Promise<QueryWhatIfForecastResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new ForecastQueryService(apiFactory: client.ApiFactory)
[src]

§Methods

§

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.

Note: The forecasts generated by Amazon Forecast are in the same timezone as the dataset that was used to create the predictor.

§

Retrieves a what-if forecast.

§Static Properties