Compare commits
2 Commits
3fd4f64176
...
a2648e4c16
Author | SHA1 | Date |
---|---|---|
Nicolas Humbert | a2648e4c16 | |
Nicolas Humbert | 8cb29380e4 |
|
@ -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."
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -35,6 +35,7 @@ function getCanonicalizedResource(request) {
|
||||||
'partNumber',
|
'partNumber',
|
||||||
'policy',
|
'policy',
|
||||||
'requestPayment',
|
'requestPayment',
|
||||||
|
'tagging',
|
||||||
'torrent',
|
'torrent',
|
||||||
'uploadId',
|
'uploadId',
|
||||||
'uploads',
|
'uploads',
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue