Skip to content

Commit 7305996

Browse files
committed
replace deprecated APIs in AthenaQueryPolicy
1 parent b0231f5 commit 7305996

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

samtranslator/policy_templates_data/policy_templates.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,23 @@
122122
{
123123
"Action": [
124124
"athena:ListWorkGroups",
125-
"athena:GetExecutionEngine",
125+
"athena:GetWorkGroup",
126126
"athena:GetExecutionEngines",
127-
"athena:GetNamespace",
128-
"athena:GetCatalogs",
129-
"athena:GetNamespaces",
130-
"athena:GetTables",
131-
"athena:GetTable"
127+
"athena:GetDatabase",
128+
"athena:ListDataCatalogs",
129+
"athena:ListDatabases",
130+
"athena:ListTableMetadata",
131+
"athena:GetTableMetadata"
132+
],
133+
"Effect": "Allow",
134+
"Resource": "*"
135+
},
136+
{
137+
"Action": [
138+
"glue:GetDatabases",
139+
"glue:GetDatabase",
140+
"glue:GetTables",
141+
"glue:GetTable"
132142
],
133143
"Effect": "Allow",
134144
"Resource": "*"

0 commit comments

Comments
 (0)