AWS SDK Version 2 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.

.NET Framework 4.5
 
Represents the output for PutRecords.

Inheritance Hierarchy

System.Object
  Amazon.Kinesis.Model.PutRecordsRequestEntry

Namespace: Amazon.Kinesis.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class PutRecordsRequestEntry : Object

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 Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8