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

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

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

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.

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

The unique identifier of the record within its shard.

Trait Implementations

impl Default for Record
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for Record
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Record
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Record

impl Sync for Record