Skip to content

Update deprecated Athena APIs in AthenaQueryPolicy template #3785

Open
@Smoothex

Description

@Smoothex

Hello,
it seems like some Athena APIs will be deprecated starting 01.11.2025:

On October 31, 2025, Athena will remove the deprecated APIs from operation, causing any application code using the deprecated APIs to return an error. The deprecated APIs are only accessed through older Athena data catalog resources, which have been replaced by AWS Glue Data Catalog, and older versions of Athena drivers (prior to JDBC-3.x [1] and ODBC-2.x [2]) and AWS SDKs (prior to aws-sdk-java-2.x [3]).
[...]
The following lists the deprecated APIs and replacement APIs that provide equivalent functionality (include both athena and glue permissions in your IAM policy).
athena:GetCatalogImportStatus | glue:GetCatalogImportStatus
athena:GetNamespaces | athena:ListDatabases and glue:GetDatabases
athena:GetTables | athena:ListTableMetadata and glue:GetTables
athena:GetCatalogs | athena:ListDataCatalogs
athena:GetNamespace | athena:GetDatabase and glue:GetDatabase
athena:GetTable | athena:GetTableMetadata and glue:GetTable
athena:RunQuery | athena:StartQueryExecution
athena:GetExecutionEngine | athena:GetWorkGroup

Therefore, the AthenaQueryPolicy SAM policy template in policy_templates.json will need to be updated.
It includes 6 out of 8 soon-to-be-deprecated APIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stage/needs-triageAutomatically applied to new issues and PRs, indicating they haven't been looked at.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions