tencentcloud-sdk-nodejs 4.0.704 → 4.0.705
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +193 -0
- package/SERVICE_CHANGELOG.md +232 -162
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ccc/v20200210/ccc_client.ts +13 -1
- package/src/services/ccc/v20200210/ccc_models.ts +82 -25
- package/src/services/cdwpg/v20201230/cdwpg_client.ts +32 -17
- package/src/services/cdwpg/v20201230/cdwpg_models.ts +214 -18
- package/src/services/csip/v20221121/csip_client.ts +46 -7
- package/src/services/csip/v20221121/csip_models.ts +365 -57
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +2 -2
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -2
- package/src/services/live/v20180801/live_models.ts +13 -0
- package/src/services/ocr/v20181119/ocr_models.ts +23 -22
- package/src/services/privatedns/v20201028/privatedns_models.ts +1 -1
- package/src/services/rum/v20210622/rum_models.ts +5 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +3 -3
- package/src/services/tse/v20201207/tse_client.ts +12 -0
- package/src/services/tse/v20201207/tse_models.ts +53 -0
- package/src/services/waf/v20180125/waf_client.ts +68 -18
- package/src/services/waf/v20180125/waf_models.ts +239 -25
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +80 -25
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.d.ts +11 -7
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_client.js +15 -9
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +209 -18
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +13 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +18 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +355 -56
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +13 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +23 -22
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +1 -1
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +3 -3
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +5 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +6 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +51 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +21 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +30 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +229 -25
- package/test/ccc.v20200210.test.js +10 -0
- package/test/cdwpg.v20201230.test.js +18 -8
- package/test/csip.v20221121.test.js +30 -0
- package/test/tse.v20201207.test.js +10 -0
- package/test/waf.v20180125.test.js +44 -4
|
@@ -3078,6 +3078,12 @@ ResetTaskConfig:任务更新回调。
|
|
|
3078
3078
|
1. 单位:秒,配合FileIndex使用。
|
|
3079
3079
|
*/
|
|
3080
3080
|
OffsetTime?: number
|
|
3081
|
+
/**
|
|
3082
|
+
* 指定任务 ID 修改任务。
|
|
3083
|
+
|
|
3084
|
+
注意:该自定义任务 ID 只有在创建任务时指定了,才可在此处修改时使用。否则请使用系统返回的任务 ID。
|
|
3085
|
+
*/
|
|
3086
|
+
SpecifyTaskId?: string
|
|
3081
3087
|
/**
|
|
3082
3088
|
* 目标 Url。
|
|
3083
3089
|
换目标地址,会断流重推到新地址。
|
|
@@ -4884,6 +4890,13 @@ ContinueBreakPoint:播放完当前正在播放的点播 url 后再使用新的
|
|
|
4884
4890
|
示例: ignore_region 用于忽略传入地域, 内部按负载分配。
|
|
4885
4891
|
*/
|
|
4886
4892
|
ExtraCmd?: string
|
|
4893
|
+
/**
|
|
4894
|
+
* 自定义任务 ID。
|
|
4895
|
+
注:
|
|
4896
|
+
1. 该自定义 ID 为可选参数,如果传入,请确保该账号下传入的 ID 唯一。
|
|
4897
|
+
2. 该自定义 ID 用于防止重复发起请求时产生重复任务。后面也可以用 SpecifyTaskId 来修改或删除任务。
|
|
4898
|
+
*/
|
|
4899
|
+
SpecifyTaskId?: string
|
|
4887
4900
|
/**
|
|
4888
4901
|
* 任务描述,限制 512 字节。
|
|
4889
4902
|
*/
|
|
@@ -610,6 +610,7 @@ RideHailingDriverLicense -- 网约车驾驶证
|
|
|
610
610
|
RideHailingTransportLicense -- 网约车运输证
|
|
611
611
|
WayBill -- 快递运单
|
|
612
612
|
AccountOpeningPermit -- 银行开户许可证
|
|
613
|
+
InvoiceEng -- 海外发票模版
|
|
613
614
|
*/
|
|
614
615
|
ConfigId?: string
|
|
615
616
|
}
|
|
@@ -1363,79 +1364,79 @@ export interface VehicleInvoiceInfo {
|
|
|
1363
1364
|
/**
|
|
1364
1365
|
* 车辆类型
|
|
1365
1366
|
*/
|
|
1366
|
-
CarType
|
|
1367
|
+
CarType?: string
|
|
1367
1368
|
/**
|
|
1368
1369
|
* 厂牌型号
|
|
1369
1370
|
*/
|
|
1370
|
-
PlateModel
|
|
1371
|
+
PlateModel?: string
|
|
1371
1372
|
/**
|
|
1372
1373
|
* 产地
|
|
1373
1374
|
*/
|
|
1374
|
-
ProduceAddress
|
|
1375
|
+
ProduceAddress?: string
|
|
1375
1376
|
/**
|
|
1376
1377
|
* 合格证号
|
|
1377
1378
|
*/
|
|
1378
|
-
CertificateNo
|
|
1379
|
+
CertificateNo?: string
|
|
1379
1380
|
/**
|
|
1380
1381
|
* 进口证明书号
|
|
1381
1382
|
*/
|
|
1382
|
-
ImportNo
|
|
1383
|
+
ImportNo?: string
|
|
1383
1384
|
/**
|
|
1384
1385
|
* LSVCA2NP9HN0xxxxx
|
|
1385
1386
|
*/
|
|
1386
|
-
VinNo
|
|
1387
|
+
VinNo?: string
|
|
1387
1388
|
/**
|
|
1388
1389
|
* 完税证书号
|
|
1389
1390
|
*/
|
|
1390
|
-
PayTaxesNo
|
|
1391
|
+
PayTaxesNo?: string
|
|
1391
1392
|
/**
|
|
1392
1393
|
* 吨位
|
|
1393
1394
|
*/
|
|
1394
|
-
Tonnage
|
|
1395
|
+
Tonnage?: string
|
|
1395
1396
|
/**
|
|
1396
1397
|
* 限乘人数
|
|
1397
1398
|
*/
|
|
1398
|
-
LimitCount
|
|
1399
|
+
LimitCount?: string
|
|
1399
1400
|
/**
|
|
1400
1401
|
* 发动机号码
|
|
1401
1402
|
*/
|
|
1402
|
-
EngineNo
|
|
1403
|
+
EngineNo?: string
|
|
1403
1404
|
/**
|
|
1404
1405
|
* 商检单号
|
|
1405
1406
|
*/
|
|
1406
|
-
BizCheckFormNo
|
|
1407
|
+
BizCheckFormNo?: string
|
|
1407
1408
|
/**
|
|
1408
1409
|
* 主管税务机关代码
|
|
1409
1410
|
*/
|
|
1410
|
-
TaxtationOrgCode
|
|
1411
|
+
TaxtationOrgCode?: string
|
|
1411
1412
|
/**
|
|
1412
1413
|
* 主管税务机关名称
|
|
1413
1414
|
*/
|
|
1414
|
-
TaxtationOrgName
|
|
1415
|
+
TaxtationOrgName?: string
|
|
1415
1416
|
/**
|
|
1416
1417
|
* 税率
|
|
1417
1418
|
*/
|
|
1418
|
-
MotorTaxRate
|
|
1419
|
+
MotorTaxRate?: string
|
|
1419
1420
|
/**
|
|
1420
|
-
*
|
|
1421
|
+
* 银行账号
|
|
1421
1422
|
*/
|
|
1422
|
-
MotorBankName
|
|
1423
|
+
MotorBankName?: string
|
|
1423
1424
|
/**
|
|
1424
|
-
*
|
|
1425
|
+
* 开户行
|
|
1425
1426
|
*/
|
|
1426
|
-
MotorBankAccount
|
|
1427
|
+
MotorBankAccount?: string
|
|
1427
1428
|
/**
|
|
1428
1429
|
* 销售地址
|
|
1429
1430
|
*/
|
|
1430
|
-
SellerAddress
|
|
1431
|
+
SellerAddress?: string
|
|
1431
1432
|
/**
|
|
1432
1433
|
* 销售电话
|
|
1433
1434
|
*/
|
|
1434
|
-
SellerTel
|
|
1435
|
+
SellerTel?: string
|
|
1435
1436
|
/**
|
|
1436
1437
|
* 购方身份证
|
|
1437
1438
|
*/
|
|
1438
|
-
BuyerNo
|
|
1439
|
+
BuyerNo?: string
|
|
1439
1440
|
}
|
|
1440
1441
|
|
|
1441
1442
|
/**
|
|
@@ -2912,7 +2913,7 @@ export interface VatInvoiceVerifyNewRequest {
|
|
|
2912
2913
|
*/
|
|
2913
2914
|
RegionCode?: string
|
|
2914
2915
|
/**
|
|
2915
|
-
*
|
|
2916
|
+
* 销方税号,通用机打电子发票必填,区块链发票时必填
|
|
2916
2917
|
*/
|
|
2917
2918
|
SellerTaxCode?: string
|
|
2918
2919
|
/**
|
|
@@ -1606,7 +1606,7 @@ export interface DescribeDataPvUrlStatisticsRequest {
|
|
|
1606
1606
|
*/
|
|
1607
1607
|
Device?: string
|
|
1608
1608
|
/**
|
|
1609
|
-
*
|
|
1609
|
+
* 显示是否海外
|
|
1610
1610
|
*/
|
|
1611
1611
|
IsAbroad?: string
|
|
1612
1612
|
/**
|
|
@@ -1626,6 +1626,10 @@ export interface DescribeDataPvUrlStatisticsRequest {
|
|
|
1626
1626
|
5:1d
|
|
1627
1627
|
*/
|
|
1628
1628
|
GroupByType?: number
|
|
1629
|
+
/**
|
|
1630
|
+
* 无需关注,是否查询zhiyan
|
|
1631
|
+
*/
|
|
1632
|
+
IsNewData?: number
|
|
1629
1633
|
}
|
|
1630
1634
|
|
|
1631
1635
|
/**
|
|
@@ -4440,7 +4440,7 @@ export interface ResetMsgSubOffsetByTimestampResponse {
|
|
|
4440
4440
|
* 结果。
|
|
4441
4441
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4442
4442
|
*/
|
|
4443
|
-
Result
|
|
4443
|
+
Result?: boolean
|
|
4444
4444
|
/**
|
|
4445
4445
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4446
4446
|
*/
|
|
@@ -5243,7 +5243,7 @@ export interface ModifyTopicRequest {
|
|
|
5243
5243
|
*/
|
|
5244
5244
|
TopicName: string
|
|
5245
5245
|
/**
|
|
5246
|
-
* 分区数,必须大于或者等于原分区数,若想维持原分区数请输入原数目,修改分区数仅对非全局顺序消息起效果,不允许超过
|
|
5246
|
+
* 分区数,必须大于或者等于原分区数,若想维持原分区数请输入原数目,修改分区数仅对非全局顺序消息起效果,不允许超过32个分区。
|
|
5247
5247
|
*/
|
|
5248
5248
|
Partitions: number
|
|
5249
5249
|
/**
|
|
@@ -5284,7 +5284,7 @@ export interface ResetMsgSubOffsetByTimestampRequest {
|
|
|
5284
5284
|
/**
|
|
5285
5285
|
* Pulsar 集群的ID
|
|
5286
5286
|
*/
|
|
5287
|
-
ClusterId
|
|
5287
|
+
ClusterId: string
|
|
5288
5288
|
}
|
|
5289
5289
|
|
|
5290
5290
|
/**
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
DescribeCloudNativeAPIGatewayNodesRequest,
|
|
30
30
|
ModifyCloudNativeAPIGatewayRouteRequest,
|
|
31
31
|
DeleteNativeGatewayServerGroupResponse,
|
|
32
|
+
ModifyCloudNativeAPIGatewayCertificateResponse,
|
|
32
33
|
CreateCloudNativeAPIGatewayRouteRateLimitResponse,
|
|
33
34
|
DescribeSREInstanceAccessAddressResponse,
|
|
34
35
|
ModifyCloudNativeAPIGatewayCanaryRuleResponse,
|
|
@@ -49,6 +50,7 @@ import {
|
|
|
49
50
|
CreateCloudNativeAPIGatewayServiceRequest,
|
|
50
51
|
CloudNativeAPIGatewayBalancedService,
|
|
51
52
|
ExternalRedis,
|
|
53
|
+
ModifyCloudNativeAPIGatewayCertificateRequest,
|
|
52
54
|
EnvAddressInfo,
|
|
53
55
|
SREInstance,
|
|
54
56
|
InstanceTagInfo,
|
|
@@ -352,6 +354,16 @@ export class Client extends AbstractClient {
|
|
|
352
354
|
return this.request("DeleteEngine", req, cb)
|
|
353
355
|
}
|
|
354
356
|
|
|
357
|
+
/**
|
|
358
|
+
* 更新云原生网关证书
|
|
359
|
+
*/
|
|
360
|
+
async ModifyCloudNativeAPIGatewayCertificate(
|
|
361
|
+
req: ModifyCloudNativeAPIGatewayCertificateRequest,
|
|
362
|
+
cb?: (error: string, rep: ModifyCloudNativeAPIGatewayCertificateResponse) => void
|
|
363
|
+
): Promise<ModifyCloudNativeAPIGatewayCertificateResponse> {
|
|
364
|
+
return this.request("ModifyCloudNativeAPIGatewayCertificate", req, cb)
|
|
365
|
+
}
|
|
366
|
+
|
|
355
367
|
/**
|
|
356
368
|
* 删除云原生网关的灰度规则
|
|
357
369
|
*/
|
|
@@ -334,6 +334,16 @@ export interface DeleteNativeGatewayServerGroupResponse {
|
|
|
334
334
|
RequestId?: string
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
+
/**
|
|
338
|
+
* ModifyCloudNativeAPIGatewayCertificate返回参数结构体
|
|
339
|
+
*/
|
|
340
|
+
export interface ModifyCloudNativeAPIGatewayCertificateResponse {
|
|
341
|
+
/**
|
|
342
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
343
|
+
*/
|
|
344
|
+
RequestId?: string
|
|
345
|
+
}
|
|
346
|
+
|
|
337
347
|
/**
|
|
338
348
|
* CreateCloudNativeAPIGatewayRouteRateLimit返回参数结构体
|
|
339
349
|
*/
|
|
@@ -731,6 +741,49 @@ export interface ExternalRedis {
|
|
|
731
741
|
RedisTimeout: number
|
|
732
742
|
}
|
|
733
743
|
|
|
744
|
+
/**
|
|
745
|
+
* ModifyCloudNativeAPIGatewayCertificate请求参数结构体
|
|
746
|
+
*/
|
|
747
|
+
export interface ModifyCloudNativeAPIGatewayCertificateRequest {
|
|
748
|
+
/**
|
|
749
|
+
* 网关ID
|
|
750
|
+
*/
|
|
751
|
+
GatewayId: string
|
|
752
|
+
/**
|
|
753
|
+
* 证书id
|
|
754
|
+
*/
|
|
755
|
+
Id: string
|
|
756
|
+
/**
|
|
757
|
+
* 证书名称,即将废弃
|
|
758
|
+
* @deprecated
|
|
759
|
+
*/
|
|
760
|
+
Name?: string
|
|
761
|
+
/**
|
|
762
|
+
* 证书私钥,CertSource为native时必填。
|
|
763
|
+
*/
|
|
764
|
+
Key?: string
|
|
765
|
+
/**
|
|
766
|
+
* 证书pem格式,CertSource为native时必填。
|
|
767
|
+
*/
|
|
768
|
+
Crt?: string
|
|
769
|
+
/**
|
|
770
|
+
* 绑定的域名,即将废弃
|
|
771
|
+
* @deprecated
|
|
772
|
+
*/
|
|
773
|
+
BindDomains?: Array<string>
|
|
774
|
+
/**
|
|
775
|
+
* ssl平台证书 Id,CertSource为ssl时必填。
|
|
776
|
+
*/
|
|
777
|
+
CertId?: string
|
|
778
|
+
/**
|
|
779
|
+
* 证书来源
|
|
780
|
+
- ssl (ssl平台证书),默认值
|
|
781
|
+
- native (kong自定义证书)
|
|
782
|
+
|
|
783
|
+
*/
|
|
784
|
+
CertSource?: string
|
|
785
|
+
}
|
|
786
|
+
|
|
734
787
|
/**
|
|
735
788
|
* 多环境网络信息
|
|
736
789
|
*/
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
DescribeIpHitItemsResponse,
|
|
28
28
|
DescribeCustomRulesRspRuleListItem,
|
|
29
29
|
ModifyAntiInfoLeakRulesResponse,
|
|
30
|
-
|
|
30
|
+
ModifyObjectResponse,
|
|
31
31
|
DescribeCertificateVerifyResultRequest,
|
|
32
32
|
DescribeUserCdcClbWafRegionsRequest,
|
|
33
33
|
UpsertIpAccessControlRequest,
|
|
@@ -55,6 +55,7 @@ import {
|
|
|
55
55
|
DescribeAntiLeakageItem,
|
|
56
56
|
LoadBalancerPackageNew,
|
|
57
57
|
DescribeAntiFakeUrlRequest,
|
|
58
|
+
DeleteAttackWhiteRuleRequest,
|
|
58
59
|
CCRuleData,
|
|
59
60
|
DescribeCustomRuleListRequest,
|
|
60
61
|
ModifyDomainWhiteRuleRequest,
|
|
@@ -87,6 +88,7 @@ import {
|
|
|
87
88
|
ModifyDomainIpv6StatusRequest,
|
|
88
89
|
ModifyAntiInfoLeakRuleStatusResponse,
|
|
89
90
|
GetAttackTotalCountResponse,
|
|
91
|
+
ModifyBotStatusResponse,
|
|
90
92
|
DescribeAntiInfoLeakageRulesResponse,
|
|
91
93
|
SessionItem,
|
|
92
94
|
ModifyInstanceNameResponse,
|
|
@@ -108,24 +110,27 @@ import {
|
|
|
108
110
|
DescribeUserClbWafRegionsResponse,
|
|
109
111
|
ModifyAntiFakeUrlStatusRequest,
|
|
110
112
|
DeleteCustomWhiteRuleRequest,
|
|
113
|
+
UserWhiteRule,
|
|
111
114
|
ModifyHostModeResponse,
|
|
112
115
|
ModifyInstanceRenewFlagResponse,
|
|
113
116
|
DescribeCCRuleListRequest,
|
|
114
117
|
ModifyProtectionStatusResponse,
|
|
115
118
|
DescribeAutoDenyIPRequest,
|
|
116
|
-
|
|
119
|
+
AddAttackWhiteRuleResponse,
|
|
117
120
|
ModifyWafAutoDenyStatusRequest,
|
|
118
121
|
DescribeCustomRuleListResponse,
|
|
119
|
-
|
|
122
|
+
ResponseCode,
|
|
123
|
+
DeleteAttackWhiteRuleResponse,
|
|
120
124
|
SwitchDomainRulesRequest,
|
|
121
125
|
ModifyAccessPeriodResponse,
|
|
122
126
|
ClbHostResult,
|
|
127
|
+
ModifyWebshellStatusRequest,
|
|
123
128
|
DescribeVipInfoRequest,
|
|
124
129
|
GetAttackHistogramResponse,
|
|
125
130
|
GetInstanceQpsLimitRequest,
|
|
126
131
|
FiltersItemNew,
|
|
127
132
|
DeleteSpartaProtectionResponse,
|
|
128
|
-
|
|
133
|
+
ModifyAttackWhiteRuleResponse,
|
|
129
134
|
DescribeAutoDenyIPResponse,
|
|
130
135
|
SwitchDomainRulesResponse,
|
|
131
136
|
SearchAccessLogResponse,
|
|
@@ -142,6 +147,7 @@ import {
|
|
|
142
147
|
DescribeAntiFakeRulesResponse,
|
|
143
148
|
AddAntiInfoLeakRulesRequest,
|
|
144
149
|
AccessRuleInfo,
|
|
150
|
+
ModifyAttackWhiteRuleRequest,
|
|
145
151
|
HostRecord,
|
|
146
152
|
CreateHostRequest,
|
|
147
153
|
SearchAttackLogResponse,
|
|
@@ -190,7 +196,7 @@ import {
|
|
|
190
196
|
DescribeHostLimitResponse,
|
|
191
197
|
PostAttackDownloadTaskResponse,
|
|
192
198
|
ModifySpartaProtectionModeResponse,
|
|
193
|
-
|
|
199
|
+
DescribeAttackWhiteRuleRequest,
|
|
194
200
|
DescribeDomainDetailsSaasRequest,
|
|
195
201
|
ModifyCustomRuleStatusResponse,
|
|
196
202
|
StrategyForAntiInfoLeak,
|
|
@@ -243,6 +249,7 @@ import {
|
|
|
243
249
|
DescribeDomainDetailsSaasResponse,
|
|
244
250
|
AccessKeyValueInfo,
|
|
245
251
|
DomainPackageNew,
|
|
252
|
+
AddAttackWhiteRuleRequest,
|
|
246
253
|
AddCustomRuleRequest,
|
|
247
254
|
DescribeWafAutoDenyRulesResponse,
|
|
248
255
|
FraudPkg,
|
|
@@ -284,6 +291,8 @@ import {
|
|
|
284
291
|
ModifyModuleStatusRequest,
|
|
285
292
|
DescribeRuleLimitRequest,
|
|
286
293
|
TargetEntity,
|
|
294
|
+
UserWhiteRuleItem,
|
|
295
|
+
SessionData,
|
|
287
296
|
CCRuleItem,
|
|
288
297
|
DescribeDomainCountInfoRequest,
|
|
289
298
|
GetAttackDownloadRecordsResponse,
|
|
@@ -291,6 +300,7 @@ import {
|
|
|
291
300
|
ModifySpartaProtectionRequest,
|
|
292
301
|
DescribeIpAccessControlRequest,
|
|
293
302
|
DescribeDomainWhiteRulesResponse,
|
|
303
|
+
ModifyDomainsCLSStatusResponse,
|
|
294
304
|
DescribeWafThreatenIntelligenceResponse,
|
|
295
305
|
DescribeAccessHistogramResponse,
|
|
296
306
|
DomainInfo,
|
|
@@ -322,7 +332,7 @@ import {
|
|
|
322
332
|
DeleteCCRuleResponse,
|
|
323
333
|
LogHistogramInfo,
|
|
324
334
|
DomainURI,
|
|
325
|
-
|
|
335
|
+
DescribeAttackWhiteRuleResponse,
|
|
326
336
|
ModifyAntiInfoLeakRuleStatusRequest,
|
|
327
337
|
ModifySpartaProtectionModeRequest,
|
|
328
338
|
AccessRuleKeyValueInfo,
|
|
@@ -897,6 +907,16 @@ export class Client extends AbstractClient {
|
|
|
897
907
|
return this.request("DescribeWafInfo", req, cb)
|
|
898
908
|
}
|
|
899
909
|
|
|
910
|
+
/**
|
|
911
|
+
* 获取用户规则白名单列表
|
|
912
|
+
*/
|
|
913
|
+
async DescribeAttackWhiteRule(
|
|
914
|
+
req: DescribeAttackWhiteRuleRequest,
|
|
915
|
+
cb?: (error: string, rep: DescribeAttackWhiteRuleResponse) => void
|
|
916
|
+
): Promise<DescribeAttackWhiteRuleResponse> {
|
|
917
|
+
return this.request("DescribeAttackWhiteRule", req, cb)
|
|
918
|
+
}
|
|
919
|
+
|
|
900
920
|
/**
|
|
901
921
|
* clb-waf中获取防护域名列表
|
|
902
922
|
*/
|
|
@@ -948,13 +968,13 @@ export class Client extends AbstractClient {
|
|
|
948
968
|
}
|
|
949
969
|
|
|
950
970
|
/**
|
|
951
|
-
*
|
|
971
|
+
* Bot_V2 bot总开关更新
|
|
952
972
|
*/
|
|
953
|
-
async
|
|
954
|
-
req
|
|
955
|
-
cb?: (error: string, rep:
|
|
956
|
-
): Promise<
|
|
957
|
-
return this.request("
|
|
973
|
+
async ModifyBotStatus(
|
|
974
|
+
req: ModifyBotStatusRequest,
|
|
975
|
+
cb?: (error: string, rep: ModifyBotStatusResponse) => void
|
|
976
|
+
): Promise<ModifyBotStatusResponse> {
|
|
977
|
+
return this.request("ModifyBotStatus", req, cb)
|
|
958
978
|
}
|
|
959
979
|
|
|
960
980
|
/**
|
|
@@ -1028,13 +1048,13 @@ export class Client extends AbstractClient {
|
|
|
1028
1048
|
}
|
|
1029
1049
|
|
|
1030
1050
|
/**
|
|
1031
|
-
*
|
|
1051
|
+
* 查询用户TLS版本
|
|
1032
1052
|
*/
|
|
1033
|
-
async
|
|
1034
|
-
req
|
|
1035
|
-
cb?: (error: string, rep:
|
|
1036
|
-
): Promise<
|
|
1037
|
-
return this.request("
|
|
1053
|
+
async DescribeTlsVersion(
|
|
1054
|
+
req?: DescribeTlsVersionRequest,
|
|
1055
|
+
cb?: (error: string, rep: DescribeTlsVersionResponse) => void
|
|
1056
|
+
): Promise<DescribeTlsVersionResponse> {
|
|
1057
|
+
return this.request("DescribeTlsVersion", req, cb)
|
|
1038
1058
|
}
|
|
1039
1059
|
|
|
1040
1060
|
/**
|
|
@@ -1097,6 +1117,16 @@ export class Client extends AbstractClient {
|
|
|
1097
1117
|
return this.request("ModifyCustomRuleStatus", req, cb)
|
|
1098
1118
|
}
|
|
1099
1119
|
|
|
1120
|
+
/**
|
|
1121
|
+
* 供用户控制台调用,删除Tiga规则引擎白名单。
|
|
1122
|
+
*/
|
|
1123
|
+
async DeleteAttackWhiteRule(
|
|
1124
|
+
req: DeleteAttackWhiteRuleRequest,
|
|
1125
|
+
cb?: (error: string, rep: DeleteAttackWhiteRuleResponse) => void
|
|
1126
|
+
): Promise<DeleteAttackWhiteRuleResponse> {
|
|
1127
|
+
return this.request("DeleteAttackWhiteRule", req, cb)
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1100
1130
|
/**
|
|
1101
1131
|
* Waf ip黑白名单查询
|
|
1102
1132
|
*/
|
|
@@ -1107,6 +1137,16 @@ export class Client extends AbstractClient {
|
|
|
1107
1137
|
return this.request("DescribeIpAccessControl", req, cb)
|
|
1108
1138
|
}
|
|
1109
1139
|
|
|
1140
|
+
/**
|
|
1141
|
+
* 供用户控制台调用,增加Tiga规则引擎白名单。
|
|
1142
|
+
*/
|
|
1143
|
+
async AddAttackWhiteRule(
|
|
1144
|
+
req: AddAttackWhiteRuleRequest,
|
|
1145
|
+
cb?: (error: string, rep: AddAttackWhiteRuleResponse) => void
|
|
1146
|
+
): Promise<AddAttackWhiteRuleResponse> {
|
|
1147
|
+
return this.request("AddAttackWhiteRule", req, cb)
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1110
1150
|
/**
|
|
1111
1151
|
* 获取域名概况
|
|
1112
1152
|
*/
|
|
@@ -1327,6 +1367,16 @@ export class Client extends AbstractClient {
|
|
|
1327
1367
|
return this.request("DescribeInstances", req, cb)
|
|
1328
1368
|
}
|
|
1329
1369
|
|
|
1370
|
+
/**
|
|
1371
|
+
* 供用户控制台调用,修改Tiga规则引擎白名单。
|
|
1372
|
+
*/
|
|
1373
|
+
async ModifyAttackWhiteRule(
|
|
1374
|
+
req: ModifyAttackWhiteRuleRequest,
|
|
1375
|
+
cb?: (error: string, rep: ModifyAttackWhiteRuleResponse) => void
|
|
1376
|
+
): Promise<ModifyAttackWhiteRuleResponse> {
|
|
1377
|
+
return this.request("ModifyAttackWhiteRule", req, cb)
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1330
1380
|
/**
|
|
1331
1381
|
* 修改用户防护规则,开启关闭具体的某条规则
|
|
1332
1382
|
*/
|