Skip to content

Commit b805129

Browse files
authored
Update readme.md with latest version (#477)
1 parent 80227ec commit b805129

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ let package = Package(
8080
name: "TestSdk",
8181
platforms: [.macOS(.v10_15), .iOS(.v13)],
8282
dependencies: [
83-
.package(name: "AWSSwiftSDK", url: "https://github.com/awslabs/aws-sdk-swift", from: "0.0.9"),
83+
.package(name: "AWSSwiftSDK", url: "https://github.com/awslabs/aws-sdk-swift", from: "0.0.14"), // <- enter latest version here
8484
],
8585
targets: [
8686
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -99,7 +99,7 @@ Then you can open up main.swift, and instantiate CognitoIdentity as follows:
9999

100100
If you are running Swift <5.5:
101101
```swift
102-
import CognitoIdentity
102+
import AWSCognitoIdentity
103103

104104
let cognitoIdentityClient = try CognitoIdentityClient(region: "us-east-1")
105105
let cognitoInputCall = CreateIdentityPoolInput(developerProviderName: "com.amazonaws.mytestapplication",
@@ -116,7 +116,7 @@ cognitoIdentityClient.createIdentityPool(input: cognitoInputCall) { (result) in
116116
```
117117
If you are running 5.5+:
118118
```swift
119-
import CognitoIdentity
119+
import AWSCognitoIdentity
120120

121121
func createIdentityPool() async throws -> CreateIdentityPoolOutputResponse {
122122
let cognitoIdentityClient = try CognitoIdentityClient(region: "us-east-1")

0 commit comments

Comments
 (0)