#[non_exhaustive]pub struct DescribeWhatIfAnalysisOutput {
pub what_if_analysis_name: Option<String>,
pub what_if_analysis_arn: Option<String>,
pub forecast_arn: Option<String>,
pub estimated_time_remaining_in_minutes: Option<i64>,
pub status: Option<String>,
pub message: Option<String>,
pub creation_time: Option<DateTime>,
pub last_modification_time: Option<DateTime>,
pub time_series_selector: Option<TimeSeriesSelector>,
/* private fields */
}
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.what_if_analysis_name: Option<String>
The name of the what-if analysis.
what_if_analysis_arn: Option<String>
The Amazon Resource Name (ARN) of the what-if analysis.
forecast_arn: Option<String>
The Amazon Resource Name (ARN) of the what-if forecast.
estimated_time_remaining_in_minutes: Option<i64>
The approximate time remaining to complete the what-if analysis, in minutes.
status: Option<String>
The status of the what-if analysis. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
The Status
of the what-if analysis must be ACTIVE
before you can access the analysis.
message: Option<String>
If an error occurred, an informational message about the error.
creation_time: Option<DateTime>
When the what-if analysis was created.
last_modification_time: Option<DateTime>
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
time_series_selector: Option<TimeSeriesSelector>
Defines the set of time series that are used to create the forecasts in a TimeSeriesIdentifiers
object.
The TimeSeriesIdentifiers
object needs the following information:
-
DataSource
-
Format
-
Schema
Implementations§
source§impl DescribeWhatIfAnalysisOutput
impl DescribeWhatIfAnalysisOutput
sourcepub fn what_if_analysis_name(&self) -> Option<&str>
pub fn what_if_analysis_name(&self) -> Option<&str>
The name of the what-if analysis.
sourcepub fn what_if_analysis_arn(&self) -> Option<&str>
pub fn what_if_analysis_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the what-if analysis.
sourcepub fn forecast_arn(&self) -> Option<&str>
pub fn forecast_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the what-if forecast.
sourcepub fn estimated_time_remaining_in_minutes(&self) -> Option<i64>
pub fn estimated_time_remaining_in_minutes(&self) -> Option<i64>
The approximate time remaining to complete the what-if analysis, in minutes.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the what-if analysis. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
The Status
of the what-if analysis must be ACTIVE
before you can access the analysis.
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
If an error occurred, an informational message about the error.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
When the what-if analysis was created.
sourcepub fn last_modification_time(&self) -> Option<&DateTime>
pub fn last_modification_time(&self) -> Option<&DateTime>
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
sourcepub fn time_series_selector(&self) -> Option<&TimeSeriesSelector>
pub fn time_series_selector(&self) -> Option<&TimeSeriesSelector>
Defines the set of time series that are used to create the forecasts in a TimeSeriesIdentifiers
object.
The TimeSeriesIdentifiers
object needs the following information:
-
DataSource
-
Format
-
Schema
source§impl DescribeWhatIfAnalysisOutput
impl DescribeWhatIfAnalysisOutput
sourcepub fn builder() -> DescribeWhatIfAnalysisOutputBuilder
pub fn builder() -> DescribeWhatIfAnalysisOutputBuilder
Creates a new builder-style object to manufacture DescribeWhatIfAnalysisOutput
.
Trait Implementations§
source§impl Clone for DescribeWhatIfAnalysisOutput
impl Clone for DescribeWhatIfAnalysisOutput
source§fn clone(&self) -> DescribeWhatIfAnalysisOutput
fn clone(&self) -> DescribeWhatIfAnalysisOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeWhatIfAnalysisOutput
impl Debug for DescribeWhatIfAnalysisOutput
source§impl PartialEq for DescribeWhatIfAnalysisOutput
impl PartialEq for DescribeWhatIfAnalysisOutput
source§fn eq(&self, other: &DescribeWhatIfAnalysisOutput) -> bool
fn eq(&self, other: &DescribeWhatIfAnalysisOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeWhatIfAnalysisOutput
impl RequestId for DescribeWhatIfAnalysisOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeWhatIfAnalysisOutput
Auto Trait Implementations§
impl Freeze for DescribeWhatIfAnalysisOutput
impl RefUnwindSafe for DescribeWhatIfAnalysisOutput
impl Send for DescribeWhatIfAnalysisOutput
impl Sync for DescribeWhatIfAnalysisOutput
impl Unpin for DescribeWhatIfAnalysisOutput
impl UnwindSafe for DescribeWhatIfAnalysisOutput
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