#[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 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.
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 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.
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 ==
.