tencentcloud-sdk-nodejs 4.0.745 → 4.0.746

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 (64) hide show
  1. package/CHANGELOG.md +157 -0
  2. package/SERVICE_CHANGELOG.md +181 -105
  3. package/package.json +1 -1
  4. package/products.md +18 -18
  5. package/src/common/abstract_client.ts +14 -9
  6. package/src/common/sdk_version.ts +1 -1
  7. package/src/common/sse_response_model.ts +121 -0
  8. package/src/services/cat/v20180409/cat_models.ts +2 -2
  9. package/src/services/cls/v20201016/cls_client.ts +1 -1
  10. package/src/services/cls/v20201016/cls_models.ts +15 -7
  11. package/src/services/cwp/v20180228/cwp_models.ts +2 -2
  12. package/src/services/domain/v20180808/domain_models.ts +1 -1
  13. package/src/services/dsgc/v20190723/dsgc_client.ts +5 -5
  14. package/src/services/dsgc/v20190723/dsgc_models.ts +33 -33
  15. package/src/services/ecm/v20190719/ecm_models.ts +1 -1
  16. package/src/services/ess/v20201111/ess_models.ts +0 -2
  17. package/src/services/essbasic/v20210526/essbasic_client.ts +32 -20
  18. package/src/services/essbasic/v20210526/essbasic_models.ts +237 -202
  19. package/src/services/hunyuan/v20230901/hunyuan_client.ts +2 -0
  20. package/src/services/iotvideo/v20211125/iotvideo_client.ts +16 -3
  21. package/src/services/iotvideo/v20211125/iotvideo_models.ts +112 -64
  22. package/src/services/scf/v20180416/scf_client.ts +1 -0
  23. package/src/services/scf/v20180416/scf_models.ts +21 -0
  24. package/src/services/tcss/v20201101/tcss_models.ts +79 -36
  25. package/src/services/trtc/v20190722/trtc_models.ts +8 -8
  26. package/src/services/vod/v20180717/vod_client.ts +12 -0
  27. package/src/services/vod/v20180717/vod_models.ts +28 -0
  28. package/src/services/vpc/v20170312/vpc_models.ts +6 -0
  29. package/src/services/waf/v20180125/waf_models.ts +2 -1
  30. package/tencentcloud/common/abstract_client.js +12 -6
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/common/sse_response_model.d.ts +32 -0
  34. package/tencentcloud/common/sse_response_model.js +96 -0
  35. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +2 -2
  36. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
  37. package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
  38. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +15 -7
  39. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -2
  40. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +1 -1
  41. package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +5 -5
  42. package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +5 -5
  43. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +33 -33
  44. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +1 -1
  45. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +0 -2
  46. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +19 -15
  47. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +21 -15
  48. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +235 -202
  49. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +2 -0
  50. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +2 -0
  51. package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.d.ts +5 -1
  52. package/tencentcloud/services/iotvideo/v20211125/iotvideo_client.js +6 -0
  53. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +109 -64
  54. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +20 -0
  55. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +79 -36
  56. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +8 -8
  57. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +5 -1
  58. package/tencentcloud/services/vod/v20180717/vod_client.js +6 -0
  59. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +26 -0
  60. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +6 -0
  61. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +2 -1
  62. package/test/essbasic.v20210526.test.js +12 -2
  63. package/test/iotvideo.v20211125.test.js +10 -0
  64. package/test/vod.v20180717.test.js +10 -0
@@ -4711,7 +4711,8 @@ export interface DescribeFlowTrendResponse {
4711
4711
  */
4712
4712
  export interface UpsertIpAccessControlRequest {
4713
4713
  /**
4714
- * 域名
4714
+ * 具体域名如:test.qcloudwaf.com
4715
+ 全局域名为:global
4715
4716
  */
4716
4717
  Domain: string
4717
4718
  /**
@@ -6,6 +6,7 @@ const interface_1 = require("./interface");
6
6
  const sign_1 = require("./sign");
7
7
  const http_connection_1 = require("./http/http_connection");
8
8
  const tencent_cloud_sdk_exception_1 = require("./exception/tencent_cloud_sdk_exception");
9
+ const sse_response_model_1 = require("./sse_response_model");
9
10
  /**
10
11
  * @inner
11
12
  */
@@ -149,14 +150,19 @@ class AbstractClient {
149
150
  throw tcError;
150
151
  }
151
152
  else {
152
- const data = await res.json();
153
- if (data.Response.Error) {
154
- const tcError = new tencent_cloud_sdk_exception_1.default(data.Response.Error.Message, data.Response.RequestId);
155
- tcError.code = data.Response.Error.Code;
156
- throw tcError;
153
+ if (res.headers.get("content-type") === "text/event-stream") {
154
+ return new sse_response_model_1.SSEResponseModel(res.body);
157
155
  }
158
156
  else {
159
- return data.Response;
157
+ const data = await res.json();
158
+ if (data.Response.Error) {
159
+ const tcError = new tencent_cloud_sdk_exception_1.default(data.Response.Error.Message, data.Response.RequestId);
160
+ tcError.code = data.Response.Error.Code;
161
+ throw tcError;
162
+ }
163
+ else {
164
+ return data.Response;
165
+ }
160
166
  }
161
167
  }
162
168
  }
@@ -1 +1 @@
1
- export declare const sdkVersion = "4.0.745";
1
+ export declare const sdkVersion = "4.0.746";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sdkVersion = void 0;
4
- exports.sdkVersion = "4.0.745";
4
+ exports.sdkVersion = "4.0.746";
@@ -0,0 +1,32 @@
1
+ /// <reference types="node" />
2
+ interface EventSourceMessage {
3
+ /** The event ID to set the EventSource object's last event ID value. */
4
+ id: string;
5
+ /** A string identifying the type of event described. */
6
+ event: string;
7
+ /** The event data */
8
+ data: string;
9
+ /** The reconnection interval (in milliseconds) to wait before retrying the connection */
10
+ retry?: number;
11
+ }
12
+ export declare class SSEResponseModel {
13
+ private stream;
14
+ private eventSource;
15
+ constructor(stream: NodeJS.ReadableStream);
16
+ /**
17
+ * @inner
18
+ */
19
+ private init;
20
+ /**
21
+ * @inner
22
+ */
23
+ private parseSSEMessage;
24
+ on(event: "message", listener: (message: EventSourceMessage) => void): this;
25
+ on(event: "close", listener: () => void): this;
26
+ on(event: "error", listener: (err: Error) => void): this;
27
+ removeListener(event: "message", listener: (message: EventSourceMessage) => void): this;
28
+ removeListener(event: "close", listener: () => void): this;
29
+ removeListener(event: "error", listener: (err: Error) => void): this;
30
+ [Symbol.asyncIterator](): AsyncIterableIterator<EventSourceMessage>;
31
+ }
32
+ export {};
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SSEResponseModel = void 0;
4
+ const events_1 = require("events");
5
+ class SSEEventEmitter extends events_1.EventEmitter {
6
+ }
7
+ class SSEResponseModel {
8
+ constructor(stream) {
9
+ this.stream = stream;
10
+ this.eventSource = new SSEEventEmitter();
11
+ this.init();
12
+ }
13
+ /**
14
+ * @inner
15
+ */
16
+ init() {
17
+ const { stream, eventSource } = this;
18
+ stream.on("data", (chunk) => {
19
+ if (chunk !== null) {
20
+ const messages = chunk.toString().split('\n\n');
21
+ for (let i = 0; i < messages.length; i++) {
22
+ if (messages[i].length > 0) {
23
+ eventSource.emit("message", this.parseSSEMessage(messages[i]));
24
+ }
25
+ }
26
+ }
27
+ });
28
+ stream.on("close", () => {
29
+ eventSource.emit("close");
30
+ });
31
+ stream.on("error", (err) => {
32
+ eventSource.emit("error", err);
33
+ });
34
+ }
35
+ /**
36
+ * @inner
37
+ */
38
+ parseSSEMessage(chunk) {
39
+ const message = {
40
+ data: "",
41
+ event: "",
42
+ id: "",
43
+ retry: undefined,
44
+ };
45
+ const lines = chunk.split("\n");
46
+ for (let i = 0; i < lines.length; i++) {
47
+ const line = lines[i];
48
+ // line is of format "<field>:<value>" or "<field>: <value>"
49
+ const colonIndex = line.indexOf(":");
50
+ if (colonIndex <= 0)
51
+ continue; // exclude comments and lines with no values
52
+ const field = line.slice(0, colonIndex);
53
+ const value = line.slice(colonIndex + (line[colonIndex + 1] === " " ? 2 : 1));
54
+ switch (field) {
55
+ case "data":
56
+ message.data = message.data ? message.data + "\n" + value : value;
57
+ break;
58
+ case "event":
59
+ message.event = value;
60
+ break;
61
+ case "id":
62
+ message.id = value;
63
+ break;
64
+ case "retry":
65
+ const retry = parseInt(value, 10);
66
+ if (!isNaN(retry)) {
67
+ // per spec, ignore non-integers
68
+ message.retry = retry;
69
+ }
70
+ break;
71
+ }
72
+ }
73
+ return message;
74
+ }
75
+ on(event, listener) {
76
+ this.eventSource.on(event, listener);
77
+ return this;
78
+ }
79
+ removeListener(event, listener) {
80
+ this.eventSource.removeListener(event, listener);
81
+ return this;
82
+ }
83
+ async *[Symbol.asyncIterator]() {
84
+ for await (const chunk of this.stream) {
85
+ if (chunk !== null) {
86
+ const messages = chunk.toString().split('\n\n');
87
+ for (let i = 0; i < messages.length; i++) {
88
+ if (messages[i].length > 0) {
89
+ yield this.parseSSEMessage(messages[i]);
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ exports.SSEResponseModel = SSEResponseModel;
@@ -366,11 +366,11 @@ export interface DescribeProbeMetricDataRequest {
366
366
  */
367
367
  AnalyzeTaskType?: string;
368
368
  /**
369
- * 指标类型,指标查询默认传gauge
369
+ * 指标类型(counter、gauge以及histogram),指标查询默认传gauge
370
370
  */
371
371
  MetricType?: string;
372
372
  /**
373
- * 指标详细字段,可以传递传具体的指标也可以对指标进行聚合查询例如:"avg(ping_time)"代表整体时延(ms)
373
+ * 指标详细字段,可以传递传具体的指标也可以对指标进行聚合查询例如:"avg(ping_time)"代表整体时延(ms);不同的任务类型支持不同的field查询,以及聚合规则,详情可联系云拨测。
374
374
  */
375
375
  Field?: string;
376
376
  /**
@@ -504,7 +504,7 @@ cls.pb.cc cls.pb.h cls.proto
504
504
  */
505
505
  DescribeConsumer(req: DescribeConsumerRequest, cb?: (error: string, rep: DescribeConsumerResponse) => void): Promise<DescribeConsumerResponse>;
506
506
  /**
507
- * 获取制定机器组下的机器状态
507
+ * 获取指定机器组下的机器状态
508
508
  */
509
509
  DescribeMachines(req: DescribeMachinesRequest, cb?: (error: string, rep: DescribeMachinesResponse) => void): Promise<DescribeMachinesResponse>;
510
510
  /**
@@ -694,7 +694,7 @@ cls.pb.cc cls.pb.h cls.proto
694
694
  return this.request("DescribeConsumer", req, cb);
695
695
  }
696
696
  /**
697
- * 获取制定机器组下的机器状态
697
+ * 获取指定机器组下的机器状态
698
698
  */
699
699
  async DescribeMachines(req, cb) {
700
700
  return this.request("DescribeMachines", req, cb);
@@ -4789,27 +4789,27 @@ export interface DescribeMachinesResponse {
4789
4789
  /**
4790
4790
  * 机器状态信息组
4791
4791
  */
4792
- Machines: Array<MachineInfo>;
4792
+ Machines?: Array<MachineInfo>;
4793
4793
  /**
4794
4794
  * 机器组是否开启自动升级功能
4795
4795
  */
4796
- AutoUpdate: number;
4796
+ AutoUpdate?: number;
4797
4797
  /**
4798
4798
  * 机器组自动升级功能预设开始时间
4799
4799
  */
4800
- UpdateStartTime: string;
4800
+ UpdateStartTime?: string;
4801
4801
  /**
4802
4802
  * 机器组自动升级功能预设结束时间
4803
4803
  */
4804
- UpdateEndTime: string;
4804
+ UpdateEndTime?: string;
4805
4805
  /**
4806
4806
  * 当前用户可用最新的Loglistener版本
4807
4807
  */
4808
- LatestAgentVersion: string;
4808
+ LatestAgentVersion?: string;
4809
4809
  /**
4810
4810
  * 是否开启服务日志
4811
4811
  */
4812
- ServiceLogging: boolean;
4812
+ ServiceLogging?: boolean;
4813
4813
  /**
4814
4814
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4815
4815
  */
@@ -5377,7 +5377,15 @@ export interface DescribeScheduledSqlInfoRequest {
5377
5377
  */
5378
5378
  TaskId?: string;
5379
5379
  /**
5380
- * <li>srcTopicName按照【源日志主题名称】进行过滤,模糊匹配,类型:String必选:否<br><li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配,类型:String必选:否<br><li>srcTopicId按照【源日志主题ID】进行过滤。类型:String必选:否<br><li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String必选:否<br><li>bizType按照【主题类型】进行过滤,0日志主题1指标主题,,。类型:String必选:否<br><li>status按照【任务状态】进行过滤。类型:String必选:否<br><li>taskName按照【任务名称】进行过滤,模糊匹配,。类型:String必选:否<br><li>taskId按照【任务ID】进行过滤,模糊匹配,。类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。
5380
+ * <li>srcTopicName按照【源日志主题名称】进行过滤,模糊匹配,类型:String必选:否</li>
5381
+ <li>dstTopicName按照【目标日志主题名称】进行过滤,模糊匹配,类型:String必选:否</li>
5382
+ <li>srcTopicId按照【源日志主题ID】进行过滤。类型:String必选:否</li>
5383
+ <li>dstTopicId按照【目标日志主题ID】进行过滤。类型:String必选:否</li>
5384
+ <li>bizType按照【主题类型】进行过滤,0日志主题1指标主题,。类型:String必选:否</li>
5385
+ <li>status按照【任务状态】进行过滤。类型:String必选:否</li>
5386
+ <li>taskName按照【任务名称】进行过滤,模糊匹配,。类型:String必选:否</li>
5387
+ <li>taskId按照【任务ID】进行过滤,模糊匹配,。类型:String必选:否</li>
5388
+
5381
5389
  */
5382
5390
  Filters?: Array<Filter>;
5383
5391
  }
@@ -16237,11 +16237,11 @@ export interface DescribeLogExportsResponse {
16237
16237
  /**
16238
16238
  * 总数目
16239
16239
  */
16240
- TotalCount: number;
16240
+ TotalCount?: number;
16241
16241
  /**
16242
16242
  * 日志导出列表
16243
16243
  */
16244
- Exports: Array<ExportInfo>;
16244
+ Exports?: Array<ExportInfo>;
16245
16245
  /**
16246
16246
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
16247
16247
  */
@@ -5,7 +5,7 @@ export interface UploadImageResponse {
5
5
  /**
6
6
  * 资质照片地址。
7
7
  */
8
- AccessUrl: string;
8
+ AccessUrl?: string;
9
9
  /**
10
10
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11
11
  */
@@ -16,7 +16,7 @@ export declare class Client extends AbstractClient {
16
16
  */
17
17
  DescribeDSPAAssessmentRiskDealedOverview(req: DescribeDSPAAssessmentRiskDealedOverviewRequest, cb?: (error: string, rep: DescribeDSPAAssessmentRiskDealedOverviewResponse) => void): Promise<DescribeDSPAAssessmentRiskDealedOverviewResponse>;
18
18
  /**
19
- * 复制合规组模版
19
+ * 复制合规组模板
20
20
  */
21
21
  CopyDSPATemplate(req: CopyDSPATemplateRequest, cb?: (error: string, rep: CopyDSPATemplateResponse) => void): Promise<CopyDSPATemplateResponse>;
22
22
  /**
@@ -24,7 +24,7 @@ export declare class Client extends AbstractClient {
24
24
  */
25
25
  DescribeDSPAAssessmentRiskLevelDetail(req: DescribeDSPAAssessmentRiskLevelDetailRequest, cb?: (error: string, rep: DescribeDSPAAssessmentRiskLevelDetailResponse) => void): Promise<DescribeDSPAAssessmentRiskLevelDetailResponse>;
26
26
  /**
27
- * 风险项页面--查看评估模版详情
27
+ * 风险项页面--查看评估模板详情
28
28
  */
29
29
  DescribeDSPAAssessmentRiskTemplateDetail(req: DescribeDSPAAssessmentRiskTemplateDetailRequest, cb?: (error: string, rep: DescribeDSPAAssessmentRiskTemplateDetailResponse) => void): Promise<DescribeDSPAAssessmentRiskTemplateDetailResponse>;
30
30
  /**
@@ -198,7 +198,7 @@ export declare class Client extends AbstractClient {
198
198
  */
199
199
  CreateNewClassification(req?: CreateNewClassificationRequest, cb?: (error: string, rep: CreateNewClassificationResponse) => void): Promise<CreateNewClassificationResponse>;
200
200
  /**
201
- * 风险模版---修改风险模版
201
+ * 风险模板---修改风险模板
202
202
  */
203
203
  ModifyDSPAAssessmentRiskTemplate(req: ModifyDSPAAssessmentRiskTemplateRequest, cb?: (error: string, rep: ModifyDSPAAssessmentRiskTemplateResponse) => void): Promise<ModifyDSPAAssessmentRiskTemplateResponse>;
204
204
  /**
@@ -351,7 +351,7 @@ export declare class Client extends AbstractClient {
351
351
  */
352
352
  DescribeDSPACategoryRules(req: DescribeDSPACategoryRulesRequest, cb?: (error: string, rep: DescribeDSPACategoryRulesResponse) => void): Promise<DescribeDSPACategoryRulesResponse>;
353
353
  /**
354
- * 风险模版页面--查询风险模版中的脆弱项配置
354
+ * 风险模板页面--查询风险模板中的脆弱项配置
355
355
  */
356
356
  DescribeDSPAAssessmentRiskTemplateVulnerableList(req: DescribeDSPAAssessmentRiskTemplateVulnerableListRequest, cb?: (error: string, rep: DescribeDSPAAssessmentRiskTemplateVulnerableListResponse) => void): Promise<DescribeDSPAAssessmentRiskTemplateVulnerableListResponse>;
357
357
  /**
@@ -391,7 +391,7 @@ export declare class Client extends AbstractClient {
391
391
  */
392
392
  VerifyDSPACOSRule(req: VerifyDSPACOSRuleRequest, cb?: (error: string, rep: VerifyDSPACOSRuleResponse) => void): Promise<VerifyDSPACOSRuleResponse>;
393
393
  /**
394
- * 风险评估模版---创建风险评估模版
394
+ * 风险评估模板---创建风险评估模板
395
395
  */
396
396
  CreateDSPAAssessmentRiskTemplate(req: CreateDSPAAssessmentRiskTemplateRequest, cb?: (error: string, rep: CreateDSPAAssessmentRiskTemplateResponse) => void): Promise<CreateDSPAAssessmentRiskTemplateResponse>;
397
397
  /**
@@ -40,7 +40,7 @@ class Client extends abstract_client_1.AbstractClient {
40
40
  return this.request("DescribeDSPAAssessmentRiskDealedOverview", req, cb);
41
41
  }
42
42
  /**
43
- * 复制合规组模版
43
+ * 复制合规组模板
44
44
  */
45
45
  async CopyDSPATemplate(req, cb) {
46
46
  return this.request("CopyDSPATemplate", req, cb);
@@ -52,7 +52,7 @@ class Client extends abstract_client_1.AbstractClient {
52
52
  return this.request("DescribeDSPAAssessmentRiskLevelDetail", req, cb);
53
53
  }
54
54
  /**
55
- * 风险项页面--查看评估模版详情
55
+ * 风险项页面--查看评估模板详情
56
56
  */
57
57
  async DescribeDSPAAssessmentRiskTemplateDetail(req, cb) {
58
58
  return this.request("DescribeDSPAAssessmentRiskTemplateDetail", req, cb);
@@ -306,7 +306,7 @@ class Client extends abstract_client_1.AbstractClient {
306
306
  return this.request("CreateNewClassification", req, cb);
307
307
  }
308
308
  /**
309
- * 风险模版---修改风险模版
309
+ * 风险模板---修改风险模板
310
310
  */
311
311
  async ModifyDSPAAssessmentRiskTemplate(req, cb) {
312
312
  return this.request("ModifyDSPAAssessmentRiskTemplate", req, cb);
@@ -529,7 +529,7 @@ class Client extends abstract_client_1.AbstractClient {
529
529
  return this.request("DescribeDSPACategoryRules", req, cb);
530
530
  }
531
531
  /**
532
- * 风险模版页面--查询风险模版中的脆弱项配置
532
+ * 风险模板页面--查询风险模板中的脆弱项配置
533
533
  */
534
534
  async DescribeDSPAAssessmentRiskTemplateVulnerableList(req, cb) {
535
535
  return this.request("DescribeDSPAAssessmentRiskTemplateVulnerableList", req, cb);
@@ -589,7 +589,7 @@ class Client extends abstract_client_1.AbstractClient {
589
589
  return this.request("VerifyDSPACOSRule", req, cb);
590
590
  }
591
591
  /**
592
- * 风险评估模版---创建风险评估模版
592
+ * 风险评估模板---创建风险评估模板
593
593
  */
594
594
  async CreateDSPAAssessmentRiskTemplate(req, cb) {
595
595
  return this.request("CreateDSPAAssessmentRiskTemplate", req, cb);
@@ -69,15 +69,15 @@ export interface ModifyDSPAAssessmentRiskTemplateRequest {
69
69
  */
70
70
  DspaId: string;
71
71
  /**
72
- * 模版名称
72
+ * 模板名称
73
73
  */
74
74
  TemplateName: string;
75
75
  /**
76
- * 模版的描述
76
+ * 模板的描述
77
77
  */
78
78
  TemplateDescription: string;
79
79
  /**
80
- * 模版id
80
+ * 模板id
81
81
  */
82
82
  TemplateId: number;
83
83
  /**
@@ -240,7 +240,7 @@ export interface DescribeDSPAAssessmentRiskLevelDetailResponse {
240
240
  */
241
241
  IdentifyComplianceId?: number;
242
242
  /**
243
- * 分类分级模版名称
243
+ * 分类分级模板名称
244
244
  */
245
245
  IdentifyComplianceName?: string;
246
246
  /**
@@ -373,7 +373,7 @@ export interface DescribeDSPAAssessmentLatestRiskDetailInfoRequest {
373
373
  */
374
374
  DspaId: string;
375
375
  /**
376
- * 评估模版id
376
+ * 评估模板id
377
377
  */
378
378
  TemplateId: number;
379
379
  /**
@@ -2123,7 +2123,7 @@ export interface DescribeDSPAAssessmentRiskTemplateDetailRequest {
2123
2123
  */
2124
2124
  DspaId: string;
2125
2125
  /**
2126
- * 模版id
2126
+ * 模板id
2127
2127
  */
2128
2128
  TemplateId: number;
2129
2129
  /**
@@ -2334,7 +2334,7 @@ export interface DescribeDSPAAssessmentNewDiscoveredRiskOverviewRequest {
2334
2334
  */
2335
2335
  DspaId: string;
2336
2336
  /**
2337
- * 评估模版id
2337
+ * 评估模板id
2338
2338
  */
2339
2339
  TemplateId: number;
2340
2340
  }
@@ -3667,7 +3667,7 @@ export interface DescribeDSPAAssessmentRiskDistributionOverviewRequest {
3667
3667
  */
3668
3668
  DspaId: string;
3669
3669
  /**
3670
- * 评估模版id
3670
+ * 评估模板id
3671
3671
  */
3672
3672
  TemplateId: number;
3673
3673
  /**
@@ -4228,7 +4228,7 @@ export interface DescribeDSPAComplianceGroupsResponse {
4228
4228
  */
4229
4229
  export interface CopyDSPATemplateResponse {
4230
4230
  /**
4231
- * 模版id
4231
+ * 模板id
4232
4232
  */
4233
4233
  TemplateId?: number;
4234
4234
  /**
@@ -4347,7 +4347,7 @@ export interface DescribeDSPAAssessmentRiskLevelTrendRequest {
4347
4347
  */
4348
4348
  EndTime: string;
4349
4349
  /**
4350
- * 评估模版id
4350
+ * 评估模板id
4351
4351
  */
4352
4352
  TemplateId?: string;
4353
4353
  }
@@ -4374,7 +4374,7 @@ export interface DescribeDSPAAssessmentProcessingRiskOverviewRequest {
4374
4374
  */
4375
4375
  DspaId: string;
4376
4376
  /**
4377
- * 评估模版id
4377
+ * 评估模板id
4378
4378
  */
4379
4379
  TemplateId: number;
4380
4380
  }
@@ -4832,11 +4832,11 @@ export interface DescribeDSPAAssessmentTemplatesResponse {
4832
4832
  /**
4833
4833
  * 符合条件的模板数目
4834
4834
  */
4835
- TotalCount: number;
4835
+ TotalCount?: number;
4836
4836
  /**
4837
4837
  * 模板列表。
4838
4838
  */
4839
- Items: Array<AssessmentTemplate>;
4839
+ Items?: Array<AssessmentTemplate>;
4840
4840
  /**
4841
4841
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4842
4842
  */
@@ -5309,7 +5309,7 @@ export interface GetUserQuotaInfoResponse {
5309
5309
  */
5310
5310
  CosRemainQuota?: number;
5311
5311
  /**
5312
- * COS存储量单位,比如TB。
5312
+ * COS存储量单位,例如TB。
5313
5313
  */
5314
5314
  CosQuotaUnit?: string;
5315
5315
  /**
@@ -5517,7 +5517,7 @@ export interface DescribeDSPAAssessmentRiskSideListRequest {
5517
5517
  */
5518
5518
  DspaId: string;
5519
5519
  /**
5520
- * 评估模版id
5520
+ * 评估模板id
5521
5521
  */
5522
5522
  TemplateId: number;
5523
5523
  }
@@ -5838,7 +5838,7 @@ export interface DescribeDSPAAssessmentLatestRiskListRequest {
5838
5838
  */
5839
5839
  DspaId: string;
5840
5840
  /**
5841
- * 评估模版id
5841
+ * 评估模板id
5842
5842
  */
5843
5843
  TemplateId: number;
5844
5844
  /**
@@ -6090,12 +6090,12 @@ export interface DescribeDSPAAssessmentLatestRiskDetailInfoResponse {
6090
6090
  */
6091
6091
  AssetName?: string;
6092
6092
  /**
6093
- * 风险评估模版id
6093
+ * 风险评估模板id
6094
6094
  注意:此字段可能返回 null,表示取不到有效值。
6095
6095
  */
6096
6096
  AssessmentTemplateId?: number;
6097
6097
  /**
6098
- * 分类分级的模版id
6098
+ * 分类分级的模板id
6099
6099
  注意:此字段可能返回 null,表示取不到有效值。
6100
6100
  */
6101
6101
  IdentifyTemplateId?: number;
@@ -6495,7 +6495,7 @@ export interface DescribeDSPAAssessmentHighRiskTop10OverviewRequest {
6495
6495
  */
6496
6496
  DspaId: string;
6497
6497
  /**
6498
- * 评估模版id
6498
+ * 评估模板id
6499
6499
  */
6500
6500
  TemplateId: number;
6501
6501
  /**
@@ -6511,11 +6511,11 @@ export interface DescribeDSPAAssessmentTemplateControlItemsResponse {
6511
6511
  /**
6512
6512
  * 符合条件的评估项数目
6513
6513
  */
6514
- TotalCount: number;
6514
+ TotalCount?: number;
6515
6515
  /**
6516
- * 模版关联的评估项列表
6516
+ * 模板关联的评估项列表
6517
6517
  */
6518
- Items: Array<AssessmentControlItem>;
6518
+ Items?: Array<AssessmentControlItem>;
6519
6519
  /**
6520
6520
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6521
6521
  */
@@ -6585,7 +6585,7 @@ export interface DescribeDSPAAssessmentPendingRiskOverviewRequest {
6585
6585
  */
6586
6586
  DspaId: string;
6587
6587
  /**
6588
- * 评估模版id
6588
+ * 评估模板id
6589
6589
  */
6590
6590
  TemplateId: number;
6591
6591
  }
@@ -6633,7 +6633,7 @@ export interface DescribeDSPAAssessmentRiskDealedTrendRequest {
6633
6633
  */
6634
6634
  EndTime: string;
6635
6635
  /**
6636
- * 评估模版id
6636
+ * 评估模板id
6637
6637
  */
6638
6638
  TemplateId?: string;
6639
6639
  }
@@ -7062,7 +7062,7 @@ export interface DescribeDSPAAssessmentTemplateControlItemsRequest {
7062
7062
  */
7063
7063
  DspaId: string;
7064
7064
  /**
7065
- * 评估模版Id。格式“template-xxxxxxxx”
7065
+ * 评估模板Id。格式“template-xxxxxxxx”
7066
7066
  */
7067
7067
  TemplateId: string;
7068
7068
  /**
@@ -7419,7 +7419,7 @@ export interface DescribeDSPAAssessmentRiskSideDistributedRequest {
7419
7419
  */
7420
7420
  DspaId: string;
7421
7421
  /**
7422
- * 评估模版id
7422
+ * 评估模板id
7423
7423
  */
7424
7424
  TemplateId: number;
7425
7425
  }
@@ -7453,7 +7453,7 @@ export interface DescribeDSPAAssessmentRiskAmountOverviewRequest {
7453
7453
  */
7454
7454
  DspaId: string;
7455
7455
  /**
7456
- * 评估模版id
7456
+ * 评估模板id
7457
7457
  */
7458
7458
  TemplateId: number;
7459
7459
  }
@@ -7544,15 +7544,15 @@ export interface DescribeDSPACOSDataAssetDetailRequest {
7544
7544
  */
7545
7545
  export interface DescribeDSPAAssessmentRiskTemplateDetailResponse {
7546
7546
  /**
7547
- * 模版id
7547
+ * 模板id
7548
7548
  */
7549
7549
  TemplateId?: number;
7550
7550
  /**
7551
- * 模版名称
7551
+ * 模板名称
7552
7552
  */
7553
7553
  TemplateName?: string;
7554
7554
  /**
7555
- * 模版的描述
7555
+ * 模板的描述
7556
7556
  注意:此字段可能返回 null,表示取不到有效值。
7557
7557
  */
7558
7558
  TemplateDescription?: string;
@@ -7726,7 +7726,7 @@ export interface CreateDSPAAssessmentTaskRequest {
7726
7726
  */
7727
7727
  Name: string;
7728
7728
  /**
7729
- * 评估模版Id,格式“template-xxxxxxxx”
7729
+ * 评估模板Id,格式“template-xxxxxxxx”
7730
7730
  */
7731
7731
  TemplateId: string;
7732
7732
  /**
@@ -7745,7 +7745,7 @@ export interface CreateDSPAAssessmentTaskRequest {
7745
7745
  */
7746
7746
  BusinessOwner?: string;
7747
7747
  /**
7748
- * 分类分级模版Id
7748
+ * 分类分级模板Id
7749
7749
  */
7750
7750
  ComplianceId?: number;
7751
7751
  /**
@@ -8151,7 +8151,7 @@ export interface CreateDSPAAssessmentRiskLevelRequest {
8151
8151
  */
8152
8152
  RiskLevelName: string;
8153
8153
  /**
8154
- * 识别模版
8154
+ * 识别模板
8155
8155
  */
8156
8156
  IdentifyComplianceId: number;
8157
8157
  /**
@@ -4076,7 +4076,7 @@ export interface RunInstancesRequest {
4076
4076
  */
4077
4077
  ClientToken?: string;
4078
4078
  /**
4079
- * 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认公共镜像开启云监控、云安全服务
4079
+ * 增强服务。通过该参数可以指定是否开启云安全、腾讯云可观测平台等服务。若不指定该参数,则默认公共镜像开启腾讯云可观测平台、云安全服务
4080
4080
  */
4081
4081
  EnhancedService?: EnhancedService;
4082
4082
  /**
@@ -1633,8 +1633,6 @@ export interface CreateFlowRequest {
1633
1633
  Agent?: Agent;
1634
1634
  /**
1635
1635
  * 合同流程的抄送人列表,最多可支持50个抄送人,抄送人可查看合同内容及签署进度,但无需参与合同签署。
1636
-
1637
- 注:`此功能为白名单功能,使用前请联系对接的客户经理沟通。`
1638
1636
  */
1639
1637
  CcInfos?: Array<CcInfo>;
1640
1638
  /**