2021-08-19 17:28:16 +00:00
|
|
|
# S3 API support
|
2021-08-19 17:16:49 +00:00
|
|
|
|
|
|
|
Reference:
|
2024-04-02 07:00:44 +00:00
|
|
|
|
2021-08-19 17:16:49 +00:00
|
|
|
* [AWS S3 API Reference](https://docs.aws.amazon.com/AmazonS3/latest/API/s3-api.pdf)
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Legend |
|
|
|
|
|-----|-------------------------------------------|
|
|
|
|
| 🟢 | Supported |
|
|
|
|
| 🟡 | Partially supported |
|
|
|
|
| 🔵 | Not supported yet, but will be in future |
|
|
|
|
| 🔴 | Not applicable or will never be supported |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Object
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|------------------------|-----------------------------------------|
|
|
|
|
| 🟢 | CopyObject | Done on gateway side |
|
|
|
|
| 🟢 | DeleteObject | |
|
|
|
|
| 🟢 | DeleteObjects | aka DeleteMultipleObjects |
|
|
|
|
| 🟢 | GetObject | |
|
|
|
|
| 🔴 | GetObjectTorrent | We don't plan implementing BT gateway |
|
|
|
|
| 🟢 | HeadObject | |
|
|
|
|
| 🟢 | ListParts | Parts loaded with MultipartUpload |
|
|
|
|
| 🟢 | ListObjects | |
|
|
|
|
| 🟢 | ListObjectsV2 | |
|
|
|
|
| 🟢 | PutObject | Content-MD5 header deprecated |
|
|
|
|
| 🔵 | SelectObjectContent | Need to have some Lambda to execute SQL |
|
|
|
|
| 🔵 | WriteGetObjectResponse | Waiting for Lambda to be developed |
|
|
|
|
| 🟢 | GetObjectAttributes | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## ACL
|
|
|
|
|
|
|
|
For now there are some limitations:
|
2024-04-02 07:00:44 +00:00
|
|
|
|
|
|
|
| | Method | Comments |
|
|
|
|
|-----|--------------|-----------------------------------|
|
|
|
|
| 🟢 | GetObjectAcl | Objects can have only private acl |
|
|
|
|
| 🔴 | PutObjectAcl | Use PutBucketPolicy instead |
|
2021-08-19 17:16:49 +00:00
|
|
|
|
2021-08-19 17:28:16 +00:00
|
|
|
## Locking
|
|
|
|
|
2022-08-18 12:15:11 +00:00
|
|
|
For now there are some limitations:
|
2024-04-02 07:00:44 +00:00
|
|
|
|
2022-08-18 12:15:11 +00:00
|
|
|
* Retention period can't be shortened, only extended.
|
|
|
|
* You can't delete locks or object with unexpired lock.
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|----------------------------|-------------------------------|
|
|
|
|
| 🟡 | GetObjectLegalHold | |
|
|
|
|
| 🟢 | GetObjectLockConfiguration | aka GetBucketObjectLockConfig |
|
|
|
|
| 🟡 | GetObjectRetention | |
|
|
|
|
| 🟡 | PutObjectLegalHold | |
|
|
|
|
| 🟢 | PutObjectLockConfiguration | aka PutBucketObjectLockConfig |
|
|
|
|
| 🟡 | PutObjectRetention | |
|
2021-08-19 17:16:49 +00:00
|
|
|
|
2021-08-19 17:28:16 +00:00
|
|
|
## Multipart
|
2021-08-19 17:16:49 +00:00
|
|
|
|
2023-03-22 08:17:26 +00:00
|
|
|
CompleteMultipartUpload operations may take long time to complete. Gateway
|
|
|
|
sends whitespace characters to keep connection with the client alive. In this
|
|
|
|
case, gateway is unable to set proper HTTP headers like `X-Amz-Version-Id`.
|
2021-08-19 17:16:49 +00:00
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|-------------------------|----------|
|
|
|
|
| 🟢 | AbortMultipartUpload | |
|
|
|
|
| 🟢 | CompleteMultipartUpload | |
|
|
|
|
| 🟢 | CreateMultipartUpload | |
|
|
|
|
| 🟢 | ListMultipartUploads | |
|
|
|
|
| 🟢 | ListParts | |
|
|
|
|
| 🟢 | UploadPart | |
|
|
|
|
| 🟢 | UploadPartCopy | |
|
2021-08-19 17:16:49 +00:00
|
|
|
|
2021-08-19 17:28:16 +00:00
|
|
|
## Tagging
|
2021-08-19 17:16:49 +00:00
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|---------------------|----------|
|
|
|
|
| 🟢 | DeleteObjectTagging | |
|
|
|
|
| 🟢 | GetObjectTagging | |
|
|
|
|
| 🟢 | PutObjectTagging | |
|
2021-08-19 17:16:49 +00:00
|
|
|
|
2021-08-19 17:28:16 +00:00
|
|
|
## Versioning
|
|
|
|
|
|
|
|
See also `GetObject` and other method parameters.
|
2021-08-19 17:16:49 +00:00
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|--------------------|--------------------------|
|
|
|
|
| 🟢 | ListObjectVersions | ListBucketObjectVersions |
|
|
|
|
| 🔵 | RestoreObject | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Bucket
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|----------------------|-----------|
|
|
|
|
| 🟢 | CreateBucket | PutBucket |
|
|
|
|
| 🟢 | DeleteBucket | |
|
|
|
|
| 🟢 | GetBucketLocation | |
|
|
|
|
| 🟢 | HeadBucket | |
|
|
|
|
| 🟢 | ListBuckets | |
|
|
|
|
| 🔵 | PutPublicAccessBlock | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Acceleration
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|----------------------------------|---------------------|
|
|
|
|
| 🔴 | GetBucketAccelerateConfiguration | GetBucketAccelerate |
|
|
|
|
| 🔴 | PutBucketAccelerateConfiguration | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## ACL
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|--------------|------------------------------|
|
|
|
|
| 🟡 | GetBucketAcl | Only canned acl is supported |
|
|
|
|
| 🟡 | PutBucketAcl | Only canned acl is supported |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Analytics
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|------------------------------------|----------|
|
|
|
|
| 🔵 | DeleteBucketAnalyticsConfiguration | |
|
|
|
|
| 🔵 | GetBucketAnalyticsConfiguration | |
|
|
|
|
| 🔵 | ListBucketAnalyticsConfigurations | |
|
|
|
|
| 🔵 | PutBucketAnalyticsConfiguration | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## CORS
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|------------------|----------|
|
|
|
|
| 🟢 | DeleteBucketCors | |
|
|
|
|
| 🟢 | GetBucketCors | |
|
|
|
|
| 🟢 | PutBucketCors | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Encryption
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|------------------------|----------|
|
|
|
|
| 🔵 | DeleteBucketEncryption | |
|
|
|
|
| 🔵 | GetBucketEncryption | |
|
|
|
|
| 🔵 | PutBucketEncryption | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Inventory
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|------------------------------------|----------|
|
|
|
|
| 🔵 | DeleteBucketInventoryConfiguration | |
|
|
|
|
| 🔵 | GetBucketInventoryConfiguration | |
|
|
|
|
| 🔵 | ListBucketInventoryConfigurations | |
|
|
|
|
| 🔵 | PutBucketInventoryConfiguration | |
|
2023-03-24 12:49:23 +00:00
|
|
|
|
2021-08-19 17:28:16 +00:00
|
|
|
## Lifecycle
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|---------------------------------|----------|
|
|
|
|
| 🔵 | DeleteBucketLifecycle | |
|
|
|
|
| 🔵 | GetBucketLifecycle | |
|
|
|
|
| 🔵 | GetBucketLifecycleConfiguration | |
|
|
|
|
| 🔵 | PutBucketLifecycle | |
|
|
|
|
| 🔵 | PutBucketLifecycleConfiguration | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Logging
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|------------------|----------|
|
|
|
|
| 🔵 | GetBucketLogging | |
|
|
|
|
| 🔵 | PutBucketLogging | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Metrics
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|----------------------------------|----------|
|
|
|
|
| 🔵 | DeleteBucketMetricsConfiguration | |
|
|
|
|
| 🔵 | GetBucketMetricsConfiguration | |
|
|
|
|
| 🔵 | ListBucketMetricsConfigurations | |
|
|
|
|
| 🔵 | PutBucketMetricsConfiguration | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Notifications
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|------------------------------------|---------------|
|
|
|
|
| 🔵 | GetBucketNotification | |
|
|
|
|
| 🔵 | GetBucketNotificationConfiguration | |
|
|
|
|
| 🔵 | ListenBucketNotification | non-standard? |
|
|
|
|
| 🔵 | PutBucketNotification | |
|
|
|
|
| 🔵 | PutBucketNotificationConfiguration | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Ownership controls
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|-------------------------------|----------|
|
|
|
|
| 🔵 | DeleteBucketOwnershipControls | |
|
|
|
|
| 🔵 | GetBucketOwnershipControls | |
|
|
|
|
| 🔵 | PutBucketOwnershipControls | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Policy and replication
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|-------------------------|------------------------------|
|
|
|
|
| 🟢 | DeleteBucketPolicy | |
|
|
|
|
| 🔵 | DeleteBucketReplication | |
|
|
|
|
| 🔵 | DeletePublicAccessBlock | |
|
|
|
|
| 🟢 | GetBucketPolicy | |
|
|
|
|
| 🔵 | GetBucketPolicyStatus | |
|
|
|
|
| 🔵 | GetBucketReplication | |
|
|
|
|
| 🟢 | PostPolicyBucket | Upload file using POST form |
|
|
|
|
| 🟡 | PutBucketPolicy | Conditions are not supported |
|
|
|
|
| 🔵 | PutBucketReplication | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Request payment
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|-------------------------|----------|
|
|
|
|
| 🔴 | GetBucketRequestPayment | |
|
|
|
|
| 🔴 | PutBucketRequestPayment | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Tagging
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|---------------------|----------|
|
|
|
|
| 🟢 | DeleteBucketTagging | |
|
|
|
|
| 🟢 | GetBucketTagging | |
|
|
|
|
| 🟢 | PutBucketTagging | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Tiering
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|---------------------------------------------|----------|
|
|
|
|
| 🔵 | DeleteBucketIntelligentTieringConfiguration | |
|
|
|
|
| 🔵 | GetBucketIntelligentTieringConfiguration | |
|
|
|
|
| 🔵 | ListBucketIntelligentTieringConfigurations | |
|
|
|
|
| 🔵 | PutBucketIntelligentTieringConfiguration | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Versioning
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|---------------------|----------|
|
|
|
|
| 🟢 | GetBucketVersioning | |
|
|
|
|
| 🟢 | PutBucketVersioning | |
|
2021-08-19 17:28:16 +00:00
|
|
|
|
|
|
|
## Website
|
|
|
|
|
2024-04-02 07:00:44 +00:00
|
|
|
| | Method | Comments |
|
|
|
|
|-----|---------------------|----------|
|
|
|
|
| 🔵 | DeleteBucketWebsite | |
|
|
|
|
| 🔵 | GetBucketWebsite | |
|
|
|
|
| 🔵 | PutBucketWebsite | |
|