File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
swift/example_code/s3/presigned-urls/Sources Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 22// SPDX-License-Identifier: Apache-2.0
33//
44/// A simple example that shows how to use the AWS SDK for Swift to
5- /// authenticate using optional static credentials and an AWS IAM role ARN.
5+ /// perform file uploads and downloads to Amazon S3, both with and
6+ /// without presigned requests. Also included is code to perform
7+ /// multi-part uploads.
68
79// snippet-start:[swift.s3.presigned.imports]
810import ArgumentParser
@@ -13,10 +15,6 @@ import Smithy
1315import SmithyHTTPAPI
1416// snippet-end:[swift.s3.presigned.imports]
1517
16- // Import ClientRuntime for logging controls
17-
18- import ClientRuntime
19-
2018// -MARK: - Async command line tool
2119
2220struct ExampleCommand : ParsableCommand {
@@ -488,9 +486,6 @@ struct Main {
488486 static func main( ) async {
489487 let args = Array ( CommandLine . arguments. dropFirst ( ) )
490488
491- await SDKLoggingSystem ( ) . initialize ( logLevel: . critical)
492- SDKDefaultIO . setLogLevel ( level: . fatal)
493-
494489 do {
495490 let command = try ExampleCommand . parse ( args)
496491 try await command. runAsync ( )
You can’t perform that action at this time.
0 commit comments