Skip to content

Commit b7a516b

Browse files
committed
Attend to PR suggestions from reviewer.
1 parent 912b2b6 commit b7a516b

File tree

1 file changed

+3
-8
lines changed
  • swift/example_code/s3/presigned-urls/Sources

1 file changed

+3
-8
lines changed

swift/example_code/s3/presigned-urls/Sources/entry.swift

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
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]
810
import ArgumentParser
@@ -13,10 +15,6 @@ import Smithy
1315
import 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

2220
struct 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()

0 commit comments

Comments
 (0)