diff --git a/swift/example_code/s3/presigned-urls/Sources/entry.swift b/swift/example_code/s3/presigned-urls/Sources/entry.swift index c6078cea8d0..b695f26e90a 100644 --- a/swift/example_code/s3/presigned-urls/Sources/entry.swift +++ b/swift/example_code/s3/presigned-urls/Sources/entry.swift @@ -2,7 +2,9 @@ // SPDX-License-Identifier: Apache-2.0 // /// A simple example that shows how to use the AWS SDK for Swift to -/// authenticate using optional static credentials and an AWS IAM role ARN. +/// perform file uploads and downloads to Amazon S3, both with and +/// without presigned requests. Also included is code to perform +/// multi-part uploads. // snippet-start:[swift.s3.presigned.imports] import ArgumentParser @@ -13,10 +15,6 @@ import Smithy import SmithyHTTPAPI // snippet-end:[swift.s3.presigned.imports] -// Import ClientRuntime for logging controls - -import ClientRuntime - // -MARK: - Async command line tool struct ExampleCommand: ParsableCommand { @@ -488,9 +486,6 @@ struct Main { static func main() async { let args = Array(CommandLine.arguments.dropFirst()) - await SDKLoggingSystem().initialize(logLevel: .critical) - SDKDefaultIO.setLogLevel(level: .fatal) - do { let command = try ExampleCommand.parse(args) try await command.runAsync()