Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
fix(stepfunction): add two extra methods to track (#448)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniele Frasca <[email protected]>
Co-authored-by: Ran Ribenzaft <[email protected]>
  • Loading branch information
3 people authored Feb 25, 2021
1 parent a97b972 commit 9f16226
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/events/aws_sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,14 +575,18 @@ const stepFunctionsEventCreator = {
*/
patchInput(request, event) {
switch (request.operation) {
case 'startExecution': {
case 'startExecution':
initializeStepsDict(request, 'input', event);
break;
}
case 'sendTaskSuccess': {
case 'stopExecution':
initializeStepsDict(request, 'input', event);
break;
case 'sendTaskSuccess':
initializeStepsDict(request, 'output', event);
break;
case 'sendTaskFailure':
initializeStepsDict(request, 'output', event);
break;
}
default:
break;
}
Expand Down

0 comments on commit 9f16226

Please sign in to comment.