-
Notifications
You must be signed in to change notification settings - Fork 97
/
omics_client.js
151 lines (151 loc) · 3.88 KB
/
omics_client.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Client = void 0;
/* eslint-disable @typescript-eslint/no-unused-vars */
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
const abstract_client_1 = require("../../../common/abstract_client");
/**
* omics client
* @class
*/
class Client extends abstract_client_1.AbstractClient {
constructor(clientConfig) {
super("omics.tencentcloudapi.com", "2022-11-28", clientConfig);
}
/**
* 导入表格文件。
*/
async ImportTableFile(req, cb) {
return this.request("ImportTableFile", req, cb);
}
/**
* 查询任务批次列表。
*/
async DescribeRunGroups(req, cb) {
return this.request("DescribeRunGroups", req, cb);
}
/**
* 查询表格行数据。
*/
async DescribeTablesRows(req, cb) {
return this.request("DescribeTablesRows", req, cb);
}
/**
* 删除缓存卷数据。
*/
async DeleteVolumeData(req, cb) {
return this.request("DeleteVolumeData", req, cb);
}
/**
* 查询环境列表。
*/
async DescribeEnvironments(req, cb) {
return this.request("DescribeEnvironments", req, cb);
}
/**
* 获取任务详情文件。
*/
async GetRunMetadataFile(req, cb) {
return this.request("GetRunMetadataFile", req, cb);
}
/**
* 创建缓存卷。
*/
async CreateVolume(req, cb) {
return this.request("CreateVolume", req, cb);
}
/**
* 查询缓存卷列表。
*/
async DescribeVolumes(req, cb) {
return this.request("DescribeVolumes", req, cb);
}
/**
* 查询任务详情。
*/
async GetRunStatus(req, cb) {
return this.request("GetRunStatus", req, cb);
}
/**
* 运行应用。
*/
async RunApplication(req, cb) {
return this.request("RunApplication", req, cb);
}
/**
* 运行工作流。
*/
async RunWorkflow(req, cb) {
return this.request("RunWorkflow", req, cb);
}
/**
* 创建组学平台计算环境。
*/
async CreateEnvironment(req, cb) {
return this.request("CreateEnvironment", req, cb);
}
/**
* 重试任务。
*/
async RetryRuns(req, cb) {
return this.request("RetryRuns", req, cb);
}
/**
* 终止任务批次。
*/
async TerminateRunGroup(req, cb) {
return this.request("TerminateRunGroup", req, cb);
}
/**
* 查询任务列表。
*/
async DescribeRuns(req, cb) {
return this.request("DescribeRuns", req, cb);
}
/**
* 删除缓存卷。
*/
async DeleteVolume(req, cb) {
return this.request("DeleteVolume", req, cb);
}
/**
* 修改缓存卷。
*/
async ModifyVolume(req, cb) {
return this.request("ModifyVolume", req, cb);
}
/**
* 删除环境。
*/
async DeleteEnvironment(req, cb) {
return this.request("DeleteEnvironment", req, cb);
}
/**
* 查询表格。
*/
async DescribeTables(req, cb) {
return this.request("DescribeTables", req, cb);
}
/**
* 查询作业详情。
*/
async GetRunCalls(req, cb) {
return this.request("GetRunCalls", req, cb);
}
}
exports.Client = Client;