PutRecordsResultEntry class
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.
Constructors
- PutRecordsResultEntry({String? errorCode, String? errorMessage, String? sequenceNumber, String? shardId})
-
PutRecordsResultEntry.fromJson(Map<
String, dynamic> json) -
factory
Properties
- errorCode → String?
-
The error code for an individual record result.
ErrorCodes
can be eitherProvisionedThroughputExceededException
orInternalFailure
.final - errorMessage → String?
-
The error message for an individual record result. An
ErrorCode
value ofProvisionedThroughputExceededException
has an error message that includes the account ID, stream name, and shard ID. AnErrorCode
value ofInternalFailure
has the error message"Internal Service Failure"
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequenceNumber → String?
-
The sequence number for an individual record result.
final
-
The shard ID for an individual record result.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited