Class: Aws::DynamoDBStreams::Types::StreamRecord
- Inherits:
-
Struct
- Object
- Struct
- Aws::DynamoDBStreams::Types::StreamRecord
- Defined in:
- gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb
Overview
A description of a single data modification that was performed on an item in a DynamoDB table.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#approximate_creation_date_time ⇒ Time
The approximate date and time when the stream record was created, in [UNIX epoch time][1] format and rounded down to the closest second.
-
#keys ⇒ Hash<String,Types::AttributeValue>
The primary key attribute(s) for the DynamoDB item that was modified.
-
#new_image ⇒ Hash<String,Types::AttributeValue>
The item in the DynamoDB table as it appeared after it was modified.
-
#old_image ⇒ Hash<String,Types::AttributeValue>
The item in the DynamoDB table as it appeared before it was modified.
-
#sequence_number ⇒ String
The sequence number of the stream record.
-
#size_bytes ⇒ Integer
The size of the stream record, in bytes.
-
#stream_view_type ⇒ String
The type of data from the modified DynamoDB item that was captured in this stream record:.
Instance Attribute Details
#approximate_creation_date_time ⇒ Time
The approximate date and time when the stream record was created, in UNIX epoch time format and rounded down to the closest second. Some tools and SDKs may convert this value to a different format, such as ISO 8601.
824 825 826 827 828 829 830 831 832 833 834 |
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 824 class StreamRecord < Struct.new( :approximate_creation_date_time, :keys, :new_image, :old_image, :sequence_number, :size_bytes, :stream_view_type) SENSITIVE = [] include Aws::Structure end |
#keys ⇒ Hash<String,Types::AttributeValue>
The primary key attribute(s) for the DynamoDB item that was modified.
824 825 826 827 828 829 830 831 832 833 834 |
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 824 class StreamRecord < Struct.new( :approximate_creation_date_time, :keys, :new_image, :old_image, :sequence_number, :size_bytes, :stream_view_type) SENSITIVE = [] include Aws::Structure end |
#new_image ⇒ Hash<String,Types::AttributeValue>
The item in the DynamoDB table as it appeared after it was modified.
824 825 826 827 828 829 830 831 832 833 834 |
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 824 class StreamRecord < Struct.new( :approximate_creation_date_time, :keys, :new_image, :old_image, :sequence_number, :size_bytes, :stream_view_type) SENSITIVE = [] include Aws::Structure end |
#old_image ⇒ Hash<String,Types::AttributeValue>
The item in the DynamoDB table as it appeared before it was modified.
824 825 826 827 828 829 830 831 832 833 834 |
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 824 class StreamRecord < Struct.new( :approximate_creation_date_time, :keys, :new_image, :old_image, :sequence_number, :size_bytes, :stream_view_type) SENSITIVE = [] include Aws::Structure end |
#sequence_number ⇒ String
The sequence number of the stream record.
824 825 826 827 828 829 830 831 832 833 834 |
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 824 class StreamRecord < Struct.new( :approximate_creation_date_time, :keys, :new_image, :old_image, :sequence_number, :size_bytes, :stream_view_type) SENSITIVE = [] include Aws::Structure end |
#size_bytes ⇒ Integer
The size of the stream record, in bytes.
824 825 826 827 828 829 830 831 832 833 834 |
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 824 class StreamRecord < Struct.new( :approximate_creation_date_time, :keys, :new_image, :old_image, :sequence_number, :size_bytes, :stream_view_type) SENSITIVE = [] include Aws::Structure end |
#stream_view_type ⇒ String
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.
824 825 826 827 828 829 830 831 832 833 834 |
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 824 class StreamRecord < Struct.new( :approximate_creation_date_time, :keys, :new_image, :old_image, :sequence_number, :size_bytes, :stream_view_type) SENSITIVE = [] include Aws::Structure end |