AWSKinesisRecord Class Reference

Inherits from AWSModel : AWSMTLModel
Declared in AWSKinesisModel.h
AWSKinesisModel.m

Overview

The unit of data of the Kinesis data stream, which is composed of a sequence number, a partition key, and a data blob.

Required parameters: [SequenceNumber, Data, PartitionKey]

  approximateArrivalTimestamp

The approximate time that the record was inserted into the stream.

@property (nonatomic, strong) NSDate *approximateArrivalTimestamp

Declared In

AWSKinesisModel.h

  data

The data blob. The data in the blob is both opaque and immutable to Kinesis Data Streams, which does not inspect, interpret, or change the data in the blob in any way. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MB).

@property (nonatomic, strong) NSData *data

Declared In

AWSKinesisModel.h

  encryptionType

The encryption type used on the record. This parameter can be one of the following values:

  • NONE: Do not encrypt the records in the stream.

  • KMS: Use server-side encryption on the records in the stream using a customer-managed AWS KMS key.

@property (nonatomic, assign) AWSKinesisEncryptionType encryptionType

Declared In

AWSKinesisModel.h

  partitionKey

Identifies which shard in the stream the data record is assigned to.

@property (nonatomic, strong) NSString *partitionKey

Declared In

AWSKinesisModel.h

  sequenceNumber

The unique identifier of the record within its shard.

@property (nonatomic, strong) NSString *sequenceNumber

Declared In

AWSKinesisModel.h