def presign

bend-kit-sigv4@0.11.0.1 · sigv4.bend:411

import bend-kit-sigv4@0.11.0.1/sigv4.bend as Sigv4
import Base

411# A presigned URL's query, signing host only over UNSIGNED-PAYLOAD, valid for expires seconds,
412# 1 to 604800 (else Fail EINVAL). Request https://{host}{path}?{result} with no auth headers.
413def presign(+creds: Credentials, +region: String, +service: String, +date: String, +method: String, +path: String, +q: String, +host: String, +expires: U32) -> IO(Result<&1, &1, U32 & String, String>):
414  presign.if(Bool.and(U32.is_lt(0, expires), U32.is_le(expires, 604800)), creds, region, service, date, method, path, q, host, expires)

Uses (10)

Used by (0)

No other definition uses this definition.