From aea04e190320a91c99785febde631e9586ae67a2 Mon Sep 17 00:00:00 2001 From: Matthieu OLIVIER <2124293+molivier@users.noreply.github.com> Date: Sun, 13 Jul 2025 11:17:13 +0200 Subject: [PATCH] Add documentation for `mc put` `--storage-class --- source/reference/minio-mc/mc-put.rst | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/source/reference/minio-mc/mc-put.rst b/source/reference/minio-mc/mc-put.rst index b6c56ddb..8bfd8f9c 100644 --- a/source/reference/minio-mc/mc-put.rst +++ b/source/reference/minio-mc/mc-put.rst @@ -44,16 +44,17 @@ The :mc:`mc put` uploads an object from the local file system to a bucket on a t .. code-block:: shell :class: copyable - mc [GLOBALFLAGS] put \ - TARGET \ - [--checksum value] \ - [--disable-multipart] \ - [--enc-kms value] \ - [--enc-s3 value] \ - [--enc-c value] \ - [--if-not-exists] \ - [--parallel, -P integer] \ - [--part-size, -s string] + mc [GLOBALFLAGS] put \ + TARGET \ + [--checksum value] \ + [--disable-multipart] \ + [--enc-kms value] \ + [--enc-s3 value] \ + [--enc-c value] \ + [--if-not-exists] \ + [--parallel, -P integer] \ + [--part-size, -s string] \ + [--storage-class, -sc string] \ .. include:: /includes/common-minio-mc.rst :start-after: start-minio-syntax @@ -122,6 +123,13 @@ Parameters If not defined, defaults to a value of ``16MiB``. +.. mc-cmd:: --storage-class, -sc + :optional: + + Set the storage class for the new object on the :mc-cmd:`~mc put TARGET`. + + See :aws-docs:`AmazonS3/latest/dev/storage-class-intro.html` for + more information on S3 storage classes. Global Flags ~~~~~~~~~~~~