AWSKinesisPutRecordsResultEntry

Objective-C

@interface AWSKinesisPutRecordsResultEntry

Swift

class AWSKinesisPutRecordsResultEntry

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.

  • The error code for an individual record result. ErrorCodes can be either ProvisionedThroughputExceededException or InternalFailure.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable errorCode;

    Swift

    var errorCode: String? { get set }
  • 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".

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable errorMessage;

    Swift

    var errorMessage: String? { get set }
  • The sequence number for an individual record result.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable sequenceNumber;

    Swift

    var sequenceNumber: String? { get set }
  • The shard ID for an individual record result.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable shardId;

    Swift

    var shardId: String? { get set }