tencentcloud-sdk-nodejs-intl-en 3.0.367 → 3.0.371
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 +1 -1
- package/tencentcloud/apigateway/v20180808/apigateway_client.js +3 -2
- package/tencentcloud/apigateway/v20180808/models.js +105 -41
- package/tencentcloud/billing/v20180709/models.js +12 -11
- package/tencentcloud/cam/v20190116/cam_client.js +16 -1
- package/tencentcloud/cam/v20190116/models.js +264 -17
- package/tencentcloud/cdn/v20180606/models.js +54 -3
- package/tencentcloud/ckafka/v20190819/models.js +41 -3
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +30 -4
- package/tencentcloud/dbbrain/v20210527/models.js +309 -116
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +14 -0
- package/tencentcloud/dcdb/v20180411/models.js +144 -7
- package/tencentcloud/emr/v20190103/emr_client.js +2 -0
- package/tencentcloud/emr/v20190103/models.js +109 -0
- package/tencentcloud/live/v20180801/live_client.js +18 -1
- package/tencentcloud/live/v20180801/models.js +163 -5
- package/tencentcloud/monitor/v20180724/models.js +16 -0
- package/tencentcloud/redis/v20180412/models.js +7 -0
- package/tencentcloud/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/ses/v20201002/models.js +610 -29
- package/tencentcloud/ses/v20201002/ses_client.js +157 -103
- package/tencentcloud/ssm/v20190923/models.js +33 -5
- package/tencentcloud/ssm/v20190923/ssm_client.js +2 -1
|
@@ -1358,30 +1358,24 @@ class UpdateSAMLProviderRequest extends AbstractModel {
|
|
|
1358
1358
|
}
|
|
1359
1359
|
|
|
1360
1360
|
/**
|
|
1361
|
-
*
|
|
1361
|
+
* Information on policies associated with the user via the user group.
|
|
1362
1362
|
* @class
|
|
1363
1363
|
*/
|
|
1364
|
-
class
|
|
1364
|
+
class AttachedUserPolicyGroupInfo extends AbstractModel {
|
|
1365
1365
|
constructor(){
|
|
1366
1366
|
super();
|
|
1367
1367
|
|
|
1368
1368
|
/**
|
|
1369
|
-
*
|
|
1370
|
-
* @type {
|
|
1371
|
-
*/
|
|
1372
|
-
this.PolicyDocument = null;
|
|
1373
|
-
|
|
1374
|
-
/**
|
|
1375
|
-
* Role ID, used to specify a role. Input either `RoleId` or `RoleName`
|
|
1376
|
-
* @type {string || null}
|
|
1369
|
+
* Group ID.
|
|
1370
|
+
* @type {number || null}
|
|
1377
1371
|
*/
|
|
1378
|
-
this.
|
|
1372
|
+
this.GroupId = null;
|
|
1379
1373
|
|
|
1380
1374
|
/**
|
|
1381
|
-
*
|
|
1375
|
+
* Group name.
|
|
1382
1376
|
* @type {string || null}
|
|
1383
1377
|
*/
|
|
1384
|
-
this.
|
|
1378
|
+
this.GroupName = null;
|
|
1385
1379
|
|
|
1386
1380
|
}
|
|
1387
1381
|
|
|
@@ -1392,9 +1386,8 @@ class UpdateAssumeRolePolicyRequest extends AbstractModel {
|
|
|
1392
1386
|
if (!params) {
|
|
1393
1387
|
return;
|
|
1394
1388
|
}
|
|
1395
|
-
this.
|
|
1396
|
-
this.
|
|
1397
|
-
this.RoleName = 'RoleName' in params ? params.RoleName : null;
|
|
1389
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
1390
|
+
this.GroupName = 'GroupName' in params ? params.GroupName : null;
|
|
1398
1391
|
|
|
1399
1392
|
}
|
|
1400
1393
|
}
|
|
@@ -2069,6 +2062,56 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
2069
2062
|
}
|
|
2070
2063
|
}
|
|
2071
2064
|
|
|
2065
|
+
/**
|
|
2066
|
+
* ListAttachedUserAllPolicies response structure.
|
|
2067
|
+
* @class
|
|
2068
|
+
*/
|
|
2069
|
+
class ListAttachedUserAllPoliciesResponse extends AbstractModel {
|
|
2070
|
+
constructor(){
|
|
2071
|
+
super();
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* Policy list.
|
|
2075
|
+
* @type {Array.<AttachedUserPolicy> || null}
|
|
2076
|
+
*/
|
|
2077
|
+
this.PolicyList = null;
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* Total number of policies.
|
|
2081
|
+
* @type {number || null}
|
|
2082
|
+
*/
|
|
2083
|
+
this.TotalNum = null;
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2087
|
+
* @type {string || null}
|
|
2088
|
+
*/
|
|
2089
|
+
this.RequestId = null;
|
|
2090
|
+
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* @private
|
|
2095
|
+
*/
|
|
2096
|
+
deserialize(params) {
|
|
2097
|
+
if (!params) {
|
|
2098
|
+
return;
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
if (params.PolicyList) {
|
|
2102
|
+
this.PolicyList = new Array();
|
|
2103
|
+
for (let z in params.PolicyList) {
|
|
2104
|
+
let obj = new AttachedUserPolicy();
|
|
2105
|
+
obj.deserialize(params.PolicyList[z]);
|
|
2106
|
+
this.PolicyList.push(obj);
|
|
2107
|
+
}
|
|
2108
|
+
}
|
|
2109
|
+
this.TotalNum = 'TotalNum' in params ? params.TotalNum : null;
|
|
2110
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2111
|
+
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2072
2115
|
/**
|
|
2073
2116
|
* DeleteGroup request structure.
|
|
2074
2117
|
* @class
|
|
@@ -2589,6 +2632,48 @@ class AddUserRequest extends AbstractModel {
|
|
|
2589
2632
|
}
|
|
2590
2633
|
}
|
|
2591
2634
|
|
|
2635
|
+
/**
|
|
2636
|
+
* UpdateAssumeRolePolicy request structure.
|
|
2637
|
+
* @class
|
|
2638
|
+
*/
|
|
2639
|
+
class UpdateAssumeRolePolicyRequest extends AbstractModel {
|
|
2640
|
+
constructor(){
|
|
2641
|
+
super();
|
|
2642
|
+
|
|
2643
|
+
/**
|
|
2644
|
+
* Policy document
|
|
2645
|
+
* @type {string || null}
|
|
2646
|
+
*/
|
|
2647
|
+
this.PolicyDocument = null;
|
|
2648
|
+
|
|
2649
|
+
/**
|
|
2650
|
+
* Role ID, used to specify a role. Input either `RoleId` or `RoleName`
|
|
2651
|
+
* @type {string || null}
|
|
2652
|
+
*/
|
|
2653
|
+
this.RoleId = null;
|
|
2654
|
+
|
|
2655
|
+
/**
|
|
2656
|
+
* Role name, used to specify a role. Input either `RoleId` or `RoleName`
|
|
2657
|
+
* @type {string || null}
|
|
2658
|
+
*/
|
|
2659
|
+
this.RoleName = null;
|
|
2660
|
+
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2663
|
+
/**
|
|
2664
|
+
* @private
|
|
2665
|
+
*/
|
|
2666
|
+
deserialize(params) {
|
|
2667
|
+
if (!params) {
|
|
2668
|
+
return;
|
|
2669
|
+
}
|
|
2670
|
+
this.PolicyDocument = 'PolicyDocument' in params ? params.PolicyDocument : null;
|
|
2671
|
+
this.RoleId = 'RoleId' in params ? params.RoleId : null;
|
|
2672
|
+
this.RoleName = 'RoleName' in params ? params.RoleName : null;
|
|
2673
|
+
|
|
2674
|
+
}
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2592
2677
|
/**
|
|
2593
2678
|
* Login and sensitive operation flag
|
|
2594
2679
|
* @class
|
|
@@ -4393,6 +4478,69 @@ class CreatePolicyRequest extends AbstractModel {
|
|
|
4393
4478
|
}
|
|
4394
4479
|
}
|
|
4395
4480
|
|
|
4481
|
+
/**
|
|
4482
|
+
* ListAttachedUserAllPolicies request structure.
|
|
4483
|
+
* @class
|
|
4484
|
+
*/
|
|
4485
|
+
class ListAttachedUserAllPoliciesRequest extends AbstractModel {
|
|
4486
|
+
constructor(){
|
|
4487
|
+
super();
|
|
4488
|
+
|
|
4489
|
+
/**
|
|
4490
|
+
* Target user ID.
|
|
4491
|
+
* @type {number || null}
|
|
4492
|
+
*/
|
|
4493
|
+
this.TargetUin = null;
|
|
4494
|
+
|
|
4495
|
+
/**
|
|
4496
|
+
* The number of policies displayed on each page. Value range: 1-200.
|
|
4497
|
+
* @type {number || null}
|
|
4498
|
+
*/
|
|
4499
|
+
this.Rp = null;
|
|
4500
|
+
|
|
4501
|
+
/**
|
|
4502
|
+
* Page number. Value range: 1-200.
|
|
4503
|
+
* @type {number || null}
|
|
4504
|
+
*/
|
|
4505
|
+
this.Page = null;
|
|
4506
|
+
|
|
4507
|
+
/**
|
|
4508
|
+
* `0`: return policies that are directly associated and inherited from the user group; `1`: return policies that are directly associated; `2`: return policies inherited from the user group.
|
|
4509
|
+
* @type {number || null}
|
|
4510
|
+
*/
|
|
4511
|
+
this.AttachType = null;
|
|
4512
|
+
|
|
4513
|
+
/**
|
|
4514
|
+
* Policy type.
|
|
4515
|
+
* @type {number || null}
|
|
4516
|
+
*/
|
|
4517
|
+
this.StrategyType = null;
|
|
4518
|
+
|
|
4519
|
+
/**
|
|
4520
|
+
* Keyword for searching.
|
|
4521
|
+
* @type {string || null}
|
|
4522
|
+
*/
|
|
4523
|
+
this.Keyword = null;
|
|
4524
|
+
|
|
4525
|
+
}
|
|
4526
|
+
|
|
4527
|
+
/**
|
|
4528
|
+
* @private
|
|
4529
|
+
*/
|
|
4530
|
+
deserialize(params) {
|
|
4531
|
+
if (!params) {
|
|
4532
|
+
return;
|
|
4533
|
+
}
|
|
4534
|
+
this.TargetUin = 'TargetUin' in params ? params.TargetUin : null;
|
|
4535
|
+
this.Rp = 'Rp' in params ? params.Rp : null;
|
|
4536
|
+
this.Page = 'Page' in params ? params.Page : null;
|
|
4537
|
+
this.AttachType = 'AttachType' in params ? params.AttachType : null;
|
|
4538
|
+
this.StrategyType = 'StrategyType' in params ? params.StrategyType : null;
|
|
4539
|
+
this.Keyword = 'Keyword' in params ? params.Keyword : null;
|
|
4540
|
+
|
|
4541
|
+
}
|
|
4542
|
+
}
|
|
4543
|
+
|
|
4396
4544
|
/**
|
|
4397
4545
|
* DeletePolicyVersion request structure.
|
|
4398
4546
|
* @class
|
|
@@ -5331,6 +5479,101 @@ class CreateRoleRequest extends AbstractModel {
|
|
|
5331
5479
|
}
|
|
5332
5480
|
}
|
|
5333
5481
|
|
|
5482
|
+
/**
|
|
5483
|
+
* Details of policies associated with the user
|
|
5484
|
+
* @class
|
|
5485
|
+
*/
|
|
5486
|
+
class AttachedUserPolicy extends AbstractModel {
|
|
5487
|
+
constructor(){
|
|
5488
|
+
super();
|
|
5489
|
+
|
|
5490
|
+
/**
|
|
5491
|
+
* Policy ID.
|
|
5492
|
+
* @type {string || null}
|
|
5493
|
+
*/
|
|
5494
|
+
this.PolicyId = null;
|
|
5495
|
+
|
|
5496
|
+
/**
|
|
5497
|
+
* Policy name.
|
|
5498
|
+
* @type {string || null}
|
|
5499
|
+
*/
|
|
5500
|
+
this.PolicyName = null;
|
|
5501
|
+
|
|
5502
|
+
/**
|
|
5503
|
+
* Policy description.
|
|
5504
|
+
* @type {string || null}
|
|
5505
|
+
*/
|
|
5506
|
+
this.Description = null;
|
|
5507
|
+
|
|
5508
|
+
/**
|
|
5509
|
+
* Creation time.
|
|
5510
|
+
* @type {string || null}
|
|
5511
|
+
*/
|
|
5512
|
+
this.AddTime = null;
|
|
5513
|
+
|
|
5514
|
+
/**
|
|
5515
|
+
* Policy type (`1`: custom policy; `2`: preset policy).
|
|
5516
|
+
* @type {string || null}
|
|
5517
|
+
*/
|
|
5518
|
+
this.StrategyType = null;
|
|
5519
|
+
|
|
5520
|
+
/**
|
|
5521
|
+
* Creation mode (`1`: create by product feature or project permission; other values: create by policy syntax).
|
|
5522
|
+
* @type {string || null}
|
|
5523
|
+
*/
|
|
5524
|
+
this.CreateMode = null;
|
|
5525
|
+
|
|
5526
|
+
/**
|
|
5527
|
+
* Information on policies inherited from the user group.
|
|
5528
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
5529
|
+
* @type {Array.<AttachedUserPolicyGroupInfo> || null}
|
|
5530
|
+
*/
|
|
5531
|
+
this.Groups = null;
|
|
5532
|
+
|
|
5533
|
+
/**
|
|
5534
|
+
* Whether the product has been deprecated (`0`: no; `1`: yes).
|
|
5535
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
5536
|
+
* @type {number || null}
|
|
5537
|
+
*/
|
|
5538
|
+
this.Deactived = null;
|
|
5539
|
+
|
|
5540
|
+
/**
|
|
5541
|
+
* List of deprecated products.
|
|
5542
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
5543
|
+
* @type {Array.<string> || null}
|
|
5544
|
+
*/
|
|
5545
|
+
this.DeactivedDetail = null;
|
|
5546
|
+
|
|
5547
|
+
}
|
|
5548
|
+
|
|
5549
|
+
/**
|
|
5550
|
+
* @private
|
|
5551
|
+
*/
|
|
5552
|
+
deserialize(params) {
|
|
5553
|
+
if (!params) {
|
|
5554
|
+
return;
|
|
5555
|
+
}
|
|
5556
|
+
this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
|
|
5557
|
+
this.PolicyName = 'PolicyName' in params ? params.PolicyName : null;
|
|
5558
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
5559
|
+
this.AddTime = 'AddTime' in params ? params.AddTime : null;
|
|
5560
|
+
this.StrategyType = 'StrategyType' in params ? params.StrategyType : null;
|
|
5561
|
+
this.CreateMode = 'CreateMode' in params ? params.CreateMode : null;
|
|
5562
|
+
|
|
5563
|
+
if (params.Groups) {
|
|
5564
|
+
this.Groups = new Array();
|
|
5565
|
+
for (let z in params.Groups) {
|
|
5566
|
+
let obj = new AttachedUserPolicyGroupInfo();
|
|
5567
|
+
obj.deserialize(params.Groups[z]);
|
|
5568
|
+
this.Groups.push(obj);
|
|
5569
|
+
}
|
|
5570
|
+
}
|
|
5571
|
+
this.Deactived = 'Deactived' in params ? params.Deactived : null;
|
|
5572
|
+
this.DeactivedDetail = 'DeactivedDetail' in params ? params.DeactivedDetail : null;
|
|
5573
|
+
|
|
5574
|
+
}
|
|
5575
|
+
}
|
|
5576
|
+
|
|
5334
5577
|
/**
|
|
5335
5578
|
* DeleteServiceLinkedRole response structure.
|
|
5336
5579
|
* @class
|
|
@@ -6558,7 +6801,7 @@ module.exports = {
|
|
|
6558
6801
|
ListGroupsRequest: ListGroupsRequest,
|
|
6559
6802
|
DeletePolicyVersionResponse: DeletePolicyVersionResponse,
|
|
6560
6803
|
UpdateSAMLProviderRequest: UpdateSAMLProviderRequest,
|
|
6561
|
-
|
|
6804
|
+
AttachedUserPolicyGroupInfo: AttachedUserPolicyGroupInfo,
|
|
6562
6805
|
ListGroupsForUserResponse: ListGroupsForUserResponse,
|
|
6563
6806
|
ListUsersForGroupRequest: ListUsersForGroupRequest,
|
|
6564
6807
|
RemoveUserFromGroupRequest: RemoveUserFromGroupRequest,
|
|
@@ -6573,6 +6816,7 @@ module.exports = {
|
|
|
6573
6816
|
DescribeSafeAuthFlagResponse: DescribeSafeAuthFlagResponse,
|
|
6574
6817
|
CreatePolicyVersionRequest: CreatePolicyVersionRequest,
|
|
6575
6818
|
SecretIdLastUsed: SecretIdLastUsed,
|
|
6819
|
+
ListAttachedUserAllPoliciesResponse: ListAttachedUserAllPoliciesResponse,
|
|
6576
6820
|
DeleteGroupRequest: DeleteGroupRequest,
|
|
6577
6821
|
GetUserResponse: GetUserResponse,
|
|
6578
6822
|
DeleteUserResponse: DeleteUserResponse,
|
|
@@ -6582,6 +6826,7 @@ module.exports = {
|
|
|
6582
6826
|
DeletePolicyRequest: DeletePolicyRequest,
|
|
6583
6827
|
GroupInfo: GroupInfo,
|
|
6584
6828
|
AddUserRequest: AddUserRequest,
|
|
6829
|
+
UpdateAssumeRolePolicyRequest: UpdateAssumeRolePolicyRequest,
|
|
6585
6830
|
LoginActionFlag: LoginActionFlag,
|
|
6586
6831
|
DeleteRoleRequest: DeleteRoleRequest,
|
|
6587
6832
|
UpdateRoleConsoleLoginRequest: UpdateRoleConsoleLoginRequest,
|
|
@@ -6626,6 +6871,7 @@ module.exports = {
|
|
|
6626
6871
|
GetServiceLinkedRoleDeletionStatusRequest: GetServiceLinkedRoleDeletionStatusRequest,
|
|
6627
6872
|
DetachGroupPolicyResponse: DetachGroupPolicyResponse,
|
|
6628
6873
|
CreatePolicyRequest: CreatePolicyRequest,
|
|
6874
|
+
ListAttachedUserAllPoliciesRequest: ListAttachedUserAllPoliciesRequest,
|
|
6629
6875
|
DeletePolicyVersionRequest: DeletePolicyVersionRequest,
|
|
6630
6876
|
CreateUserSAMLConfigRequest: CreateUserSAMLConfigRequest,
|
|
6631
6877
|
UpdateGroupRequest: UpdateGroupRequest,
|
|
@@ -6649,6 +6895,7 @@ module.exports = {
|
|
|
6649
6895
|
DetachUserPolicyResponse: DetachUserPolicyResponse,
|
|
6650
6896
|
GetRoleResponse: GetRoleResponse,
|
|
6651
6897
|
CreateRoleRequest: CreateRoleRequest,
|
|
6898
|
+
AttachedUserPolicy: AttachedUserPolicy,
|
|
6652
6899
|
DeleteServiceLinkedRoleResponse: DeleteServiceLinkedRoleResponse,
|
|
6653
6900
|
GetPolicyResponse: GetPolicyResponse,
|
|
6654
6901
|
DescribeSafeAuthFlagRequest: DescribeSafeAuthFlagRequest,
|
|
@@ -4386,6 +4386,20 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
4386
4386
|
*/
|
|
4387
4387
|
this.VideoSeek = null;
|
|
4388
4388
|
|
|
4389
|
+
/**
|
|
4390
|
+
* Private access for S3 origin
|
|
4391
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
4392
|
+
* @type {AwsPrivateAccess || null}
|
|
4393
|
+
*/
|
|
4394
|
+
this.AwsPrivateAccess = null;
|
|
4395
|
+
|
|
4396
|
+
/**
|
|
4397
|
+
* Private access for OSS origin
|
|
4398
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
4399
|
+
* @type {OssPrivateAccess || null}
|
|
4400
|
+
*/
|
|
4401
|
+
this.OssPrivateAccess = null;
|
|
4402
|
+
|
|
4389
4403
|
}
|
|
4390
4404
|
|
|
4391
4405
|
/**
|
|
@@ -4535,6 +4549,18 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
4535
4549
|
this.VideoSeek = obj;
|
|
4536
4550
|
}
|
|
4537
4551
|
|
|
4552
|
+
if (params.AwsPrivateAccess) {
|
|
4553
|
+
let obj = new AwsPrivateAccess();
|
|
4554
|
+
obj.deserialize(params.AwsPrivateAccess)
|
|
4555
|
+
this.AwsPrivateAccess = obj;
|
|
4556
|
+
}
|
|
4557
|
+
|
|
4558
|
+
if (params.OssPrivateAccess) {
|
|
4559
|
+
let obj = new OssPrivateAccess();
|
|
4560
|
+
obj.deserialize(params.OssPrivateAccess)
|
|
4561
|
+
this.OssPrivateAccess = obj;
|
|
4562
|
+
}
|
|
4563
|
+
|
|
4538
4564
|
}
|
|
4539
4565
|
}
|
|
4540
4566
|
|
|
@@ -6959,9 +6985,8 @@ class ServerCert extends AbstractModel {
|
|
|
6959
6985
|
super();
|
|
6960
6986
|
|
|
6961
6987
|
/**
|
|
6962
|
-
* Server certificate ID
|
|
6963
|
-
|
|
6964
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
6988
|
+
* Server certificate ID, which is auto-generated when the certificate is added to Tencent Cloud SSL Certificates
|
|
6989
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6965
6990
|
* @type {string || null}
|
|
6966
6991
|
*/
|
|
6967
6992
|
this.CertId = null;
|
|
@@ -9353,6 +9378,20 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
9353
9378
|
*/
|
|
9354
9379
|
this.VideoSeek = null;
|
|
9355
9380
|
|
|
9381
|
+
/**
|
|
9382
|
+
* Private access for S3 origin
|
|
9383
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
9384
|
+
* @type {AwsPrivateAccess || null}
|
|
9385
|
+
*/
|
|
9386
|
+
this.AwsPrivateAccess = null;
|
|
9387
|
+
|
|
9388
|
+
/**
|
|
9389
|
+
* Private access for OSS origin
|
|
9390
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
9391
|
+
* @type {OssPrivateAccess || null}
|
|
9392
|
+
*/
|
|
9393
|
+
this.OssPrivateAccess = null;
|
|
9394
|
+
|
|
9356
9395
|
}
|
|
9357
9396
|
|
|
9358
9397
|
/**
|
|
@@ -9502,6 +9541,18 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
9502
9541
|
this.VideoSeek = obj;
|
|
9503
9542
|
}
|
|
9504
9543
|
|
|
9544
|
+
if (params.AwsPrivateAccess) {
|
|
9545
|
+
let obj = new AwsPrivateAccess();
|
|
9546
|
+
obj.deserialize(params.AwsPrivateAccess)
|
|
9547
|
+
this.AwsPrivateAccess = obj;
|
|
9548
|
+
}
|
|
9549
|
+
|
|
9550
|
+
if (params.OssPrivateAccess) {
|
|
9551
|
+
let obj = new OssPrivateAccess();
|
|
9552
|
+
obj.deserialize(params.OssPrivateAccess)
|
|
9553
|
+
this.OssPrivateAccess = obj;
|
|
9554
|
+
}
|
|
9555
|
+
|
|
9505
9556
|
}
|
|
9506
9557
|
}
|
|
9507
9558
|
|
|
@@ -4761,6 +4761,12 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
4761
4761
|
*/
|
|
4762
4762
|
this.TagKey = null;
|
|
4763
4763
|
|
|
4764
|
+
/**
|
|
4765
|
+
* VPC ID.
|
|
4766
|
+
* @type {string || null}
|
|
4767
|
+
*/
|
|
4768
|
+
this.VpcId = null;
|
|
4769
|
+
|
|
4764
4770
|
}
|
|
4765
4771
|
|
|
4766
4772
|
/**
|
|
@@ -4776,6 +4782,7 @@ class DescribeInstancesRequest extends AbstractModel {
|
|
|
4776
4782
|
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4777
4783
|
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4778
4784
|
this.TagKey = 'TagKey' in params ? params.TagKey : null;
|
|
4785
|
+
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
4779
4786
|
|
|
4780
4787
|
}
|
|
4781
4788
|
}
|
|
@@ -5369,13 +5376,13 @@ class DescribeInstancesDetailRequest extends AbstractModel {
|
|
|
5369
5376
|
this.Status = null;
|
|
5370
5377
|
|
|
5371
5378
|
/**
|
|
5372
|
-
* Offset. If this parameter is left empty, 0 will be used by default
|
|
5379
|
+
* Offset. If this parameter is left empty, `0` will be used by default.
|
|
5373
5380
|
* @type {number || null}
|
|
5374
5381
|
*/
|
|
5375
5382
|
this.Offset = null;
|
|
5376
5383
|
|
|
5377
5384
|
/**
|
|
5378
|
-
* Number of results
|
|
5385
|
+
* Number of returned results. If this parameter is left empty, `10` will be used by default. The maximum value is `20`.
|
|
5379
5386
|
* @type {number || null}
|
|
5380
5387
|
*/
|
|
5381
5388
|
this.Limit = null;
|
|
@@ -5387,11 +5394,17 @@ class DescribeInstancesDetailRequest extends AbstractModel {
|
|
|
5387
5394
|
this.TagKey = null;
|
|
5388
5395
|
|
|
5389
5396
|
/**
|
|
5390
|
-
* Filter
|
|
5397
|
+
* Filter.
|
|
5391
5398
|
* @type {Array.<Filter> || null}
|
|
5392
5399
|
*/
|
|
5393
5400
|
this.Filters = null;
|
|
5394
5401
|
|
|
5402
|
+
/**
|
|
5403
|
+
* This parameter has been deprecated and replaced with `InstanceIdList`.
|
|
5404
|
+
* @type {string || null}
|
|
5405
|
+
*/
|
|
5406
|
+
this.InstanceIds = null;
|
|
5407
|
+
|
|
5395
5408
|
}
|
|
5396
5409
|
|
|
5397
5410
|
/**
|
|
@@ -5416,6 +5429,7 @@ class DescribeInstancesDetailRequest extends AbstractModel {
|
|
|
5416
5429
|
this.Filters.push(obj);
|
|
5417
5430
|
}
|
|
5418
5431
|
}
|
|
5432
|
+
this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
|
|
5419
5433
|
|
|
5420
5434
|
}
|
|
5421
5435
|
}
|
|
@@ -7246,6 +7260,27 @@ Note: `null` may be returned for this field, indicating that no valid values can
|
|
|
7246
7260
|
*/
|
|
7247
7261
|
this.RebalanceTime = null;
|
|
7248
7262
|
|
|
7263
|
+
/**
|
|
7264
|
+
* Number of partitions in the current instance.
|
|
7265
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7266
|
+
* @type {number || null}
|
|
7267
|
+
*/
|
|
7268
|
+
this.PartitionNumber = null;
|
|
7269
|
+
|
|
7270
|
+
/**
|
|
7271
|
+
* Public network bandwidth type.
|
|
7272
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7273
|
+
* @type {string || null}
|
|
7274
|
+
*/
|
|
7275
|
+
this.PublicNetworkChargeType = null;
|
|
7276
|
+
|
|
7277
|
+
/**
|
|
7278
|
+
* Public network bandwidth.
|
|
7279
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7280
|
+
* @type {number || null}
|
|
7281
|
+
*/
|
|
7282
|
+
this.PublicNetwork = null;
|
|
7283
|
+
|
|
7249
7284
|
}
|
|
7250
7285
|
|
|
7251
7286
|
/**
|
|
@@ -7298,6 +7333,9 @@ Note: `null` may be returned for this field, indicating that no valid values can
|
|
|
7298
7333
|
this.MaxTopicNumber = 'MaxTopicNumber' in params ? params.MaxTopicNumber : null;
|
|
7299
7334
|
this.MaxPartitionNumber = 'MaxPartitionNumber' in params ? params.MaxPartitionNumber : null;
|
|
7300
7335
|
this.RebalanceTime = 'RebalanceTime' in params ? params.RebalanceTime : null;
|
|
7336
|
+
this.PartitionNumber = 'PartitionNumber' in params ? params.PartitionNumber : null;
|
|
7337
|
+
this.PublicNetworkChargeType = 'PublicNetworkChargeType' in params ? params.PublicNetworkChargeType : null;
|
|
7338
|
+
this.PublicNetwork = 'PublicNetwork' in params ? params.PublicNetwork : null;
|
|
7301
7339
|
|
|
7302
7340
|
}
|
|
7303
7341
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.371";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -18,6 +18,7 @@ const models = require("./models");
|
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const SchemaSpaceTimeSeries = models.SchemaSpaceTimeSeries;
|
|
20
20
|
const HealthReportTask = models.HealthReportTask;
|
|
21
|
+
const CreateDBDiagReportTaskResponse = models.CreateDBDiagReportTaskResponse;
|
|
21
22
|
const CreateDBDiagReportTaskRequest = models.CreateDBDiagReportTaskRequest;
|
|
22
23
|
const TableSpaceTimeSeries = models.TableSpaceTimeSeries;
|
|
23
24
|
const DescribeTopSpaceTablesRequest = models.DescribeTopSpaceTablesRequest;
|
|
@@ -44,10 +45,12 @@ const DescribeSecurityAuditLogDownloadUrlsRequest = models.DescribeSecurityAudit
|
|
|
44
45
|
const MySqlProcess = models.MySqlProcess;
|
|
45
46
|
const CreateMailProfileResponse = models.CreateMailProfileResponse;
|
|
46
47
|
const DescribeSlowLogTimeSeriesStatsRequest = models.DescribeSlowLogTimeSeriesStatsRequest;
|
|
47
|
-
const CreateDBDiagReportUrlResponse = models.CreateDBDiagReportUrlResponse;
|
|
48
|
-
const DescribeDBDiagHistoryRequest = models.DescribeDBDiagHistoryRequest;
|
|
49
|
-
const CreateDBDiagReportTaskResponse = models.CreateDBDiagReportTaskResponse;
|
|
50
48
|
const DiagHistoryEventItem = models.DiagHistoryEventItem;
|
|
49
|
+
const DescribeDBDiagHistoryRequest = models.DescribeDBDiagHistoryRequest;
|
|
50
|
+
const CreateKillTaskResponse = models.CreateKillTaskResponse;
|
|
51
|
+
const DescribeDBDiagEventsRequest = models.DescribeDBDiagEventsRequest;
|
|
52
|
+
const CreateDBDiagReportUrlResponse = models.CreateDBDiagReportUrlResponse;
|
|
53
|
+
const CreateKillTaskRequest = models.CreateKillTaskRequest;
|
|
51
54
|
const SlowLogHost = models.SlowLogHost;
|
|
52
55
|
const CreateMailProfileRequest = models.CreateMailProfileRequest;
|
|
53
56
|
const MonitorFloatMetricSeriesData = models.MonitorFloatMetricSeriesData;
|
|
@@ -84,16 +87,17 @@ const DescribeHealthScoreRequest = models.DescribeHealthScoreRequest;
|
|
|
84
87
|
const IssueTypeInfo = models.IssueTypeInfo;
|
|
85
88
|
const DescribeDiagDBInstancesResponse = models.DescribeDiagDBInstancesResponse;
|
|
86
89
|
const DescribeAllUserGroupRequest = models.DescribeAllUserGroupRequest;
|
|
90
|
+
const CreateProxySessionKillTaskRequest = models.CreateProxySessionKillTaskRequest;
|
|
87
91
|
const CreateSecurityAuditLogExportTaskResponse = models.CreateSecurityAuditLogExportTaskResponse;
|
|
88
92
|
const SchemaItem = models.SchemaItem;
|
|
89
93
|
const DescribeSlowLogUserHostStatsRequest = models.DescribeSlowLogUserHostStatsRequest;
|
|
90
94
|
const DescribeTopSpaceSchemasResponse = models.DescribeTopSpaceSchemasResponse;
|
|
95
|
+
const CreateProxySessionKillTaskResponse = models.CreateProxySessionKillTaskResponse;
|
|
91
96
|
const DescribeSlowLogTimeSeriesStatsResponse = models.DescribeSlowLogTimeSeriesStatsResponse;
|
|
92
97
|
const MonitorFloatMetric = models.MonitorFloatMetric;
|
|
93
98
|
const DescribeAllUserGroupResponse = models.DescribeAllUserGroupResponse;
|
|
94
99
|
const DescribeUserSqlAdviceResponse = models.DescribeUserSqlAdviceResponse;
|
|
95
100
|
const DescribeDBSpaceStatusResponse = models.DescribeDBSpaceStatusResponse;
|
|
96
|
-
const DescribeDBDiagEventsRequest = models.DescribeDBDiagEventsRequest;
|
|
97
101
|
const GroupItem = models.GroupItem;
|
|
98
102
|
const DescribeTopSpaceTableTimeSeriesRequest = models.DescribeTopSpaceTableTimeSeriesRequest;
|
|
99
103
|
const DescribeDBDiagReportTasksRequest = models.DescribeDBDiagReportTasksRequest;
|
|
@@ -173,6 +177,17 @@ class DbbrainClient extends AbstractClient {
|
|
|
173
177
|
this.request("DescribeMySqlProcessList", req, resp, cb);
|
|
174
178
|
}
|
|
175
179
|
|
|
180
|
+
/**
|
|
181
|
+
* This API is used to create an async task of killing all proxy node connection sessions and is currently supported only for Redis. The async task ID is the returned value, which can be passed to the API `DescribeProxySessionKillTasks` as a parameter to query the execution status of the session killing task.
|
|
182
|
+
* @param {CreateProxySessionKillTaskRequest} req
|
|
183
|
+
* @param {function(string, CreateProxySessionKillTaskResponse):void} cb
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
CreateProxySessionKillTask(req, cb) {
|
|
187
|
+
let resp = new CreateProxySessionKillTaskResponse();
|
|
188
|
+
this.request("CreateProxySessionKillTask", req, resp, cb);
|
|
189
|
+
}
|
|
190
|
+
|
|
176
191
|
/**
|
|
177
192
|
* This API is used to query the list of health report generation tasks.
|
|
178
193
|
* @param {DescribeDBDiagReportTasksRequest} req
|
|
@@ -393,6 +408,17 @@ class DbbrainClient extends AbstractClient {
|
|
|
393
408
|
this.request("DescribeTopSpaceSchemaTimeSeries", req, resp, cb);
|
|
394
409
|
}
|
|
395
410
|
|
|
411
|
+
/**
|
|
412
|
+
* This API is used to create session killing tasks.
|
|
413
|
+
* @param {CreateKillTaskRequest} req
|
|
414
|
+
* @param {function(string, CreateKillTaskResponse):void} cb
|
|
415
|
+
* @public
|
|
416
|
+
*/
|
|
417
|
+
CreateKillTask(req, cb) {
|
|
418
|
+
let resp = new CreateKillTaskResponse();
|
|
419
|
+
this.request("CreateKillTask", req, resp, cb);
|
|
420
|
+
}
|
|
421
|
+
|
|
396
422
|
/**
|
|
397
423
|
* This API is used to get SQL statement optimization suggestions.
|
|
398
424
|
* @param {DescribeUserSqlAdviceRequest} req
|