From 408d9f3e7aa8a88dc36f7c69046f80cc946fc74d Mon Sep 17 00:00:00 2001 From: Yunhai Luo Date: Wed, 1 Dec 2021 21:55:57 -0800 Subject: [PATCH] s3: Add GLACIER_IR storage class --- backend/s3/s3.go | 3 +++ docs/content/s3.md | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/backend/s3/s3.go b/backend/s3/s3.go index 29975236c..df5b6b674 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -1184,6 +1184,9 @@ If you leave it blank, this is calculated automatically from the sse_customer_ke }, { Value: "INTELLIGENT_TIERING", Help: "Intelligent-Tiering storage class", + }, { + Value: "GLACIER_IR", + Help: "Glacier Instant Retrieval storage class", }}, }, { // Mapping from here: https://www.alibabacloud.com/help/doc-detail/64919.htm diff --git a/docs/content/s3.md b/docs/content/s3.md index 184fea45f..4295a8141 100644 --- a/docs/content/s3.md +++ b/docs/content/s3.md @@ -230,6 +230,8 @@ Choose a number from below, or type in your own value \ "DEEP_ARCHIVE" 8 / Intelligent-Tiering storage class \ "INTELLIGENT_TIERING" + 9 / Glacier Instant Retrieval storage class + \ "GLACIER_IR" storage_class> 1 Remote config -------------------- @@ -1327,6 +1329,8 @@ The storage class to use when storing new objects in S3. - Glacier Deep Archive storage class - "INTELLIGENT_TIERING" - Intelligent-Tiering storage class + - "GLACIER_IR" + - Glacier Instant Retrieval storage class #### --s3-storage-class