tencentcloud-sdk-nodejs-intl-en 3.0.445 → 3.0.448

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.445",
3
+ "version": "3.0.448",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -50,6 +50,7 @@ const DescribeRoleListRequest = models.DescribeRoleListRequest;
50
50
  const DescribeUserSAMLConfigRequest = models.DescribeUserSAMLConfigRequest;
51
51
  const PutRolePermissionsBoundaryRequest = models.PutRolePermissionsBoundaryRequest;
52
52
  const GetGroupRequest = models.GetGroupRequest;
53
+ const StrategyInfo = models.StrategyInfo;
53
54
  const DeleteRoleResponse = models.DeleteRoleResponse;
54
55
  const PolicyVersionItem = models.PolicyVersionItem;
55
56
  const DetachUserPolicyRequest = models.DetachUserPolicyRequest;
@@ -80,7 +81,7 @@ const GetUserResponse = models.GetUserResponse;
80
81
  const CreatePolicyResponse = models.CreatePolicyResponse;
81
82
  const DetachRolePolicyRequest = models.DetachRolePolicyRequest;
82
83
  const DeleteRolePermissionsBoundaryRequest = models.DeleteRolePermissionsBoundaryRequest;
83
- const StrategyInfo = models.StrategyInfo;
84
+ const RoleTags = models.RoleTags;
84
85
  const DescribeUserOIDCConfigResponse = models.DescribeUserOIDCConfigResponse;
85
86
  const DeletePolicyRequest = models.DeletePolicyRequest;
86
87
  const GroupInfo = models.GroupInfo;
@@ -501,6 +501,12 @@ class CreateServiceLinkedRoleRequest extends AbstractModel {
501
501
  */
502
502
  this.Description = null;
503
503
 
504
+ /**
505
+ * Tags bound to the role.
506
+ * @type {Array.<RoleTags> || null}
507
+ */
508
+ this.Tags = null;
509
+
504
510
  }
505
511
 
506
512
  /**
@@ -514,6 +520,15 @@ class CreateServiceLinkedRoleRequest extends AbstractModel {
514
520
  this.CustomSuffix = 'CustomSuffix' in params ? params.CustomSuffix : null;
515
521
  this.Description = 'Description' in params ? params.Description : null;
516
522
 
523
+ if (params.Tags) {
524
+ this.Tags = new Array();
525
+ for (let z in params.Tags) {
526
+ let obj = new RoleTags();
527
+ obj.deserialize(params.Tags[z]);
528
+ this.Tags.push(obj);
529
+ }
530
+ }
531
+
517
532
  }
518
533
  }
519
534
 
@@ -1206,6 +1221,12 @@ class DescribeRoleListRequest extends AbstractModel {
1206
1221
  */
1207
1222
  this.Rp = null;
1208
1223
 
1224
+ /**
1225
+ * A parameter used to filter the list of roles under a tag.
1226
+ * @type {Array.<RoleTags> || null}
1227
+ */
1228
+ this.Tags = null;
1229
+
1209
1230
  }
1210
1231
 
1211
1232
  /**
@@ -1218,6 +1239,15 @@ class DescribeRoleListRequest extends AbstractModel {
1218
1239
  this.Page = 'Page' in params ? params.Page : null;
1219
1240
  this.Rp = 'Rp' in params ? params.Rp : null;
1220
1241
 
1242
+ if (params.Tags) {
1243
+ this.Tags = new Array();
1244
+ for (let z in params.Tags) {
1245
+ let obj = new RoleTags();
1246
+ obj.deserialize(params.Tags[z]);
1247
+ this.Tags.push(obj);
1248
+ }
1249
+ }
1250
+
1221
1251
  }
1222
1252
  }
1223
1253
 
@@ -1312,6 +1342,141 @@ class GetGroupRequest extends AbstractModel {
1312
1342
  }
1313
1343
  }
1314
1344
 
1345
+ /**
1346
+ * Policy information
1347
+ * @class
1348
+ */
1349
+ class StrategyInfo extends AbstractModel {
1350
+ constructor(){
1351
+ super();
1352
+
1353
+ /**
1354
+ * Policy ID
1355
+ * @type {number || null}
1356
+ */
1357
+ this.PolicyId = null;
1358
+
1359
+ /**
1360
+ * Policy name
1361
+ * @type {string || null}
1362
+ */
1363
+ this.PolicyName = null;
1364
+
1365
+ /**
1366
+ * Time policy created
1367
+ Note: This field may return null, indicating that no valid value was found.
1368
+ * @type {string || null}
1369
+ */
1370
+ this.AddTime = null;
1371
+
1372
+ /**
1373
+ * Policy type. 1: Custom policy; 2: Preset policy
1374
+ * @type {number || null}
1375
+ */
1376
+ this.Type = null;
1377
+
1378
+ /**
1379
+ * Policy description
1380
+ Note: This field may return null, indicating that no valid value was found.
1381
+ * @type {string || null}
1382
+ */
1383
+ this.Description = null;
1384
+
1385
+ /**
1386
+ * How the policy was created: 1: Via console; 2: Via syntax
1387
+ * @type {number || null}
1388
+ */
1389
+ this.CreateMode = null;
1390
+
1391
+ /**
1392
+ * Number of associated users
1393
+ * @type {number || null}
1394
+ */
1395
+ this.Attachments = null;
1396
+
1397
+ /**
1398
+ * Product associated with the policy
1399
+ Note: This field may return null, indicating that no valid value was found.
1400
+ * @type {string || null}
1401
+ */
1402
+ this.ServiceType = null;
1403
+
1404
+ /**
1405
+ * This value should not be null when querying whether a marked entity has been associated with a policy. 0 indicates that no policy has been associated, while 1 indicates that a policy has been associated
1406
+ * @type {number || null}
1407
+ */
1408
+ this.IsAttached = null;
1409
+
1410
+ /**
1411
+ * Queries if the policy has been deactivated
1412
+ Note: this field may return null, indicating that no valid values can be obtained.
1413
+ * @type {number || null}
1414
+ */
1415
+ this.Deactived = null;
1416
+
1417
+ /**
1418
+ * List of deprecated products
1419
+ Note: this field may return null, indicating that no valid values can be obtained.
1420
+ * @type {Array.<string> || null}
1421
+ */
1422
+ this.DeactivedDetail = null;
1423
+
1424
+ /**
1425
+ * The deletion task identifier used to check the deletion status of the service-linked role
1426
+ Note: this field may return null, indicating that no valid values can be obtained.
1427
+ * @type {number || null}
1428
+ */
1429
+ this.IsServiceLinkedPolicy = null;
1430
+
1431
+ /**
1432
+ * The number of entities associated with the policy.
1433
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1434
+ * @type {number || null}
1435
+ */
1436
+ this.AttachEntityCount = null;
1437
+
1438
+ /**
1439
+ * The number of entities associated with the permission boundary.
1440
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1441
+ * @type {number || null}
1442
+ */
1443
+ this.AttachEntityBoundaryCount = null;
1444
+
1445
+ /**
1446
+ * The last edited time.
1447
+ Note: this field may return `null`, indicating that no valid values can be obtained.
1448
+ * @type {string || null}
1449
+ */
1450
+ this.UpdateTime = null;
1451
+
1452
+ }
1453
+
1454
+ /**
1455
+ * @private
1456
+ */
1457
+ deserialize(params) {
1458
+ if (!params) {
1459
+ return;
1460
+ }
1461
+ this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
1462
+ this.PolicyName = 'PolicyName' in params ? params.PolicyName : null;
1463
+ this.AddTime = 'AddTime' in params ? params.AddTime : null;
1464
+ this.Type = 'Type' in params ? params.Type : null;
1465
+ this.Description = 'Description' in params ? params.Description : null;
1466
+ this.CreateMode = 'CreateMode' in params ? params.CreateMode : null;
1467
+ this.Attachments = 'Attachments' in params ? params.Attachments : null;
1468
+ this.ServiceType = 'ServiceType' in params ? params.ServiceType : null;
1469
+ this.IsAttached = 'IsAttached' in params ? params.IsAttached : null;
1470
+ this.Deactived = 'Deactived' in params ? params.Deactived : null;
1471
+ this.DeactivedDetail = 'DeactivedDetail' in params ? params.DeactivedDetail : null;
1472
+ this.IsServiceLinkedPolicy = 'IsServiceLinkedPolicy' in params ? params.IsServiceLinkedPolicy : null;
1473
+ this.AttachEntityCount = 'AttachEntityCount' in params ? params.AttachEntityCount : null;
1474
+ this.AttachEntityBoundaryCount = 'AttachEntityBoundaryCount' in params ? params.AttachEntityBoundaryCount : null;
1475
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
1476
+
1477
+ }
1478
+ }
1479
+
1315
1480
  /**
1316
1481
  * DeleteRole response structure.
1317
1482
  * @class
@@ -2156,6 +2321,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
2156
2321
  */
2157
2322
  this.DeletionTaskId = null;
2158
2323
 
2324
+ /**
2325
+ * Tags.
2326
+ Note: This field may return `null`, indicating that no valid values can be obtained.
2327
+ * @type {Array.<RoleTags> || null}
2328
+ */
2329
+ this.Tags = null;
2330
+
2159
2331
  }
2160
2332
 
2161
2333
  /**
@@ -2176,6 +2348,15 @@ Note: this field may return null, indicating that no valid values can be obtaine
2176
2348
  this.SessionDuration = 'SessionDuration' in params ? params.SessionDuration : null;
2177
2349
  this.DeletionTaskId = 'DeletionTaskId' in params ? params.DeletionTaskId : null;
2178
2350
 
2351
+ if (params.Tags) {
2352
+ this.Tags = new Array();
2353
+ for (let z in params.Tags) {
2354
+ let obj = new RoleTags();
2355
+ obj.deserialize(params.Tags[z]);
2356
+ this.Tags.push(obj);
2357
+ }
2358
+ }
2359
+
2179
2360
  }
2180
2361
  }
2181
2362
 
@@ -2568,111 +2749,24 @@ class DeleteRolePermissionsBoundaryRequest extends AbstractModel {
2568
2749
  }
2569
2750
 
2570
2751
  /**
2571
- * Policy information
2752
+ * Role tag type
2572
2753
  * @class
2573
2754
  */
2574
- class StrategyInfo extends AbstractModel {
2755
+ class RoleTags extends AbstractModel {
2575
2756
  constructor(){
2576
2757
  super();
2577
2758
 
2578
2759
  /**
2579
- * Policy ID
2580
- * @type {number || null}
2581
- */
2582
- this.PolicyId = null;
2583
-
2584
- /**
2585
- * Policy name
2586
- * @type {string || null}
2587
- */
2588
- this.PolicyName = null;
2589
-
2590
- /**
2591
- * Time policy created
2592
- Note: This field may return null, indicating that no valid value was found.
2593
- * @type {string || null}
2594
- */
2595
- this.AddTime = null;
2596
-
2597
- /**
2598
- * Policy type. 1: Custom policy; 2: Preset policy
2599
- * @type {number || null}
2600
- */
2601
- this.Type = null;
2602
-
2603
- /**
2604
- * Policy description
2605
- Note: This field may return null, indicating that no valid value was found.
2760
+ * Tag key.
2606
2761
  * @type {string || null}
2607
2762
  */
2608
- this.Description = null;
2609
-
2610
- /**
2611
- * How the policy was created: 1: Via console; 2: Via syntax
2612
- * @type {number || null}
2613
- */
2614
- this.CreateMode = null;
2763
+ this.Key = null;
2615
2764
 
2616
2765
  /**
2617
- * Number of associated users
2618
- * @type {number || null}
2619
- */
2620
- this.Attachments = null;
2621
-
2622
- /**
2623
- * Product associated with the policy
2624
- Note: This field may return null, indicating that no valid value was found.
2766
+ * Tag value.
2625
2767
  * @type {string || null}
2626
2768
  */
2627
- this.ServiceType = null;
2628
-
2629
- /**
2630
- * This value should not be null when querying whether a marked entity has been associated with a policy. 0 indicates that no policy has been associated, while 1 indicates that a policy has been associated
2631
- * @type {number || null}
2632
- */
2633
- this.IsAttached = null;
2634
-
2635
- /**
2636
- * Queries if the policy has been deactivated
2637
- Note: this field may return null, indicating that no valid values can be obtained.
2638
- * @type {number || null}
2639
- */
2640
- this.Deactived = null;
2641
-
2642
- /**
2643
- * List of deprecated products
2644
- Note: this field may return null, indicating that no valid values can be obtained.
2645
- * @type {Array.<string> || null}
2646
- */
2647
- this.DeactivedDetail = null;
2648
-
2649
- /**
2650
- * The deletion task identifier used to check the deletion status of the service-linked role
2651
- Note: this field may return null, indicating that no valid values can be obtained.
2652
- * @type {number || null}
2653
- */
2654
- this.IsServiceLinkedPolicy = null;
2655
-
2656
- /**
2657
- * The number of entities associated with the policy.
2658
- Note: this field may return `null`, indicating that no valid values can be obtained.
2659
- * @type {number || null}
2660
- */
2661
- this.AttachEntityCount = null;
2662
-
2663
- /**
2664
- * The number of entities associated with the permission boundary.
2665
- Note: this field may return `null`, indicating that no valid values can be obtained.
2666
- * @type {number || null}
2667
- */
2668
- this.AttachEntityBoundaryCount = null;
2669
-
2670
- /**
2671
- * The last edited time.
2672
- Note: this field may return `null`, indicating that no valid values can be obtained.
2673
- * @type {string || null}
2674
- */
2675
- this.UpdateTime = null;
2769
+ this.Value = null;
2676
2770
 
2677
2771
  }
2678
2772
 
@@ -2683,21 +2777,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
2683
2777
  if (!params) {
2684
2778
  return;
2685
2779
  }
2686
- this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
2687
- this.PolicyName = 'PolicyName' in params ? params.PolicyName : null;
2688
- this.AddTime = 'AddTime' in params ? params.AddTime : null;
2689
- this.Type = 'Type' in params ? params.Type : null;
2690
- this.Description = 'Description' in params ? params.Description : null;
2691
- this.CreateMode = 'CreateMode' in params ? params.CreateMode : null;
2692
- this.Attachments = 'Attachments' in params ? params.Attachments : null;
2693
- this.ServiceType = 'ServiceType' in params ? params.ServiceType : null;
2694
- this.IsAttached = 'IsAttached' in params ? params.IsAttached : null;
2695
- this.Deactived = 'Deactived' in params ? params.Deactived : null;
2696
- this.DeactivedDetail = 'DeactivedDetail' in params ? params.DeactivedDetail : null;
2697
- this.IsServiceLinkedPolicy = 'IsServiceLinkedPolicy' in params ? params.IsServiceLinkedPolicy : null;
2698
- this.AttachEntityCount = 'AttachEntityCount' in params ? params.AttachEntityCount : null;
2699
- this.AttachEntityBoundaryCount = 'AttachEntityBoundaryCount' in params ? params.AttachEntityBoundaryCount : null;
2700
- this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
2780
+ this.Key = 'Key' in params ? params.Key : null;
2781
+ this.Value = 'Value' in params ? params.Value : null;
2701
2782
 
2702
2783
  }
2703
2784
  }
@@ -6255,6 +6336,12 @@ class CreateRoleRequest extends AbstractModel {
6255
6336
  */
6256
6337
  this.SessionDuration = null;
6257
6338
 
6339
+ /**
6340
+ * Tags bound to the role.
6341
+ * @type {Array.<RoleTags> || null}
6342
+ */
6343
+ this.Tags = null;
6344
+
6258
6345
  }
6259
6346
 
6260
6347
  /**
@@ -6270,6 +6357,15 @@ class CreateRoleRequest extends AbstractModel {
6270
6357
  this.ConsoleLogin = 'ConsoleLogin' in params ? params.ConsoleLogin : null;
6271
6358
  this.SessionDuration = 'SessionDuration' in params ? params.SessionDuration : null;
6272
6359
 
6360
+ if (params.Tags) {
6361
+ this.Tags = new Array();
6362
+ for (let z in params.Tags) {
6363
+ let obj = new RoleTags();
6364
+ obj.deserialize(params.Tags[z]);
6365
+ this.Tags.push(obj);
6366
+ }
6367
+ }
6368
+
6273
6369
  }
6274
6370
  }
6275
6371
 
@@ -7523,6 +7619,7 @@ module.exports = {
7523
7619
  DescribeUserSAMLConfigRequest: DescribeUserSAMLConfigRequest,
7524
7620
  PutRolePermissionsBoundaryRequest: PutRolePermissionsBoundaryRequest,
7525
7621
  GetGroupRequest: GetGroupRequest,
7622
+ StrategyInfo: StrategyInfo,
7526
7623
  DeleteRoleResponse: DeleteRoleResponse,
7527
7624
  PolicyVersionItem: PolicyVersionItem,
7528
7625
  DetachUserPolicyRequest: DetachUserPolicyRequest,
@@ -7553,7 +7650,7 @@ module.exports = {
7553
7650
  CreatePolicyResponse: CreatePolicyResponse,
7554
7651
  DetachRolePolicyRequest: DetachRolePolicyRequest,
7555
7652
  DeleteRolePermissionsBoundaryRequest: DeleteRolePermissionsBoundaryRequest,
7556
- StrategyInfo: StrategyInfo,
7653
+ RoleTags: RoleTags,
7557
7654
  DescribeUserOIDCConfigResponse: DescribeUserOIDCConfigResponse,
7558
7655
  DeletePolicyRequest: DeletePolicyRequest,
7559
7656
  GroupInfo: GroupInfo,
@@ -25,7 +25,7 @@ const PartitionOffset = models.PartitionOffset;
25
25
  const DescribeACLRequest = models.DescribeACLRequest;
26
26
  const BatchModifyTopicResultDTO = models.BatchModifyTopicResultDTO;
27
27
  const DescribeTopicAttributesRequest = models.DescribeTopicAttributesRequest;
28
- const FetchMessageByOffsetRequest = models.FetchMessageByOffsetRequest;
28
+ const DescribeInstanceAttributesRequest = models.DescribeInstanceAttributesRequest;
29
29
  const ConsumerGroup = models.ConsumerGroup;
30
30
  const Assignment = models.Assignment;
31
31
  const DescribeConsumerGroupResponse = models.DescribeConsumerGroupResponse;
@@ -33,10 +33,13 @@ const DeleteTopicRequest = models.DeleteTopicRequest;
33
33
  const DescribeInstancesResponse = models.DescribeInstancesResponse;
34
34
  const FetchMessageByOffsetResponse = models.FetchMessageByOffsetResponse;
35
35
  const BatchModifyTopicAttributesResponse = models.BatchModifyTopicAttributesResponse;
36
+ const CreateInstancePreResp = models.CreateInstancePreResp;
36
37
  const GroupInfoTopics = models.GroupInfoTopics;
37
38
  const TopicResult = models.TopicResult;
38
39
  const Region = models.Region;
40
+ const ModifyInstancePreRequest = models.ModifyInstancePreRequest;
39
41
  const DescribeInstancesDetailResponse = models.DescribeInstancesDetailResponse;
42
+ const CreateInstancePreData = models.CreateInstancePreData;
40
43
  const AclRule = models.AclRule;
41
44
  const DescribeACLResponse = models.DescribeACLResponse;
42
45
  const DynamicDiskConfig = models.DynamicDiskConfig;
@@ -77,7 +80,7 @@ const DeleteAclResponse = models.DeleteAclResponse;
77
80
  const DynamicRetentionTime = models.DynamicRetentionTime;
78
81
  const DescribeTopicSubscribeGroupRequest = models.DescribeTopicSubscribeGroupRequest;
79
82
  const InstanceDetailResponse = models.InstanceDetailResponse;
80
- const DescribeInstanceAttributesRequest = models.DescribeInstanceAttributesRequest;
83
+ const FetchMessageByOffsetRequest = models.FetchMessageByOffsetRequest;
81
84
  const TopicInSyncReplicaInfo = models.TopicInSyncReplicaInfo;
82
85
  const DescribeRegionRequest = models.DescribeRegionRequest;
83
86
  const InstanceConfigDO = models.InstanceConfigDO;
@@ -118,6 +121,7 @@ const DescribeGroupRequest = models.DescribeGroupRequest;
118
121
  const Filter = models.Filter;
119
122
  const GroupOffsetResponse = models.GroupOffsetResponse;
120
123
  const BatchCreateAclResponse = models.BatchCreateAclResponse;
124
+ const ModifyInstancePreResponse = models.ModifyInstancePreResponse;
121
125
  const CreateUserRequest = models.CreateUserRequest;
122
126
  const DeleteRouteRequest = models.DeleteRouteRequest;
123
127
  const DeleteTopicIpWhiteListResponse = models.DeleteTopicIpWhiteListResponse;
@@ -224,6 +228,17 @@ class CkafkaClient extends AbstractClient {
224
228
  this.request("DescribeTopicSubscribeGroup", req, resp, cb);
225
229
  }
226
230
 
231
+ /**
232
+ * This API is used to change the configurations of a prepaid instance, such as disk capacity and bandwidth.
233
+ * @param {ModifyInstancePreRequest} req
234
+ * @param {function(string, ModifyInstancePreResponse):void} cb
235
+ * @public
236
+ */
237
+ ModifyInstancePre(req, cb) {
238
+ let resp = new ModifyInstancePreResponse();
239
+ this.request("ModifyInstancePre", req, resp, cb);
240
+ }
241
+
227
242
  /**
228
243
  * This API is used to batch set topic attributes.
229
244
  * @param {BatchModifyTopicAttributesRequest} req