@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
16 lines • 650 B
TypeScript
import { PresignedURLMethodEnum } from './PresignedURLMethodEnum';
import { StorageClassEnum } from './StorageClassEnum';
/** Inputs to generate a presigned URL. */
export interface PresignedURLInput {
/** URL expiration in seconds. */
expire: number;
/** Presigned URL method. */
method: PresignedURLMethodEnum;
/** Object key. */
object: string;
/** When using PUT method, specifies the created object storage class. */
storageClass: StorageClassEnum;
/** Version ID of the object to download or delete when using GET or DELETE methods. */
versionId: string;
}
//# sourceMappingURL=PresignedURLInput.d.ts.map