namespace Amazon.Lambda.DynamoDBEvents
{
    using Amazon.DynamoDBv2.Model;
    using System;
    using System.Collections.Generic;
    /// 
    /// AWS DynamoDB event
    /// http://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
    /// http://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-ddb-update
    /// 
    public class DynamoDBEvent
    {
        /// 
        /// List of DynamoDB event records.
        /// 
        public IList Records { get; set; }
        /// 
        /// DynamoDB stream record
        /// http://docs.aws.amazon.com/dynamodbstreams/latest/APIReference/API_StreamRecord.html
        /// 
        public class DynamodbStreamRecord : Record
        {
            /// 
            /// The event source arn of DynamoDB.
            /// 
            public string EventSourceArn { get; set; }
        }
    }
}