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.
ErrorCodescan be eitherProvisionedThroughputExceededExceptionorInternalFailure.final - errorMessage → String?
-
The error message for an individual record result. An
ErrorCodevalue ofProvisionedThroughputExceededExceptionhas an error message that includes the account ID, stream name, and shard ID. AnErrorCodevalue ofInternalFailurehas 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