We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33202cd commit 46e5337Copy full SHA for 46e5337
Examples/AWSSDK/Sources/main.swift
@@ -14,11 +14,12 @@
14
15
import AWSLambdaEvents
16
import AWSLambdaRuntime
17
-
18
@preconcurrency import AWSS3
+
19
let client = try await S3Client()
20
21
-let runtime = LambdaRuntime.init { (event: APIGatewayV2Request, context: LambdaContext) async throws -> APIGatewayV2Response in
+let runtime = LambdaRuntime.init {
22
+ (event: APIGatewayV2Request, context: LambdaContext) async throws -> APIGatewayV2Response in
23
24
var response: APIGatewayV2Response
25
do {
0 commit comments