#[non_exhaustive]pub struct PipeSourceKinesisStreamParameters { /* private fields */ }
Expand description
The parameters for using a Kinesis stream as a source.
Implementations§
source§impl PipeSourceKinesisStreamParameters
impl PipeSourceKinesisStreamParameters
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.
sourcepub fn starting_position(&self) -> Option<&KinesisStreamStartPosition>
pub fn starting_position(&self) -> Option<&KinesisStreamStartPosition>
(Streams only) The position in a stream from which to start reading.
sourcepub fn starting_position_timestamp(&self) -> Option<&DateTime>
pub fn starting_position_timestamp(&self) -> Option<&DateTime>
With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading, in Unix time seconds.
source§impl PipeSourceKinesisStreamParameters
impl PipeSourceKinesisStreamParameters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PipeSourceKinesisStreamParameters
.
Trait Implementations§
source§impl Clone for PipeSourceKinesisStreamParameters
impl Clone for PipeSourceKinesisStreamParameters
source§fn clone(&self) -> PipeSourceKinesisStreamParameters
fn clone(&self) -> PipeSourceKinesisStreamParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<PipeSourceKinesisStreamParameters> for PipeSourceKinesisStreamParameters
impl PartialEq<PipeSourceKinesisStreamParameters> for PipeSourceKinesisStreamParameters
source§fn eq(&self, other: &PipeSourceKinesisStreamParameters) -> bool
fn eq(&self, other: &PipeSourceKinesisStreamParameters) -> bool
self
and other
values to be equal, and is used
by ==
.