aws_lambda_dart_runtime_ns 0.0.6 copy "aws_lambda_dart_runtime_ns: ^0.0.6" to clipboard
aws_lambda_dart_runtime_ns: ^0.0.6 copied to clipboard

A powerful runtime to build AWS Lambda functions in Dart with native AWS events. Sound null safety.

example/example.dart

import 'package:aws_lambda_dart_runtime_ns/aws_lambda_dart_runtime_ns.dart';

void main() => AwsLambdaRuntime()
  ..addHandler(FunctionHandler(
    name: 'main.hello',
    action: (context, event) {
      // Do something here...

      return InvocationResult(
        requestId: context.requestId,
        body: {
          'statusCode': 200,
          'message': 'Hello, World!',
        },
      );
    },
  ))
  ..invoke();
4
likes
0
pub points
57%
popularity

Publisher

verified publishershinyakato.dev

A powerful runtime to build AWS Lambda functions in Dart with native AWS events. Sound null safety.

Repository (GitHub)
View/report issues

Topics

#aws #lambda #aws-lambda

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

http

More

Packages that depend on aws_lambda_dart_runtime_ns