Function esthri::presign_delete

source ·
pub async fn presign_delete(
    s3: &Client,
    bucket: impl AsRef<str>,
    key: impl AsRef<str>,
    expiration: Option<Duration>
) -> Result<String>
Expand description

Generate a presigned URL for a client to use to delete a file. The file can be deleted using an HTTP DELETE on this URL.