[][src]Struct rusoto_forecastquery::ForecastQueryClient

pub struct ForecastQueryClient { /* fields omitted */ }

A client for the Amazon Forecast Query Service API.

Implementations

impl ForecastQueryClient[src]

pub fn new(region: Region) -> ForecastQueryClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> ForecastQueryClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> ForecastQueryClient[src]

Trait Implementations

impl Clone for ForecastQueryClient[src]

impl ForecastQuery for ForecastQueryClient[src]

pub fn query_forecast<'life0, 'async_trait>(
    &'life0 self,
    input: QueryForecastRequest
) -> Pin<Box<dyn Future<Output = Result<QueryForecastResponse, RusotoError<QueryForecastError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.