StreamRecord
import type { StreamRecord } from "https://aws-api.deno.dev/v0.4/services/dynamodbstreams.ts?docs=full";
A description of a single data modification that was performed on an item in a DynamoDB table.
interface StreamRecord {
ApproximateCreationDateTime?: Date | number | null;
Keys?: {} | null;
[key: string]: AttributeValue | null | undefined;
NewImage?: {} | null;
[key: string]: AttributeValue | null | undefined;
OldImage?: {} | null;
[key: string]: AttributeValue | null | undefined;
SequenceNumber?: string | null;
SizeBytes?: number | null;
StreamViewType?: StreamViewType | null;
}§Properties
§
ApproximateCreationDateTime?: Date | number | null
[src]The approximate date and time when the stream record was created, in UNIX epoch time format.
§
Keys?: {} | null
[src][key: string]: AttributeValue | null | undefined;
The primary key attribute(s) for the DynamoDB item that was modified.
§
NewImage?: {} | null
[src][key: string]: AttributeValue | null | undefined;
The item in the DynamoDB table as it appeared after it was modified.
§
OldImage?: {} | null
[src][key: string]: AttributeValue | null | undefined;
The item in the DynamoDB table as it appeared before it was modified.
§
StreamViewType?: StreamViewType | null
[src]The type of data from the modified DynamoDB item that was captured in this stream record:
KEYS_ONLY
- only the key attributes of the modified item.NEW_IMAGE
- the entire item, as it appeared after it was modified.OLD_IMAGE
- the entire item, as it appeared before it was modified.NEW_AND_OLD_IMAGES
- both the new and the old item images of the item.