Struct rusoto_kinesis::Record
[−]
[src]
pub struct Record { pub approximate_arrival_timestamp: Option<f64>, pub data: Vec<u8>, pub encryption_type: Option<String>, pub partition_key: String, pub sequence_number: String, }
The unit of data of the Kinesis stream, which is composed of a sequence number, a partition key, and a data blob.
Fields
approximate_arrival_timestamp: Option<f64>
The approximate time that the record was inserted into the stream.
data: Vec<u8>
The data blob. The data in the blob is both opaque and immutable to Kinesis 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 MB).
encryption_type: Option<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 KMS key.
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.
Trait Implementations
impl Default for Record
[src]
impl Debug for Record
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more