Add retention option on bucket creation (#504)

This also deletes a bucket if it was created and an error occurred
This commit is contained in:
Cesar N
2020-12-11 10:22:25 -06:00
committed by GitHub
parent b495148a69
commit dd91c793e2
4 changed files with 52 additions and 0 deletions

View File

@@ -3902,6 +3902,9 @@ func init() {
"quota": {
"$ref": "#/definitions/setBucketQuota"
},
"retention": {
"$ref": "#/definitions/putBucketRetentionRequest"
},
"versioning": {
"type": "boolean"
}
@@ -9502,6 +9505,9 @@ func init() {
"quota": {
"$ref": "#/definitions/setBucketQuota"
},
"retention": {
"$ref": "#/definitions/putBucketRetentionRequest"
},
"versioning": {
"type": "boolean"
}