Skip to content

Commit 1f8cb68

Browse files
committed
updates for version 0.1.0
1 parent 09bbc79 commit 1f8cb68

File tree

10 files changed

+74
-13
lines changed

10 files changed

+74
-13
lines changed

Package.swift

+8-4
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ let package = Package(
1212
products: [
1313
.library(
1414
name: "PlayingWithAWS",
15-
targets: ["PlayingWithAWS"]),
15+
targets: ["PlayingWithAWS"])
1616
],
1717
dependencies: [
1818
.package(
1919
name: "AWSSwiftSDK",
2020
url: "https://github.com/awslabs/aws-sdk-swift",
21-
from: "0.0.16"
22-
),
21+
from: "0.1.0"
22+
)
2323
],
2424
targets: [
2525
.target(
@@ -28,9 +28,13 @@ let package = Package(
2828
.product(name: "AWSCognitoIdentity", package: "AWSSwiftSDK"),
2929
.product(name: "AWSCognitoIdentityProvider", package: "AWSSwiftSDK"),
3030
.product(name: "AWSS3", package: "AWSSwiftSDK"),
31+
.product(name: "AWSAppSync", package: "AWSSwiftSDK"),
32+
.product(name: "AWSPinpoint", package: "AWSSwiftSDK"),
33+
.product(name: "AWSPolly", package: "AWSSwiftSDK"),
34+
.product(name: "AWSLocation", package: "AWSSwiftSDK")
3135
]),
3236
.testTarget(
3337
name: "PlayingWithAWSTests",
34-
dependencies: ["PlayingWithAWS"]),
38+
dependencies: ["PlayingWithAWS"])
3539
]
3640
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//: [Previous](@previous)
2+
3+
import Foundation
4+
import AWSPinpoint
5+
import PlayingWithAWS
6+
7+
print("Analytics")
8+
9+
//: [Next](@next)
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
//: [Previous](@previous)
22

33
import Foundation
4-
import AWSS3
4+
import AWSCognitoIdentity
5+
import AWSCognitoIdentityProvider
6+
import PlayingWithAWS
7+
8+
print("Auth")
59

610
//: [Next](@next)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//: [Previous](@previous)
2+
3+
import Foundation
4+
import AWSAppSync
5+
import PlayingWithAWS
6+
7+
print("DataStore")
8+
9+
//: [Next](@next)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//: [Previous](@previous)
2+
3+
import Foundation
4+
import AWSLocation
5+
import PlayingWithAWS
6+
7+
print("Geo")
8+
9+
//: [Next](@next)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//: [Previous](@previous)
2+
3+
import Foundation
4+
import AWSPolly
5+
import PlayingWithAWS
6+
7+
print("Predictions")
8+
9+
//: [Next](@next)

PlayingWithAWS.playground/Pages/Storage.xcplaygroundpage/Contents.swift

+12-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ import Foundation
44
import AWSS3
55
import PlayingWithAWS
66

7-
let bucketList = try S3BucketList()
7+
print("Storage")
8+
9+
do {
10+
let bucketList = try S3BucketList()
11+
let buckets = try bucketList.buckets()
12+
for bucket in buckets {
13+
print("Bucket: \(bucket)")
14+
}
15+
}
16+
catch {
17+
print("Error: \(error)")
18+
}
819

920
//: [Next](@next)

PlayingWithAWS.playground/contents.xcplayground

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
<playground version='6.0' target-platform='macos' buildActiveScheme='true' importAppTypes='true'>
33
<pages>
44
<page name='Auth'/>
5+
<page name='DataStore'/>
56
<page name='Storage'/>
7+
<page name='Predictions'/>
8+
<page name='Analytics'/>
9+
<page name='Geo'/>
610
</pages>
711
</playground>

PlayingWithAWS.xcworkspace/xcshareddata/swiftpm/Package.resolved

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@
77
"state": {
88
"branch": null,
99
"revision": "674835439925011c833bc052ec8a153369ec0dc8",
10-
"version": "0.0.14"
10+
"version": "0.1.0"
1111
}
1212
},
1313
{
1414
"package": "AWSSwiftSDK",
1515
"repositoryURL": "https://github.com/awslabs/aws-sdk-swift",
1616
"state": {
1717
"branch": null,
18-
"revision": "4d4569625a022fd24755024ac535b821c729bc4b",
19-
"version": "0.0.16"
18+
"revision": "49d19fb9f632d1d41e1cca7cef0da354c699c684",
19+
"version": "0.1.0"
2020
}
2121
},
2222
{
2323
"package": "ClientRuntime",
2424
"repositoryURL": "https://github.com/awslabs/smithy-swift.git",
2525
"state": {
2626
"branch": null,
27-
"revision": "accb8f58446426073ee81815dad754eeffd7d28e",
28-
"version": "0.0.14"
27+
"revision": "43bdf353055c1f9a2c1ffd7a7cb0e9d2fab87f19",
28+
"version": "0.1.0"
2929
}
3030
},
3131
{

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Playing with AWS
22

3-
See: [aws-sdk-swift]
3+
* [aws-sdk-swift]
4+
* [Reference Docs]
45

56
![Xcode Screenshot](PlayingWithAWS.png)
67

78
---
8-
[aws-sdk-swift]: https://github.com/awslabs/aws-sdk-swift
9+
[aws-sdk-swift]: https://github.com/awslabs/aws-sdk-swift
10+
[Reference Docs]: https://awslabs.github.io/aws-sdk-swift/reference/0.x/index.html

0 commit comments

Comments
 (0)