[][src]Struct rusoto_kinesis::PutRecordsRequestEntry

pub struct PutRecordsRequestEntry {
    pub data: Bytes,
    pub explicit_hash_key: Option<String>,
    pub partition_key: String,
}

Represents the output for PutRecords.

Fields

data: Bytes

The data blob to put into the record, which is base64-encoded when the blob is serialized. 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).

explicit_hash_key: Option<String>

The hash value used to determine explicitly the shard that the data record is assigned to by overriding the partition key hash.

partition_key: String

Determines which shard in the stream the data record is assigned to. Partition keys are Unicode strings with a maximum length limit of 256 characters for each key. Amazon Kinesis Data Streams uses the partition key as input to a hash function that maps the partition key and associated data to a specific shard. Specifically, an MD5 hash function is used to map partition keys to 128-bit integer values and to map associated data records to shards. As a result of this hashing mechanism, all data records with the same partition key map to the same shard within the stream.

Trait Implementations

impl Clone for PutRecordsRequestEntry[src]

impl Debug for PutRecordsRequestEntry[src]

impl Default for PutRecordsRequestEntry[src]

impl PartialEq<PutRecordsRequestEntry> for PutRecordsRequestEntry[src]

impl Serialize for PutRecordsRequestEntry[src]

impl StructuralPartialEq for PutRecordsRequestEntry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.