Struct aws_sdk_athena::model::QueryExecutionStatus
source · #[non_exhaustive]pub struct QueryExecutionStatus { /* private fields */ }
Expand description
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
Implementations§
source§impl QueryExecutionStatus
impl QueryExecutionStatus
sourcepub fn state(&self) -> Option<&QueryExecutionState>
pub fn state(&self) -> Option<&QueryExecutionState>
The state of query execution. QUEUED
indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available. RUNNING
indicates that the query is in execution phase. SUCCEEDED
indicates that the query completed without errors. FAILED
indicates that the query experienced an error and did not complete processing. CANCELLED
indicates that a user input interrupted query execution.
Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from RUNNING
or FAILED
to QUEUED
.
sourcepub fn state_change_reason(&self) -> Option<&str>
pub fn state_change_reason(&self) -> Option<&str>
Further detail about the status of the query.
sourcepub fn submission_date_time(&self) -> Option<&DateTime>
pub fn submission_date_time(&self) -> Option<&DateTime>
The date and time that the query was submitted.
sourcepub fn completion_date_time(&self) -> Option<&DateTime>
pub fn completion_date_time(&self) -> Option<&DateTime>
The date and time that the query completed.
sourcepub fn athena_error(&self) -> Option<&AthenaError>
pub fn athena_error(&self) -> Option<&AthenaError>
Provides information about an Athena query error.
source§impl QueryExecutionStatus
impl QueryExecutionStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture QueryExecutionStatus
.
Trait Implementations§
source§impl Clone for QueryExecutionStatus
impl Clone for QueryExecutionStatus
source§fn clone(&self) -> QueryExecutionStatus
fn clone(&self) -> QueryExecutionStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryExecutionStatus
impl Debug for QueryExecutionStatus
source§impl PartialEq<QueryExecutionStatus> for QueryExecutionStatus
impl PartialEq<QueryExecutionStatus> for QueryExecutionStatus
source§fn eq(&self, other: &QueryExecutionStatus) -> bool
fn eq(&self, other: &QueryExecutionStatus) -> bool
self
and other
values to be equal, and is used
by ==
.