UNPKG

@itwin/object-storage-s3

Version:

Object storage implementation base for S3 compatible providers

10 lines 565 B
import { S3Client } from "@aws-sdk/client-s3"; import { ExpiryOptions, ObjectReference, PresignedUrlProvider } from "@itwin/object-storage-core"; export declare class S3PresignedUrlProvider implements PresignedUrlProvider { private readonly _client; private readonly _bucket; constructor(client: S3Client, bucket: string); getDownloadUrl(reference: ObjectReference, expiry?: ExpiryOptions): Promise<string>; getUploadUrl(reference: ObjectReference, expiry?: ExpiryOptions): Promise<string>; } //# sourceMappingURL=S3PresignedUrlProvider.d.ts.map