Class: Aws::Athena::Types::QueryExecutionStatus

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-athena/types.rb

Overview

The completion date, current state, submission time, and state change reason (if applicable) for the query execution.

Instance Attribute Summary collapse

Instance Attribute Details

#completion_date_timeTime

The date and time that the query completed.

Returns:

  • (Time)


868
869
870
871
872
873
874
# File 'lib/aws-sdk-athena/types.rb', line 868

class QueryExecutionStatus < Struct.new(
  :state,
  :state_change_reason,
  :submission_date_time,
  :completion_date_time)
  include Aws::Structure
end

#stateString

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.

Returns:

  • (String)


868
869
870
871
872
873
874
# File 'lib/aws-sdk-athena/types.rb', line 868

class QueryExecutionStatus < Struct.new(
  :state,
  :state_change_reason,
  :submission_date_time,
  :completion_date_time)
  include Aws::Structure
end

#state_change_reasonString

Further detail about the status of the query.

Returns:

  • (String)


868
869
870
871
872
873
874
# File 'lib/aws-sdk-athena/types.rb', line 868

class QueryExecutionStatus < Struct.new(
  :state,
  :state_change_reason,
  :submission_date_time,
  :completion_date_time)
  include Aws::Structure
end

#submission_date_timeTime

The date and time that the query was submitted.

Returns:

  • (Time)


868
869
870
871
872
873
874
# File 'lib/aws-sdk-athena/types.rb', line 868

class QueryExecutionStatus < Struct.new(
  :state,
  :state_change_reason,
  :submission_date_time,
  :completion_date_time)
  include Aws::Structure
end