-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(stepfunctions-tasks): Athena* APIs have incorrect supported integration patterns #11188
Conversation
6cbd379
to
cdc34d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akiym thanks for submitting the fix!! amazing given we haven't released this yet :)
had one minor comment to update commit body, but otherwise looks good
@@ -87,7 +87,7 @@ export class AthenaStartQueryExecution extends sfn.TaskStateBase { | |||
}), | |||
|
|||
], | |||
actions: ['athena:getDataCatalog', 'athena:startQueryExecution'], | |||
actions: ['athena:getDataCatalog', 'athena:startQueryExecution', 'athena:getQueryExecution'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add the rationale for this addition into the commit body. I didn't see it in there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a link of this documentation: https://docs.aws.amazon.com/step-functions/latest/dg/athena-iam.html
cdc34d5
to
ce7c847
Compare
Pull request has been modified.
ce7c847
to
7f7a9e4
Compare
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
The changes made by #11045 seem to support
WAIT_FOR_TASK_TOKEN (.waitForTaskToken)
but according to the documentation, onlyRequest Response
andRun a job (.sync)
are supported: https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.htmlcloses #11246
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license