Amazon Athena queries data in Amazon S3 with SQL. Start a query, check its execution status, then retrieve the results; cancel a query when needed. Run parameterized queries with execution parameters and prepared statements, reuse recent results, and read runtime statistics after a query completes. The integration also manages named queries, browses data catalogs, databases, and table schemas, and inspects workgroup configuration. Connect with an AWS access key and secret access key.
Use the block
Execute SQL queries against data in S3, check query status and runtime statistics, retrieve results, manage named queries and prepared statements, and inspect data catalogs, databases, tables, and workgroups. Requires AWS access key and secret access key.
Actions
Athena Start Query
Start an SQL query execution in AWS Athena
Athena Get Query Execution
Get the status and details of an Athena query execution
Athena Get Query Results
Retrieve the results of a completed Athena query execution
Athena Stop Query
Stop a running Athena query execution
Athena List Query Executions
List recent Athena query execution IDs
Athena Batch Get Query Executions
Get the status and details of up to 50 Athena query executions in one call
Athena Create Named Query
Create a saved/named query in AWS Athena
Athena Get Named Query
Get details of a saved/named query in AWS Athena
Athena List Named Queries
List saved/named query IDs in AWS Athena
Athena Delete Named Query
Delete a saved/named query in AWS Athena
Athena List Databases
List the databases available in an Athena data catalog
Athena List Table Metadata
List tables and their column/partition metadata for an Athena database
Athena Get Query Runtime Statistics
Get runtime statistics (timeline, row counts, and output stage) for a completed Athena query execution
Athena Batch Get Named Queries
Get the details of up to 50 Athena named queries by ID in a single call
Athena Update Named Query
Update the name, description, or SQL of an existing Athena named query (database and workgroup cannot change)
Athena Create Prepared Statement
Create a parameterized prepared statement in an Athena workgroup for use with EXECUTE or execution parameters
Athena Get Prepared Statement
Get the SQL and metadata of a prepared statement in an Athena workgroup
Athena Batch Get Prepared Statements
Get the details of up to 256 prepared statements in an Athena workgroup by name in a single call
Athena Update Prepared Statement
Replace the SQL and description of an existing prepared statement in an Athena workgroup
Athena List Prepared Statements
List the prepared statements saved in an Athena workgroup
Athena Delete Prepared Statement
Delete a prepared statement from an Athena workgroup
Athena List Data Catalogs
List the data catalogs (data sources) registered in the AWS account
Athena Get Data Catalog
Get the type, status, and connection parameters of an Athena data catalog
Athena Get Database
Get a single database (name, description, and parameters) from an Athena data catalog
Athena Get Table Metadata
Get the columns, partition keys, and properties of a single table in an Athena data catalog database
Athena List Workgroups
List the Athena workgroups available in the AWS account
Athena Get Workgroup
Get the configuration of an Athena workgroup, including its result location, encryption, and limits