| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DynamoDBStreams.Types.StreamRecord
Description
Synopsis
- data StreamRecord = StreamRecord' {}
- newStreamRecord :: StreamRecord
- streamRecord_approximateCreationDateTime :: Lens' StreamRecord (Maybe UTCTime)
- streamRecord_keys :: Lens' StreamRecord (Maybe (HashMap Text AttributeValue))
- streamRecord_newImage :: Lens' StreamRecord (Maybe (HashMap Text AttributeValue))
- streamRecord_oldImage :: Lens' StreamRecord (Maybe (HashMap Text AttributeValue))
- streamRecord_sequenceNumber :: Lens' StreamRecord (Maybe Text)
- streamRecord_sizeBytes :: Lens' StreamRecord (Maybe Natural)
- streamRecord_streamViewType :: Lens' StreamRecord (Maybe StreamViewType)
Documentation
data StreamRecord Source #
A description of a single data modification that was performed on an item in a DynamoDB table.
See: newStreamRecord smart constructor.
Constructors
| StreamRecord' | |
Fields
| |
Instances
newStreamRecord :: StreamRecord Source #
Create a value of StreamRecord with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:approximateCreationDateTime:StreamRecord', streamRecord_approximateCreationDateTime - The approximate date and time when the stream record was created, in
UNIX epoch time format.
$sel:keys:StreamRecord', streamRecord_keys - The primary key attribute(s) for the DynamoDB item that was modified.
$sel:newImage':StreamRecord', streamRecord_newImage - The item in the DynamoDB table as it appeared after it was modified.
$sel:oldImage:StreamRecord', streamRecord_oldImage - The item in the DynamoDB table as it appeared before it was modified.
$sel:sequenceNumber:StreamRecord', streamRecord_sequenceNumber - The sequence number of the stream record.
$sel:sizeBytes:StreamRecord', streamRecord_sizeBytes - The size of the stream record, in bytes.
$sel:streamViewType:StreamRecord', streamRecord_streamViewType - 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.
streamRecord_approximateCreationDateTime :: Lens' StreamRecord (Maybe UTCTime) Source #
The approximate date and time when the stream record was created, in UNIX epoch time format.
streamRecord_keys :: Lens' StreamRecord (Maybe (HashMap Text AttributeValue)) Source #
The primary key attribute(s) for the DynamoDB item that was modified.
streamRecord_newImage :: Lens' StreamRecord (Maybe (HashMap Text AttributeValue)) Source #
The item in the DynamoDB table as it appeared after it was modified.
streamRecord_oldImage :: Lens' StreamRecord (Maybe (HashMap Text AttributeValue)) Source #
The item in the DynamoDB table as it appeared before it was modified.
streamRecord_sequenceNumber :: Lens' StreamRecord (Maybe Text) Source #
The sequence number of the stream record.
streamRecord_sizeBytes :: Lens' StreamRecord (Maybe Natural) Source #
The size of the stream record, in bytes.
streamRecord_streamViewType :: Lens' StreamRecord (Maybe StreamViewType) Source #
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.