APIGatewayProxyResult
APIGatewayProxyResult is a data structure used in AWS Lambda functions when they are integrated with Amazon API Gateway. It represents the response that a Lambda function will return to API Gateway, which then forwards it to the client that made the original HTTP request. This structure defines the components of an HTTP response.
The APIGatewayProxyResult typically includes several key fields. The statusCode field is mandatory and specifies the HTTP
Additionally, APIGatewayProxyResult can include a isBase64Encoded field, which is a boolean indicating whether the body is