From 81d63bd21219911099b1dd9a2b1e4d46d4a87288 Mon Sep 17 00:00:00 2001 From: Bryan Moffatt Date: Wed, 12 Apr 2023 15:47:21 -0700 Subject: [PATCH] Add a note about lambda.norpc to the godoc of LambdaFunctionURLStreamingResponse (#501) --- events/lambda_function_urls.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/events/lambda_function_urls.go b/events/lambda_function_urls.go index bef9869d..52a48e83 100644 --- a/events/lambda_function_urls.go +++ b/events/lambda_function_urls.go @@ -82,6 +82,8 @@ type LambdaFunctionURLResponse struct { // Body: strings.NewReader("Hello World!"), // }, nil // }) +// +// Note: This response type requires compiling with `-tags lambda.norpc`, or choosing the `provided` or `provided.al2` runtime. type LambdaFunctionURLStreamingResponse struct { prelude *bytes.Buffer