#[non_exhaustive]pub struct UpdatePipeSourceDynamoDbStreamParameters {
pub batch_size: Option<i32>,
pub dead_letter_config: Option<DeadLetterConfig>,
pub on_partial_batch_item_failure: Option<OnPartialBatchItemFailureStreams>,
pub maximum_batching_window_in_seconds: Option<i32>,
pub maximum_record_age_in_seconds: Option<i32>,
pub maximum_retry_attempts: Option<i32>,
pub parallelization_factor: Option<i32>,
}Expand description
The parameters for using a DynamoDB stream as a 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.batch_size: Option<i32>The maximum number of records to include in each batch.
dead_letter_config: Option<DeadLetterConfig>Define the target queue to send dead-letter queue events to.
on_partial_batch_item_failure: Option<OnPartialBatchItemFailureStreams>(Streams only) Define how to handle item process failures. AUTOMATIC_BISECT halves each batch and retry each half until all the records are processed or there is one failed message left in the batch.
maximum_batching_window_in_seconds: Option<i32>The maximum length of a time to wait for events.
maximum_record_age_in_seconds: Option<i32>(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.
maximum_retry_attempts: Option<i32>(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
parallelization_factor: Option<i32>(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
Implementations§
source§impl UpdatePipeSourceDynamoDbStreamParameters
impl UpdatePipeSourceDynamoDbStreamParameters
sourcepub fn batch_size(&self) -> Option<i32>
pub fn batch_size(&self) -> Option<i32>
The maximum number of records to include in each batch.
sourcepub fn dead_letter_config(&self) -> Option<&DeadLetterConfig>
pub fn dead_letter_config(&self) -> Option<&DeadLetterConfig>
Define the target queue to send dead-letter queue events to.
sourcepub fn on_partial_batch_item_failure(
&self,
) -> Option<&OnPartialBatchItemFailureStreams>
pub fn on_partial_batch_item_failure( &self, ) -> Option<&OnPartialBatchItemFailureStreams>
(Streams only) Define how to handle item process failures. AUTOMATIC_BISECT halves each batch and retry each half until all the records are processed or there is one failed message left in the batch.
sourcepub fn maximum_batching_window_in_seconds(&self) -> Option<i32>
pub fn maximum_batching_window_in_seconds(&self) -> Option<i32>
The maximum length of a time to wait for events.
sourcepub fn maximum_record_age_in_seconds(&self) -> Option<i32>
pub fn maximum_record_age_in_seconds(&self) -> Option<i32>
(Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records.
sourcepub fn maximum_retry_attempts(&self) -> Option<i32>
pub fn maximum_retry_attempts(&self) -> Option<i32>
(Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source.
sourcepub fn parallelization_factor(&self) -> Option<i32>
pub fn parallelization_factor(&self) -> Option<i32>
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
source§impl UpdatePipeSourceDynamoDbStreamParameters
impl UpdatePipeSourceDynamoDbStreamParameters
sourcepub fn builder() -> UpdatePipeSourceDynamoDbStreamParametersBuilder
pub fn builder() -> UpdatePipeSourceDynamoDbStreamParametersBuilder
Creates a new builder-style object to manufacture UpdatePipeSourceDynamoDbStreamParameters.
Trait Implementations§
source§impl Clone for UpdatePipeSourceDynamoDbStreamParameters
impl Clone for UpdatePipeSourceDynamoDbStreamParameters
source§fn clone(&self) -> UpdatePipeSourceDynamoDbStreamParameters
fn clone(&self) -> UpdatePipeSourceDynamoDbStreamParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdatePipeSourceDynamoDbStreamParameters
impl PartialEq for UpdatePipeSourceDynamoDbStreamParameters
source§fn eq(&self, other: &UpdatePipeSourceDynamoDbStreamParameters) -> bool
fn eq(&self, other: &UpdatePipeSourceDynamoDbStreamParameters) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdatePipeSourceDynamoDbStreamParameters
Auto Trait Implementations§
impl Freeze for UpdatePipeSourceDynamoDbStreamParameters
impl RefUnwindSafe for UpdatePipeSourceDynamoDbStreamParameters
impl Send for UpdatePipeSourceDynamoDbStreamParameters
impl Sync for UpdatePipeSourceDynamoDbStreamParameters
impl Unpin for UpdatePipeSourceDynamoDbStreamParameters
impl UnwindSafe for UpdatePipeSourceDynamoDbStreamParameters
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
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>
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>
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