@alicloud/polardb20170801 2.0.6 → 2.0.7

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/src/client.ts CHANGED
@@ -588,6 +588,7 @@ export class CreateBackupResponse extends $tea.Model {
588
588
  }
589
589
 
590
590
  export class CreateDBClusterRequest extends $tea.Model {
591
+ allowShutDown?: string;
591
592
  autoRenew?: boolean;
592
593
  backupRetentionPolicyOnClusterDeletion?: string;
593
594
  clientToken?: string;
@@ -612,8 +613,14 @@ export class CreateDBClusterRequest extends $tea.Model {
612
613
  resourceGroupId?: string;
613
614
  resourceOwnerAccount?: string;
614
615
  resourceOwnerId?: number;
616
+ scaleMax?: string;
617
+ scaleMin?: string;
618
+ scaleRoNumMax?: string;
619
+ scaleRoNumMin?: string;
615
620
  securityIPList?: string;
621
+ serverlessType?: string;
616
622
  sourceResourceId?: string;
623
+ storageType?: string;
617
624
  TDEStatus?: boolean;
618
625
  tag?: CreateDBClusterRequestTag[];
619
626
  usedTime?: string;
@@ -622,6 +629,7 @@ export class CreateDBClusterRequest extends $tea.Model {
622
629
  zoneId?: string;
623
630
  static names(): { [key: string]: string } {
624
631
  return {
632
+ allowShutDown: 'AllowShutDown',
625
633
  autoRenew: 'AutoRenew',
626
634
  backupRetentionPolicyOnClusterDeletion: 'BackupRetentionPolicyOnClusterDeletion',
627
635
  clientToken: 'ClientToken',
@@ -646,8 +654,14 @@ export class CreateDBClusterRequest extends $tea.Model {
646
654
  resourceGroupId: 'ResourceGroupId',
647
655
  resourceOwnerAccount: 'ResourceOwnerAccount',
648
656
  resourceOwnerId: 'ResourceOwnerId',
657
+ scaleMax: 'ScaleMax',
658
+ scaleMin: 'ScaleMin',
659
+ scaleRoNumMax: 'ScaleRoNumMax',
660
+ scaleRoNumMin: 'ScaleRoNumMin',
649
661
  securityIPList: 'SecurityIPList',
662
+ serverlessType: 'ServerlessType',
650
663
  sourceResourceId: 'SourceResourceId',
664
+ storageType: 'StorageType',
651
665
  TDEStatus: 'TDEStatus',
652
666
  tag: 'Tag',
653
667
  usedTime: 'UsedTime',
@@ -659,6 +673,7 @@ export class CreateDBClusterRequest extends $tea.Model {
659
673
 
660
674
  static types(): { [key: string]: any } {
661
675
  return {
676
+ allowShutDown: 'string',
662
677
  autoRenew: 'boolean',
663
678
  backupRetentionPolicyOnClusterDeletion: 'string',
664
679
  clientToken: 'string',
@@ -683,8 +698,14 @@ export class CreateDBClusterRequest extends $tea.Model {
683
698
  resourceGroupId: 'string',
684
699
  resourceOwnerAccount: 'string',
685
700
  resourceOwnerId: 'number',
701
+ scaleMax: 'string',
702
+ scaleMin: 'string',
703
+ scaleRoNumMax: 'string',
704
+ scaleRoNumMin: 'string',
686
705
  securityIPList: 'string',
706
+ serverlessType: 'string',
687
707
  sourceResourceId: 'string',
708
+ storageType: 'string',
688
709
  TDEStatus: 'boolean',
689
710
  tag: { 'type': 'array', 'itemType': CreateDBClusterRequestTag },
690
711
  usedTime: 'string',
@@ -1331,6 +1352,96 @@ export class CreateGlobalDatabaseNetworkResponse extends $tea.Model {
1331
1352
  }
1332
1353
  }
1333
1354
 
1355
+ export class CreateGlobalSecurityIPGroupRequest extends $tea.Model {
1356
+ GIpList?: string;
1357
+ globalIgName?: string;
1358
+ ownerAccount?: string;
1359
+ ownerId?: number;
1360
+ regionId?: string;
1361
+ resourceGroupId?: string;
1362
+ resourceOwnerAccount?: string;
1363
+ resourceOwnerId?: number;
1364
+ securityToken?: string;
1365
+ static names(): { [key: string]: string } {
1366
+ return {
1367
+ GIpList: 'GIpList',
1368
+ globalIgName: 'GlobalIgName',
1369
+ ownerAccount: 'OwnerAccount',
1370
+ ownerId: 'OwnerId',
1371
+ regionId: 'RegionId',
1372
+ resourceGroupId: 'ResourceGroupId',
1373
+ resourceOwnerAccount: 'ResourceOwnerAccount',
1374
+ resourceOwnerId: 'ResourceOwnerId',
1375
+ securityToken: 'SecurityToken',
1376
+ };
1377
+ }
1378
+
1379
+ static types(): { [key: string]: any } {
1380
+ return {
1381
+ GIpList: 'string',
1382
+ globalIgName: 'string',
1383
+ ownerAccount: 'string',
1384
+ ownerId: 'number',
1385
+ regionId: 'string',
1386
+ resourceGroupId: 'string',
1387
+ resourceOwnerAccount: 'string',
1388
+ resourceOwnerId: 'number',
1389
+ securityToken: 'string',
1390
+ };
1391
+ }
1392
+
1393
+ constructor(map?: { [key: string]: any }) {
1394
+ super(map);
1395
+ }
1396
+ }
1397
+
1398
+ export class CreateGlobalSecurityIPGroupResponseBody extends $tea.Model {
1399
+ globalSecurityIPGroup?: CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup[];
1400
+ requestId?: string;
1401
+ static names(): { [key: string]: string } {
1402
+ return {
1403
+ globalSecurityIPGroup: 'GlobalSecurityIPGroup',
1404
+ requestId: 'RequestId',
1405
+ };
1406
+ }
1407
+
1408
+ static types(): { [key: string]: any } {
1409
+ return {
1410
+ globalSecurityIPGroup: { 'type': 'array', 'itemType': CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup },
1411
+ requestId: 'string',
1412
+ };
1413
+ }
1414
+
1415
+ constructor(map?: { [key: string]: any }) {
1416
+ super(map);
1417
+ }
1418
+ }
1419
+
1420
+ export class CreateGlobalSecurityIPGroupResponse extends $tea.Model {
1421
+ headers: { [key: string]: string };
1422
+ statusCode: number;
1423
+ body: CreateGlobalSecurityIPGroupResponseBody;
1424
+ static names(): { [key: string]: string } {
1425
+ return {
1426
+ headers: 'headers',
1427
+ statusCode: 'statusCode',
1428
+ body: 'body',
1429
+ };
1430
+ }
1431
+
1432
+ static types(): { [key: string]: any } {
1433
+ return {
1434
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1435
+ statusCode: 'number',
1436
+ body: CreateGlobalSecurityIPGroupResponseBody,
1437
+ };
1438
+ }
1439
+
1440
+ constructor(map?: { [key: string]: any }) {
1441
+ super(map);
1442
+ }
1443
+ }
1444
+
1334
1445
  export class CreateParameterGroupRequest extends $tea.Model {
1335
1446
  DBType?: string;
1336
1447
  DBVersion?: string;
@@ -2237,6 +2348,96 @@ export class DeleteGlobalDatabaseNetworkResponse extends $tea.Model {
2237
2348
  }
2238
2349
  }
2239
2350
 
2351
+ export class DeleteGlobalSecurityIPGroupRequest extends $tea.Model {
2352
+ globalIgName?: string;
2353
+ globalSecurityGroupId?: string;
2354
+ ownerAccount?: string;
2355
+ ownerId?: number;
2356
+ regionId?: string;
2357
+ resourceGroupId?: string;
2358
+ resourceOwnerAccount?: string;
2359
+ resourceOwnerId?: number;
2360
+ securityToken?: string;
2361
+ static names(): { [key: string]: string } {
2362
+ return {
2363
+ globalIgName: 'GlobalIgName',
2364
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
2365
+ ownerAccount: 'OwnerAccount',
2366
+ ownerId: 'OwnerId',
2367
+ regionId: 'RegionId',
2368
+ resourceGroupId: 'ResourceGroupId',
2369
+ resourceOwnerAccount: 'ResourceOwnerAccount',
2370
+ resourceOwnerId: 'ResourceOwnerId',
2371
+ securityToken: 'SecurityToken',
2372
+ };
2373
+ }
2374
+
2375
+ static types(): { [key: string]: any } {
2376
+ return {
2377
+ globalIgName: 'string',
2378
+ globalSecurityGroupId: 'string',
2379
+ ownerAccount: 'string',
2380
+ ownerId: 'number',
2381
+ regionId: 'string',
2382
+ resourceGroupId: 'string',
2383
+ resourceOwnerAccount: 'string',
2384
+ resourceOwnerId: 'number',
2385
+ securityToken: 'string',
2386
+ };
2387
+ }
2388
+
2389
+ constructor(map?: { [key: string]: any }) {
2390
+ super(map);
2391
+ }
2392
+ }
2393
+
2394
+ export class DeleteGlobalSecurityIPGroupResponseBody extends $tea.Model {
2395
+ globalSecurityIPGroup?: DeleteGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup[];
2396
+ requestId?: string;
2397
+ static names(): { [key: string]: string } {
2398
+ return {
2399
+ globalSecurityIPGroup: 'GlobalSecurityIPGroup',
2400
+ requestId: 'RequestId',
2401
+ };
2402
+ }
2403
+
2404
+ static types(): { [key: string]: any } {
2405
+ return {
2406
+ globalSecurityIPGroup: { 'type': 'array', 'itemType': DeleteGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup },
2407
+ requestId: 'string',
2408
+ };
2409
+ }
2410
+
2411
+ constructor(map?: { [key: string]: any }) {
2412
+ super(map);
2413
+ }
2414
+ }
2415
+
2416
+ export class DeleteGlobalSecurityIPGroupResponse extends $tea.Model {
2417
+ headers: { [key: string]: string };
2418
+ statusCode: number;
2419
+ body: DeleteGlobalSecurityIPGroupResponseBody;
2420
+ static names(): { [key: string]: string } {
2421
+ return {
2422
+ headers: 'headers',
2423
+ statusCode: 'statusCode',
2424
+ body: 'body',
2425
+ };
2426
+ }
2427
+
2428
+ static types(): { [key: string]: any } {
2429
+ return {
2430
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2431
+ statusCode: 'number',
2432
+ body: DeleteGlobalSecurityIPGroupResponseBody,
2433
+ };
2434
+ }
2435
+
2436
+ constructor(map?: { [key: string]: any }) {
2437
+ super(map);
2438
+ }
2439
+ }
2440
+
2240
2441
  export class DeleteMaskingRulesRequest extends $tea.Model {
2241
2442
  DBClusterId?: string;
2242
2443
  ruleNameList?: string;
@@ -3832,6 +4033,7 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
3832
4033
  rdsReadWriteMode?: string;
3833
4034
  requestId?: string;
3834
4035
  sourceRDSDBInstanceId?: string;
4036
+ srcDbType?: string;
3835
4037
  topologies?: string;
3836
4038
  static names(): { [key: string]: string } {
3837
4039
  return {
@@ -3847,6 +4049,7 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
3847
4049
  rdsReadWriteMode: 'RdsReadWriteMode',
3848
4050
  requestId: 'RequestId',
3849
4051
  sourceRDSDBInstanceId: 'SourceRDSDBInstanceId',
4052
+ srcDbType: 'SrcDbType',
3850
4053
  topologies: 'Topologies',
3851
4054
  };
3852
4055
  }
@@ -3865,6 +4068,7 @@ export class DescribeDBClusterMigrationResponseBody extends $tea.Model {
3865
4068
  rdsReadWriteMode: 'string',
3866
4069
  requestId: 'string',
3867
4070
  sourceRDSDBInstanceId: 'string',
4071
+ srcDbType: 'string',
3868
4072
  topologies: 'string',
3869
4073
  };
3870
4074
  }
@@ -4235,6 +4439,102 @@ export class DescribeDBClusterSSLResponse extends $tea.Model {
4235
4439
  }
4236
4440
  }
4237
4441
 
4442
+ export class DescribeDBClusterServerlessConfRequest extends $tea.Model {
4443
+ DBClusterId?: string;
4444
+ ownerAccount?: string;
4445
+ ownerId?: number;
4446
+ resourceOwnerAccount?: string;
4447
+ resourceOwnerId?: number;
4448
+ static names(): { [key: string]: string } {
4449
+ return {
4450
+ DBClusterId: 'DBClusterId',
4451
+ ownerAccount: 'OwnerAccount',
4452
+ ownerId: 'OwnerId',
4453
+ resourceOwnerAccount: 'ResourceOwnerAccount',
4454
+ resourceOwnerId: 'ResourceOwnerId',
4455
+ };
4456
+ }
4457
+
4458
+ static types(): { [key: string]: any } {
4459
+ return {
4460
+ DBClusterId: 'string',
4461
+ ownerAccount: 'string',
4462
+ ownerId: 'number',
4463
+ resourceOwnerAccount: 'string',
4464
+ resourceOwnerId: 'number',
4465
+ };
4466
+ }
4467
+
4468
+ constructor(map?: { [key: string]: any }) {
4469
+ super(map);
4470
+ }
4471
+ }
4472
+
4473
+ export class DescribeDBClusterServerlessConfResponseBody extends $tea.Model {
4474
+ allowShutDown?: string;
4475
+ DBClusterId?: string;
4476
+ requestId?: string;
4477
+ scaleMax?: string;
4478
+ scaleMin?: string;
4479
+ scaleRoNumMax?: string;
4480
+ scaleRoNumMin?: string;
4481
+ secondsUntilAutoPause?: string;
4482
+ static names(): { [key: string]: string } {
4483
+ return {
4484
+ allowShutDown: 'AllowShutDown',
4485
+ DBClusterId: 'DBClusterId',
4486
+ requestId: 'RequestId',
4487
+ scaleMax: 'ScaleMax',
4488
+ scaleMin: 'ScaleMin',
4489
+ scaleRoNumMax: 'ScaleRoNumMax',
4490
+ scaleRoNumMin: 'ScaleRoNumMin',
4491
+ secondsUntilAutoPause: 'SecondsUntilAutoPause',
4492
+ };
4493
+ }
4494
+
4495
+ static types(): { [key: string]: any } {
4496
+ return {
4497
+ allowShutDown: 'string',
4498
+ DBClusterId: 'string',
4499
+ requestId: 'string',
4500
+ scaleMax: 'string',
4501
+ scaleMin: 'string',
4502
+ scaleRoNumMax: 'string',
4503
+ scaleRoNumMin: 'string',
4504
+ secondsUntilAutoPause: 'string',
4505
+ };
4506
+ }
4507
+
4508
+ constructor(map?: { [key: string]: any }) {
4509
+ super(map);
4510
+ }
4511
+ }
4512
+
4513
+ export class DescribeDBClusterServerlessConfResponse extends $tea.Model {
4514
+ headers: { [key: string]: string };
4515
+ statusCode: number;
4516
+ body: DescribeDBClusterServerlessConfResponseBody;
4517
+ static names(): { [key: string]: string } {
4518
+ return {
4519
+ headers: 'headers',
4520
+ statusCode: 'statusCode',
4521
+ body: 'body',
4522
+ };
4523
+ }
4524
+
4525
+ static types(): { [key: string]: any } {
4526
+ return {
4527
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4528
+ statusCode: 'number',
4529
+ body: DescribeDBClusterServerlessConfResponseBody,
4530
+ };
4531
+ }
4532
+
4533
+ constructor(map?: { [key: string]: any }) {
4534
+ super(map);
4535
+ }
4536
+ }
4537
+
4238
4538
  export class DescribeDBClusterTDERequest extends $tea.Model {
4239
4539
  DBClusterId?: string;
4240
4540
  ownerAccount?: string;
@@ -4434,11 +4734,13 @@ export class DescribeDBClusterVersionResponse extends $tea.Model {
4434
4734
  }
4435
4735
 
4436
4736
  export class DescribeDBClustersRequest extends $tea.Model {
4737
+ connectionString?: string;
4437
4738
  DBClusterDescription?: string;
4438
4739
  DBClusterIds?: string;
4439
4740
  DBClusterStatus?: string;
4440
4741
  DBNodeIds?: string;
4441
4742
  DBType?: string;
4743
+ DBVersion?: string;
4442
4744
  expired?: boolean;
4443
4745
  ownerAccount?: string;
4444
4746
  ownerId?: number;
@@ -4454,11 +4756,13 @@ export class DescribeDBClustersRequest extends $tea.Model {
4454
4756
  tag?: DescribeDBClustersRequestTag[];
4455
4757
  static names(): { [key: string]: string } {
4456
4758
  return {
4759
+ connectionString: 'ConnectionString',
4457
4760
  DBClusterDescription: 'DBClusterDescription',
4458
4761
  DBClusterIds: 'DBClusterIds',
4459
4762
  DBClusterStatus: 'DBClusterStatus',
4460
4763
  DBNodeIds: 'DBNodeIds',
4461
4764
  DBType: 'DBType',
4765
+ DBVersion: 'DBVersion',
4462
4766
  expired: 'Expired',
4463
4767
  ownerAccount: 'OwnerAccount',
4464
4768
  ownerId: 'OwnerId',
@@ -4477,11 +4781,13 @@ export class DescribeDBClustersRequest extends $tea.Model {
4477
4781
 
4478
4782
  static types(): { [key: string]: any } {
4479
4783
  return {
4784
+ connectionString: 'string',
4480
4785
  DBClusterDescription: 'string',
4481
4786
  DBClusterIds: 'string',
4482
4787
  DBClusterStatus: 'string',
4483
4788
  DBNodeIds: 'string',
4484
4789
  DBType: 'string',
4790
+ DBVersion: 'string',
4485
4791
  expired: 'boolean',
4486
4792
  ownerAccount: 'string',
4487
4793
  ownerId: 'number',
@@ -5525,29 +5831,38 @@ export class DescribeGlobalDatabaseNetworksResponse extends $tea.Model {
5525
5831
  }
5526
5832
  }
5527
5833
 
5528
- export class DescribeLogBackupPolicyRequest extends $tea.Model {
5529
- DBClusterId?: string;
5834
+ export class DescribeGlobalSecurityIPGroupRequest extends $tea.Model {
5835
+ globalSecurityGroupId?: string;
5530
5836
  ownerAccount?: string;
5531
5837
  ownerId?: number;
5838
+ regionId?: string;
5839
+ resourceGroupId?: string;
5532
5840
  resourceOwnerAccount?: string;
5533
5841
  resourceOwnerId?: number;
5842
+ securityToken?: string;
5534
5843
  static names(): { [key: string]: string } {
5535
5844
  return {
5536
- DBClusterId: 'DBClusterId',
5845
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
5537
5846
  ownerAccount: 'OwnerAccount',
5538
5847
  ownerId: 'OwnerId',
5848
+ regionId: 'RegionId',
5849
+ resourceGroupId: 'ResourceGroupId',
5539
5850
  resourceOwnerAccount: 'ResourceOwnerAccount',
5540
5851
  resourceOwnerId: 'ResourceOwnerId',
5852
+ securityToken: 'SecurityToken',
5541
5853
  };
5542
5854
  }
5543
5855
 
5544
5856
  static types(): { [key: string]: any } {
5545
5857
  return {
5546
- DBClusterId: 'string',
5858
+ globalSecurityGroupId: 'string',
5547
5859
  ownerAccount: 'string',
5548
5860
  ownerId: 'number',
5861
+ regionId: 'string',
5862
+ resourceGroupId: 'string',
5549
5863
  resourceOwnerAccount: 'string',
5550
5864
  resourceOwnerId: 'number',
5865
+ securityToken: 'string',
5551
5866
  };
5552
5867
  }
5553
5868
 
@@ -5556,15 +5871,183 @@ export class DescribeLogBackupPolicyRequest extends $tea.Model {
5556
5871
  }
5557
5872
  }
5558
5873
 
5559
- export class DescribeLogBackupPolicyResponseBody extends $tea.Model {
5560
- enableBackupLog?: number;
5561
- logBackupAnotherRegionRegion?: string;
5562
- logBackupAnotherRegionRetentionPeriod?: string;
5563
- logBackupRetentionPeriod?: number;
5874
+ export class DescribeGlobalSecurityIPGroupResponseBody extends $tea.Model {
5875
+ globalSecurityIPGroup?: DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup[];
5564
5876
  requestId?: string;
5565
5877
  static names(): { [key: string]: string } {
5566
5878
  return {
5567
- enableBackupLog: 'EnableBackupLog',
5879
+ globalSecurityIPGroup: 'GlobalSecurityIPGroup',
5880
+ requestId: 'RequestId',
5881
+ };
5882
+ }
5883
+
5884
+ static types(): { [key: string]: any } {
5885
+ return {
5886
+ globalSecurityIPGroup: { 'type': 'array', 'itemType': DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup },
5887
+ requestId: 'string',
5888
+ };
5889
+ }
5890
+
5891
+ constructor(map?: { [key: string]: any }) {
5892
+ super(map);
5893
+ }
5894
+ }
5895
+
5896
+ export class DescribeGlobalSecurityIPGroupResponse extends $tea.Model {
5897
+ headers: { [key: string]: string };
5898
+ statusCode: number;
5899
+ body: DescribeGlobalSecurityIPGroupResponseBody;
5900
+ static names(): { [key: string]: string } {
5901
+ return {
5902
+ headers: 'headers',
5903
+ statusCode: 'statusCode',
5904
+ body: 'body',
5905
+ };
5906
+ }
5907
+
5908
+ static types(): { [key: string]: any } {
5909
+ return {
5910
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5911
+ statusCode: 'number',
5912
+ body: DescribeGlobalSecurityIPGroupResponseBody,
5913
+ };
5914
+ }
5915
+
5916
+ constructor(map?: { [key: string]: any }) {
5917
+ super(map);
5918
+ }
5919
+ }
5920
+
5921
+ export class DescribeGlobalSecurityIPGroupRelationRequest extends $tea.Model {
5922
+ DBClusterId?: string;
5923
+ ownerAccount?: string;
5924
+ ownerId?: number;
5925
+ regionId?: string;
5926
+ resourceGroupId?: string;
5927
+ resourceOwnerAccount?: string;
5928
+ resourceOwnerId?: number;
5929
+ securityToken?: string;
5930
+ static names(): { [key: string]: string } {
5931
+ return {
5932
+ DBClusterId: 'DBClusterId',
5933
+ ownerAccount: 'OwnerAccount',
5934
+ ownerId: 'OwnerId',
5935
+ regionId: 'RegionId',
5936
+ resourceGroupId: 'ResourceGroupId',
5937
+ resourceOwnerAccount: 'ResourceOwnerAccount',
5938
+ resourceOwnerId: 'ResourceOwnerId',
5939
+ securityToken: 'SecurityToken',
5940
+ };
5941
+ }
5942
+
5943
+ static types(): { [key: string]: any } {
5944
+ return {
5945
+ DBClusterId: 'string',
5946
+ ownerAccount: 'string',
5947
+ ownerId: 'number',
5948
+ regionId: 'string',
5949
+ resourceGroupId: 'string',
5950
+ resourceOwnerAccount: 'string',
5951
+ resourceOwnerId: 'number',
5952
+ securityToken: 'string',
5953
+ };
5954
+ }
5955
+
5956
+ constructor(map?: { [key: string]: any }) {
5957
+ super(map);
5958
+ }
5959
+ }
5960
+
5961
+ export class DescribeGlobalSecurityIPGroupRelationResponseBody extends $tea.Model {
5962
+ DBClusterId?: string;
5963
+ globalSecurityIPGroupRel?: DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel[];
5964
+ requestId?: string;
5965
+ static names(): { [key: string]: string } {
5966
+ return {
5967
+ DBClusterId: 'DBClusterId',
5968
+ globalSecurityIPGroupRel: 'GlobalSecurityIPGroupRel',
5969
+ requestId: 'RequestId',
5970
+ };
5971
+ }
5972
+
5973
+ static types(): { [key: string]: any } {
5974
+ return {
5975
+ DBClusterId: 'string',
5976
+ globalSecurityIPGroupRel: { 'type': 'array', 'itemType': DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel },
5977
+ requestId: 'string',
5978
+ };
5979
+ }
5980
+
5981
+ constructor(map?: { [key: string]: any }) {
5982
+ super(map);
5983
+ }
5984
+ }
5985
+
5986
+ export class DescribeGlobalSecurityIPGroupRelationResponse extends $tea.Model {
5987
+ headers: { [key: string]: string };
5988
+ statusCode: number;
5989
+ body: DescribeGlobalSecurityIPGroupRelationResponseBody;
5990
+ static names(): { [key: string]: string } {
5991
+ return {
5992
+ headers: 'headers',
5993
+ statusCode: 'statusCode',
5994
+ body: 'body',
5995
+ };
5996
+ }
5997
+
5998
+ static types(): { [key: string]: any } {
5999
+ return {
6000
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6001
+ statusCode: 'number',
6002
+ body: DescribeGlobalSecurityIPGroupRelationResponseBody,
6003
+ };
6004
+ }
6005
+
6006
+ constructor(map?: { [key: string]: any }) {
6007
+ super(map);
6008
+ }
6009
+ }
6010
+
6011
+ export class DescribeLogBackupPolicyRequest extends $tea.Model {
6012
+ DBClusterId?: string;
6013
+ ownerAccount?: string;
6014
+ ownerId?: number;
6015
+ resourceOwnerAccount?: string;
6016
+ resourceOwnerId?: number;
6017
+ static names(): { [key: string]: string } {
6018
+ return {
6019
+ DBClusterId: 'DBClusterId',
6020
+ ownerAccount: 'OwnerAccount',
6021
+ ownerId: 'OwnerId',
6022
+ resourceOwnerAccount: 'ResourceOwnerAccount',
6023
+ resourceOwnerId: 'ResourceOwnerId',
6024
+ };
6025
+ }
6026
+
6027
+ static types(): { [key: string]: any } {
6028
+ return {
6029
+ DBClusterId: 'string',
6030
+ ownerAccount: 'string',
6031
+ ownerId: 'number',
6032
+ resourceOwnerAccount: 'string',
6033
+ resourceOwnerId: 'number',
6034
+ };
6035
+ }
6036
+
6037
+ constructor(map?: { [key: string]: any }) {
6038
+ super(map);
6039
+ }
6040
+ }
6041
+
6042
+ export class DescribeLogBackupPolicyResponseBody extends $tea.Model {
6043
+ enableBackupLog?: number;
6044
+ logBackupAnotherRegionRegion?: string;
6045
+ logBackupAnotherRegionRetentionPeriod?: string;
6046
+ logBackupRetentionPeriod?: number;
6047
+ requestId?: string;
6048
+ static names(): { [key: string]: string } {
6049
+ return {
6050
+ enableBackupLog: 'EnableBackupLog',
5568
6051
  logBackupAnotherRegionRegion: 'LogBackupAnotherRegionRegion',
5569
6052
  logBackupAnotherRegionRetentionPeriod: 'LogBackupAnotherRegionRetentionPeriod',
5570
6053
  logBackupRetentionPeriod: 'LogBackupRetentionPeriod',
@@ -8897,6 +9380,102 @@ export class ModifyDBClusterSSLResponse extends $tea.Model {
8897
9380
  }
8898
9381
  }
8899
9382
 
9383
+ export class ModifyDBClusterServerlessConfRequest extends $tea.Model {
9384
+ allowShutDown?: string;
9385
+ DBClusterId?: string;
9386
+ ownerAccount?: string;
9387
+ ownerId?: number;
9388
+ resourceOwnerAccount?: string;
9389
+ resourceOwnerId?: number;
9390
+ scaleMax?: string;
9391
+ scaleMin?: string;
9392
+ scaleRoNumMax?: string;
9393
+ scaleRoNumMin?: string;
9394
+ secondsUntilAutoPause?: string;
9395
+ static names(): { [key: string]: string } {
9396
+ return {
9397
+ allowShutDown: 'AllowShutDown',
9398
+ DBClusterId: 'DBClusterId',
9399
+ ownerAccount: 'OwnerAccount',
9400
+ ownerId: 'OwnerId',
9401
+ resourceOwnerAccount: 'ResourceOwnerAccount',
9402
+ resourceOwnerId: 'ResourceOwnerId',
9403
+ scaleMax: 'ScaleMax',
9404
+ scaleMin: 'ScaleMin',
9405
+ scaleRoNumMax: 'ScaleRoNumMax',
9406
+ scaleRoNumMin: 'ScaleRoNumMin',
9407
+ secondsUntilAutoPause: 'SecondsUntilAutoPause',
9408
+ };
9409
+ }
9410
+
9411
+ static types(): { [key: string]: any } {
9412
+ return {
9413
+ allowShutDown: 'string',
9414
+ DBClusterId: 'string',
9415
+ ownerAccount: 'string',
9416
+ ownerId: 'number',
9417
+ resourceOwnerAccount: 'string',
9418
+ resourceOwnerId: 'number',
9419
+ scaleMax: 'string',
9420
+ scaleMin: 'string',
9421
+ scaleRoNumMax: 'string',
9422
+ scaleRoNumMin: 'string',
9423
+ secondsUntilAutoPause: 'string',
9424
+ };
9425
+ }
9426
+
9427
+ constructor(map?: { [key: string]: any }) {
9428
+ super(map);
9429
+ }
9430
+ }
9431
+
9432
+ export class ModifyDBClusterServerlessConfResponseBody extends $tea.Model {
9433
+ DBClusterId?: string;
9434
+ requestId?: string;
9435
+ static names(): { [key: string]: string } {
9436
+ return {
9437
+ DBClusterId: 'DBClusterId',
9438
+ requestId: 'RequestId',
9439
+ };
9440
+ }
9441
+
9442
+ static types(): { [key: string]: any } {
9443
+ return {
9444
+ DBClusterId: 'string',
9445
+ requestId: 'string',
9446
+ };
9447
+ }
9448
+
9449
+ constructor(map?: { [key: string]: any }) {
9450
+ super(map);
9451
+ }
9452
+ }
9453
+
9454
+ export class ModifyDBClusterServerlessConfResponse extends $tea.Model {
9455
+ headers: { [key: string]: string };
9456
+ statusCode: number;
9457
+ body: ModifyDBClusterServerlessConfResponseBody;
9458
+ static names(): { [key: string]: string } {
9459
+ return {
9460
+ headers: 'headers',
9461
+ statusCode: 'statusCode',
9462
+ body: 'body',
9463
+ };
9464
+ }
9465
+
9466
+ static types(): { [key: string]: any } {
9467
+ return {
9468
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9469
+ statusCode: 'number',
9470
+ body: ModifyDBClusterServerlessConfResponseBody,
9471
+ };
9472
+ }
9473
+
9474
+ constructor(map?: { [key: string]: any }) {
9475
+ super(map);
9476
+ }
9477
+ }
9478
+
8900
9479
  export class ModifyDBClusterTDERequest extends $tea.Model {
8901
9480
  DBClusterId?: string;
8902
9481
  encryptNewTables?: string;
@@ -9533,38 +10112,44 @@ export class ModifyGlobalDatabaseNetworkResponse extends $tea.Model {
9533
10112
  }
9534
10113
  }
9535
10114
 
9536
- export class ModifyLogBackupPolicyRequest extends $tea.Model {
9537
- DBClusterId?: string;
9538
- logBackupAnotherRegionRegion?: string;
9539
- logBackupAnotherRegionRetentionPeriod?: string;
9540
- logBackupRetentionPeriod?: string;
10115
+ export class ModifyGlobalSecurityIPGroupRequest extends $tea.Model {
10116
+ GIpList?: string;
10117
+ globalIgName?: string;
10118
+ globalSecurityGroupId?: string;
9541
10119
  ownerAccount?: string;
9542
10120
  ownerId?: number;
10121
+ regionId?: string;
10122
+ resourceGroupId?: string;
9543
10123
  resourceOwnerAccount?: string;
9544
10124
  resourceOwnerId?: number;
10125
+ securityToken?: string;
9545
10126
  static names(): { [key: string]: string } {
9546
10127
  return {
9547
- DBClusterId: 'DBClusterId',
9548
- logBackupAnotherRegionRegion: 'LogBackupAnotherRegionRegion',
9549
- logBackupAnotherRegionRetentionPeriod: 'LogBackupAnotherRegionRetentionPeriod',
9550
- logBackupRetentionPeriod: 'LogBackupRetentionPeriod',
10128
+ GIpList: 'GIpList',
10129
+ globalIgName: 'GlobalIgName',
10130
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
9551
10131
  ownerAccount: 'OwnerAccount',
9552
10132
  ownerId: 'OwnerId',
10133
+ regionId: 'RegionId',
10134
+ resourceGroupId: 'ResourceGroupId',
9553
10135
  resourceOwnerAccount: 'ResourceOwnerAccount',
9554
10136
  resourceOwnerId: 'ResourceOwnerId',
10137
+ securityToken: 'SecurityToken',
9555
10138
  };
9556
10139
  }
9557
10140
 
9558
10141
  static types(): { [key: string]: any } {
9559
10142
  return {
9560
- DBClusterId: 'string',
9561
- logBackupAnotherRegionRegion: 'string',
9562
- logBackupAnotherRegionRetentionPeriod: 'string',
9563
- logBackupRetentionPeriod: 'string',
10143
+ GIpList: 'string',
10144
+ globalIgName: 'string',
10145
+ globalSecurityGroupId: 'string',
9564
10146
  ownerAccount: 'string',
9565
10147
  ownerId: 'number',
10148
+ regionId: 'string',
10149
+ resourceGroupId: 'string',
9566
10150
  resourceOwnerAccount: 'string',
9567
10151
  resourceOwnerId: 'number',
10152
+ securityToken: 'string',
9568
10153
  };
9569
10154
  }
9570
10155
 
@@ -9573,16 +10158,19 @@ export class ModifyLogBackupPolicyRequest extends $tea.Model {
9573
10158
  }
9574
10159
  }
9575
10160
 
9576
- export class ModifyLogBackupPolicyResponseBody extends $tea.Model {
10161
+ export class ModifyGlobalSecurityIPGroupResponseBody extends $tea.Model {
10162
+ globalSecurityIPGroup?: ModifyGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup[];
9577
10163
  requestId?: string;
9578
10164
  static names(): { [key: string]: string } {
9579
10165
  return {
10166
+ globalSecurityIPGroup: 'GlobalSecurityIPGroup',
9580
10167
  requestId: 'RequestId',
9581
10168
  };
9582
10169
  }
9583
10170
 
9584
10171
  static types(): { [key: string]: any } {
9585
10172
  return {
10173
+ globalSecurityIPGroup: { 'type': 'array', 'itemType': ModifyGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup },
9586
10174
  requestId: 'string',
9587
10175
  };
9588
10176
  }
@@ -9592,7 +10180,274 @@ export class ModifyLogBackupPolicyResponseBody extends $tea.Model {
9592
10180
  }
9593
10181
  }
9594
10182
 
9595
- export class ModifyLogBackupPolicyResponse extends $tea.Model {
10183
+ export class ModifyGlobalSecurityIPGroupResponse extends $tea.Model {
10184
+ headers: { [key: string]: string };
10185
+ statusCode: number;
10186
+ body: ModifyGlobalSecurityIPGroupResponseBody;
10187
+ static names(): { [key: string]: string } {
10188
+ return {
10189
+ headers: 'headers',
10190
+ statusCode: 'statusCode',
10191
+ body: 'body',
10192
+ };
10193
+ }
10194
+
10195
+ static types(): { [key: string]: any } {
10196
+ return {
10197
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10198
+ statusCode: 'number',
10199
+ body: ModifyGlobalSecurityIPGroupResponseBody,
10200
+ };
10201
+ }
10202
+
10203
+ constructor(map?: { [key: string]: any }) {
10204
+ super(map);
10205
+ }
10206
+ }
10207
+
10208
+ export class ModifyGlobalSecurityIPGroupNameRequest extends $tea.Model {
10209
+ globalIgName?: string;
10210
+ globalSecurityGroupId?: string;
10211
+ ownerAccount?: string;
10212
+ ownerId?: number;
10213
+ regionId?: string;
10214
+ resourceGroupId?: string;
10215
+ resourceOwnerAccount?: string;
10216
+ resourceOwnerId?: number;
10217
+ securityToken?: string;
10218
+ static names(): { [key: string]: string } {
10219
+ return {
10220
+ globalIgName: 'GlobalIgName',
10221
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
10222
+ ownerAccount: 'OwnerAccount',
10223
+ ownerId: 'OwnerId',
10224
+ regionId: 'RegionId',
10225
+ resourceGroupId: 'ResourceGroupId',
10226
+ resourceOwnerAccount: 'ResourceOwnerAccount',
10227
+ resourceOwnerId: 'ResourceOwnerId',
10228
+ securityToken: 'SecurityToken',
10229
+ };
10230
+ }
10231
+
10232
+ static types(): { [key: string]: any } {
10233
+ return {
10234
+ globalIgName: 'string',
10235
+ globalSecurityGroupId: 'string',
10236
+ ownerAccount: 'string',
10237
+ ownerId: 'number',
10238
+ regionId: 'string',
10239
+ resourceGroupId: 'string',
10240
+ resourceOwnerAccount: 'string',
10241
+ resourceOwnerId: 'number',
10242
+ securityToken: 'string',
10243
+ };
10244
+ }
10245
+
10246
+ constructor(map?: { [key: string]: any }) {
10247
+ super(map);
10248
+ }
10249
+ }
10250
+
10251
+ export class ModifyGlobalSecurityIPGroupNameResponseBody extends $tea.Model {
10252
+ globalSecurityIPGroup?: ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup[];
10253
+ requestId?: string;
10254
+ static names(): { [key: string]: string } {
10255
+ return {
10256
+ globalSecurityIPGroup: 'GlobalSecurityIPGroup',
10257
+ requestId: 'RequestId',
10258
+ };
10259
+ }
10260
+
10261
+ static types(): { [key: string]: any } {
10262
+ return {
10263
+ globalSecurityIPGroup: { 'type': 'array', 'itemType': ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup },
10264
+ requestId: 'string',
10265
+ };
10266
+ }
10267
+
10268
+ constructor(map?: { [key: string]: any }) {
10269
+ super(map);
10270
+ }
10271
+ }
10272
+
10273
+ export class ModifyGlobalSecurityIPGroupNameResponse extends $tea.Model {
10274
+ headers: { [key: string]: string };
10275
+ statusCode: number;
10276
+ body: ModifyGlobalSecurityIPGroupNameResponseBody;
10277
+ static names(): { [key: string]: string } {
10278
+ return {
10279
+ headers: 'headers',
10280
+ statusCode: 'statusCode',
10281
+ body: 'body',
10282
+ };
10283
+ }
10284
+
10285
+ static types(): { [key: string]: any } {
10286
+ return {
10287
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10288
+ statusCode: 'number',
10289
+ body: ModifyGlobalSecurityIPGroupNameResponseBody,
10290
+ };
10291
+ }
10292
+
10293
+ constructor(map?: { [key: string]: any }) {
10294
+ super(map);
10295
+ }
10296
+ }
10297
+
10298
+ export class ModifyGlobalSecurityIPGroupRelationRequest extends $tea.Model {
10299
+ DBClusterId?: string;
10300
+ globalSecurityGroupId?: string;
10301
+ ownerAccount?: string;
10302
+ ownerId?: number;
10303
+ regionId?: string;
10304
+ resourceGroupId?: string;
10305
+ resourceOwnerAccount?: string;
10306
+ resourceOwnerId?: number;
10307
+ securityToken?: string;
10308
+ static names(): { [key: string]: string } {
10309
+ return {
10310
+ DBClusterId: 'DBClusterId',
10311
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
10312
+ ownerAccount: 'OwnerAccount',
10313
+ ownerId: 'OwnerId',
10314
+ regionId: 'RegionId',
10315
+ resourceGroupId: 'ResourceGroupId',
10316
+ resourceOwnerAccount: 'ResourceOwnerAccount',
10317
+ resourceOwnerId: 'ResourceOwnerId',
10318
+ securityToken: 'SecurityToken',
10319
+ };
10320
+ }
10321
+
10322
+ static types(): { [key: string]: any } {
10323
+ return {
10324
+ DBClusterId: 'string',
10325
+ globalSecurityGroupId: 'string',
10326
+ ownerAccount: 'string',
10327
+ ownerId: 'number',
10328
+ regionId: 'string',
10329
+ resourceGroupId: 'string',
10330
+ resourceOwnerAccount: 'string',
10331
+ resourceOwnerId: 'number',
10332
+ securityToken: 'string',
10333
+ };
10334
+ }
10335
+
10336
+ constructor(map?: { [key: string]: any }) {
10337
+ super(map);
10338
+ }
10339
+ }
10340
+
10341
+ export class ModifyGlobalSecurityIPGroupRelationResponseBody extends $tea.Model {
10342
+ DBClusterId?: string;
10343
+ globalSecurityIPGroupRel?: ModifyGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel[];
10344
+ requestId?: string;
10345
+ static names(): { [key: string]: string } {
10346
+ return {
10347
+ DBClusterId: 'DBClusterId',
10348
+ globalSecurityIPGroupRel: 'GlobalSecurityIPGroupRel',
10349
+ requestId: 'RequestId',
10350
+ };
10351
+ }
10352
+
10353
+ static types(): { [key: string]: any } {
10354
+ return {
10355
+ DBClusterId: 'string',
10356
+ globalSecurityIPGroupRel: { 'type': 'array', 'itemType': ModifyGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel },
10357
+ requestId: 'string',
10358
+ };
10359
+ }
10360
+
10361
+ constructor(map?: { [key: string]: any }) {
10362
+ super(map);
10363
+ }
10364
+ }
10365
+
10366
+ export class ModifyGlobalSecurityIPGroupRelationResponse extends $tea.Model {
10367
+ headers: { [key: string]: string };
10368
+ statusCode: number;
10369
+ body: ModifyGlobalSecurityIPGroupRelationResponseBody;
10370
+ static names(): { [key: string]: string } {
10371
+ return {
10372
+ headers: 'headers',
10373
+ statusCode: 'statusCode',
10374
+ body: 'body',
10375
+ };
10376
+ }
10377
+
10378
+ static types(): { [key: string]: any } {
10379
+ return {
10380
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10381
+ statusCode: 'number',
10382
+ body: ModifyGlobalSecurityIPGroupRelationResponseBody,
10383
+ };
10384
+ }
10385
+
10386
+ constructor(map?: { [key: string]: any }) {
10387
+ super(map);
10388
+ }
10389
+ }
10390
+
10391
+ export class ModifyLogBackupPolicyRequest extends $tea.Model {
10392
+ DBClusterId?: string;
10393
+ logBackupAnotherRegionRegion?: string;
10394
+ logBackupAnotherRegionRetentionPeriod?: string;
10395
+ logBackupRetentionPeriod?: string;
10396
+ ownerAccount?: string;
10397
+ ownerId?: number;
10398
+ resourceOwnerAccount?: string;
10399
+ resourceOwnerId?: number;
10400
+ static names(): { [key: string]: string } {
10401
+ return {
10402
+ DBClusterId: 'DBClusterId',
10403
+ logBackupAnotherRegionRegion: 'LogBackupAnotherRegionRegion',
10404
+ logBackupAnotherRegionRetentionPeriod: 'LogBackupAnotherRegionRetentionPeriod',
10405
+ logBackupRetentionPeriod: 'LogBackupRetentionPeriod',
10406
+ ownerAccount: 'OwnerAccount',
10407
+ ownerId: 'OwnerId',
10408
+ resourceOwnerAccount: 'ResourceOwnerAccount',
10409
+ resourceOwnerId: 'ResourceOwnerId',
10410
+ };
10411
+ }
10412
+
10413
+ static types(): { [key: string]: any } {
10414
+ return {
10415
+ DBClusterId: 'string',
10416
+ logBackupAnotherRegionRegion: 'string',
10417
+ logBackupAnotherRegionRetentionPeriod: 'string',
10418
+ logBackupRetentionPeriod: 'string',
10419
+ ownerAccount: 'string',
10420
+ ownerId: 'number',
10421
+ resourceOwnerAccount: 'string',
10422
+ resourceOwnerId: 'number',
10423
+ };
10424
+ }
10425
+
10426
+ constructor(map?: { [key: string]: any }) {
10427
+ super(map);
10428
+ }
10429
+ }
10430
+
10431
+ export class ModifyLogBackupPolicyResponseBody extends $tea.Model {
10432
+ requestId?: string;
10433
+ static names(): { [key: string]: string } {
10434
+ return {
10435
+ requestId: 'RequestId',
10436
+ };
10437
+ }
10438
+
10439
+ static types(): { [key: string]: any } {
10440
+ return {
10441
+ requestId: 'string',
10442
+ };
10443
+ }
10444
+
10445
+ constructor(map?: { [key: string]: any }) {
10446
+ super(map);
10447
+ }
10448
+ }
10449
+
10450
+ export class ModifyLogBackupPolicyResponse extends $tea.Model {
9596
10451
  headers: { [key: string]: string };
9597
10452
  statusCode: number;
9598
10453
  body: ModifyLogBackupPolicyResponseBody;
@@ -10360,6 +11215,7 @@ export class RevokeAccountPrivilegeResponse extends $tea.Model {
10360
11215
 
10361
11216
  export class SwitchOverGlobalDatabaseNetworkRequest extends $tea.Model {
10362
11217
  DBClusterId?: string;
11218
+ forced?: boolean;
10363
11219
  GDNId?: string;
10364
11220
  ownerAccount?: string;
10365
11221
  ownerId?: number;
@@ -10371,6 +11227,7 @@ export class SwitchOverGlobalDatabaseNetworkRequest extends $tea.Model {
10371
11227
  static names(): { [key: string]: string } {
10372
11228
  return {
10373
11229
  DBClusterId: 'DBClusterId',
11230
+ forced: 'Forced',
10374
11231
  GDNId: 'GDNId',
10375
11232
  ownerAccount: 'OwnerAccount',
10376
11233
  ownerId: 'OwnerId',
@@ -10385,6 +11242,7 @@ export class SwitchOverGlobalDatabaseNetworkRequest extends $tea.Model {
10385
11242
  static types(): { [key: string]: any } {
10386
11243
  return {
10387
11244
  DBClusterId: 'string',
11245
+ forced: 'boolean',
10388
11246
  GDNId: 'string',
10389
11247
  ownerAccount: 'string',
10390
11248
  ownerId: 'number',
@@ -11060,6 +11918,65 @@ export class CreateDBNodesResponseBodyDBNodeIds extends $tea.Model {
11060
11918
  }
11061
11919
  }
11062
11920
 
11921
+ export class CreateGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup extends $tea.Model {
11922
+ GIpList?: string;
11923
+ globalIgName?: string;
11924
+ globalSecurityGroupId?: string;
11925
+ regionId?: string;
11926
+ static names(): { [key: string]: string } {
11927
+ return {
11928
+ GIpList: 'GIpList',
11929
+ globalIgName: 'GlobalIgName',
11930
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
11931
+ regionId: 'RegionId',
11932
+ };
11933
+ }
11934
+
11935
+ static types(): { [key: string]: any } {
11936
+ return {
11937
+ GIpList: 'string',
11938
+ globalIgName: 'string',
11939
+ globalSecurityGroupId: 'string',
11940
+ regionId: 'string',
11941
+ };
11942
+ }
11943
+
11944
+ constructor(map?: { [key: string]: any }) {
11945
+ super(map);
11946
+ }
11947
+ }
11948
+
11949
+ export class DeleteGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup extends $tea.Model {
11950
+ DBInstances?: string[];
11951
+ GIpList?: string;
11952
+ globalIgName?: string;
11953
+ globalSecurityGroupId?: string;
11954
+ regionId?: string;
11955
+ static names(): { [key: string]: string } {
11956
+ return {
11957
+ DBInstances: 'DBInstances',
11958
+ GIpList: 'GIpList',
11959
+ globalIgName: 'GlobalIgName',
11960
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
11961
+ regionId: 'RegionId',
11962
+ };
11963
+ }
11964
+
11965
+ static types(): { [key: string]: any } {
11966
+ return {
11967
+ DBInstances: { 'type': 'array', 'itemType': 'string' },
11968
+ GIpList: 'string',
11969
+ globalIgName: 'string',
11970
+ globalSecurityGroupId: 'string',
11971
+ regionId: 'string',
11972
+ };
11973
+ }
11974
+
11975
+ constructor(map?: { [key: string]: any }) {
11976
+ super(map);
11977
+ }
11978
+ }
11979
+
11063
11980
  export class DescribeAccountsResponseBodyAccountsDatabasePrivileges extends $tea.Model {
11064
11981
  accountPrivilege?: string;
11065
11982
  DBName?: string;
@@ -11516,6 +12433,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
11516
12433
  maxConnections?: number;
11517
12434
  maxIOPS?: number;
11518
12435
  sccMode?: string;
12436
+ serverWeight?: string;
11519
12437
  zoneId?: string;
11520
12438
  static names(): { [key: string]: string } {
11521
12439
  return {
@@ -11532,6 +12450,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
11532
12450
  maxConnections: 'MaxConnections',
11533
12451
  maxIOPS: 'MaxIOPS',
11534
12452
  sccMode: 'SccMode',
12453
+ serverWeight: 'ServerWeight',
11535
12454
  zoneId: 'ZoneId',
11536
12455
  };
11537
12456
  }
@@ -11551,6 +12470,7 @@ export class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.Model {
11551
12470
  maxConnections: 'number',
11552
12471
  maxIOPS: 'number',
11553
12472
  sccMode: 'string',
12473
+ serverWeight: 'string',
11554
12474
  zoneId: 'string',
11555
12475
  };
11556
12476
  }
@@ -13053,6 +13973,65 @@ export class DescribeGlobalDatabaseNetworksResponseBodyItems extends $tea.Model
13053
13973
  }
13054
13974
  }
13055
13975
 
13976
+ export class DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup extends $tea.Model {
13977
+ DBInstances?: string[];
13978
+ GIpList?: string;
13979
+ globalIgName?: string;
13980
+ globalSecurityGroupId?: string;
13981
+ regionId?: string;
13982
+ static names(): { [key: string]: string } {
13983
+ return {
13984
+ DBInstances: 'DBInstances',
13985
+ GIpList: 'GIpList',
13986
+ globalIgName: 'GlobalIgName',
13987
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
13988
+ regionId: 'RegionId',
13989
+ };
13990
+ }
13991
+
13992
+ static types(): { [key: string]: any } {
13993
+ return {
13994
+ DBInstances: { 'type': 'array', 'itemType': 'string' },
13995
+ GIpList: 'string',
13996
+ globalIgName: 'string',
13997
+ globalSecurityGroupId: 'string',
13998
+ regionId: 'string',
13999
+ };
14000
+ }
14001
+
14002
+ constructor(map?: { [key: string]: any }) {
14003
+ super(map);
14004
+ }
14005
+ }
14006
+
14007
+ export class DescribeGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel extends $tea.Model {
14008
+ GIpList?: string;
14009
+ globalIgName?: string;
14010
+ globalSecurityGroupId?: string;
14011
+ regionId?: string;
14012
+ static names(): { [key: string]: string } {
14013
+ return {
14014
+ GIpList: 'GIpList',
14015
+ globalIgName: 'GlobalIgName',
14016
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
14017
+ regionId: 'RegionId',
14018
+ };
14019
+ }
14020
+
14021
+ static types(): { [key: string]: any } {
14022
+ return {
14023
+ GIpList: 'string',
14024
+ globalIgName: 'string',
14025
+ globalSecurityGroupId: 'string',
14026
+ regionId: 'string',
14027
+ };
14028
+ }
14029
+
14030
+ constructor(map?: { [key: string]: any }) {
14031
+ super(map);
14032
+ }
14033
+ }
14034
+
13056
14035
  export class DescribeMaskingRulesResponseBodyData extends $tea.Model {
13057
14036
  ruleList?: string[];
13058
14037
  static names(): { [key: string]: string } {
@@ -13877,6 +14856,93 @@ export class ModifyDBNodesClassRequestDBNode extends $tea.Model {
13877
14856
  }
13878
14857
  }
13879
14858
 
14859
+ export class ModifyGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup extends $tea.Model {
14860
+ DBInstances?: string[];
14861
+ GIpList?: string;
14862
+ globalIgName?: string;
14863
+ globalSecurityGroupId?: string;
14864
+ regionId?: string;
14865
+ static names(): { [key: string]: string } {
14866
+ return {
14867
+ DBInstances: 'DBInstances',
14868
+ GIpList: 'GIpList',
14869
+ globalIgName: 'GlobalIgName',
14870
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
14871
+ regionId: 'RegionId',
14872
+ };
14873
+ }
14874
+
14875
+ static types(): { [key: string]: any } {
14876
+ return {
14877
+ DBInstances: { 'type': 'array', 'itemType': 'string' },
14878
+ GIpList: 'string',
14879
+ globalIgName: 'string',
14880
+ globalSecurityGroupId: 'string',
14881
+ regionId: 'string',
14882
+ };
14883
+ }
14884
+
14885
+ constructor(map?: { [key: string]: any }) {
14886
+ super(map);
14887
+ }
14888
+ }
14889
+
14890
+ export class ModifyGlobalSecurityIPGroupNameResponseBodyGlobalSecurityIPGroup extends $tea.Model {
14891
+ GIpList?: string;
14892
+ globalIgName?: string;
14893
+ globalSecurityGroupId?: string;
14894
+ regionId?: string;
14895
+ static names(): { [key: string]: string } {
14896
+ return {
14897
+ GIpList: 'GIpList',
14898
+ globalIgName: 'GlobalIgName',
14899
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
14900
+ regionId: 'RegionId',
14901
+ };
14902
+ }
14903
+
14904
+ static types(): { [key: string]: any } {
14905
+ return {
14906
+ GIpList: 'string',
14907
+ globalIgName: 'string',
14908
+ globalSecurityGroupId: 'string',
14909
+ regionId: 'string',
14910
+ };
14911
+ }
14912
+
14913
+ constructor(map?: { [key: string]: any }) {
14914
+ super(map);
14915
+ }
14916
+ }
14917
+
14918
+ export class ModifyGlobalSecurityIPGroupRelationResponseBodyGlobalSecurityIPGroupRel extends $tea.Model {
14919
+ GIpList?: string;
14920
+ globalIgName?: string;
14921
+ globalSecurityGroupId?: string;
14922
+ regionId?: string;
14923
+ static names(): { [key: string]: string } {
14924
+ return {
14925
+ GIpList: 'GIpList',
14926
+ globalIgName: 'GlobalIgName',
14927
+ globalSecurityGroupId: 'GlobalSecurityGroupId',
14928
+ regionId: 'RegionId',
14929
+ };
14930
+ }
14931
+
14932
+ static types(): { [key: string]: any } {
14933
+ return {
14934
+ GIpList: 'string',
14935
+ globalIgName: 'string',
14936
+ globalSecurityGroupId: 'string',
14937
+ regionId: 'string',
14938
+ };
14939
+ }
14940
+
14941
+ constructor(map?: { [key: string]: any }) {
14942
+ super(map);
14943
+ }
14944
+ }
14945
+
13880
14946
  export class TagResourcesRequestTag extends $tea.Model {
13881
14947
  key?: string;
13882
14948
  value?: string;
@@ -14366,6 +15432,10 @@ export default class Client extends OpenApi {
14366
15432
  async createDBClusterWithOptions(request: CreateDBClusterRequest, runtime: $Util.RuntimeOptions): Promise<CreateDBClusterResponse> {
14367
15433
  Util.validateModel(request);
14368
15434
  let query = { };
15435
+ if (!Util.isUnset(request.allowShutDown)) {
15436
+ query["AllowShutDown"] = request.allowShutDown;
15437
+ }
15438
+
14369
15439
  if (!Util.isUnset(request.autoRenew)) {
14370
15440
  query["AutoRenew"] = request.autoRenew;
14371
15441
  }
@@ -14462,14 +15532,38 @@ export default class Client extends OpenApi {
14462
15532
  query["ResourceOwnerId"] = request.resourceOwnerId;
14463
15533
  }
14464
15534
 
15535
+ if (!Util.isUnset(request.scaleMax)) {
15536
+ query["ScaleMax"] = request.scaleMax;
15537
+ }
15538
+
15539
+ if (!Util.isUnset(request.scaleMin)) {
15540
+ query["ScaleMin"] = request.scaleMin;
15541
+ }
15542
+
15543
+ if (!Util.isUnset(request.scaleRoNumMax)) {
15544
+ query["ScaleRoNumMax"] = request.scaleRoNumMax;
15545
+ }
15546
+
15547
+ if (!Util.isUnset(request.scaleRoNumMin)) {
15548
+ query["ScaleRoNumMin"] = request.scaleRoNumMin;
15549
+ }
15550
+
14465
15551
  if (!Util.isUnset(request.securityIPList)) {
14466
15552
  query["SecurityIPList"] = request.securityIPList;
14467
15553
  }
14468
15554
 
15555
+ if (!Util.isUnset(request.serverlessType)) {
15556
+ query["ServerlessType"] = request.serverlessType;
15557
+ }
15558
+
14469
15559
  if (!Util.isUnset(request.sourceResourceId)) {
14470
15560
  query["SourceResourceId"] = request.sourceResourceId;
14471
15561
  }
14472
15562
 
15563
+ if (!Util.isUnset(request.storageType)) {
15564
+ query["StorageType"] = request.storageType;
15565
+ }
15566
+
14473
15567
  if (!Util.isUnset(request.TDEStatus)) {
14474
15568
  query["TDEStatus"] = request.TDEStatus;
14475
15569
  }
@@ -14839,12 +15933,61 @@ export default class Client extends OpenApi {
14839
15933
  query["DBClusterId"] = request.DBClusterId;
14840
15934
  }
14841
15935
 
14842
- if (!Util.isUnset(request.DBDescription)) {
14843
- query["DBDescription"] = request.DBDescription;
14844
- }
14845
-
14846
- if (!Util.isUnset(request.DBName)) {
14847
- query["DBName"] = request.DBName;
15936
+ if (!Util.isUnset(request.DBDescription)) {
15937
+ query["DBDescription"] = request.DBDescription;
15938
+ }
15939
+
15940
+ if (!Util.isUnset(request.DBName)) {
15941
+ query["DBName"] = request.DBName;
15942
+ }
15943
+
15944
+ if (!Util.isUnset(request.ownerAccount)) {
15945
+ query["OwnerAccount"] = request.ownerAccount;
15946
+ }
15947
+
15948
+ if (!Util.isUnset(request.ownerId)) {
15949
+ query["OwnerId"] = request.ownerId;
15950
+ }
15951
+
15952
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
15953
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
15954
+ }
15955
+
15956
+ if (!Util.isUnset(request.resourceOwnerId)) {
15957
+ query["ResourceOwnerId"] = request.resourceOwnerId;
15958
+ }
15959
+
15960
+ let req = new $OpenApi.OpenApiRequest({
15961
+ query: OpenApiUtil.query(query),
15962
+ });
15963
+ let params = new $OpenApi.Params({
15964
+ action: "CreateDatabase",
15965
+ version: "2017-08-01",
15966
+ protocol: "HTTPS",
15967
+ pathname: "/",
15968
+ method: "POST",
15969
+ authType: "AK",
15970
+ style: "RPC",
15971
+ reqBodyType: "formData",
15972
+ bodyType: "json",
15973
+ });
15974
+ return $tea.cast<CreateDatabaseResponse>(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
15975
+ }
15976
+
15977
+ async createDatabase(request: CreateDatabaseRequest): Promise<CreateDatabaseResponse> {
15978
+ let runtime = new $Util.RuntimeOptions({ });
15979
+ return await this.createDatabaseWithOptions(request, runtime);
15980
+ }
15981
+
15982
+ async createGlobalDatabaseNetworkWithOptions(request: CreateGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<CreateGlobalDatabaseNetworkResponse> {
15983
+ Util.validateModel(request);
15984
+ let query = { };
15985
+ if (!Util.isUnset(request.DBClusterId)) {
15986
+ query["DBClusterId"] = request.DBClusterId;
15987
+ }
15988
+
15989
+ if (!Util.isUnset(request.GDNDescription)) {
15990
+ query["GDNDescription"] = request.GDNDescription;
14848
15991
  }
14849
15992
 
14850
15993
  if (!Util.isUnset(request.ownerAccount)) {
@@ -14855,6 +15998,10 @@ export default class Client extends OpenApi {
14855
15998
  query["OwnerId"] = request.ownerId;
14856
15999
  }
14857
16000
 
16001
+ if (!Util.isUnset(request.resourceGroupId)) {
16002
+ query["ResourceGroupId"] = request.resourceGroupId;
16003
+ }
16004
+
14858
16005
  if (!Util.isUnset(request.resourceOwnerAccount)) {
14859
16006
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
14860
16007
  }
@@ -14863,11 +16010,15 @@ export default class Client extends OpenApi {
14863
16010
  query["ResourceOwnerId"] = request.resourceOwnerId;
14864
16011
  }
14865
16012
 
16013
+ if (!Util.isUnset(request.securityToken)) {
16014
+ query["SecurityToken"] = request.securityToken;
16015
+ }
16016
+
14866
16017
  let req = new $OpenApi.OpenApiRequest({
14867
16018
  query: OpenApiUtil.query(query),
14868
16019
  });
14869
16020
  let params = new $OpenApi.Params({
14870
- action: "CreateDatabase",
16021
+ action: "CreateGlobalDatabaseNetwork",
14871
16022
  version: "2017-08-01",
14872
16023
  protocol: "HTTPS",
14873
16024
  pathname: "/",
@@ -14877,23 +16028,23 @@ export default class Client extends OpenApi {
14877
16028
  reqBodyType: "formData",
14878
16029
  bodyType: "json",
14879
16030
  });
14880
- return $tea.cast<CreateDatabaseResponse>(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
16031
+ return $tea.cast<CreateGlobalDatabaseNetworkResponse>(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
14881
16032
  }
14882
16033
 
14883
- async createDatabase(request: CreateDatabaseRequest): Promise<CreateDatabaseResponse> {
16034
+ async createGlobalDatabaseNetwork(request: CreateGlobalDatabaseNetworkRequest): Promise<CreateGlobalDatabaseNetworkResponse> {
14884
16035
  let runtime = new $Util.RuntimeOptions({ });
14885
- return await this.createDatabaseWithOptions(request, runtime);
16036
+ return await this.createGlobalDatabaseNetworkWithOptions(request, runtime);
14886
16037
  }
14887
16038
 
14888
- async createGlobalDatabaseNetworkWithOptions(request: CreateGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<CreateGlobalDatabaseNetworkResponse> {
16039
+ async createGlobalSecurityIPGroupWithOptions(request: CreateGlobalSecurityIPGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateGlobalSecurityIPGroupResponse> {
14889
16040
  Util.validateModel(request);
14890
16041
  let query = { };
14891
- if (!Util.isUnset(request.DBClusterId)) {
14892
- query["DBClusterId"] = request.DBClusterId;
16042
+ if (!Util.isUnset(request.GIpList)) {
16043
+ query["GIpList"] = request.GIpList;
14893
16044
  }
14894
16045
 
14895
- if (!Util.isUnset(request.GDNDescription)) {
14896
- query["GDNDescription"] = request.GDNDescription;
16046
+ if (!Util.isUnset(request.globalIgName)) {
16047
+ query["GlobalIgName"] = request.globalIgName;
14897
16048
  }
14898
16049
 
14899
16050
  if (!Util.isUnset(request.ownerAccount)) {
@@ -14904,6 +16055,10 @@ export default class Client extends OpenApi {
14904
16055
  query["OwnerId"] = request.ownerId;
14905
16056
  }
14906
16057
 
16058
+ if (!Util.isUnset(request.regionId)) {
16059
+ query["RegionId"] = request.regionId;
16060
+ }
16061
+
14907
16062
  if (!Util.isUnset(request.resourceGroupId)) {
14908
16063
  query["ResourceGroupId"] = request.resourceGroupId;
14909
16064
  }
@@ -14924,7 +16079,7 @@ export default class Client extends OpenApi {
14924
16079
  query: OpenApiUtil.query(query),
14925
16080
  });
14926
16081
  let params = new $OpenApi.Params({
14927
- action: "CreateGlobalDatabaseNetwork",
16082
+ action: "CreateGlobalSecurityIPGroup",
14928
16083
  version: "2017-08-01",
14929
16084
  protocol: "HTTPS",
14930
16085
  pathname: "/",
@@ -14934,12 +16089,12 @@ export default class Client extends OpenApi {
14934
16089
  reqBodyType: "formData",
14935
16090
  bodyType: "json",
14936
16091
  });
14937
- return $tea.cast<CreateGlobalDatabaseNetworkResponse>(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
16092
+ return $tea.cast<CreateGlobalSecurityIPGroupResponse>(await this.callApi(params, req, runtime), new CreateGlobalSecurityIPGroupResponse({}));
14938
16093
  }
14939
16094
 
14940
- async createGlobalDatabaseNetwork(request: CreateGlobalDatabaseNetworkRequest): Promise<CreateGlobalDatabaseNetworkResponse> {
16095
+ async createGlobalSecurityIPGroup(request: CreateGlobalSecurityIPGroupRequest): Promise<CreateGlobalSecurityIPGroupResponse> {
14941
16096
  let runtime = new $Util.RuntimeOptions({ });
14942
- return await this.createGlobalDatabaseNetworkWithOptions(request, runtime);
16097
+ return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
14943
16098
  }
14944
16099
 
14945
16100
  async createParameterGroupWithOptions(request: CreateParameterGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateParameterGroupResponse> {
@@ -15525,6 +16680,67 @@ export default class Client extends OpenApi {
15525
16680
  return await this.deleteGlobalDatabaseNetworkWithOptions(request, runtime);
15526
16681
  }
15527
16682
 
16683
+ async deleteGlobalSecurityIPGroupWithOptions(request: DeleteGlobalSecurityIPGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteGlobalSecurityIPGroupResponse> {
16684
+ Util.validateModel(request);
16685
+ let query = { };
16686
+ if (!Util.isUnset(request.globalIgName)) {
16687
+ query["GlobalIgName"] = request.globalIgName;
16688
+ }
16689
+
16690
+ if (!Util.isUnset(request.globalSecurityGroupId)) {
16691
+ query["GlobalSecurityGroupId"] = request.globalSecurityGroupId;
16692
+ }
16693
+
16694
+ if (!Util.isUnset(request.ownerAccount)) {
16695
+ query["OwnerAccount"] = request.ownerAccount;
16696
+ }
16697
+
16698
+ if (!Util.isUnset(request.ownerId)) {
16699
+ query["OwnerId"] = request.ownerId;
16700
+ }
16701
+
16702
+ if (!Util.isUnset(request.regionId)) {
16703
+ query["RegionId"] = request.regionId;
16704
+ }
16705
+
16706
+ if (!Util.isUnset(request.resourceGroupId)) {
16707
+ query["ResourceGroupId"] = request.resourceGroupId;
16708
+ }
16709
+
16710
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
16711
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
16712
+ }
16713
+
16714
+ if (!Util.isUnset(request.resourceOwnerId)) {
16715
+ query["ResourceOwnerId"] = request.resourceOwnerId;
16716
+ }
16717
+
16718
+ if (!Util.isUnset(request.securityToken)) {
16719
+ query["SecurityToken"] = request.securityToken;
16720
+ }
16721
+
16722
+ let req = new $OpenApi.OpenApiRequest({
16723
+ query: OpenApiUtil.query(query),
16724
+ });
16725
+ let params = new $OpenApi.Params({
16726
+ action: "DeleteGlobalSecurityIPGroup",
16727
+ version: "2017-08-01",
16728
+ protocol: "HTTPS",
16729
+ pathname: "/",
16730
+ method: "POST",
16731
+ authType: "AK",
16732
+ style: "RPC",
16733
+ reqBodyType: "formData",
16734
+ bodyType: "json",
16735
+ });
16736
+ return $tea.cast<DeleteGlobalSecurityIPGroupResponse>(await this.callApi(params, req, runtime), new DeleteGlobalSecurityIPGroupResponse({}));
16737
+ }
16738
+
16739
+ async deleteGlobalSecurityIPGroup(request: DeleteGlobalSecurityIPGroupRequest): Promise<DeleteGlobalSecurityIPGroupResponse> {
16740
+ let runtime = new $Util.RuntimeOptions({ });
16741
+ return await this.deleteGlobalSecurityIPGroupWithOptions(request, runtime);
16742
+ }
16743
+
15528
16744
  async deleteMaskingRulesWithOptions(request: DeleteMaskingRulesRequest, runtime: $Util.RuntimeOptions): Promise<DeleteMaskingRulesResponse> {
15529
16745
  Util.validateModel(request);
15530
16746
  let query = { };
@@ -16570,6 +17786,51 @@ export default class Client extends OpenApi {
16570
17786
  return await this.describeDBClusterSSLWithOptions(request, runtime);
16571
17787
  }
16572
17788
 
17789
+ async describeDBClusterServerlessConfWithOptions(request: DescribeDBClusterServerlessConfRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterServerlessConfResponse> {
17790
+ Util.validateModel(request);
17791
+ let query = { };
17792
+ if (!Util.isUnset(request.DBClusterId)) {
17793
+ query["DBClusterId"] = request.DBClusterId;
17794
+ }
17795
+
17796
+ if (!Util.isUnset(request.ownerAccount)) {
17797
+ query["OwnerAccount"] = request.ownerAccount;
17798
+ }
17799
+
17800
+ if (!Util.isUnset(request.ownerId)) {
17801
+ query["OwnerId"] = request.ownerId;
17802
+ }
17803
+
17804
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
17805
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
17806
+ }
17807
+
17808
+ if (!Util.isUnset(request.resourceOwnerId)) {
17809
+ query["ResourceOwnerId"] = request.resourceOwnerId;
17810
+ }
17811
+
17812
+ let req = new $OpenApi.OpenApiRequest({
17813
+ query: OpenApiUtil.query(query),
17814
+ });
17815
+ let params = new $OpenApi.Params({
17816
+ action: "DescribeDBClusterServerlessConf",
17817
+ version: "2017-08-01",
17818
+ protocol: "HTTPS",
17819
+ pathname: "/",
17820
+ method: "POST",
17821
+ authType: "AK",
17822
+ style: "RPC",
17823
+ reqBodyType: "formData",
17824
+ bodyType: "json",
17825
+ });
17826
+ return $tea.cast<DescribeDBClusterServerlessConfResponse>(await this.callApi(params, req, runtime), new DescribeDBClusterServerlessConfResponse({}));
17827
+ }
17828
+
17829
+ async describeDBClusterServerlessConf(request: DescribeDBClusterServerlessConfRequest): Promise<DescribeDBClusterServerlessConfResponse> {
17830
+ let runtime = new $Util.RuntimeOptions({ });
17831
+ return await this.describeDBClusterServerlessConfWithOptions(request, runtime);
17832
+ }
17833
+
16573
17834
  async describeDBClusterTDEWithOptions(request: DescribeDBClusterTDERequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterTDEResponse> {
16574
17835
  Util.validateModel(request);
16575
17836
  let query = { };
@@ -16663,6 +17924,10 @@ export default class Client extends OpenApi {
16663
17924
  async describeDBClustersWithOptions(request: DescribeDBClustersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClustersResponse> {
16664
17925
  Util.validateModel(request);
16665
17926
  let query = { };
17927
+ if (!Util.isUnset(request.connectionString)) {
17928
+ query["ConnectionString"] = request.connectionString;
17929
+ }
17930
+
16666
17931
  if (!Util.isUnset(request.DBClusterDescription)) {
16667
17932
  query["DBClusterDescription"] = request.DBClusterDescription;
16668
17933
  }
@@ -16683,6 +17948,10 @@ export default class Client extends OpenApi {
16683
17948
  query["DBType"] = request.DBType;
16684
17949
  }
16685
17950
 
17951
+ if (!Util.isUnset(request.DBVersion)) {
17952
+ query["DBVersion"] = request.DBVersion;
17953
+ }
17954
+
16686
17955
  if (!Util.isUnset(request.expired)) {
16687
17956
  query["Expired"] = request.expired;
16688
17957
  }
@@ -17179,7 +18448,129 @@ export default class Client extends OpenApi {
17179
18448
  query: OpenApiUtil.query(query),
17180
18449
  });
17181
18450
  let params = new $OpenApi.Params({
17182
- action: "DescribeDetachedBackups",
18451
+ action: "DescribeDetachedBackups",
18452
+ version: "2017-08-01",
18453
+ protocol: "HTTPS",
18454
+ pathname: "/",
18455
+ method: "POST",
18456
+ authType: "AK",
18457
+ style: "RPC",
18458
+ reqBodyType: "formData",
18459
+ bodyType: "json",
18460
+ });
18461
+ return $tea.cast<DescribeDetachedBackupsResponse>(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
18462
+ }
18463
+
18464
+ async describeDetachedBackups(request: DescribeDetachedBackupsRequest): Promise<DescribeDetachedBackupsResponse> {
18465
+ let runtime = new $Util.RuntimeOptions({ });
18466
+ return await this.describeDetachedBackupsWithOptions(request, runtime);
18467
+ }
18468
+
18469
+ async describeGlobalDatabaseNetworkWithOptions(request: DescribeGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGlobalDatabaseNetworkResponse> {
18470
+ Util.validateModel(request);
18471
+ let query = { };
18472
+ if (!Util.isUnset(request.GDNId)) {
18473
+ query["GDNId"] = request.GDNId;
18474
+ }
18475
+
18476
+ if (!Util.isUnset(request.ownerAccount)) {
18477
+ query["OwnerAccount"] = request.ownerAccount;
18478
+ }
18479
+
18480
+ if (!Util.isUnset(request.ownerId)) {
18481
+ query["OwnerId"] = request.ownerId;
18482
+ }
18483
+
18484
+ if (!Util.isUnset(request.resourceGroupId)) {
18485
+ query["ResourceGroupId"] = request.resourceGroupId;
18486
+ }
18487
+
18488
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
18489
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
18490
+ }
18491
+
18492
+ if (!Util.isUnset(request.resourceOwnerId)) {
18493
+ query["ResourceOwnerId"] = request.resourceOwnerId;
18494
+ }
18495
+
18496
+ if (!Util.isUnset(request.securityToken)) {
18497
+ query["SecurityToken"] = request.securityToken;
18498
+ }
18499
+
18500
+ let req = new $OpenApi.OpenApiRequest({
18501
+ query: OpenApiUtil.query(query),
18502
+ });
18503
+ let params = new $OpenApi.Params({
18504
+ action: "DescribeGlobalDatabaseNetwork",
18505
+ version: "2017-08-01",
18506
+ protocol: "HTTPS",
18507
+ pathname: "/",
18508
+ method: "POST",
18509
+ authType: "AK",
18510
+ style: "RPC",
18511
+ reqBodyType: "formData",
18512
+ bodyType: "json",
18513
+ });
18514
+ return $tea.cast<DescribeGlobalDatabaseNetworkResponse>(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworkResponse({}));
18515
+ }
18516
+
18517
+ async describeGlobalDatabaseNetwork(request: DescribeGlobalDatabaseNetworkRequest): Promise<DescribeGlobalDatabaseNetworkResponse> {
18518
+ let runtime = new $Util.RuntimeOptions({ });
18519
+ return await this.describeGlobalDatabaseNetworkWithOptions(request, runtime);
18520
+ }
18521
+
18522
+ async describeGlobalDatabaseNetworksWithOptions(request: DescribeGlobalDatabaseNetworksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGlobalDatabaseNetworksResponse> {
18523
+ Util.validateModel(request);
18524
+ let query = { };
18525
+ if (!Util.isUnset(request.DBClusterId)) {
18526
+ query["DBClusterId"] = request.DBClusterId;
18527
+ }
18528
+
18529
+ if (!Util.isUnset(request.GDNDescription)) {
18530
+ query["GDNDescription"] = request.GDNDescription;
18531
+ }
18532
+
18533
+ if (!Util.isUnset(request.GDNId)) {
18534
+ query["GDNId"] = request.GDNId;
18535
+ }
18536
+
18537
+ if (!Util.isUnset(request.ownerAccount)) {
18538
+ query["OwnerAccount"] = request.ownerAccount;
18539
+ }
18540
+
18541
+ if (!Util.isUnset(request.ownerId)) {
18542
+ query["OwnerId"] = request.ownerId;
18543
+ }
18544
+
18545
+ if (!Util.isUnset(request.pageNumber)) {
18546
+ query["PageNumber"] = request.pageNumber;
18547
+ }
18548
+
18549
+ if (!Util.isUnset(request.pageSize)) {
18550
+ query["PageSize"] = request.pageSize;
18551
+ }
18552
+
18553
+ if (!Util.isUnset(request.resourceGroupId)) {
18554
+ query["ResourceGroupId"] = request.resourceGroupId;
18555
+ }
18556
+
18557
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
18558
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
18559
+ }
18560
+
18561
+ if (!Util.isUnset(request.resourceOwnerId)) {
18562
+ query["ResourceOwnerId"] = request.resourceOwnerId;
18563
+ }
18564
+
18565
+ if (!Util.isUnset(request.securityToken)) {
18566
+ query["SecurityToken"] = request.securityToken;
18567
+ }
18568
+
18569
+ let req = new $OpenApi.OpenApiRequest({
18570
+ query: OpenApiUtil.query(query),
18571
+ });
18572
+ let params = new $OpenApi.Params({
18573
+ action: "DescribeGlobalDatabaseNetworks",
17183
18574
  version: "2017-08-01",
17184
18575
  protocol: "HTTPS",
17185
18576
  pathname: "/",
@@ -17189,19 +18580,19 @@ export default class Client extends OpenApi {
17189
18580
  reqBodyType: "formData",
17190
18581
  bodyType: "json",
17191
18582
  });
17192
- return $tea.cast<DescribeDetachedBackupsResponse>(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
18583
+ return $tea.cast<DescribeGlobalDatabaseNetworksResponse>(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworksResponse({}));
17193
18584
  }
17194
18585
 
17195
- async describeDetachedBackups(request: DescribeDetachedBackupsRequest): Promise<DescribeDetachedBackupsResponse> {
18586
+ async describeGlobalDatabaseNetworks(request: DescribeGlobalDatabaseNetworksRequest): Promise<DescribeGlobalDatabaseNetworksResponse> {
17196
18587
  let runtime = new $Util.RuntimeOptions({ });
17197
- return await this.describeDetachedBackupsWithOptions(request, runtime);
18588
+ return await this.describeGlobalDatabaseNetworksWithOptions(request, runtime);
17198
18589
  }
17199
18590
 
17200
- async describeGlobalDatabaseNetworkWithOptions(request: DescribeGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGlobalDatabaseNetworkResponse> {
18591
+ async describeGlobalSecurityIPGroupWithOptions(request: DescribeGlobalSecurityIPGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGlobalSecurityIPGroupResponse> {
17201
18592
  Util.validateModel(request);
17202
18593
  let query = { };
17203
- if (!Util.isUnset(request.GDNId)) {
17204
- query["GDNId"] = request.GDNId;
18594
+ if (!Util.isUnset(request.globalSecurityGroupId)) {
18595
+ query["GlobalSecurityGroupId"] = request.globalSecurityGroupId;
17205
18596
  }
17206
18597
 
17207
18598
  if (!Util.isUnset(request.ownerAccount)) {
@@ -17212,6 +18603,10 @@ export default class Client extends OpenApi {
17212
18603
  query["OwnerId"] = request.ownerId;
17213
18604
  }
17214
18605
 
18606
+ if (!Util.isUnset(request.regionId)) {
18607
+ query["RegionId"] = request.regionId;
18608
+ }
18609
+
17215
18610
  if (!Util.isUnset(request.resourceGroupId)) {
17216
18611
  query["ResourceGroupId"] = request.resourceGroupId;
17217
18612
  }
@@ -17232,7 +18627,7 @@ export default class Client extends OpenApi {
17232
18627
  query: OpenApiUtil.query(query),
17233
18628
  });
17234
18629
  let params = new $OpenApi.Params({
17235
- action: "DescribeGlobalDatabaseNetwork",
18630
+ action: "DescribeGlobalSecurityIPGroup",
17236
18631
  version: "2017-08-01",
17237
18632
  protocol: "HTTPS",
17238
18633
  pathname: "/",
@@ -17242,29 +18637,21 @@ export default class Client extends OpenApi {
17242
18637
  reqBodyType: "formData",
17243
18638
  bodyType: "json",
17244
18639
  });
17245
- return $tea.cast<DescribeGlobalDatabaseNetworkResponse>(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworkResponse({}));
18640
+ return $tea.cast<DescribeGlobalSecurityIPGroupResponse>(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupResponse({}));
17246
18641
  }
17247
18642
 
17248
- async describeGlobalDatabaseNetwork(request: DescribeGlobalDatabaseNetworkRequest): Promise<DescribeGlobalDatabaseNetworkResponse> {
18643
+ async describeGlobalSecurityIPGroup(request: DescribeGlobalSecurityIPGroupRequest): Promise<DescribeGlobalSecurityIPGroupResponse> {
17249
18644
  let runtime = new $Util.RuntimeOptions({ });
17250
- return await this.describeGlobalDatabaseNetworkWithOptions(request, runtime);
18645
+ return await this.describeGlobalSecurityIPGroupWithOptions(request, runtime);
17251
18646
  }
17252
18647
 
17253
- async describeGlobalDatabaseNetworksWithOptions(request: DescribeGlobalDatabaseNetworksRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGlobalDatabaseNetworksResponse> {
18648
+ async describeGlobalSecurityIPGroupRelationWithOptions(request: DescribeGlobalSecurityIPGroupRelationRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGlobalSecurityIPGroupRelationResponse> {
17254
18649
  Util.validateModel(request);
17255
18650
  let query = { };
17256
18651
  if (!Util.isUnset(request.DBClusterId)) {
17257
18652
  query["DBClusterId"] = request.DBClusterId;
17258
18653
  }
17259
18654
 
17260
- if (!Util.isUnset(request.GDNDescription)) {
17261
- query["GDNDescription"] = request.GDNDescription;
17262
- }
17263
-
17264
- if (!Util.isUnset(request.GDNId)) {
17265
- query["GDNId"] = request.GDNId;
17266
- }
17267
-
17268
18655
  if (!Util.isUnset(request.ownerAccount)) {
17269
18656
  query["OwnerAccount"] = request.ownerAccount;
17270
18657
  }
@@ -17273,12 +18660,8 @@ export default class Client extends OpenApi {
17273
18660
  query["OwnerId"] = request.ownerId;
17274
18661
  }
17275
18662
 
17276
- if (!Util.isUnset(request.pageNumber)) {
17277
- query["PageNumber"] = request.pageNumber;
17278
- }
17279
-
17280
- if (!Util.isUnset(request.pageSize)) {
17281
- query["PageSize"] = request.pageSize;
18663
+ if (!Util.isUnset(request.regionId)) {
18664
+ query["RegionId"] = request.regionId;
17282
18665
  }
17283
18666
 
17284
18667
  if (!Util.isUnset(request.resourceGroupId)) {
@@ -17301,7 +18684,7 @@ export default class Client extends OpenApi {
17301
18684
  query: OpenApiUtil.query(query),
17302
18685
  });
17303
18686
  let params = new $OpenApi.Params({
17304
- action: "DescribeGlobalDatabaseNetworks",
18687
+ action: "DescribeGlobalSecurityIPGroupRelation",
17305
18688
  version: "2017-08-01",
17306
18689
  protocol: "HTTPS",
17307
18690
  pathname: "/",
@@ -17311,12 +18694,12 @@ export default class Client extends OpenApi {
17311
18694
  reqBodyType: "formData",
17312
18695
  bodyType: "json",
17313
18696
  });
17314
- return $tea.cast<DescribeGlobalDatabaseNetworksResponse>(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworksResponse({}));
18697
+ return $tea.cast<DescribeGlobalSecurityIPGroupRelationResponse>(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupRelationResponse({}));
17315
18698
  }
17316
18699
 
17317
- async describeGlobalDatabaseNetworks(request: DescribeGlobalDatabaseNetworksRequest): Promise<DescribeGlobalDatabaseNetworksResponse> {
18700
+ async describeGlobalSecurityIPGroupRelation(request: DescribeGlobalSecurityIPGroupRelationRequest): Promise<DescribeGlobalSecurityIPGroupRelationResponse> {
17318
18701
  let runtime = new $Util.RuntimeOptions({ });
17319
- return await this.describeGlobalDatabaseNetworksWithOptions(request, runtime);
18702
+ return await this.describeGlobalSecurityIPGroupRelationWithOptions(request, runtime);
17320
18703
  }
17321
18704
 
17322
18705
  async describeLogBackupPolicyWithOptions(request: DescribeLogBackupPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLogBackupPolicyResponse> {
@@ -19504,6 +20887,75 @@ export default class Client extends OpenApi {
19504
20887
  return await this.modifyDBClusterSSLWithOptions(request, runtime);
19505
20888
  }
19506
20889
 
20890
+ async modifyDBClusterServerlessConfWithOptions(request: ModifyDBClusterServerlessConfRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterServerlessConfResponse> {
20891
+ Util.validateModel(request);
20892
+ let query = { };
20893
+ if (!Util.isUnset(request.allowShutDown)) {
20894
+ query["AllowShutDown"] = request.allowShutDown;
20895
+ }
20896
+
20897
+ if (!Util.isUnset(request.DBClusterId)) {
20898
+ query["DBClusterId"] = request.DBClusterId;
20899
+ }
20900
+
20901
+ if (!Util.isUnset(request.ownerAccount)) {
20902
+ query["OwnerAccount"] = request.ownerAccount;
20903
+ }
20904
+
20905
+ if (!Util.isUnset(request.ownerId)) {
20906
+ query["OwnerId"] = request.ownerId;
20907
+ }
20908
+
20909
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
20910
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
20911
+ }
20912
+
20913
+ if (!Util.isUnset(request.resourceOwnerId)) {
20914
+ query["ResourceOwnerId"] = request.resourceOwnerId;
20915
+ }
20916
+
20917
+ if (!Util.isUnset(request.scaleMax)) {
20918
+ query["ScaleMax"] = request.scaleMax;
20919
+ }
20920
+
20921
+ if (!Util.isUnset(request.scaleMin)) {
20922
+ query["ScaleMin"] = request.scaleMin;
20923
+ }
20924
+
20925
+ if (!Util.isUnset(request.scaleRoNumMax)) {
20926
+ query["ScaleRoNumMax"] = request.scaleRoNumMax;
20927
+ }
20928
+
20929
+ if (!Util.isUnset(request.scaleRoNumMin)) {
20930
+ query["ScaleRoNumMin"] = request.scaleRoNumMin;
20931
+ }
20932
+
20933
+ if (!Util.isUnset(request.secondsUntilAutoPause)) {
20934
+ query["SecondsUntilAutoPause"] = request.secondsUntilAutoPause;
20935
+ }
20936
+
20937
+ let req = new $OpenApi.OpenApiRequest({
20938
+ query: OpenApiUtil.query(query),
20939
+ });
20940
+ let params = new $OpenApi.Params({
20941
+ action: "ModifyDBClusterServerlessConf",
20942
+ version: "2017-08-01",
20943
+ protocol: "HTTPS",
20944
+ pathname: "/",
20945
+ method: "POST",
20946
+ authType: "AK",
20947
+ style: "RPC",
20948
+ reqBodyType: "formData",
20949
+ bodyType: "json",
20950
+ });
20951
+ return $tea.cast<ModifyDBClusterServerlessConfResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterServerlessConfResponse({}));
20952
+ }
20953
+
20954
+ async modifyDBClusterServerlessConf(request: ModifyDBClusterServerlessConfRequest): Promise<ModifyDBClusterServerlessConfResponse> {
20955
+ let runtime = new $Util.RuntimeOptions({ });
20956
+ return await this.modifyDBClusterServerlessConfWithOptions(request, runtime);
20957
+ }
20958
+
19507
20959
  async modifyDBClusterTDEWithOptions(request: ModifyDBClusterTDERequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterTDEResponse> {
19508
20960
  Util.validateModel(request);
19509
20961
  let query = { };
@@ -19951,6 +21403,193 @@ export default class Client extends OpenApi {
19951
21403
  return await this.modifyGlobalDatabaseNetworkWithOptions(request, runtime);
19952
21404
  }
19953
21405
 
21406
+ async modifyGlobalSecurityIPGroupWithOptions(request: ModifyGlobalSecurityIPGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyGlobalSecurityIPGroupResponse> {
21407
+ Util.validateModel(request);
21408
+ let query = { };
21409
+ if (!Util.isUnset(request.GIpList)) {
21410
+ query["GIpList"] = request.GIpList;
21411
+ }
21412
+
21413
+ if (!Util.isUnset(request.globalIgName)) {
21414
+ query["GlobalIgName"] = request.globalIgName;
21415
+ }
21416
+
21417
+ if (!Util.isUnset(request.globalSecurityGroupId)) {
21418
+ query["GlobalSecurityGroupId"] = request.globalSecurityGroupId;
21419
+ }
21420
+
21421
+ if (!Util.isUnset(request.ownerAccount)) {
21422
+ query["OwnerAccount"] = request.ownerAccount;
21423
+ }
21424
+
21425
+ if (!Util.isUnset(request.ownerId)) {
21426
+ query["OwnerId"] = request.ownerId;
21427
+ }
21428
+
21429
+ if (!Util.isUnset(request.regionId)) {
21430
+ query["RegionId"] = request.regionId;
21431
+ }
21432
+
21433
+ if (!Util.isUnset(request.resourceGroupId)) {
21434
+ query["ResourceGroupId"] = request.resourceGroupId;
21435
+ }
21436
+
21437
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
21438
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
21439
+ }
21440
+
21441
+ if (!Util.isUnset(request.resourceOwnerId)) {
21442
+ query["ResourceOwnerId"] = request.resourceOwnerId;
21443
+ }
21444
+
21445
+ if (!Util.isUnset(request.securityToken)) {
21446
+ query["SecurityToken"] = request.securityToken;
21447
+ }
21448
+
21449
+ let req = new $OpenApi.OpenApiRequest({
21450
+ query: OpenApiUtil.query(query),
21451
+ });
21452
+ let params = new $OpenApi.Params({
21453
+ action: "ModifyGlobalSecurityIPGroup",
21454
+ version: "2017-08-01",
21455
+ protocol: "HTTPS",
21456
+ pathname: "/",
21457
+ method: "POST",
21458
+ authType: "AK",
21459
+ style: "RPC",
21460
+ reqBodyType: "formData",
21461
+ bodyType: "json",
21462
+ });
21463
+ return $tea.cast<ModifyGlobalSecurityIPGroupResponse>(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupResponse({}));
21464
+ }
21465
+
21466
+ async modifyGlobalSecurityIPGroup(request: ModifyGlobalSecurityIPGroupRequest): Promise<ModifyGlobalSecurityIPGroupResponse> {
21467
+ let runtime = new $Util.RuntimeOptions({ });
21468
+ return await this.modifyGlobalSecurityIPGroupWithOptions(request, runtime);
21469
+ }
21470
+
21471
+ async modifyGlobalSecurityIPGroupNameWithOptions(request: ModifyGlobalSecurityIPGroupNameRequest, runtime: $Util.RuntimeOptions): Promise<ModifyGlobalSecurityIPGroupNameResponse> {
21472
+ Util.validateModel(request);
21473
+ let query = { };
21474
+ if (!Util.isUnset(request.globalIgName)) {
21475
+ query["GlobalIgName"] = request.globalIgName;
21476
+ }
21477
+
21478
+ if (!Util.isUnset(request.globalSecurityGroupId)) {
21479
+ query["GlobalSecurityGroupId"] = request.globalSecurityGroupId;
21480
+ }
21481
+
21482
+ if (!Util.isUnset(request.ownerAccount)) {
21483
+ query["OwnerAccount"] = request.ownerAccount;
21484
+ }
21485
+
21486
+ if (!Util.isUnset(request.ownerId)) {
21487
+ query["OwnerId"] = request.ownerId;
21488
+ }
21489
+
21490
+ if (!Util.isUnset(request.regionId)) {
21491
+ query["RegionId"] = request.regionId;
21492
+ }
21493
+
21494
+ if (!Util.isUnset(request.resourceGroupId)) {
21495
+ query["ResourceGroupId"] = request.resourceGroupId;
21496
+ }
21497
+
21498
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
21499
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
21500
+ }
21501
+
21502
+ if (!Util.isUnset(request.resourceOwnerId)) {
21503
+ query["ResourceOwnerId"] = request.resourceOwnerId;
21504
+ }
21505
+
21506
+ if (!Util.isUnset(request.securityToken)) {
21507
+ query["SecurityToken"] = request.securityToken;
21508
+ }
21509
+
21510
+ let req = new $OpenApi.OpenApiRequest({
21511
+ query: OpenApiUtil.query(query),
21512
+ });
21513
+ let params = new $OpenApi.Params({
21514
+ action: "ModifyGlobalSecurityIPGroupName",
21515
+ version: "2017-08-01",
21516
+ protocol: "HTTPS",
21517
+ pathname: "/",
21518
+ method: "POST",
21519
+ authType: "AK",
21520
+ style: "RPC",
21521
+ reqBodyType: "formData",
21522
+ bodyType: "json",
21523
+ });
21524
+ return $tea.cast<ModifyGlobalSecurityIPGroupNameResponse>(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupNameResponse({}));
21525
+ }
21526
+
21527
+ async modifyGlobalSecurityIPGroupName(request: ModifyGlobalSecurityIPGroupNameRequest): Promise<ModifyGlobalSecurityIPGroupNameResponse> {
21528
+ let runtime = new $Util.RuntimeOptions({ });
21529
+ return await this.modifyGlobalSecurityIPGroupNameWithOptions(request, runtime);
21530
+ }
21531
+
21532
+ async modifyGlobalSecurityIPGroupRelationWithOptions(request: ModifyGlobalSecurityIPGroupRelationRequest, runtime: $Util.RuntimeOptions): Promise<ModifyGlobalSecurityIPGroupRelationResponse> {
21533
+ Util.validateModel(request);
21534
+ let query = { };
21535
+ if (!Util.isUnset(request.DBClusterId)) {
21536
+ query["DBClusterId"] = request.DBClusterId;
21537
+ }
21538
+
21539
+ if (!Util.isUnset(request.globalSecurityGroupId)) {
21540
+ query["GlobalSecurityGroupId"] = request.globalSecurityGroupId;
21541
+ }
21542
+
21543
+ if (!Util.isUnset(request.ownerAccount)) {
21544
+ query["OwnerAccount"] = request.ownerAccount;
21545
+ }
21546
+
21547
+ if (!Util.isUnset(request.ownerId)) {
21548
+ query["OwnerId"] = request.ownerId;
21549
+ }
21550
+
21551
+ if (!Util.isUnset(request.regionId)) {
21552
+ query["RegionId"] = request.regionId;
21553
+ }
21554
+
21555
+ if (!Util.isUnset(request.resourceGroupId)) {
21556
+ query["ResourceGroupId"] = request.resourceGroupId;
21557
+ }
21558
+
21559
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
21560
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
21561
+ }
21562
+
21563
+ if (!Util.isUnset(request.resourceOwnerId)) {
21564
+ query["ResourceOwnerId"] = request.resourceOwnerId;
21565
+ }
21566
+
21567
+ if (!Util.isUnset(request.securityToken)) {
21568
+ query["SecurityToken"] = request.securityToken;
21569
+ }
21570
+
21571
+ let req = new $OpenApi.OpenApiRequest({
21572
+ query: OpenApiUtil.query(query),
21573
+ });
21574
+ let params = new $OpenApi.Params({
21575
+ action: "ModifyGlobalSecurityIPGroupRelation",
21576
+ version: "2017-08-01",
21577
+ protocol: "HTTPS",
21578
+ pathname: "/",
21579
+ method: "POST",
21580
+ authType: "AK",
21581
+ style: "RPC",
21582
+ reqBodyType: "formData",
21583
+ bodyType: "json",
21584
+ });
21585
+ return $tea.cast<ModifyGlobalSecurityIPGroupRelationResponse>(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupRelationResponse({}));
21586
+ }
21587
+
21588
+ async modifyGlobalSecurityIPGroupRelation(request: ModifyGlobalSecurityIPGroupRelationRequest): Promise<ModifyGlobalSecurityIPGroupRelationResponse> {
21589
+ let runtime = new $Util.RuntimeOptions({ });
21590
+ return await this.modifyGlobalSecurityIPGroupRelationWithOptions(request, runtime);
21591
+ }
21592
+
19954
21593
  async modifyLogBackupPolicyWithOptions(request: ModifyLogBackupPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLogBackupPolicyResponse> {
19955
21594
  Util.validateModel(request);
19956
21595
  let query = { };
@@ -20492,6 +22131,10 @@ export default class Client extends OpenApi {
20492
22131
  query["DBClusterId"] = request.DBClusterId;
20493
22132
  }
20494
22133
 
22134
+ if (!Util.isUnset(request.forced)) {
22135
+ query["Forced"] = request.forced;
22136
+ }
22137
+
20495
22138
  if (!Util.isUnset(request.GDNId)) {
20496
22139
  query["GDNId"] = request.GDNId;
20497
22140
  }