tencentcloud-sdk-nodejs 4.0.704 → 4.0.706
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 +286 -0
- package/SERVICE_CHANGELOG.md +325 -224
- package/package.json +1 -1
- package/products.md +27 -27
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +7 -6
- package/src/services/ccc/v20200210/ccc_client.ts +13 -1
- package/src/services/ccc/v20200210/ccc_models.ts +84 -27
- 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 +369 -57
- package/src/services/cvm/v20170312/cvm_models.ts +7 -6
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +2 -2
- package/src/services/emr/v20190103/emr_client.ts +18 -4
- package/src/services/emr/v20190103/emr_models.ts +163 -55
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +16 -2
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +7 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +14 -2
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +107 -51
- 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/scf/v20180416/scf_models.ts +1 -1
- package/src/services/soe/v20180724/soe_models.ts +18 -12
- package/src/services/tdmq/v20200217/tdmq_models.ts +3 -3
- package/src/services/tke/v20180525/tke_models.ts +3 -2
- 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/src/services/wedata/v20210820/wedata_client.ts +128 -28
- package/src/services/wedata/v20210820/wedata_models.ts +633 -84
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +7 -6
- 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 +82 -27
- 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 +359 -56
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +7 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2 -2
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +5 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +6 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +159 -55
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +16 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +5 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +6 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +105 -51
- 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/scf/v20180416/scf_models.d.ts +1 -1
- package/tencentcloud/services/soe/v20180724/soe_models.d.ts +18 -12
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +3 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +3 -2
- 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/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +44 -10
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +62 -12
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +618 -87
- 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/emr.v20190103.test.js +10 -0
- package/test/iotexplorer.v20190423.test.js +10 -0
- package/test/tse.v20201207.test.js +10 -0
- package/test/waf.v20180125.test.js +44 -4
- package/test/wedata.v20210820.test.js +86 -6
|
@@ -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
|
/**
|
|
@@ -1372,7 +1372,7 @@ export interface CreateTriggerRequest {
|
|
|
1372
1372
|
*/
|
|
1373
1373
|
TriggerName: string
|
|
1374
1374
|
/**
|
|
1375
|
-
* 触发器类型,目前支持 cos 、cmq、 timer、 ckafka、apigw
|
|
1375
|
+
* 触发器类型,目前支持 cos 、cmq、 timer、 ckafka、apigw类型。创建函数URL请在此填写 http 。创建 cls 触发器请参考[CLS 创建投递 SCF 任务](https://cloud.tencent.com/document/product/614/61096)。
|
|
1376
1376
|
*/
|
|
1377
1377
|
Type: string
|
|
1378
1378
|
/**
|
|
@@ -590,6 +590,7 @@ export interface TransmitOralProcessWithInitRequest {
|
|
|
590
590
|
/**
|
|
591
591
|
* 音频存储模式,此参数已废弃,无需设置,设置与否都默认为0不存储;
|
|
592
592
|
注:有存储需求的用户建议自行存储至腾讯云COS[对象存储](https://cloud.tencent.com/product/cos)使用。
|
|
593
|
+
* @deprecated
|
|
593
594
|
*/
|
|
594
595
|
StorageMode?: number
|
|
595
596
|
/**
|
|
@@ -626,6 +627,10 @@ export interface TransmitOralProcessWithInitRequest {
|
|
|
626
627
|
* 主题词和关键词
|
|
627
628
|
*/
|
|
628
629
|
Keyword?: string
|
|
630
|
+
/**
|
|
631
|
+
* 音频存储路径,支持通过子路径指定文件夹名称
|
|
632
|
+
*/
|
|
633
|
+
COSBucketURL?: string
|
|
629
634
|
}
|
|
630
635
|
|
|
631
636
|
/**
|
|
@@ -635,54 +640,55 @@ export interface TransmitOralProcessWithInitResponse {
|
|
|
635
640
|
/**
|
|
636
641
|
* 发音精准度,取值范围[-1, 100],当取-1时指完全不匹配,当为句子模式时,是所有已识别单词准确度的加权平均值,在reftext中但未识别出来的词不计入分数中。当为流式模式且请求中IsEnd未置1时,取值无意义。
|
|
637
642
|
*/
|
|
638
|
-
PronAccuracy
|
|
643
|
+
PronAccuracy?: number
|
|
639
644
|
/**
|
|
640
645
|
* 发音流利度,取值范围[0, 1],当为词模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
641
646
|
*/
|
|
642
|
-
PronFluency
|
|
647
|
+
PronFluency?: number
|
|
643
648
|
/**
|
|
644
649
|
* 发音完整度,取值范围[0, 1],当为词模式或自由说模式时,取值无意义;当为流式模式且请求中IsEnd未置1时,取值无意义。取值无意义时,值为-1
|
|
645
650
|
*/
|
|
646
|
-
PronCompletion
|
|
651
|
+
PronCompletion?: number
|
|
647
652
|
/**
|
|
648
653
|
* 详细发音评估结果
|
|
649
654
|
*/
|
|
650
|
-
Words
|
|
655
|
+
Words?: Array<WordRsp>
|
|
651
656
|
/**
|
|
652
657
|
* 语音段唯一标识,一段语音一个SessionId
|
|
653
658
|
*/
|
|
654
|
-
SessionId
|
|
659
|
+
SessionId?: string
|
|
655
660
|
/**
|
|
656
661
|
* 已废弃,不再保存语音音频文件下载地址
|
|
662
|
+
* @deprecated
|
|
657
663
|
*/
|
|
658
|
-
AudioUrl
|
|
664
|
+
AudioUrl?: string
|
|
659
665
|
/**
|
|
660
666
|
* 断句中间结果,中间结果是局部最优而非全局最优的结果,所以中间结果有可能和最终整体结果对应部分不一致;中间结果的输出便于客户端UI更新;待用户发音完全结束后,系统会给出一个综合所有句子的整体结果。
|
|
661
667
|
*/
|
|
662
|
-
SentenceInfoSet
|
|
668
|
+
SentenceInfoSet?: Array<SentenceInfo>
|
|
663
669
|
/**
|
|
664
670
|
* 评估 session 状态,“Evaluating":评估中、"Failed":评估失败、"Finished":评估完成
|
|
665
671
|
*/
|
|
666
|
-
Status
|
|
672
|
+
Status?: string
|
|
667
673
|
/**
|
|
668
674
|
* 建议评分,取值范围[0,100],评分方式为建议评分 = 准确度(PronAccuracy)× 完整度(PronCompletion)×(2 - 完整度(PronCompletion)),如若评分策略不符合请参考Words数组中的详细分数自定义评分逻辑。
|
|
669
675
|
*/
|
|
670
|
-
SuggestedScore
|
|
676
|
+
SuggestedScore?: number
|
|
671
677
|
/**
|
|
672
678
|
* 匹配候选文本的序号,在句子多分支、情景对 话、段落模式下表示匹配到的文本序号
|
|
673
679
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
674
680
|
*/
|
|
675
|
-
RefTextId
|
|
681
|
+
RefTextId?: number
|
|
676
682
|
/**
|
|
677
683
|
* 主题词命中标志,0表示没命中,1表示命中
|
|
678
684
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
679
685
|
*/
|
|
680
|
-
KeyWordHits
|
|
686
|
+
KeyWordHits?: Array<number>
|
|
681
687
|
/**
|
|
682
688
|
* 负向主题词命中标志,0表示没命中,1表示命中
|
|
683
689
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
684
690
|
*/
|
|
685
|
-
UnKeyWordHits
|
|
691
|
+
UnKeyWordHits?: Array<number>
|
|
686
692
|
/**
|
|
687
693
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
688
694
|
*/
|
|
@@ -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
|
/**
|
|
@@ -5369,7 +5369,7 @@ export interface DescribeClusterEndpointStatusResponse {
|
|
|
5369
5369
|
*/
|
|
5370
5370
|
export interface RunAutomationServiceEnabled {
|
|
5371
5371
|
/**
|
|
5372
|
-
* 是否开启云自动化助手。取值范围:<br><li>
|
|
5372
|
+
* 是否开启云自动化助手。取值范围:<br><li>true:表示开启云自动化助手服务<br><li>false:表示不开启云自动化助手服务<br><br>默认取值:false。
|
|
5373
5373
|
*/
|
|
5374
5374
|
Enabled?: boolean
|
|
5375
5375
|
}
|
|
@@ -9066,7 +9066,8 @@ export interface DisableEventPersistenceRequest {
|
|
|
9066
9066
|
*/
|
|
9067
9067
|
export interface RunMonitorServiceEnabled {
|
|
9068
9068
|
/**
|
|
9069
|
-
* 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>
|
|
9069
|
+
* 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务<br><li>false:表示不开启云监控服务<br><br>默认取值:true。
|
|
9070
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9070
9071
|
*/
|
|
9071
9072
|
Enabled?: boolean
|
|
9072
9073
|
}
|
|
@@ -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
|
*/
|