$res
$res is an HTTP response object that can be used within a REST API action. Use the $res object to set the response data to be returned.
Refer to the Amazon Gateway API page for more information on the properties of the $res object.
| Property | Type |
|---|---|
| body | string |
| headers | Object |
| isBase64Encoded | boolean |
| multiValueHeaders | Object |
| statusCode | number |