Struct aws_sdk_lambda::types::DocumentDbEventSourceConfig
source · #[non_exhaustive]pub struct DocumentDbEventSourceConfig { /* private fields */ }Expand description
Specific configuration settings for a DocumentDB event source.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DocumentDbEventSourceConfig
impl Debug for DocumentDbEventSourceConfig
source§impl PartialEq<DocumentDbEventSourceConfig> for DocumentDbEventSourceConfig
impl PartialEq<DocumentDbEventSourceConfig> for DocumentDbEventSourceConfig
source§fn eq(&self, other: &DocumentDbEventSourceConfig) -> bool
fn eq(&self, other: &DocumentDbEventSourceConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DocumentDbEventSourceConfig
Auto Trait Implementations§
impl RefUnwindSafe for DocumentDbEventSourceConfig
impl Send for DocumentDbEventSourceConfig
impl Sync for DocumentDbEventSourceConfig
impl Unpin for DocumentDbEventSourceConfig
impl UnwindSafe for DocumentDbEventSourceConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more