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 Amazon Kinesis stream, which is composed of a sequence number, a partition key, and a data blob.

Inheritance Hierarchy

System.Object
  Amazon.Kinesis.Model.Record

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

Syntax

C#
public class Record

The Record type exposes the following members

Constructors

NameDescription
Public Method Record()

Properties

NameTypeDescription
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 the Amazon Kinesis service, 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 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

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