You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Kinesis::Types::Record
- Inherits:
-
Struct
- Object
- Struct
- Aws::Kinesis::Types::Record
- Defined in:
- (unknown)
Overview
The unit of data of the Kinesis data stream, which is composed of a sequence number, a partition key, and a data blob.
Instance Attribute Summary collapse
-
#approximate_arrival_timestamp ⇒ Time
The approximate time that the record was inserted into the stream.
-
#data ⇒ String
The data blob.
-
#encryption_type ⇒ String
The encryption type used on the record.
-
#partition_key ⇒ String
Identifies which shard in the stream the data record is assigned to.
-
#sequence_number ⇒ String
The unique identifier of the record within its shard.
Instance Attribute Details
#approximate_arrival_timestamp ⇒ Time
The approximate time that the record was inserted into the stream.
#data ⇒ String
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).
#encryption_type ⇒ String
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 AWS KMS key.Possible values:
- NONE
- KMS
#partition_key ⇒ String
Identifies which shard in the stream the data record is assigned to.
#sequence_number ⇒ String
The unique identifier of the record within its shard.