Open
Description
Describe the issue
When publishing a payload via SNS (and probably SQS too) that is too large, the response should provide a better warning/message. Instead a TypeError is thrown because there is no Error message in the response
Steps to reproduce
Steps to reproduce the behavior:
- Create a new lambda and publish a large payload to it (
arc.events.publish(...)
) - See error that says
TypeError: @aws-lite/client: SNS.Publish: Cannot read properties of null (reading 'Error')
Expected behavior
A clear message indicating why the message was unable to be processed (in our case, too big!)
Metadata
Assignees
Labels
No labels
Activity