Struct aws_sdk_iotanalytics::types::LambdaActivity
source · #[non_exhaustive]pub struct LambdaActivity {
pub name: String,
pub lambda_name: String,
pub batch_size: i32,
pub next: Option<String>,
}
Expand description
An activity that runs a Lambda function to modify the message.
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.name: String
The name of the lambda activity.
lambda_name: String
The name of the Lambda function that is run on the message.
batch_size: i32
The number of messages passed to the Lambda function for processing.
The Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
next: Option<String>
The next activity in the pipeline.
Implementations§
source§impl LambdaActivity
impl LambdaActivity
sourcepub fn lambda_name(&self) -> &str
pub fn lambda_name(&self) -> &str
The name of the Lambda function that is run on the message.
sourcepub fn batch_size(&self) -> i32
pub fn batch_size(&self) -> i32
The number of messages passed to the Lambda function for processing.
The Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
source§impl LambdaActivity
impl LambdaActivity
sourcepub fn builder() -> LambdaActivityBuilder
pub fn builder() -> LambdaActivityBuilder
Creates a new builder-style object to manufacture LambdaActivity
.
Trait Implementations§
source§impl Clone for LambdaActivity
impl Clone for LambdaActivity
source§fn clone(&self) -> LambdaActivity
fn clone(&self) -> LambdaActivity
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 LambdaActivity
impl Debug for LambdaActivity
source§impl PartialEq for LambdaActivity
impl PartialEq for LambdaActivity
source§fn eq(&self, other: &LambdaActivity) -> bool
fn eq(&self, other: &LambdaActivity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LambdaActivity
Auto Trait Implementations§
impl RefUnwindSafe for LambdaActivity
impl Send for LambdaActivity
impl Sync for LambdaActivity
impl Unpin for LambdaActivity
impl UnwindSafe for LambdaActivity
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.