tencentcloud-sdk-nodejs 4.0.652 → 4.0.653
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/CHANGELOG.md +200 -0
- package/SERVICE_CHANGELOG.md +233 -146
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +27 -27
- package/src/services/cdn/v20180606/cdn_models.ts +0 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +2 -2
- package/src/services/clb/v20180317/clb_models.ts +4 -6
- package/src/services/cls/v20201016/cls_models.ts +15 -15
- package/src/services/ess/v20201111/ess_client.ts +5 -4
- package/src/services/ess/v20201111/ess_models.ts +70 -30
- package/src/services/essbasic/v20210526/essbasic_client.ts +7 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +49 -33
- package/src/services/lcic/v20220817/lcic_models.ts +4 -0
- package/src/services/nlp/v20190408/nlp_models.ts +1 -1
- package/src/services/ocr/v20181119/ocr_client.ts +2 -34
- package/src/services/ocr/v20181119/ocr_models.ts +40 -209
- package/src/services/teo/v20220901/teo_models.ts +16 -16
- package/src/services/tione/v20211111/tione_client.ts +182 -22
- package/src/services/tione/v20211111/tione_models.ts +1203 -277
- package/src/services/waf/v20180125/waf_client.ts +13 -0
- package/src/services/waf/v20180125/waf_models.ts +58 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +27 -27
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +0 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +2 -2
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -6
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +15 -15
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +5 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +70 -30
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +7 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +7 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +49 -33
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -15
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +0 -18
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +40 -203
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +16 -16
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +57 -5
- package/tencentcloud/services/tione/v20211111/tione_client.js +84 -6
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1135 -239
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +55 -0
- package/test/ocr.v20181119.test.js +0 -20
- package/test/tione.v20211111.test.js +134 -4
- package/test/waf.v20180125.test.js +10 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateAccessExportRequest, DescribeIpHitItemsResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddCustomWhiteRuleResponse, DescribeCustomWhiteRuleResponse, DescribePeakValueResponse, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribePeakPointsRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, SearchAttackLogRequest, DeleteCustomWhiteRuleResponse, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, ModifySpartaProtectionResponse, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, DeleteAccessExportResponse, DescribeAccessExportsRequest, DescribeCustomWhiteRuleRequest, DescribeUserClbWafRegionsResponse, ModifyCustomWhiteRuleRequest, DeleteCustomWhiteRuleRequest, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeVipInfoRequest, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, CreateHostResponse, SwitchDomainRulesRequest, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, CreateHostRequest, ModifyAreaBanStatusRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, ModifyCustomWhiteRuleResponse, DescribePolicyStatusRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, DescribeAttackOverviewResponse, ModifyWafAutoDenyStatusResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeDomainWhiteRulesRequest, ModifyCustomRuleStatusRequest, DescribePeakPointsResponse, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, DescribePeakValueRequest, ModifyWafAutoDenyRulesResponse, SearchAttackLogResponse, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, DescribeWafAutoDenyRulesResponse, ModifyAreaBanStatusResponse, ModifyDomainWhiteRuleResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, DescribeVipInfoResponse, DescribeRuleLimitRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, ModifySpartaProtectionRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DescribeWafThreatenIntelligenceResponse, DescribeAccessHistogramResponse, DeleteAttackDownloadRecordRequest, AddCustomWhiteRuleRequest, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DescribeAccessHistogramRequest, DeleteSessionResponse, DescribeRuleLimitResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
|
|
3
|
+
import { CreateAccessExportRequest, DescribeIpHitItemsResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddCustomWhiteRuleResponse, DescribeCustomWhiteRuleResponse, DescribePeakValueResponse, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribePeakPointsRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, SearchAttackLogRequest, DeleteCustomWhiteRuleResponse, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, ModifySpartaProtectionResponse, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, GetAttackHistogramRequest, DeleteAccessExportResponse, DescribeAccessExportsRequest, DescribeCustomWhiteRuleRequest, DescribeUserClbWafRegionsResponse, ModifyCustomWhiteRuleRequest, DeleteCustomWhiteRuleRequest, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeVipInfoRequest, GetAttackHistogramResponse, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, CreateHostResponse, SwitchDomainRulesRequest, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, CreateHostRequest, ModifyAreaBanStatusRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, ModifyCustomWhiteRuleResponse, DescribePolicyStatusRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, DescribeAttackOverviewResponse, ModifyWafAutoDenyStatusResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeDomainWhiteRulesRequest, ModifyCustomRuleStatusRequest, DescribePeakPointsResponse, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, DescribePeakValueRequest, ModifyWafAutoDenyRulesResponse, SearchAttackLogResponse, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, DescribeWafAutoDenyRulesResponse, ModifyAreaBanStatusResponse, ModifyDomainWhiteRuleResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, DescribeVipInfoResponse, DescribeRuleLimitRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, ModifySpartaProtectionRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DescribeWafThreatenIntelligenceResponse, DescribeAccessHistogramResponse, DeleteAttackDownloadRecordRequest, AddCustomWhiteRuleRequest, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DescribeAccessHistogramRequest, DeleteSessionResponse, DescribeRuleLimitResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
|
|
4
4
|
/**
|
|
5
5
|
* waf client
|
|
6
6
|
* @class
|
|
@@ -59,6 +59,10 @@ export declare class Client extends AbstractClient {
|
|
|
59
59
|
* Waf IP黑白名单Delete接口
|
|
60
60
|
*/
|
|
61
61
|
DeleteIpAccessControl(req: DeleteIpAccessControlRequest, cb?: (error: string, rep: DeleteIpAccessControlResponse) => void): Promise<DeleteIpAccessControlResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* 生成攻击日志的产生时间柱状图
|
|
64
|
+
*/
|
|
65
|
+
GetAttackHistogram(req: GetAttackHistogramRequest, cb?: (error: string, rep: GetAttackHistogramResponse) => void): Promise<GetAttackHistogramResponse>;
|
|
62
66
|
/**
|
|
63
67
|
* 配置WAF自动封禁模块状态
|
|
64
68
|
*/
|
|
@@ -105,6 +105,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
105
105
|
async DeleteIpAccessControl(req, cb) {
|
|
106
106
|
return this.request("DeleteIpAccessControl", req, cb);
|
|
107
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* 生成攻击日志的产生时间柱状图
|
|
110
|
+
*/
|
|
111
|
+
async GetAttackHistogram(req, cb) {
|
|
112
|
+
return this.request("GetAttackHistogram", req, cb);
|
|
113
|
+
}
|
|
108
114
|
/**
|
|
109
115
|
* 配置WAF自动封禁模块状态
|
|
110
116
|
*/
|
|
@@ -797,6 +797,27 @@ export interface DescribeUserCdcClbWafRegionsResponse {
|
|
|
797
797
|
*/
|
|
798
798
|
RequestId?: string;
|
|
799
799
|
}
|
|
800
|
+
/**
|
|
801
|
+
* GetAttackHistogram请求参数结构体
|
|
802
|
+
*/
|
|
803
|
+
export interface GetAttackHistogramRequest {
|
|
804
|
+
/**
|
|
805
|
+
* 查询的域名,所有域名使用all
|
|
806
|
+
*/
|
|
807
|
+
Domain: string;
|
|
808
|
+
/**
|
|
809
|
+
* 查询起始时间
|
|
810
|
+
*/
|
|
811
|
+
StartTime: string;
|
|
812
|
+
/**
|
|
813
|
+
* 查询结束时间
|
|
814
|
+
*/
|
|
815
|
+
EndTime: string;
|
|
816
|
+
/**
|
|
817
|
+
* Lucene语法
|
|
818
|
+
*/
|
|
819
|
+
QueryString: string;
|
|
820
|
+
}
|
|
800
821
|
/**
|
|
801
822
|
* DeleteAccessExport返回参数结构体
|
|
802
823
|
*/
|
|
@@ -939,6 +960,27 @@ export interface DescribeVipInfoRequest {
|
|
|
939
960
|
*/
|
|
940
961
|
InstanceIds: Array<string>;
|
|
941
962
|
}
|
|
963
|
+
/**
|
|
964
|
+
* GetAttackHistogram返回参数结构体
|
|
965
|
+
*/
|
|
966
|
+
export interface GetAttackHistogramResponse {
|
|
967
|
+
/**
|
|
968
|
+
* 统计详情
|
|
969
|
+
*/
|
|
970
|
+
Data?: Array<LogHistogramInfo>;
|
|
971
|
+
/**
|
|
972
|
+
* 时间段大小
|
|
973
|
+
*/
|
|
974
|
+
Period?: number;
|
|
975
|
+
/**
|
|
976
|
+
* 统计的条目数
|
|
977
|
+
*/
|
|
978
|
+
TotalCount?: number;
|
|
979
|
+
/**
|
|
980
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
981
|
+
*/
|
|
982
|
+
RequestId?: string;
|
|
983
|
+
}
|
|
942
984
|
/**
|
|
943
985
|
* 过滤数组
|
|
944
986
|
*/
|
|
@@ -1885,6 +1927,19 @@ export interface DescribeWafAutoDenyStatusResponse {
|
|
|
1885
1927
|
*/
|
|
1886
1928
|
RequestId?: string;
|
|
1887
1929
|
}
|
|
1930
|
+
/**
|
|
1931
|
+
* 攻击日志统计详情
|
|
1932
|
+
*/
|
|
1933
|
+
export interface LogHistogramInfo {
|
|
1934
|
+
/**
|
|
1935
|
+
* 日志条数
|
|
1936
|
+
*/
|
|
1937
|
+
Count: number;
|
|
1938
|
+
/**
|
|
1939
|
+
* 时间戳
|
|
1940
|
+
*/
|
|
1941
|
+
TimeStamp: number;
|
|
1942
|
+
}
|
|
1888
1943
|
/**
|
|
1889
1944
|
* DeleteDomainWhiteRules请求参数结构体
|
|
1890
1945
|
*/
|
|
@@ -48,16 +48,6 @@ it("ocr.v20181119.ImageEnhancement", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("ocr.v20181119.QueryBarCode", async function () {
|
|
52
|
-
try {
|
|
53
|
-
const data = await client.QueryBarCode({})
|
|
54
|
-
expect(data).to.be.ok
|
|
55
|
-
} catch(error) {
|
|
56
|
-
expect(error.requestId).to.be.ok
|
|
57
|
-
expect(error.code).to.be.ok
|
|
58
|
-
}
|
|
59
|
-
})
|
|
60
|
-
|
|
61
51
|
it("ocr.v20181119.SmartStructuralOCRV2", async function () {
|
|
62
52
|
try {
|
|
63
53
|
const data = await client.SmartStructuralOCRV2({})
|
|
@@ -448,16 +438,6 @@ it("ocr.v20181119.FinanBillSliceOCR", async function () {
|
|
|
448
438
|
}
|
|
449
439
|
})
|
|
450
440
|
|
|
451
|
-
it("ocr.v20181119.VerifyEnterpriseFourFactors", async function () {
|
|
452
|
-
try {
|
|
453
|
-
const data = await client.VerifyEnterpriseFourFactors({})
|
|
454
|
-
expect(data).to.be.ok
|
|
455
|
-
} catch(error) {
|
|
456
|
-
expect(error.requestId).to.be.ok
|
|
457
|
-
expect(error.code).to.be.ok
|
|
458
|
-
}
|
|
459
|
-
})
|
|
460
|
-
|
|
461
441
|
it("ocr.v20181119.BusInvoiceOCR", async function () {
|
|
462
442
|
try {
|
|
463
443
|
const data = await client.BusInvoiceOCR({})
|
|
@@ -98,9 +98,9 @@ it("tione.v20211111.CreateOptimizedModel", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
-
it("tione.v20211111.
|
|
101
|
+
it("tione.v20211111.DescribeTrainingTask", async function () {
|
|
102
102
|
try {
|
|
103
|
-
const data = await client.
|
|
103
|
+
const data = await client.DescribeTrainingTask({})
|
|
104
104
|
expect(data).to.be.ok
|
|
105
105
|
} catch(error) {
|
|
106
106
|
expect(error.requestId).to.be.ok
|
|
@@ -118,6 +118,16 @@ it("tione.v20211111.DescribeModelServiceGroup", async function () {
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("tione.v20211111.StartNotebook", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.StartNotebook({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
121
131
|
it("tione.v20211111.DescribeModelService", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.DescribeModelService({})
|
|
@@ -178,6 +188,16 @@ it("tione.v20211111.DescribeDatasetDetailUnstructured", async function () {
|
|
|
178
188
|
}
|
|
179
189
|
})
|
|
180
190
|
|
|
191
|
+
it("tione.v20211111.DeleteNotebook", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DeleteNotebook({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
181
201
|
it("tione.v20211111.DescribeTrainingModels", async function () {
|
|
182
202
|
try {
|
|
183
203
|
const data = await client.DescribeTrainingModels({})
|
|
@@ -228,6 +248,16 @@ it("tione.v20211111.DescribeTrainingMetrics", async function () {
|
|
|
228
248
|
}
|
|
229
249
|
})
|
|
230
250
|
|
|
251
|
+
it("tione.v20211111.ModifyNotebookTags", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.ModifyNotebookTags({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
231
261
|
it("tione.v20211111.DeleteTrainingModel", async function () {
|
|
232
262
|
try {
|
|
233
263
|
const data = await client.DeleteTrainingModel({})
|
|
@@ -268,6 +298,16 @@ it("tione.v20211111.DescribeBatchTaskInstances", async function () {
|
|
|
268
298
|
}
|
|
269
299
|
})
|
|
270
300
|
|
|
301
|
+
it("tione.v20211111.CreateNotebook", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.CreateNotebook({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
271
311
|
it("tione.v20211111.DescribeModelAccEngineVersions", async function () {
|
|
272
312
|
try {
|
|
273
313
|
const data = await client.DescribeModelAccEngineVersions({})
|
|
@@ -358,6 +398,16 @@ it("tione.v20211111.DescribeTrainingModelVersions", async function () {
|
|
|
358
398
|
}
|
|
359
399
|
})
|
|
360
400
|
|
|
401
|
+
it("tione.v20211111.CreateNotebookImage", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.CreateNotebookImage({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
361
411
|
it("tione.v20211111.DescribeModelAccelerateTasks", async function () {
|
|
362
412
|
try {
|
|
363
413
|
const data = await client.DescribeModelAccelerateTasks({})
|
|
@@ -438,6 +488,26 @@ it("tione.v20211111.DescribeModelServices", async function () {
|
|
|
438
488
|
}
|
|
439
489
|
})
|
|
440
490
|
|
|
491
|
+
it("tione.v20211111.DescribeTrainingTasks", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.DescribeTrainingTasks({})
|
|
494
|
+
expect(data).to.be.ok
|
|
495
|
+
} catch(error) {
|
|
496
|
+
expect(error.requestId).to.be.ok
|
|
497
|
+
expect(error.code).to.be.ok
|
|
498
|
+
}
|
|
499
|
+
})
|
|
500
|
+
|
|
501
|
+
it("tione.v20211111.DeleteNotebookImageRecord", async function () {
|
|
502
|
+
try {
|
|
503
|
+
const data = await client.DeleteNotebookImageRecord({})
|
|
504
|
+
expect(data).to.be.ok
|
|
505
|
+
} catch(error) {
|
|
506
|
+
expect(error.requestId).to.be.ok
|
|
507
|
+
expect(error.code).to.be.ok
|
|
508
|
+
}
|
|
509
|
+
})
|
|
510
|
+
|
|
441
511
|
it("tione.v20211111.ModifyModelService", async function () {
|
|
442
512
|
try {
|
|
443
513
|
const data = await client.ModifyModelService({})
|
|
@@ -448,9 +518,9 @@ it("tione.v20211111.ModifyModelService", async function () {
|
|
|
448
518
|
}
|
|
449
519
|
})
|
|
450
520
|
|
|
451
|
-
it("tione.v20211111.
|
|
521
|
+
it("tione.v20211111.DescribeNotebooks", async function () {
|
|
452
522
|
try {
|
|
453
|
-
const data = await client.
|
|
523
|
+
const data = await client.DescribeNotebooks({})
|
|
454
524
|
expect(data).to.be.ok
|
|
455
525
|
} catch(error) {
|
|
456
526
|
expect(error.requestId).to.be.ok
|
|
@@ -468,6 +538,16 @@ it("tione.v20211111.CreateBatchTask", async function () {
|
|
|
468
538
|
}
|
|
469
539
|
})
|
|
470
540
|
|
|
541
|
+
it("tione.v20211111.StopCreatingImage", async function () {
|
|
542
|
+
try {
|
|
543
|
+
const data = await client.StopCreatingImage({})
|
|
544
|
+
expect(data).to.be.ok
|
|
545
|
+
} catch(error) {
|
|
546
|
+
expect(error.requestId).to.be.ok
|
|
547
|
+
expect(error.code).to.be.ok
|
|
548
|
+
}
|
|
549
|
+
})
|
|
550
|
+
|
|
471
551
|
it("tione.v20211111.DeleteTrainingTask", async function () {
|
|
472
552
|
try {
|
|
473
553
|
const data = await client.DeleteTrainingTask({})
|
|
@@ -478,6 +558,16 @@ it("tione.v20211111.DeleteTrainingTask", async function () {
|
|
|
478
558
|
}
|
|
479
559
|
})
|
|
480
560
|
|
|
561
|
+
it("tione.v20211111.DescribeNotebookImageRecords", async function () {
|
|
562
|
+
try {
|
|
563
|
+
const data = await client.DescribeNotebookImageRecords({})
|
|
564
|
+
expect(data).to.be.ok
|
|
565
|
+
} catch(error) {
|
|
566
|
+
expect(error.requestId).to.be.ok
|
|
567
|
+
expect(error.code).to.be.ok
|
|
568
|
+
}
|
|
569
|
+
})
|
|
570
|
+
|
|
481
571
|
it("tione.v20211111.CreateBatchModelAccTasks", async function () {
|
|
482
572
|
try {
|
|
483
573
|
const data = await client.CreateBatchModelAccTasks({})
|
|
@@ -508,6 +598,26 @@ it("tione.v20211111.DescribeLatestTrainingMetrics", async function () {
|
|
|
508
598
|
}
|
|
509
599
|
})
|
|
510
600
|
|
|
601
|
+
it("tione.v20211111.DescribeNotebookImageKernels", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.DescribeNotebookImageKernels({})
|
|
604
|
+
expect(data).to.be.ok
|
|
605
|
+
} catch(error) {
|
|
606
|
+
expect(error.requestId).to.be.ok
|
|
607
|
+
expect(error.code).to.be.ok
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
|
|
611
|
+
it("tione.v20211111.DescribeNotebook", async function () {
|
|
612
|
+
try {
|
|
613
|
+
const data = await client.DescribeNotebook({})
|
|
614
|
+
expect(data).to.be.ok
|
|
615
|
+
} catch(error) {
|
|
616
|
+
expect(error.requestId).to.be.ok
|
|
617
|
+
expect(error.code).to.be.ok
|
|
618
|
+
}
|
|
619
|
+
})
|
|
620
|
+
|
|
511
621
|
it("tione.v20211111.DescribeModelServiceHistory", async function () {
|
|
512
622
|
try {
|
|
513
623
|
const data = await client.DescribeModelServiceHistory({})
|
|
@@ -558,6 +668,16 @@ it("tione.v20211111.DescribeModelServiceGroups", async function () {
|
|
|
558
668
|
}
|
|
559
669
|
})
|
|
560
670
|
|
|
671
|
+
it("tione.v20211111.ModifyNotebook", async function () {
|
|
672
|
+
try {
|
|
673
|
+
const data = await client.ModifyNotebook({})
|
|
674
|
+
expect(data).to.be.ok
|
|
675
|
+
} catch(error) {
|
|
676
|
+
expect(error.requestId).to.be.ok
|
|
677
|
+
expect(error.code).to.be.ok
|
|
678
|
+
}
|
|
679
|
+
})
|
|
680
|
+
|
|
561
681
|
it("tione.v20211111.StopModelAccelerateTask", async function () {
|
|
562
682
|
try {
|
|
563
683
|
const data = await client.StopModelAccelerateTask({})
|
|
@@ -568,4 +688,14 @@ it("tione.v20211111.StopModelAccelerateTask", async function () {
|
|
|
568
688
|
}
|
|
569
689
|
})
|
|
570
690
|
|
|
691
|
+
it("tione.v20211111.StopNotebook", async function () {
|
|
692
|
+
try {
|
|
693
|
+
const data = await client.StopNotebook({})
|
|
694
|
+
expect(data).to.be.ok
|
|
695
|
+
} catch(error) {
|
|
696
|
+
expect(error.requestId).to.be.ok
|
|
697
|
+
expect(error.code).to.be.ok
|
|
698
|
+
}
|
|
699
|
+
})
|
|
700
|
+
|
|
571
701
|
})
|
|
@@ -148,6 +148,16 @@ it("waf.v20180125.DeleteIpAccessControl", async function () {
|
|
|
148
148
|
}
|
|
149
149
|
})
|
|
150
150
|
|
|
151
|
+
it("waf.v20180125.GetAttackHistogram", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.GetAttackHistogram({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
151
161
|
it("waf.v20180125.ModifyWafAutoDenyStatus", async function () {
|
|
152
162
|
try {
|
|
153
163
|
const data = await client.ModifyWafAutoDenyStatus({})
|