#[non_exhaustive]pub struct ListWhatIfAnalysesInput {
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub filters: Option<Vec<Filter>>,
}
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.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.
max_results: Option<i32>
The number of items to return in the response.
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 what-if analysis jobs 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 what-if analysis jobs that match the statement, specifyIS
. To exclude matching what-if analysis jobs, specifyIS_NOT
. -
Key
- The name of the parameter to filter on. Valid values areWhatIfAnalysisArn
andStatus
. -
Value
- The value to match.
For example, to list all jobs that export a forecast named electricityWhatIf, specify the following filter:
"Filters": [ { "Condition": "IS", "Key": "WhatIfAnalysisArn", "Value": "arn:aws:forecast:us-west-2:
Implementations§
source§impl ListWhatIfAnalysesInput
impl ListWhatIfAnalysesInput
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.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The number of items to return in the response.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[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 what-if analysis jobs 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 what-if analysis jobs that match the statement, specifyIS
. To exclude matching what-if analysis jobs, specifyIS_NOT
. -
Key
- The name of the parameter to filter on. Valid values areWhatIfAnalysisArn
andStatus
. -
Value
- The value to match.
For example, to list all jobs that export a forecast named electricityWhatIf, specify the following filter:
"Filters": [ { "Condition": "IS", "Key": "WhatIfAnalysisArn", "Value": "arn:aws:forecast:us-west-2:
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
source§impl ListWhatIfAnalysesInput
impl ListWhatIfAnalysesInput
sourcepub fn builder() -> ListWhatIfAnalysesInputBuilder
pub fn builder() -> ListWhatIfAnalysesInputBuilder
Creates a new builder-style object to manufacture ListWhatIfAnalysesInput
.
Trait Implementations§
source§impl Clone for ListWhatIfAnalysesInput
impl Clone for ListWhatIfAnalysesInput
source§fn clone(&self) -> ListWhatIfAnalysesInput
fn clone(&self) -> ListWhatIfAnalysesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListWhatIfAnalysesInput
impl Debug for ListWhatIfAnalysesInput
source§impl PartialEq for ListWhatIfAnalysesInput
impl PartialEq for ListWhatIfAnalysesInput
source§fn eq(&self, other: &ListWhatIfAnalysesInput) -> bool
fn eq(&self, other: &ListWhatIfAnalysesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListWhatIfAnalysesInput
Auto Trait Implementations§
impl Freeze for ListWhatIfAnalysesInput
impl RefUnwindSafe for ListWhatIfAnalysesInput
impl Send for ListWhatIfAnalysesInput
impl Sync for ListWhatIfAnalysesInput
impl Unpin for ListWhatIfAnalysesInput
impl UnwindSafe for ListWhatIfAnalysesInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more