MCPcopy Index your code
hub / github.com/aws/aws-lambda-rust-runtime / main

Function main

lambda-integration-tests/src/authorizer.rs:19–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18#[tokio::main]
19async fn main() -> Result<(), Error> {
20 tracing::init_default_subscriber();
21 let func = service_fn(func);
22 lambda_runtime::run(func).await?;
23 Ok(())
24}
25
26async fn func(
27 event: LambdaEvent<APIGatewayCustomAuthorizerRequest>,

Callers

nothing calls this directly

Calls 2

init_default_subscriberFunction · 0.85
runFunction · 0.50

Tested by

no test coverage detected