@@ -2388,15 +2388,6 @@ export class Client extends TypedClient {
23882388 } )
23892389 }
23902390
2391- removeBucketReplication ( bucketName , cb ) {
2392- if ( ! isValidBucketName ( bucketName ) ) {
2393- throw new errors . InvalidBucketNameError ( 'Invalid bucket name: ' + bucketName )
2394- }
2395- const method = 'DELETE'
2396- const query = 'replication'
2397- this . makeRequest ( { method, bucketName, query } , '' , [ 200 , 204 ] , '' , false , cb )
2398- }
2399-
24002391 getObjectLegalHold ( bucketName , objectName , getOpts = { } , cb ) {
24012392 if ( ! isValidBucketName ( bucketName ) ) {
24022393 throw new errors . InvalidBucketNameError ( 'Invalid bucket name: ' + bucketName )
@@ -2853,7 +2844,6 @@ Client.prototype.getBucketEncryption = promisify(Client.prototype.getBucketEncry
28532844Client . prototype . removeBucketEncryption = promisify ( Client . prototype . removeBucketEncryption )
28542845Client . prototype . setBucketReplication = promisify ( Client . prototype . setBucketReplication )
28552846Client . prototype . getBucketReplication = promisify ( Client . prototype . getBucketReplication )
2856- Client . prototype . removeBucketReplication = promisify ( Client . prototype . removeBucketReplication )
28572847Client . prototype . setObjectLegalHold = promisify ( Client . prototype . setObjectLegalHold )
28582848Client . prototype . getObjectLegalHold = promisify ( Client . prototype . getObjectLegalHold )
28592849Client . prototype . composeObject = promisify ( Client . prototype . composeObject )
@@ -2863,3 +2853,4 @@ Client.prototype.selectObjectContent = promisify(Client.prototype.selectObjectCo
28632853Client . prototype . removeObject = callbackify ( Client . prototype . removeObject )
28642854Client . prototype . removeBucket = callbackify ( Client . prototype . removeBucket )
28652855Client . prototype . listBuckets = callbackify ( Client . prototype . listBuckets )
2856+ Client . prototype . removeBucketReplication = callbackify ( Client . prototype . removeBucketReplication )
0 commit comments