Class ApiResponse

Response to aAWS Lambda HTTP request event. Used for testing.

Hierarchy

  • ApiResponse

Constructors

Properties

body: string

HTTP response body, potentially Base64 encoded.

headers: object

HTTP response headers as a map.

isBase64Encoded: boolean

Is the body property Base64 encoded?

statusCode: number

HTTP response code (201, 400, 500 etc.)

Generated using TypeDoc