#[non_exhaustive]pub struct UpdatePipeSourceDynamoDbStreamParameters { /* private fields */ }
Expand description
The parameters for using a DynamoDB stream as a source.
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() -> Builder
pub fn builder() -> Builder
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<UpdatePipeSourceDynamoDbStreamParameters> for UpdatePipeSourceDynamoDbStreamParameters
impl PartialEq<UpdatePipeSourceDynamoDbStreamParameters> 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 ==
.