pub struct EventSourceMapping {Show 13 fields
pub uuid: String,
pub function_arn: String,
pub event_source_arn: String,
pub batch_size: i64,
pub enabled: bool,
pub state: String,
pub last_modified: DateTime<Utc>,
pub filter_patterns: Vec<String>,
pub maximum_batching_window_in_seconds: Option<i64>,
pub starting_position: Option<String>,
pub starting_position_timestamp: Option<f64>,
pub parallelization_factor: Option<i64>,
pub function_response_types: Vec<String>,
}Fields§
§uuid: String§function_arn: String§event_source_arn: String§batch_size: i64§enabled: bool§state: String§last_modified: DateTime<Utc>§filter_patterns: Vec<String>Raw Filters: [{Pattern: "..."}] array as supplied via
FilterCriteria. Each pattern is an EventBridge-style JSON
pattern matched against the record body — non-matching records
are dropped.
maximum_batching_window_in_seconds: Option<i64>Wait up to N seconds to accumulate batch_size records before
invoking. Implemented as a deadline check inside the poller.
starting_position: Option<String>LATEST, TRIM_HORIZON, or AT_TIMESTAMP. Honored on the
first poll for stream sources (Kinesis, DDB Streams).
starting_position_timestamp: Option<f64>Optional epoch-second timestamp paired with
StartingPosition=AT_TIMESTAMP.
parallelization_factor: Option<i64>Kinesis-only: number of concurrent batch invocations per shard.
function_response_types: Vec<String>["ReportBatchItemFailures"] to opt into partial-batch failure
semantics. Empty / unset = entire batch is retried on error.
Trait Implementations§
Source§impl Clone for EventSourceMapping
impl Clone for EventSourceMapping
Source§fn clone(&self) -> EventSourceMapping
fn clone(&self) -> EventSourceMapping
Returns a duplicate 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 EventSourceMapping
impl Debug for EventSourceMapping
Source§impl<'de> Deserialize<'de> for EventSourceMapping
impl<'de> Deserialize<'de> for EventSourceMapping
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EventSourceMapping
impl RefUnwindSafe for EventSourceMapping
impl Send for EventSourceMapping
impl Sync for EventSourceMapping
impl Unpin for EventSourceMapping
impl UnsafeUnpin for EventSourceMapping
impl UnwindSafe for EventSourceMapping
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