Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions swift/example_code/s3/presigned-urls/Sources/entry.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
Loading