Struct aws_sdk_lambda::types::DocumentDbEventSourceConfig
source · #[non_exhaustive]pub struct DocumentDbEventSourceConfig {
pub database_name: Option<String>,
pub collection_name: Option<String>,
pub full_document: Option<FullDocument>,
}
Expand description
Specific configuration settings for a DocumentDB event source.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.database_name: Option<String>
The name of the database to consume within the DocumentDB cluster.
collection_name: Option<String>
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
full_document: Option<FullDocument>
Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
Implementations§
source§impl DocumentDbEventSourceConfig
impl DocumentDbEventSourceConfig
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the database to consume within the DocumentDB cluster.
sourcepub fn collection_name(&self) -> Option<&str>
pub fn collection_name(&self) -> Option<&str>
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
sourcepub fn full_document(&self) -> Option<&FullDocument>
pub fn full_document(&self) -> Option<&FullDocument>
Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
source§impl DocumentDbEventSourceConfig
impl DocumentDbEventSourceConfig
sourcepub fn builder() -> DocumentDbEventSourceConfigBuilder
pub fn builder() -> DocumentDbEventSourceConfigBuilder
Creates a new builder-style object to manufacture DocumentDbEventSourceConfig
.
Trait Implementations§
source§impl Clone for DocumentDbEventSourceConfig
impl Clone for DocumentDbEventSourceConfig
source§fn clone(&self) -> DocumentDbEventSourceConfig
fn clone(&self) -> DocumentDbEventSourceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DocumentDbEventSourceConfig
impl Debug for DocumentDbEventSourceConfig
source§impl PartialEq for DocumentDbEventSourceConfig
impl PartialEq for DocumentDbEventSourceConfig
source§fn eq(&self, other: &DocumentDbEventSourceConfig) -> bool
fn eq(&self, other: &DocumentDbEventSourceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.