快速參考:支援的 S3 API 請求
本頁總結了StorageGRID如何支援 Amazon Simple Storage Service (S3) API。
此頁僅包含StorageGRID支援的 S3 操作。
|
|
若要查看每個操作的 AWS 文檔,請選擇標題中的連結。 |
通用 URI 查詢參數和請求標頭
除非另有說明,否則支援以下常見 URI 查詢參數:
-
versionId(根據物件操作的需要)
除非另有說明,否則支援以下常見請求標頭:
-
Authorization -
Connection -
Content-Length -
Content-MD5 -
Content-Type -
Date -
Expect -
Host -
x-amz-date
"複製對象"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加標頭:
-
x-amz-copy-source -
x-amz-copy-source-if-match -
x-amz-copy-source-if-modified-since -
x-amz-copy-source-if-none-match -
x-amz-copy-source-if-unmodified-since -
x-amz-copy-source-server-side-encryption-customer-algorithm -
x-amz-copy-source-server-side-encryption-customer-key -
x-amz-copy-source-server-side-encryption-customer-key-MD5 -
x-amz-metadata-directive -
x-amz-object-lock-legal-hold -
x-amz-object-lock-mode -
x-amz-object-lock-retain-until-date -
x-amz-server-side-encryption -
x-amz-server-side-encryption-customer-algorithm -
x-amz-server-side-encryption-customer-key -
x-amz-server-side-encryption-customer-key-MD5 -
x-amz-storage-class -
x-amz-tagging -
x-amz-tagging-directive -
x-amz-meta-<metadata-name>
沒有任何
"創建桶"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加標頭:
-
x-amz-bucket-object-lock-enabled
StorageGRID支援實作時由 Amazon S3 REST API 定義的所有請求正文參數。
"建立多部分上傳"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加標頭:
-
Cache-Control -
Content-Disposition -
Content-Encoding -
Content-Language -
Expires -
x-amz-checksum-algorithm -
x-amz-server-side-encryption -
x-amz-storage-class -
x-amz-server-side-encryption-customer-algorithm -
x-amz-server-side-encryption-customer-key -
x-amz-server-side-encryption-customer-key-MD5 -
x-amz-tagging -
x-amz-object-lock-mode -
x-amz-object-lock-retain-until-date -
x-amz-object-lock-legal-hold -
x-amz-meta-<metadata-name>
沒有任何
"取得對象"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加 URI 查詢參數:
-
x-amz-checksum-mode -
partNumber -
response-cache-control -
response-content-disposition -
response-content-encoding -
response-content-language -
response-content-type -
response-expires
以及這些額外的請求標頭:
-
Range -
x-amz-server-side-encryption-customer-algorithm -
x-amz-server-side-encryption-customer-key -
x-amz-server-side-encryption-customer-key-MD5 -
If-Match -
If-Modified-Since -
If-None-Match -
If-Unmodified-Since
沒有任何
"頭部對象"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加標頭:
-
x-amz-checksum-mode -
x-amz-server-side-encryption-customer-algorithm -
x-amz-server-side-encryption-customer-key -
x-amz-server-side-encryption-customer-key-MD5 -
If-Match -
If-Modified-Since -
If-None-Match -
If-Unmodified-Since -
Range
沒有任何
"清單對象"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加參數:
-
delimiter -
encoding-type -
marker -
max-keys -
prefix
沒有任何
"ListObjectsV2"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加參數:
-
continuation-token -
delimiter -
encoding-type -
fetch-owner -
max-keys -
prefix -
start-after
沒有任何
"列出物件版本"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加參數:
-
delimiter -
encoding-type -
key-marker -
max-keys -
prefix -
version-id-marker
沒有任何
"PutBucketCors"
StorageGRID支援所有通用參數和標頭對於此請求。
StorageGRID支援實作時由 Amazon S3 REST API 定義的所有請求正文參數。
"PutBucket加密"
StorageGRID支援所有通用參數和標頭對於此請求。
StorageGRID支援以下請求正文 XML 標籤:
-
ApplyServerSideEncryptionByDefault -
Rule -
ServerSideEncryptionConfiguration -
SSEAlgorithm
"PutBucket生命週期配置"
StorageGRID支援所有通用參數和標頭對於此請求。
StorageGRID支援以下請求正文 XML 標籤:
-
And -
Days -
Expiration -
ExpiredObjectDeleteMarker -
Filter -
ID -
Key -
LifecycleConfiguration -
NewerNoncurrentVersions -
NoncurrentDays -
NoncurrentVersionExpiration -
Prefix -
Rule -
Status -
Tag -
Value
"PutBucketNotification配置"
StorageGRID支援所有通用參數和標頭對於此請求。
StorageGRID支援以下請求正文 XML 標籤:
-
Event -
Filter -
FilterRule -
Id -
Name -
NotificationConfiguration -
Prefix -
S3Key -
Suffix -
Topic -
TopicConfiguration -
Value
"PutBucketPolicy"
StorageGRID支援所有通用參數和標頭對於此請求。
有關支援的 JSON 主體欄位的詳細信息,請參閱"使用儲存桶和群組存取策略"。
"PutBucket複製"
StorageGRID支援所有通用參數和標頭對於此請求。
-
Bucket -
Destination -
Prefix -
ReplicationConfiguration -
Rule -
Status -
StorageClass
"PutBucketTagging"
StorageGRID支援所有通用參數和標頭對於此請求。
StorageGRID支援實作時由 Amazon S3 REST API 定義的所有請求正文參數。
"PutBucket版本控制"
StorageGRID支援所有通用參數和標頭對於此請求。
StorageGRID支援以下請求正文參數:
-
VersioningConfiguration -
Status
"放置對象"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加標頭:
-
Cache-Control -
Content-Disposition -
Content-Encoding -
Content-Language -
Expires -
x-amz-checksum-sha256 -
x-amz-server-side-encryption -
x-amz-storage-class -
x-amz-server-side-encryption-customer-algorithm -
x-amz-server-side-encryption-customer-key -
x-amz-server-side-encryption-customer-key-MD5 -
x-amz-tagging -
x-amz-object-lock-mode -
x-amz-object-lock-retain-until-date -
x-amz-object-lock-legal-hold -
x-amz-meta-<metadata-name>
-
物件的二進位數據
"放置對象合法保留"
StorageGRID支援所有通用參數和標頭對於此請求。
StorageGRID支援實作時由 Amazon S3 REST API 定義的所有請求正文參數。
"PutObjectLock配置"
StorageGRID支援所有通用參數和標頭對於此請求。
StorageGRID支援實作時由 Amazon S3 REST API 定義的所有請求正文參數。
"PutObjectRetention"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加標頭:
-
x-amz-bypass-governance-retention
StorageGRID支援實作時由 Amazon S3 REST API 定義的所有請求正文參數。
"上傳部分複製"
StorageGRID支援所有通用參數和標頭對於此請求,加上以下附加 URI 查詢參數:
-
partNumber -
uploadId
以及這些額外的請求標頭:
-
x-amz-copy-source -
x-amz-copy-source-if-match -
x-amz-copy-source-if-modified-since -
x-amz-copy-source-if-none-match -
x-amz-copy-source-if-unmodified-since -
x-amz-copy-source-range -
x-amz-server-side-encryption-customer-algorithm -
x-amz-server-side-encryption-customer-key -
x-amz-server-side-encryption-customer-key-MD5 -
x-amz-copy-source-server-side-encryption-customer-algorithm -
x-amz-copy-source-server-side-encryption-customer-key -
x-amz-copy-source-server-side-encryption-customer-key-MD5
沒有任何