tencentcloud-sdk-nodejs-intl-en 3.0.1346 → 3.0.1348
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/cdb/v20170320/cdb_client.js +13 -0
- package/tencentcloud/cdb/v20170320/models.js +79 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +16 -2
- package/tencentcloud/mdl/v20200326/models.js +14 -7
- package/tencentcloud/postgres/v20170312/models.js +136 -71
- package/tencentcloud/postgres/v20170312/postgres_client.js +17 -4
- package/tencentcloud/tcsas/v20250106/models.js +17189 -293
- package/tencentcloud/tcsas/v20250106/tcsas_client.js +1620 -47
- package/tencentcloud/vod/v20180717/models.js +25 -19
- package/tencentcloud/wedata/v20250806/models.js +372 -22
- package/tencentcloud/wedata/v20250806/wedata_client.js +17 -2
package/package.json
CHANGED
|
@@ -298,6 +298,7 @@ const ReadonlyNode = models.ReadonlyNode;
|
|
|
298
298
|
const DescribeRemoteBackupConfigResponse = models.DescribeRemoteBackupConfigResponse;
|
|
299
299
|
const AdjustCdbProxyAddressResponse = models.AdjustCdbProxyAddressResponse;
|
|
300
300
|
const CreateAuditLogFileRequest = models.CreateAuditLogFileRequest;
|
|
301
|
+
const DescribeSSLStatusResponse = models.DescribeSSLStatusResponse;
|
|
301
302
|
const DescribeDBImportRecordsRequest = models.DescribeDBImportRecordsRequest;
|
|
302
303
|
const CreateDBImportJobResponse = models.CreateDBImportJobResponse;
|
|
303
304
|
const DescribeTagsOfInstanceIdsRequest = models.DescribeTagsOfInstanceIdsRequest;
|
|
@@ -402,6 +403,7 @@ const DescribeAuditRuleTemplatesRequest = models.DescribeAuditRuleTemplatesReque
|
|
|
402
403
|
const RollbackTables = models.RollbackTables;
|
|
403
404
|
const AuditRuleTemplateInfo = models.AuditRuleTemplateInfo;
|
|
404
405
|
const LocalBinlogConfigDefault = models.LocalBinlogConfigDefault;
|
|
406
|
+
const DescribeSSLStatusRequest = models.DescribeSSLStatusRequest;
|
|
405
407
|
const DescribeSlowLogDataRequest = models.DescribeSlowLogDataRequest;
|
|
406
408
|
const ReleaseIsolatedDBInstancesResponse = models.ReleaseIsolatedDBInstancesResponse;
|
|
407
409
|
const DeleteAuditLogFileRequest = models.DeleteAuditLogFileRequest;
|
|
@@ -1602,6 +1604,17 @@ Note that when modifying account permissions, you need to pass in the full permi
|
|
|
1602
1604
|
this.request("DescribeDBImportRecords", req, resp, cb);
|
|
1603
1605
|
}
|
|
1604
1606
|
|
|
1607
|
+
/**
|
|
1608
|
+
* This API is used to query the SSL enabling status. If the SSL is enabled, the certificate download link will be returned synchronously.
|
|
1609
|
+
* @param {DescribeSSLStatusRequest} req
|
|
1610
|
+
* @param {function(string, DescribeSSLStatusResponse):void} cb
|
|
1611
|
+
* @public
|
|
1612
|
+
*/
|
|
1613
|
+
DescribeSSLStatus(req, cb) {
|
|
1614
|
+
let resp = new DescribeSSLStatusResponse();
|
|
1615
|
+
this.request("DescribeSSLStatus", req, resp, cb);
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1605
1618
|
/**
|
|
1606
1619
|
* This API (DescribeDBSwitchRecords) is used to query the instance switch records.
|
|
1607
1620
|
* @param {DescribeDBSwitchRecordsRequest} req
|
|
@@ -15753,6 +15753,48 @@ class CreateAuditLogFileRequest extends AbstractModel {
|
|
|
15753
15753
|
}
|
|
15754
15754
|
}
|
|
15755
15755
|
|
|
15756
|
+
/**
|
|
15757
|
+
* DescribeSSLStatus response structure.
|
|
15758
|
+
* @class
|
|
15759
|
+
*/
|
|
15760
|
+
class DescribeSSLStatusResponse extends AbstractModel {
|
|
15761
|
+
constructor(){
|
|
15762
|
+
super();
|
|
15763
|
+
|
|
15764
|
+
/**
|
|
15765
|
+
* Whether SSL is enabled. ON indicates enabled; OFF indicates not enabled.
|
|
15766
|
+
* @type {string || null}
|
|
15767
|
+
*/
|
|
15768
|
+
this.Status = null;
|
|
15769
|
+
|
|
15770
|
+
/**
|
|
15771
|
+
* Certificate download link.
|
|
15772
|
+
* @type {string || null}
|
|
15773
|
+
*/
|
|
15774
|
+
this.Url = null;
|
|
15775
|
+
|
|
15776
|
+
/**
|
|
15777
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
15778
|
+
* @type {string || null}
|
|
15779
|
+
*/
|
|
15780
|
+
this.RequestId = null;
|
|
15781
|
+
|
|
15782
|
+
}
|
|
15783
|
+
|
|
15784
|
+
/**
|
|
15785
|
+
* @private
|
|
15786
|
+
*/
|
|
15787
|
+
deserialize(params) {
|
|
15788
|
+
if (!params) {
|
|
15789
|
+
return;
|
|
15790
|
+
}
|
|
15791
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
15792
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
15793
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
15794
|
+
|
|
15795
|
+
}
|
|
15796
|
+
}
|
|
15797
|
+
|
|
15756
15798
|
/**
|
|
15757
15799
|
* DescribeDBImportRecords request structure.
|
|
15758
15800
|
* @class
|
|
@@ -21104,6 +21146,41 @@ class LocalBinlogConfigDefault extends AbstractModel {
|
|
|
21104
21146
|
}
|
|
21105
21147
|
}
|
|
21106
21148
|
|
|
21149
|
+
/**
|
|
21150
|
+
* DescribeSSLStatus request structure.
|
|
21151
|
+
* @class
|
|
21152
|
+
*/
|
|
21153
|
+
class DescribeSSLStatusRequest extends AbstractModel {
|
|
21154
|
+
constructor(){
|
|
21155
|
+
super();
|
|
21156
|
+
|
|
21157
|
+
/**
|
|
21158
|
+
* Instance ID, which can be obtained through the [DescribeDBInstances](https://www.tencentcloud.com/document/product/236/15872) API. Note: Either the instance ID or read-only group ID parameter needs to be specified. To query the enabling status of the SSL for two-node or three-node instances, you need to specify the instance ID parameter. Single-node (cloud disk) and Cluster Edition instances do not support enabling SSL; thus, queries are not supported.
|
|
21159
|
+
* @type {string || null}
|
|
21160
|
+
*/
|
|
21161
|
+
this.InstanceId = null;
|
|
21162
|
+
|
|
21163
|
+
/**
|
|
21164
|
+
* Read-only group ID, which can be obtained through the [DescribeRoGroups](https://www.tencentcloud.com/document/product/236/35704) API. Note: Either the instance ID or read-only group ID parameter needs to be specified. To query the enabling status of the SSL for read-only instances or groups, you need to specify the RoGroupId parameter. Note that the value should be the read-only group ID. Single-node (cloud disk) and Cluster Edition instances do not support enabling SSL; thus, queries are not supported.
|
|
21165
|
+
* @type {string || null}
|
|
21166
|
+
*/
|
|
21167
|
+
this.RoGroupId = null;
|
|
21168
|
+
|
|
21169
|
+
}
|
|
21170
|
+
|
|
21171
|
+
/**
|
|
21172
|
+
* @private
|
|
21173
|
+
*/
|
|
21174
|
+
deserialize(params) {
|
|
21175
|
+
if (!params) {
|
|
21176
|
+
return;
|
|
21177
|
+
}
|
|
21178
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
21179
|
+
this.RoGroupId = 'RoGroupId' in params ? params.RoGroupId : null;
|
|
21180
|
+
|
|
21181
|
+
}
|
|
21182
|
+
}
|
|
21183
|
+
|
|
21107
21184
|
/**
|
|
21108
21185
|
* DescribeSlowLogData request structure.
|
|
21109
21186
|
* @class
|
|
@@ -21984,6 +22061,7 @@ module.exports = {
|
|
|
21984
22061
|
DescribeRemoteBackupConfigResponse: DescribeRemoteBackupConfigResponse,
|
|
21985
22062
|
AdjustCdbProxyAddressResponse: AdjustCdbProxyAddressResponse,
|
|
21986
22063
|
CreateAuditLogFileRequest: CreateAuditLogFileRequest,
|
|
22064
|
+
DescribeSSLStatusResponse: DescribeSSLStatusResponse,
|
|
21987
22065
|
DescribeDBImportRecordsRequest: DescribeDBImportRecordsRequest,
|
|
21988
22066
|
CreateDBImportJobResponse: CreateDBImportJobResponse,
|
|
21989
22067
|
DescribeTagsOfInstanceIdsRequest: DescribeTagsOfInstanceIdsRequest,
|
|
@@ -22088,6 +22166,7 @@ module.exports = {
|
|
|
22088
22166
|
RollbackTables: RollbackTables,
|
|
22089
22167
|
AuditRuleTemplateInfo: AuditRuleTemplateInfo,
|
|
22090
22168
|
LocalBinlogConfigDefault: LocalBinlogConfigDefault,
|
|
22169
|
+
DescribeSSLStatusRequest: DescribeSSLStatusRequest,
|
|
22091
22170
|
DescribeSlowLogDataRequest: DescribeSlowLogDataRequest,
|
|
22092
22171
|
ReleaseIsolatedDBInstancesResponse: ReleaseIsolatedDBInstancesResponse,
|
|
22093
22172
|
DeleteAuditLogFileRequest: DeleteAuditLogFileRequest,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1348";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -346,6 +346,18 @@ false : Expired HKID is rejected and cannot enter the liveness process.
|
|
|
346
346
|
*/
|
|
347
347
|
this.AllowExpiredDocument = null;
|
|
348
348
|
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @type {boolean || null}
|
|
352
|
+
*/
|
|
353
|
+
this.SkipResultPage = null;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @type {Array.<string> || null}
|
|
358
|
+
*/
|
|
359
|
+
this.CardOcrDisplayFields = null;
|
|
360
|
+
|
|
349
361
|
}
|
|
350
362
|
|
|
351
363
|
/**
|
|
@@ -367,6 +379,8 @@ false : Expired HKID is rejected and cannot enter the liveness process.
|
|
|
367
379
|
this.SdkVersion = 'SdkVersion' in params ? params.SdkVersion : null;
|
|
368
380
|
this.ActionList = 'ActionList' in params ? params.ActionList : null;
|
|
369
381
|
this.AllowExpiredDocument = 'AllowExpiredDocument' in params ? params.AllowExpiredDocument : null;
|
|
382
|
+
this.SkipResultPage = 'SkipResultPage' in params ? params.SkipResultPage : null;
|
|
383
|
+
this.CardOcrDisplayFields = 'CardOcrDisplayFields' in params ? params.CardOcrDisplayFields : null;
|
|
370
384
|
|
|
371
385
|
}
|
|
372
386
|
}
|
|
@@ -1186,7 +1200,7 @@ class BankCardVerificationRequest extends AbstractModel {
|
|
|
1186
1200
|
}
|
|
1187
1201
|
|
|
1188
1202
|
/**
|
|
1189
|
-
*
|
|
1203
|
+
*
|
|
1190
1204
|
* @class
|
|
1191
1205
|
*/
|
|
1192
1206
|
class EditDetail extends AbstractModel {
|
|
@@ -2961,7 +2975,7 @@ class BankCard2EVerificationRequest extends AbstractModel {
|
|
|
2961
2975
|
}
|
|
2962
2976
|
|
|
2963
2977
|
/**
|
|
2964
|
-
*
|
|
2978
|
+
*
|
|
2965
2979
|
* @class
|
|
2966
2980
|
*/
|
|
2967
2981
|
class Address extends AbstractModel {
|
|
@@ -3074,11 +3074,17 @@ class TimedMetadataInfo extends AbstractModel {
|
|
|
3074
3074
|
super();
|
|
3075
3075
|
|
|
3076
3076
|
/**
|
|
3077
|
-
* Base64-encoded
|
|
3077
|
+
* Base64-encoded ID3 metadata information, with a maximum limit of 1024 characters. When both ID3 and Tag have values, the ID3 value takes precedence
|
|
3078
3078
|
* @type {string || null}
|
|
3079
3079
|
*/
|
|
3080
3080
|
this.ID3 = null;
|
|
3081
3081
|
|
|
3082
|
+
/**
|
|
3083
|
+
* Label, the maximum supported length is 1024 characters for the label,
|
|
3084
|
+
* @type {string || null}
|
|
3085
|
+
*/
|
|
3086
|
+
this.Tag = null;
|
|
3087
|
+
|
|
3082
3088
|
}
|
|
3083
3089
|
|
|
3084
3090
|
/**
|
|
@@ -3089,6 +3095,7 @@ class TimedMetadataInfo extends AbstractModel {
|
|
|
3089
3095
|
return;
|
|
3090
3096
|
}
|
|
3091
3097
|
this.ID3 = 'ID3' in params ? params.ID3 : null;
|
|
3098
|
+
this.Tag = 'Tag' in params ? params.Tag : null;
|
|
3092
3099
|
|
|
3093
3100
|
}
|
|
3094
3101
|
}
|
|
@@ -3619,7 +3626,7 @@ class ModifyStreamLiveWatermarkRequest extends AbstractModel {
|
|
|
3619
3626
|
this.TextSettings = null;
|
|
3620
3627
|
|
|
3621
3628
|
/**
|
|
3622
|
-
*
|
|
3629
|
+
*
|
|
3623
3630
|
* @type {AbWatermarkSettingsReq || null}
|
|
3624
3631
|
*/
|
|
3625
3632
|
this.AbWatermarkSettings = null;
|
|
@@ -4675,7 +4682,7 @@ Valid values: 6000, 7000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000,
|
|
|
4675
4682
|
}
|
|
4676
4683
|
|
|
4677
4684
|
/**
|
|
4678
|
-
*
|
|
4685
|
+
*
|
|
4679
4686
|
* @class
|
|
4680
4687
|
*/
|
|
4681
4688
|
class InputTracks extends AbstractModel {
|
|
@@ -5180,7 +5187,7 @@ class CreateStreamLiveChannelRequest extends AbstractModel {
|
|
|
5180
5187
|
}
|
|
5181
5188
|
|
|
5182
5189
|
/**
|
|
5183
|
-
*
|
|
5190
|
+
*
|
|
5184
5191
|
* @class
|
|
5185
5192
|
*/
|
|
5186
5193
|
class MotionGraphicsSetting extends AbstractModel {
|
|
@@ -5865,7 +5872,7 @@ class DescribeStreamLiveChannelAlertsResponse extends AbstractModel {
|
|
|
5865
5872
|
}
|
|
5866
5873
|
|
|
5867
5874
|
/**
|
|
5868
|
-
*
|
|
5875
|
+
*
|
|
5869
5876
|
* @class
|
|
5870
5877
|
*/
|
|
5871
5878
|
class ThumbnailSettings extends AbstractModel {
|
|
@@ -7616,7 +7623,7 @@ class DeleteStreamLiveInputResponse extends AbstractModel {
|
|
|
7616
7623
|
}
|
|
7617
7624
|
|
|
7618
7625
|
/**
|
|
7619
|
-
*
|
|
7626
|
+
*
|
|
7620
7627
|
* @class
|
|
7621
7628
|
*/
|
|
7622
7629
|
class MotionGraphicsActivateSetting extends AbstractModel {
|
|
@@ -7840,7 +7847,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
7840
7847
|
}
|
|
7841
7848
|
|
|
7842
7849
|
/**
|
|
7843
|
-
*
|
|
7850
|
+
*
|
|
7844
7851
|
* @class
|
|
7845
7852
|
*/
|
|
7846
7853
|
class LSqueezeSetting extends AbstractModel {
|
|
@@ -1538,47 +1538,24 @@ class SlowlogDetail extends AbstractModel {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
|
|
1540
1540
|
/**
|
|
1541
|
-
*
|
|
1541
|
+
* ModifyDBInstanceDeletionProtection request structure.
|
|
1542
1542
|
* @class
|
|
1543
1543
|
*/
|
|
1544
|
-
class
|
|
1544
|
+
class ModifyDBInstanceDeletionProtectionRequest extends AbstractModel {
|
|
1545
1545
|
constructor(){
|
|
1546
1546
|
super();
|
|
1547
1547
|
|
|
1548
1548
|
/**
|
|
1549
|
-
* Instance ID
|
|
1549
|
+
* Instance ID. can be obtained through the DescribeDBInstances api (https://www.tencentcloud.comom/document/api/409/16773?from_cn_redirect=1).
|
|
1550
1550
|
* @type {string || null}
|
|
1551
1551
|
*/
|
|
1552
1552
|
this.DBInstanceId = null;
|
|
1553
1553
|
|
|
1554
1554
|
/**
|
|
1555
|
-
*
|
|
1556
|
-
<li>Default: `false`.
|
|
1555
|
+
* Specifies whether to enable instance deletion protection. valid values: true (enable), false (disable).
|
|
1557
1556
|
* @type {boolean || null}
|
|
1558
1557
|
*/
|
|
1559
|
-
this.
|
|
1560
|
-
|
|
1561
|
-
/**
|
|
1562
|
-
* Switch time for the specified instance after configuration modification.
|
|
1563
|
-
<li>`0`: Switch now.
|
|
1564
|
-
<li>`1`: Switch at the specified time.
|
|
1565
|
-
<li>`2`: Switch in the maintenance time.
|
|
1566
|
-
<li>Default value: `0`.
|
|
1567
|
-
* @type {number || null}
|
|
1568
|
-
*/
|
|
1569
|
-
this.SwitchTag = null;
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* The earliest time to start a switch in the format of "HH:MM:SS", such as "01:00:00". This parameter is invalid when `SwitchTag` is `0` or `2`.
|
|
1573
|
-
* @type {string || null}
|
|
1574
|
-
*/
|
|
1575
|
-
this.SwitchStartTime = null;
|
|
1576
|
-
|
|
1577
|
-
/**
|
|
1578
|
-
* The latest time to start a switch in the format of "HH:MM:SS", such as "01:30:00". This parameter is invalid when `SwitchTag` is `0` or `2`. The difference between `SwitchStartTime` and `SwitchEndTime` cannot be less than 30 minutes.
|
|
1579
|
-
* @type {string || null}
|
|
1580
|
-
*/
|
|
1581
|
-
this.SwitchEndTime = null;
|
|
1558
|
+
this.DeletionProtection = null;
|
|
1582
1559
|
|
|
1583
1560
|
}
|
|
1584
1561
|
|
|
@@ -1590,10 +1567,7 @@ class SwitchDBInstancePrimaryRequest extends AbstractModel {
|
|
|
1590
1567
|
return;
|
|
1591
1568
|
}
|
|
1592
1569
|
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
1593
|
-
this.
|
|
1594
|
-
this.SwitchTag = 'SwitchTag' in params ? params.SwitchTag : null;
|
|
1595
|
-
this.SwitchStartTime = 'SwitchStartTime' in params ? params.SwitchStartTime : null;
|
|
1596
|
-
this.SwitchEndTime = 'SwitchEndTime' in params ? params.SwitchEndTime : null;
|
|
1570
|
+
this.DeletionProtection = 'DeletionProtection' in params ? params.DeletionProtection : null;
|
|
1597
1571
|
|
|
1598
1572
|
}
|
|
1599
1573
|
}
|
|
@@ -5247,24 +5221,24 @@ db-instance-ip: Filter by instance VPC IP (in string format).
|
|
|
5247
5221
|
}
|
|
5248
5222
|
|
|
5249
5223
|
/**
|
|
5250
|
-
*
|
|
5224
|
+
* ModifyDBInstanceParameters request structure.
|
|
5251
5225
|
* @class
|
|
5252
5226
|
*/
|
|
5253
|
-
class
|
|
5227
|
+
class ModifyDBInstanceParametersRequest extends AbstractModel {
|
|
5254
5228
|
constructor(){
|
|
5255
5229
|
super();
|
|
5256
5230
|
|
|
5257
5231
|
/**
|
|
5258
|
-
*
|
|
5259
|
-
* @type {
|
|
5232
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
5233
|
+
* @type {string || null}
|
|
5260
5234
|
*/
|
|
5261
|
-
this.
|
|
5235
|
+
this.DBInstanceId = null;
|
|
5262
5236
|
|
|
5263
5237
|
/**
|
|
5264
|
-
*
|
|
5265
|
-
* @type {
|
|
5238
|
+
* Parameters to be modified and expected values.
|
|
5239
|
+
* @type {Array.<ParamEntry> || null}
|
|
5266
5240
|
*/
|
|
5267
|
-
this.
|
|
5241
|
+
this.ParamList = null;
|
|
5268
5242
|
|
|
5269
5243
|
}
|
|
5270
5244
|
|
|
@@ -5275,8 +5249,16 @@ class SetAutoRenewFlagResponse extends AbstractModel {
|
|
|
5275
5249
|
if (!params) {
|
|
5276
5250
|
return;
|
|
5277
5251
|
}
|
|
5278
|
-
this.
|
|
5279
|
-
|
|
5252
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
5253
|
+
|
|
5254
|
+
if (params.ParamList) {
|
|
5255
|
+
this.ParamList = new Array();
|
|
5256
|
+
for (let z in params.ParamList) {
|
|
5257
|
+
let obj = new ParamEntry();
|
|
5258
|
+
obj.deserialize(params.ParamList[z]);
|
|
5259
|
+
this.ParamList.push(obj);
|
|
5260
|
+
}
|
|
5261
|
+
}
|
|
5280
5262
|
|
|
5281
5263
|
}
|
|
5282
5264
|
}
|
|
@@ -8687,18 +8669,47 @@ class DeleteAccountRequest extends AbstractModel {
|
|
|
8687
8669
|
}
|
|
8688
8670
|
|
|
8689
8671
|
/**
|
|
8690
|
-
*
|
|
8672
|
+
* SwitchDBInstancePrimary request structure.
|
|
8691
8673
|
* @class
|
|
8692
8674
|
*/
|
|
8693
|
-
class
|
|
8675
|
+
class SwitchDBInstancePrimaryRequest extends AbstractModel {
|
|
8694
8676
|
constructor(){
|
|
8695
8677
|
super();
|
|
8696
8678
|
|
|
8697
8679
|
/**
|
|
8698
|
-
*
|
|
8680
|
+
* Instance ID
|
|
8699
8681
|
* @type {string || null}
|
|
8700
8682
|
*/
|
|
8701
|
-
this.
|
|
8683
|
+
this.DBInstanceId = null;
|
|
8684
|
+
|
|
8685
|
+
/**
|
|
8686
|
+
* Whether to perform forced switch. As long as the standby node can be accessed, the switch will be performed regardless of the primary-standby sync delay. You can switch immediately only when `SwitchTag` is `0.
|
|
8687
|
+
<li>Default: `false`.
|
|
8688
|
+
* @type {boolean || null}
|
|
8689
|
+
*/
|
|
8690
|
+
this.Force = null;
|
|
8691
|
+
|
|
8692
|
+
/**
|
|
8693
|
+
* Switch time for the specified instance after configuration modification.
|
|
8694
|
+
<li>`0`: Switch now.
|
|
8695
|
+
<li>`1`: Switch at the specified time.
|
|
8696
|
+
<li>`2`: Switch in the maintenance time.
|
|
8697
|
+
<li>Default value: `0`.
|
|
8698
|
+
* @type {number || null}
|
|
8699
|
+
*/
|
|
8700
|
+
this.SwitchTag = null;
|
|
8701
|
+
|
|
8702
|
+
/**
|
|
8703
|
+
* The earliest time to start a switch in the format of "HH:MM:SS", such as "01:00:00". This parameter is invalid when `SwitchTag` is `0` or `2`.
|
|
8704
|
+
* @type {string || null}
|
|
8705
|
+
*/
|
|
8706
|
+
this.SwitchStartTime = null;
|
|
8707
|
+
|
|
8708
|
+
/**
|
|
8709
|
+
* The latest time to start a switch in the format of "HH:MM:SS", such as "01:30:00". This parameter is invalid when `SwitchTag` is `0` or `2`. The difference between `SwitchStartTime` and `SwitchEndTime` cannot be less than 30 minutes.
|
|
8710
|
+
* @type {string || null}
|
|
8711
|
+
*/
|
|
8712
|
+
this.SwitchEndTime = null;
|
|
8702
8713
|
|
|
8703
8714
|
}
|
|
8704
8715
|
|
|
@@ -8709,7 +8720,11 @@ class UpgradeDBInstanceKernelVersionResponse extends AbstractModel {
|
|
|
8709
8720
|
if (!params) {
|
|
8710
8721
|
return;
|
|
8711
8722
|
}
|
|
8712
|
-
this.
|
|
8723
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
8724
|
+
this.Force = 'Force' in params ? params.Force : null;
|
|
8725
|
+
this.SwitchTag = 'SwitchTag' in params ? params.SwitchTag : null;
|
|
8726
|
+
this.SwitchStartTime = 'SwitchStartTime' in params ? params.SwitchStartTime : null;
|
|
8727
|
+
this.SwitchEndTime = 'SwitchEndTime' in params ? params.SwitchEndTime : null;
|
|
8713
8728
|
|
|
8714
8729
|
}
|
|
8715
8730
|
}
|
|
@@ -9914,6 +9929,41 @@ class DescribeDBBackupsRequest extends AbstractModel {
|
|
|
9914
9929
|
}
|
|
9915
9930
|
}
|
|
9916
9931
|
|
|
9932
|
+
/**
|
|
9933
|
+
* SetAutoRenewFlag response structure.
|
|
9934
|
+
* @class
|
|
9935
|
+
*/
|
|
9936
|
+
class SetAutoRenewFlagResponse extends AbstractModel {
|
|
9937
|
+
constructor(){
|
|
9938
|
+
super();
|
|
9939
|
+
|
|
9940
|
+
/**
|
|
9941
|
+
* Number of successfully set instances
|
|
9942
|
+
* @type {number || null}
|
|
9943
|
+
*/
|
|
9944
|
+
this.Count = null;
|
|
9945
|
+
|
|
9946
|
+
/**
|
|
9947
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9948
|
+
* @type {string || null}
|
|
9949
|
+
*/
|
|
9950
|
+
this.RequestId = null;
|
|
9951
|
+
|
|
9952
|
+
}
|
|
9953
|
+
|
|
9954
|
+
/**
|
|
9955
|
+
* @private
|
|
9956
|
+
*/
|
|
9957
|
+
deserialize(params) {
|
|
9958
|
+
if (!params) {
|
|
9959
|
+
return;
|
|
9960
|
+
}
|
|
9961
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
9962
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9963
|
+
|
|
9964
|
+
}
|
|
9965
|
+
}
|
|
9966
|
+
|
|
9917
9967
|
/**
|
|
9918
9968
|
* RestartDBInstance response structure.
|
|
9919
9969
|
* @class
|
|
@@ -12882,24 +12932,18 @@ class DescribeSlowQueryAnalysisResponse extends AbstractModel {
|
|
|
12882
12932
|
}
|
|
12883
12933
|
|
|
12884
12934
|
/**
|
|
12885
|
-
*
|
|
12935
|
+
* ModifyDBInstanceDeletionProtection response structure.
|
|
12886
12936
|
* @class
|
|
12887
12937
|
*/
|
|
12888
|
-
class
|
|
12938
|
+
class ModifyDBInstanceDeletionProtectionResponse extends AbstractModel {
|
|
12889
12939
|
constructor(){
|
|
12890
12940
|
super();
|
|
12891
12941
|
|
|
12892
12942
|
/**
|
|
12893
|
-
*
|
|
12943
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12894
12944
|
* @type {string || null}
|
|
12895
12945
|
*/
|
|
12896
|
-
this.
|
|
12897
|
-
|
|
12898
|
-
/**
|
|
12899
|
-
* Parameters to be modified and expected values.
|
|
12900
|
-
* @type {Array.<ParamEntry> || null}
|
|
12901
|
-
*/
|
|
12902
|
-
this.ParamList = null;
|
|
12946
|
+
this.RequestId = null;
|
|
12903
12947
|
|
|
12904
12948
|
}
|
|
12905
12949
|
|
|
@@ -12910,16 +12954,7 @@ class ModifyDBInstanceParametersRequest extends AbstractModel {
|
|
|
12910
12954
|
if (!params) {
|
|
12911
12955
|
return;
|
|
12912
12956
|
}
|
|
12913
|
-
this.
|
|
12914
|
-
|
|
12915
|
-
if (params.ParamList) {
|
|
12916
|
-
this.ParamList = new Array();
|
|
12917
|
-
for (let z in params.ParamList) {
|
|
12918
|
-
let obj = new ParamEntry();
|
|
12919
|
-
obj.deserialize(params.ParamList[z]);
|
|
12920
|
-
this.ParamList.push(obj);
|
|
12921
|
-
}
|
|
12922
|
-
}
|
|
12957
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12923
12958
|
|
|
12924
12959
|
}
|
|
12925
12960
|
}
|
|
@@ -13500,6 +13535,34 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
13500
13535
|
}
|
|
13501
13536
|
}
|
|
13502
13537
|
|
|
13538
|
+
/**
|
|
13539
|
+
* UpgradeDBInstanceKernelVersion response structure.
|
|
13540
|
+
* @class
|
|
13541
|
+
*/
|
|
13542
|
+
class UpgradeDBInstanceKernelVersionResponse extends AbstractModel {
|
|
13543
|
+
constructor(){
|
|
13544
|
+
super();
|
|
13545
|
+
|
|
13546
|
+
/**
|
|
13547
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
13548
|
+
* @type {string || null}
|
|
13549
|
+
*/
|
|
13550
|
+
this.RequestId = null;
|
|
13551
|
+
|
|
13552
|
+
}
|
|
13553
|
+
|
|
13554
|
+
/**
|
|
13555
|
+
* @private
|
|
13556
|
+
*/
|
|
13557
|
+
deserialize(params) {
|
|
13558
|
+
if (!params) {
|
|
13559
|
+
return;
|
|
13560
|
+
}
|
|
13561
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
13562
|
+
|
|
13563
|
+
}
|
|
13564
|
+
}
|
|
13565
|
+
|
|
13503
13566
|
/**
|
|
13504
13567
|
* UpgradeDBInstance response structure.
|
|
13505
13568
|
* @class
|
|
@@ -14320,7 +14383,7 @@ module.exports = {
|
|
|
14320
14383
|
BackupPlan: BackupPlan,
|
|
14321
14384
|
RestoreDBInstanceObjectsResponse: RestoreDBInstanceObjectsResponse,
|
|
14322
14385
|
SlowlogDetail: SlowlogDetail,
|
|
14323
|
-
|
|
14386
|
+
ModifyDBInstanceDeletionProtectionRequest: ModifyDBInstanceDeletionProtectionRequest,
|
|
14324
14387
|
OpenServerlessDBExtranetAccessRequest: OpenServerlessDBExtranetAccessRequest,
|
|
14325
14388
|
RenewInstanceResponse: RenewInstanceResponse,
|
|
14326
14389
|
DeleteServerlessDBInstanceResponse: DeleteServerlessDBInstanceResponse,
|
|
@@ -14389,7 +14452,7 @@ module.exports = {
|
|
|
14389
14452
|
ModifyBackupDownloadRestrictionResponse: ModifyBackupDownloadRestrictionResponse,
|
|
14390
14453
|
ParamVersionRelation: ParamVersionRelation,
|
|
14391
14454
|
DescribeLogBackupsRequest: DescribeLogBackupsRequest,
|
|
14392
|
-
|
|
14455
|
+
ModifyDBInstanceParametersRequest: ModifyDBInstanceParametersRequest,
|
|
14393
14456
|
ModifyPrivilege: ModifyPrivilege,
|
|
14394
14457
|
NetworkAccess: NetworkAccess,
|
|
14395
14458
|
DescribeDBInstanceAttributeRequest: DescribeDBInstanceAttributeRequest,
|
|
@@ -14449,7 +14512,7 @@ module.exports = {
|
|
|
14449
14512
|
DescribeDBInstanceSSLConfigResponse: DescribeDBInstanceSSLConfigResponse,
|
|
14450
14513
|
ModifyParameterTemplateRequest: ModifyParameterTemplateRequest,
|
|
14451
14514
|
DeleteAccountRequest: DeleteAccountRequest,
|
|
14452
|
-
|
|
14515
|
+
SwitchDBInstancePrimaryRequest: SwitchDBInstancePrimaryRequest,
|
|
14453
14516
|
InquiryPriceRenewDBInstanceResponse: InquiryPriceRenewDBInstanceResponse,
|
|
14454
14517
|
DescribeSlowQueryAnalysisRequest: DescribeSlowQueryAnalysisRequest,
|
|
14455
14518
|
ErrLogDetail: ErrLogDetail,
|
|
@@ -14468,6 +14531,7 @@ module.exports = {
|
|
|
14468
14531
|
Database: Database,
|
|
14469
14532
|
DeleteReadOnlyGroupRequest: DeleteReadOnlyGroupRequest,
|
|
14470
14533
|
DescribeDBBackupsRequest: DescribeDBBackupsRequest,
|
|
14534
|
+
SetAutoRenewFlagResponse: SetAutoRenewFlagResponse,
|
|
14471
14535
|
RestartDBInstanceResponse: RestartDBInstanceResponse,
|
|
14472
14536
|
Filter: Filter,
|
|
14473
14537
|
DescribeReadOnlyGroupsRequest: DescribeReadOnlyGroupsRequest,
|
|
@@ -14534,7 +14598,7 @@ module.exports = {
|
|
|
14534
14598
|
RebalanceReadOnlyGroupResponse: RebalanceReadOnlyGroupResponse,
|
|
14535
14599
|
ResetAccountPasswordRequest: ResetAccountPasswordRequest,
|
|
14536
14600
|
DescribeSlowQueryAnalysisResponse: DescribeSlowQueryAnalysisResponse,
|
|
14537
|
-
|
|
14601
|
+
ModifyDBInstanceDeletionProtectionResponse: ModifyDBInstanceDeletionProtectionResponse,
|
|
14538
14602
|
DedicatedCluster: DedicatedCluster,
|
|
14539
14603
|
ServerlessDBAccount: ServerlessDBAccount,
|
|
14540
14604
|
DurationAnalysis: DurationAnalysis,
|
|
@@ -14545,6 +14609,7 @@ module.exports = {
|
|
|
14545
14609
|
DescribeAccountsResponse: DescribeAccountsResponse,
|
|
14546
14610
|
ModifyDBInstanceChargeTypeRequest: ModifyDBInstanceChargeTypeRequest,
|
|
14547
14611
|
DescribeParameterTemplateAttributesResponse: DescribeParameterTemplateAttributesResponse,
|
|
14612
|
+
UpgradeDBInstanceKernelVersionResponse: UpgradeDBInstanceKernelVersionResponse,
|
|
14548
14613
|
UpgradeDBInstanceResponse: UpgradeDBInstanceResponse,
|
|
14549
14614
|
DescribeDBVersionsRequest: DescribeDBVersionsRequest,
|
|
14550
14615
|
ModifyDBInstancesProjectRequest: ModifyDBInstancesProjectRequest,
|