Commit 3db5986
Simplify presigning example (#7065)
* Add advanced presigning example
This changes the "download a file" example to use a custom configuration for the presigned GetObject request.
* Changed from using GetObject as the exemplar for advanced presigning to using PutObject. This lets GetObject be used in doc content as the example for a basic presign operation, while PutObject can be used for more involved presigning ops.
* Make sure the configuration is fully done inside the snippet for example purposes.
---------
Co-authored-by: David Souther <[email protected]>1 parent b02e5c9 commit 3db5986
File tree
7 files changed
+521
-516
lines changed- swift/example_code/s3/presigned-urls
- Sources
- presigned-download
- presigned-upload
7 files changed
+521
-516
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | | - | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
31 | | - | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
37 | 51 | | |
38 | 52 | | |
Lines changed: 0 additions & 13 deletions
This file was deleted.
0 commit comments