tencentcloud-sdk-nodejs 4.1.89 → 4.1.91
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/es/common/sdk_version.js +1 -1
- package/es/services/cam/v20190116/cam_client.js +7 -4
- package/es/services/cdn/v20180606/cdn_client.js +15 -84
- package/es/services/cfs/v20190719/cfs_client.js +66 -27
- package/es/services/dlc/v20210125/dlc_client.js +93 -24
- package/es/services/ess/v20201111/ess_client.js +6 -0
- package/es/services/hunyuan/v20230901/hunyuan_client.js +34 -40
- package/es/services/lowcode/v20210108/lowcode_client.js +12 -0
- package/es/services/teo/v20220901/teo_client.js +82 -22
- package/es/services/waf/v20180125/waf_client.js +18 -6
- package/es/services/wedata/v20210820/wedata_client.js +5 -2
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +1 -1
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +43 -1
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +9 -5
- package/tencentcloud/services/cam/v20190116/cam_client.js +12 -6
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +69 -22
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +2 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +2 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +30 -22
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +29 -167
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +36 -220
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +4192 -6711
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +82 -30
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +121 -43
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +941 -283
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +15 -7
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +189 -72
- package/tencentcloud/services/ctem/v20231128/ctem_models.d.ts +110 -6
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +117 -25
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +174 -36
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +1568 -206
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +1 -1
- package/tencentcloud/services/es/v20250101/es_models.d.ts +17 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +16 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +19 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +7775 -7577
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +62 -70
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +84 -96
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +0 -96
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.d.ts +17 -1
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +24 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +148 -31
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +12 -4
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +39 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -2
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +19 -15
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +112 -30
- package/tencentcloud/services/teo/v20220901/teo_client.js +162 -40
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1000 -181
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +4 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +18 -3
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +23 -7
- package/tencentcloud/services/waf/v20180125/waf_client.js +33 -9
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +343 -114
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +7 -3
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +9 -3
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +86 -4
@@ -322,25 +322,21 @@ export interface CreateServiceLinkedRoleRequest {
|
|
322
322
|
Tags?: Array<RoleTags>;
|
323
323
|
}
|
324
324
|
/**
|
325
|
-
*
|
325
|
+
* CreateSAMLProvider请求参数结构体
|
326
326
|
*/
|
327
|
-
export interface
|
328
|
-
/**
|
329
|
-
* 用户组ID
|
330
|
-
*/
|
331
|
-
TargetGroupId: number;
|
327
|
+
export interface CreateSAMLProviderRequest {
|
332
328
|
/**
|
333
|
-
*
|
329
|
+
* SAML身份提供商名称
|
334
330
|
*/
|
335
|
-
|
331
|
+
Name: string;
|
336
332
|
/**
|
337
|
-
*
|
333
|
+
* SAML身份提供商描述
|
338
334
|
*/
|
339
|
-
|
335
|
+
Description: string;
|
340
336
|
/**
|
341
|
-
*
|
337
|
+
* SAML身份提供商Base64编码的元数据文档
|
342
338
|
*/
|
343
|
-
|
339
|
+
SAMLMetadataDocument: string;
|
344
340
|
}
|
345
341
|
/**
|
346
342
|
* ListGroupsForUser请求参数结构体
|
@@ -522,9 +518,14 @@ export interface GetUserAppIdResponse {
|
|
522
518
|
RequestId?: string;
|
523
519
|
}
|
524
520
|
/**
|
525
|
-
*
|
521
|
+
* CreateSubAccountLoginIpPolicy返回参数结构体
|
526
522
|
*/
|
527
|
-
export
|
523
|
+
export interface CreateSubAccountLoginIpPolicyResponse {
|
524
|
+
/**
|
525
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
526
|
+
*/
|
527
|
+
RequestId?: string;
|
528
|
+
}
|
528
529
|
/**
|
529
530
|
* DescribeOIDCConfig返回参数结构体
|
530
531
|
*/
|
@@ -1400,6 +1401,27 @@ export interface GetUserPermissionBoundaryResponse {
|
|
1400
1401
|
*/
|
1401
1402
|
RequestId?: string;
|
1402
1403
|
}
|
1404
|
+
/**
|
1405
|
+
* ListAttachedGroupPolicies请求参数结构体
|
1406
|
+
*/
|
1407
|
+
export interface ListAttachedGroupPoliciesRequest {
|
1408
|
+
/**
|
1409
|
+
* 用户组ID
|
1410
|
+
*/
|
1411
|
+
TargetGroupId: number;
|
1412
|
+
/**
|
1413
|
+
* 页码,默认值是 1,从 1 开始
|
1414
|
+
*/
|
1415
|
+
Page?: number;
|
1416
|
+
/**
|
1417
|
+
* 每页大小,默认值是 20
|
1418
|
+
*/
|
1419
|
+
Rp?: number;
|
1420
|
+
/**
|
1421
|
+
* 搜索关键字
|
1422
|
+
*/
|
1423
|
+
Keyword?: string;
|
1424
|
+
}
|
1403
1425
|
/**
|
1404
1426
|
* CreatePolicy返回参数结构体
|
1405
1427
|
*/
|
@@ -2007,21 +2029,29 @@ export interface ListWeChatWorkSubAccountsResponse {
|
|
2007
2029
|
RequestId?: string;
|
2008
2030
|
}
|
2009
2031
|
/**
|
2010
|
-
*
|
2032
|
+
* CreateSubAccountLoginIpPolicy请求参数结构体
|
2011
2033
|
*/
|
2012
|
-
export interface
|
2034
|
+
export interface CreateSubAccountLoginIpPolicyRequest {
|
2013
2035
|
/**
|
2014
|
-
*
|
2036
|
+
* IP策略集合
|
2015
2037
|
*/
|
2016
|
-
|
2038
|
+
IpPolicies?: Array<IpPolicy>;
|
2017
2039
|
/**
|
2018
|
-
*
|
2040
|
+
* 审批人类型,目前支持的类型有:SubAccountLoginLimitApproval(子账号登录限制审批)
|
2019
2041
|
*/
|
2020
|
-
|
2042
|
+
ApproverType?: string;
|
2021
2043
|
/**
|
2022
|
-
*
|
2044
|
+
* 被添加为协助审批人的账号ID数组
|
2023
2045
|
*/
|
2024
|
-
|
2046
|
+
ApproverUin?: Array<number | bigint>;
|
2047
|
+
/**
|
2048
|
+
* 是否禁用策略:0:不禁用,1:禁用
|
2049
|
+
*/
|
2050
|
+
DisablePolicy?: number;
|
2051
|
+
/**
|
2052
|
+
* 策略类型:1:更新IP策略,2:设置异地登录校验校验规则
|
2053
|
+
*/
|
2054
|
+
PolicyType?: number;
|
2025
2055
|
}
|
2026
2056
|
/**
|
2027
2057
|
* 关联策略信息
|
@@ -2894,6 +2924,19 @@ export interface DescribeSafeAuthFlagIntlResponse {
|
|
2894
2924
|
*/
|
2895
2925
|
RequestId?: string;
|
2896
2926
|
}
|
2927
|
+
/**
|
2928
|
+
* IP限制策略
|
2929
|
+
*/
|
2930
|
+
export interface IpPolicy {
|
2931
|
+
/**
|
2932
|
+
* IP段
|
2933
|
+
*/
|
2934
|
+
IP: string;
|
2935
|
+
/**
|
2936
|
+
* 策略效力,Allow或Deny
|
2937
|
+
*/
|
2938
|
+
Effect: string;
|
2939
|
+
}
|
2897
2940
|
/**
|
2898
2941
|
* ListGroups请求参数结构体
|
2899
2942
|
*/
|
@@ -3310,6 +3353,10 @@ export interface GetPolicyResponse {
|
|
3310
3353
|
*/
|
3311
3354
|
RequestId?: string;
|
3312
3355
|
}
|
3356
|
+
/**
|
3357
|
+
* GetUserAppId请求参数结构体
|
3358
|
+
*/
|
3359
|
+
export declare type GetUserAppIdRequest = null;
|
3313
3360
|
/**
|
3314
3361
|
* DescribeSafeAuthFlag请求参数结构体
|
3315
3362
|
*/
|
@@ -317,7 +317,8 @@ export declare class Client extends AbstractClient {
|
|
317
317
|
*/
|
318
318
|
DescribeProjectSecurityGroups(req: DescribeProjectSecurityGroupsRequest, cb?: (error: string, rep: DescribeProjectSecurityGroupsResponse) => void): Promise<DescribeProjectSecurityGroupsResponse>;
|
319
319
|
/**
|
320
|
-
*
|
320
|
+
* 本接口(DescribeSlowLogs)用于获取云数据库实例的慢查询日志。
|
321
|
+
说明:若单次查询数据量过大,则有可能响应超时,建议缩短单次查询时间范围,如一小时,避免导致超时。
|
321
322
|
*/
|
322
323
|
DescribeSlowLogs(req: DescribeSlowLogsRequest, cb?: (error: string, rep: DescribeSlowLogsResponse) => void): Promise<DescribeSlowLogsResponse>;
|
323
324
|
/**
|
@@ -477,7 +477,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
477
477
|
return this.request("DescribeProjectSecurityGroups", req, cb);
|
478
478
|
}
|
479
479
|
/**
|
480
|
-
*
|
480
|
+
* 本接口(DescribeSlowLogs)用于获取云数据库实例的慢查询日志。
|
481
|
+
说明:若单次查询数据量过大,则有可能响应超时,建议缩短单次查询时间范围,如一小时,避免导致超时。
|
481
482
|
*/
|
482
483
|
async DescribeSlowLogs(req, cb) {
|
483
484
|
return this.request("DescribeSlowLogs", req, cb);
|
@@ -480,19 +480,19 @@ export interface ParamRecord {
|
|
480
480
|
*/
|
481
481
|
export interface DescribeParamTemplatesRequest {
|
482
482
|
/**
|
483
|
-
*
|
483
|
+
* 引擎版本,缺省则查询所有。可取值为:5.5、5.6、5.7、8.0。
|
484
484
|
*/
|
485
485
|
EngineVersions?: Array<string>;
|
486
486
|
/**
|
487
|
-
*
|
487
|
+
* 引擎类型,缺省则查询所有。可取值为:InnoDB、RocksDB,不区分大小写。
|
488
488
|
*/
|
489
489
|
EngineTypes?: Array<string>;
|
490
490
|
/**
|
491
|
-
*
|
491
|
+
* 模板名称,缺省则查询所有。支持模糊匹配。
|
492
492
|
*/
|
493
493
|
TemplateNames?: Array<string>;
|
494
494
|
/**
|
495
|
-
* 模板
|
495
|
+
* 模板 ID,缺省则查询所有。
|
496
496
|
*/
|
497
497
|
TemplateIds?: Array<number | bigint>;
|
498
498
|
}
|
@@ -817,7 +817,7 @@ export interface PeriodStrategy {
|
|
817
817
|
*/
|
818
818
|
export interface DescribeParamTemplateInfoRequest {
|
819
819
|
/**
|
820
|
-
* 参数模板 ID
|
820
|
+
* 参数模板 ID。可通过 [DescribeParamTemplates](https://cloud.tencent.com/document/api/236/32659) 接口获取。
|
821
821
|
*/
|
822
822
|
TemplateId: number;
|
823
823
|
}
|
@@ -2095,7 +2095,7 @@ export interface DescribeParamTemplateInfoResponse {
|
|
2095
2095
|
*/
|
2096
2096
|
Name?: string;
|
2097
2097
|
/**
|
2098
|
-
*
|
2098
|
+
* 参数模板对应实例版本,可取值:5.5、5.6、5.7、8.0。
|
2099
2099
|
*/
|
2100
2100
|
EngineVersion?: string;
|
2101
2101
|
/**
|
@@ -2441,7 +2441,7 @@ export interface DescribeBinlogsRequest {
|
|
2441
2441
|
*/
|
2442
2442
|
Offset?: number;
|
2443
2443
|
/**
|
2444
|
-
* 分页大小,默认值为20,最小值为1,最大值为
|
2444
|
+
* 分页大小,默认值为20,最小值为1,最大值为1000。
|
2445
2445
|
*/
|
2446
2446
|
Limit?: number;
|
2447
2447
|
/**
|
@@ -2835,7 +2835,7 @@ export interface SwitchDBInstanceMasterSlaveResponse {
|
|
2835
2835
|
*/
|
2836
2836
|
export interface DescribeBackupsRequest {
|
2837
2837
|
/**
|
2838
|
-
* 实例ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
2838
|
+
* 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
2839
2839
|
*/
|
2840
2840
|
InstanceId: string;
|
2841
2841
|
/**
|
@@ -2843,7 +2843,7 @@ export interface DescribeBackupsRequest {
|
|
2843
2843
|
*/
|
2844
2844
|
Offset?: number;
|
2845
2845
|
/**
|
2846
|
-
* 分页大小,默认值为20,最小值为1,最大值为
|
2846
|
+
* 分页大小,默认值为20,最小值为1,最大值为1000。
|
2847
2847
|
*/
|
2848
2848
|
Limit?: number;
|
2849
2849
|
}
|
@@ -3007,10 +3007,12 @@ export interface BinlogInfo {
|
|
3007
3007
|
Date?: string;
|
3008
3008
|
/**
|
3009
3009
|
* 下载地址
|
3010
|
+
说明:此下载地址和参数 InternetUrl 的下载地址一样。
|
3010
3011
|
*/
|
3011
3012
|
IntranetUrl?: string;
|
3012
3013
|
/**
|
3013
3014
|
* 下载地址
|
3015
|
+
说明:此下载地址和参数 IntranetUrl 的下载地址一样。
|
3014
3016
|
*/
|
3015
3017
|
InternetUrl?: string;
|
3016
3018
|
/**
|
@@ -3043,6 +3045,7 @@ export interface BinlogInfo {
|
|
3043
3045
|
CosStorageType?: number;
|
3044
3046
|
/**
|
3045
3047
|
* 实例 ID,格式如:cdb-c1nl9rpv。与云数据库控制台页面中显示的实例 ID 相同。
|
3048
|
+
* @deprecated
|
3046
3049
|
*/
|
3047
3050
|
InstanceId?: string;
|
3048
3051
|
}
|
@@ -3403,7 +3406,7 @@ export interface DeleteAccountsResponse {
|
|
3403
3406
|
*/
|
3404
3407
|
export interface ParamTemplateInfo {
|
3405
3408
|
/**
|
3406
|
-
* 参数模板ID
|
3409
|
+
* 参数模板 ID
|
3407
3410
|
*/
|
3408
3411
|
TemplateId?: number;
|
3409
3412
|
/**
|
@@ -3415,15 +3418,15 @@ export interface ParamTemplateInfo {
|
|
3415
3418
|
*/
|
3416
3419
|
Description?: string;
|
3417
3420
|
/**
|
3418
|
-
*
|
3421
|
+
* 实例引擎版本,值为:5.5、5.6、5.7、8.0。
|
3419
3422
|
*/
|
3420
3423
|
EngineVersion?: string;
|
3421
3424
|
/**
|
3422
|
-
*
|
3425
|
+
* 参数模板类型,值为:HIGH_STABILITY、HIGH_PERFORMANCE。
|
3423
3426
|
*/
|
3424
3427
|
TemplateType?: string;
|
3425
3428
|
/**
|
3426
|
-
*
|
3429
|
+
* 参数模板引擎,值为:InnoDB、RocksDB。
|
3427
3430
|
*/
|
3428
3431
|
EngineType?: string;
|
3429
3432
|
}
|
@@ -5197,19 +5200,19 @@ export interface ModifyAuditServiceRequest {
|
|
5197
5200
|
*/
|
5198
5201
|
export interface DescribeErrorLogDataRequest {
|
5199
5202
|
/**
|
5200
|
-
* 实例 ID
|
5203
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
5201
5204
|
*/
|
5202
5205
|
InstanceId: string;
|
5203
5206
|
/**
|
5204
|
-
* 开始时间戳。例如
|
5207
|
+
* 开始时间戳。例如1585142640,秒级。
|
5205
5208
|
*/
|
5206
5209
|
StartTime: number;
|
5207
5210
|
/**
|
5208
|
-
* 结束时间戳。例如
|
5211
|
+
* 结束时间戳。例如1585142640,秒级。
|
5209
5212
|
*/
|
5210
5213
|
EndTime: number;
|
5211
5214
|
/**
|
5212
|
-
* 要匹配的关键字列表,最多支持15
|
5215
|
+
* 要匹配的关键字列表,最多支持15个关键字,支持模糊匹配。
|
5213
5216
|
*/
|
5214
5217
|
KeyWords?: Array<string>;
|
5215
5218
|
/**
|
@@ -8220,7 +8223,7 @@ export interface DescribeSlowLogsRequest {
|
|
8220
8223
|
*/
|
8221
8224
|
Offset?: number;
|
8222
8225
|
/**
|
8223
|
-
* 分页大小,默认值为20,最小值为1,最大值为
|
8226
|
+
* 分页大小,默认值为20,最小值为1,最大值为1000。
|
8224
8227
|
*/
|
8225
8228
|
Limit?: number;
|
8226
8229
|
}
|
@@ -10247,7 +10250,7 @@ export interface DescribeSSLStatusRequest {
|
|
10247
10250
|
*/
|
10248
10251
|
export interface DescribeSlowLogDataRequest {
|
10249
10252
|
/**
|
10250
|
-
* 实例 ID
|
10253
|
+
* 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
10251
10254
|
*/
|
10252
10255
|
InstanceId: string;
|
10253
10256
|
/**
|
@@ -10273,11 +10276,16 @@ export interface DescribeSlowLogDataRequest {
|
|
10273
10276
|
*/
|
10274
10277
|
DataBases?: Array<string>;
|
10275
10278
|
/**
|
10276
|
-
*
|
10279
|
+
* 排序字段,当前支持字段及含义如下,默认值为 Timestamp。
|
10280
|
+
1. Timestamp:SQL 的执行时间
|
10281
|
+
2. QueryTime:SQL 的执行时长(秒)
|
10282
|
+
3. LockTime:锁时长(秒)
|
10283
|
+
4. RowsExamined:扫描行数
|
10284
|
+
5. RowsSent:结果集行数
|
10277
10285
|
*/
|
10278
10286
|
SortBy?: string;
|
10279
10287
|
/**
|
10280
|
-
*
|
10288
|
+
* 升序还是降序排列。当前支持值为 ASC - 升序,DESC - 降序 ,默认值为 ASC。
|
10281
10289
|
*/
|
10282
10290
|
OrderBy?: string;
|
10283
10291
|
/**
|
@@ -10285,7 +10293,7 @@ export interface DescribeSlowLogDataRequest {
|
|
10285
10293
|
*/
|
10286
10294
|
Offset?: number;
|
10287
10295
|
/**
|
10288
|
-
* 一次性返回的记录数量,默认为100,最大为
|
10296
|
+
* 一次性返回的记录数量,默认为100,最大为800。
|
10289
10297
|
*/
|
10290
10298
|
Limit?: number;
|
10291
10299
|
/**
|