tencentcloud-sdk-nodejs 4.0.228 → 4.0.232

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.
Files changed (83) hide show
  1. package/CHANGELOG.md +353 -100
  2. package/package.json +1 -1
  3. package/products.md +28 -28
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/advisor/v20200721/advisor_client.ts +1 -0
  6. package/src/services/advisor/v20200721/advisor_models.ts +21 -0
  7. package/src/services/antiddos/v20200309/antiddos_client.ts +1 -1
  8. package/src/services/antiddos/v20200309/antiddos_models.ts +2 -2
  9. package/src/services/apigateway/v20180808/apigateway_models.ts +18 -0
  10. package/src/services/cam/v20190116/cam_models.ts +10 -5
  11. package/src/services/cdn/v20180606/cdn_client.ts +18 -4
  12. package/src/services/cdn/v20180606/cdn_models.ts +139 -53
  13. package/src/services/cfw/v20190904/cfw_models.ts +10 -10
  14. package/src/services/cpdp/v20190820/cpdp_client.ts +17 -4
  15. package/src/services/cpdp/v20190820/cpdp_models.ts +179 -66
  16. package/src/services/cvm/v20170312/cvm_models.ts +1 -1
  17. package/src/services/cwp/v20180228/cwp_models.ts +7 -7
  18. package/src/services/dts/v20180330/dts_client.ts +8 -119
  19. package/src/services/dts/v20180330/dts_models.ts +371 -875
  20. package/src/services/eiam/v20210420/eiam_models.ts +5 -5
  21. package/src/services/es/v20180416/es_models.ts +37 -0
  22. package/src/services/essbasic/v20210526/essbasic_models.ts +6 -0
  23. package/src/services/iotcloud/v20180614/iotcloud_models.ts +6 -6
  24. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +1 -1
  25. package/src/services/ocr/v20181119/ocr_models.ts +10 -0
  26. package/src/services/postgres/v20170312/postgres_client.ts +13 -1
  27. package/src/services/postgres/v20170312/postgres_models.ts +72 -2
  28. package/src/services/redis/v20180412/redis_models.ts +9 -2
  29. package/src/services/scf/v20180416/scf_client.ts +2 -0
  30. package/src/services/scf/v20180416/scf_models.ts +49 -0
  31. package/src/services/ses/v20201002/ses_models.ts +5 -3
  32. package/src/services/taf/v20200210/taf_client.ts +1 -1
  33. package/src/services/taf/v20200210/taf_models.ts +12 -2
  34. package/src/services/tcb/v20180608/tcb_client.ts +28 -4
  35. package/src/services/tcb/v20180608/tcb_models.ts +143 -21
  36. package/src/services/tdmq/v20200217/tdmq_client.ts +4 -2
  37. package/src/services/tiia/v20190529/tiia_models.ts +5 -0
  38. package/tencentcloud/common/sdk_version.d.ts +1 -1
  39. package/tencentcloud/common/sdk_version.js +1 -1
  40. package/tencentcloud/services/advisor/v20200721/advisor_models.d.ts +18 -0
  41. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
  42. package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +1 -1
  43. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +2 -2
  44. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +15 -0
  45. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +9 -5
  46. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +5 -1
  47. package/tencentcloud/services/cdn/v20180606/cdn_client.js +6 -0
  48. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +118 -45
  49. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +10 -10
  50. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +7 -3
  51. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +8 -2
  52. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +156 -62
  53. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
  54. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +7 -7
  55. package/tencentcloud/services/dts/v20180330/dts_client.d.ts +1 -42
  56. package/tencentcloud/services/dts/v20180330/dts_client.js +0 -57
  57. package/tencentcloud/services/dts/v20180330/dts_models.d.ts +219 -645
  58. package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +5 -5
  59. package/tencentcloud/services/es/v20180416/es_models.d.ts +30 -0
  60. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -0
  61. package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +6 -6
  62. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +1 -1
  63. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +8 -0
  64. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +5 -1
  65. package/tencentcloud/services/postgres/v20170312/postgres_client.js +6 -0
  66. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +60 -2
  67. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +7 -1
  68. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +42 -0
  69. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +3 -1
  70. package/tencentcloud/services/taf/v20200210/taf_client.d.ts +1 -1
  71. package/tencentcloud/services/taf/v20200210/taf_client.js +1 -1
  72. package/tencentcloud/services/taf/v20200210/taf_models.d.ts +10 -2
  73. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +9 -1
  74. package/tencentcloud/services/tcb/v20180608/tcb_client.js +12 -0
  75. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +124 -21
  76. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +2 -0
  77. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +2 -0
  78. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +4 -0
  79. package/test/cdn.v20180606.test.js +10 -0
  80. package/test/cpdp.v20190820.test.js +10 -0
  81. package/test/dts.v20180330.test.js +0 -80
  82. package/test/postgres.v20170312.test.js +10 -0
  83. package/test/tcb.v20180608.test.js +20 -0
@@ -504,21 +504,25 @@ export interface DescribeCloudBaseBuildServiceRequest {
504
504
  Suffix?: string;
505
505
  }
506
506
  /**
507
- * DescribeCloudBaseRunVersion请求参数结构体
507
+ * DescribeCloudBaseRunServerDomainName返回参数结构体
508
508
  */
509
- export interface DescribeCloudBaseRunVersionRequest {
509
+ export interface DescribeCloudBaseRunServerDomainNameResponse {
510
510
  /**
511
- * 环境ID
511
+ * 公网服务域名
512
512
  */
513
- EnvId: string;
513
+ PublicDomain: string;
514
514
  /**
515
- * 服务名称
515
+ * 内部服务域名
516
516
  */
517
- ServerName: string;
517
+ InternalDomain: string;
518
518
  /**
519
- * 版本名称
519
+ * 弃用
520
520
  */
521
- VersionName: string;
521
+ DomainName: string;
522
+ /**
523
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
524
+ */
525
+ RequestId?: string;
522
526
  }
523
527
  /**
524
528
  * DestroyStandaloneGateway请求参数结构体
@@ -731,6 +735,19 @@ export interface DescribeCloudBaseRunResourceForExtendRequest {
731
735
  */
732
736
  EnvId: string;
733
737
  }
738
+ /**
739
+ * DescribeWxCloudBaseRunSubNets请求参数结构体
740
+ */
741
+ export interface DescribeWxCloudBaseRunSubNetsRequest {
742
+ /**
743
+ * VPC id
744
+ */
745
+ VpcId: string;
746
+ /**
747
+ * 查询个数限制,不填或小于等于0,等于不限制
748
+ */
749
+ Limit?: number;
750
+ }
734
751
  /**
735
752
  * ModifyEndUser请求参数结构体
736
753
  */
@@ -853,6 +870,15 @@ export interface DescribeAuthDomainsResponse {
853
870
  */
854
871
  RequestId?: string;
855
872
  }
873
+ /**
874
+ * DescribeCloudBaseRunOneClickTaskExternal请求参数结构体
875
+ */
876
+ export interface DescribeCloudBaseRunOneClickTaskExternalRequest {
877
+ /**
878
+ * 外部任务Id 最长64字节
879
+ */
880
+ ExternalId: string;
881
+ }
856
882
  /**
857
883
  * DescribeStandaloneGateway返回参数结构体
858
884
  */
@@ -2209,6 +2235,58 @@ export interface CodeSource {
2209
2235
  */
2210
2236
  ProjectName?: string;
2211
2237
  }
2238
+ /**
2239
+ * DescribeCloudBaseRunOneClickTaskExternal返回参数结构体
2240
+ */
2241
+ export interface DescribeCloudBaseRunOneClickTaskExternalResponse {
2242
+ /**
2243
+ * 外部任务Id
2244
+ */
2245
+ ExternalId: string;
2246
+ /**
2247
+ * 环境Id
2248
+ */
2249
+ EnvId: string;
2250
+ /**
2251
+ * 用户uin
2252
+ */
2253
+ UserUin: string;
2254
+ /**
2255
+ * 服务名
2256
+ */
2257
+ ServerName: string;
2258
+ /**
2259
+ * 版本名
2260
+ */
2261
+ VersionName: string;
2262
+ /**
2263
+ * 创建时间
2264
+ */
2265
+ CreateTime: string;
2266
+ /**
2267
+ * 当前阶段
2268
+ 微信云托管环境创建阶段:envStage
2269
+ 存储资源创建阶段:storageStage
2270
+ 服务创建阶段:serverStage
2271
+ */
2272
+ Stage: string;
2273
+ /**
2274
+ * 状态
2275
+ running
2276
+ stopped
2277
+ failed
2278
+ finished
2279
+ */
2280
+ Status: string;
2281
+ /**
2282
+ * 失败原因
2283
+ */
2284
+ FailReason: string;
2285
+ /**
2286
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2287
+ */
2288
+ RequestId?: string;
2289
+ }
2212
2290
  /**
2213
2291
  * TurnOffStandaloneGateway返回参数结构体
2214
2292
  */
@@ -2539,17 +2617,25 @@ export interface LoginStatistic {
2539
2617
  UpdateTime?: string;
2540
2618
  }
2541
2619
  /**
2542
- * DescribeWxCloudBaseRunSubNets请求参数结构体
2620
+ * DescribeCloudBaseRunServerDomainName请求参数结构体
2543
2621
  */
2544
- export interface DescribeWxCloudBaseRunSubNetsRequest {
2622
+ export interface DescribeCloudBaseRunServerDomainNameRequest {
2545
2623
  /**
2546
- * VPC id
2624
+ * 服务名
2547
2625
  */
2548
- VpcId: string;
2626
+ ServerName: string;
2549
2627
  /**
2550
- * 查询个数限制,不填或小于等于0,等于不限制
2628
+ * 环境Id
2551
2629
  */
2552
- Limit?: number;
2630
+ UserEnvId: string;
2631
+ /**
2632
+ * 用户Uin
2633
+ */
2634
+ UserUin: string;
2635
+ /**
2636
+ * 外部Id
2637
+ */
2638
+ ExternalId: string;
2553
2639
  }
2554
2640
  /**
2555
2641
  * DescribeCloudBaseRunAllVpcs请求参数结构体
@@ -2702,6 +2788,15 @@ export interface EstablishCloudBaseRunServerRequest {
2702
2788
  */
2703
2789
  ServerPath?: string;
2704
2790
  }
2791
+ /**
2792
+ * ReinstateEnv返回参数结构体
2793
+ */
2794
+ export interface ReinstateEnvResponse {
2795
+ /**
2796
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2797
+ */
2798
+ RequestId?: string;
2799
+ }
2705
2800
  /**
2706
2801
  * 对标 EKS VolumeMount
2707
2802
  */
@@ -2799,13 +2894,13 @@ export interface DescribeDownloadFileRequest {
2799
2894
  CodeUri: string;
2800
2895
  }
2801
2896
  /**
2802
- * ReinstateEnv返回参数结构体
2897
+ * DescribeEndUserStatistic请求参数结构体
2803
2898
  */
2804
- export interface ReinstateEnvResponse {
2899
+ export interface DescribeEndUserStatisticRequest {
2805
2900
  /**
2806
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2901
+ * 环境id
2807
2902
  */
2808
- RequestId?: string;
2903
+ EnvId: string;
2809
2904
  }
2810
2905
  /**
2811
2906
  * 子网信息
@@ -3040,13 +3135,21 @@ export interface CreateAndDeployCloudBaseProjectRequest {
3040
3135
  RepoUrl?: string;
3041
3136
  }
3042
3137
  /**
3043
- * DescribeEndUserStatistic请求参数结构体
3138
+ * DescribeCloudBaseRunVersion请求参数结构体
3044
3139
  */
3045
- export interface DescribeEndUserStatisticRequest {
3140
+ export interface DescribeCloudBaseRunVersionRequest {
3046
3141
  /**
3047
- * 环境id
3142
+ * 环境ID
3048
3143
  */
3049
3144
  EnvId: string;
3145
+ /**
3146
+ * 服务名称
3147
+ */
3148
+ ServerName: string;
3149
+ /**
3150
+ * 版本名称
3151
+ */
3152
+ VersionName: string;
3050
3153
  }
3051
3154
  /**
3052
3155
  * EstablishWxGatewayRoute请求参数结构体
@@ -269,6 +269,8 @@ export declare class Client extends AbstractClient {
269
269
  DescribeRocketMQCluster(req: DescribeRocketMQClusterRequest, cb?: (error: string, rep: DescribeRocketMQClusterResponse) => void): Promise<DescribeRocketMQClusterResponse>;
270
270
  /**
271
271
  * 批量发送消息
272
+
273
+ 注意:TDMQ 批量发送消息的接口是在 TDMQ-HTTP 的服务侧将消息打包为一个 Batch,然后将该 Batch 在服务内部当作一次 TCP 请求发送出去。所以在使用过程中,用户还是按照单条消息发送的逻辑,每一条消息是一个独立的 HTTP 的请求,在 TDMQ-HTTP 的服务内部,会将多个 HTTP 的请求聚合为一个 Batch 发送到服务端。即,批量发送消息在使用上与发送单条消息是一致的,batch 的聚合是在 TDMQ-HTTP 的服务内部完成的。
272
274
  */
273
275
  SendBatchMessages(req: SendBatchMessagesRequest, cb?: (error: string, rep: SendBatchMessagesResponse) => void): Promise<SendBatchMessagesResponse>;
274
276
  /**
@@ -419,6 +419,8 @@ class Client extends abstract_client_1.AbstractClient {
419
419
  }
420
420
  /**
421
421
  * 批量发送消息
422
+
423
+ 注意:TDMQ 批量发送消息的接口是在 TDMQ-HTTP 的服务侧将消息打包为一个 Batch,然后将该 Batch 在服务内部当作一次 TCP 请求发送出去。所以在使用过程中,用户还是按照单条消息发送的逻辑,每一条消息是一个独立的 HTTP 的请求,在 TDMQ-HTTP 的服务内部,会将多个 HTTP 的请求聚合为一个 Batch 发送到服务端。即,批量发送消息在使用上与发送单条消息是一致的,batch 的聚合是在 TDMQ-HTTP 的服务内部完成的。
422
424
  */
423
425
  async SendBatchMessages(req, cb) {
424
426
  return this.request("SendBatchMessages", req, cb);
@@ -513,6 +513,10 @@ export interface DetectProductBetaRequest {
513
513
  与ImageUrl同时存在时优先使用ImageUrl字段。
514
514
  */
515
515
  ImageBase64?: string;
516
+ /**
517
+ * 是否需要百科信息 1:是,0: 否,默认是0
518
+ */
519
+ NeedLemma?: number;
516
520
  }
517
521
  /**
518
522
  * DetectMisbehavior返回参数结构体
@@ -738,6 +738,16 @@ it("cdn.v20180606.DescribeDistrictIspData", async function () {
738
738
  }
739
739
  })
740
740
 
741
+ it("cdn.v20180606.DescribeScdnBotData", async function () {
742
+ try {
743
+ const data = await client.DescribeScdnBotData({})
744
+ expect(data).to.be.ok
745
+ } catch(error) {
746
+ expect(error.requestId).to.be.ok
747
+ expect(error.code).to.be.ok
748
+ }
749
+ })
750
+
741
751
  it("cdn.v20180606.UpdatePayType", async function () {
742
752
  try {
743
753
  const data = await client.UpdatePayType({})
@@ -438,6 +438,16 @@ it("cpdp.v20190820.QueryOutwardOrder", async function () {
438
438
  }
439
439
  })
440
440
 
441
+ it("cpdp.v20190820.QueryMaliciousRegistration", async function () {
442
+ try {
443
+ const data = await client.QueryMaliciousRegistration({})
444
+ expect(data).to.be.ok
445
+ } catch(error) {
446
+ expect(error.requestId).to.be.ok
447
+ expect(error.code).to.be.ok
448
+ }
449
+ })
450
+
441
451
  it("cpdp.v20190820.MigrateOrderRefund", async function () {
442
452
  try {
443
453
  const data = await client.MigrateOrderRefund({})
@@ -18,26 +18,6 @@ const client = new tencentcloud.dts.v20180330.Client({
18
18
  })
19
19
  describe("dts.v20180330.test.js", function () {
20
20
 
21
- it("dts.v20180330.DeleteSyncJob", async function () {
22
- try {
23
- const data = await client.DeleteSyncJob({})
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("dts.v20180330.DescribeSyncJobs", async function () {
32
- try {
33
- const data = await client.DescribeSyncJobs({})
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
21
  it("dts.v20180330.ActivateSubscribe", async function () {
42
22
  try {
43
23
  const data = await client.ActivateSubscribe({})
@@ -48,26 +28,6 @@ it("dts.v20180330.ActivateSubscribe", async function () {
48
28
  }
49
29
  })
50
30
 
51
- it("dts.v20180330.ModifySyncJob", async function () {
52
- try {
53
- const data = await client.ModifySyncJob({})
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("dts.v20180330.CreateSyncJob", async function () {
62
- try {
63
- const data = await client.CreateSyncJob({})
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
31
  it("dts.v20180330.ModifySubscribeObjects", async function () {
72
32
  try {
73
33
  const data = await client.ModifySubscribeObjects({})
@@ -78,16 +38,6 @@ it("dts.v20180330.ModifySubscribeObjects", async function () {
78
38
  }
79
39
  })
80
40
 
81
- it("dts.v20180330.StartSyncJob", async function () {
82
- try {
83
- const data = await client.StartSyncJob({})
84
- expect(data).to.be.ok
85
- } catch(error) {
86
- expect(error.requestId).to.be.ok
87
- expect(error.code).to.be.ok
88
- }
89
- })
90
-
91
41
  it("dts.v20180330.DescribeMigrateCheckJob", async function () {
92
42
  try {
93
43
  const data = await client.DescribeMigrateCheckJob({})
@@ -108,16 +58,6 @@ it("dts.v20180330.DescribeAsyncRequestInfo", async function () {
108
58
  }
109
59
  })
110
60
 
111
- it("dts.v20180330.SwitchDrToMaster", async function () {
112
- try {
113
- const data = await client.SwitchDrToMaster({})
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
61
  it("dts.v20180330.ModifySubscribeAutoRenewFlag", async function () {
122
62
  try {
123
63
  const data = await client.ModifySubscribeAutoRenewFlag({})
@@ -168,16 +108,6 @@ it("dts.v20180330.DescribeSubscribes", async function () {
168
108
  }
169
109
  })
170
110
 
171
- it("dts.v20180330.DescribeSyncCheckJob", async function () {
172
- try {
173
- const data = await client.DescribeSyncCheckJob({})
174
- expect(data).to.be.ok
175
- } catch(error) {
176
- expect(error.requestId).to.be.ok
177
- expect(error.code).to.be.ok
178
- }
179
- })
180
-
181
111
  it("dts.v20180330.CreateMigrateJob", async function () {
182
112
  try {
183
113
  const data = await client.CreateMigrateJob({})
@@ -228,16 +158,6 @@ it("dts.v20180330.ModifySubscribeName", async function () {
228
158
  }
229
159
  })
230
160
 
231
- it("dts.v20180330.CreateSyncCheckJob", async function () {
232
- try {
233
- const data = await client.CreateSyncCheckJob({})
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
-
241
161
  it("dts.v20180330.CreateSubscribe", async function () {
242
162
  try {
243
163
  const data = await client.CreateSubscribe({})
@@ -308,6 +308,16 @@ it("postgres.v20170312.InquiryPriceUpgradeDBInstance", async function () {
308
308
  }
309
309
  })
310
310
 
311
+ it("postgres.v20170312.ModifyDBInstanceSpec", async function () {
312
+ try {
313
+ const data = await client.ModifyDBInstanceSpec({})
314
+ expect(data).to.be.ok
315
+ } catch(error) {
316
+ expect(error.requestId).to.be.ok
317
+ expect(error.code).to.be.ok
318
+ }
319
+ })
320
+
311
321
  it("postgres.v20170312.RemoveDBInstanceFromReadOnlyGroup", async function () {
312
322
  try {
313
323
  const data = await client.RemoveDBInstanceFromReadOnlyGroup({})
@@ -158,6 +158,16 @@ it("tcb.v20180608.DescribeEnvs", async function () {
158
158
  }
159
159
  })
160
160
 
161
+ it("tcb.v20180608.DescribeCloudBaseRunServerDomainName", async function () {
162
+ try {
163
+ const data = await client.DescribeCloudBaseRunServerDomainName({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
161
171
  it("tcb.v20180608.DescribeCloudBaseRunResource", async function () {
162
172
  try {
163
173
  const data = await client.DescribeCloudBaseRunResource({})
@@ -628,6 +638,16 @@ it("tcb.v20180608.DescribeCloudBaseBuildService", async function () {
628
638
  }
629
639
  })
630
640
 
641
+ it("tcb.v20180608.DescribeCloudBaseRunOneClickTaskExternal", async function () {
642
+ try {
643
+ const data = await client.DescribeCloudBaseRunOneClickTaskExternal({})
644
+ expect(data).to.be.ok
645
+ } catch(error) {
646
+ expect(error.requestId).to.be.ok
647
+ expect(error.code).to.be.ok
648
+ }
649
+ })
650
+
631
651
  it("tcb.v20180608.DescribeCloudBaseRunVersionSnapshot", async function () {
632
652
  try {
633
653
  const data = await client.DescribeCloudBaseRunVersionSnapshot({})