Skip to content

Commit b39797c

Browse files
committed
remove gateway example
1 parent da10610 commit b39797c

File tree

2 files changed

+0
-43
lines changed

2 files changed

+0
-43
lines changed

Examples/LambdaFunctions/Package.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ let package = Package(
1414
.executable(name: "Benchmark", targets: ["Benchmark"]),
1515
// demonstrate different types of error handling
1616
.executable(name: "ErrorHandling", targets: ["ErrorHandling"]),
17-
// demostrate how to integrate with AWS API Gateway
18-
.executable(name: "APIGateway", targets: ["APIGateway"]),
1917
// fully featured example with domain specific business logic
2018
.executable(name: "CurrencyExchange", targets: ["CurrencyExchange"]),
2119
],
@@ -24,9 +22,6 @@ let package = Package(
2422
// in real-world projects this would say
2523
// .package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", from: "1.0.0")
2624
.package(name: "swift-aws-lambda-runtime", path: "../.."),
27-
// this is the dependency on the swift-aws-lambda-events library
28-
// FIXME: update to tag when available
29-
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", .branch("main")),
3025
],
3126
targets: [
3227
.target(name: "HelloWorld", dependencies: [
@@ -38,10 +33,6 @@ let package = Package(
3833
.target(name: "ErrorHandling", dependencies: [
3934
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
4035
]),
41-
.target(name: "APIGateway", dependencies: [
42-
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
43-
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
44-
]),
4536
.target(name: "CurrencyExchange", dependencies: [
4637
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
4738
]),

Examples/LambdaFunctions/Sources/APIGateway/main.swift

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)