Skip to content

Commit e409b65

Browse files
committed
New scenario for SNS and SQS for Swift
Added the scenario example for SNS and SQS. This isn't done yet. The existing filtering code is not correct and needs to come out and be replaced.
1 parent 8d354d4 commit e409b65

File tree

2 files changed

+648
-0
lines changed

2 files changed

+648
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// swift-tools-version: 5.9
2+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
// SPDX-License-Identifier: Apache-2.0
4+
//
5+
// The swift-tools-version declares the minimum version of Swift required to
6+
// build this package.
7+
8+
import PackageDescription
9+
10+
let package = Package(
11+
name: "queue-scenario",
12+
// Let Xcode know the minimum Apple platforms supported.
13+
platforms: [
14+
.macOS(.v13),
15+
.iOS(.v15)
16+
],
17+
dependencies: [
18+
// Dependencies declare other packages that this package depends on.
19+
.package(
20+
url: "https://github.com/awslabs/aws-sdk-swift",
21+
from: "1.0.0"),
22+
.package(
23+
url: "https://github.com/apple/swift-argument-parser.git",
24+
branch: "main"
25+
)
26+
],
27+
targets: [
28+
// Targets are the basic building blocks of a package, defining a module or a test suite.
29+
// Targets can depend on other targets in this package and products
30+
// from dependencies.
31+
.executableTarget(
32+
name: "queue-scenario",
33+
dependencies: [
34+
.product(name: "AWSSNS", package: "aws-sdk-swift"),
35+
.product(name: "AWSSQS", package: "aws-sdk-swift"),
36+
.product(name: "ArgumentParser", package: "swift-argument-parser")
37+
],
38+
path: "Sources")
39+
40+
]
41+
)

0 commit comments

Comments
 (0)