using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Amazon.Lambda.KinesisAnalyticsEvents
{
///
/// This class represents the response from Lambda function for Kinesis Analytics output delivery.
///
[DataContract]
public class KinesisAnalyticsOutputDeliveryResponse
{
///
/// The record was delivered successfully.
///
public const string OK = "Ok";
///
/// The record delivery failed.
///
public const string DELIVERY_FAILED = "DeliveryFailed";
///
/// Gets or sets the records.
///
///
/// The records.
///
[DataMember(Name = "records")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("records")]
#endif
public IList Records { get; set; }
///
///
///
[DataContract]
public class Record
{
///
/// Gets or sets the record identifier.
///
///
/// The record identifier.
///
[DataMember(Name = "recordId")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("recordId")]
#endif
public string RecordId { get; set; }
///
/// Gets or sets the result.
///
///
/// The result.
///
[DataMember(Name = "result")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("result")]
#endif
public string Result { get; set; }
}
}
}