diff --git a/tests/translator/output/all_policy_templates.json b/tests/translator/output/all_policy_templates.json index f648baeb58..7ec44c72df 100644 --- a/tests/translator/output/all_policy_templates.json +++ b/tests/translator/output/all_policy_templates.json @@ -1445,11 +1445,33 @@ "Statement": [ { "Action": [ - "athena:GetWorkGroup", - "athena:GetQueryExecution", + "athena:ListWorkGroups", + "athena:GetExecutionEngine", + "athena:GetExecutionEngines", + "athena:GetNamespace", + "athena:GetCatalogs", + "athena:GetNamespaces", + "athena:GetTables", + "athena:GetTable" + ], + "Resource": "*", + "Effect": "Allow" + }, + { + "Action": [ "athena:StartQueryExecution", + "athena:GetQueryResults", + "athena:DeleteNamedQuery", + "athena:GetNamedQuery", + "athena:ListQueryExecutions", "athena:StopQueryExecution", - "athena:GetQueryResults" + "athena:GetQueryResultsStream", + "athena:ListNamedQueries", + "athena:CreateNamedQuery", + "athena:GetQueryExecution", + "athena:BatchGetNamedQuery", + "athena:BatchGetQueryExecution", + "athena:GetWorkGroup" ], "Resource": { "Fn::Sub": [ @@ -1474,4 +1496,4 @@ } } } -} \ No newline at end of file +} diff --git a/tests/translator/output/aws-cn/all_policy_templates.json b/tests/translator/output/aws-cn/all_policy_templates.json index 76ff5dab8f..07e1b6785c 100644 --- a/tests/translator/output/aws-cn/all_policy_templates.json +++ b/tests/translator/output/aws-cn/all_policy_templates.json @@ -1445,11 +1445,33 @@ "Statement": [ { "Action": [ - "athena:GetWorkGroup", - "athena:GetQueryExecution", + "athena:ListWorkGroups", + "athena:GetExecutionEngine", + "athena:GetExecutionEngines", + "athena:GetNamespace", + "athena:GetCatalogs", + "athena:GetNamespaces", + "athena:GetTables", + "athena:GetTable" + ], + "Resource": "*", + "Effect": "Allow" + }, + { + "Action": [ "athena:StartQueryExecution", + "athena:GetQueryResults", + "athena:DeleteNamedQuery", + "athena:GetNamedQuery", + "athena:ListQueryExecutions", "athena:StopQueryExecution", - "athena:GetQueryResults" + "athena:GetQueryResultsStream", + "athena:ListNamedQueries", + "athena:CreateNamedQuery", + "athena:GetQueryExecution", + "athena:BatchGetNamedQuery", + "athena:BatchGetQueryExecution", + "athena:GetWorkGroup" ], "Resource": { "Fn::Sub": [ @@ -1474,4 +1496,4 @@ } } } -} \ No newline at end of file +} diff --git a/tests/translator/output/aws-us-gov/all_policy_templates.json b/tests/translator/output/aws-us-gov/all_policy_templates.json index 5b30497a41..105c4a3732 100644 --- a/tests/translator/output/aws-us-gov/all_policy_templates.json +++ b/tests/translator/output/aws-us-gov/all_policy_templates.json @@ -1445,11 +1445,33 @@ "Statement": [ { "Action": [ - "athena:GetWorkGroup", - "athena:GetQueryExecution", + "athena:ListWorkGroups", + "athena:GetExecutionEngine", + "athena:GetExecutionEngines", + "athena:GetNamespace", + "athena:GetCatalogs", + "athena:GetNamespaces", + "athena:GetTables", + "athena:GetTable" + ], + "Resource": "*", + "Effect": "Allow" + }, + { + "Action": [ "athena:StartQueryExecution", + "athena:GetQueryResults", + "athena:DeleteNamedQuery", + "athena:GetNamedQuery", + "athena:ListQueryExecutions", "athena:StopQueryExecution", - "athena:GetQueryResults" + "athena:GetQueryResultsStream", + "athena:ListNamedQueries", + "athena:CreateNamedQuery", + "athena:GetQueryExecution", + "athena:BatchGetNamedQuery", + "athena:BatchGetQueryExecution", + "athena:GetWorkGroup" ], "Resource": { "Fn::Sub": [ @@ -1474,4 +1496,4 @@ } } } -} \ No newline at end of file +}