pub struct Builder { /* private fields */ }
Expand description
A builder for PipeTargetLambdaFunctionParameters
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn invocation_type(self, input: PipeTargetInvocationType) -> Self
pub fn invocation_type(self, input: PipeTargetInvocationType) -> Self
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.
sourcepub fn set_invocation_type(self, input: Option<PipeTargetInvocationType>) -> Self
pub fn set_invocation_type(self, input: Option<PipeTargetInvocationType>) -> Self
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.
sourcepub fn build(self) -> PipeTargetLambdaFunctionParameters
pub fn build(self) -> PipeTargetLambdaFunctionParameters
Consumes the builder and constructs a PipeTargetLambdaFunctionParameters
.