Struct rusoto_forecast::ListForecastsRequest
source · [−]pub struct ListForecastsRequest {
pub filters: Option<Vec<Filter>>,
pub max_results: Option<i64>,
pub next_token: Option<String>,
}
Fields
filters: Option<Vec<Filter>>
An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS
or IS_NOT
, which specifies whether to include or exclude the forecasts that match the statement from the list, respectively. The match statement consists of a key and a value.
Filter properties
-
Condition
- The condition to apply. Valid values areIS
andIS_NOT
. To include the forecasts that match the statement, specifyIS
. To exclude matching forecasts, specifyIS_NOT
. -
Key
- The name of the parameter to filter on. Valid values areDatasetGroupArn
,PredictorArn
, andStatus
. -
Value
- The value to match.
For example, to list all forecasts whose status is not ACTIVE, you would specify:
"Filters": [ { "Condition": "IS_NOT", "Key": "Status", "Value": "ACTIVE" } ]
max_results: Option<i64>
The number of items to return in the response.
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.
Trait Implementations
sourceimpl Clone for ListForecastsRequest
impl Clone for ListForecastsRequest
sourcefn clone(&self) -> ListForecastsRequest
fn clone(&self) -> ListForecastsRequest
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 ListForecastsRequest
impl Debug for ListForecastsRequest
sourceimpl Default for ListForecastsRequest
impl Default for ListForecastsRequest
sourcefn default() -> ListForecastsRequest
fn default() -> ListForecastsRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ListForecastsRequest> for ListForecastsRequest
impl PartialEq<ListForecastsRequest> for ListForecastsRequest
sourcefn eq(&self, other: &ListForecastsRequest) -> bool
fn eq(&self, other: &ListForecastsRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListForecastsRequest) -> bool
fn ne(&self, other: &ListForecastsRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for ListForecastsRequest
impl Serialize for ListForecastsRequest
impl StructuralPartialEq for ListForecastsRequest
Auto Trait Implementations
impl RefUnwindSafe for ListForecastsRequest
impl Send for ListForecastsRequest
impl Sync for ListForecastsRequest
impl Unpin for ListForecastsRequest
impl UnwindSafe for ListForecastsRequest
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