Skip to main content

executors

Creates, updates, deletes, gets or lists an executors resource.

Overview

Nameexecutors
TypeResource
Idaws.athena.executors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
executors_summaryarrayContains summary information about the executor.
next_tokenstringA 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.
session_idstringThe session ID.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_executorsselectregionLists, in descending order, the executors that joined a session. Newer executors are listed first; older executors are listed later. The result can be optionally filtered by state.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Lists, in descending order, the executors that joined a session. Newer executors are listed first; older executors are listed later. The result can be optionally filtered by state.

SELECT
executors_summary,
next_token,
session_id
FROM aws.athena.executors
WHERE region = '{{ region }}' -- required
;