StreamRecord

public struct StreamRecord : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The approximate date and time when the stream record was created, in UNIX epoch time format.

    Declaration

    Swift

    public let approximateCreationDateTime: TimeStamp?
  • The primary key attribute(s) for the DynamoDB item that was modified.

    Declaration

    Swift

    public let keys: [String : AttributeValue]?
  • The item in the DynamoDB table as it appeared after it was modified.

    Declaration

    Swift

    public let newImage: [String : AttributeValue]?
  • The item in the DynamoDB table as it appeared before it was modified.

    Declaration

    Swift

    public let oldImage: [String : AttributeValue]?
  • The sequence number of the stream record.

    Declaration

    Swift

    public let sequenceNumber: String?
  • The size of the stream record, in bytes.

    Declaration

    Swift

    public let sizeBytes: Int64?
  • 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.

    Declaration

    Swift

    public let streamViewType: StreamViewType?
  • Undocumented

    Declaration

    Swift

    public init(approximateCreationDateTime: TimeStamp? = nil, keys: [String : AttributeValue]? = nil, newImage: [String : AttributeValue]? = nil, oldImage: [String : AttributeValue]? = nil, sequenceNumber: String? = nil, sizeBytes: Int64? = nil, streamViewType: StreamViewType? = nil)