[−][src]Struct rusoto_forecastquery::ForecastQueryClient
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]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> ForecastQueryClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> ForecastQueryClient
[src]
Trait Implementations
impl Clone for ForecastQueryClient
[src]
pub fn clone(&self) -> ForecastQueryClient
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
&'life0 self,
input: QueryForecastRequest
) -> Pin<Box<dyn Future<Output = Result<QueryForecastResponse, RusotoError<QueryForecastError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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
impl !RefUnwindSafe for ForecastQueryClient
[src]
impl Send for ForecastQueryClient
[src]
impl Sync for ForecastQueryClient
[src]
impl Unpin for ForecastQueryClient
[src]
impl !UnwindSafe for ForecastQueryClient
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,