#[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 theRequestResponse
option in theInvocationType
parameter for the Lambda Invoke API. -
FIRE_AND_FORGET
- Invoke asynchronously. This corresponds to theEvent
option in theInvocationType
parameter 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 theRequestResponse
option in theInvocationType
parameter for the Lambda Invoke API. -
FIRE_AND_FORGET
- Invoke asynchronously. This corresponds to theEvent
option in theInvocationType
parameter 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 theRequestResponse
option in theInvocationType
parameter for the Lambda Invoke API. -
FIRE_AND_FORGET
- Invoke asynchronously. This corresponds to theEvent
option in theInvocationType
parameter 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 ==
.