Table of Contents

Class KinesisTimeWindowResponse

Namespace
Amazon.Lambda.KinesisEvents
Assembly
Amazon.Lambda.KinesisEvents.dll

Response type to return a new state for the time window and to report batch item failures.

[DataContract]
public class KinesisTimeWindowResponse
Inheritance
KinesisTimeWindowResponse
Inherited Members

Constructors

KinesisTimeWindowResponse()

public KinesisTimeWindowResponse()

Properties

BatchItemFailures

A list of records which failed processing. Returning the first record which failed would retry all remaining records from the batch.

[DataMember(Name = "batchItemFailures")]
[JsonPropertyName("batchItemFailures")]
public IList<KinesisTimeWindowResponse.BatchItemFailure> BatchItemFailures { get; set; }

Property Value

IList<KinesisTimeWindowResponse.BatchItemFailure>

State

New state after processing a batch of records.

[DataMember(Name = "state")]
[JsonPropertyName("state")]
[JsonConverter(typeof(DictionaryLongToStringJsonConverter))]
public Dictionary<string, string> State { get; set; }

Property Value

Dictionary<string, string>