tencentcloud-sdk-nodejs 4.0.381 → 4.0.382
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 +245 -0
- package/SERVICE_CHANGELOG.md +357 -39
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +13 -1
- package/src/services/ims/v20201229/ims_models.ts +1 -1
- package/src/services/mps/v20190612/mps_client.ts +20 -1
- package/src/services/mps/v20190612/mps_models.ts +643 -29
- package/src/services/ocr/v20181119/ocr_client.ts +10 -5
- package/src/services/ocr/v20181119/ocr_models.ts +36 -6
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +5 -3
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +102 -27
- package/src/services/ssm/v20190923/ssm_models.ts +5 -0
- package/src/services/tcm/v20210413/tcm_client.ts +3 -0
- package/src/services/tcm/v20210413/tcm_models.ts +106 -2
- package/src/services/tione/v20211111/tione_models.ts +10 -0
- package/src/services/vod/v20180717/vod_client.ts +12 -7
- package/src/services/waf/v20180125/waf_client.ts +14 -2
- package/src/services/waf/v20180125/waf_models.ts +42 -27
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +11 -1
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +565 -28
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +5 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +4 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +31 -6
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +88 -26
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +4 -0
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +91 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +8 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +12 -7
- package/tencentcloud/services/vod/v20180717/vod_client.js +10 -5
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +37 -24
- package/test/waf.v20180125.test.js +10 -0
|
@@ -297,6 +297,10 @@ export interface DescribeFlowTrendResponse {
|
|
|
297
297
|
*/
|
|
298
298
|
RequestId?: string;
|
|
299
299
|
}
|
|
300
|
+
/**
|
|
301
|
+
* GetAttackDownloadRecords请求参数结构体
|
|
302
|
+
*/
|
|
303
|
+
export declare type GetAttackDownloadRecordsRequest = null;
|
|
300
304
|
/**
|
|
301
305
|
* UpsertIpAccessControl请求参数结构体
|
|
302
306
|
*/
|
|
@@ -368,17 +372,29 @@ export interface ModifyAccessPeriodResponse {
|
|
|
368
372
|
RequestId?: string;
|
|
369
373
|
}
|
|
370
374
|
/**
|
|
371
|
-
*
|
|
375
|
+
* clb-waf QPS套餐 New
|
|
372
376
|
*/
|
|
373
|
-
export interface
|
|
377
|
+
export interface QPSPackageNew {
|
|
374
378
|
/**
|
|
375
|
-
*
|
|
379
|
+
* 资源ID
|
|
376
380
|
*/
|
|
377
|
-
|
|
381
|
+
ResourceIds: string;
|
|
378
382
|
/**
|
|
379
|
-
*
|
|
383
|
+
* 过期时间
|
|
380
384
|
*/
|
|
381
|
-
|
|
385
|
+
ValidTime: string;
|
|
386
|
+
/**
|
|
387
|
+
* 是否自动续费,1:自动续费,0:不自动续费
|
|
388
|
+
*/
|
|
389
|
+
RenewFlag: number;
|
|
390
|
+
/**
|
|
391
|
+
* 套餐购买个数
|
|
392
|
+
*/
|
|
393
|
+
Count: number;
|
|
394
|
+
/**
|
|
395
|
+
* 套餐购买地域,clb-waf暂时没有用到
|
|
396
|
+
*/
|
|
397
|
+
Region: string;
|
|
382
398
|
}
|
|
383
399
|
/**
|
|
384
400
|
* 实例入参过滤器
|
|
@@ -1628,6 +1644,15 @@ export interface AccessRuleInfo {
|
|
|
1628
1644
|
*/
|
|
1629
1645
|
Tag: AccessRuleTagInfo;
|
|
1630
1646
|
}
|
|
1647
|
+
/**
|
|
1648
|
+
* GetAttackDownloadRecords返回参数结构体
|
|
1649
|
+
*/
|
|
1650
|
+
export interface GetAttackDownloadRecordsResponse {
|
|
1651
|
+
/**
|
|
1652
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1653
|
+
*/
|
|
1654
|
+
RequestId?: string;
|
|
1655
|
+
}
|
|
1631
1656
|
/**
|
|
1632
1657
|
* DeleteAccessExport请求参数结构体
|
|
1633
1658
|
*/
|
|
@@ -1672,29 +1697,17 @@ export interface DeleteAttackDownloadRecordRequest {
|
|
|
1672
1697
|
Id: number;
|
|
1673
1698
|
}
|
|
1674
1699
|
/**
|
|
1675
|
-
*
|
|
1700
|
+
* DescribeWafThreatenIntelligence返回参数结构体
|
|
1676
1701
|
*/
|
|
1677
|
-
export interface
|
|
1678
|
-
/**
|
|
1679
|
-
* 资源ID
|
|
1680
|
-
*/
|
|
1681
|
-
ResourceIds: string;
|
|
1682
|
-
/**
|
|
1683
|
-
* 过期时间
|
|
1684
|
-
*/
|
|
1685
|
-
ValidTime: string;
|
|
1686
|
-
/**
|
|
1687
|
-
* 是否自动续费,1:自动续费,0:不自动续费
|
|
1688
|
-
*/
|
|
1689
|
-
RenewFlag: number;
|
|
1702
|
+
export interface DescribeWafThreatenIntelligenceResponse {
|
|
1690
1703
|
/**
|
|
1691
|
-
*
|
|
1704
|
+
* WAF 威胁情报封禁信息
|
|
1692
1705
|
*/
|
|
1693
|
-
|
|
1706
|
+
WafThreatenIntelligenceDetails?: WafThreatenIntelligenceDetails;
|
|
1694
1707
|
/**
|
|
1695
|
-
*
|
|
1708
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1696
1709
|
*/
|
|
1697
|
-
|
|
1710
|
+
RequestId?: string;
|
|
1698
1711
|
}
|
|
1699
1712
|
/**
|
|
1700
1713
|
* AddDomainWhiteRule请求参数结构体
|
|
@@ -188,6 +188,16 @@ it("waf.v20180125.DescribeWafAutoDenyStatus", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
+
it("waf.v20180125.GetAttackDownloadRecords", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.GetAttackDownloadRecords({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
191
201
|
it("waf.v20180125.AddCustomRule", async function () {
|
|
192
202
|
try {
|
|
193
203
|
const data = await client.AddCustomRule({})
|