Type definitions for AWS Lambda events using Python type hinting.
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