AWS SDK for .NET Documentation
Record Class
AmazonAmazon.Kinesis.ModelRecord Did this page help you?   Yes   No    Tell us about it...

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

Declaration Syntax
C#
public class Record
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Record()()()()
Initializes a new instance of the Record class

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. The maximum size of the data blob (the payload after Base64-decoding) is 50 kilobytes (KB)

Constraints:

Length
0 - 51200


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
PartitionKey
Identifies which shard in the stream the data record is assigned to.

Constraints:

Length
1 - 256


SequenceNumber
The unique identifier for the record in the Amazon Kinesis stream.

Constraints:

Pattern
0|([1-9]\d{0,128})


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithData(MemoryStream) Obsolete.
Sets the Data property

WithPartitionKey(String) Obsolete.
Sets the PartitionKey property

WithSequenceNumber(String) Obsolete.
Sets the SequenceNumber property

Inheritance Hierarchy
Object
Record

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)