public Task <PutBucketLockConfigurationResponse> PutBucketLockConfigurationAsync(string bucketName, bool enabled, Action <PutBucketLockConfigurationRequest>?config = null, CancellationToken token = default) { PutBucketLockConfigurationRequest request = new PutBucketLockConfigurationRequest(bucketName, enabled); config?.Invoke(request); return(BucketOperations.PutBucketLockConfigurationAsync(request, token)); }
public Task <PutBucketLockConfigurationResponse> PutBucketLockConfigurationAsync(PutBucketLockConfigurationRequest request, CancellationToken token = default) { return(_requestHandler.SendRequestAsync <PutBucketLockConfigurationRequest, PutBucketLockConfigurationResponse>(request, token)); }