UNPKG

@tableau/taco-toolkit

Version:
19 lines (18 loc) 782 B
import { SelectObjectContentCommandInput } from '@aws-sdk/client-s3'; import { Permission } from '../../../../shared/types/permission'; import SandboxVM from '../../sandbox-vm'; import { SandboxPlugin } from '../sandbox-plugin'; interface SelectObjectContentOptions { commandInput: SelectObjectContentCommandInput; accessKeyId: string; secretAccessKey: string; region: string; } export declare class AwsUtils extends SandboxPlugin { private permission; constructor(permission: Permission); registerClass(sandbox: SandboxVM): void; } declare function createSelectObjectContent(permission: Permission): (options: SelectObjectContentOptions) => Promise<string>; export type selectObjectContentType = ReturnType<typeof createSelectObjectContent>; export {};