Connectors

Databases & Data Warehouses

AWS Athena

Serverless SQL on data in S3: run queries, read results, and manage workgroups and catalogs
Signs in with
AWS access keys
Runs on
Cloud or On-Prem Worker
Operations
70
Ready-made triggers
0

Connect AWS Athena

  1. In Neblex open Connect › Connections and click New Connection.
  2. Search for AWS Athena and give the connection a clear name.
  3. Fill in the fields. Secret values are encrypted and never shown again.
  4. Click Test, then Create Connection.
FieldWhat to enter
Access key IDRequiredSecretThe access key ID of an IAM user or role session.
Secret access keyRequiredSecretThe secret access key that belongs to the access key ID.
Session tokenOptionalSecretOnly for temporary credentials (an assumed role or federated session).
RegionRequiredThe AWS Region of the Athena workgroups and data catalogs, for example us-east-1.Example: us-east-1

Use it in a flow

  1. Open a flow, open the node library and search for AWS Athena.
  2. Drag it onto the canvas and choose an Operation and your connection.
  3. Map the operation's fields from earlier steps, or click Map with Matt.
  4. Use Test this step to see what it returns, then save.

To start a flow from AWS Athena without a ready-made trigger: a Poll for changes trigger can check one of its list operations on a schedule and pass on only what is new; if AWS Athena can send webhooks, a Webhook trigger receives them at its own URL.

Operations

70 operations in 10 groups. Each one is a step you can add to a flow.

Capacity reservations8
Cancel capacity reservationcancelCapacityReservationPOSTCancels the capacity reservation with the specified name.
Create capacity reservationcreateCapacityReservationPOSTCreates a capacity reservation with the specified name and number of requested data processing units.
Delete capacity reservationdeleteCapacityReservationPOSTDeletes a cancelled capacity reservation.
Get capacity assignment configurationgetCapacityAssignmentConfigurationPOSTGets the capacity assignment configuration for a capacity reservation, if one exists.
Get capacity reservationgetCapacityReservationPOSTReturns information about the capacity reservation with the specified name.
List capacity reservationslistCapacityReservationsPOSTLists the capacity reservations for the current account.
Put capacity assignment configurationputCapacityAssignmentConfigurationPOSTPuts a new capacity assignment configuration for a specified capacity reservation.
Update capacity reservationupdateCapacityReservationPOSTUpdates the number of requested data processing units for the capacity reservation with the specified name.
Data catalogs9
Create data catalogcreateDataCatalogPOSTCreates (registers) a data catalog with the specified name and properties.
Delete data catalogdeleteDataCatalogPOSTDeletes a data catalog.
Get data cataloggetDataCatalogPOSTReturns the specified data catalog.
Get databasegetDatabasePOSTReturns a database object for the specified database and data catalog.
Get table metadatagetTableMetadataPOSTReturns table metadata for the specified catalog, database, and table.
List data catalogslistDataCatalogsPOSTLists the data catalogs in the current Amazon Web Services account.
List databaseslistDatabasesPOSTLists the databases in the specified data catalog.
List table metadatalistTableMetadataPOSTLists the metadata for the tables in the specified data catalog database.
Update data catalogupdateDataCatalogPOSTUpdates the data catalog that has the specified name.
Notebooks9
Create notebookcreateNotebookPOSTCreates an empty ipynb file in the specified Apache Spark enabled workgroup.
Create presigned notebook urlcreatePresignedNotebookUrlPOSTGets an authentication token and the URL at which the notebook can be accessed.
Delete notebookdeleteNotebookPOSTDeletes the specified notebook.
Export notebookexportNotebookPOSTExports the specified notebook and its metadata.
Get notebook metadatagetNotebookMetadataPOSTRetrieves notebook metadata for the specified notebook ID.
Import notebookimportNotebookPOSTImports a single ipynb file to a Spark enabled workgroup.
List notebook metadatalistNotebookMetadataPOSTDisplays the notebook files for the specified workgroup in paginated format.
Update notebookupdateNotebookPOSTUpdates the contents of a Spark notebook.
Update notebook metadataupdateNotebookMetadataPOSTUpdates the metadata for a notebook.
Prepared statements6
Batch get prepared statementbatchGetPreparedStatementPOSTReturns the details of a single prepared statement or a list of up to 256 prepared statements for the array of prepared statement names that you provide.
Create prepared statementcreatePreparedStatementPOSTCreates a prepared statement for use with SQL queries in Athena.
Delete prepared statementdeletePreparedStatementPOSTDeletes the prepared statement with the specified name from the specified workgroup.
Get prepared statementgetPreparedStatementPOSTRetrieves the prepared statement with the specified name from the specified workgroup.
List prepared statementslistPreparedStatementsPOSTLists the prepared statements in the specified workgroup.
Update prepared statementupdatePreparedStatementPOSTUpdates a prepared statement.
Query executions7
Batch get query executionbatchGetQueryExecutionPOSTReturns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings.
Get query executiongetQueryExecutionPOSTReturns information about a single execution of a query if you have access to the workgroup in which the query ran.
Get query resultsgetQueryResultsPOSTStreams the results of a single query execution specified by QueryExecutionId from the Athena query results location in Amazon S3.
Get query runtime statisticsgetQueryRuntimeStatisticsPOSTReturns query execution runtime statistics related to a single execution of a query if you have access to the workgroup in which the query ran.
List query executionslistQueryExecutionsPOSTProvides a list of available query execution IDs for the queries in the specified workgroup.
Start query executionstartQueryExecutionPOSTRuns the SQL query statements contained in the Query .
Stop query executionstopQueryExecutionPOSTStops a query execution.
Saved queries6
Batch get named querybatchGetNamedQueryPOSTReturns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings.
Create named querycreateNamedQueryPOSTCreates a named query in the specified workgroup.
Delete named querydeleteNamedQueryPOSTDeletes the named query if you have access to the workgroup in which the query was saved.
Get named querygetNamedQueryPOSTReturns information about a single query.
List named querieslistNamedQueriesPOSTProvides a list of available query IDs only for queries saved in the specified workgroup.
Update named queryupdateNamedQueryPOSTUpdates a NamedQuery object.
Spark calculations6
Get calculation executiongetCalculationExecutionPOSTDescribes a previously submitted calculation execution.
Get calculation execution codegetCalculationExecutionCodePOSTRetrieves the unencrypted code that was executed for the calculation.
Get calculation execution statusgetCalculationExecutionStatusPOSTGets the status of a current calculation.
List calculation executionslistCalculationExecutionsPOSTLists the calculations that have been submitted to a session in descending order.
Start calculation executionstartCalculationExecutionPOSTSubmits calculations for execution within a session.
Stop calculation executionstopCalculationExecutionPOSTRequests the cancellation of a calculation.
Spark sessions9
Get sessiongetSessionPOSTGets the full details of a previously created session, including the session status and configuration.
Get session endpointgetSessionEndpointPOSTGets a connection endpoint and authentication token for a given session Id.
Get session statusgetSessionStatusPOSTGets the current status of a session.
List application DPU sizeslistApplicationDPUSizesPOSTReturns the supported DPU sizes for the supported application runtimes (for example, Athena notebook version 1 ).
List executorslistExecutorsPOSTLists, in descending order, the executors that joined a session.
List notebook sessionslistNotebookSessionsPOSTLists, in descending order, the sessions that have been created in a notebook that are in an active state like CREATING , CREATED , IDLE or BUSY .
List sessionslistSessionsPOSTLists the sessions in a workgroup that are in an active state like CREATING , CREATED , IDLE , or BUSY .
Start sessionstartSessionPOSTCreates a session for running calculations within a workgroup.
Terminate sessionterminateSessionPOSTTerminates an active session.
Tags3
List tags for resourcelistTagsForResourcePOSTLists the tags associated with an Athena resource.
Tag resourcetagResourcePOSTAdds one or more tags to an Athena resource.
Untag resourceuntagResourcePOSTRemoves one or more tags from an Athena resource.
Workgroups7
Create work groupcreateWorkGroupPOSTCreates a workgroup with the specified name.
Delete work groupdeleteWorkGroupPOSTDeletes the workgroup with the specified name.
Get resource dashboardgetResourceDashboardPOSTGets the Live UI/Persistence UI for a session.
Get work groupgetWorkGroupPOSTReturns information about the workgroup with the specified name.
List engine versionslistEngineVersionsPOSTReturns a list of engine versions that are available to choose from, including the Auto option.
List work groupslistWorkGroupsPOSTLists available workgroups for the account.
Update work groupupdateWorkGroupPOSTUpdates the workgroup with the specified name.