tencentcloud-sdk-nodejs 4.0.584 → 4.0.586

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 (96) hide show
  1. package/CHANGELOG.md +481 -0
  2. package/SERVICE_CHANGELOG.md +669 -7
  3. package/package.json +1 -1
  4. package/products.md +35 -35
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +59 -18
  7. package/src/services/apm/v20210622/apm_models.ts +12 -0
  8. package/src/services/cat/v20180409/cat_models.ts +1 -1
  9. package/src/services/cfs/v20190719/cfs_models.ts +8 -8
  10. package/src/services/dbbrain/v20210527/dbbrain_client.ts +48 -10
  11. package/src/services/dbbrain/v20210527/dbbrain_models.ts +301 -73
  12. package/src/services/ess/v20201111/ess_models.ts +11 -1
  13. package/src/services/essbasic/v20210526/essbasic_models.ts +12 -2
  14. package/src/services/facefusion/v20220927/facefusion_models.ts +2 -2
  15. package/src/services/gme/v20180711/gme_client.ts +4 -2
  16. package/src/services/gme/v20180711/gme_models.ts +70 -34
  17. package/src/services/goosefs/v20220519/goosefs_models.ts +10 -0
  18. package/src/services/lcic/v20220817/lcic_client.ts +23 -9
  19. package/src/services/lcic/v20220817/lcic_models.ts +63 -2
  20. package/src/services/lighthouse/v20200324/lighthouse_models.ts +12 -2
  21. package/src/services/ocr/v20181119/ocr_client.ts +33 -9
  22. package/src/services/ocr/v20181119/ocr_models.ts +143 -19
  23. package/src/services/scf/v20180416/scf_models.ts +7 -1
  24. package/src/services/sqlserver/v20180328/sqlserver_client.ts +2 -2
  25. package/src/services/sqlserver/v20180328/sqlserver_models.ts +29 -7
  26. package/src/services/ssl/v20191205/ssl_client.ts +16 -4
  27. package/src/services/ssl/v20191205/ssl_models.ts +152 -112
  28. package/src/services/tdmq/v20200217/tdmq_client.ts +30 -2
  29. package/src/services/tdmq/v20200217/tdmq_models.ts +299 -16
  30. package/src/services/tem/v20210701/tem_models.ts +6 -1
  31. package/src/services/teo/v20220901/teo_models.ts +3 -3
  32. package/src/services/tione/v20211111/tione_models.ts +1 -1
  33. package/src/services/tke/v20180525/tke_client.ts +62 -25
  34. package/src/services/tke/v20180525/tke_models.ts +362 -204
  35. package/src/services/trtc/v20190722/trtc_client.ts +3 -3
  36. package/src/services/trtc/v20190722/trtc_models.ts +4 -4
  37. package/src/services/tts/v20190823/tts_models.ts +40 -0
  38. package/src/services/vod/v20180717/vod_client.ts +2 -1
  39. package/src/services/vod/v20180717/vod_models.ts +81 -43
  40. package/src/services/vpc/v20170312/vpc_models.ts +13 -1
  41. package/src/services/waf/v20180125/waf_client.ts +44 -8
  42. package/src/services/waf/v20180125/waf_models.ts +158 -17
  43. package/tencentcloud/common/sdk_version.d.ts +1 -1
  44. package/tencentcloud/common/sdk_version.js +1 -1
  45. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +50 -16
  46. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +10 -0
  47. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1 -1
  48. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +8 -8
  49. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +15 -3
  50. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +21 -3
  51. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +254 -62
  52. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +11 -1
  53. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +12 -2
  54. package/tencentcloud/services/facefusion/v20220927/facefusion_models.d.ts +2 -2
  55. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +1 -1
  56. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +57 -26
  57. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +8 -0
  58. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +11 -5
  59. package/tencentcloud/services/lcic/v20220817/lcic_client.js +13 -5
  60. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +53 -2
  61. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +11 -2
  62. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +12 -4
  63. package/tencentcloud/services/ocr/v20181119/ocr_client.js +16 -4
  64. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +123 -17
  65. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +6 -1
  66. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +2 -2
  67. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +2 -2
  68. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +25 -7
  69. package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +5 -1
  70. package/tencentcloud/services/ssl/v20191205/ssl_client.js +6 -0
  71. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +130 -96
  72. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +9 -1
  73. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +12 -0
  74. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +251 -14
  75. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +5 -1
  76. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +3 -3
  77. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1 -1
  78. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +20 -8
  79. package/tencentcloud/services/tke/v20180525/tke_client.js +28 -10
  80. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +306 -170
  81. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +3 -3
  82. package/tencentcloud/services/trtc/v20190722/trtc_client.js +3 -3
  83. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -4
  84. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +38 -0
  85. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +69 -37
  86. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +11 -1
  87. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +15 -3
  88. package/tencentcloud/services/waf/v20180125/waf_client.js +21 -3
  89. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +134 -15
  90. package/test/dbbrain.v20210527.test.js +32 -2
  91. package/test/lcic.v20220817.test.js +12 -2
  92. package/test/ocr.v20181119.test.js +22 -2
  93. package/test/ssl.v20191205.test.js +10 -0
  94. package/test/tdmq.v20200217.test.js +20 -0
  95. package/test/tke.v20180525.test.js +36 -6
  96. package/test/waf.v20180125.test.js +32 -2
@@ -206,6 +206,36 @@ export interface TextToVoiceRequest {
206
206
  <li>101054-智友,通用男声</li>
207
207
  <li>101055-智付,通用女声</li>
208
208
  <li>101056-智林,东北男声</li>
209
+ <li>301000-爱小广,多情感通用男声</li>
210
+ <li>301001-爱小栋,多情感通用男声</li>
211
+ <li>301002-爱小海,多情感通用男声</li>
212
+ <li>301003-爱小霞,多情感通用女声</li>
213
+ <li>301004-爱小玲,多情感通用女声</li>
214
+ <li>301005-爱小章,多情感通用男声</li>
215
+ <li>301006-爱小峰,多情感通用男声</li>
216
+ <li>301007-爱小亮,多情感通用男声</li>
217
+ <li>301008-爱小博,多情感通用男声</li>
218
+ <li>301009-爱小芸,多情感通用女声</li>
219
+ <li>301010-爱小秋,多情感通用女声</li>
220
+ <li>301011-爱小芳,多情感通用女声</li>
221
+ <li>301012-爱小琴,多情感通用女声</li>
222
+ <li>301013-爱小康,多情感通用男声</li>
223
+ <li>301014-爱小辉,多情感通用男声</li>
224
+ <li>301015-爱小璐,多情感通用女声</li>
225
+ <li>301016-爱小阳,多情感通用男声</li>
226
+ <li>301017-爱小泉,多情感通用男声</li>
227
+ <li>301018-爱小昆,多情感通用男声</li>
228
+ <li>301019-爱小诚,多情感通用男声</li>
229
+ <li>301020-爱小岚,多情感通用女声</li>
230
+ <li>301021-爱小茹,多情感通用女声</li>
231
+ <li>301022-爱小蓉,多情感通用女声</li>
232
+ <li>301023-爱小燕,多情感通用女声</li>
233
+ <li>301024-爱小莲,多情感通用女声</li>
234
+ <li>301025-爱小武,多情感通用男声</li>
235
+ <li>301026-爱小雪,多情感通用女声</li>
236
+ <li>301027-爱小媛,多情感通用女声</li>
237
+ <li>301028-爱小娴,多情感通用女声</li>
238
+ <li>301029-爱小涛,多情感通用男声</li>
209
239
  */
210
240
  VoiceType?: number;
211
241
  /**
@@ -228,4 +258,12 @@ export interface TextToVoiceRequest {
228
258
  * 断句敏感阈值,默认值为:0,取值范围:[0,1,2]。该值越大越不容易断句,模型会更倾向于仅按照标点符号断句。此参数建议不要随意调整,可能会影响合成效果。
229
259
  */
230
260
  SegmentRate?: number;
261
+ /**
262
+ * 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)
263
+ */
264
+ EmotionCategory?: string;
265
+ /**
266
+ * 控制合成音频情感程度,取值范围为[50,200],默认为100,不填写为默认值;只有EmotionCategory不为空时生效;
267
+ */
268
+ EmotionIntensity?: number;
231
269
  }
@@ -1592,31 +1592,31 @@ export interface DescribeStorageDataResponse {
1592
1592
  /**
1593
1593
  * 当前媒体总量。
1594
1594
  */
1595
- MediaCount: number;
1595
+ MediaCount?: number;
1596
1596
  /**
1597
1597
  * 当前总存储量,单位是字节。
1598
1598
  */
1599
- TotalStorage: number;
1599
+ TotalStorage?: number;
1600
1600
  /**
1601
1601
  * 当前标准存储量,单位是字节。
1602
1602
  */
1603
- StandardStorage: number;
1603
+ StandardStorage?: number;
1604
1604
  /**
1605
1605
  * 当前低频存储量,单位是字节。
1606
1606
  */
1607
- InfrequentStorage: number;
1607
+ InfrequentStorage?: number;
1608
1608
  /**
1609
1609
  * 当前归档存储量,单位是字节。
1610
1610
  */
1611
- ArchiveStorage: number;
1611
+ ArchiveStorage?: number;
1612
1612
  /**
1613
1613
  * 当前深度归档存储量,单位是字节。
1614
1614
  */
1615
- DeepArchiveStorage: number;
1615
+ DeepArchiveStorage?: number;
1616
1616
  /**
1617
1617
  * 各计费区域的存储用量。
1618
1618
  */
1619
- StorageStat: Array<StorageStatData>;
1619
+ StorageStat?: Array<StorageStatData>;
1620
1620
  /**
1621
1621
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1622
1622
  */
@@ -6594,9 +6594,21 @@ export interface ReviewAudioVideoTaskOutput {
6594
6594
  */
6595
6595
  export interface RemoveWaterMarkTaskOutput {
6596
6596
  /**
6597
- * 视频 ID。
6597
+ * 媒体文件 ID。
6598
6598
  */
6599
6599
  FileId: string;
6600
+ /**
6601
+ * 文件类型,例如 mp4、mp3 等。
6602
+ */
6603
+ FileType?: string;
6604
+ /**
6605
+ * 媒体文件播放地址。
6606
+ */
6607
+ FileUrl?: string;
6608
+ /**
6609
+ * 文件名称,最长 64 个字符。
6610
+ */
6611
+ MediaName?: string;
6600
6612
  /**
6601
6613
  * 元信息。包括大小、时长、视频流信息、音频流信息等。
6602
6614
  */
@@ -7280,6 +7292,11 @@ export interface DomainDetailInfo {
7280
7292
  <li>格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。</li>
7281
7293
  */
7282
7294
  CreateTime: string;
7295
+ /**
7296
+ * 域名 QUIC 配置信息。
7297
+ 注意:此字段可能返回 null,表示取不到有效值。
7298
+ */
7299
+ QUICConfig?: DomainQUICConfig;
7283
7300
  }
7284
7301
  /**
7285
7302
  * 视频流配置信息
@@ -8681,6 +8698,10 @@ export interface ModifyVodDomainConfigRequest {
8681
8698
  * [Key 防盗链](/document/product/266/14047)规则。
8682
8699
  */
8683
8700
  UrlSignatureAuthPolicy?: UrlSignatureAuthPolicy;
8701
+ /**
8702
+ * QUIC 配置。
8703
+ */
8704
+ QUICConfig?: DomainQUICConfig;
8684
8705
  }
8685
8706
  /**
8686
8707
  * AI 样本管理,标签操作。
@@ -13959,38 +13980,15 @@ export interface DescribeSnapshotByTimeOffsetTemplatesResponse {
13959
13980
  RequestId?: string;
13960
13981
  }
13961
13982
  /**
13962
- * 点播文件视频流信息
13983
+ * 域名 QUIC 配置信息
13963
13984
  */
13964
- export interface MediaVideoStreamItem {
13965
- /**
13966
- * 视频流的码率,单位:bps。
13967
- */
13968
- Bitrate?: number;
13969
- /**
13970
- * 视频流的高度,单位:px。
13971
- */
13972
- Height?: number;
13973
- /**
13974
- * 视频流的宽度,单位:px。
13975
- */
13976
- Width?: number;
13977
- /**
13978
- * 视频流的编码格式,例如 h264。
13979
- */
13980
- Codec?: string;
13981
- /**
13982
- * 帧率,单位:hz。
13983
- */
13984
- Fps?: number;
13985
+ export interface DomainQUICConfig {
13985
13986
  /**
13986
- * 编码标签,仅当 Codec 为 hevc 时有效。
13987
- */
13988
- CodecTag?: string;
13989
- /**
13990
- * 画面动态范围信息。
13991
- <li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
13987
+ * QUIC 配置状态,可选值:
13988
+ <li>Enabled: 启用;</li>
13989
+ <li>Disabled: 禁用。</li>
13992
13990
  */
13993
- DynamicRangeInfo: DynamicRangeInfo;
13991
+ Status: string;
13994
13992
  }
13995
13993
  /**
13996
13994
  * SetDrmKeyProviderInfo请求参数结构体
@@ -14893,6 +14891,40 @@ export interface UserDefineAsrTextReviewTemplateInfoForUpdate {
14893
14891
  */
14894
14892
  ReviewConfidence?: number;
14895
14893
  }
14894
+ /**
14895
+ * 点播文件视频流信息
14896
+ */
14897
+ export interface MediaVideoStreamItem {
14898
+ /**
14899
+ * 视频流的码率,单位:bps。
14900
+ */
14901
+ Bitrate?: number;
14902
+ /**
14903
+ * 视频流的高度,单位:px。
14904
+ */
14905
+ Height?: number;
14906
+ /**
14907
+ * 视频流的宽度,单位:px。
14908
+ */
14909
+ Width?: number;
14910
+ /**
14911
+ * 视频流的编码格式,例如 h264。
14912
+ */
14913
+ Codec?: string;
14914
+ /**
14915
+ * 帧率,单位:hz。
14916
+ */
14917
+ Fps?: number;
14918
+ /**
14919
+ * 编码标签,仅当 Codec 为 hevc 时有效。
14920
+ */
14921
+ CodecTag?: string;
14922
+ /**
14923
+ * 画面动态范围信息。
14924
+ <li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
14925
+ */
14926
+ DynamicRangeInfo: DynamicRangeInfo;
14927
+ }
14896
14928
  /**
14897
14929
  * CreateRebuildMediaTemplate请求参数结构体
14898
14930
  */
@@ -9981,6 +9981,16 @@ export interface Address {
9981
9981
  注意:此字段可能返回 null,表示取不到有效值。
9982
9982
  */
9983
9983
  TagSet: Array<Tag>;
9984
+ /**
9985
+ * 到期时间。
9986
+ 注意:此字段可能返回 null,表示取不到有效值。
9987
+ */
9988
+ DeadlineDate: string;
9989
+ /**
9990
+ * EIP绑定的实例类型。
9991
+ 注意:此字段可能返回 null,表示取不到有效值。
9992
+ */
9993
+ InstanceType: string;
9984
9994
  }
9985
9995
  /**
9986
9996
  * VPN网关对象。
@@ -12133,7 +12143,7 @@ export interface DisassociateAddressResponse {
12133
12143
  /**
12134
12144
  * 异步任务TaskId。可以使用[DescribeTaskResult](https://cloud.tencent.com/document/api/215/36271)接口查询任务状态。
12135
12145
  */
12136
- TaskId: string;
12146
+ TaskId?: string;
12137
12147
  /**
12138
12148
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12139
12149
  */
@@ -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, DescribePeakValueResponse, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribePeakPointsRequest, 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, ModifyCustomRuleStatusRequest, DescribePeakPointsResponse, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, DescribePeakValueRequest, ModifyWafAutoDenyRulesResponse, SearchAttackLogResponse, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, DescribeWafAutoDenyRulesResponse, 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, AddCustomWhiteRuleResponse, DescribeCustomWhiteRuleResponse, DescribePeakValueResponse, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribePeakPointsRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, SearchAttackLogRequest, DeleteCustomWhiteRuleResponse, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, DeleteAccessExportResponse, DescribeAccessExportsRequest, DescribeCustomWhiteRuleRequest, DescribeUserClbWafRegionsResponse, ModifyCustomWhiteRuleRequest, DeleteCustomWhiteRuleRequest, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeVipInfoRequest, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, CreateHostResponse, SwitchDomainRulesRequest, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, CreateHostRequest, ModifyAreaBanStatusRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, ModifyCustomWhiteRuleResponse, DescribePolicyStatusRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, DescribeAttackOverviewResponse, ModifyWafAutoDenyStatusResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeDomainWhiteRulesRequest, ModifyCustomRuleStatusRequest, DescribePeakPointsResponse, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, DescribeAttackOverviewRequest, DescribePeakValueRequest, ModifyWafAutoDenyRulesResponse, SearchAttackLogResponse, DescribePolicyStatusResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, DescribeWafAutoDenyRulesResponse, ModifyAreaBanStatusResponse, ModifyDomainWhiteRuleResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, DescribeVipInfoResponse, DescribeRuleLimitRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DescribeWafThreatenIntelligenceResponse, DeleteAttackDownloadRecordRequest, AddCustomWhiteRuleRequest, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, DescribeRuleLimitResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
4
4
  /**
5
5
  * waf client
6
6
  * @class
@@ -97,6 +97,14 @@ export declare class Client extends AbstractClient {
97
97
  * 描述WAF自动封禁模块详情
98
98
  */
99
99
  DescribeWafAutoDenyStatus(req?: DescribeWafAutoDenyStatusRequest, cb?: (error: string, rep: DescribeWafAutoDenyStatusResponse) => void): Promise<DescribeWafAutoDenyStatusResponse>;
100
+ /**
101
+ * 删除精准白名单规则
102
+ */
103
+ DeleteCustomWhiteRule(req: DeleteCustomWhiteRuleRequest, cb?: (error: string, rep: DeleteCustomWhiteRuleResponse) => void): Promise<DeleteCustomWhiteRuleResponse>;
104
+ /**
105
+ * 编辑精准白名单
106
+ */
107
+ ModifyCustomWhiteRule(req: ModifyCustomWhiteRuleRequest, cb?: (error: string, rep: ModifyCustomWhiteRuleResponse) => void): Promise<ModifyCustomWhiteRuleResponse>;
100
108
  /**
101
109
  * 查询下载攻击日志任务记录列表
102
110
  */
@@ -126,9 +134,9 @@ export declare class Client extends AbstractClient {
126
134
  */
127
135
  ModifyWafThreatenIntelligence(req: ModifyWafThreatenIntelligenceRequest, cb?: (error: string, rep: ModifyWafThreatenIntelligenceResponse) => void): Promise<ModifyWafThreatenIntelligenceResponse>;
128
136
  /**
129
- * 获取各个模块具体的规格限制
137
+ * 增加精准白名单规则
130
138
  */
131
- DescribeRuleLimit(req: DescribeRuleLimitRequest, cb?: (error: string, rep: DescribeRuleLimitResponse) => void): Promise<DescribeRuleLimitResponse>;
139
+ AddCustomWhiteRule(req: AddCustomWhiteRuleRequest, cb?: (error: string, rep: AddCustomWhiteRuleResponse) => void): Promise<AddCustomWhiteRuleResponse>;
132
140
  /**
133
141
  * 修改ip惩罚规则
134
142
  */
@@ -165,6 +173,10 @@ export declare class Client extends AbstractClient {
165
173
  * 获取域名的规则白名单
166
174
  */
167
175
  DescribeDomainWhiteRules(req: DescribeDomainWhiteRulesRequest, cb?: (error: string, rep: DescribeDomainWhiteRulesResponse) => void): Promise<DescribeDomainWhiteRulesResponse>;
176
+ /**
177
+ * 获取各个模块具体的规格限制
178
+ */
179
+ DescribeRuleLimit(req: DescribeRuleLimitRequest, cb?: (error: string, rep: DescribeRuleLimitResponse) => void): Promise<DescribeRuleLimitResponse>;
168
180
  /**
169
181
  * 添加Spart防护域名
170
182
  */
@@ -161,6 +161,18 @@ class Client extends abstract_client_1.AbstractClient {
161
161
  async DescribeWafAutoDenyStatus(req, cb) {
162
162
  return this.request("DescribeWafAutoDenyStatus", req, cb);
163
163
  }
164
+ /**
165
+ * 删除精准白名单规则
166
+ */
167
+ async DeleteCustomWhiteRule(req, cb) {
168
+ return this.request("DeleteCustomWhiteRule", req, cb);
169
+ }
170
+ /**
171
+ * 编辑精准白名单
172
+ */
173
+ async ModifyCustomWhiteRule(req, cb) {
174
+ return this.request("ModifyCustomWhiteRule", req, cb);
175
+ }
164
176
  /**
165
177
  * 查询下载攻击日志任务记录列表
166
178
  */
@@ -204,10 +216,10 @@ class Client extends abstract_client_1.AbstractClient {
204
216
  return this.request("ModifyWafThreatenIntelligence", req, cb);
205
217
  }
206
218
  /**
207
- * 获取各个模块具体的规格限制
219
+ * 增加精准白名单规则
208
220
  */
209
- async DescribeRuleLimit(req, cb) {
210
- return this.request("DescribeRuleLimit", req, cb);
221
+ async AddCustomWhiteRule(req, cb) {
222
+ return this.request("AddCustomWhiteRule", req, cb);
211
223
  }
212
224
  /**
213
225
  * 修改ip惩罚规则
@@ -263,6 +275,12 @@ class Client extends abstract_client_1.AbstractClient {
263
275
  async DescribeDomainWhiteRules(req, cb) {
264
276
  return this.request("DescribeDomainWhiteRules", req, cb);
265
277
  }
278
+ /**
279
+ * 获取各个模块具体的规格限制
280
+ */
281
+ async DescribeRuleLimit(req, cb) {
282
+ return this.request("DescribeRuleLimit", req, cb);
283
+ }
266
284
  /**
267
285
  * 添加Spart防护域名
268
286
  */
@@ -208,6 +208,24 @@ export interface DescribeFlowTrendRequest {
208
208
  * DescribeWafAutoDenyStatus请求参数结构体
209
209
  */
210
210
  export declare type DescribeWafAutoDenyStatusRequest = null;
211
+ /**
212
+ * AddCustomWhiteRule返回参数结构体
213
+ */
214
+ export interface AddCustomWhiteRuleResponse {
215
+ /**
216
+ * 操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败
217
+ */
218
+ Success: ResponseCode;
219
+ /**
220
+ * 添加成功的规则ID
221
+ 注意:此字段可能返回 null,表示取不到有效值。
222
+ */
223
+ RuleId: number;
224
+ /**
225
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
226
+ */
227
+ RequestId?: string;
228
+ }
211
229
  /**
212
230
  * DescribeCustomWhiteRule返回参数结构体
213
231
  */
@@ -397,6 +415,21 @@ export interface ModifyDomainWhiteRuleRequest {
397
415
  */
398
416
  Status: number;
399
417
  }
418
+ /**
419
+ * Vip信息
420
+ */
421
+ export interface VipInfo {
422
+ /**
423
+ * Virtual IP
424
+ 注意:此字段可能返回 null,表示取不到有效值。
425
+ */
426
+ Vip?: string;
427
+ /**
428
+ * waf实例id
429
+ 注意:此字段可能返回 null,表示取不到有效值。
430
+ */
431
+ InstanceId?: string;
432
+ }
400
433
  /**
401
434
  * DescribeAccessIndex接口的出参
402
435
  */
@@ -634,6 +667,19 @@ export interface SearchAttackLogRequest {
634
667
  */
635
668
  Sort?: string;
636
669
  }
670
+ /**
671
+ * DeleteCustomWhiteRule返回参数结构体
672
+ */
673
+ export interface DeleteCustomWhiteRuleResponse {
674
+ /**
675
+ * 操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败
676
+ */
677
+ Success: ResponseCode;
678
+ /**
679
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
680
+ */
681
+ RequestId?: string;
682
+ }
637
683
  /**
638
684
  * AddCustomRule返回参数结构体
639
685
  */
@@ -686,7 +732,7 @@ export interface UpsertIpAccessControlRequest {
686
732
  */
687
733
  Edition?: string;
688
734
  /**
689
- * 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,佛祖饿为空
735
+ * 是否为多域名黑白名单,当为多域名的黑白名单时,取值为batch,否则为空
690
736
  */
691
737
  SourceType?: string;
692
738
  }
@@ -782,6 +828,52 @@ export interface DescribeUserClbWafRegionsResponse {
782
828
  */
783
829
  RequestId?: string;
784
830
  }
831
+ /**
832
+ * ModifyCustomWhiteRule请求参数结构体
833
+ */
834
+ export interface ModifyCustomWhiteRuleRequest {
835
+ /**
836
+ * 编辑的域名
837
+ */
838
+ Domain: string;
839
+ /**
840
+ * 编辑的规则ID
841
+ */
842
+ RuleId: number;
843
+ /**
844
+ * 编辑的规则名称
845
+ */
846
+ RuleName: string;
847
+ /**
848
+ * 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果多个勾选那么以,串接。
849
+ */
850
+ Bypass: string;
851
+ /**
852
+ * 优先级,1~100的整数,数字越小,代表这条规则的执行优先级越高。
853
+ */
854
+ SortId: number;
855
+ /**
856
+ * 规则生效截止时间,0:永久生效,其它值为对应时间的时间戳。
857
+ */
858
+ ExpireTime: number;
859
+ /**
860
+ * 匹配条件数组
861
+ */
862
+ Strategies: Array<Strategy>;
863
+ }
864
+ /**
865
+ * DeleteCustomWhiteRule请求参数结构体
866
+ */
867
+ export interface DeleteCustomWhiteRuleRequest {
868
+ /**
869
+ * 删除的域名
870
+ */
871
+ Domain: string;
872
+ /**
873
+ * 删除的规则ID
874
+ */
875
+ RuleId: number;
876
+ }
785
877
  /**
786
878
  * ModifyWafAutoDenyStatus请求参数结构体
787
879
  */
@@ -1530,6 +1622,19 @@ export interface PostAttackDownloadTaskRequest {
1530
1622
  */
1531
1623
  Sort?: string;
1532
1624
  }
1625
+ /**
1626
+ * ModifyCustomWhiteRule返回参数结构体
1627
+ */
1628
+ export interface ModifyCustomWhiteRuleResponse {
1629
+ /**
1630
+ * 操作的状态码,如果所有的资源操作成功则返回的是成功的状态码,如果有资源操作失败则需要解析Message的内容来查看哪个资源失败
1631
+ */
1632
+ Success: ResponseCode;
1633
+ /**
1634
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1635
+ */
1636
+ RequestId?: string;
1637
+ }
1533
1638
  /**
1534
1639
  * DescribePolicyStatus请求参数结构体
1535
1640
  */
@@ -2876,19 +2981,17 @@ export interface DescribeDomainWhiteRulesResponse {
2876
2981
  RequestId?: string;
2877
2982
  }
2878
2983
  /**
2879
- * Vip信息
2984
+ * DescribeWafThreatenIntelligence返回参数结构体
2880
2985
  */
2881
- export interface VipInfo {
2986
+ export interface DescribeWafThreatenIntelligenceResponse {
2882
2987
  /**
2883
- * Virtual IP
2884
- 注意:此字段可能返回 null,表示取不到有效值。
2988
+ * WAF 威胁情报封禁信息
2885
2989
  */
2886
- Vip?: string;
2990
+ WafThreatenIntelligenceDetails?: WafThreatenIntelligenceDetails;
2887
2991
  /**
2888
- * waf实例id
2889
- 注意:此字段可能返回 null,表示取不到有效值。
2992
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2890
2993
  */
2891
- InstanceId?: string;
2994
+ RequestId?: string;
2892
2995
  }
2893
2996
  /**
2894
2997
  * DeleteAttackDownloadRecord请求参数结构体
@@ -2900,17 +3003,33 @@ export interface DeleteAttackDownloadRecordRequest {
2900
3003
  Id: number;
2901
3004
  }
2902
3005
  /**
2903
- * DescribeWafThreatenIntelligence返回参数结构体
3006
+ * AddCustomWhiteRule请求参数结构体
2904
3007
  */
2905
- export interface DescribeWafThreatenIntelligenceResponse {
3008
+ export interface AddCustomWhiteRuleRequest {
2906
3009
  /**
2907
- * WAF 威胁情报封禁信息
3010
+ * 规则名称
2908
3011
  */
2909
- WafThreatenIntelligenceDetails?: WafThreatenIntelligenceDetails;
3012
+ Name: string;
2910
3013
  /**
2911
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3014
+ * 优先级
2912
3015
  */
2913
- RequestId?: string;
3016
+ SortId: string;
3017
+ /**
3018
+ * 过期时间
3019
+ */
3020
+ ExpireTime: string;
3021
+ /**
3022
+ * 策略详情
3023
+ */
3024
+ Strategies: Array<Strategy>;
3025
+ /**
3026
+ * 需要添加策略的域名
3027
+ */
3028
+ Domain: string;
3029
+ /**
3030
+ * 放行的详情
3031
+ */
3032
+ Bypass: string;
2914
3033
  }
2915
3034
  /**
2916
3035
  * AddDomainWhiteRule请求参数结构体
@@ -108,6 +108,26 @@ it("dbbrain.v20210527.DescribeDBDiagReportTasks", async function () {
108
108
  }
109
109
  })
110
110
 
111
+ it("dbbrain.v20210527.ModifyDiagDBInstanceConf", async function () {
112
+ try {
113
+ const data = await client.ModifyDiagDBInstanceConf({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
121
+ it("dbbrain.v20210527.DeleteAuditLogFile", async function () {
122
+ try {
123
+ const data = await client.DeleteAuditLogFile({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
111
131
  it("dbbrain.v20210527.DescribeAllUserGroup", async function () {
112
132
  try {
113
133
  const data = await client.DescribeAllUserGroup({})
@@ -248,6 +268,16 @@ it("dbbrain.v20210527.ModifySqlFilters", async function () {
248
268
  }
249
269
  })
250
270
 
271
+ it("dbbrain.v20210527.CreateAuditLogFile", async function () {
272
+ try {
273
+ const data = await client.CreateAuditLogFile({})
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
+
251
281
  it("dbbrain.v20210527.DescribeRedisTopBigKeys", async function () {
252
282
  try {
253
283
  const data = await client.DescribeRedisTopBigKeys({})
@@ -428,9 +458,9 @@ it("dbbrain.v20210527.DescribeTopSpaceTableTimeSeries", async function () {
428
458
  }
429
459
  })
430
460
 
431
- it("dbbrain.v20210527.ModifyDiagDBInstanceConf", async function () {
461
+ it("dbbrain.v20210527.DescribeAuditLogFiles", async function () {
432
462
  try {
433
- const data = await client.ModifyDiagDBInstanceConf({})
463
+ const data = await client.DescribeAuditLogFiles({})
434
464
  expect(data).to.be.ok
435
465
  } catch(error) {
436
466
  expect(error.requestId).to.be.ok
@@ -378,6 +378,16 @@ it("lcic.v20220817.CreateGroupWithMembers", async function () {
378
378
  }
379
379
  })
380
380
 
381
+ it("lcic.v20220817.DescribeDeveloper", async function () {
382
+ try {
383
+ const data = await client.DescribeDeveloper({})
384
+ expect(data).to.be.ok
385
+ } catch(error) {
386
+ expect(error.requestId).to.be.ok
387
+ expect(error.code).to.be.ok
388
+ }
389
+ })
390
+
381
391
  it("lcic.v20220817.CreateSupervisor", async function () {
382
392
  try {
383
393
  const data = await client.CreateSupervisor({})
@@ -408,9 +418,9 @@ it("lcic.v20220817.SetAppCustomContent", async function () {
408
418
  }
409
419
  })
410
420
 
411
- it("lcic.v20220817.DescribeDeveloper", async function () {
421
+ it("lcic.v20220817.BatchDescribeDocument", async function () {
412
422
  try {
413
- const data = await client.DescribeDeveloper({})
423
+ const data = await client.BatchDescribeDocument({})
414
424
  expect(data).to.be.ok
415
425
  } catch(error) {
416
426
  expect(error.requestId).to.be.ok