OptionalbodyThe body of the HTTP response. Can be of any type, including strings, objects, or buffers.
OptionalheadersHeaders to include in the HTTP response. May be a Headers instance (from http-core) or a
plain record; the wrapper normalizes it and lifts out Set-Cookie.
OptionalisThe encoding format of the response body, such as base64.
OptionalmultiMulti-value response headers, used by API Gateway to emit multiple Set-Cookie.
The HTTP status code of the response (e.g., 200, 404).
OptionalstatusThe status message accompanying the HTTP status code (e.g., OK, Not Found).
Represents options for configuring a raw HTTP response.
Extends the
RawResponseOptionsinterface to include additional properties for managing response content, headers, status codes, and streaming files.