You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DynamoDBStreams::Types::StreamRecord

Inherits:
Struct
  • Object
show all
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.

Instance Attribute Summary collapse

Instance Attribute Details

#approximate_creation_date_timeTime

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

Returns:

  • (Time)


666
667
668
669
670
671
672
673
674
675
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 666

class StreamRecord < Struct.new(
  :approximate_creation_date_time,
  :keys,
  :new_image,
  :old_image,
  :sequence_number,
  :size_bytes,
  :stream_view_type)
  include Aws::Structure
end

#keysHash<String,Types::AttributeValue>

The primary key attribute(s) for the DynamoDB item that was modified.

Returns:



666
667
668
669
670
671
672
673
674
675
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 666

class StreamRecord < Struct.new(
  :approximate_creation_date_time,
  :keys,
  :new_image,
  :old_image,
  :sequence_number,
  :size_bytes,
  :stream_view_type)
  include Aws::Structure
end

#new_imageHash<String,Types::AttributeValue>

The item in the DynamoDB table as it appeared after it was modified.

Returns:



666
667
668
669
670
671
672
673
674
675
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 666

class StreamRecord < Struct.new(
  :approximate_creation_date_time,
  :keys,
  :new_image,
  :old_image,
  :sequence_number,
  :size_bytes,
  :stream_view_type)
  include Aws::Structure
end

#old_imageHash<String,Types::AttributeValue>

The item in the DynamoDB table as it appeared before it was modified.

Returns:



666
667
668
669
670
671
672
673
674
675
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 666

class StreamRecord < Struct.new(
  :approximate_creation_date_time,
  :keys,
  :new_image,
  :old_image,
  :sequence_number,
  :size_bytes,
  :stream_view_type)
  include Aws::Structure
end

#sequence_numberString

The sequence number of the stream record.

Returns:

  • (String)


666
667
668
669
670
671
672
673
674
675
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 666

class StreamRecord < Struct.new(
  :approximate_creation_date_time,
  :keys,
  :new_image,
  :old_image,
  :sequence_number,
  :size_bytes,
  :stream_view_type)
  include Aws::Structure
end

#size_bytesInteger

The size of the stream record, in bytes.

Returns:

  • (Integer)


666
667
668
669
670
671
672
673
674
675
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 666

class StreamRecord < Struct.new(
  :approximate_creation_date_time,
  :keys,
  :new_image,
  :old_image,
  :sequence_number,
  :size_bytes,
  :stream_view_type)
  include Aws::Structure
end

#stream_view_typeString

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.

Returns:

  • (String)


666
667
668
669
670
671
672
673
674
675
# File 'gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/types.rb', line 666

class StreamRecord < Struct.new(
  :approximate_creation_date_time,
  :keys,
  :new_image,
  :old_image,
  :sequence_number,
  :size_bytes,
  :stream_view_type)
  include Aws::Structure
end