From 1be562f3f47881443a1b0f77dc3251f8a4599e1a Mon Sep 17 00:00:00 2001 From: Henrique Graca <999396+hjgraca@users.noreply.github.com> Date: Mon, 5 Feb 2024 16:20:39 +0000 Subject: [PATCH] Update batch-processing docs Signed-off-by: Henrique Graca <999396+hjgraca@users.noreply.github.com> --- docs/utilities/batch-processing.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/utilities/batch-processing.md b/docs/utilities/batch-processing.md index 2c3e460bc..eb18eb7c9 100644 --- a/docs/utilities/batch-processing.md +++ b/docs/utilities/batch-processing.md @@ -62,6 +62,20 @@ This behavior changes when you enable Report Batch Item Failures feature in your You can find more details on how Lambda works with either [SQS](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html){target="_blank"}, [Kinesis](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html){target="_blank"}, or [DynamoDB](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html){target="_blank"} in the AWS Documentation. +## Installation + +You should install with NuGet: + +```powershell +Install-Package AWS.Lambda.Powertools.BatchProcessing +``` + +Or via the .NET Core command line interface: + +```bash +dotnet add package AWS.Lambda.Powertools.BatchProcessing +``` + ## Getting started For this feature to work, you need to **(1)** configure your Lambda function event source to use `ReportBatchItemFailures`, and **(2)** return [a specific response](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-batchfailurereporting){target="_blank" rel="nofollow"} to report which records failed to be processed.