StorageGRID 中支持的 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
"AbortMultipartUpload"
"CompleteMultipartUpload"
StorageGRID 支持此请求的所有 通用参数和标头,以及此附加 URI 查询参数:
-
uploadId -
x-amz-checksum-sha256
StorageGRID 支持这些请求正文 XML 标记:
-
ChecksumSHA256 -
CompleteMultipartUpload -
ETag -
Part -
PartNumber
"CopyObject"
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>
无
"CreateBucket"
StorageGRID 支持此请求的所有 通用参数和标头,以及以下附加标头:
-
x-amz-bucket-object-lock-enabled
StorageGRID 支持实施时 Amazon S3 REST API 定义的所有请求正文参数。
"CreateMultipartUpload"
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>
无
"DeleteBucket"
StorageGRID 支持此请求的所有通用参数和标头内容。
"DeleteBucketCors"
"DeleteBucketEncryption"
"DeleteBucketLifecycle"
"DeleteBucketPolicy"
"DeleteBucketReplication"
"DeleteBucketTagging"
"GetBucketAcl"
"GetBucketCors"
"GetBucketEncryption"
"GetBucketLifecycleConfiguration"
"GetBucketLocation"
"GetBucketNotificationConfiguration"
"GetBucketPolicy"
"GetBucketReplication"
"GetBucketTagging"
"GetBucketVersioning"
"获取对象"
StorageGRID 支持此请求的所有 通用参数和标头 URI 查询参数,以及以下额外的 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
无
"HeadBucket"
"HeadObject"
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
无
"ListMultipartUploads"
StorageGRID 支持此请求的所有 通用参数和标头 参数,以及以下附加参数:
-
encoding-type -
key-marker -
max-uploads -
prefix -
upload-id-marker
无
"ListObjects"
StorageGRID 支持此请求的所有 通用参数和标头 参数,以及以下附加参数:
-
delimiter -
encoding-type -
marker -
max-keys -
prefix
无
"ListObjectsV2"
StorageGRID 支持此请求的所有 通用参数和标头 参数,以及以下附加参数:
-
continuation-token -
delimiter -
encoding-type -
fetch-owner -
max-keys -
prefix -
start-after
无
"ListObjectVersions"
StorageGRID 支持此请求的所有 通用参数和标头 参数,以及以下附加参数:
-
delimiter -
encoding-type -
key-marker -
max-keys -
prefix -
version-id-marker
无
"ListParts"
StorageGRID 支持此请求的所有 通用参数和标头 参数,以及以下附加参数:
-
max-parts -
part-number-marker -
uploadId
无
"PutBucketCors"
StorageGRID 支持此请求的所有通用参数和标头内容。
StorageGRID 支持实施时 Amazon S3 REST API 定义的所有请求正文参数。
"PutBucketEncryption"
StorageGRID 支持此请求的所有通用参数和标头内容。
StorageGRID 支持这些请求正文 XML 标记:
-
ApplyServerSideEncryptionByDefault -
Rule -
ServerSideEncryptionConfiguration -
SSEAlgorithm
"PutBucketLifecycleConfiguration"
StorageGRID 支持此请求的所有通用参数和标头内容。
StorageGRID 支持这些请求正文 XML 标记:
-
And -
Days -
Expiration -
ExpiredObjectDeleteMarker -
Filter -
ID -
Key -
LifecycleConfiguration -
NewerNoncurrentVersions -
NoncurrentDays -
NoncurrentVersionExpiration -
Prefix -
Rule -
Status -
Tag -
Value
"PutBucketNotificationConfiguration"
StorageGRID 支持此请求的所有通用参数和标头内容。
StorageGRID 支持这些请求正文 XML 标记:
-
Event -
Filter -
FilterRule -
Id -
Name -
NotificationConfiguration -
Prefix -
S3Key -
Suffix -
Topic -
TopicConfiguration -
Value
"PutBucketPolicy"
StorageGRID 支持此请求的所有通用参数和标头内容。
有关支持的JSON正文字段的详细信息,请参见 "使用存储区和组访问策略"。
"PutBucketReplication"
StorageGRID 支持此请求的所有通用参数和标头内容。
-
Bucket -
Destination -
Prefix -
ReplicationConfiguration -
Rule -
Status -
StorageClass
"PutBucketTagging"
StorageGRID 支持此请求的所有通用参数和标头内容。
StorageGRID 支持实施时 Amazon S3 REST API 定义的所有请求正文参数。
"PutBucketVersioning"
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>
-
对象的二进制数据
"PutObjectLegalHold"
StorageGRID 支持此请求的所有通用参数和标头内容。
StorageGRID 支持实施时 Amazon S3 REST API 定义的所有请求正文参数。
"PutObjectLockConfiguration"
StorageGRID 支持此请求的所有通用参数和标头内容。
StorageGRID 支持实施时 Amazon S3 REST API 定义的所有请求正文参数。
"PutObjectRetention"
StorageGRID 支持此请求的所有 通用参数和标头,以及此附加标头:
-
x-amz-bypass-governance-retention
StorageGRID 支持实施时 Amazon S3 REST API 定义的所有请求正文参数。
"RestoreObject"
StorageGRID 支持此请求的所有通用参数和标头内容。
有关支持的正文字段的详细信息,请参见 "RestoreObject"。
"SelectObjectContent"
StorageGRID 支持此请求的所有通用参数和标头内容。
有关受支持的正文字段的详细信息,请参见以下内容:
"UploadPart"
StorageGRID 支持此请求的所有 通用参数和标头 URI 查询参数,以及以下额外的 URI 查询参数:
-
partNumber -
uploadId
这些额外的请求标头:
-
x-amz-checksum-sha256 -
x-amz-server-side-encryption-customer-algorithm -
x-amz-server-side-encryption-customer-key -
x-amz-server-side-encryption-customer-key-MD5
-
零件的二进制数据
"UploadPartCopy"
StorageGRID 支持此请求的所有 通用参数和标头 URI 查询参数,以及以下额外的 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
无