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

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".

The sequence number for an individual record result.

The shard ID for an individual record result.

Trait Implementations

impl Default for PutRecordsResultEntry
[src]

Returns the "default value" for a type. Read more

impl Debug for PutRecordsResultEntry
[src]

Formats the value using the given formatter. Read more

impl Clone for PutRecordsResultEntry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for PutRecordsResultEntry
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations