Skip to content

Commit 5c95ebe

Browse files
authored
Update lambda.swift
Remove stray newlines
1 parent f3abaa4 commit 5c95ebe

File tree

1 file changed

+3
-0
lines changed
  • swift/example_code/lambda/using-lambda-runtime/Sources

1 file changed

+3
-0
lines changed

swift/example_code/lambda/using-lambda-runtime/Sources/lambda.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import AWSS3
99
import protocol AWSClientRuntime.AWSServiceError
1010
import enum Smithy.ByteStream
1111
// snippet-end:[lambda.swift.function.imports]
12+
1213
// snippet-start:[lambda.swift.function.types]
1314
// snippet-start:[lambda.swift.function.struct.request]
1415
/// Represents the contents of the requests being received from the client.
@@ -19,6 +20,7 @@ struct Request: Decodable, Sendable {
1920
let body: String
2021
}
2122
// snippet-end:[lambda.swift.function.struct.request]
23+
2224
// snippet-start:[lambda.swift.function.struct.response]
2325
/// The contents of the response sent back to the client. This must be
2426
/// `Encodable`.
@@ -29,6 +31,7 @@ struct Response: Encodable, Sendable {
2931
let body: String
3032
}
3133
// snippet-end:[lambda.swift.function.struct.response]
34+
3235
// snippet-start:[lambda.swift.function.errors]
3336
/// The errors that the Lambda function can return.
3437
enum S3ExampleLambdaErrors: Error {

0 commit comments

Comments
 (0)