We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1e71f3 commit 4cc998dCopy full SHA for 4cc998d
swift/example_code/s3/presigned-urls/Sources/entry.swift
@@ -378,6 +378,7 @@ struct ExampleCommand: ParsableCommand {
378
379
// Create a presigned URLRequest with the `GetObject` action.
380
381
+ // snippet-start:[swift.s3.presigned.getobject]
382
let getInput = GetObjectInput(
383
bucket: bucket,
384
key: key
@@ -392,6 +393,7 @@ struct ExampleCommand: ParsableCommand {
392
393
} catch {
394
throw TransferError.signingError
395
}
396
+ // snippet-end:[swift.s3.presigned.getobject]
397
398
// Use the presigned request to fetch the file from Amazon S3 and
399
// store it at the location given by the `destPath` parameter.
0 commit comments