import { AWSSignerV4 } from "https://deno.land/x/aws_api@v0.8.1/client/signing.ts";
Generate a "pre-signed" URL. Generally used to create short-lived links to private S3 objects.
const url = await signer.presign('s3', {
method: 'GET',
url: 'https://my-bucket.s3.amazonaws.com/my-key',
});
Parameters
props: { method?: "GET" | "PUT"; url: string; expiresIn?: number; signTime?: Date; }