Struct aws_sdk_kinesis::model::PutRecordsResultEntry
source · #[non_exhaustive]pub struct PutRecordsResultEntry { /* private fields */ }
Expand description
Represents the result of an individual record from a PutRecords
request. A record that is successfully added to a stream includes SequenceNumber
and ShardId
in the result. A record that fails to be added to the stream includes ErrorCode
and ErrorMessage
in the result.
Implementations§
source§impl PutRecordsResultEntry
impl PutRecordsResultEntry
sourcepub fn sequence_number(&self) -> Option<&str>
pub fn sequence_number(&self) -> Option<&str>
The sequence number for an individual record result.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The error code for an individual record result. ErrorCodes
can be either ProvisionedThroughputExceededException
or InternalFailure
.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The error message for an individual record result. An ErrorCode
value of ProvisionedThroughputExceededException
has an error message that includes the account ID, stream name, and shard ID. An ErrorCode
value of InternalFailure
has the error message "Internal Service Failure"
.
source§impl PutRecordsResultEntry
impl PutRecordsResultEntry
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutRecordsResultEntry
.
Trait Implementations§
source§impl Clone for PutRecordsResultEntry
impl Clone for PutRecordsResultEntry
source§fn clone(&self) -> PutRecordsResultEntry
fn clone(&self) -> PutRecordsResultEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutRecordsResultEntry
impl Debug for PutRecordsResultEntry
source§impl PartialEq<PutRecordsResultEntry> for PutRecordsResultEntry
impl PartialEq<PutRecordsResultEntry> for PutRecordsResultEntry
source§fn eq(&self, other: &PutRecordsResultEntry) -> bool
fn eq(&self, other: &PutRecordsResultEntry) -> bool
self
and other
values to be equal, and is used
by ==
.