class
Amazonite::Kinesis::PutRecordsResultEntry
- Amazonite::Kinesis::PutRecordsResultEntry
- Reference
- Object
Overview
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.
Included Modules
- JSON::Serializable
Defined in:
kinesis/put_records_result_entry.crConstructors
- .new(pull : JSON::PullParser)
- .new(sequence_number : String | Nil = nil, shard_id : String | Nil = nil, error_code : String | Nil = nil, error_message : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#error_code : String | Nil
The error code for an individual record result.
-
#error_code=(error_code : String | Nil)
The error code for an individual record result.
-
#error_message : String | Nil
The error message for an individual record result.
-
#error_message=(error_message : String | Nil)
The error message for an individual record result.
-
#hash(hasher)
See
Object#hash(hasher) -
#sequence_number : String | Nil
The sequence number for an individual record result.
-
#sequence_number=(sequence_number : String | Nil)
The sequence number for an individual record result.
-
#shard_id : String | Nil
The shard ID for an individual record result.
-
#shard_id=(shard_id : String | Nil)
The shard ID for an individual record result.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The error code for an individual record result. ErrorCodes can be either
ProvisionedThroughputExceededException or InternalFailure.
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 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.