Struct aws_sdk_iot::types::KinesisAction
source · #[non_exhaustive]pub struct KinesisAction {
pub role_arn: String,
pub stream_name: String,
pub partition_key: Option<String>,
}
Expand description
Describes an action to write data to an Amazon Kinesis stream.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.role_arn: String
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
stream_name: String
The name of the Amazon Kinesis stream.
partition_key: Option<String>
The partition key.
Implementations§
source§impl KinesisAction
impl KinesisAction
sourcepub fn role_arn(&self) -> &str
pub fn role_arn(&self) -> &str
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
sourcepub fn stream_name(&self) -> &str
pub fn stream_name(&self) -> &str
The name of the Amazon Kinesis stream.
sourcepub fn partition_key(&self) -> Option<&str>
pub fn partition_key(&self) -> Option<&str>
The partition key.
source§impl KinesisAction
impl KinesisAction
sourcepub fn builder() -> KinesisActionBuilder
pub fn builder() -> KinesisActionBuilder
Creates a new builder-style object to manufacture KinesisAction
.
Trait Implementations§
source§impl Clone for KinesisAction
impl Clone for KinesisAction
source§fn clone(&self) -> KinesisAction
fn clone(&self) -> KinesisAction
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 KinesisAction
impl Debug for KinesisAction
source§impl PartialEq for KinesisAction
impl PartialEq for KinesisAction
source§fn eq(&self, other: &KinesisAction) -> bool
fn eq(&self, other: &KinesisAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KinesisAction
Auto Trait Implementations§
impl Freeze for KinesisAction
impl RefUnwindSafe for KinesisAction
impl Send for KinesisAction
impl Sync for KinesisAction
impl Unpin for KinesisAction
impl UnwindSafe for KinesisAction
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.