aws-lambda-types-0.2.1
توضیحات
Type definitions for AWS Lambda events using Python type hinting.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aws-lambda-types-0.2.1 |
| نام | aws-lambda-types |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Eduard Iskandarov |
| ایمیل نویسنده | eduard.iskandarov@yandex.ru |
| آدرس صفحه اصلی | https://github.com/emcpow2/aws-lambda-py-types |
| آدرس اینترنتی | https://pypi.org/project/aws-lambda-types/ |
| مجوز | MIT |
# aws-lambda-py-types
[](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
```

## 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)
نیازمندی
| مقدار | نام |
|---|---|
| >=3.7.4,<4.0.0 | typing-extensions |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.1,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl aws-lambda-types-0.2.1:
pip install aws-lambda-types-0.2.1.whl
نصب پکیج tar.gz aws-lambda-types-0.2.1:
pip install aws-lambda-types-0.2.1.tar.gz