Skip to main content

SQS

caution

This page is a work in progress. If you want to help us to make this page better, please consider contributing on GitHub.

AWS Documentation

Example

import middy from '@middy/core'
import eventNormalizerMiddleware from '@middy/event-normalizer'
import sqsPartialBatchFailure from '@middy/sqs-partial-batch-failure'

export const handler = middy()
.use(eventNormalizerMiddleware())
.use(sqsPartialBatchFailure())
.handler((event, context, {signal}) => {
// ...
})