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

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 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 MiB).

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 Amazon Web Services 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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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