NAME
Paws::Kinesis::PutRecordsResultEntry
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Kinesis::PutRecordsResultEntry object:
$service_obj->Method(Att1 => { ErrorCode => $value, ..., ShardId => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Kinesis::PutRecordsResultEntry object:
$result = $service_obj->Method(...);
$result->Att1->ErrorCode
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.
ATTRIBUTES
ErrorCode => Str
The error code for an individual record result. ErrorCodes
can be either ProvisionedThroughputExceededException
or InternalFailure
.
ErrorMessage => Str
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"
.
SequenceNumber => Str
The sequence number for an individual record result.
ShardId => Str
The shard ID for an individual record result.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::Kinesis
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues