UNPKG

@studyportals/sp-r2d2

Version:

A framework that contains various components used when developing projects that will be deployed via AWS λ.

13 lines (12 loc) 663 B
import { IS3Adapter } from '../aws-services-adapters-interfaces/i-s3-adapter.interface'; import { ITransferMedium } from '../content-transfer-interfaces/i-transfer-medium.interface'; export declare class S3TransferMedium<TPayload> implements ITransferMedium<TPayload> { protected _s3Adapter: IS3Adapter; protected get s3Adapter(): IS3Adapter; constructor(s3Adapter: IS3Adapter); pack(payload: TPayload): Promise<string>; unpack(identifier: string): Promise<TPayload>; protected generateIdentifier(payload: TPayload): string; protected serialize(payload: TPayload): string; protected deserialize(serialization: string): TPayload; }