Struct aws_sdk_forecast::operation::describe_what_if_forecast_export::DescribeWhatIfForecastExportOutput
source · #[non_exhaustive]pub struct DescribeWhatIfForecastExportOutput {
pub what_if_forecast_export_arn: Option<String>,
pub what_if_forecast_export_name: Option<String>,
pub what_if_forecast_arns: Option<Vec<String>>,
pub destination: Option<DataDestination>,
pub message: Option<String>,
pub status: Option<String>,
pub creation_time: Option<DateTime>,
pub estimated_time_remaining_in_minutes: Option<i64>,
pub last_modification_time: Option<DateTime>,
pub format: Option<String>,
/* 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_forecast_export_arn: Option<String>
The Amazon Resource Name (ARN) of the what-if forecast export.
what_if_forecast_export_name: Option<String>
The name of the what-if forecast export.
what_if_forecast_arns: Option<Vec<String>>
An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.
destination: Option<DataDestination>
The destination for an export job. Provide an S3 path, an Identity and Access Management (IAM) role that allows Amazon Forecast to access the location, and an Key Management Service (KMS) key (optional).
message: Option<String>
If an error occurred, an informational message about the error.
status: Option<String>
The status of the what-if forecast. 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 forecast export must be ACTIVE
before you can access the forecast export.
creation_time: Option<DateTime>
When the what-if forecast export was created.
estimated_time_remaining_in_minutes: Option<i64>
The approximate time remaining to complete the what-if forecast export, in minutes.
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.
format: Option<String>
The format of the exported data, CSV or PARQUET.
Implementations§
source§impl DescribeWhatIfForecastExportOutput
impl DescribeWhatIfForecastExportOutput
sourcepub fn what_if_forecast_export_arn(&self) -> Option<&str>
pub fn what_if_forecast_export_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the what-if forecast export.
sourcepub fn what_if_forecast_export_name(&self) -> Option<&str>
pub fn what_if_forecast_export_name(&self) -> Option<&str>
The name of the what-if forecast export.
sourcepub fn what_if_forecast_arns(&self) -> &[String]
pub fn what_if_forecast_arns(&self) -> &[String]
An array of Amazon Resource Names (ARNs) that represent all of the what-if forecasts exported in this resource.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .what_if_forecast_arns.is_none()
.
sourcepub fn destination(&self) -> Option<&DataDestination>
pub fn destination(&self) -> Option<&DataDestination>
The destination for an export job. Provide an S3 path, an Identity and Access Management (IAM) role that allows Amazon Forecast to access the location, and an Key Management Service (KMS) key (optional).
sourcepub fn message(&self) -> Option<&str>
pub fn message(&self) -> Option<&str>
If an error occurred, an informational message about the error.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The status of the what-if forecast. 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 forecast export must be ACTIVE
before you can access the forecast export.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
When the what-if forecast export was created.
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 forecast export, in minutes.
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.
source§impl DescribeWhatIfForecastExportOutput
impl DescribeWhatIfForecastExportOutput
sourcepub fn builder() -> DescribeWhatIfForecastExportOutputBuilder
pub fn builder() -> DescribeWhatIfForecastExportOutputBuilder
Creates a new builder-style object to manufacture DescribeWhatIfForecastExportOutput
.
Trait Implementations§
source§impl Clone for DescribeWhatIfForecastExportOutput
impl Clone for DescribeWhatIfForecastExportOutput
source§fn clone(&self) -> DescribeWhatIfForecastExportOutput
fn clone(&self) -> DescribeWhatIfForecastExportOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeWhatIfForecastExportOutput
impl PartialEq for DescribeWhatIfForecastExportOutput
source§fn eq(&self, other: &DescribeWhatIfForecastExportOutput) -> bool
fn eq(&self, other: &DescribeWhatIfForecastExportOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeWhatIfForecastExportOutput
impl RequestId for DescribeWhatIfForecastExportOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeWhatIfForecastExportOutput
Auto Trait Implementations§
impl Freeze for DescribeWhatIfForecastExportOutput
impl RefUnwindSafe for DescribeWhatIfForecastExportOutput
impl Send for DescribeWhatIfForecastExportOutput
impl Sync for DescribeWhatIfForecastExportOutput
impl Unpin for DescribeWhatIfForecastExportOutput
impl UnwindSafe for DescribeWhatIfForecastExportOutput
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