Metadata-Version: 2.1
Name: aws-lambda-types
Version: 0.2.0
Summary: Type definitions for AWS Lambda events using Python type hinting.
Home-page: https://github.com/emcpow2/aws-lambda-py-types
License: MIT
Author: Eduard Iskandarov
Author-email: eduard.iskandarov@yandex.ru
Requires-Python: >=3.6.1,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: typing-extensions (>=3.7.4,<4.0.0)
Project-URL: Repository, https://github.com/emcpow2/aws-lambda-py-types
Description-Content-Type: text/markdown

# aws-lambda-py-types

[![Test](https://github.com/emcpow2/aws-lambda-py-types/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/emcpow2/aws-lambda-py-types/actions/workflows/main.yml)

Type definitions for AWS Lambda events using Python type hinting.

## A Simple Example

```py
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](./docs/usage.gif)

## Useful documentation

- [Application Load Balancers - Lambda functions as targets](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/lambda-functions.html)
- [Using AWS Lambda with Amazon SNS](https://docs.aws.amazon.com/lambda/latest/dg/with-sns.html)
- [Working with AWS Lambda proxy integrations for HTTP APIs](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html)

