QueryExecutionStatus
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
Contents
- CompletionDateTime
-
The date and time that the query completed.
Type: Timestamp
Required: No
- State
-
The state of query execution.
QUEUED
state is listed but is not used by Athena and is reserved for future use.RUNNING
indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available.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.Type: String
Valid Values:
QUEUED | RUNNING | SUCCEEDED | FAILED | CANCELLED
Required: No
- StateChangeReason
-
Further detail about the status of the query.
Type: String
Required: No
- SubmissionDateTime
-
The date and time that the query was submitted.
Type: Timestamp
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: