Skip to content

Commit

Permalink
remove CreateBucketConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
xiong-liang committed Oct 28, 2015
1 parent 6afdfbc commit 220ce48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
6 changes: 0 additions & 6 deletions apis/oss-2013-10-15.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,6 @@
"required": true,
"location": "uri"
},
"CreateBucketConfiguration": {
"type": "structure",
"members": {
"LocationConstraint": {}
}
},
"GrantFullControl": {
"location": "header",
"name": "x-oss-grant-full-control"
Expand Down
5 changes: 1 addition & 4 deletions samples/oss/PutBucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ var oss = require('./oss');
// -------------------------------

oss.createBucket({
Bucket: 'chylvina1',
CreateBucketConfiguration: {
LocationConstraint: 'oss-cn-hangzhou-a' // oss-cn-hangzhou-a 或者 oss-cn-qingdao-a
}
Bucket: 'chylvina1'
}, function (err, data) {
if (err) {
console.log('error:', err);
Expand Down

0 comments on commit 220ce48

Please sign in to comment.