-
Notifications
You must be signed in to change notification settings - Fork 16
Support DescribeExection
for Express Step Functions
#796
Comments
Hi @Elevating7734 thanks for reaching out. The describe-executions command involves a call to the Step Functions DescribeExecution API. The documentation for both notes:
So to clarify, are you requesting that the DescribeExecution API (and by association the CLI command) should support executions of an Another question since you mentioned polling — several services have |
Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one. |
Ideally, yes. The mechanism is less important than the ability to check if an invocation is completed or failed for some reason. I hadn't thought of the EventBridge workaround, but ideally I could poll the state of the |
Thanks for confirming — I'll transfer this to our cross-SDK repository (since APIs like this one are used across AWS SDKs) and try reaching out to the Step Functions team for feedback on this feature request. (ref: P145888617) |
We heard back from the Step Functions team, who noted that express state machine execution history is not recorded in Step Functions by design — they rely on CloudWatch logs and customers should be able to retrieve them from the CloudWatch group. If you enable CloudWatch config in the state machine, you can pull the execution status with the CloudWatch FilterLogEvents API. You can refer to the documentation here for the difference between standard and execution: So the service team does not plan to change this behavior, but if you'd like me to forward any additional information regarding your use case to them please let me know. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the feature
The CLI should support polling an execution for status
Use Case
An express step function can be triggered via the CLI, but the status cannot be checked. This reduces confidence in the solution, as I need the ability to poll whether the execution has been completed or failed.
Ex:
Proposed Solution
Add CLI and/or API functionality to poll an express state machine for the status.
Ex:
aws stepfunctions get-execution-history --execution-arn <ARN>
Other Information
Duplicates older issue, raised by another user and closed for inactivity aws/aws-cli#7476
Acknowledgements
CLI version used
aws-cli/2.17.13 Python/3.11.9 Windows/10 exe/AMD64
Environment details (OS name and version, etc.)
Microsoft Windows 11 Pro / 10.0.22631 Build 22631
The text was updated successfully, but these errors were encountered: