Struct aws_sdk_dynamodb::types::StreamSpecification
source · #[non_exhaustive]pub struct StreamSpecification { /* private fields */ }
Expand description
Represents the DynamoDB Streams configuration for a table in DynamoDB.
Implementations§
source§impl StreamSpecification
impl StreamSpecification
sourcepub fn stream_enabled(&self) -> Option<bool>
pub fn stream_enabled(&self) -> Option<bool>
Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.
sourcepub fn stream_view_type(&self) -> Option<&StreamViewType>
pub fn stream_view_type(&self) -> Option<&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.
source§impl StreamSpecification
impl StreamSpecification
sourcepub fn builder() -> StreamSpecificationBuilder
pub fn builder() -> StreamSpecificationBuilder
Creates a new builder-style object to manufacture StreamSpecification
.
Trait Implementations§
source§impl Clone for StreamSpecification
impl Clone for StreamSpecification
source§fn clone(&self) -> StreamSpecification
fn clone(&self) -> StreamSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamSpecification
impl Debug for StreamSpecification
source§impl PartialEq<StreamSpecification> for StreamSpecification
impl PartialEq<StreamSpecification> for StreamSpecification
source§fn eq(&self, other: &StreamSpecification) -> bool
fn eq(&self, other: &StreamSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.