aws_lambda_dart_runtime_ns library

Classes

AwsApiGatewayResponse
API Gateway Response contains the data for a response to the API Gateway. It contains the body of the HTTP response. It also contains a HTTP Status Code which by default is 200. Furthermore it indicates if the body is Base64 encoded or not.
AwsLambdaRuntime
FunctionHandler
Represents a function to be executed by AWS Lambda.
InvocationResult
Invocation result is the result that the invoked handler returns and is posted to the Lambda Runtime Interface.
RuntimeContext
Context contains the Lambda execution context information. They are either provided via Platform.environment or NextInvocation which is the result from the Lambda API.

Functions

invokeAwsLambdaRuntime(List<FunctionHandler> handlers) Future<void>
Shortcut to safely run AwsLambdaRuntime.

Typedefs

FunctionAction = FutureOr<InvocationResult> Function(RuntimeContext context, Map<String, dynamic> event)