Skip to main content

Class: SignedUrlService

Constructors

new SignedUrlService()

new SignedUrlService(client, prefixService): SignedUrlService

Parameters

client: S3Client

prefixService: PrefixService

Returns

SignedUrlService

Defined in

services/signed-url.service.ts:17

Methods

getDeleteObjectsSignedUrl()

getDeleteObjectsSignedUrl(bucket, remotes, expiresIn, options?): Promise<string>

Parameters

bucket: string

remotes: string[]

expiresIn: number = DEFAULT_EXPIRES_IN

options?: DeleteObjectsOptions

Returns

Promise<string>

Defined in

services/signed-url.service.ts:85


getDeleteSignedUrl()

getDeleteSignedUrl(bucket, remote, expiresIn, options?): Promise<string>

Parameters

bucket: string

remote: string

expiresIn: number = DEFAULT_EXPIRES_IN

options?: DeleteObjectOptions

Returns

Promise<string>

Defined in

services/signed-url.service.ts:66


getPutSignedUrl()

getPutSignedUrl(bucket, remote, expiresIn, options?): Promise<PutSignedUrl>

Parameters

bucket: string

remote: string

expiresIn: number = DEFAULT_EXPIRES_IN

options?: PutObjectOptions

Returns

Promise<PutSignedUrl>

Defined in

services/signed-url.service.ts:22


getSignedUrl()

getSignedUrl(bucket, remote, expiresIn, options?): Promise<string>

Parameters

bucket: string

remote: string

expiresIn: number = DEFAULT_EXPIRES_IN

options?: GetObjectOptions

Returns

Promise<string>

Defined in

services/signed-url.service.ts:47