| 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.DynamoDB.Types.StreamSpecification
Description
Documentation
data StreamSpecification Source #
Represents the DynamoDB Streams configuration for a table in DynamoDB.
See: newStreamSpecification smart constructor.
Constructors
| StreamSpecification' | |
Fields
| |
Instances
newStreamSpecification Source #
Create a value of StreamSpecification 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:streamViewType:StreamSpecification', streamSpecification_streamViewType - When an item in the table is modified, StreamViewType determines what
information is written to the stream for this table. Valid values for
StreamViewType are:
KEYS_ONLY- Only the key attributes of the modified item are written to the stream.NEW_IMAGE- The entire item, as it appears after it was modified, is written to the stream.OLD_IMAGE- The entire item, as it appeared before it was modified, is written to the stream.NEW_AND_OLD_IMAGES- Both the new and the old item images of the item are written to the stream.
$sel:streamEnabled:StreamSpecification', streamSpecification_streamEnabled - Indicates whether DynamoDB Streams is enabled (true) or disabled (false)
on the table.
streamSpecification_streamViewType :: Lens' StreamSpecification (Maybe StreamViewType) Source #
When an item in the table is modified, StreamViewType determines what
information is written to the stream for this table. Valid values for
StreamViewType are:
KEYS_ONLY- Only the key attributes of the modified item are written to the stream.NEW_IMAGE- The entire item, as it appears after it was modified, is written to the stream.OLD_IMAGE- The entire item, as it appeared before it was modified, is written to the stream.NEW_AND_OLD_IMAGES- Both the new and the old item images of the item are written to the stream.
streamSpecification_streamEnabled :: Lens' StreamSpecification Bool Source #
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.