#[non_exhaustive]pub struct InputStartingPositionConfiguration {
pub input_starting_position: Option<InputStartingPosition>,
}Expand description
Describes the point at which the application reads from the streaming 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.input_starting_position: Option<InputStartingPosition>The starting position on the stream.
-
NOW- Start reading just after the most recent record in the stream, and start at the request timestamp that the customer issued. -
TRIM_HORIZON- Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream. -
LAST_STOPPED_POINT- Resume reading from where the application last stopped reading.
Implementations§
source§impl InputStartingPositionConfiguration
impl InputStartingPositionConfiguration
sourcepub fn input_starting_position(&self) -> Option<&InputStartingPosition>
pub fn input_starting_position(&self) -> Option<&InputStartingPosition>
The starting position on the stream.
-
NOW- Start reading just after the most recent record in the stream, and start at the request timestamp that the customer issued. -
TRIM_HORIZON- Start reading at the last untrimmed record in the stream, which is the oldest record available in the stream. This option is not available for an Amazon Kinesis Data Firehose delivery stream. -
LAST_STOPPED_POINT- Resume reading from where the application last stopped reading.
source§impl InputStartingPositionConfiguration
impl InputStartingPositionConfiguration
sourcepub fn builder() -> InputStartingPositionConfigurationBuilder
pub fn builder() -> InputStartingPositionConfigurationBuilder
Creates a new builder-style object to manufacture InputStartingPositionConfiguration.
Trait Implementations§
source§impl Clone for InputStartingPositionConfiguration
impl Clone for InputStartingPositionConfiguration
source§fn clone(&self) -> InputStartingPositionConfiguration
fn clone(&self) -> InputStartingPositionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for InputStartingPositionConfiguration
impl PartialEq for InputStartingPositionConfiguration
source§fn eq(&self, other: &InputStartingPositionConfiguration) -> bool
fn eq(&self, other: &InputStartingPositionConfiguration) -> bool
self and other values to be equal, and is used
by ==.