Skip to content

Commit cc3f3c2

Browse files
committed
add soto client shutdown
1 parent 683cd55 commit cc3f3c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Examples/Soto/Sources/main.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ func handler(event: APIGatewayV2Request, context: LambdaContext) async throws ->
3737
}
3838

3939
let runtime = LambdaRuntime.init(body: handler)
40+
4041
try await runtime.run()
42+
try await client.shutdown()

0 commit comments

Comments
 (0)