Skip to content

Add documentation for mc put `--storage-class #1482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
28 changes: 18 additions & 10 deletions source/reference/minio-mc/mc-put.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
~~~~~~~~~~~~
Expand Down