diff options
| author | zerospiel <morgoevm@gmail.com> | 2022-02-03 17:17:05 +0300 |
|---|---|---|
| committer | zerospiel <morgoevm@gmail.com> | 2022-02-03 17:17:05 +0300 |
| commit | b54a65ba5afcec13743442357a8544ec8cf876f5 (patch) | |
| tree | 38d059dc7ad6b540b8625e0be9e9d9807b25a2de /weed/s3api/s3api_xsd_generated.go | |
| parent | 6bee1e9714dace680b19d5a3e8481915e3755ff5 (diff) | |
| download | seaweedfs-b54a65ba5afcec13743442357a8544ec8cf876f5.tar.xz seaweedfs-b54a65ba5afcec13743442357a8544ec8cf876f5.zip | |
weed/s3api: added new bucket handlers for more compatibility with AWS S3
Protocol
Otherwise any requests to the underlying handlers results in calls to
ListObjects (v1) that may intensively load gateway and volume servers.
Added the following handlers with default responses:
- GetBucketLocation
- GetBucketRequestPayment
Added the following handlers with NotFound and NotImplemented responses:
- PutBucketAcl
- GetBucketPolicy
- PutBucketPolicy
- DeleteBucketPolicy
- GetBucketCors
- PutBucketCors
- DeleteBucketCors
Diffstat (limited to 'weed/s3api/s3api_xsd_generated.go')
| -rw-r--r-- | weed/s3api/s3api_xsd_generated.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/s3api/s3api_xsd_generated.go b/weed/s3api/s3api_xsd_generated.go index a8e4ef404..dd6a32ff2 100644 --- a/weed/s3api/s3api_xsd_generated.go +++ b/weed/s3api/s3api_xsd_generated.go @@ -646,6 +646,10 @@ type ListVersionsResult struct { CommonPrefixes []PrefixEntry `xml:"http://s3.amazonaws.com/doc/2006-03-01/ CommonPrefixes,omitempty"` } +type LocationConstraint struct { + LocationConstraint string `xml:"http://s3.amazonaws.com/doc/2006-03-01/ LocationConstraint"` +} + type LoggingSettings struct { TargetBucket string `xml:"http://s3.amazonaws.com/doc/2006-03-01/ TargetBucket"` TargetPrefix string `xml:"http://s3.amazonaws.com/doc/2006-03-01/ TargetPrefix"` |
