A response object for aws-lambda-rust-runtime, when the lambda function integrated into API Gateway.
```rust use lambdaapigatewayresponse::{ http::StatusCode, types::{ Headers, MultiValueHeaders, }, Response, }; use lambdaruntime::{ Error as LambdaError, LambdaEvent, }; use serdejson::json;
type LambdaResult
async fn handler(
event: LambdaEvent
Ok(res)
}
async fn main() -> LambdaResult<()> { let handlerfn = lambdaruntime::servicefn(handler); lambdaruntime::run(handler_fn).await?;
Ok(())
} ```