Handles the outgoing response, processes it, and invokes the next middleware in the pipeline.
The adapter context containing the raw event, execution context, and other data.
The next middleware to be invoked in the pipeline.
A promise resolving to the rawResponseBuilder.
Middleware for handling server responses and transforming them into the appropriate HTTP responses.
This middleware processes outgoing responses and attaches the necessary headers, status codes, and body content to the HTTP response.