Struct aws_sdk_forecastquery::input::QueryForecastInput [−][src]
#[non_exhaustive]pub struct QueryForecastInput {
pub forecast_arn: Option<String>,
pub start_date: Option<String>,
pub end_date: Option<String>,
pub filters: Option<HashMap<String, String>>,
pub next_token: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.forecast_arn: Option<String>
The Amazon Resource Name (ARN) of the forecast to query.
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.
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: 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.
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.
Implementations
pub 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
>
Creates a new builder-style object to manufacture QueryForecastInput
The Amazon Resource Name (ARN) of the forecast to query.
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.
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.
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.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more