createSignedUrls

abstract suspend fun createSignedUrls(expiresIn: Duration, paths: Collection<String>): List<SignedUrl>(source)
open suspend fun createSignedUrls(expiresIn: Duration, vararg paths: String): List<SignedUrl>(source)

Creates signed urls for all specified paths. The urls will expire after expiresIn

Return

A list of SignedUrls

Parameters

expiresIn

The duration the urls are valid

paths

The paths to create urls for

Throws

or one of its subclasses if receiving an error response

HttpRequestTimeoutException

if the request timed out

on network related issues