| 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 |
Amazonka.IoTEvents.Types.LambdaAction
Description
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.
Constructors
| LambdaAction' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> LambdaAction |
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.