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 data 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 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 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 AWS 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 Default for Record
impl Debug for Record
[src]
impl Debug for Record
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Record
[src]
impl Clone for Record
fn clone(&self) -> Record
[src]
fn clone(&self) -> Record
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Record
[src]
impl PartialEq for Record