Skip to content
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

Merged
merged 4 commits into from
Nov 2, 2020

Conversation

akiym
Copy link
Contributor

@akiym akiym commented Oct 29, 2020

The changes made by #11045 seem to support WAIT_FOR_TASK_TOKEN (.waitForTaskToken) but according to the documentation, only Request Response and Run a job (.sync) are supported: https://docs.aws.amazon.com/step-functions/latest/dg/connect-athena.html

closes #11246


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Oct 29, 2020

@akiym akiym marked this pull request as draft October 29, 2020 07:24
@akiym akiym marked this pull request as ready for review October 29, 2020 08:26
@akiym akiym force-pushed the fix-athena-integration-pattern branch from 6cbd379 to cdc34d5 Compare October 29, 2020 08:30
Copy link
Contributor

@shivlaks shivlaks left a 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'],
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akiym akiym force-pushed the fix-athena-integration-pattern branch from cdc34d5 to ce7c847 Compare October 29, 2020 18:49
@shivlaks shivlaks changed the title fix(stepfunctions-tasks): Athena integrationPattern has incorrect pattern fix(stepfunctions-tasks): Athena* APIs have incorrect supported integration patterns Oct 29, 2020
@mergify mergify bot dismissed shivlaks’s stale review October 29, 2020 18:50

Pull request has been modified.

@akiym akiym force-pushed the fix-athena-integration-pattern branch from ce7c847 to 7f7a9e4 Compare October 30, 2020 01:59
@mergify
Copy link
Contributor

mergify bot commented Nov 2, 2020

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).

@mergify
Copy link
Contributor

mergify bot commented Nov 2, 2020

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-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: cdaf462
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Nov 2, 2020

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).

@mergify mergify bot merged commit 0f66833 into aws:master Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aws-stepfunctions-tasks: Athena missing .sync option
3 participants