Skip to main content

Type definitions for AWS Lambda events using Python type hinting.

Project description

aws-lambda-py-types

Test

Type definitions for AWS Lambda events using Python type hinting.

A Simple Example

from aws_lambda_types.sns import SNSEventDict


def lambda_handler(event: SNSEventDict, context):
    message = event["Records"][0]["Sns"]["Message"]
    print("From SNS: " + message)
    return message

usage.gif

Useful documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-lambda-types-0.2.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

aws_lambda_types-0.2.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page