MCPcopy Create free account
hub / github.com/cdk-patterns/serverless / sendRes

Function sendRes

the-rds-proxy/python/lambda_fns/rds/rdsLambda.js:95–104  ·  view source on GitHub ↗
(status, body)

Source from the content-addressed store, hash-verified

93 return sendRes(200, `You have connected with the RDS Proxy! <br /><br /> ${queryResult}`);
94};
95const sendRes = (status, body) => {
96 var response = {
97 statusCode: status,
98 headers: {
99 "Content-Type": "text/html"
100 },
101 body: body
102 };
103 return response;
104};

Callers 1

rdsLambda.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected