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 for DocumentDbEventSourceConfig
impl PartialEq 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 Freeze for DocumentDbEventSourceConfig
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more