tencentcloud-sdk-nodejs 4.0.267 → 4.0.268

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 (53) hide show
  1. package/CHANGELOG.md +259 -0
  2. package/SERVICE_CHANGELOG.md +446 -118
  3. package/package.json +1 -1
  4. package/products.md +17 -16
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_models.ts +5 -0
  7. package/src/services/cam/v20190116/cam_client.ts +21 -7
  8. package/src/services/cam/v20190116/cam_models.ts +134 -11
  9. package/src/services/clb/v20180317/clb_models.ts +5 -0
  10. package/src/services/cls/v20201016/cls_models.ts +3 -49
  11. package/src/services/dlc/v20210125/dlc_models.ts +0 -1
  12. package/src/services/eb/index.ts +5 -0
  13. package/src/services/eb/v20210416/eb_client.ts +353 -0
  14. package/src/services/eb/v20210416/eb_models.ts +1483 -0
  15. package/src/services/eb/v20210416/index.ts +6 -0
  16. package/src/services/essbasic/v20210526/essbasic_models.ts +26 -6
  17. package/src/services/faceid/v20180301/faceid_client.ts +15 -1
  18. package/src/services/faceid/v20180301/faceid_models.ts +128 -8
  19. package/src/services/index.ts +1 -0
  20. package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +7 -2
  21. package/src/services/tcss/v20201101/tcss_models.ts +22 -1
  22. package/src/services/tke/v20180525/tke_models.ts +13 -0
  23. package/src/services/tsf/v20180326/tsf_models.ts +12 -0
  24. package/tencentcloud/common/sdk_version.d.ts +1 -1
  25. package/tencentcloud/common/sdk_version.js +1 -1
  26. package/tencentcloud/services/as/v20180419/as_models.d.ts +4 -0
  27. package/tencentcloud/services/cam/v20190116/cam_client.d.ts +7 -3
  28. package/tencentcloud/services/cam/v20190116/cam_client.js +9 -3
  29. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +113 -10
  30. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -0
  31. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -48
  32. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +0 -1
  33. package/tencentcloud/services/eb/index.d.ts +6 -0
  34. package/tencentcloud/services/eb/index.js +7 -0
  35. package/tencentcloud/services/eb/v20210416/eb_client.d.ts +110 -0
  36. package/tencentcloud/services/eb/v20210416/eb_client.js +181 -0
  37. package/tencentcloud/services/eb/v20210416/eb_models.d.ts +1248 -0
  38. package/tencentcloud/services/eb/v20210416/eb_models.js +18 -0
  39. package/tencentcloud/services/eb/v20210416/index.d.ts +6 -0
  40. package/tencentcloud/services/eb/v20210416/index.js +9 -0
  41. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +22 -6
  42. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
  43. package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
  44. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +108 -8
  45. package/tencentcloud/services/index.d.ts +1 -0
  46. package/tencentcloud/services/index.js +2 -0
  47. package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +6 -2
  48. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +18 -1
  49. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +11 -0
  50. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +10 -0
  51. package/test/cam.v20190116.test.js +12 -2
  52. package/test/eb.v20210416.test.js +271 -0
  53. package/test/faceid.v20180301.test.js +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.267",
3
+ "version": "4.0.268",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -3,8 +3,8 @@
3
3
  | aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2021-11-10 08:01:48 |
4
4
  | aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
5
5
  | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2021-11-10 08:01:49 |
6
- | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2021-11-18 08:02:15 |
7
- | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2021-11-18 08:02:17 |
6
+ | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-01-07 08:02:53 |
7
+ | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-01-07 08:02:54 |
8
8
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2021-12-24 08:04:29 |
9
9
  | ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2021-12-21 08:00:20 |
10
10
  | antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2021-12-20 17:09:09 |
@@ -13,7 +13,7 @@
13
13
  | api | [云 API](https://cloud.tencent.com/document/product/546) | 2021-04-25 10:09:57 |
14
14
  | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2021-12-08 08:05:34 |
15
15
  | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-01-05 08:03:38 |
16
- | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-01-05 08:03:39 |
16
+ | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-01-07 08:03:22 |
17
17
  | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2021-12-22 08:06:39 |
18
18
  | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2021-11-29 08:03:58 |
19
19
  | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2021-11-10 08:02:33 |
@@ -27,7 +27,7 @@
27
27
  | bmvpc | [黑石私有网络](https://cloud.tencent.com/document/product/1024) | 2021-11-10 08:03:01 |
28
28
  | bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
29
29
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2021-11-10 08:03:08 |
30
- | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2021-12-23 08:06:14 |
30
+ | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-01-07 08:04:06 |
31
31
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2021-12-03 08:02:43 |
32
32
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2021-12-22 08:07:25 |
33
33
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2021-12-21 08:01:42 |
@@ -42,16 +42,16 @@
42
42
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
43
43
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
44
44
  | ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2021-12-23 08:07:26 |
45
- | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-01-06 08:06:38 |
45
+ | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-01-07 08:05:24 |
46
46
  | cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-11-16 08:07:51 |
47
47
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-11-10 08:04:28 |
48
- | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-01-05 08:06:03 |
48
+ | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-01-07 08:05:42 |
49
49
  | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2021-12-24 08:07:24 |
50
50
  | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2021-11-10 08:04:45 |
51
51
  | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
52
52
  | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2021-12-09 08:03:47 |
53
53
  | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
54
- | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2021-12-22 08:09:40 |
54
+ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-01-07 08:06:20 |
55
55
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2021-12-10 08:04:29 |
56
56
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
57
57
  | cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2021-11-17 08:10:15 |
@@ -59,13 +59,14 @@
59
59
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2021-12-15 08:06:44 |
60
60
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2021-11-10 08:06:00 |
61
61
  | dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2021-12-17 08:10:31 |
62
- | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2021-12-22 08:10:52 |
62
+ | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-01-07 08:07:28 |
63
63
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2021-12-17 08:10:50 |
64
64
  | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2021-12-06 08:05:24 |
65
65
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2021-11-10 08:06:23 |
66
66
  | ds | [电子合同服务](https://cloud.tencent.com/document/product/869) | 2021-11-10 08:06:24 |
67
67
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2021-11-10 08:06:26 |
68
68
  | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2021-12-21 08:05:11 |
69
+ | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-01-07 08:07:51 |
69
70
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2021-11-10 08:06:30 |
70
71
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2021-12-22 08:11:17 |
71
72
  | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2021-12-06 08:05:41 |
@@ -73,9 +74,9 @@
73
74
  | eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2021-11-10 08:06:56 |
74
75
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2021-12-10 08:06:20 |
75
76
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2021-12-30 08:09:09 |
76
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-01-06 08:09:34 |
77
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-01-07 08:08:29 |
77
78
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-01-05 08:08:53 |
78
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-01-06 08:09:38 |
79
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-01-07 08:08:34 |
79
80
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2021-12-14 08:10:17 |
80
81
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2021-12-08 08:10:45 |
81
82
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2021-12-30 08:09:28 |
@@ -96,11 +97,11 @@
96
97
  | iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2021-12-10 08:07:35 |
97
98
  | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2021-11-10 08:08:16 |
98
99
  | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2021-12-24 08:11:21 |
99
- | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-01-06 08:11:12 |
100
+ | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-01-07 08:10:07 |
100
101
  | ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2021-11-30 14:56:41 |
101
102
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2021-12-24 08:11:42 |
102
103
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2021-12-21 08:07:35 |
103
- | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-01-05 08:10:51 |
104
+ | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-01-07 08:10:37 |
104
105
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2021-11-10 08:08:46 |
105
106
  | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2021-12-17 08:13:52 |
106
107
  | market | [云市场](https://cloud.tencent.com/document/product/306) | 2021-11-10 08:08:54 |
@@ -153,7 +154,7 @@
153
154
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
154
155
  | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2021-11-18 08:12:32 |
155
156
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2021-12-24 08:15:03 |
156
- | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2021-12-22 08:16:46 |
157
+ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-01-07 08:13:42 |
157
158
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2021-11-10 08:11:24 |
158
159
  | tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2021-12-29 08:13:22 |
159
160
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2021-12-30 08:15:01 |
@@ -164,15 +165,15 @@
164
165
  | tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2021-11-10 08:11:37 |
165
166
  | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2021-12-31 11:26:13 |
166
167
  | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2021-12-22 08:17:35 |
167
- | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2021-12-31 11:26:17 |
168
+ | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-01-07 08:14:32 |
168
169
  | tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2021-12-27 08:11:32 |
169
- | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-01-05 08:14:55 |
170
+ | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-01-07 08:14:40 |
170
171
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
171
172
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2021-12-24 08:16:25 |
172
173
  | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2021-11-10 08:12:05 |
173
174
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2021-11-11 11:09:51 |
174
175
  | tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2021-12-16 08:15:47 |
175
- | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-01-05 08:15:18 |
176
+ | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-01-07 08:15:02 |
176
177
  | tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2021-11-10 08:12:32 |
177
178
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2021-12-21 08:12:28 |
178
179
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2021-11-10 08:12:34 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.267"
1
+ export const sdkVersion = "4.0.268"
@@ -138,6 +138,11 @@ InstanceType 指定单一实例类型,通过设置 InstanceTypes可以指定
138
138
  * 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。
139
139
  */
140
140
  EnhancedService?: EnhancedService
141
+
142
+ /**
143
+ * CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。
144
+ */
145
+ CamRoleName?: string
141
146
  }
142
147
 
143
148
  /**
@@ -57,7 +57,7 @@ import {
57
57
  ListGroupsRequest,
58
58
  DeletePolicyVersionResponse,
59
59
  DetachGroupPolicyRequest,
60
- UpdateAssumeRolePolicyRequest,
60
+ AttachedUserPolicyGroupInfo,
61
61
  ListGroupsForUserResponse,
62
62
  ListUsersForGroupRequest,
63
63
  RemoveUserFromGroupRequest,
@@ -73,6 +73,7 @@ import {
73
73
  DescribeSafeAuthFlagResponse,
74
74
  CreatePolicyVersionRequest,
75
75
  SecretIdLastUsed,
76
+ ListAttachedUserAllPoliciesResponse,
76
77
  DeleteGroupRequest,
77
78
  GetUserResponse,
78
79
  GetUserPermissionBoundaryResponse,
@@ -84,6 +85,7 @@ import {
84
85
  DeletePolicyRequest,
85
86
  GroupInfo,
86
87
  AddUserRequest,
88
+ UpdateAssumeRolePolicyRequest,
87
89
  LoginActionFlag,
88
90
  DeleteRoleRequest,
89
91
  ListWeChatWorkSubAccountsRequest,
@@ -133,6 +135,7 @@ import {
133
135
  ListGrantServiceAccessActionNode,
134
136
  DetachGroupPolicyResponse,
135
137
  CreatePolicyRequest,
138
+ ListAttachedUserAllPoliciesRequest,
136
139
  DeletePolicyVersionRequest,
137
140
  CreateUserSAMLConfigRequest,
138
141
  UpdateGroupRequest,
@@ -157,6 +160,7 @@ import {
157
160
  DetachUserPolicyResponse,
158
161
  GetRoleResponse,
159
162
  CreateRoleRequest,
163
+ AttachedUserPolicy,
160
164
  DeleteServiceLinkedRoleResponse,
161
165
  GetPolicyResponse,
162
166
  DescribeSafeAuthFlagRequest,
@@ -556,13 +560,13 @@ export class Client extends AbstractClient {
556
560
  }
557
561
 
558
562
  /**
559
- * 本接口(UpdateAssumeRolePolicy)用于修改角色信任策略的策略文档。
563
+ * 列出用户关联的策略(包括随组关联)
560
564
  */
561
- async UpdateAssumeRolePolicy(
562
- req: UpdateAssumeRolePolicyRequest,
563
- cb?: (error: string, rep: UpdateAssumeRolePolicyResponse) => void
564
- ): Promise<UpdateAssumeRolePolicyResponse> {
565
- return this.request("UpdateAssumeRolePolicy", req, cb)
565
+ async ListAttachedUserAllPolicies(
566
+ req: ListAttachedUserAllPoliciesRequest,
567
+ cb?: (error: string, rep: ListAttachedUserAllPoliciesResponse) => void
568
+ ): Promise<ListAttachedUserAllPoliciesResponse> {
569
+ return this.request("ListAttachedUserAllPolicies", req, cb)
566
570
  }
567
571
 
568
572
  /**
@@ -875,6 +879,16 @@ export class Client extends AbstractClient {
875
879
  return this.request("CreatePolicy", req, cb)
876
880
  }
877
881
 
882
+ /**
883
+ * 本接口(UpdateAssumeRolePolicy)用于修改角色信任策略的策略文档。
884
+ */
885
+ async UpdateAssumeRolePolicy(
886
+ req: UpdateAssumeRolePolicyRequest,
887
+ cb?: (error: string, rep: UpdateAssumeRolePolicyResponse) => void
888
+ ): Promise<UpdateAssumeRolePolicyResponse> {
889
+ return this.request("UpdateAssumeRolePolicy", req, cb)
890
+ }
891
+
878
892
  /**
879
893
  * 本接口(DetachUserPolicy)可用于解除绑定到用户的策略。
880
894
  */
@@ -654,23 +654,18 @@ export interface DetachGroupPolicyRequest {
654
654
  }
655
655
 
656
656
  /**
657
- * UpdateAssumeRolePolicy请求参数结构体
657
+ * 用户关联策略(随组管理)信息
658
658
  */
659
- export interface UpdateAssumeRolePolicyRequest {
660
- /**
661
- * 策略文档,示例:{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]},principal用于指定角色的授权对象。获取该参数可参阅 获取角色详情(https://cloud.tencent.com/document/product/598/36221) 输出参数RoleInfo
662
- */
663
- PolicyDocument: string
664
-
659
+ export interface AttachedUserPolicyGroupInfo {
665
660
  /**
666
- * 角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一
661
+ * 分组ID
667
662
  */
668
- RoleId?: string
663
+ GroupId: number
669
664
 
670
665
  /**
671
- * 角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一
666
+ * 分组名称
672
667
  */
673
- RoleName?: string
668
+ GroupName: string
674
669
  }
675
670
 
676
671
  /**
@@ -1045,6 +1040,26 @@ export interface SecretIdLastUsed {
1045
1040
  LastUsedDate: string
1046
1041
  }
1047
1042
 
1043
+ /**
1044
+ * ListAttachedUserAllPolicies返回参数结构体
1045
+ */
1046
+ export interface ListAttachedUserAllPoliciesResponse {
1047
+ /**
1048
+ * 策略列表数据
1049
+ */
1050
+ PolicyList: Array<AttachedUserPolicy>
1051
+
1052
+ /**
1053
+ * 策略总数
1054
+ */
1055
+ TotalNum: number
1056
+
1057
+ /**
1058
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1059
+ */
1060
+ RequestId?: string
1061
+ }
1062
+
1048
1063
  /**
1049
1064
  * DeleteGroup请求参数结构体
1050
1065
  */
@@ -1385,6 +1400,26 @@ export interface AddUserRequest {
1385
1400
  Email?: string
1386
1401
  }
1387
1402
 
1403
+ /**
1404
+ * UpdateAssumeRolePolicy请求参数结构体
1405
+ */
1406
+ export interface UpdateAssumeRolePolicyRequest {
1407
+ /**
1408
+ * 策略文档,示例:{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]},principal用于指定角色的授权对象。获取该参数可参阅 获取角色详情(https://cloud.tencent.com/document/product/598/36221) 输出参数RoleInfo
1409
+ */
1410
+ PolicyDocument: string
1411
+
1412
+ /**
1413
+ * 角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一
1414
+ */
1415
+ RoleId?: string
1416
+
1417
+ /**
1418
+ * 角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一
1419
+ */
1420
+ RoleName?: string
1421
+ }
1422
+
1388
1423
  /**
1389
1424
  * 登录和敏感操作flag
1390
1425
  */
@@ -2322,6 +2357,41 @@ export interface CreatePolicyRequest {
2322
2357
  Description?: string
2323
2358
  }
2324
2359
 
2360
+ /**
2361
+ * ListAttachedUserAllPolicies请求参数结构体
2362
+ */
2363
+ export interface ListAttachedUserAllPoliciesRequest {
2364
+ /**
2365
+ * 目标用户ID
2366
+ */
2367
+ TargetUin: number
2368
+
2369
+ /**
2370
+ * 每页数量,必须大于 0 且小于或等于 200
2371
+ */
2372
+ Rp: number
2373
+
2374
+ /**
2375
+ * 页码,从 1开始,不能大于 200
2376
+ */
2377
+ Page: number
2378
+
2379
+ /**
2380
+ * 0:返回直接关联和随组关联策略,1:只返回直接关联策略,2:只返回随组关联策略
2381
+ */
2382
+ AttachType: number
2383
+
2384
+ /**
2385
+ * 策略类型
2386
+ */
2387
+ StrategyType?: number
2388
+
2389
+ /**
2390
+ * 搜索关键字
2391
+ */
2392
+ Keyword?: string
2393
+ }
2394
+
2325
2395
  /**
2326
2396
  * DeletePolicyVersion请求参数结构体
2327
2397
  */
@@ -2749,6 +2819,59 @@ export interface CreateRoleRequest {
2749
2819
  SessionDuration?: number
2750
2820
  }
2751
2821
 
2822
+ /**
2823
+ * 用户关联的策略详情
2824
+ */
2825
+ export interface AttachedUserPolicy {
2826
+ /**
2827
+ * 策略ID
2828
+ */
2829
+ PolicyId: string
2830
+
2831
+ /**
2832
+ * 策略名
2833
+ */
2834
+ PolicyName: string
2835
+
2836
+ /**
2837
+ * 策略描述
2838
+ */
2839
+ Description: string
2840
+
2841
+ /**
2842
+ * 创建时间
2843
+ */
2844
+ AddTime: string
2845
+
2846
+ /**
2847
+ * 策略类型(1表示自定义策略,2表示预设策略)
2848
+ */
2849
+ StrategyType: string
2850
+
2851
+ /**
2852
+ * 创建模式(1表示按产品或项目权限创建的策略,其他表示策略语法创建的策略)
2853
+ */
2854
+ CreateMode: string
2855
+
2856
+ /**
2857
+ * 随组关联信息
2858
+ 注意:此字段可能返回 null,表示取不到有效值。
2859
+ */
2860
+ Groups: Array<AttachedUserPolicyGroupInfo>
2861
+
2862
+ /**
2863
+ * 是否已下线(0:否 1:是)
2864
+ 注意:此字段可能返回 null,表示取不到有效值。
2865
+ */
2866
+ Deactived: number
2867
+
2868
+ /**
2869
+ * 已下线的产品列表
2870
+ 注意:此字段可能返回 null,表示取不到有效值。
2871
+ */
2872
+ DeactivedDetail: Array<string>
2873
+ }
2874
+
2752
2875
  /**
2753
2876
  * DeleteServiceLinkedRole返回参数结构体
2754
2877
  */
@@ -469,6 +469,11 @@ export interface CloneLoadBalancerRequest {
469
469
  */
470
470
  ClusterIds?: Array<string>
471
471
 
472
+ /**
473
+ * 性能保障规格。
474
+ */
475
+ SlaType?: string
476
+
472
477
  /**
473
478
  * Stgw独占集群的标签。
474
479
  */
@@ -1556,54 +1556,8 @@ export interface DeleteConsumerResponse {
1556
1556
  */
1557
1557
  export interface DescribeTopicsRequest {
1558
1558
  /**
1559
- * <br><li> topicName
1560
-
1561
- 按照【日志主题名称】进行过滤。
1562
- 类型:String
1563
-
1564
- 必选:否
1565
-
1566
- <br><li> topicId
1567
-
1568
- 按照【日志主题ID】进行过滤。
1569
- 类型:String
1570
-
1571
- 必选:否
1572
-
1573
- <br><li> logsetId
1574
-
1575
- 按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。
1576
-
1577
- 类型:String
1578
-
1579
- 必选:否
1580
-
1581
- <br><li> tagKey
1582
-
1583
- 按照【标签键】进行过滤。
1584
-
1585
- 类型:String
1586
-
1587
- 必选:否
1588
-
1589
- <br><li> tag:tagKey
1590
-
1591
- 按照【标签键值对】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。
1592
-
1593
- 类型:String
1594
-
1595
- 必选:否
1596
-
1597
- <br><li> storageType
1598
-
1599
- 按照【日志主题的存储类型】进行过滤。可选值 hot(实时存储),cold(离线存储)
1600
- 类型:String
1601
-
1602
- 必选:否
1603
-
1604
-
1605
- 每次请求的Filters的上限为10,Filter.Values的上限为100。
1606
- */
1559
+ * <br><li> topicName按照【日志主题名称】进行过滤。类型:String必选:否<br><li> logsetName按照【日志集名称】进行过滤。类型:String必选:否<br><li> topicId按照【日志主题ID】进行过滤。类型:String必选:否<br><li> logsetId按照【日志集ID】进行过滤,可通过调用DescribeLogsets查询已创建的日志集列表或登录控制台进行查看;也可以调用CreateLogset创建新的日志集。类型:String必选:否<br><li> tagKey按照【标签键】进行过滤。类型:String必选:否<br><li> tag:tagKey按照【标签键值对】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。类型:String必选:否<br><li> storageType按照【日志主题的存储类型】进行过滤。可选值 hot(实时存储),cold(离线存储)类型:String必选:否每次请求的Filters的上限为10,Filter.Values的上限为100。
1560
+ */
1607
1561
  Filters?: Array<Filter>
1608
1562
 
1609
1563
  /**
@@ -2872,7 +2826,7 @@ export interface DescribeMachinesResponse {
2872
2826
  UpdateEndTime: string
2873
2827
 
2874
2828
  /**
2875
- * 当前用户可用最新的Loglistener版本
2829
+ * 当前用户可用最新的Loglistener版本
2876
2830
  */
2877
2831
  LatestAgentVersion: string
2878
2832
 
@@ -450,7 +450,6 @@ task-id - String - (任务ID准确过滤)task-id取值形如:e386471f-139a
450
450
  task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败)。
451
451
  task-sql-keyword - String - (SQL语句关键字模糊过滤)取值形如:DROP TABLE。
452
452
  task-operator- string (子uin过滤)
453
- task-type -string (任务类型过滤)分导入任务和sql任务
454
453
  */
455
454
  Filters?: Array<Filter>
456
455
 
@@ -0,0 +1,5 @@
1
+ import { v20210416 } from "./v20210416"
2
+
3
+ export const eb = {
4
+ v20210416: v20210416,
5
+ }