You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("DynamoDBEvent has a reference to the AWS SDK for .NET. The ConstantClass used to represent enums in the SDK is not supported in the Lambda serializer SourceGeneratorLambdaJsonSerializer for trimming scenarios.")]
/// The type of data from the modified DynamoDB item that was captured in this stream record:
146
+
/// </para>
147
+
///
148
+
/// <ul>
149
+
/// <li>
150
+
/// <para>
151
+
/// <c>KEYS_ONLY</c> - only the key attributes of the modified item.
152
+
/// </para>
153
+
/// </li>
154
+
///
155
+
/// <li>
156
+
/// <para>
157
+
/// <c>NEW_IMAGE</c> - the entire item, as it appeared after it was modified.
158
+
/// </para>
159
+
/// </li>
160
+
///
161
+
/// <li>
162
+
/// <para>
163
+
/// <c>OLD_IMAGE</c> - the entire item, as it appeared before it was modified.
164
+
/// </para>
165
+
/// </li>
166
+
///
167
+
/// <li>
168
+
/// <para>
169
+
/// <c>NEW_AND_OLD_IMAGES</c> - both the new and the old item images of the item.
170
+
/// </para>
171
+
/// </li>
172
+
/// </ul>
173
+
/// </summary>
174
+
publicstringStreamViewType{get;set;}
175
+
}
176
+
177
+
/// <summary>
178
+
/// Contains details about the type of identity that made the request.
179
+
/// </summary>
180
+
publicclassIdentity
181
+
{
182
+
/// <summary>
183
+
/// A unique identifier for the entity that made the call. For Time To Live, the principalId
184
+
/// is "dynamodb.amazonaws.com".
185
+
/// </summary>
186
+
publicstringPrincipalId{get;set;}
187
+
188
+
/// <summary>
189
+
/// The type of the identity. For Time To Live, the type is "Service".
190
+
/// </summary>
191
+
publicstringType{get;set;}
192
+
}
193
+
194
+
/// <summary>
195
+
/// Represents the data for an attribute.
196
+
///
197
+
/// <para>
198
+
/// Each attribute value is described as a name-value pair. The name is the data type,
199
+
/// and the value is the data itself.
200
+
/// </para>
201
+
///
202
+
/// <para>
203
+
/// For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes">Data
204
+
/// Types</a> in the <i>Amazon DynamoDB Developer Guide</i>.
Copy file name to clipboardExpand all lines: Libraries/src/Amazon.Lambda.DynamoDBEvents/README.md
-2
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
3
3
This package contains classes that can be used as input types for Lambda functions that process Amazon DynamoDB events.
4
4
5
-
This package has a dependency on the [AWS SDK for .NET package DynamoDBv2](https://www.nuget.org/packages/AWSSDK.DynamoDBv2/) in order to use the `Amazon.DynamoDBv2.Model.Record` type.
6
-
7
5
# Sample Function
8
6
9
7
The following is a sample class and Lambda function that receives Amazon DynamoDB event record data as an input and writes some of the incoming event data to CloudWatch Logs. (Note that by default anything written to Console will be logged as CloudWatch Logs events.)
0 commit comments