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.

Represents the output for PutRecords.

Inheritance Hierarchy

System.Object
  Amazon.Kinesis.Model.PutRecordsRequestEntry

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

Syntax

C#
public class PutRecordsRequestEntry

The PutRecordsRequestEntry type exposes the following members

Constructors

NameDescription
Public Method PutRecordsRequestEntry()

Properties

NameTypeDescription
Public Property Data System.IO.MemoryStream

Gets and sets the property Data.

The data blob to put into the record, which is base64-encoded when the blob is serialized. 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 ExplicitHashKey System.String

Gets and sets the property ExplicitHashKey.

The hash value used to determine explicitly the shard that the data record is assigned to by overriding the partition key hash.

Public Property PartitionKey System.String

Gets and sets the property PartitionKey.

Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 characters for each key. Amazon Kinesis uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream.

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