You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-athena/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)


599
600
601
602
603
604
605
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 599

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

#stateString

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.

Returns:

  • (String)


599
600
601
602
603
604
605
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 599

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)


599
600
601
602
603
604
605
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 599

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)


599
600
601
602
603
604
605
# File 'gems/aws-sdk-athena/lib/aws-sdk-athena/types.rb', line 599

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