pub struct QueryForecastRequest {
pub end_date: Option<String>,
pub filters: HashMap<String, String>,
pub forecast_arn: String,
pub next_token: Option<String>,
pub start_date: Option<String>,
}
Fields
end_date: Option<String>
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.
filters: 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.
forecast_arn: String
The Amazon Resource Name (ARN) of the forecast to query.
next_token: Option<String>
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.
start_date: Option<String>
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.
Trait Implementations
sourceimpl Clone for QueryForecastRequest
impl Clone for QueryForecastRequest
sourcefn clone(&self) -> QueryForecastRequest
fn clone(&self) -> QueryForecastRequest
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 QueryForecastRequest
impl Debug for QueryForecastRequest
sourceimpl Default for QueryForecastRequest
impl Default for QueryForecastRequest
sourcefn default() -> QueryForecastRequest
fn default() -> QueryForecastRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<QueryForecastRequest> for QueryForecastRequest
impl PartialEq<QueryForecastRequest> for QueryForecastRequest
sourcefn eq(&self, other: &QueryForecastRequest) -> bool
fn eq(&self, other: &QueryForecastRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QueryForecastRequest) -> bool
fn ne(&self, other: &QueryForecastRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for QueryForecastRequest
impl Serialize for QueryForecastRequest
impl StructuralPartialEq for QueryForecastRequest
Auto Trait Implementations
impl RefUnwindSafe for QueryForecastRequest
impl Send for QueryForecastRequest
impl Sync for QueryForecastRequest
impl Unpin for QueryForecastRequest
impl UnwindSafe for QueryForecastRequest
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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