@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonForecastQueryAsync extends AmazonForecastQuery
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonForecastQueryAsync
instead.
Provides APIs for creating and managing Amazon Forecast resources.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<QueryForecastResult> |
queryForecastAsync(QueryForecastRequest queryForecastRequest)
Retrieves a forecast for a single item, filtered by the supplied criteria.
|
Future<QueryForecastResult> |
queryForecastAsync(QueryForecastRequest queryForecastRequest,
AsyncHandler<QueryForecastRequest,QueryForecastResult> asyncHandler)
Retrieves a forecast for a single item, filtered by the supplied criteria.
|
Future<QueryWhatIfForecastResult> |
queryWhatIfForecastAsync(QueryWhatIfForecastRequest queryWhatIfForecastRequest)
Retrieves a what-if forecast.
|
Future<QueryWhatIfForecastResult> |
queryWhatIfForecastAsync(QueryWhatIfForecastRequest queryWhatIfForecastRequest,
AsyncHandler<QueryWhatIfForecastRequest,QueryWhatIfForecastResult> asyncHandler)
Retrieves a what-if forecast.
|
getCachedResponseMetadata, queryForecast, queryWhatIfForecast, shutdown
Future<QueryForecastResult> queryForecastAsync(QueryForecastRequest queryForecastRequest)
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.
queryForecastRequest
- Future<QueryForecastResult> queryForecastAsync(QueryForecastRequest queryForecastRequest, AsyncHandler<QueryForecastRequest,QueryForecastResult> asyncHandler)
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.
queryForecastRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<QueryWhatIfForecastResult> queryWhatIfForecastAsync(QueryWhatIfForecastRequest queryWhatIfForecastRequest)
Retrieves a what-if forecast.
queryWhatIfForecastRequest
- Future<QueryWhatIfForecastResult> queryWhatIfForecastAsync(QueryWhatIfForecastRequest queryWhatIfForecastRequest, AsyncHandler<QueryWhatIfForecastRequest,QueryWhatIfForecastResult> asyncHandler)
Retrieves a what-if forecast.
queryWhatIfForecastRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.