Type Alias: AwsLambdaEventHandlerFunction()<RawResponseType>
Type Alias: AwsLambdaEventHandlerFunction()<RawResponseType>
type AwsLambdaEventHandlerFunction<RawResponseType> = (rawEvent, context) => Promise<RawResponseType>;
Represents an AWS Lambda event handler function.
Type Parameters
RawResponseType
RawResponseType = RawHttpResponse
The type of the response returned by the handler.
Parameters
rawEvent
The raw event received by the AWS Lambda function.
context
The AWS Lambda execution context.
Returns
Promise<RawResponseType>
A promise resolving to the response of type RawResponseType.
