Struct aws_sdk_forecastquery::input::QueryForecastInput
source · [−]#[non_exhaustive]pub struct QueryForecastInput { /* private fields */ }
Implementations
sourceimpl QueryForecastInput
impl QueryForecastInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<QueryForecast, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<QueryForecast, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<QueryForecast
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture QueryForecastInput
.
sourceimpl QueryForecastInput
impl QueryForecastInput
sourcepub fn forecast_arn(&self) -> Option<&str>
pub fn forecast_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the forecast to query.
sourcepub fn start_date(&self) -> Option<&str>
pub fn start_date(&self) -> Option<&str>
The start date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T08:00:00.
sourcepub fn end_date(&self) -> Option<&str>
pub fn end_date(&self) -> Option<&str>
The end date for the forecast. Specify the date using this format: yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example, 2015-01-01T20:00:00.
sourcepub fn filters(&self) -> Option<&HashMap<String, String>>
pub fn filters(&self) -> Option<&HashMap<String, String>>
The filtering criteria to apply when retrieving the forecast. For example, to get the forecast for client_21
in the electricity usage dataset, specify the following:
{"item_id" : "client_21"}
To get the full forecast, use the CreateForecastExportJob operation.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the result of the previous request was truncated, the response includes a NextToken
. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
Trait Implementations
sourceimpl Clone for QueryForecastInput
impl Clone for QueryForecastInput
sourcefn clone(&self) -> QueryForecastInput
fn clone(&self) -> QueryForecastInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QueryForecastInput
impl Debug for QueryForecastInput
sourceimpl PartialEq<QueryForecastInput> for QueryForecastInput
impl PartialEq<QueryForecastInput> for QueryForecastInput
sourcefn eq(&self, other: &QueryForecastInput) -> bool
fn eq(&self, other: &QueryForecastInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QueryForecastInput) -> bool
fn ne(&self, other: &QueryForecastInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for QueryForecastInput
Auto Trait Implementations
impl RefUnwindSafe for QueryForecastInput
impl Send for QueryForecastInput
impl Sync for QueryForecastInput
impl Unpin for QueryForecastInput
impl UnwindSafe for QueryForecastInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more