forked from aws/aws-lambda-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
KinesisAnalyticsOutputDeliveryResponse.cs
67 lines (61 loc) · 1.82 KB
/
KinesisAnalyticsOutputDeliveryResponse.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Amazon.Lambda.KinesisAnalyticsEvents
{
/// <summary>
/// This class represents the response from Lambda function for Kinesis Analytics output delivery.
/// </summary>
[DataContract]
public class KinesisAnalyticsOutputDeliveryResponse
{
/// <summary>
/// The record was delivered successfully.
/// </summary>
public const string OK = "Ok";
/// <summary>
/// The record delivery failed.
/// </summary>
public const string DELIVERY_FAILED = "DeliveryFailed";
/// <summary>
/// Gets or sets the records.
/// </summary>
/// <value>
/// The records.
/// </value>
[DataMember(Name = "records")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("records")]
#endif
public IList<Record> Records { get; set; }
/// <summary>
///
/// </summary>
[DataContract]
public class Record
{
/// <summary>
/// Gets or sets the record identifier.
/// </summary>
/// <value>
/// The record identifier.
/// </value>
[DataMember(Name = "recordId")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("recordId")]
#endif
public string RecordId { get; set; }
/// <summary>
/// Gets or sets the result.
/// </summary>
/// <value>
/// The result.
/// </value>
[DataMember(Name = "result")]
#if NETCOREAPP3_1
[System.Text.Json.Serialization.JsonPropertyName("result")]
#endif
public string Result { get; set; }
}
}
}