UNPKG

@multicloud/sls-aws

Version:

Amazon AWS specific middleware and components for Serverless @multicloud.

24 lines (23 loc) 701 B
import "reflect-metadata"; import { CloudRequest, StringParams } from "@multicloud/sls-core"; import { AwsContext } from "."; /** * Implementation of Cloud Request for AWS Lambda */ export declare class AwsRequest implements CloudRequest { /** Body of HTTP Request */ body?: any; /** Headers of HTTP Request */ headers?: StringParams; /** HTTP method of request */ method: string; /** Query params of HTTP request */ query?: StringParams; /** Path params of HTTP Request */ pathParams?: StringParams; /** * Initialize new AWS Request, injecting cloud context * @param context Current CloudContext */ constructor(context: AwsContext); }