Struct aws_sdk_kinesis::model::PutRecordsResultEntry
source · [−]#[non_exhaustive]pub struct PutRecordsResultEntry {
pub sequence_number: Option<String>,
pub shard_id: Option<String>,
pub error_code: Option<String>,
pub error_message: Option<String>,
}
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.
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.sequence_number: Option<String>
The sequence number for an individual record result.
shard_id: Option<String>
The shard ID for an individual record result.
error_code: Option<String>
The error code for an individual record result. ErrorCodes
can be either ProvisionedThroughputExceededException
or InternalFailure
.
error_message: Option<String>
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"
.
Implementations
The sequence number for an individual record result.
The error code for an individual record result. ErrorCodes
can be either ProvisionedThroughputExceededException
or InternalFailure
.
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"
.
Creates a new builder-style object to manufacture PutRecordsResultEntry
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PutRecordsResultEntry
impl Send for PutRecordsResultEntry
impl Sync for PutRecordsResultEntry
impl Unpin for PutRecordsResultEntry
impl UnwindSafe for PutRecordsResultEntry
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more