Menu
Amazon Athena
Amazon Athena Documentation (API Version 2017-05-18)

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. SUBMITTED indicates that the query is queued for execution. RUNNING indicates that the query is scanning data and returning results. SUCCEEDED indicates that the query completed without error. FAILED indicates that the query experienced an error and did not complete processing. CANCELLED indicates that 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:

On this page: