UNPKG

@ydbjs/api

Version:

TypeScript gRPC service definitions and protobuf types for all YDB APIs. Enables strongly-typed client generation and low-level protocol access.

86 lines 5.14 kB
import type { MessageInitShape } from "@bufbuild/protobuf"; import { ImportDataRequestSchema, ImportDataResponseSchema, ImportFromFsRequestSchema, ImportFromFsResponseSchema, ImportFromS3RequestSchema, ImportFromS3ResponseSchema, ListObjectsInFsExportRequestSchema, ListObjectsInFsExportResponseSchema, ListObjectsInS3ExportRequestSchema, ListObjectsInS3ExportResponseSchema } from "./protos/ydb_import_pb.js"; /** * @generated from service Ydb.Import.V1.ImportService */ export declare const ImportServiceDefinition: { /** * Imports data from S3. * Method starts an asynchronous operation that can be cancelled while it is in progress. * * @generated from rpc Ydb.Import.V1.ImportService.ImportFromS3 */ readonly importFromS3: { readonly path: "/Ydb.Import.V1.ImportService/ImportFromS3"; readonly requestStream: false; readonly requestSerialize: (message: MessageInitShape<typeof ImportFromS3RequestSchema>) => Uint8Array<ArrayBuffer>; readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ImportFromS3Request; readonly responseStream: false; readonly responseSerialize: (message: MessageInitShape<typeof ImportFromS3ResponseSchema>) => Uint8Array<ArrayBuffer>; readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ImportFromS3Response; readonly options: {}; }; /** * Imports data from file system. * Method starts an asynchronous operation that can be cancelled while it is in progress. * * @generated from rpc Ydb.Import.V1.ImportService.ImportFromFs */ readonly importFromFs: { readonly path: "/Ydb.Import.V1.ImportService/ImportFromFs"; readonly requestStream: false; readonly requestSerialize: (message: MessageInitShape<typeof ImportFromFsRequestSchema>) => Uint8Array<ArrayBuffer>; readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ImportFromFsRequest; readonly responseStream: false; readonly responseSerialize: (message: MessageInitShape<typeof ImportFromFsResponseSchema>) => Uint8Array<ArrayBuffer>; readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ImportFromFsResponse; readonly options: {}; }; /** * List objects from existing export stored in S3 bucket * * @generated from rpc Ydb.Import.V1.ImportService.ListObjectsInS3Export */ readonly listObjectsInS3Export: { readonly path: "/Ydb.Import.V1.ImportService/ListObjectsInS3Export"; readonly requestStream: false; readonly requestSerialize: (message: MessageInitShape<typeof ListObjectsInS3ExportRequestSchema>) => Uint8Array<ArrayBuffer>; readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ListObjectsInS3ExportRequest; readonly responseStream: false; readonly responseSerialize: (message: MessageInitShape<typeof ListObjectsInS3ExportResponseSchema>) => Uint8Array<ArrayBuffer>; readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ListObjectsInS3ExportResponse; readonly options: {}; }; /** * List objects from existing export stored in FS * * @generated from rpc Ydb.Import.V1.ImportService.ListObjectsInFsExport */ readonly listObjectsInFsExport: { readonly path: "/Ydb.Import.V1.ImportService/ListObjectsInFsExport"; readonly requestStream: false; readonly requestSerialize: (message: MessageInitShape<typeof ListObjectsInFsExportRequestSchema>) => Uint8Array<ArrayBuffer>; readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ListObjectsInFsExportRequest; readonly responseStream: false; readonly responseSerialize: (message: MessageInitShape<typeof ListObjectsInFsExportResponseSchema>) => Uint8Array<ArrayBuffer>; readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ListObjectsInFsExportResponse; readonly options: {}; }; /** * Writes data to a table. * Method accepts serialized data in the selected format and writes it non-transactionally. * * @generated from rpc Ydb.Import.V1.ImportService.ImportData */ readonly importData: { readonly path: "/Ydb.Import.V1.ImportService/ImportData"; readonly requestStream: false; readonly requestSerialize: (message: MessageInitShape<typeof ImportDataRequestSchema>) => Uint8Array<ArrayBuffer>; readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ImportDataRequest; readonly responseStream: false; readonly responseSerialize: (message: MessageInitShape<typeof ImportDataResponseSchema>) => Uint8Array<ArrayBuffer>; readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ImportDataResponse; readonly options: {}; }; }; //# sourceMappingURL=ydb_import_v1_grpc_pb.d.ts.map