We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afcb9ba commit dd5f62bCopy full SHA for dd5f62b
Examples/S3Test/README.md
@@ -22,9 +22,10 @@ import Foundation
22
#endif
23
import LambdaSwiftSprinterNioPlugin
24
import Logging
25
-import S3
+import AWSS3
26
import NIO
27
import NIOFoundationCompat
28
+import AWSSDKSwiftCore
29
30
struct Bucket: Codable {
31
let name: String
@@ -39,7 +40,10 @@ struct Response: Codable {
39
40
Change the region with the region of your S3 bucket.
41
42
```swift
-let s3 = S3(region: .euwest1)
43
+guard let awsClient: AWSHTTPClient = httpClient as? AWSHTTPClient else {
44
+ preconditionFailure()
45
+}
46
+let s3 = S3(region: .euwest1, httpClientProvider: .shared(awsClient))
47
```
48
49
add a logger:
0 commit comments