PutRecordsResultEntry
import type { PutRecordsResultEntry } from "https://aws-api.deno.dev/v0.4/services/kinesis.ts?docs=full";
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.
interface PutRecordsResultEntry {
ErrorCode?: string | null;
ErrorMessage?: string | null;
SequenceNumber?: string | null;
ShardId?: string | null;
}§Properties
§
ErrorCode?: string | null
[src]The error code for an individual record result.
ErrorCodes
can be either ProvisionedThroughputExceededException
or InternalFailure
.
§
ErrorMessage?: string | null
[src]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"
.