ga4gh.refget.serverless.middleware.start
¶
Start of middleware, creates an initial response object
The start middleware function creates an initial response object and passes it to subsequent middleware functions and/or api route worker function
Functions¶
StartMidware()
: Creates the start middleware decorator function
-
ga4gh.refget.serverless.middleware.start.
StartMidware
(event, context)¶ Creates the start middleware decorator function
- Parameters
event (dict[str, object]) – AWS SAM event (incl. headers, path params, query params)
context (dict[str, str]) – AWS SAM context
- Returns
higher order decorator function
- Return type
function