@@ -14,8 +14,6 @@ let package = Package(
14
14
. executable( name: " Benchmark " , targets: [ " Benchmark " ] ) ,
15
15
// demonstrate different types of error handling
16
16
. executable( name: " ErrorHandling " , targets: [ " ErrorHandling " ] ) ,
17
- // demostrate how to integrate with AWS API Gateway
18
- . executable( name: " APIGateway " , targets: [ " APIGateway " ] ) ,
19
17
// fully featured example with domain specific business logic
20
18
. executable( name: " CurrencyExchange " , targets: [ " CurrencyExchange " ] ) ,
21
19
] ,
@@ -24,9 +22,6 @@ let package = Package(
24
22
// in real-world projects this would say
25
23
// .package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", from: "1.0.0")
26
24
. 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 " ) ) ,
30
25
] ,
31
26
targets: [
32
27
. target( name: " HelloWorld " , dependencies: [
@@ -38,10 +33,6 @@ let package = Package(
38
33
. target( name: " ErrorHandling " , dependencies: [
39
34
. product( name: " AWSLambdaRuntime " , package : " swift-aws-lambda-runtime " ) ,
40
35
] ) ,
41
- . target( name: " APIGateway " , dependencies: [
42
- . product( name: " AWSLambdaRuntime " , package : " swift-aws-lambda-runtime " ) ,
43
- . product( name: " AWSLambdaEvents " , package : " swift-aws-lambda-events " ) ,
44
- ] ) ,
45
36
. target( name: " CurrencyExchange " , dependencies: [
46
37
. product( name: " AWSLambdaRuntime " , package : " swift-aws-lambda-runtime " ) ,
47
38
] ) ,
0 commit comments