Struct aws_sdk_eventbridge::types::KinesisParameters
source · #[non_exhaustive]pub struct KinesisParameters { /* private fields */ }
Expand description
This object enables you to specify a JSON path to extract from the event and use as the partition key for the Amazon Kinesis data stream, so that you can control the shard to which the event goes. If you do not include this parameter, the default is to use the eventId
as the partition key.
Implementations§
source§impl KinesisParameters
impl KinesisParameters
sourcepub fn partition_key_path(&self) -> Option<&str>
pub fn partition_key_path(&self) -> Option<&str>
The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide.
source§impl KinesisParameters
impl KinesisParameters
sourcepub fn builder() -> KinesisParametersBuilder
pub fn builder() -> KinesisParametersBuilder
Creates a new builder-style object to manufacture KinesisParameters
.
Trait Implementations§
source§impl Clone for KinesisParameters
impl Clone for KinesisParameters
source§fn clone(&self) -> KinesisParameters
fn clone(&self) -> KinesisParameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KinesisParameters
impl Debug for KinesisParameters
source§impl PartialEq<KinesisParameters> for KinesisParameters
impl PartialEq<KinesisParameters> for KinesisParameters
source§fn eq(&self, other: &KinesisParameters) -> bool
fn eq(&self, other: &KinesisParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KinesisParameters
Auto Trait Implementations§
impl RefUnwindSafe for KinesisParameters
impl Send for KinesisParameters
impl Sync for KinesisParameters
impl Unpin for KinesisParameters
impl UnwindSafe for KinesisParameters
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more