From 10b4712fdc19a8d30e92411651a74d90e9b74629 Mon Sep 17 00:00:00 2001 From: kdnakt Date: Tue, 30 Jan 2024 20:36:53 +0900 Subject: [PATCH] Fix compile error in sample code for S3ObjectLambdaEvent --- events/README_S3_Object_Lambda.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/README_S3_Object_Lambda.md b/events/README_S3_Object_Lambda.md index 2166cb91..f9ae1a73 100644 --- a/events/README_S3_Object_Lambda.md +++ b/events/README_S3_Object_Lambda.md @@ -21,7 +21,7 @@ import ( ) func handler(ctx context.Context, event events.S3ObjectLambdaEvent) error { - url := event.GetObjectContext.InputS3Url + url := event.GetObjectContext.InputS3URL resp, err := http.Get(url) if err != nil { return err