$req
$reqは、REST APIのアクション内で使用できるHTTPリクエストオブジェクトです。 $reqオブジェクトを使って、リクエストデータを取得してください。 $reqオブジェクトのプロパティについては、Amazon Gateway APIのページを参照してください。
| プロパティ | 型 |
|---|---|
| body | string |
| headers | Object |
| httpMethod | string |
| isBase64Encoded | boolean |
| multiValueHeaders | Object |
| multiValueQueryStringParameters | Object |
| Path | string |
| pathParameters | Object |
| queryStringParameters | Object |
| requestContext | Object |
| resource | string |
| stageVariables | Object |