{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PutRecordsResultEntry",
"title": "PutRecordsResultEntry",
"type": "object",
"properties": {
"SequenceNumber": {
"allOf": [
{
"$ref": "#/components/schemas/SequenceNumber"
},
{
"description": "The sequence number for an individual record result."
}
]
},
"ShardId": {
"allOf": [
{
"$ref": "#/components/schemas/ShardId"
},
{
"description": "The shard ID for an individual record result."
}
]
},
"ErrorCode": {
"allOf": [
{
"$ref": "#/components/schemas/ErrorCode"
},
{
"description": "The error code for an individual record result. ErrorCodes can be either ProvisionedThroughputExceededException or InternalFailure."
}
]
},
"ErrorMessage": {
"allOf": [
{
"$ref": "#/components/schemas/ErrorMessage"
},
{
"description": "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\"."
}
]
}
},
"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."
}