Compare commits

...

2 Commits

Author SHA1 Message Date
Nicolas Humbert a2648e4c16 [dropme] update package version 2017-04-24 17:54:46 -07:00
Nicolas Humbert 8cb29380e4 FT: putBucketTagging 2017-04-24 17:54:46 -07:00
5 changed files with 8 additions and 1 deletions

View File

@ -156,6 +156,10 @@
"code": 400, "code": 400,
"description": "The target bucket for logging does not exist, is not owned by you, or does not have the appropriate grants for the log-delivery group." "description": "The target bucket for logging does not exist, is not owned by you, or does not have the appropriate grants for the log-delivery group."
}, },
"InvalidTag": {
"code": 400,
"description": "The Tag you have provided is invalid"
},
"InvalidToken": { "InvalidToken": {
"code": 400, "code": 400,
"description": "The provided token is malformed or otherwise invalid." "description": "The provided token is malformed or otherwise invalid."

1
index.d.ts vendored
View File

@ -49,6 +49,7 @@ declare module "arsenal" {
'InvalidSOAPRequest'?: boolean; 'InvalidSOAPRequest'?: boolean;
'InvalidStorageClass'?: boolean; 'InvalidStorageClass'?: boolean;
'InvalidTargetBucketForLogging'?: boolean; 'InvalidTargetBucketForLogging'?: boolean;
'InvalidTag'?: boolean;
'InvalidToken'?: boolean; 'InvalidToken'?: boolean;
'InvalidURI'?: boolean; 'InvalidURI'?: boolean;
'KeyTooLong'?: boolean; 'KeyTooLong'?: boolean;

View File

@ -35,6 +35,7 @@ function getCanonicalizedResource(request) {
'partNumber', 'partNumber',
'policy', 'policy',
'requestPayment', 'requestPayment',
'tagging',
'torrent', 'torrent',
'uploadId', 'uploadId',
'uploads', 'uploads',

View File

@ -20,6 +20,7 @@ const _actionMap = {
bucketPut: 's3:CreateBucket', bucketPut: 's3:CreateBucket',
bucketPutACL: 's3:PutBucketAcl', bucketPutACL: 's3:PutBucketAcl',
bucketPutCors: 's3:PutBucketCORS', bucketPutCors: 's3:PutBucketCORS',
bucketPutTagging: 's3:PutBucketTagging',
// for bucketDeleteCors need s3:PutBucketCORS permission // for bucketDeleteCors need s3:PutBucketCORS permission
// see http://docs.aws.amazon.com/AmazonS3/latest/API/ // see http://docs.aws.amazon.com/AmazonS3/latest/API/
// RESTBucketDELETEcors.html // RESTBucketDELETEcors.html

View File

@ -3,7 +3,7 @@
"engines": { "engines": {
"node": "6.9.5" "node": "6.9.5"
}, },
"version": "7.0.0", "version": "7.0.0-putbuckettagging",
"description": "Common utilities for the S3 project components", "description": "Common utilities for the S3 project components",
"main": "index.js", "main": "index.js",
"repository": { "repository": {