Class: Aws::Athena::Types::ListSessionsRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of sessions to return.

Returns:

  • (Integer)


2656
2657
2658
2659
2660
2661
2662
2663
# File 'lib/aws-sdk-athena/types.rb', line 2656

class ListSessionsRequest < Struct.new(
  :work_group,
  :state_filter,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the ‘NextToken` from the response object of the previous page call.

Returns:

  • (String)


2656
2657
2658
2659
2660
2661
2662
2663
# File 'lib/aws-sdk-athena/types.rb', line 2656

class ListSessionsRequest < Struct.new(
  :work_group,
  :state_filter,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#state_filterString

A filter for a specific session state. 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)


2656
2657
2658
2659
2660
2661
2662
2663
# File 'lib/aws-sdk-athena/types.rb', line 2656

class ListSessionsRequest < Struct.new(
  :work_group,
  :state_filter,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#work_groupString

The workgroup to which the session belongs.

Returns:

  • (String)


2656
2657
2658
2659
2660
2661
2662
2663
# File 'lib/aws-sdk-athena/types.rb', line 2656

class ListSessionsRequest < Struct.new(
  :work_group,
  :state_filter,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end