#[non_exhaustive]pub struct PipeTargetLambdaFunctionParametersBuilder { /* private fields */ }Expand description
A builder for PipeTargetLambdaFunctionParameters.
Implementations§
source§impl PipeTargetLambdaFunctionParametersBuilder
impl PipeTargetLambdaFunctionParametersBuilder
sourcepub fn invocation_type(self, input: PipeTargetInvocationType) -> Self
pub fn invocation_type(self, input: PipeTargetInvocationType) -> Self
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.
sourcepub fn set_invocation_type(
self,
input: Option<PipeTargetInvocationType>,
) -> Self
pub fn set_invocation_type( self, input: Option<PipeTargetInvocationType>, ) -> Self
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.
sourcepub fn get_invocation_type(&self) -> &Option<PipeTargetInvocationType>
pub fn get_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.
sourcepub fn build(self) -> PipeTargetLambdaFunctionParameters
pub fn build(self) -> PipeTargetLambdaFunctionParameters
Consumes the builder and constructs a PipeTargetLambdaFunctionParameters.
Trait Implementations§
source§impl Clone for PipeTargetLambdaFunctionParametersBuilder
impl Clone for PipeTargetLambdaFunctionParametersBuilder
source§fn clone(&self) -> PipeTargetLambdaFunctionParametersBuilder
fn clone(&self) -> PipeTargetLambdaFunctionParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PipeTargetLambdaFunctionParametersBuilder
impl Default for PipeTargetLambdaFunctionParametersBuilder
source§fn default() -> PipeTargetLambdaFunctionParametersBuilder
fn default() -> PipeTargetLambdaFunctionParametersBuilder
source§impl PartialEq for PipeTargetLambdaFunctionParametersBuilder
impl PartialEq for PipeTargetLambdaFunctionParametersBuilder
source§fn eq(&self, other: &PipeTargetLambdaFunctionParametersBuilder) -> bool
fn eq(&self, other: &PipeTargetLambdaFunctionParametersBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PipeTargetLambdaFunctionParametersBuilder
Auto Trait Implementations§
impl Freeze for PipeTargetLambdaFunctionParametersBuilder
impl RefUnwindSafe for PipeTargetLambdaFunctionParametersBuilder
impl Send for PipeTargetLambdaFunctionParametersBuilder
impl Sync for PipeTargetLambdaFunctionParametersBuilder
impl Unpin for PipeTargetLambdaFunctionParametersBuilder
impl UnwindSafe for PipeTargetLambdaFunctionParametersBuilder
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