class Aws::DynamoDBStreams::Types::StreamRecord

A description of a single data modification that was performed on an item in a DynamoDB table.

@!attribute [rw] approximate_creation_date_time

The approximate date and time when the stream record was created, in
[UNIX epoch time][1] format.

[1]: http://www.epochconverter.com/
@return [Time]

@!attribute [rw] keys

The primary key attribute(s) for the DynamoDB item that was
modified.
@return [Hash<String,Types::AttributeValue>]

@!attribute [rw] new_image

The item in the DynamoDB table as it appeared after it was modified.
@return [Hash<String,Types::AttributeValue>]

@!attribute [rw] old_image

The item in the DynamoDB table as it appeared before it was
modified.
@return [Hash<String,Types::AttributeValue>]

@!attribute [rw] sequence_number

The sequence number of the stream record.
@return [String]

@!attribute [rw] size_bytes

The size of the stream record, in bytes.
@return [Integer]

@!attribute [rw] stream_view_type

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.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/StreamRecord AWS API Documentation

Constants

SENSITIVE