Class ProcessingResult<TRecord>
Contains the result of the most recent batch processing run.
Inherited Members
Namespace: AWS.Lambda.Powertools.BatchProcessing
Assembly: AWS.Lambda.Powertools.BatchProcessing.dll
Syntax
public class ProcessingResult<TRecord>
Type Parameters
Name | Description |
---|---|
TRecord | Type of batch record. |
Properties
BatchItemFailuresResponse
The batch item failures response, containing a list of partial batch item failures. This is the response to be returned from the Lambda function handler.
Declaration
public BatchItemFailuresResponse BatchItemFailuresResponse { get; }
Property Value
Type | Description |
---|---|
BatchItemFailuresResponse |
BatchRecords
The set of batch records from the batch event.
Declaration
public List<TRecord> BatchRecords { get; }
Property Value
Type | Description |
---|---|
List<TRecord> |
FailureRecords
The set of batch records that failed processing.
Declaration
public List<RecordFailure<TRecord>> FailureRecords { get; }
Property Value
Type | Description |
---|---|
List<RecordFailure<TRecord>> |
SuccessRecords
The set of batch records that were successfully processed.
Declaration
public List<RecordSuccess<TRecord>> SuccessRecords { get; }
Property Value
Type | Description |
---|---|
List<RecordSuccess<TRecord>> |
Methods
Clear()
Clears the result object.
Declaration
public void Clear()