tencentcloud-sdk-nodejs 4.0.299 → 4.0.302
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 +532 -0
- package/SERVICE_CHANGELOG.md +560 -154
- package/package.json +1 -1
- package/products.md +25 -24
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +1 -1
- package/src/services/api/v20201106/api_client.ts +13 -0
- package/src/services/api/v20201106/api_models.ts +45 -0
- package/src/services/apigateway/v20180808/apigateway_models.ts +5 -0
- package/src/services/casb/index.ts +5 -0
- package/src/services/casb/v20200507/casb_client.ts +51 -0
- package/src/services/casb/v20200507/casb_models.ts +76 -0
- package/src/services/casb/v20200507/index.ts +6 -0
- package/src/services/ccc/v20200210/ccc_models.ts +12 -0
- package/src/services/cdb/v20170320/cdb_models.ts +6 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +44 -8
- package/src/services/ckafka/v20190819/ckafka_models.ts +123 -20
- package/src/services/clb/v20180317/clb_client.ts +20 -8
- package/src/services/clb/v20180317/clb_models.ts +25 -0
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +6 -6
- package/src/services/cmq/v20190304/cmq_models.ts +94 -82
- package/src/services/cpdp/v20190820/cpdp_client.ts +96 -14
- package/src/services/cpdp/v20190820/cpdp_models.ts +1267 -493
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +5 -0
- package/src/services/emr/v20190103/emr_client.ts +1 -0
- package/src/services/emr/v20190103/emr_models.ts +46 -0
- package/src/services/index.ts +1 -0
- package/src/services/ivld/v20210903/ivld_client.ts +80 -4
- package/src/services/ivld/v20210903/ivld_models.ts +204 -38
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +6 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +6 -7
- package/src/services/mongodb/v20190725/mongodb_client.ts +72 -60
- package/src/services/mongodb/v20190725/mongodb_models.ts +1022 -997
- package/src/services/monitor/v20180724/monitor_models.ts +7 -0
- package/src/services/oceanus/v20190422/oceanus_models.ts +84 -2
- package/src/services/postgres/v20170312/postgres_client.ts +85 -37
- package/src/services/postgres/v20170312/postgres_models.ts +258 -84
- package/src/services/sslpod/v20190605/sslpod_models.ts +7 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +41 -1
- package/src/services/tke/v20180525/tke_client.ts +25 -13
- package/src/services/tke/v20180525/tke_models.ts +39 -4
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.js +1 -1
- package/tencentcloud/services/api/v20201106/api_client.d.ts +5 -1
- package/tencentcloud/services/api/v20201106/api_client.js +6 -0
- package/tencentcloud/services/api/v20201106/api_models.d.ts +39 -0
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +4 -0
- package/tencentcloud/services/casb/index.d.ts +6 -0
- package/tencentcloud/services/casb/index.js +7 -0
- package/tencentcloud/services/casb/v20200507/casb_client.d.ts +21 -0
- package/tencentcloud/services/casb/v20200507/casb_client.js +44 -0
- package/tencentcloud/services/casb/v20200507/casb_models.d.ts +51 -0
- package/tencentcloud/services/casb/v20200507/casb_models.js +18 -0
- package/tencentcloud/services/casb/v20200507/index.d.ts +6 -0
- package/tencentcloud/services/casb/v20200507/index.js +9 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +10 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +15 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +21 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +108 -19
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +8 -4
- package/tencentcloud/services/clb/v20180317/clb_client.js +10 -4
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +22 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +6 -6
- package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +89 -79
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +28 -4
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +40 -4
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +1101 -433
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +4 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +39 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +52 -2
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +57 -1
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +175 -34
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +5 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +5 -6
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +965 -943
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +6 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +68 -2
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -13
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -18
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +219 -71
- package/tencentcloud/services/sslpod/v20190605/sslpod_models.d.ts +6 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +34 -1
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +9 -5
- package/tencentcloud/services/tke/v20180525/tke_client.js +12 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +34 -4
- package/test/api.v20201106.test.js +10 -0
- package/test/casb.v20200507.test.js +31 -0
- package/test/ckafka.v20190819.test.js +32 -2
- package/test/clb.v20180317.test.js +12 -2
- package/test/cpdp.v20190820.test.js +62 -2
- package/test/ivld.v20210903.test.js +30 -0
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/postgres.v20170312.test.js +58 -18
- package/test/tke.v20180525.test.js +14 -4
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.casb.v20200507.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("casb.v20200507.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("casb.v20200507.CopyCryptoColumnPolicy", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CopyCryptoColumnPolicy({})
|
|
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
|
+
})
|
|
@@ -178,9 +178,9 @@ it("ckafka.v20190819.DescribeACL", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("ckafka.v20190819.
|
|
181
|
+
it("ckafka.v20190819.CancelAuthorizationToken", async function () {
|
|
182
182
|
try {
|
|
183
|
-
const data = await client.
|
|
183
|
+
const data = await client.CancelAuthorizationToken({})
|
|
184
184
|
expect(data).to.be.ok
|
|
185
185
|
} catch(error) {
|
|
186
186
|
expect(error.requestId).to.be.ok
|
|
@@ -268,6 +268,26 @@ it("ckafka.v20190819.DeleteUser", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
+
it("ckafka.v20190819.CreateToken", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.CreateToken({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
281
|
+
it("ckafka.v20190819.DescribeTopicDetail", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.DescribeTopicDetail({})
|
|
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
|
+
|
|
271
291
|
it("ckafka.v20190819.DeleteAcl", async function () {
|
|
272
292
|
try {
|
|
273
293
|
const data = await client.DeleteAcl({})
|
|
@@ -388,6 +408,16 @@ it("ckafka.v20190819.DescribeGroupOffsets", async function () {
|
|
|
388
408
|
}
|
|
389
409
|
})
|
|
390
410
|
|
|
411
|
+
it("ckafka.v20190819.AuthorizeToken", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.AuthorizeToken({})
|
|
414
|
+
expect(data).to.be.ok
|
|
415
|
+
} catch(error) {
|
|
416
|
+
expect(error.requestId).to.be.ok
|
|
417
|
+
expect(error.code).to.be.ok
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
|
|
391
421
|
it("ckafka.v20190819.DescribeTopic", async function () {
|
|
392
422
|
try {
|
|
393
423
|
const data = await client.DescribeTopic({})
|
|
@@ -128,9 +128,9 @@ it("clb.v20180317.BatchDeregisterTargets", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
-
it("clb.v20180317.
|
|
131
|
+
it("clb.v20180317.ModifyLoadBalancerMixIpTarget", async function () {
|
|
132
132
|
try {
|
|
133
|
-
const data = await client.
|
|
133
|
+
const data = await client.ModifyLoadBalancerMixIpTarget({})
|
|
134
134
|
expect(data).to.be.ok
|
|
135
135
|
} catch(error) {
|
|
136
136
|
expect(error.requestId).to.be.ok
|
|
@@ -248,6 +248,16 @@ it("clb.v20180317.ModifyBlockIPList", async function () {
|
|
|
248
248
|
}
|
|
249
249
|
})
|
|
250
250
|
|
|
251
|
+
it("clb.v20180317.RegisterTargetGroupInstances", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.RegisterTargetGroupInstances({})
|
|
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
|
+
|
|
251
261
|
it("clb.v20180317.DeregisterTargetsFromClassicalLB", async function () {
|
|
252
262
|
try {
|
|
253
263
|
const data = await client.DeregisterTargetsFromClassicalLB({})
|
|
@@ -38,6 +38,16 @@ it("cpdp.v20190820.DistributeAccreditQuery", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("cpdp.v20190820.QueryMemberTransactionDetails", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.QueryMemberTransactionDetails({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("cpdp.v20190820.ModifyAgentTaxPaymentInfo", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.ModifyAgentTaxPaymentInfo({})
|
|
@@ -278,6 +288,16 @@ it("cpdp.v20190820.QueryInvoice", async function () {
|
|
|
278
288
|
}
|
|
279
289
|
})
|
|
280
290
|
|
|
291
|
+
it("cpdp.v20190820.QueryOpenBankBankBranchList", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.QueryOpenBankBankBranchList({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
281
301
|
it("cpdp.v20190820.QueryExchangeRate", async function () {
|
|
282
302
|
try {
|
|
283
303
|
const data = await client.QueryExchangeRate({})
|
|
@@ -368,6 +388,16 @@ it("cpdp.v20190820.RefundTlinxOrder", async function () {
|
|
|
368
388
|
}
|
|
369
389
|
})
|
|
370
390
|
|
|
391
|
+
it("cpdp.v20190820.UnBindAcct", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.UnBindAcct({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
371
401
|
it("cpdp.v20190820.DescribeChargeDetail", async function () {
|
|
372
402
|
try {
|
|
373
403
|
const data = await client.DescribeChargeDetail({})
|
|
@@ -598,9 +628,19 @@ it("cpdp.v20190820.QueryAcctInfo", async function () {
|
|
|
598
628
|
}
|
|
599
629
|
})
|
|
600
630
|
|
|
601
|
-
it("cpdp.v20190820.
|
|
631
|
+
it("cpdp.v20190820.ApplyReconciliationFile", async function () {
|
|
602
632
|
try {
|
|
603
|
-
const data = await client.
|
|
633
|
+
const data = await client.ApplyReconciliationFile({})
|
|
634
|
+
expect(data).to.be.ok
|
|
635
|
+
} catch(error) {
|
|
636
|
+
expect(error.requestId).to.be.ok
|
|
637
|
+
expect(error.code).to.be.ok
|
|
638
|
+
}
|
|
639
|
+
})
|
|
640
|
+
|
|
641
|
+
it("cpdp.v20190820.QueryReconciliationFileApplyInfo", async function () {
|
|
642
|
+
try {
|
|
643
|
+
const data = await client.QueryReconciliationFileApplyInfo({})
|
|
604
644
|
expect(data).to.be.ok
|
|
605
645
|
} catch(error) {
|
|
606
646
|
expect(error.requestId).to.be.ok
|
|
@@ -858,6 +898,16 @@ it("cpdp.v20190820.QueryAcctBinding", async function () {
|
|
|
858
898
|
}
|
|
859
899
|
})
|
|
860
900
|
|
|
901
|
+
it("cpdp.v20190820.QueryFundsTransactionDetails", async function () {
|
|
902
|
+
try {
|
|
903
|
+
const data = await client.QueryFundsTransactionDetails({})
|
|
904
|
+
expect(data).to.be.ok
|
|
905
|
+
} catch(error) {
|
|
906
|
+
expect(error.requestId).to.be.ok
|
|
907
|
+
expect(error.code).to.be.ok
|
|
908
|
+
}
|
|
909
|
+
})
|
|
910
|
+
|
|
861
911
|
it("cpdp.v20190820.ApplyReWithdrawal", async function () {
|
|
862
912
|
try {
|
|
863
913
|
const data = await client.ApplyReWithdrawal({})
|
|
@@ -1218,6 +1268,16 @@ it("cpdp.v20190820.RevokeMemberRechargeThirdPay", async function () {
|
|
|
1218
1268
|
}
|
|
1219
1269
|
})
|
|
1220
1270
|
|
|
1271
|
+
it("cpdp.v20190820.QueryOpenBankSupportBankList", async function () {
|
|
1272
|
+
try {
|
|
1273
|
+
const data = await client.QueryOpenBankSupportBankList({})
|
|
1274
|
+
expect(data).to.be.ok
|
|
1275
|
+
} catch(error) {
|
|
1276
|
+
expect(error.requestId).to.be.ok
|
|
1277
|
+
expect(error.code).to.be.ok
|
|
1278
|
+
}
|
|
1279
|
+
})
|
|
1280
|
+
|
|
1221
1281
|
it("cpdp.v20190820.DistributeCancel", async function () {
|
|
1222
1282
|
try {
|
|
1223
1283
|
const data = await client.DistributeCancel({})
|
|
@@ -58,6 +58,16 @@ it("ivld.v20210903.DeleteCustomPersonImage", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("ivld.v20210903.QueryCallback", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.QueryCallback({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
it("ivld.v20210903.UpdateCustomCategory", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.UpdateCustomCategory({})
|
|
@@ -188,6 +198,16 @@ it("ivld.v20210903.DeleteMedia", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
201
|
+
it("ivld.v20210903.ModifyCallback", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.ModifyCallback({})
|
|
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
|
+
|
|
191
211
|
it("ivld.v20210903.DescribeTasks", async function () {
|
|
192
212
|
try {
|
|
193
213
|
const data = await client.DescribeTasks({})
|
|
@@ -218,6 +238,16 @@ it("ivld.v20210903.DescribeCustomCategories", async function () {
|
|
|
218
238
|
}
|
|
219
239
|
})
|
|
220
240
|
|
|
241
|
+
it("ivld.v20210903.DeleteTask", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DeleteTask({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
221
251
|
it("ivld.v20210903.DescribeCustomGroup", async function () {
|
|
222
252
|
try {
|
|
223
253
|
const data = await client.DescribeCustomGroup({})
|
|
@@ -318,4 +318,14 @@ it("mongodb.v20190725.InquirePriceRenewDBInstances", async function () {
|
|
|
318
318
|
}
|
|
319
319
|
})
|
|
320
320
|
|
|
321
|
+
it("mongodb.v20190725.ModifyDBInstanceSecurityGroup", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.ModifyDBInstanceSecurityGroup({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
321
331
|
})
|
|
@@ -18,6 +18,16 @@ const client = new tencentcloud.postgres.v20170312.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("postgres.v20170312.test.js", function () {
|
|
20
20
|
|
|
21
|
+
it("postgres.v20170312.CreateReadOnlyGroupNetworkAccess", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateReadOnlyGroupNetworkAccess({})
|
|
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
|
+
|
|
21
31
|
it("postgres.v20170312.ModifyDBInstancesProject", async function () {
|
|
22
32
|
try {
|
|
23
33
|
const data = await client.ModifyDBInstancesProject({})
|
|
@@ -38,6 +48,36 @@ it("postgres.v20170312.DescribeOrders", async function () {
|
|
|
38
48
|
}
|
|
39
49
|
})
|
|
40
50
|
|
|
51
|
+
it("postgres.v20170312.DescribeDBInstances", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeDBInstances({})
|
|
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
|
+
it("postgres.v20170312.DeleteReadOnlyGroupNetworkAccess", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DeleteReadOnlyGroupNetworkAccess({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("postgres.v20170312.UpgradeDBInstance", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.UpgradeDBInstance({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
41
81
|
it("postgres.v20170312.ModifyDBInstanceParameters", async function () {
|
|
42
82
|
try {
|
|
43
83
|
const data = await client.ModifyDBInstanceParameters({})
|
|
@@ -138,9 +178,19 @@ it("postgres.v20170312.InquiryPriceCreateDBInstances", async function () {
|
|
|
138
178
|
}
|
|
139
179
|
})
|
|
140
180
|
|
|
141
|
-
it("postgres.v20170312.
|
|
181
|
+
it("postgres.v20170312.OpenDBExtranetAccess", async function () {
|
|
142
182
|
try {
|
|
143
|
-
const data = await client.
|
|
183
|
+
const data = await client.OpenDBExtranetAccess({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
191
|
+
it("postgres.v20170312.DeleteDBInstanceNetworkAccess", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DeleteDBInstanceNetworkAccess({})
|
|
144
194
|
expect(data).to.be.ok
|
|
145
195
|
} catch(error) {
|
|
146
196
|
expect(error.requestId).to.be.ok
|
|
@@ -228,9 +278,9 @@ it("postgres.v20170312.ModifyDBInstanceName", async function () {
|
|
|
228
278
|
}
|
|
229
279
|
})
|
|
230
280
|
|
|
231
|
-
it("postgres.v20170312.
|
|
281
|
+
it("postgres.v20170312.InquiryPriceUpgradeDBInstance", async function () {
|
|
232
282
|
try {
|
|
233
|
-
const data = await client.
|
|
283
|
+
const data = await client.InquiryPriceUpgradeDBInstance({})
|
|
234
284
|
expect(data).to.be.ok
|
|
235
285
|
} catch(error) {
|
|
236
286
|
expect(error.requestId).to.be.ok
|
|
@@ -268,9 +318,9 @@ it("postgres.v20170312.CreateServerlessDBInstance", async function () {
|
|
|
268
318
|
}
|
|
269
319
|
})
|
|
270
320
|
|
|
271
|
-
it("postgres.v20170312.
|
|
321
|
+
it("postgres.v20170312.DescribeDBInstanceParameters", async function () {
|
|
272
322
|
try {
|
|
273
|
-
const data = await client.
|
|
323
|
+
const data = await client.DescribeDBInstanceParameters({})
|
|
274
324
|
expect(data).to.be.ok
|
|
275
325
|
} catch(error) {
|
|
276
326
|
expect(error.requestId).to.be.ok
|
|
@@ -298,16 +348,6 @@ it("postgres.v20170312.RestartDBInstance", async function () {
|
|
|
298
348
|
}
|
|
299
349
|
})
|
|
300
350
|
|
|
301
|
-
it("postgres.v20170312.OpenDBExtranetAccess", async function () {
|
|
302
|
-
try {
|
|
303
|
-
const data = await client.OpenDBExtranetAccess({})
|
|
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
|
-
|
|
311
351
|
it("postgres.v20170312.IsolateDBInstances", async function () {
|
|
312
352
|
try {
|
|
313
353
|
const data = await client.IsolateDBInstances({})
|
|
@@ -338,9 +378,9 @@ it("postgres.v20170312.InitDBInstances", async function () {
|
|
|
338
378
|
}
|
|
339
379
|
})
|
|
340
380
|
|
|
341
|
-
it("postgres.v20170312.
|
|
381
|
+
it("postgres.v20170312.CreateDBInstanceNetworkAccess", async function () {
|
|
342
382
|
try {
|
|
343
|
-
const data = await client.
|
|
383
|
+
const data = await client.CreateDBInstanceNetworkAccess({})
|
|
344
384
|
expect(data).to.be.ok
|
|
345
385
|
} catch(error) {
|
|
346
386
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +168,9 @@ it("tke.v20180525.DeleteEKSCluster", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
-
it("tke.v20180525.
|
|
171
|
+
it("tke.v20180525.ModifyClusterNodePool", async function () {
|
|
172
172
|
try {
|
|
173
|
-
const data = await client.
|
|
173
|
+
const data = await client.ModifyClusterNodePool({})
|
|
174
174
|
expect(data).to.be.ok
|
|
175
175
|
} catch(error) {
|
|
176
176
|
expect(error.requestId).to.be.ok
|
|
@@ -378,9 +378,9 @@ it("tke.v20180525.DescribeClusters", async function () {
|
|
|
378
378
|
}
|
|
379
379
|
})
|
|
380
380
|
|
|
381
|
-
it("tke.v20180525.
|
|
381
|
+
it("tke.v20180525.DescribeClusterEndpointStatus", async function () {
|
|
382
382
|
try {
|
|
383
|
-
const data = await client.
|
|
383
|
+
const data = await client.DescribeClusterEndpointStatus({})
|
|
384
384
|
expect(data).to.be.ok
|
|
385
385
|
} catch(error) {
|
|
386
386
|
expect(error.requestId).to.be.ok
|
|
@@ -508,6 +508,16 @@ it("tke.v20180525.RestartEKSContainerInstances", async function () {
|
|
|
508
508
|
}
|
|
509
509
|
})
|
|
510
510
|
|
|
511
|
+
it("tke.v20180525.DescribeTKEEdgeScript", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.DescribeTKEEdgeScript({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
511
521
|
it("tke.v20180525.ModifyNodePoolDesiredCapacityAboutAsg", async function () {
|
|
512
522
|
try {
|
|
513
523
|
const data = await client.ModifyNodePoolDesiredCapacityAboutAsg({})
|