tencentcloud-sdk-nodejs 4.0.485 → 4.0.486
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 +246 -0
- package/SERVICE_CHANGELOG.md +367 -42
- package/package.json +1 -1
- package/products.md +14 -14
- package/src/common/sdk_version.ts +1 -1
- package/src/services/captcha/v20190722/captcha_models.ts +1 -1
- package/src/services/dnspod/v20210323/dnspod_client.ts +207 -47
- package/src/services/dnspod/v20210323/dnspod_models.ts +789 -56
- package/src/services/ess/v20201111/ess_models.ts +5 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +21 -2
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
- package/src/services/mps/v20190612/mps_client.ts +1 -0
- package/src/services/mps/v20190612/mps_models.ts +33 -0
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +6 -6
- package/src/services/rum/v20210622/rum_models.ts +5 -0
- package/src/services/tiia/v20190529/tiia_client.ts +174 -124
- package/src/services/tiia/v20190529/tiia_models.ts +225 -70
- package/src/services/tione/v20211111/tione_models.ts +11 -1
- package/src/services/tke/v20180525/tke_models.ts +10 -0
- package/src/services/trp/v20210515/trp_models.ts +15 -0
- package/src/services/vod/v20180717/vod_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +5 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +1 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +67 -15
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +99 -21
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +657 -37
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +16 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +28 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +6 -6
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +4 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +84 -52
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +104 -68
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +199 -62
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +11 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +8 -0
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +12 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/test/dnspod.v20210323.test.js +144 -14
- package/test/tiia.v20190529.test.js +52 -32
|
@@ -1113,6 +1113,10 @@ export interface CreateCustomPackRequest {
|
|
|
1113
1113
|
* 码段配置,和CustomId二选一必填
|
|
1114
1114
|
*/
|
|
1115
1115
|
CodeParts?: Array<CodePart>;
|
|
1116
|
+
/**
|
|
1117
|
+
* 批次ID,如果传了生码后会同时绑定批次,并激活码
|
|
1118
|
+
*/
|
|
1119
|
+
BatchId?: string;
|
|
1116
1120
|
}
|
|
1117
1121
|
/**
|
|
1118
1122
|
* CreateCodePack请求参数结构体
|
|
@@ -1150,6 +1154,10 @@ export interface CreateCodePackRequest {
|
|
|
1150
1154
|
* 码包规格
|
|
1151
1155
|
*/
|
|
1152
1156
|
PackSpec?: Array<PackSpec>;
|
|
1157
|
+
/**
|
|
1158
|
+
* 批次ID,如果传了生码后会同时绑定批次,并激活码
|
|
1159
|
+
*/
|
|
1160
|
+
BatchId?: string;
|
|
1153
1161
|
}
|
|
1154
1162
|
/**
|
|
1155
1163
|
* CreateCodeBatch请求参数结构体
|
|
@@ -1434,6 +1442,10 @@ export interface ModifyCustomRuleStatusRequest {
|
|
|
1434
1442
|
* 码规则状态 0:未生效 1:已生效 -1:已失效
|
|
1435
1443
|
*/
|
|
1436
1444
|
Status: number;
|
|
1445
|
+
/**
|
|
1446
|
+
* 企业ID
|
|
1447
|
+
*/
|
|
1448
|
+
CorpId?: number;
|
|
1437
1449
|
}
|
|
1438
1450
|
/**
|
|
1439
1451
|
* CreateCodePack返回参数结构体
|
|
@@ -10457,6 +10457,10 @@ export interface ModifyNetworkInterfaceQosRequest {
|
|
|
10457
10457
|
* 服务质量,可选值:PT、AU、AG、DEFAULT,分别代表白金、金、银、默认四个等级。
|
|
10458
10458
|
*/
|
|
10459
10459
|
QosLevel: string;
|
|
10460
|
+
/**
|
|
10461
|
+
* DirectSend端口范围最大值。
|
|
10462
|
+
*/
|
|
10463
|
+
DirectSendMaxPort?: number;
|
|
10460
10464
|
}
|
|
10461
10465
|
/**
|
|
10462
10466
|
* ModifyLocalGateway请求参数结构体
|
|
@@ -28,9 +28,19 @@ it("dnspod.v20210323.DescribeRecordList", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("dnspod.v20210323.
|
|
31
|
+
it("dnspod.v20210323.DescribeDomainShareInfo", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeDomainShareInfo({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it("dnspod.v20210323.DescribeSnapshotRollbackTask", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeSnapshotRollbackTask({})
|
|
34
44
|
expect(data).to.be.ok
|
|
35
45
|
} catch(error) {
|
|
36
46
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +88,9 @@ it("dnspod.v20210323.DescribeDomainAliasList", async function () {
|
|
|
78
88
|
}
|
|
79
89
|
})
|
|
80
90
|
|
|
81
|
-
it("dnspod.v20210323.
|
|
91
|
+
it("dnspod.v20210323.DescribeSnapshotList", async function () {
|
|
82
92
|
try {
|
|
83
|
-
const data = await client.
|
|
93
|
+
const data = await client.DescribeSnapshotList({})
|
|
84
94
|
expect(data).to.be.ok
|
|
85
95
|
} catch(error) {
|
|
86
96
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +98,9 @@ it("dnspod.v20210323.DescribeSubdomainAnalytics", async function () {
|
|
|
88
98
|
}
|
|
89
99
|
})
|
|
90
100
|
|
|
91
|
-
it("dnspod.v20210323.
|
|
101
|
+
it("dnspod.v20210323.DownloadSnapshot", async function () {
|
|
92
102
|
try {
|
|
93
|
-
const data = await client.
|
|
103
|
+
const data = await client.DownloadSnapshot({})
|
|
94
104
|
expect(data).to.be.ok
|
|
95
105
|
} catch(error) {
|
|
96
106
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +108,19 @@ it("dnspod.v20210323.ModifyRecordStatus", async function () {
|
|
|
98
108
|
}
|
|
99
109
|
})
|
|
100
110
|
|
|
101
|
-
it("dnspod.v20210323.
|
|
111
|
+
it("dnspod.v20210323.CheckSnapshotRollback", async function () {
|
|
102
112
|
try {
|
|
103
|
-
const data = await client.
|
|
113
|
+
const data = await client.CheckSnapshotRollback({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
it("dnspod.v20210323.ModifyRecord", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.ModifyRecord({})
|
|
104
124
|
expect(data).to.be.ok
|
|
105
125
|
} catch(error) {
|
|
106
126
|
expect(error.requestId).to.be.ok
|
|
@@ -118,6 +138,26 @@ it("dnspod.v20210323.ModifyDomainStatus", async function () {
|
|
|
118
138
|
}
|
|
119
139
|
})
|
|
120
140
|
|
|
141
|
+
it("dnspod.v20210323.DescribeSnapshotRollbackResult", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DescribeSnapshotRollbackResult({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("dnspod.v20210323.DeleteSnapshot", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.DeleteSnapshot({})
|
|
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
|
+
|
|
121
161
|
it("dnspod.v20210323.ModifyDomainUnlock", async function () {
|
|
122
162
|
try {
|
|
123
163
|
const data = await client.ModifyDomainUnlock({})
|
|
@@ -138,9 +178,9 @@ it("dnspod.v20210323.CreateDomainBatch", async function () {
|
|
|
138
178
|
}
|
|
139
179
|
})
|
|
140
180
|
|
|
141
|
-
it("dnspod.v20210323.
|
|
181
|
+
it("dnspod.v20210323.DescribeDomainGroupList", async function () {
|
|
142
182
|
try {
|
|
143
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeDomainGroupList({})
|
|
144
184
|
expect(data).to.be.ok
|
|
145
185
|
} catch(error) {
|
|
146
186
|
expect(error.requestId).to.be.ok
|
|
@@ -158,6 +198,16 @@ it("dnspod.v20210323.CreateDeal", async function () {
|
|
|
158
198
|
}
|
|
159
199
|
})
|
|
160
200
|
|
|
201
|
+
it("dnspod.v20210323.DescribeSnapshotConfig", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DescribeSnapshotConfig({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
161
211
|
it("dnspod.v20210323.DeleteShareDomain", async function () {
|
|
162
212
|
try {
|
|
163
213
|
const data = await client.DeleteShareDomain({})
|
|
@@ -168,6 +218,26 @@ it("dnspod.v20210323.DeleteShareDomain", async function () {
|
|
|
168
218
|
}
|
|
169
219
|
})
|
|
170
220
|
|
|
221
|
+
it("dnspod.v20210323.ModifyVasAutoRenewStatus", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.ModifyVasAutoRenewStatus({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
231
|
+
it("dnspod.v20210323.ModifyRecordStatus", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.ModifyRecordStatus({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
171
241
|
it("dnspod.v20210323.DescribeDomain", async function () {
|
|
172
242
|
try {
|
|
173
243
|
const data = await client.DescribeDomain({})
|
|
@@ -208,6 +278,16 @@ it("dnspod.v20210323.DescribeUserDetail", async function () {
|
|
|
208
278
|
}
|
|
209
279
|
})
|
|
210
280
|
|
|
281
|
+
it("dnspod.v20210323.RollbackSnapshot", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.RollbackSnapshot({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
211
291
|
it("dnspod.v20210323.DeleteRecord", async function () {
|
|
212
292
|
try {
|
|
213
293
|
const data = await client.DeleteRecord({})
|
|
@@ -318,6 +398,16 @@ it("dnspod.v20210323.CreateDomainGroup", async function () {
|
|
|
318
398
|
}
|
|
319
399
|
})
|
|
320
400
|
|
|
401
|
+
it("dnspod.v20210323.ModifySnapshotConfig", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.ModifySnapshotConfig({})
|
|
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
|
+
|
|
321
411
|
it("dnspod.v20210323.DeleteDomainAlias", async function () {
|
|
322
412
|
try {
|
|
323
413
|
const data = await client.DeleteDomainAlias({})
|
|
@@ -338,6 +428,16 @@ it("dnspod.v20210323.DescribeBatchTask", async function () {
|
|
|
338
428
|
}
|
|
339
429
|
})
|
|
340
430
|
|
|
431
|
+
it("dnspod.v20210323.CheckRecordSnapshotRollback", async function () {
|
|
432
|
+
try {
|
|
433
|
+
const data = await client.CheckRecordSnapshotRollback({})
|
|
434
|
+
expect(data).to.be.ok
|
|
435
|
+
} catch(error) {
|
|
436
|
+
expect(error.requestId).to.be.ok
|
|
437
|
+
expect(error.code).to.be.ok
|
|
438
|
+
}
|
|
439
|
+
})
|
|
440
|
+
|
|
341
441
|
it("dnspod.v20210323.CreateDomain", async function () {
|
|
342
442
|
try {
|
|
343
443
|
const data = await client.CreateDomain({})
|
|
@@ -348,6 +448,16 @@ it("dnspod.v20210323.CreateDomain", async function () {
|
|
|
348
448
|
}
|
|
349
449
|
})
|
|
350
450
|
|
|
451
|
+
it("dnspod.v20210323.RollbackRecordSnapshot", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.RollbackRecordSnapshot({})
|
|
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
|
+
|
|
351
461
|
it("dnspod.v20210323.PayOrderWithBalance", async function () {
|
|
352
462
|
try {
|
|
353
463
|
const data = await client.PayOrderWithBalance({})
|
|
@@ -358,6 +468,26 @@ it("dnspod.v20210323.PayOrderWithBalance", async function () {
|
|
|
358
468
|
}
|
|
359
469
|
})
|
|
360
470
|
|
|
471
|
+
it("dnspod.v20210323.DescribeSubdomainAnalytics", async function () {
|
|
472
|
+
try {
|
|
473
|
+
const data = await client.DescribeSubdomainAnalytics({})
|
|
474
|
+
expect(data).to.be.ok
|
|
475
|
+
} catch(error) {
|
|
476
|
+
expect(error.requestId).to.be.ok
|
|
477
|
+
expect(error.code).to.be.ok
|
|
478
|
+
}
|
|
479
|
+
})
|
|
480
|
+
|
|
481
|
+
it("dnspod.v20210323.ModifyRecordBatch", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.ModifyRecordBatch({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
361
491
|
it("dnspod.v20210323.DescribeDomainList", async function () {
|
|
362
492
|
try {
|
|
363
493
|
const data = await client.DescribeDomainList({})
|
|
@@ -398,9 +528,9 @@ it("dnspod.v20210323.ModifyDomainLock", async function () {
|
|
|
398
528
|
}
|
|
399
529
|
})
|
|
400
530
|
|
|
401
|
-
it("dnspod.v20210323.
|
|
531
|
+
it("dnspod.v20210323.CreateSnapshot", async function () {
|
|
402
532
|
try {
|
|
403
|
-
const data = await client.
|
|
533
|
+
const data = await client.CreateSnapshot({})
|
|
404
534
|
expect(data).to.be.ok
|
|
405
535
|
} catch(error) {
|
|
406
536
|
expect(error.requestId).to.be.ok
|
|
@@ -408,9 +538,9 @@ it("dnspod.v20210323.ModifyRecordBatch", async function () {
|
|
|
408
538
|
}
|
|
409
539
|
})
|
|
410
540
|
|
|
411
|
-
it("dnspod.v20210323.
|
|
541
|
+
it("dnspod.v20210323.DescribeRecordSnapshotRollbackResult", async function () {
|
|
412
542
|
try {
|
|
413
|
-
const data = await client.
|
|
543
|
+
const data = await client.DescribeRecordSnapshotRollbackResult({})
|
|
414
544
|
expect(data).to.be.ok
|
|
415
545
|
} catch(error) {
|
|
416
546
|
expect(error.requestId).to.be.ok
|
|
@@ -18,9 +18,19 @@ const client = new tencentcloud.tiia.v20190529.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("tiia.v20190529.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("tiia.v20190529.
|
|
21
|
+
it("tiia.v20190529.DetectEnvelope", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DetectEnvelope({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("tiia.v20190529.DescribeImages", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeImages({})
|
|
24
34
|
expect(data).to.be.ok
|
|
25
35
|
} catch(error) {
|
|
26
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +48,9 @@ it("tiia.v20190529.DetectProductBeta", async function () {
|
|
|
38
48
|
}
|
|
39
49
|
})
|
|
40
50
|
|
|
41
|
-
it("tiia.v20190529.
|
|
51
|
+
it("tiia.v20190529.CreateGroup", async function () {
|
|
42
52
|
try {
|
|
43
|
-
const data = await client.
|
|
53
|
+
const data = await client.CreateGroup({})
|
|
44
54
|
expect(data).to.be.ok
|
|
45
55
|
} catch(error) {
|
|
46
56
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +58,9 @@ it("tiia.v20190529.DetectLabelPro", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
51
|
-
it("tiia.v20190529.
|
|
61
|
+
it("tiia.v20190529.RecognizeCarPro", async function () {
|
|
52
62
|
try {
|
|
53
|
-
const data = await client.
|
|
63
|
+
const data = await client.RecognizeCarPro({})
|
|
54
64
|
expect(data).to.be.ok
|
|
55
65
|
} catch(error) {
|
|
56
66
|
expect(error.requestId).to.be.ok
|
|
@@ -68,9 +78,9 @@ it("tiia.v20190529.DetectLabel", async function () {
|
|
|
68
78
|
}
|
|
69
79
|
})
|
|
70
80
|
|
|
71
|
-
it("tiia.v20190529.
|
|
81
|
+
it("tiia.v20190529.DetectChefDress", async function () {
|
|
72
82
|
try {
|
|
73
|
-
const data = await client.
|
|
83
|
+
const data = await client.DetectChefDress({})
|
|
74
84
|
expect(data).to.be.ok
|
|
75
85
|
} catch(error) {
|
|
76
86
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +88,9 @@ it("tiia.v20190529.AssessQuality", async function () {
|
|
|
78
88
|
}
|
|
79
89
|
})
|
|
80
90
|
|
|
81
|
-
it("tiia.v20190529.
|
|
91
|
+
it("tiia.v20190529.DeleteImages", async function () {
|
|
82
92
|
try {
|
|
83
|
-
const data = await client.
|
|
93
|
+
const data = await client.DeleteImages({})
|
|
84
94
|
expect(data).to.be.ok
|
|
85
95
|
} catch(error) {
|
|
86
96
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +98,9 @@ it("tiia.v20190529.DetectDisgust", async function () {
|
|
|
88
98
|
}
|
|
89
99
|
})
|
|
90
100
|
|
|
91
|
-
it("tiia.v20190529.
|
|
101
|
+
it("tiia.v20190529.CropImage", async function () {
|
|
92
102
|
try {
|
|
93
|
-
const data = await client.
|
|
103
|
+
const data = await client.CropImage({})
|
|
94
104
|
expect(data).to.be.ok
|
|
95
105
|
} catch(error) {
|
|
96
106
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +108,9 @@ it("tiia.v20190529.DescribeGroups", async function () {
|
|
|
98
108
|
}
|
|
99
109
|
})
|
|
100
110
|
|
|
101
|
-
it("tiia.v20190529.
|
|
111
|
+
it("tiia.v20190529.EnhanceImage", async function () {
|
|
102
112
|
try {
|
|
103
|
-
const data = await client.
|
|
113
|
+
const data = await client.EnhanceImage({})
|
|
104
114
|
expect(data).to.be.ok
|
|
105
115
|
} catch(error) {
|
|
106
116
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +118,9 @@ it("tiia.v20190529.DeleteImages", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
111
|
-
it("tiia.v20190529.
|
|
121
|
+
it("tiia.v20190529.CreateImage", async function () {
|
|
112
122
|
try {
|
|
113
|
-
const data = await client.
|
|
123
|
+
const data = await client.CreateImage({})
|
|
114
124
|
expect(data).to.be.ok
|
|
115
125
|
} catch(error) {
|
|
116
126
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +128,9 @@ it("tiia.v20190529.DetectLabelBeta", async function () {
|
|
|
118
128
|
}
|
|
119
129
|
})
|
|
120
130
|
|
|
121
|
-
it("tiia.v20190529.
|
|
131
|
+
it("tiia.v20190529.DetectLabelPro", async function () {
|
|
122
132
|
try {
|
|
123
|
-
const data = await client.
|
|
133
|
+
const data = await client.DetectLabelPro({})
|
|
124
134
|
expect(data).to.be.ok
|
|
125
135
|
} catch(error) {
|
|
126
136
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +138,9 @@ it("tiia.v20190529.CropImage", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("tiia.v20190529.
|
|
141
|
+
it("tiia.v20190529.AssessQuality", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.AssessQuality({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +148,9 @@ it("tiia.v20190529.SearchImage", async function () {
|
|
|
138
148
|
}
|
|
139
149
|
})
|
|
140
150
|
|
|
141
|
-
it("tiia.v20190529.
|
|
151
|
+
it("tiia.v20190529.DetectDisgust", async function () {
|
|
142
152
|
try {
|
|
143
|
-
const data = await client.
|
|
153
|
+
const data = await client.DetectDisgust({})
|
|
144
154
|
expect(data).to.be.ok
|
|
145
155
|
} catch(error) {
|
|
146
156
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +158,9 @@ it("tiia.v20190529.DescribeImages", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
151
|
-
it("tiia.v20190529.
|
|
161
|
+
it("tiia.v20190529.DescribeGroups", async function () {
|
|
152
162
|
try {
|
|
153
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeGroups({})
|
|
154
164
|
expect(data).to.be.ok
|
|
155
165
|
} catch(error) {
|
|
156
166
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +168,9 @@ it("tiia.v20190529.DetectMisbehavior", async function () {
|
|
|
158
168
|
}
|
|
159
169
|
})
|
|
160
170
|
|
|
161
|
-
it("tiia.v20190529.
|
|
171
|
+
it("tiia.v20190529.DetectMisbehavior", async function () {
|
|
162
172
|
try {
|
|
163
|
-
const data = await client.
|
|
173
|
+
const data = await client.DetectMisbehavior({})
|
|
164
174
|
expect(data).to.be.ok
|
|
165
175
|
} catch(error) {
|
|
166
176
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +188,9 @@ it("tiia.v20190529.DetectProduct", async function () {
|
|
|
178
188
|
}
|
|
179
189
|
})
|
|
180
190
|
|
|
181
|
-
it("tiia.v20190529.
|
|
191
|
+
it("tiia.v20190529.DetectSecurity", async function () {
|
|
182
192
|
try {
|
|
183
|
-
const data = await client.
|
|
193
|
+
const data = await client.DetectSecurity({})
|
|
184
194
|
expect(data).to.be.ok
|
|
185
195
|
} catch(error) {
|
|
186
196
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +198,9 @@ it("tiia.v20190529.RecognizeCarPro", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
191
|
-
it("tiia.v20190529.
|
|
201
|
+
it("tiia.v20190529.RecognizeCar", async function () {
|
|
192
202
|
try {
|
|
193
|
-
const data = await client.
|
|
203
|
+
const data = await client.RecognizeCar({})
|
|
194
204
|
expect(data).to.be.ok
|
|
195
205
|
} catch(error) {
|
|
196
206
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +208,19 @@ it("tiia.v20190529.EnhanceImage", async function () {
|
|
|
198
208
|
}
|
|
199
209
|
})
|
|
200
210
|
|
|
201
|
-
it("tiia.v20190529.
|
|
211
|
+
it("tiia.v20190529.DetectLabelBeta", async function () {
|
|
202
212
|
try {
|
|
203
|
-
const data = await client.
|
|
213
|
+
const data = await client.DetectLabelBeta({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
221
|
+
it("tiia.v20190529.SearchImage", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.SearchImage({})
|
|
204
224
|
expect(data).to.be.ok
|
|
205
225
|
} catch(error) {
|
|
206
226
|
expect(error.requestId).to.be.ok
|