/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the forecastquery-2018-06-26.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.ForecastQueryService.Model;
namespace Amazon.ForecastQueryService
{
///
/// Interface for accessing ForecastQueryService
///
/// Provides APIs for creating and managing Amazon Forecast resources.
///
public partial interface IAmazonForecastQueryService : IAmazonService, IDisposable
{
#region QueryForecast
///
/// 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.
///
///
///
/// Container for the necessary parameters to execute the QueryForecast service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the QueryForecast service method, as returned by ForecastQueryService.
///
/// The value is invalid or is too long.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
///
/// The limit on the number of requests per second has been exceeded.
///
///
/// The specified resource is in use.
///
///
/// We can't find that resource. Check the information that you've provided and try again.
///
/// REST API Reference for QueryForecast Operation
Task QueryForecastAsync(QueryForecastRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region QueryWhatIfForecast
///
/// Retrieves a what-if forecast.
///
/// Container for the necessary parameters to execute the QueryWhatIfForecast service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the QueryWhatIfForecast service method, as returned by ForecastQueryService.
///
/// The value is invalid or is too long.
///
///
/// The token is not valid. Tokens expire after 24 hours.
///
///
/// The limit on the number of requests per second has been exceeded.
///
///
/// The specified resource is in use.
///
///
/// We can't find that resource. Check the information that you've provided and try again.
///
/// REST API Reference for QueryWhatIfForecast Operation
Task QueryWhatIfForecastAsync(QueryWhatIfForecastRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}