@ydbjs/api
Version:
TypeScript gRPC service definitions and protobuf types for all YDB APIs. Enables strongly-typed client generation and low-level protocol access.
40 lines • 2.21 kB
TypeScript
import type { MessageInitShape } from "@bufbuild/protobuf";
import { ImportDataRequestSchema, ImportDataResponseSchema, ImportFromS3RequestSchema, ImportFromS3ResponseSchema } 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<ArrayBufferLike>;
readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ImportFromS3Request;
readonly responseStream: false;
readonly responseSerialize: (message: MessageInitShape<typeof ImportFromS3ResponseSchema>) => Uint8Array<ArrayBufferLike>;
readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ImportFromS3Response;
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<ArrayBufferLike>;
readonly requestDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ImportDataRequest;
readonly responseStream: false;
readonly responseSerialize: (message: MessageInitShape<typeof ImportDataResponseSchema>) => Uint8Array<ArrayBufferLike>;
readonly responseDeserialize: (bytes: Uint8Array) => import("./protos/ydb_import_pb.js").ImportDataResponse;
readonly options: {};
};
};
//# sourceMappingURL=ydb_import_v1_grpc_pb.d.ts.map