You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
418 B
14 lines
418 B
1 month ago
|
const { checkBucketName: _checkBucketName } = require('../utils/checkBucketName');
|
||
|
|
||
|
const proto = exports;
|
||
|
|
||
|
proto.deleteBucketLifecycle = async function deleteBucketLifecycle(name, options) {
|
||
|
_checkBucketName(name);
|
||
|
const params = this._bucketRequestParams('DELETE', name, 'lifecycle', options);
|
||
|
params.successStatuses = [204];
|
||
|
const result = await this.request(params);
|
||
|
return {
|
||
|
res: result.res
|
||
|
};
|
||
|
};
|