From c49f896473b6688f48426634c294d6337e5a3885 Mon Sep 17 00:00:00 2001 From: Eric Shepherd Date: Thu, 14 Nov 2024 09:24:51 -0500 Subject: [PATCH] Add another set of SoS tags to Swift example (#7064) Add another set of SoS tags --- swift/example_code/s3/presigned-urls/Sources/entry.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/swift/example_code/s3/presigned-urls/Sources/entry.swift b/swift/example_code/s3/presigned-urls/Sources/entry.swift index b695f26e90a..1c108a009fe 100644 --- a/swift/example_code/s3/presigned-urls/Sources/entry.swift +++ b/swift/example_code/s3/presigned-urls/Sources/entry.swift @@ -378,6 +378,7 @@ struct ExampleCommand: ParsableCommand { // Create a presigned URLRequest with the `GetObject` action. + // snippet-start:[swift.s3.presigned.getobject] let getInput = GetObjectInput( bucket: bucket, key: key @@ -392,6 +393,7 @@ struct ExampleCommand: ParsableCommand { } catch { throw TransferError.signingError } + // snippet-end:[swift.s3.presigned.getobject] // Use the presigned request to fetch the file from Amazon S3 and // store it at the location given by the `destPath` parameter.