AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy


Namespace: Amazon.Kinesis.Model
Assembly: AWSSDK.Kinesis.dll
Version: 3.x.y.z


public class Record

The Record type exposes the following members


Public Method Record()


Public Property ApproximateArrivalTimestamp System.DateTime

Gets and sets the property ApproximateArrivalTimestamp.

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

Public Property Data System.IO.MemoryStream

Gets and sets the property 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).

Public Property EncryptionType Amazon.Kinesis.EncryptionType

Gets and sets the property 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.

Public Property PartitionKey System.String

Gets and sets the property PartitionKey.

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

Public Property SequenceNumber System.String

Gets and sets the property SequenceNumber.

The unique identifier of the record within its shard.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone