amazonka-lambda-0.0.8: Amazon Lambda SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lambda.InvokeAsync

Contents

Description

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

Synopsis

Request

Request constructor

invokeAsync Source

InvokeAsync constructor.

The fields accessible through corresponding lenses are:

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 Source

InvokeAsyncResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

iarStatus :: Lens' InvokeAsyncResponse Int Source

It will be 202 upon success.