Skip to content

Commit

Permalink
updates for version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brennanMKE committed Dec 2, 2021
1 parent 09bbc79 commit 1f8cb68
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 13 deletions.
12 changes: 8 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ let package = Package(
products: [
.library(
name: "PlayingWithAWS",
targets: ["PlayingWithAWS"]),
targets: ["PlayingWithAWS"])
],
dependencies: [
.package(
name: "AWSSwiftSDK",
url: "https://github.com/awslabs/aws-sdk-swift",
from: "0.0.16"
),
from: "0.1.0"
)
],
targets: [
.target(
Expand All @@ -28,9 +28,13 @@ let package = Package(
.product(name: "AWSCognitoIdentity", package: "AWSSwiftSDK"),
.product(name: "AWSCognitoIdentityProvider", package: "AWSSwiftSDK"),
.product(name: "AWSS3", package: "AWSSwiftSDK"),
.product(name: "AWSAppSync", package: "AWSSwiftSDK"),
.product(name: "AWSPinpoint", package: "AWSSwiftSDK"),
.product(name: "AWSPolly", package: "AWSSwiftSDK"),
.product(name: "AWSLocation", package: "AWSSwiftSDK")
]),
.testTarget(
name: "PlayingWithAWSTests",
dependencies: ["PlayingWithAWS"]),
dependencies: ["PlayingWithAWS"])
]
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//: [Previous](@previous)

import Foundation
import AWSPinpoint
import PlayingWithAWS

print("Analytics")

//: [Next](@next)
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
//: [Previous](@previous)

import Foundation
import AWSS3
import AWSCognitoIdentity
import AWSCognitoIdentityProvider
import PlayingWithAWS

print("Auth")

//: [Next](@next)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//: [Previous](@previous)

import Foundation
import AWSAppSync
import PlayingWithAWS

print("DataStore")

//: [Next](@next)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//: [Previous](@previous)

import Foundation
import AWSLocation
import PlayingWithAWS

print("Geo")

//: [Next](@next)
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//: [Previous](@previous)

import Foundation
import AWSPolly
import PlayingWithAWS

print("Predictions")

//: [Next](@next)
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ import Foundation
import AWSS3
import PlayingWithAWS

let bucketList = try S3BucketList()
print("Storage")

do {
let bucketList = try S3BucketList()
let buckets = try bucketList.buckets()
for bucket in buckets {
print("Bucket: \(bucket)")
}
}
catch {
print("Error: \(error)")
}

//: [Next](@next)
4 changes: 4 additions & 0 deletions PlayingWithAWS.playground/contents.xcplayground
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<playground version='6.0' target-platform='macos' buildActiveScheme='true' importAppTypes='true'>
<pages>
<page name='Auth'/>
<page name='DataStore'/>
<page name='Storage'/>
<page name='Predictions'/>
<page name='Analytics'/>
<page name='Geo'/>
</pages>
</playground>
10 changes: 5 additions & 5 deletions PlayingWithAWS.xcworkspace/xcshareddata/swiftpm/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@
"state": {
"branch": null,
"revision": "674835439925011c833bc052ec8a153369ec0dc8",
"version": "0.0.14"
"version": "0.1.0"
}
},
{
"package": "AWSSwiftSDK",
"repositoryURL": "https://github.com/awslabs/aws-sdk-swift",
"state": {
"branch": null,
"revision": "4d4569625a022fd24755024ac535b821c729bc4b",
"version": "0.0.16"
"revision": "49d19fb9f632d1d41e1cca7cef0da354c699c684",
"version": "0.1.0"
}
},
{
"package": "ClientRuntime",
"repositoryURL": "https://github.com/awslabs/smithy-swift.git",
"state": {
"branch": null,
"revision": "accb8f58446426073ee81815dad754eeffd7d28e",
"version": "0.0.14"
"revision": "43bdf353055c1f9a2c1ffd7a7cb0e9d2fab87f19",
"version": "0.1.0"
}
},
{
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Playing with AWS

See: [aws-sdk-swift]
* [aws-sdk-swift]
* [Reference Docs]

![Xcode Screenshot](PlayingWithAWS.png)

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

0 comments on commit 1f8cb68

Please sign in to comment.