@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface ForecastqueryAsyncClient extends SdkClient
builder() method.
Provides APIs for creating and managing Amazon Forecast resources.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static ForecastqueryAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
ForecastqueryAsyncClient. |
static ForecastqueryAsyncClient |
create()
Create a
ForecastqueryAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<QueryForecastResponse> |
queryForecast(Consumer<QueryForecastRequest.Builder> queryForecastRequest)
Retrieves a forecast for a single item, filtered by the supplied criteria.
|
default CompletableFuture<QueryForecastResponse> |
queryForecast(QueryForecastRequest queryForecastRequest)
Retrieves a forecast for a single item, filtered by the supplied criteria.
|
default CompletableFuture<QueryWhatIfForecastResponse> |
queryWhatIfForecast(Consumer<QueryWhatIfForecastRequest.Builder> queryWhatIfForecastRequest)
Retrieves a what-if forecast.
|
default CompletableFuture<QueryWhatIfForecastResponse> |
queryWhatIfForecast(QueryWhatIfForecastRequest queryWhatIfForecastRequest)
Retrieves a what-if forecast.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static ForecastqueryAsyncClient create()
ForecastqueryAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static ForecastqueryAsyncClientBuilder builder()
ForecastqueryAsyncClient.default CompletableFuture<QueryForecastResponse> queryForecast(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 - default CompletableFuture<QueryForecastResponse> queryForecast(Consumer<QueryForecastRequest.Builder> 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.
This is a convenience which creates an instance of the QueryForecastRequest.Builder avoiding the need to
create one manually via QueryForecastRequest.builder()
queryForecastRequest - A Consumer that will call methods on QueryForecastRequest.Builder to create a request.default CompletableFuture<QueryWhatIfForecastResponse> queryWhatIfForecast(QueryWhatIfForecastRequest queryWhatIfForecastRequest)
Retrieves a what-if forecast.
queryWhatIfForecastRequest - default CompletableFuture<QueryWhatIfForecastResponse> queryWhatIfForecast(Consumer<QueryWhatIfForecastRequest.Builder> queryWhatIfForecastRequest)
Retrieves a what-if forecast.
This is a convenience which creates an instance of the QueryWhatIfForecastRequest.Builder avoiding the
need to create one manually via QueryWhatIfForecastRequest.builder()
queryWhatIfForecastRequest - A Consumer that will call methods on QueryWhatIfForecastRequest.Builder to create a
request.Copyright © 2022. All rights reserved.