From cd26a3dfb44a2b6fc70cead6302fdd1717043180 Mon Sep 17 00:00:00 2001 From: Alejandro Corredor Date: Tue, 28 Nov 2023 16:44:49 -0500 Subject: [PATCH] better docs --- src/sqs.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/sqs.ts b/src/sqs.ts index 8831f46..f9c9ac3 100644 --- a/src/sqs.ts +++ b/src/sqs.ts @@ -27,8 +27,10 @@ export type SQSMessageHandlerConfig = { */ concurrency?: number; /** - * Whether or not to use SQS partial batch responses. For more details - * about SQS partial batch responses see + * Whether or not to use SQS partial batch responses. Make sure to also + * turn on partial batch responses when configuring your event source mapping + * by specifying ReportBatchItemFailures for the FunctionResponseTypes action. + * For more details see: * https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-batchfailurereporting */ usePartialBatchResponses?: boolean;