tencentcloud-sdk-nodejs-tione 4.0.1054 → 4.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -4
- package/es/index.js +1 -0
- package/es/services/index.js +1 -0
- package/es/services/tione/index.js +6 -0
- package/es/services/tione/v20191022/index.js +6 -0
- package/es/services/tione/v20191022/tione_client.js +72 -0
- package/es/services/tione/v20191022/tione_models.js +0 -0
- package/es/services/tione/v20211111/index.js +6 -0
- package/es/services/tione/v20211111/tione_client.js +123 -0
- package/es/services/tione/v20211111/tione_models.js +0 -0
- package/package.json +18 -5
- package/tencentcloud/services/tione/v20191022/index.js +2 -1
- package/tencentcloud/services/tione/v20191022/tione_client.js +2 -1
- package/tencentcloud/services/tione/v20211111/index.js +2 -1
- package/tencentcloud/services/tione/v20211111/tione_client.js +2 -1
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +17 -0
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/index.ts +0 -1
- package/src/services/tione/index.ts +0 -7
- package/src/services/tione/v20191022/index.ts +0 -6
- package/src/services/tione/v20191022/tione_client.ts +0 -315
- package/src/services/tione/v20191022/tione_models.ts +0 -1568
- package/src/services/tione/v20211111/index.ts +0 -6
- package/src/services/tione/v20211111/tione_client.ts +0 -581
- package/src/services/tione/v20211111/tione_models.ts +0 -5657
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,315 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
|
-
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
|
-
import {
|
|
20
|
-
OutputDataConfig,
|
|
21
|
-
StopTrainingJobResponse,
|
|
22
|
-
BillingLabel,
|
|
23
|
-
EnvConfig,
|
|
24
|
-
CreateNotebookInstanceRequest,
|
|
25
|
-
DescribeNotebookSummaryRequest,
|
|
26
|
-
SecondaryStatusTransition,
|
|
27
|
-
DescribeNotebookInstanceRequest,
|
|
28
|
-
DeleteNotebookInstanceResponse,
|
|
29
|
-
NotebookInstanceSummary,
|
|
30
|
-
GitConfig,
|
|
31
|
-
CodeRepoSummary,
|
|
32
|
-
ResourceConfig,
|
|
33
|
-
DeleteNotebookLifecycleScriptResponse,
|
|
34
|
-
DescribeNotebookLifecycleScriptsRequest,
|
|
35
|
-
GitSecret,
|
|
36
|
-
DeleteCodeRepositoryRequest,
|
|
37
|
-
DescribeCodeRepositoryResponse,
|
|
38
|
-
InputDataConfig,
|
|
39
|
-
StartNotebookInstanceResponse,
|
|
40
|
-
UpdateCodeRepositoryResponse,
|
|
41
|
-
CreateNotebookInstanceResponse,
|
|
42
|
-
FileSystemDataSource,
|
|
43
|
-
NotebookLifecycleScriptsSummary,
|
|
44
|
-
StopTrainingJobRequest,
|
|
45
|
-
UpdateNotebookInstanceResponse,
|
|
46
|
-
ClsConfig,
|
|
47
|
-
UpdateNotebookInstanceRequest,
|
|
48
|
-
CreatePresignedNotebookInstanceUrlRequest,
|
|
49
|
-
CreateNotebookLifecycleScriptRequest,
|
|
50
|
-
CreateCodeRepositoryRequest,
|
|
51
|
-
DescribeNotebookInstancesRequest,
|
|
52
|
-
DescribeTrainingJobsResponse,
|
|
53
|
-
StoppingCondition,
|
|
54
|
-
DescribeCodeRepositoriesResponse,
|
|
55
|
-
DescribeNotebookInstancesResponse,
|
|
56
|
-
DescribeCodeRepositoryRequest,
|
|
57
|
-
CreateTrainingJobResponse,
|
|
58
|
-
DescribeNotebookInstanceResponse,
|
|
59
|
-
DescribeTrainingJobRequest,
|
|
60
|
-
TrainingJobSummary,
|
|
61
|
-
AlgorithmSpecification,
|
|
62
|
-
CosDataSource,
|
|
63
|
-
DescribeNotebookLifecycleScriptsResponse,
|
|
64
|
-
DescribeNotebookSummaryResponse,
|
|
65
|
-
Filter,
|
|
66
|
-
StopNotebookInstanceRequest,
|
|
67
|
-
DeleteNotebookLifecycleScriptRequest,
|
|
68
|
-
DescribeNotebookLifecycleScriptResponse,
|
|
69
|
-
DescribeTrainingJobResponse,
|
|
70
|
-
StopNotebookInstanceResponse,
|
|
71
|
-
UpdateCodeRepositoryRequest,
|
|
72
|
-
CreateTrainingJobRequest,
|
|
73
|
-
DeleteNotebookInstanceRequest,
|
|
74
|
-
DescribeNotebookLifecycleScriptRequest,
|
|
75
|
-
VpcConfig,
|
|
76
|
-
CreateNotebookLifecycleScriptResponse,
|
|
77
|
-
CreatePresignedNotebookInstanceUrlResponse,
|
|
78
|
-
DescribeTrainingJobsRequest,
|
|
79
|
-
StartNotebookInstanceRequest,
|
|
80
|
-
CreateCodeRepositoryResponse,
|
|
81
|
-
DescribeCodeRepositoriesRequest,
|
|
82
|
-
DataSource,
|
|
83
|
-
ModelArtifacts,
|
|
84
|
-
DeleteCodeRepositoryResponse,
|
|
85
|
-
} from "./tione_models"
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* tione client
|
|
89
|
-
* @class
|
|
90
|
-
*/
|
|
91
|
-
export class Client extends TencentCloudCommon.AbstractClient {
|
|
92
|
-
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
93
|
-
super("tione.tencentcloudapi.com", "2019-10-22", clientConfig)
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* 更新Notebook实例
|
|
98
|
-
*/
|
|
99
|
-
async UpdateNotebookInstance(
|
|
100
|
-
req: UpdateNotebookInstanceRequest,
|
|
101
|
-
cb?: (error: string, rep: UpdateNotebookInstanceResponse) => void
|
|
102
|
-
): Promise<UpdateNotebookInstanceResponse> {
|
|
103
|
-
return this.request("UpdateNotebookInstance", req, cb)
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* 查看notebook生命周期脚本列表
|
|
108
|
-
*/
|
|
109
|
-
async DescribeNotebookLifecycleScripts(
|
|
110
|
-
req: DescribeNotebookLifecycleScriptsRequest,
|
|
111
|
-
cb?: (error: string, rep: DescribeNotebookLifecycleScriptsResponse) => void
|
|
112
|
-
): Promise<DescribeNotebookLifecycleScriptsResponse> {
|
|
113
|
-
return this.request("DescribeNotebookLifecycleScripts", req, cb)
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* 启动Notebook实例
|
|
118
|
-
*/
|
|
119
|
-
async StartNotebookInstance(
|
|
120
|
-
req: StartNotebookInstanceRequest,
|
|
121
|
-
cb?: (error: string, rep: StartNotebookInstanceResponse) => void
|
|
122
|
-
): Promise<StartNotebookInstanceResponse> {
|
|
123
|
-
return this.request("StartNotebookInstance", req, cb)
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* 删除notebook实例
|
|
128
|
-
*/
|
|
129
|
-
async DeleteNotebookInstance(
|
|
130
|
-
req: DeleteNotebookInstanceRequest,
|
|
131
|
-
cb?: (error: string, rep: DeleteNotebookInstanceResponse) => void
|
|
132
|
-
): Promise<DeleteNotebookInstanceResponse> {
|
|
133
|
-
return this.request("DeleteNotebookInstance", req, cb)
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* 查看notebook生命周期脚本详情
|
|
138
|
-
*/
|
|
139
|
-
async DescribeNotebookLifecycleScript(
|
|
140
|
-
req: DescribeNotebookLifecycleScriptRequest,
|
|
141
|
-
cb?: (error: string, rep: DescribeNotebookLifecycleScriptResponse) => void
|
|
142
|
-
): Promise<DescribeNotebookLifecycleScriptResponse> {
|
|
143
|
-
return this.request("DescribeNotebookLifecycleScript", req, cb)
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* 创建Notebook授权Url
|
|
148
|
-
*/
|
|
149
|
-
async CreatePresignedNotebookInstanceUrl(
|
|
150
|
-
req: CreatePresignedNotebookInstanceUrlRequest,
|
|
151
|
-
cb?: (error: string, rep: CreatePresignedNotebookInstanceUrlResponse) => void
|
|
152
|
-
): Promise<CreatePresignedNotebookInstanceUrlResponse> {
|
|
153
|
-
return this.request("CreatePresignedNotebookInstanceUrl", req, cb)
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* 创建存储库
|
|
158
|
-
*/
|
|
159
|
-
async CreateCodeRepository(
|
|
160
|
-
req: CreateCodeRepositoryRequest,
|
|
161
|
-
cb?: (error: string, rep: CreateCodeRepositoryResponse) => void
|
|
162
|
-
): Promise<CreateCodeRepositoryResponse> {
|
|
163
|
-
return this.request("CreateCodeRepository", req, cb)
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* 查询训练任务
|
|
168
|
-
*/
|
|
169
|
-
async DescribeTrainingJob(
|
|
170
|
-
req: DescribeTrainingJobRequest,
|
|
171
|
-
cb?: (error: string, rep: DescribeTrainingJobResponse) => void
|
|
172
|
-
): Promise<DescribeTrainingJobResponse> {
|
|
173
|
-
return this.request("DescribeTrainingJob", req, cb)
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* 停止Notebook实例
|
|
178
|
-
*/
|
|
179
|
-
async StopNotebookInstance(
|
|
180
|
-
req: StopNotebookInstanceRequest,
|
|
181
|
-
cb?: (error: string, rep: StopNotebookInstanceResponse) => void
|
|
182
|
-
): Promise<StopNotebookInstanceResponse> {
|
|
183
|
-
return this.request("StopNotebookInstance", req, cb)
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* 创建Notebook实例
|
|
188
|
-
*/
|
|
189
|
-
async CreateNotebookInstance(
|
|
190
|
-
req: CreateNotebookInstanceRequest,
|
|
191
|
-
cb?: (error: string, rep: CreateNotebookInstanceResponse) => void
|
|
192
|
-
): Promise<CreateNotebookInstanceResponse> {
|
|
193
|
-
return this.request("CreateNotebookInstance", req, cb)
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* 查询存储库详情
|
|
198
|
-
*/
|
|
199
|
-
async DescribeCodeRepository(
|
|
200
|
-
req: DescribeCodeRepositoryRequest,
|
|
201
|
-
cb?: (error: string, rep: DescribeCodeRepositoryResponse) => void
|
|
202
|
-
): Promise<DescribeCodeRepositoryResponse> {
|
|
203
|
-
return this.request("DescribeCodeRepository", req, cb)
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* 查询训练任务列表
|
|
208
|
-
*/
|
|
209
|
-
async DescribeTrainingJobs(
|
|
210
|
-
req: DescribeTrainingJobsRequest,
|
|
211
|
-
cb?: (error: string, rep: DescribeTrainingJobsResponse) => void
|
|
212
|
-
): Promise<DescribeTrainingJobsResponse> {
|
|
213
|
-
return this.request("DescribeTrainingJobs", req, cb)
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* 删除存储库
|
|
218
|
-
*/
|
|
219
|
-
async DeleteCodeRepository(
|
|
220
|
-
req: DeleteCodeRepositoryRequest,
|
|
221
|
-
cb?: (error: string, rep: DeleteCodeRepositoryResponse) => void
|
|
222
|
-
): Promise<DeleteCodeRepositoryResponse> {
|
|
223
|
-
return this.request("DeleteCodeRepository", req, cb)
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* 查询Notebook概览数据
|
|
228
|
-
*/
|
|
229
|
-
async DescribeNotebookSummary(
|
|
230
|
-
req?: DescribeNotebookSummaryRequest,
|
|
231
|
-
cb?: (error: string, rep: DescribeNotebookSummaryResponse) => void
|
|
232
|
-
): Promise<DescribeNotebookSummaryResponse> {
|
|
233
|
-
return this.request("DescribeNotebookSummary", req, cb)
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* 创建Notebook生命周期脚本
|
|
238
|
-
*/
|
|
239
|
-
async CreateNotebookLifecycleScript(
|
|
240
|
-
req: CreateNotebookLifecycleScriptRequest,
|
|
241
|
-
cb?: (error: string, rep: CreateNotebookLifecycleScriptResponse) => void
|
|
242
|
-
): Promise<CreateNotebookLifecycleScriptResponse> {
|
|
243
|
-
return this.request("CreateNotebookLifecycleScript", req, cb)
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/**
|
|
247
|
-
* 删除Notebook生命周期脚本
|
|
248
|
-
*/
|
|
249
|
-
async DeleteNotebookLifecycleScript(
|
|
250
|
-
req: DeleteNotebookLifecycleScriptRequest,
|
|
251
|
-
cb?: (error: string, rep: DeleteNotebookLifecycleScriptResponse) => void
|
|
252
|
-
): Promise<DeleteNotebookLifecycleScriptResponse> {
|
|
253
|
-
return this.request("DeleteNotebookLifecycleScript", req, cb)
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* 查询Notebook实例详情
|
|
258
|
-
*/
|
|
259
|
-
async DescribeNotebookInstance(
|
|
260
|
-
req: DescribeNotebookInstanceRequest,
|
|
261
|
-
cb?: (error: string, rep: DescribeNotebookInstanceResponse) => void
|
|
262
|
-
): Promise<DescribeNotebookInstanceResponse> {
|
|
263
|
-
return this.request("DescribeNotebookInstance", req, cb)
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* 更新存储库
|
|
268
|
-
*/
|
|
269
|
-
async UpdateCodeRepository(
|
|
270
|
-
req: UpdateCodeRepositoryRequest,
|
|
271
|
-
cb?: (error: string, rep: UpdateCodeRepositoryResponse) => void
|
|
272
|
-
): Promise<UpdateCodeRepositoryResponse> {
|
|
273
|
-
return this.request("UpdateCodeRepository", req, cb)
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* 查询Notebook实例列表
|
|
278
|
-
*/
|
|
279
|
-
async DescribeNotebookInstances(
|
|
280
|
-
req: DescribeNotebookInstancesRequest,
|
|
281
|
-
cb?: (error: string, rep: DescribeNotebookInstancesResponse) => void
|
|
282
|
-
): Promise<DescribeNotebookInstancesResponse> {
|
|
283
|
-
return this.request("DescribeNotebookInstances", req, cb)
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* 创建训练任务
|
|
288
|
-
*/
|
|
289
|
-
async CreateTrainingJob(
|
|
290
|
-
req: CreateTrainingJobRequest,
|
|
291
|
-
cb?: (error: string, rep: CreateTrainingJobResponse) => void
|
|
292
|
-
): Promise<CreateTrainingJobResponse> {
|
|
293
|
-
return this.request("CreateTrainingJob", req, cb)
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* 查询存储库列表
|
|
298
|
-
*/
|
|
299
|
-
async DescribeCodeRepositories(
|
|
300
|
-
req: DescribeCodeRepositoriesRequest,
|
|
301
|
-
cb?: (error: string, rep: DescribeCodeRepositoriesResponse) => void
|
|
302
|
-
): Promise<DescribeCodeRepositoriesResponse> {
|
|
303
|
-
return this.request("DescribeCodeRepositories", req, cb)
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* 停止训练任务
|
|
308
|
-
*/
|
|
309
|
-
async StopTrainingJob(
|
|
310
|
-
req: StopTrainingJobRequest,
|
|
311
|
-
cb?: (error: string, rep: StopTrainingJobResponse) => void
|
|
312
|
-
): Promise<StopTrainingJobResponse> {
|
|
313
|
-
return this.request("StopTrainingJob", req, cb)
|
|
314
|
-
}
|
|
315
|
-
}
|