tencentcloud-sdk-nodejs 4.0.572 → 4.0.574

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 (71) hide show
  1. package/CHANGELOG.md +234 -0
  2. package/SERVICE_CHANGELOG.md +308 -58
  3. package/package.json +1 -1
  4. package/products.md +20 -19
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_client.ts +1 -1
  7. package/src/services/asr/v20190614/asr_models.ts +13 -12
  8. package/src/services/billing/v20180709/billing_models.ts +4 -4
  9. package/src/services/cbs/v20170312/cbs_client.ts +1 -1
  10. package/src/services/cbs/v20170312/cbs_models.ts +4 -4
  11. package/src/services/cfw/v20190904/cfw_client.ts +4 -3
  12. package/src/services/cfw/v20190904/cfw_models.ts +109 -75
  13. package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +5 -5
  14. package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +116 -104
  15. package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +32 -0
  16. package/src/services/cls/v20201016/cls_models.ts +17 -13
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +26 -3
  18. package/src/services/index.ts +1 -0
  19. package/src/services/lcic/v20220817/lcic_models.ts +2 -2
  20. package/src/services/pts/v20210728/pts_client.ts +27 -14
  21. package/src/services/pts/v20210728/pts_models.ts +260 -172
  22. package/src/services/teo/v20220901/teo_client.ts +8 -4
  23. package/src/services/teo/v20220901/teo_models.ts +209 -52
  24. package/src/services/tke/v20180525/tke_models.ts +9 -4
  25. package/src/services/trro/index.ts +5 -0
  26. package/src/services/trro/v20220325/index.ts +6 -0
  27. package/src/services/trro/v20220325/trro_client.ts +316 -0
  28. package/src/services/trro/v20220325/trro_models.ts +1357 -0
  29. package/src/services/waf/v20180125/waf_client.ts +14 -0
  30. package/src/services/waf/v20180125/waf_models.ts +180 -0
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  34. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  35. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +11 -10
  36. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +4 -4
  37. package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -1
  38. package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -1
  39. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +4 -4
  40. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
  41. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +91 -61
  42. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +5 -5
  43. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +41 -37
  44. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +60 -54
  45. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +28 -0
  46. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -5
  47. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +25 -2
  48. package/tencentcloud/services/index.d.ts +1 -0
  49. package/tencentcloud/services/index.js +2 -0
  50. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +2 -2
  51. package/tencentcloud/services/pts/v20210728/pts_client.d.ts +9 -5
  52. package/tencentcloud/services/pts/v20210728/pts_client.js +12 -6
  53. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +221 -146
  54. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
  55. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +180 -46
  56. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +8 -4
  57. package/tencentcloud/services/trro/index.d.ts +6 -0
  58. package/tencentcloud/services/trro/index.js +7 -0
  59. package/tencentcloud/services/trro/v20220325/index.d.ts +6 -0
  60. package/tencentcloud/services/trro/v20220325/index.js +9 -0
  61. package/tencentcloud/services/trro/v20220325/trro_client.d.ts +102 -0
  62. package/tencentcloud/services/trro/v20220325/trro_client.js +169 -0
  63. package/tencentcloud/services/trro/v20220325/trro_models.d.ts +1130 -0
  64. package/tencentcloud/services/trro/v20220325/trro_models.js +18 -0
  65. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
  66. package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
  67. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +149 -0
  68. package/test/cloudstudio.v20210524.test.js +46 -36
  69. package/test/pts.v20210728.test.js +14 -4
  70. package/test/trro.v20220325.test.js +251 -0
  71. package/test/waf.v20180125.test.js +10 -0
@@ -0,0 +1,18 @@
1
+ "use strict";
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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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, DescribeCustomWhiteRuleResponse, DescribeWafAutoDenyRulesResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, SearchAttackLogRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, DeleteAccessExportResponse, DescribeAccessExportsRequest, DescribeCustomWhiteRuleRequest, DescribeUserClbWafRegionsResponse, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeVipInfoRequest, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, SwitchDomainRulesRequest, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, ModifyAreaBanStatusRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, DescribePolicyStatusRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, DescribeAttackOverviewResponse, ModifyWafAutoDenyStatusResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeDomainWhiteRulesRequest, AddDomainWhiteRuleResponse, ModifyCustomRuleStatusRequest, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, ModifyWafAutoDenyRulesResponse, SearchAttackLogResponse, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, ModifyAreaBanStatusResponse, ModifyDomainWhiteRuleResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, DescribeVipInfoResponse, DescribeRuleLimitRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DeleteAttackDownloadRecordRequest, DescribeWafThreatenIntelligenceResponse, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, DescribeRuleLimitResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
3
+ import { CreateAccessExportRequest, DescribeIpHitItemsResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, DescribeCustomWhiteRuleResponse, DescribeWafAutoDenyRulesResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, SearchAttackLogRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, DeleteAccessExportResponse, DescribeAccessExportsRequest, DescribeCustomWhiteRuleRequest, DescribeUserClbWafRegionsResponse, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeVipInfoRequest, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, CreateHostResponse, SwitchDomainRulesRequest, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, CreateHostRequest, ModifyAreaBanStatusRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, DescribePolicyStatusRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, DescribeAttackOverviewResponse, ModifyWafAutoDenyStatusResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeDomainWhiteRulesRequest, AddDomainWhiteRuleResponse, ModifyCustomRuleStatusRequest, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, ModifyWafAutoDenyRulesResponse, SearchAttackLogResponse, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, ModifyAreaBanStatusResponse, ModifyDomainWhiteRuleResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, DescribeVipInfoResponse, DescribeRuleLimitRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DeleteAttackDownloadRecordRequest, DescribeWafThreatenIntelligenceResponse, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, DescribeRuleLimitResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
4
4
  /**
5
5
  * waf client
6
6
  * @class
@@ -149,6 +149,10 @@ export declare class Client extends AbstractClient {
149
149
  * 删除访问日志下载记录
150
150
  */
151
151
  DeleteDownloadRecord(req: DeleteDownloadRecordRequest, cb?: (error: string, rep: DeleteDownloadRecordResponse) => void): Promise<DeleteDownloadRecordResponse>;
152
+ /**
153
+ * clb-waf中添加防护的域名
154
+ */
155
+ CreateHost(req: CreateHostRequest, cb?: (error: string, rep: CreateHostResponse) => void): Promise<CreateHostResponse>;
152
156
  /**
153
157
  * 删除CC攻击的session设置
154
158
  */
@@ -239,6 +239,12 @@ class Client extends abstract_client_1.AbstractClient {
239
239
  async DeleteDownloadRecord(req, cb) {
240
240
  return this.request("DeleteDownloadRecord", req, cb);
241
241
  }
242
+ /**
243
+ * clb-waf中添加防护的域名
244
+ */
245
+ async CreateHost(req, cb) {
246
+ return this.request("CreateHost", req, cb);
247
+ }
242
248
  /**
243
249
  * 删除CC攻击的session设置
244
250
  */
@@ -828,6 +828,19 @@ export interface SearchAccessLogResponse {
828
828
  */
829
829
  RequestId?: string;
830
830
  }
831
+ /**
832
+ * CreateHost返回参数结构体
833
+ */
834
+ export interface CreateHostResponse {
835
+ /**
836
+ * 新增防护域名ID
837
+ */
838
+ DomainId: string;
839
+ /**
840
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
841
+ */
842
+ RequestId?: string;
843
+ }
831
844
  /**
832
845
  * ip黑白名单
833
846
  */
@@ -1096,6 +1109,91 @@ export interface DescribeIpAccessControlRequest {
1096
1109
  */
1097
1110
  Ip?: string;
1098
1111
  }
1112
+ /**
1113
+ * clb-waf防护域名
1114
+ */
1115
+ export interface HostRecord {
1116
+ /**
1117
+ * 域名
1118
+ */
1119
+ Domain: string;
1120
+ /**
1121
+ * 域名ID
1122
+ */
1123
+ DomainId: string;
1124
+ /**
1125
+ * 主域名,入参时为空
1126
+ */
1127
+ MainDomain: string;
1128
+ /**
1129
+ * waf模式,同saas waf保持一致
1130
+ */
1131
+ Mode: number;
1132
+ /**
1133
+ * waf和LD的绑定,0:没有绑定,1:绑定
1134
+ */
1135
+ Status: number;
1136
+ /**
1137
+ * 域名状态,0:正常,1:未检测到流量,2:即将过期,3:过期
1138
+ */
1139
+ State: number;
1140
+ /**
1141
+ * 使用的规则,同saas waf保持一致
1142
+ */
1143
+ Engine: number;
1144
+ /**
1145
+ * 是否开启代理,0:不开启,1:开启
1146
+ */
1147
+ IsCdn: number;
1148
+ /**
1149
+ * 绑定的LB列表
1150
+ */
1151
+ LoadBalancerSet: Array<LoadBalancer>;
1152
+ /**
1153
+ * 域名绑定的LB的地域,以,分割多个地域
1154
+ */
1155
+ Region: string;
1156
+ /**
1157
+ * 产品分类,取值为:sparta-waf、clb-waf、cdn-waf
1158
+ */
1159
+ Edition: string;
1160
+ /**
1161
+ * WAF的流量模式,1:清洗模式,0:镜像模式
1162
+ */
1163
+ FlowMode: number;
1164
+ /**
1165
+ * 是否开启访问日志,1:开启,0:关闭
1166
+ */
1167
+ ClsStatus: number;
1168
+ /**
1169
+ * 防护等级,可选值100,200,300
1170
+ 注意:此字段可能返回 null,表示取不到有效值。
1171
+ */
1172
+ Level?: number;
1173
+ /**
1174
+ * 域名需要下发到的cdc集群列表
1175
+ 注意:此字段可能返回 null,表示取不到有效值。
1176
+ */
1177
+ CdcClusters?: Array<string>;
1178
+ /**
1179
+ * 应用型负载均衡类型: clb或者apisix,默认clb
1180
+ 注意:此字段可能返回 null,表示取不到有效值。
1181
+ */
1182
+ AlbType?: string;
1183
+ }
1184
+ /**
1185
+ * CreateHost请求参数结构体
1186
+ */
1187
+ export interface CreateHostRequest {
1188
+ /**
1189
+ * 防护域名配置信息
1190
+ */
1191
+ Host: HostRecord;
1192
+ /**
1193
+ * 实例id
1194
+ */
1195
+ InstanceID?: string;
1196
+ }
1099
1197
  /**
1100
1198
  * ModifyAreaBanStatus请求参数结构体
1101
1199
  */
@@ -2916,3 +3014,54 @@ export interface ModifyWafThreatenIntelligenceResponse {
2916
3014
  */
2917
3015
  RequestId?: string;
2918
3016
  }
3017
+ /**
3018
+ * 负载均衡的监听器
3019
+ */
3020
+ export interface LoadBalancer {
3021
+ /**
3022
+ * 负载均衡LD的ID
3023
+ */
3024
+ LoadBalancerId: string;
3025
+ /**
3026
+ * 负载均衡LD的名称
3027
+ */
3028
+ LoadBalancerName: string;
3029
+ /**
3030
+ * 负载均衡监听器的ID
3031
+ */
3032
+ ListenerId: string;
3033
+ /**
3034
+ * 负载均衡监听器的名称
3035
+ */
3036
+ ListenerName: string;
3037
+ /**
3038
+ * 负载均衡实例的IP
3039
+ */
3040
+ Vip: string;
3041
+ /**
3042
+ * 负载均衡实例的端口
3043
+ */
3044
+ Vport: number;
3045
+ /**
3046
+ * 负载均衡LD的地域
3047
+ */
3048
+ Region: string;
3049
+ /**
3050
+ * 监听器协议,http、https
3051
+ */
3052
+ Protocol: string;
3053
+ /**
3054
+ * 负载均衡监听器所在的zone
3055
+ */
3056
+ Zone: string;
3057
+ /**
3058
+ * 负载均衡的VPCID,公网为-1,内网按实际填写
3059
+ 注意:此字段可能返回 null,表示取不到有效值。
3060
+ */
3061
+ NumericalVpcId?: number;
3062
+ /**
3063
+ * 负载均衡的网络类型
3064
+ 注意:此字段可能返回 null,表示取不到有效值。
3065
+ */
3066
+ LoadBalancerType?: string;
3067
+ }
@@ -18,9 +18,9 @@ const client = new tencentcloud.cloudstudio.v20210524.Client({
18
18
  })
19
19
  describe("cloudstudio.v20210524.test.js", function () {
20
20
 
21
- it("cloudstudio.v20210524.DescribeWorkspaceStatus", async function () {
21
+ it("cloudstudio.v20210524.DescribeCustomizeTemplatesById", async function () {
22
22
  try {
23
- const data = await client.DescribeWorkspaceStatus({})
23
+ const data = await client.DescribeCustomizeTemplatesById({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,9 @@ it("cloudstudio.v20210524.DescribeWorkspaceStatus", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("cloudstudio.v20210524.DescribeCustomizeTemplatesById", async function () {
31
+ it("cloudstudio.v20210524.CreateWorkspaceTemporaryToken", async function () {
32
32
  try {
33
- const data = await client.DescribeCustomizeTemplatesById({})
33
+ const data = await client.CreateWorkspaceTemporaryToken({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -38,9 +38,9 @@ it("cloudstudio.v20210524.DescribeCustomizeTemplatesById", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("cloudstudio.v20210524.CreateWorkspaceByVersionControl", async function () {
41
+ it("cloudstudio.v20210524.ModifyCustomizeTemplatesPartById", async function () {
42
42
  try {
43
- const data = await client.CreateWorkspaceByVersionControl({})
43
+ const data = await client.ModifyCustomizeTemplatesPartById({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -48,9 +48,9 @@ it("cloudstudio.v20210524.CreateWorkspaceByVersionControl", async function () {
48
48
  }
49
49
  })
50
50
 
51
- it("cloudstudio.v20210524.CreateWorkspaceByTemplate", async function () {
51
+ it("cloudstudio.v20210524.DescribeWorkspaceIsReady", async function () {
52
52
  try {
53
- const data = await client.CreateWorkspaceByTemplate({})
53
+ const data = await client.DescribeWorkspaceIsReady({})
54
54
  expect(data).to.be.ok
55
55
  } catch(error) {
56
56
  expect(error.requestId).to.be.ok
@@ -58,9 +58,9 @@ it("cloudstudio.v20210524.CreateWorkspaceByTemplate", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("cloudstudio.v20210524.CreateWorkspaceTemporaryToken", async function () {
61
+ it("cloudstudio.v20210524.RunWorkspace", async function () {
62
62
  try {
63
- const data = await client.CreateWorkspaceTemporaryToken({})
63
+ const data = await client.RunWorkspace({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -68,9 +68,9 @@ it("cloudstudio.v20210524.CreateWorkspaceTemporaryToken", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("cloudstudio.v20210524.ModifyCustomizeTemplateVersionControl", async function () {
71
+ it("cloudstudio.v20210524.DescribeCustomizeTemplates", async function () {
72
72
  try {
73
- const data = await client.ModifyCustomizeTemplateVersionControl({})
73
+ const data = await client.DescribeCustomizeTemplates({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -88,9 +88,9 @@ it("cloudstudio.v20210524.RecoverWorkspace", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("cloudstudio.v20210524.DescribeWorkspaceStatusList", async function () {
91
+ it("cloudstudio.v20210524.CreateWorkspaceByVersionControl", async function () {
92
92
  try {
93
- const data = await client.DescribeWorkspaceStatusList({})
93
+ const data = await client.CreateWorkspaceByVersionControl({})
94
94
  expect(data).to.be.ok
95
95
  } catch(error) {
96
96
  expect(error.requestId).to.be.ok
@@ -98,9 +98,9 @@ it("cloudstudio.v20210524.DescribeWorkspaceStatusList", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("cloudstudio.v20210524.RemoveWorkspace", async function () {
101
+ it("cloudstudio.v20210524.ModifyCustomizeTemplateVersionControl", async function () {
102
102
  try {
103
- const data = await client.RemoveWorkspace({})
103
+ const data = await client.ModifyCustomizeTemplateVersionControl({})
104
104
  expect(data).to.be.ok
105
105
  } catch(error) {
106
106
  expect(error.requestId).to.be.ok
@@ -108,9 +108,9 @@ it("cloudstudio.v20210524.RemoveWorkspace", async function () {
108
108
  }
109
109
  })
110
110
 
111
- it("cloudstudio.v20210524.DescribeWorkspaceNameExist", async function () {
111
+ it("cloudstudio.v20210524.CreateWorkspaceByAgent", async function () {
112
112
  try {
113
- const data = await client.DescribeWorkspaceNameExist({})
113
+ const data = await client.CreateWorkspaceByAgent({})
114
114
  expect(data).to.be.ok
115
115
  } catch(error) {
116
116
  expect(error.requestId).to.be.ok
@@ -118,9 +118,9 @@ it("cloudstudio.v20210524.DescribeWorkspaceNameExist", async function () {
118
118
  }
119
119
  })
120
120
 
121
- it("cloudstudio.v20210524.ModifyCustomizeTemplatesFullById", async function () {
121
+ it("cloudstudio.v20210524.RemoveWorkspace", async function () {
122
122
  try {
123
- const data = await client.ModifyCustomizeTemplatesFullById({})
123
+ const data = await client.RemoveWorkspace({})
124
124
  expect(data).to.be.ok
125
125
  } catch(error) {
126
126
  expect(error.requestId).to.be.ok
@@ -128,9 +128,9 @@ it("cloudstudio.v20210524.ModifyCustomizeTemplatesFullById", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("cloudstudio.v20210524.RunWorkspace", async function () {
131
+ it("cloudstudio.v20210524.DescribeWorkspaceEnvList", async function () {
132
132
  try {
133
- const data = await client.RunWorkspace({})
133
+ const data = await client.DescribeWorkspaceEnvList({})
134
134
  expect(data).to.be.ok
135
135
  } catch(error) {
136
136
  expect(error.requestId).to.be.ok
@@ -148,9 +148,9 @@ it("cloudstudio.v20210524.DeleteCustomizeTemplatesById", async function () {
148
148
  }
149
149
  })
150
150
 
151
- it("cloudstudio.v20210524.ModifyCustomizeTemplatesPartById", async function () {
151
+ it("cloudstudio.v20210524.StopWorkspace", async function () {
152
152
  try {
153
- const data = await client.ModifyCustomizeTemplatesPartById({})
153
+ const data = await client.StopWorkspace({})
154
154
  expect(data).to.be.ok
155
155
  } catch(error) {
156
156
  expect(error.requestId).to.be.ok
@@ -158,9 +158,9 @@ it("cloudstudio.v20210524.ModifyCustomizeTemplatesPartById", async function () {
158
158
  }
159
159
  })
160
160
 
161
- it("cloudstudio.v20210524.StopWorkspace", async function () {
161
+ it("cloudstudio.v20210524.DescribeWorkspaceStatus", async function () {
162
162
  try {
163
- const data = await client.StopWorkspace({})
163
+ const data = await client.DescribeWorkspaceStatus({})
164
164
  expect(data).to.be.ok
165
165
  } catch(error) {
166
166
  expect(error.requestId).to.be.ok
@@ -178,9 +178,9 @@ it("cloudstudio.v20210524.DescribeCustomizeTemplatesPresets", async function ()
178
178
  }
179
179
  })
180
180
 
181
- it("cloudstudio.v20210524.DescribeWorkspaceEnvList", async function () {
181
+ it("cloudstudio.v20210524.CreateCustomizeTemplates", async function () {
182
182
  try {
183
- const data = await client.DescribeWorkspaceEnvList({})
183
+ const data = await client.CreateCustomizeTemplates({})
184
184
  expect(data).to.be.ok
185
185
  } catch(error) {
186
186
  expect(error.requestId).to.be.ok
@@ -188,9 +188,9 @@ it("cloudstudio.v20210524.DescribeWorkspaceEnvList", async function () {
188
188
  }
189
189
  })
190
190
 
191
- it("cloudstudio.v20210524.ModifyWorkspaceAttributes", async function () {
191
+ it("cloudstudio.v20210524.ModifyCustomizeTemplatesFullById", async function () {
192
192
  try {
193
- const data = await client.ModifyWorkspaceAttributes({})
193
+ const data = await client.ModifyCustomizeTemplatesFullById({})
194
194
  expect(data).to.be.ok
195
195
  } catch(error) {
196
196
  expect(error.requestId).to.be.ok
@@ -198,9 +198,9 @@ it("cloudstudio.v20210524.ModifyWorkspaceAttributes", async function () {
198
198
  }
199
199
  })
200
200
 
201
- it("cloudstudio.v20210524.CreateWorkspaceByAgent", async function () {
201
+ it("cloudstudio.v20210524.CreateWorkspaceByTemplate", async function () {
202
202
  try {
203
- const data = await client.CreateWorkspaceByAgent({})
203
+ const data = await client.CreateWorkspaceByTemplate({})
204
204
  expect(data).to.be.ok
205
205
  } catch(error) {
206
206
  expect(error.requestId).to.be.ok
@@ -208,9 +208,9 @@ it("cloudstudio.v20210524.CreateWorkspaceByAgent", async function () {
208
208
  }
209
209
  })
210
210
 
211
- it("cloudstudio.v20210524.CreateCustomizeTemplates", async function () {
211
+ it("cloudstudio.v20210524.DescribeWorkspaceStatusList", async function () {
212
212
  try {
213
- const data = await client.CreateCustomizeTemplates({})
213
+ const data = await client.DescribeWorkspaceStatusList({})
214
214
  expect(data).to.be.ok
215
215
  } catch(error) {
216
216
  expect(error.requestId).to.be.ok
@@ -218,9 +218,19 @@ it("cloudstudio.v20210524.CreateCustomizeTemplates", async function () {
218
218
  }
219
219
  })
220
220
 
221
- it("cloudstudio.v20210524.DescribeCustomizeTemplates", async function () {
221
+ it("cloudstudio.v20210524.DescribeWorkspaceNameExist", async function () {
222
222
  try {
223
- const data = await client.DescribeCustomizeTemplates({})
223
+ const data = await client.DescribeWorkspaceNameExist({})
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("cloudstudio.v20210524.ModifyWorkspaceAttributes", async function () {
232
+ try {
233
+ const data = await client.ModifyWorkspaceAttributes({})
224
234
  expect(data).to.be.ok
225
235
  } catch(error) {
226
236
  expect(error.requestId).to.be.ok
@@ -128,6 +128,16 @@ it("pts.v20210728.DeleteFiles", async function () {
128
128
  }
129
129
  })
130
130
 
131
+ it("pts.v20210728.DescribeRegions", async function () {
132
+ try {
133
+ const data = await client.DescribeRegions({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
131
141
  it("pts.v20210728.DescribeCheckSummary", async function () {
132
142
  try {
133
143
  const data = await client.DescribeCheckSummary({})
@@ -288,9 +298,9 @@ it("pts.v20210728.DeleteJobs", async function () {
288
298
  }
289
299
  })
290
300
 
291
- it("pts.v20210728.DescribeNormalLogs", async function () {
301
+ it("pts.v20210728.DescribeErrorSummary", async function () {
292
302
  try {
293
- const data = await client.DescribeNormalLogs({})
303
+ const data = await client.DescribeErrorSummary({})
294
304
  expect(data).to.be.ok
295
305
  } catch(error) {
296
306
  expect(error.requestId).to.be.ok
@@ -298,9 +308,9 @@ it("pts.v20210728.DescribeNormalLogs", async function () {
298
308
  }
299
309
  })
300
310
 
301
- it("pts.v20210728.DescribeRegions", async function () {
311
+ it("pts.v20210728.DescribeNormalLogs", async function () {
302
312
  try {
303
- const data = await client.DescribeRegions({})
313
+ const data = await client.DescribeNormalLogs({})
304
314
  expect(data).to.be.ok
305
315
  } catch(error) {
306
316
  expect(error.requestId).to.be.ok