namespace Amazon.Lambda.KinesisEvents
{
using System;
using System.Collections.Generic;
///
/// AWS Kinesis stream event
/// http://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
/// http://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-kinesis-streams
///
public class KinesisEvent
{
///
/// List of Kinesis event records.
///
public IList Records { get; set; }
///
/// AWS Kinesis stream record
/// http://docs.aws.amazon.com/kinesis/latest/APIReference/API_Record.html
///
public class Record : Amazon.Kinesis.Model.Record
{
///
/// The schema version for the record.
///
public string KinesisSchemaVersion { get; set; }
}
///
/// Kinesis event record.
///
public class KinesisEventRecord
{
///
/// The AWS region where the event originated.
///
public string AwsRegion { get; set; }
///
/// The event id.
///
public string EventId { get; set; }
///
/// The name of the event.
///
public string EventName { get; set; }
///
/// The source of the event.
///
public string EventSource { get; set; }
///
/// The ARN of the event source.
///
public string EventSourceARN { get; set; }
///
/// The event version.
///
public string EventVersion { get; set; }
///
/// The ARN for the identity used to invoke the Lambda Function.
///
public string InvokeIdentityArn { get; set; }
///
/// The underlying Kinesis record associated with the event.
///
public Record Kinesis { get; set; }
}
}
}