Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data QueryExecutionStatus = QueryExecutionStatus' {}
- newQueryExecutionStatus :: QueryExecutionStatus
- queryExecutionStatus_state :: Lens' QueryExecutionStatus (Maybe QueryExecutionState)
- queryExecutionStatus_stateChangeReason :: Lens' QueryExecutionStatus (Maybe Text)
- queryExecutionStatus_submissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
- queryExecutionStatus_completionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime)
Documentation
data QueryExecutionStatus Source #
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
See: newQueryExecutionStatus
smart constructor.
QueryExecutionStatus' | |
|
Instances
newQueryExecutionStatus :: QueryExecutionStatus Source #
Create a value of QueryExecutionStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:state:QueryExecutionStatus'
, queryExecutionStatus_state
- 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
.
$sel:stateChangeReason:QueryExecutionStatus'
, queryExecutionStatus_stateChangeReason
- Further detail about the status of the query.
$sel:submissionDateTime:QueryExecutionStatus'
, queryExecutionStatus_submissionDateTime
- The date and time that the query was submitted.
$sel:completionDateTime:QueryExecutionStatus'
, queryExecutionStatus_completionDateTime
- The date and time that the query completed.
queryExecutionStatus_state :: Lens' QueryExecutionStatus (Maybe QueryExecutionState) Source #
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
.
queryExecutionStatus_stateChangeReason :: Lens' QueryExecutionStatus (Maybe Text) Source #
Further detail about the status of the query.
queryExecutionStatus_submissionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime) Source #
The date and time that the query was submitted.
queryExecutionStatus_completionDateTime :: Lens' QueryExecutionStatus (Maybe UTCTime) Source #
The date and time that the query completed.