Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data PipeTargetLambdaFunctionParameters Source #
The parameters for using a Lambda function as a target.
See: newPipeTargetLambdaFunctionParameters
smart constructor.
PipeTargetLambdaFunctionParameters' | |
|
Instances
newPipeTargetLambdaFunctionParameters :: PipeTargetLambdaFunctionParameters Source #
Create a value of PipeTargetLambdaFunctionParameters
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:invocationType:PipeTargetLambdaFunctionParameters'
, pipeTargetLambdaFunctionParameters_invocationType
- 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.
pipeTargetLambdaFunctionParameters_invocationType :: Lens' PipeTargetLambdaFunctionParameters (Maybe PipeTargetInvocationType) Source #
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.