Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Record

import type { Record } from "https://aws-api.deno.dev/v0.4/services/kinesis.ts?docs=full";

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

interface Record {
ApproximateArrivalTimestamp?: Date | number | null;
Data: Uint8Array;
EncryptionType?: EncryptionType | null;
PartitionKey: string;
SequenceNumber: string;
}

§Properties

§
ApproximateArrivalTimestamp?: Date | number | null
[src]

The approximate time that the record was inserted into the stream.

§
Data: Uint8Array
[src]

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

§
EncryptionType?: EncryptionType | null
[src]

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.
§
PartitionKey: string
[src]

Identifies which shard in the stream the data record is assigned to.

§
SequenceNumber: string
[src]

The unique identifier of the record within its shard.