Class: Aws::Athena::Types::SessionStatus

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

Overview

Contains information about the status of a session.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#end_date_timeTime

The date and time that the session ended.

Returns:

  • (Time)


3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
# File 'lib/aws-sdk-athena/types.rb', line 3925

class SessionStatus < Struct.new(
  :start_date_time,
  :last_modified_date_time,
  :end_date_time,
  :idle_since_date_time,
  :state,
  :state_change_reason)
  SENSITIVE = []
  include Aws::Structure
end

#idle_since_date_timeTime

The date and time starting at which the session became idle. Can be empty if the session is not currently idle.

Returns:

  • (Time)


3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
# File 'lib/aws-sdk-athena/types.rb', line 3925

class SessionStatus < Struct.new(
  :start_date_time,
  :last_modified_date_time,
  :end_date_time,
  :idle_since_date_time,
  :state,
  :state_change_reason)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_date_timeTime

The most recent date and time that the session was modified.

Returns:

  • (Time)


3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
# File 'lib/aws-sdk-athena/types.rb', line 3925

class SessionStatus < Struct.new(
  :start_date_time,
  :last_modified_date_time,
  :end_date_time,
  :idle_since_date_time,
  :state,
  :state_change_reason)
  SENSITIVE = []
  include Aws::Structure
end

#start_date_timeTime

The date and time that the session started.

Returns:

  • (Time)


3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
# File 'lib/aws-sdk-athena/types.rb', line 3925

class SessionStatus < Struct.new(
  :start_date_time,
  :last_modified_date_time,
  :end_date_time,
  :idle_since_date_time,
  :state,
  :state_change_reason)
  SENSITIVE = []
  include Aws::Structure
end

#stateString

The state of the session. A description of each state follows.

‘CREATING` - The session is being started, including acquiring resources.

‘CREATED` - The session has been started.

‘IDLE` - The session is able to accept a calculation.

‘BUSY` - The session is processing another task and is unable to accept a calculation.

‘TERMINATING` - The session is in the process of shutting down.

‘TERMINATED` - The session and its resources are no longer running.

‘DEGRADED` - The session has no healthy coordinators.

‘FAILED` - Due to a failure, the session and its resources are no longer running.

Returns:

  • (String)


3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
# File 'lib/aws-sdk-athena/types.rb', line 3925

class SessionStatus < Struct.new(
  :start_date_time,
  :last_modified_date_time,
  :end_date_time,
  :idle_since_date_time,
  :state,
  :state_change_reason)
  SENSITIVE = []
  include Aws::Structure
end

#state_change_reasonString

The reason for the session state change (for example, canceled because the session was terminated).

Returns:

  • (String)


3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
# File 'lib/aws-sdk-athena/types.rb', line 3925

class SessionStatus < Struct.new(
  :start_date_time,
  :last_modified_date_time,
  :end_date_time,
  :idle_since_date_time,
  :state,
  :state_change_reason)
  SENSITIVE = []
  include Aws::Structure
end