Struct rusoto_kinesis::PutRecordsResultEntry
[−]
[src]
pub struct PutRecordsResultEntry { pub error_code: Option<String>, pub error_message: Option<String>, pub sequence_number: Option<String>, pub shard_id: Option<String>, }
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
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"
.
sequence_number: Option<String>
The sequence number for an individual record result.
The shard ID for an individual record result.
Trait Implementations
impl Default for PutRecordsResultEntry
[src]
fn default() -> PutRecordsResultEntry
[src]
Returns the "default value" for a type. Read more
impl Debug for PutRecordsResultEntry
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PutRecordsResultEntry
[src]
fn clone(&self) -> PutRecordsResultEntry
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more