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 8a31dfe commit 73303e5Copy full SHA for 73303e5
src/content/docs/r2/buckets/storage-classes.mdx
@@ -94,11 +94,11 @@ Use the `x-amz-storage-class` header to change between `STANDARD` and `STANDARD_
94
An example of switching an object from `STANDARD` to `STANDARD_IA` using `aws cli` is shown below:
95
96
```sh
97
-aws s3api --endpoint-url https://<ACCONUT_ID>.r2.cloudflarestorage.com \
98
- --copy-object \
+aws s3api copy-object \
+ --endpoint-url https://<ACCONUT_ID>.r2.cloudflarestorage.com \
99
--bucket bucket-name \
100
--key path/to/object.txt \
101
- --copy-source bucket-name/path/to/object.txt \
+ --copy-source /bucket-name/path/to/object.txt \
102
--storage-class STANDARD_IA
103
```
104
0 commit comments