tencentcloud-sdk-nodejs-cam 4.0.341 → 4.0.344

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.
@@ -223,6 +223,10 @@ export interface CreateServiceLinkedRoleRequest {
223
223
  * 角色说明。
224
224
  */
225
225
  Description?: string;
226
+ /**
227
+ * 角色绑定标签。
228
+ */
229
+ Tags?: Array<RoleTags>;
226
230
  }
227
231
  /**
228
232
  * ListAttachedGroupPolicies请求参数结构体
@@ -491,6 +495,10 @@ export interface DescribeRoleListRequest {
491
495
  * 每页行数,不能大于200
492
496
  */
493
497
  Rp: number;
498
+ /**
499
+ * 标签筛选
500
+ */
501
+ Tags?: Array<RoleTags>;
494
502
  }
495
503
  /**
496
504
  * DescribeUserSAMLConfig请求参数结构体
@@ -522,6 +530,81 @@ export interface GetGroupRequest {
522
530
  */
523
531
  GroupId: number;
524
532
  }
533
+ /**
534
+ * 策略信息
535
+ */
536
+ export interface StrategyInfo {
537
+ /**
538
+ * 策略ID。
539
+ */
540
+ PolicyId: number;
541
+ /**
542
+ * 策略名称。
543
+ */
544
+ PolicyName: string;
545
+ /**
546
+ * 策略创建时间。
547
+ 注意:此字段可能返回 null,表示取不到有效值。
548
+ */
549
+ AddTime: string;
550
+ /**
551
+ * 策略类型。1 表示自定义策略,2 表示预设策略。
552
+ */
553
+ Type: number;
554
+ /**
555
+ * 策略描述。
556
+ 注意:此字段可能返回 null,表示取不到有效值。
557
+ */
558
+ Description: string;
559
+ /**
560
+ * 创建来源,1 通过控制台创建, 2 通过策略语法创建。
561
+ */
562
+ CreateMode: number;
563
+ /**
564
+ * 关联的用户数
565
+ */
566
+ Attachments: number;
567
+ /**
568
+ * 策略关联的产品
569
+ 注意:此字段可能返回 null,表示取不到有效值。
570
+ */
571
+ ServiceType: string;
572
+ /**
573
+ * 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略
574
+ 注意:此字段可能返回 null,表示取不到有效值。
575
+ */
576
+ IsAttached: number;
577
+ /**
578
+ * 是否已下线
579
+ 注意:此字段可能返回 null,表示取不到有效值。
580
+ */
581
+ Deactived: number;
582
+ /**
583
+ * 已下线产品列表
584
+ 注意:此字段可能返回 null,表示取不到有效值。
585
+ */
586
+ DeactivedDetail: Array<string>;
587
+ /**
588
+ * 是否是服务相关角色策略
589
+ 注意:此字段可能返回 null,表示取不到有效值。
590
+ */
591
+ IsServiceLinkedPolicy: number;
592
+ /**
593
+ * 关联策略实体数
594
+ 注意:此字段可能返回 null,表示取不到有效值。
595
+ */
596
+ AttachEntityCount: number;
597
+ /**
598
+ * 关联权限边界实体数
599
+ 注意:此字段可能返回 null,表示取不到有效值。
600
+ */
601
+ AttachEntityBoundaryCount: number;
602
+ /**
603
+ * 最后编辑时间
604
+ 注意:此字段可能返回 null,表示取不到有效值。
605
+ */
606
+ UpdateTime: string;
607
+ }
525
608
  /**
526
609
  * DeleteRole返回参数结构体
527
610
  */
@@ -922,6 +1005,11 @@ export interface RoleInfo {
922
1005
  注意:此字段可能返回 null,表示取不到有效值。
923
1006
  */
924
1007
  DeletionTaskId: string;
1008
+ /**
1009
+ * 标签
1010
+ 注意:此字段可能返回 null,表示取不到有效值。
1011
+ */
1012
+ Tags: Array<RoleTags>;
925
1013
  }
926
1014
  /**
927
1015
  * DescribeSafeAuthFlag返回参数结构体
@@ -1151,79 +1239,17 @@ export interface DeleteRolePermissionsBoundaryRequest {
1151
1239
  RoleName?: string;
1152
1240
  }
1153
1241
  /**
1154
- * 策略信息
1242
+ * 角色标签类型
1155
1243
  */
1156
- export interface StrategyInfo {
1157
- /**
1158
- * 策略ID。
1159
- */
1160
- PolicyId: number;
1244
+ export interface RoleTags {
1161
1245
  /**
1162
- * 策略名称。
1246
+ * 标签键
1163
1247
  */
1164
- PolicyName: string;
1165
- /**
1166
- * 策略创建时间。
1167
- 注意:此字段可能返回 null,表示取不到有效值。
1168
- */
1169
- AddTime: string;
1248
+ Key: string;
1170
1249
  /**
1171
- * 策略类型。1 表示自定义策略,2 表示预设策略。
1250
+ * 标签值
1172
1251
  */
1173
- Type: number;
1174
- /**
1175
- * 策略描述。
1176
- 注意:此字段可能返回 null,表示取不到有效值。
1177
- */
1178
- Description: string;
1179
- /**
1180
- * 创建来源,1 通过控制台创建, 2 通过策略语法创建。
1181
- */
1182
- CreateMode: number;
1183
- /**
1184
- * 关联的用户数
1185
- */
1186
- Attachments: number;
1187
- /**
1188
- * 策略关联的产品
1189
- 注意:此字段可能返回 null,表示取不到有效值。
1190
- */
1191
- ServiceType: string;
1192
- /**
1193
- * 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略
1194
- 注意:此字段可能返回 null,表示取不到有效值。
1195
- */
1196
- IsAttached: number;
1197
- /**
1198
- * 是否已下线
1199
- 注意:此字段可能返回 null,表示取不到有效值。
1200
- */
1201
- Deactived: number;
1202
- /**
1203
- * 已下线产品列表
1204
- 注意:此字段可能返回 null,表示取不到有效值。
1205
- */
1206
- DeactivedDetail: Array<string>;
1207
- /**
1208
- * 是否是服务相关角色策略
1209
- 注意:此字段可能返回 null,表示取不到有效值。
1210
- */
1211
- IsServiceLinkedPolicy: number;
1212
- /**
1213
- * 关联策略实体数
1214
- 注意:此字段可能返回 null,表示取不到有效值。
1215
- */
1216
- AttachEntityCount: number;
1217
- /**
1218
- * 关联权限边界实体数
1219
- 注意:此字段可能返回 null,表示取不到有效值。
1220
- */
1221
- AttachEntityBoundaryCount: number;
1222
- /**
1223
- * 最后编辑时间
1224
- 注意:此字段可能返回 null,表示取不到有效值。
1225
- */
1226
- UpdateTime: string;
1252
+ Value: string;
1227
1253
  }
1228
1254
  /**
1229
1255
  * DescribeUserOIDCConfig返回参数结构体
@@ -2078,7 +2104,7 @@ export interface CreateServiceLinkedRoleResponse {
2078
2104
  /**
2079
2105
  * 角色ID
2080
2106
  */
2081
- RoleId?: string;
2107
+ RoleId: string;
2082
2108
  /**
2083
2109
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2084
2110
  */
@@ -2431,7 +2457,7 @@ export interface CreateRoleResponse {
2431
2457
  * 角色ID
2432
2458
  注意:此字段可能返回 null,表示取不到有效值。
2433
2459
  */
2434
- RoleId?: string;
2460
+ RoleId: string;
2435
2461
  /**
2436
2462
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2437
2463
  */
@@ -2773,6 +2799,10 @@ export interface CreateRoleRequest {
2773
2799
  * 申请角色临时密钥的最长有效期限制(范围:0~43200)
2774
2800
  */
2775
2801
  SessionDuration?: number;
2802
+ /**
2803
+ * 角色绑定标签
2804
+ */
2805
+ Tags?: Array<RoleTags>;
2776
2806
  }
2777
2807
  /**
2778
2808
  * 用户关联的策略详情