Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 611 Bytes

File metadata and controls

21 lines (15 loc) · 611 Bytes
title description
Typing
Utility

This typing utility provides static typing classes that can be used to ease the development by providing the IDE type hints.

Utilities Typing

LambdaContext

The LambdaContext typing is typically used in the handler method for the Lambda function.

from typing import Any, Dict
from aws_lambda_powertools.utilities.typing import LambdaContext

def handler(event: Dict[str, Any], context: LambdaContext) -> Dict[str, Any]:
	# Insert business logic
	return event