tencentcloud-sdk-nodejs-intl-en 3.0.1347 → 3.0.1349

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.1347",
3
+ "version": "3.0.1349",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1347";
1
+ const sdkVersion = "3.0.1349";
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
- * EKYC ID Document OCR Result Modification Details
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
- * Overseas Document Address
2978
+ *
2965
2979
  * @class
2966
2980
  */
2967
2981
  class Address extends AbstractModel {
@@ -1538,47 +1538,24 @@ class SlowlogDetail extends AbstractModel {
1538
1538
  }
1539
1539
 
1540
1540
  /**
1541
- * SwitchDBInstancePrimary request structure.
1541
+ * ModifyDBInstanceDeletionProtection request structure.
1542
1542
  * @class
1543
1543
  */
1544
- class SwitchDBInstancePrimaryRequest extends AbstractModel {
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
- * 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.
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.Force = null;
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.Force = 'Force' in params ? params.Force : null;
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
- * SetAutoRenewFlag response structure.
5224
+ * ModifyDBInstanceParameters request structure.
5251
5225
  * @class
5252
5226
  */
5253
- class SetAutoRenewFlagResponse extends AbstractModel {
5227
+ class ModifyDBInstanceParametersRequest extends AbstractModel {
5254
5228
  constructor(){
5255
5229
  super();
5256
5230
 
5257
5231
  /**
5258
- * Number of successfully set instances
5259
- * @type {number || null}
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.Count = null;
5235
+ this.DBInstanceId = null;
5262
5236
 
5263
5237
  /**
5264
- * 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.
5265
- * @type {string || null}
5238
+ * Parameters to be modified and expected values.
5239
+ * @type {Array.<ParamEntry> || null}
5266
5240
  */
5267
- this.RequestId = null;
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.Count = 'Count' in params ? params.Count : null;
5279
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
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
- * UpgradeDBInstanceKernelVersion response structure.
8672
+ * SwitchDBInstancePrimary request structure.
8691
8673
  * @class
8692
8674
  */
8693
- class UpgradeDBInstanceKernelVersionResponse extends AbstractModel {
8675
+ class SwitchDBInstancePrimaryRequest extends AbstractModel {
8694
8676
  constructor(){
8695
8677
  super();
8696
8678
 
8697
8679
  /**
8698
- * 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.
8680
+ * Instance ID
8699
8681
  * @type {string || null}
8700
8682
  */
8701
- this.RequestId = null;
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.RequestId = 'RequestId' in params ? params.RequestId : null;
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
- * ModifyDBInstanceParameters request structure.
12935
+ * ModifyDBInstanceDeletionProtection response structure.
12886
12936
  * @class
12887
12937
  */
12888
- class ModifyDBInstanceParametersRequest extends AbstractModel {
12938
+ class ModifyDBInstanceDeletionProtectionResponse extends AbstractModel {
12889
12939
  constructor(){
12890
12940
  super();
12891
12941
 
12892
12942
  /**
12893
- * Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
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.DBInstanceId = null;
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.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
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
- SwitchDBInstancePrimaryRequest: SwitchDBInstancePrimaryRequest,
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
- SetAutoRenewFlagResponse: SetAutoRenewFlagResponse,
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
- UpgradeDBInstanceKernelVersionResponse: UpgradeDBInstanceKernelVersionResponse,
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
- ModifyDBInstanceParametersRequest: ModifyDBInstanceParametersRequest,
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,
@@ -40,7 +40,7 @@ const DescribeDBInstanceSecurityGroupsResponse = models.DescribeDBInstanceSecuri
40
40
  const BackupPlan = models.BackupPlan;
41
41
  const RestoreDBInstanceObjectsResponse = models.RestoreDBInstanceObjectsResponse;
42
42
  const SlowlogDetail = models.SlowlogDetail;
43
- const SwitchDBInstancePrimaryRequest = models.SwitchDBInstancePrimaryRequest;
43
+ const ModifyDBInstanceDeletionProtectionRequest = models.ModifyDBInstanceDeletionProtectionRequest;
44
44
  const OpenServerlessDBExtranetAccessRequest = models.OpenServerlessDBExtranetAccessRequest;
45
45
  const RenewInstanceResponse = models.RenewInstanceResponse;
46
46
  const DeleteServerlessDBInstanceResponse = models.DeleteServerlessDBInstanceResponse;
@@ -109,7 +109,7 @@ const ModifyMaintainTimeWindowRequest = models.ModifyMaintainTimeWindowRequest;
109
109
  const ModifyBackupDownloadRestrictionResponse = models.ModifyBackupDownloadRestrictionResponse;
110
110
  const ParamVersionRelation = models.ParamVersionRelation;
111
111
  const DescribeLogBackupsRequest = models.DescribeLogBackupsRequest;
112
- const SetAutoRenewFlagResponse = models.SetAutoRenewFlagResponse;
112
+ const ModifyDBInstanceParametersRequest = models.ModifyDBInstanceParametersRequest;
113
113
  const ModifyPrivilege = models.ModifyPrivilege;
114
114
  const NetworkAccess = models.NetworkAccess;
115
115
  const DescribeDBInstanceAttributeRequest = models.DescribeDBInstanceAttributeRequest;
@@ -169,7 +169,7 @@ const ModifyDBInstanceNameRequest = models.ModifyDBInstanceNameRequest;
169
169
  const DescribeDBInstanceSSLConfigResponse = models.DescribeDBInstanceSSLConfigResponse;
170
170
  const ModifyParameterTemplateRequest = models.ModifyParameterTemplateRequest;
171
171
  const DeleteAccountRequest = models.DeleteAccountRequest;
172
- const UpgradeDBInstanceKernelVersionResponse = models.UpgradeDBInstanceKernelVersionResponse;
172
+ const SwitchDBInstancePrimaryRequest = models.SwitchDBInstancePrimaryRequest;
173
173
  const InquiryPriceRenewDBInstanceResponse = models.InquiryPriceRenewDBInstanceResponse;
174
174
  const DescribeSlowQueryAnalysisRequest = models.DescribeSlowQueryAnalysisRequest;
175
175
  const ErrLogDetail = models.ErrLogDetail;
@@ -188,6 +188,7 @@ const ModifyAccountPrivilegesResponse = models.ModifyAccountPrivilegesResponse;
188
188
  const Database = models.Database;
189
189
  const DeleteReadOnlyGroupRequest = models.DeleteReadOnlyGroupRequest;
190
190
  const DescribeDBBackupsRequest = models.DescribeDBBackupsRequest;
191
+ const SetAutoRenewFlagResponse = models.SetAutoRenewFlagResponse;
191
192
  const RestartDBInstanceResponse = models.RestartDBInstanceResponse;
192
193
  const Filter = models.Filter;
193
194
  const DescribeReadOnlyGroupsRequest = models.DescribeReadOnlyGroupsRequest;
@@ -254,7 +255,7 @@ const CreateDatabaseResponse = models.CreateDatabaseResponse;
254
255
  const RebalanceReadOnlyGroupResponse = models.RebalanceReadOnlyGroupResponse;
255
256
  const ResetAccountPasswordRequest = models.ResetAccountPasswordRequest;
256
257
  const DescribeSlowQueryAnalysisResponse = models.DescribeSlowQueryAnalysisResponse;
257
- const ModifyDBInstanceParametersRequest = models.ModifyDBInstanceParametersRequest;
258
+ const ModifyDBInstanceDeletionProtectionResponse = models.ModifyDBInstanceDeletionProtectionResponse;
258
259
  const DedicatedCluster = models.DedicatedCluster;
259
260
  const ServerlessDBAccount = models.ServerlessDBAccount;
260
261
  const DurationAnalysis = models.DurationAnalysis;
@@ -265,6 +266,7 @@ const RestoreDBInstanceObjectsRequest = models.RestoreDBInstanceObjectsRequest;
265
266
  const DescribeAccountsResponse = models.DescribeAccountsResponse;
266
267
  const ModifyDBInstanceChargeTypeRequest = models.ModifyDBInstanceChargeTypeRequest;
267
268
  const DescribeParameterTemplateAttributesResponse = models.DescribeParameterTemplateAttributesResponse;
269
+ const UpgradeDBInstanceKernelVersionResponse = models.UpgradeDBInstanceKernelVersionResponse;
268
270
  const UpgradeDBInstanceResponse = models.UpgradeDBInstanceResponse;
269
271
  const DescribeDBVersionsRequest = models.DescribeDBVersionsRequest;
270
272
  const ModifyDBInstancesProjectRequest = models.ModifyDBInstancesProjectRequest;
@@ -925,6 +927,17 @@ This API is used to show summarized steps, which may be adjusted during version
925
927
  this.request("RebalanceReadOnlyGroup", req, resp, cb);
926
928
  }
927
929
 
930
+ /**
931
+ * This interface (DeletionProtection) is used to enable or disable instance destruction protection.
932
+ * @param {ModifyDBInstanceDeletionProtectionRequest} req
933
+ * @param {function(string, ModifyDBInstanceDeletionProtectionResponse):void} cb
934
+ * @public
935
+ */
936
+ ModifyDBInstanceDeletionProtection(req, cb) {
937
+ let resp = new ModifyDBInstanceDeletionProtectionResponse();
938
+ this.request("ModifyDBInstanceDeletionProtection", req, resp, cb);
939
+ }
940
+
928
941
  /**
929
942
  * This API is used to create network for RO groups. The largest quantity of networks to create is 2.
930
943
  * @param {CreateReadOnlyGroupNetworkAccessRequest} req