#[non_exhaustive]pub struct PipeTargetLambdaFunctionParameters {
pub invocation_type: Option<PipeTargetInvocationType>,
}Expand description
The parameters for using a Lambda function as a target.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.invocation_type: Option<PipeTargetInvocationType>Specify whether to invoke the function synchronously or asynchronously.
-
REQUEST_RESPONSE(default) - Invoke synchronously. This corresponds to theRequestResponseoption in theInvocationTypeparameter for the Lambda Invoke API. -
FIRE_AND_FORGET- Invoke asynchronously. This corresponds to theEventoption in theInvocationTypeparameter for the Lambda Invoke API.
For more information, see Invocation types in the Amazon EventBridge User Guide.
Implementations§
source§impl PipeTargetLambdaFunctionParameters
impl PipeTargetLambdaFunctionParameters
sourcepub fn invocation_type(&self) -> Option<&PipeTargetInvocationType>
pub fn invocation_type(&self) -> Option<&PipeTargetInvocationType>
Specify whether to invoke the function synchronously or asynchronously.
-
REQUEST_RESPONSE(default) - Invoke synchronously. This corresponds to theRequestResponseoption in theInvocationTypeparameter for the Lambda Invoke API. -
FIRE_AND_FORGET- Invoke asynchronously. This corresponds to theEventoption in theInvocationTypeparameter for the Lambda Invoke API.
For more information, see Invocation types in the Amazon EventBridge User Guide.
source§impl PipeTargetLambdaFunctionParameters
impl PipeTargetLambdaFunctionParameters
sourcepub fn builder() -> PipeTargetLambdaFunctionParametersBuilder
pub fn builder() -> PipeTargetLambdaFunctionParametersBuilder
Creates a new builder-style object to manufacture PipeTargetLambdaFunctionParameters.
Trait Implementations§
source§impl Clone for PipeTargetLambdaFunctionParameters
impl Clone for PipeTargetLambdaFunctionParameters
source§fn clone(&self) -> PipeTargetLambdaFunctionParameters
fn clone(&self) -> PipeTargetLambdaFunctionParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for PipeTargetLambdaFunctionParameters
impl PartialEq for PipeTargetLambdaFunctionParameters
source§fn eq(&self, other: &PipeTargetLambdaFunctionParameters) -> bool
fn eq(&self, other: &PipeTargetLambdaFunctionParameters) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PipeTargetLambdaFunctionParameters
Auto Trait Implementations§
impl Freeze for PipeTargetLambdaFunctionParameters
impl RefUnwindSafe for PipeTargetLambdaFunctionParameters
impl Send for PipeTargetLambdaFunctionParameters
impl Sync for PipeTargetLambdaFunctionParameters
impl Unpin for PipeTargetLambdaFunctionParameters
impl UnwindSafe for PipeTargetLambdaFunctionParameters
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more