public Task <GetBucketLockConfigurationResponse> GetBucketLockConfigurationAsync(string bucketName, Action <GetBucketLockConfigurationRequest>?config = null, CancellationToken token = default) { GetBucketLockConfigurationRequest request = new GetBucketLockConfigurationRequest(bucketName); config?.Invoke(request); return(BucketOperations.GetBucketLockConfigurationAsync(request, token)); }
public Task <GetBucketLockConfigurationResponse> GetBucketLockConfigurationAsync(GetBucketLockConfigurationRequest request, CancellationToken token = default) { return(_requestHandler.SendRequestAsync <GetBucketLockConfigurationRequest, GetBucketLockConfigurationResponse>(request, token)); }