Safe Haskell | None |
---|---|
Language | Haskell2010 |
Submits an invocation request to AWS Lambda. Upon receiving the request, Lambda executes the specified function asynchronously. To see the logs generated by the Lambda function execution, see the CloudWatch logs console.
This operation requires permission for the 'lambda:InvokeAsync' action.
http://docs.aws.amazon.com/lambda/latest/dg/API_InvokeAsync.html
- data InvokeAsync
- invokeAsync :: Text -> Base64 -> InvokeAsync
- iaFunctionName :: Lens' InvokeAsync Text
- iaInvokeArgs :: Lens' InvokeAsync Base64
- data InvokeAsyncResponse
- invokeAsyncResponse :: Int -> InvokeAsyncResponse
- iarStatus :: Lens' InvokeAsyncResponse Int
Request
data InvokeAsync Source
Eq InvokeAsync | |
Read InvokeAsync | |
Show InvokeAsync | |
ToJSON InvokeAsync | |
AWSRequest InvokeAsync | |
ToQuery InvokeAsync | |
ToPath InvokeAsync | |
ToHeaders InvokeAsync | |
type Sv InvokeAsync = Lambda | |
type Rs InvokeAsync = InvokeAsyncResponse |
Request constructor
:: Text | |
-> Base64 | |
-> InvokeAsync |
InvokeAsync
constructor.
The fields accessible through corresponding lenses are:
iaFunctionName
::
Text
iaInvokeArgs
::
Base64
Request lenses
iaFunctionName :: Lens' InvokeAsync Text Source
The Lambda function name.
iaInvokeArgs :: Lens' InvokeAsync Base64 Source
JSON that you want to provide to your Lambda function as input.
Response
Response constructor
InvokeAsyncResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
iarStatus :: Lens' InvokeAsyncResponse Int Source
It will be 202 upon success.