#[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>Choose from the following options.
-
RequestResponse(default) - Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data. -
Event- Invoke the function asynchronously. Send events that fail multiple times to the function's dead-letter queue (if it's configured). The API response only includes a status code. -
DryRun- Validate parameter values and verify that the user or role has permission to invoke the function.
Implementations§
source§impl PipeTargetLambdaFunctionParameters
impl PipeTargetLambdaFunctionParameters
sourcepub fn invocation_type(&self) -> Option<&PipeTargetInvocationType>
pub fn invocation_type(&self) -> Option<&PipeTargetInvocationType>
Choose from the following options.
-
RequestResponse(default) - Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data. -
Event- Invoke the function asynchronously. Send events that fail multiple times to the function's dead-letter queue (if it's configured). The API response only includes a status code. -
DryRun- Validate parameter values and verify that the user or role has permission to invoke the function.
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<PipeTargetLambdaFunctionParameters> for PipeTargetLambdaFunctionParameters
impl PartialEq<PipeTargetLambdaFunctionParameters> 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 ==.