lambdafunction
Lambda event
- class awsmate.lambdafunction.LambdaEvent(event_object: dict)
Bases:
objectSuperclass of input events received by AWS Lambda functions triggered by the various AWS services.
Without being abstract, this class has no other public method than
LambdaEvent.__init__().- Parameters:
event_object (dict) – The parameter
eventreceived by the AWS Lambda function handler.- Raises:
TypeError – If
event_objectis not adict.
Examples
>>> def lambda_handler(raw_event, context): >>> from awsmate.lambdafunction import LambdaEvent >>> event = LambdaEvent(raw_event)