You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice for scripts to be able invoke lambdas and then succeed only if the lambda function succeeds, at least for RequestResponse invocation type. Currently this requires checking the outfile for json and if it contains errorMessage, which isn't easy nor 100% reliable.
The text was updated successfully, but these errors were encountered:
I agree this would be nice, marking as a feature request. Not sure if we can change the behavior of the existing command but perhaps we could add another aws lambda ... command that had this extra behavior.
FWIW, not sure if this meets your use case, but AWS Chalice supports lambda functions and also has a chalice invoke command that's a wrapper around aws lambda invoke that has a lot of this behavior (aws/chalice#900).
Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. Because it has been longer than one year since the last update on this, and 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 to prevent automatic closure, or if the issue is already closed, please feel free to reopen it.
It would be nice for scripts to be able invoke lambdas and then succeed only if the lambda function succeeds, at least for
RequestResponse
invocation type. Currently this requires checking the outfile for json and if it containserrorMessage
, which isn't easy nor 100% reliable.The text was updated successfully, but these errors were encountered: