Struct aws_sdk_athena::model::CalculationStatus
source · #[non_exhaustive]pub struct CalculationStatus { /* private fields */ }
Expand description
Contains information about the status of a notebook calculation.
Implementations§
source§impl CalculationStatus
impl CalculationStatus
sourcepub fn submission_date_time(&self) -> Option<&DateTime>
pub fn submission_date_time(&self) -> Option<&DateTime>
The date and time the calculation was submitted for processing.
sourcepub fn completion_date_time(&self) -> Option<&DateTime>
pub fn completion_date_time(&self) -> Option<&DateTime>
The date and time the calculation completed processing.
sourcepub fn state(&self) -> Option<&CalculationExecutionState>
pub fn state(&self) -> Option<&CalculationExecutionState>
The state of the calculation execution. A description of each state follows.
CREATING
- The calculation is in the process of being created.
CREATED
- The calculation has been created and is ready to run.
QUEUED
- The calculation has been queued for processing.
RUNNING
- The calculation is running.
CANCELING
- A request to cancel the calculation has been received and the system is working to stop it.
CANCELED
- The calculation is no longer running as the result of a cancel request.
COMPLETED
- The calculation has completed without error.
FAILED
- The calculation failed and is no longer running.
sourcepub fn state_change_reason(&self) -> Option<&str>
pub fn state_change_reason(&self) -> Option<&str>
The reason for the calculation state change (for example, the calculation was canceled because the session was terminated).
source§impl CalculationStatus
impl CalculationStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CalculationStatus
.
Trait Implementations§
source§impl Clone for CalculationStatus
impl Clone for CalculationStatus
source§fn clone(&self) -> CalculationStatus
fn clone(&self) -> CalculationStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CalculationStatus
impl Debug for CalculationStatus
source§impl PartialEq<CalculationStatus> for CalculationStatus
impl PartialEq<CalculationStatus> for CalculationStatus
source§fn eq(&self, other: &CalculationStatus) -> bool
fn eq(&self, other: &CalculationStatus) -> bool
self
and other
values to be equal, and is used
by ==
.