aws_lambda_dart_runtime_ns library
Classes
- 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)