Struct aws_sdk_kinesis::input::GetRecordsInput
source · #[non_exhaustive]pub struct GetRecordsInput { /* private fields */ }
Expand description
Represents the input for GetRecords
.
Implementations§
source§impl GetRecordsInput
impl GetRecordsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRecords, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRecords, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetRecords
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetRecordsInput
.
source§impl GetRecordsInput
impl GetRecordsInput
sourcepub fn shard_iterator(&self) -> Option<&str>
pub fn shard_iterator(&self) -> Option<&str>
The position in the shard from which you want to start sequentially reading data records. A shard iterator specifies this position using the sequence number of a data record in the shard.
sourcepub fn limit(&self) -> Option<i32>
pub fn limit(&self) -> Option<i32>
The maximum number of records to return. Specify a value of up to 10,000. If you specify a value that is greater than 10,000, GetRecords
throws InvalidArgumentException
. The default value is 10,000.
sourcepub fn stream_arn(&self) -> Option<&str>
pub fn stream_arn(&self) -> Option<&str>
The ARN of the stream.
Trait Implementations§
source§impl Clone for GetRecordsInput
impl Clone for GetRecordsInput
source§fn clone(&self) -> GetRecordsInput
fn clone(&self) -> GetRecordsInput
Returns a copy 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 GetRecordsInput
impl Debug for GetRecordsInput
source§impl PartialEq<GetRecordsInput> for GetRecordsInput
impl PartialEq<GetRecordsInput> for GetRecordsInput
source§fn eq(&self, other: &GetRecordsInput) -> bool
fn eq(&self, other: &GetRecordsInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.