Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data LambdaAction Source #
Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
See: newLambdaAction
smart constructor.
LambdaAction' | |
|
Instances
Create a value of LambdaAction
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:payload:LambdaAction'
, lambdaAction_payload
- You can configure the action payload when you send a message to a Lambda
function.
$sel:functionArn:LambdaAction'
, lambdaAction_functionArn
- The ARN of the Lambda function that is executed.
lambdaAction_payload :: Lens' LambdaAction (Maybe Payload) Source #
You can configure the action payload when you send a message to a Lambda function.
lambdaAction_functionArn :: Lens' LambdaAction Text Source #
The ARN of the Lambda function that is executed.