$req
$req is an HTTP request object that can be used within a REST API action. Use the $req object to retrieve request data.
Refer to the Amazon Gateway API page for more information on the properties of the $req object.
Property | Type |
---|---|
body | string |
headers | Object |
httpMethod | string |
isBase64Encoded | boolean |
multiValueHeaders | Object |
multiValueQueryStringParameters | Object |
Path | string |
pathParameters | Object |
queryStringParameters | Object |
requestContext | Object |
resource | string |
stageVariables | Object |