#[non_exhaustive]pub struct PipeTargetLambdaFunctionParameters { /* private fields */ }
Expand description
The parameters for using a Lambda function as a target.
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() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self
and other
values to be equal, and is used
by ==
.