@alicloud/adb20211201 1.2.0 → 1.3.0

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
@@ -990,6 +990,69 @@ export class AllocateClusterPublicConnectionResponse extends $tea.Model {
990
990
  }
991
991
  }
992
992
 
993
+ export class AttachUserENIRequest extends $tea.Model {
994
+ DBClusterId?: string;
995
+ static names(): { [key: string]: string } {
996
+ return {
997
+ DBClusterId: 'DBClusterId',
998
+ };
999
+ }
1000
+
1001
+ static types(): { [key: string]: any } {
1002
+ return {
1003
+ DBClusterId: 'string',
1004
+ };
1005
+ }
1006
+
1007
+ constructor(map?: { [key: string]: any }) {
1008
+ super(map);
1009
+ }
1010
+ }
1011
+
1012
+ export class AttachUserENIResponseBody extends $tea.Model {
1013
+ requestId?: string;
1014
+ static names(): { [key: string]: string } {
1015
+ return {
1016
+ requestId: 'RequestId',
1017
+ };
1018
+ }
1019
+
1020
+ static types(): { [key: string]: any } {
1021
+ return {
1022
+ requestId: 'string',
1023
+ };
1024
+ }
1025
+
1026
+ constructor(map?: { [key: string]: any }) {
1027
+ super(map);
1028
+ }
1029
+ }
1030
+
1031
+ export class AttachUserENIResponse extends $tea.Model {
1032
+ headers: { [key: string]: string };
1033
+ statusCode: number;
1034
+ body: AttachUserENIResponseBody;
1035
+ static names(): { [key: string]: string } {
1036
+ return {
1037
+ headers: 'headers',
1038
+ statusCode: 'statusCode',
1039
+ body: 'body',
1040
+ };
1041
+ }
1042
+
1043
+ static types(): { [key: string]: any } {
1044
+ return {
1045
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1046
+ statusCode: 'number',
1047
+ body: AttachUserENIResponseBody,
1048
+ };
1049
+ }
1050
+
1051
+ constructor(map?: { [key: string]: any }) {
1052
+ super(map);
1053
+ }
1054
+ }
1055
+
993
1056
  export class BindAccountRequest extends $tea.Model {
994
1057
  accountName?: string;
995
1058
  DBClusterId?: string;
@@ -1059,6 +1122,75 @@ export class BindAccountResponse extends $tea.Model {
1059
1122
  }
1060
1123
  }
1061
1124
 
1125
+ export class BindDBResourceGroupWithUserRequest extends $tea.Model {
1126
+ DBClusterId?: string;
1127
+ groupName?: string;
1128
+ groupUser?: string;
1129
+ static names(): { [key: string]: string } {
1130
+ return {
1131
+ DBClusterId: 'DBClusterId',
1132
+ groupName: 'GroupName',
1133
+ groupUser: 'GroupUser',
1134
+ };
1135
+ }
1136
+
1137
+ static types(): { [key: string]: any } {
1138
+ return {
1139
+ DBClusterId: 'string',
1140
+ groupName: 'string',
1141
+ groupUser: 'string',
1142
+ };
1143
+ }
1144
+
1145
+ constructor(map?: { [key: string]: any }) {
1146
+ super(map);
1147
+ }
1148
+ }
1149
+
1150
+ export class BindDBResourceGroupWithUserResponseBody extends $tea.Model {
1151
+ requestId?: string;
1152
+ static names(): { [key: string]: string } {
1153
+ return {
1154
+ requestId: 'RequestId',
1155
+ };
1156
+ }
1157
+
1158
+ static types(): { [key: string]: any } {
1159
+ return {
1160
+ requestId: 'string',
1161
+ };
1162
+ }
1163
+
1164
+ constructor(map?: { [key: string]: any }) {
1165
+ super(map);
1166
+ }
1167
+ }
1168
+
1169
+ export class BindDBResourceGroupWithUserResponse extends $tea.Model {
1170
+ headers: { [key: string]: string };
1171
+ statusCode: number;
1172
+ body: BindDBResourceGroupWithUserResponseBody;
1173
+ static names(): { [key: string]: string } {
1174
+ return {
1175
+ headers: 'headers',
1176
+ statusCode: 'statusCode',
1177
+ body: 'body',
1178
+ };
1179
+ }
1180
+
1181
+ static types(): { [key: string]: any } {
1182
+ return {
1183
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1184
+ statusCode: 'number',
1185
+ body: BindDBResourceGroupWithUserResponseBody,
1186
+ };
1187
+ }
1188
+
1189
+ constructor(map?: { [key: string]: any }) {
1190
+ super(map);
1191
+ }
1192
+ }
1193
+
1062
1194
  export class CheckBindRamUserRequest extends $tea.Model {
1063
1195
  DBClusterId?: string;
1064
1196
  regionId?: string;
@@ -1128,6 +1260,72 @@ export class CheckBindRamUserResponse extends $tea.Model {
1128
1260
  }
1129
1261
  }
1130
1262
 
1263
+ export class CheckSampleDataSetRequest extends $tea.Model {
1264
+ DBClusterId?: string;
1265
+ static names(): { [key: string]: string } {
1266
+ return {
1267
+ DBClusterId: 'DBClusterId',
1268
+ };
1269
+ }
1270
+
1271
+ static types(): { [key: string]: any } {
1272
+ return {
1273
+ DBClusterId: 'string',
1274
+ };
1275
+ }
1276
+
1277
+ constructor(map?: { [key: string]: any }) {
1278
+ super(map);
1279
+ }
1280
+ }
1281
+
1282
+ export class CheckSampleDataSetResponseBody extends $tea.Model {
1283
+ requestId?: string;
1284
+ status?: string;
1285
+ static names(): { [key: string]: string } {
1286
+ return {
1287
+ requestId: 'RequestId',
1288
+ status: 'Status',
1289
+ };
1290
+ }
1291
+
1292
+ static types(): { [key: string]: any } {
1293
+ return {
1294
+ requestId: 'string',
1295
+ status: 'string',
1296
+ };
1297
+ }
1298
+
1299
+ constructor(map?: { [key: string]: any }) {
1300
+ super(map);
1301
+ }
1302
+ }
1303
+
1304
+ export class CheckSampleDataSetResponse extends $tea.Model {
1305
+ headers: { [key: string]: string };
1306
+ statusCode: number;
1307
+ body: CheckSampleDataSetResponseBody;
1308
+ static names(): { [key: string]: string } {
1309
+ return {
1310
+ headers: 'headers',
1311
+ statusCode: 'statusCode',
1312
+ body: 'body',
1313
+ };
1314
+ }
1315
+
1316
+ static types(): { [key: string]: any } {
1317
+ return {
1318
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1319
+ statusCode: 'number',
1320
+ body: CheckSampleDataSetResponseBody,
1321
+ };
1322
+ }
1323
+
1324
+ constructor(map?: { [key: string]: any }) {
1325
+ super(map);
1326
+ }
1327
+ }
1328
+
1131
1329
  export class CreateAccountRequest extends $tea.Model {
1132
1330
  accountDescription?: string;
1133
1331
  accountName?: string;
@@ -3579,6 +3777,72 @@ export class DescribeDBClusterPerformanceResponse extends $tea.Model {
3579
3777
  }
3580
3778
  }
3581
3779
 
3780
+ export class DescribeDBClusterStatusRequest extends $tea.Model {
3781
+ regionId?: string;
3782
+ static names(): { [key: string]: string } {
3783
+ return {
3784
+ regionId: 'RegionId',
3785
+ };
3786
+ }
3787
+
3788
+ static types(): { [key: string]: any } {
3789
+ return {
3790
+ regionId: 'string',
3791
+ };
3792
+ }
3793
+
3794
+ constructor(map?: { [key: string]: any }) {
3795
+ super(map);
3796
+ }
3797
+ }
3798
+
3799
+ export class DescribeDBClusterStatusResponseBody extends $tea.Model {
3800
+ requestId?: string;
3801
+ status?: string[];
3802
+ static names(): { [key: string]: string } {
3803
+ return {
3804
+ requestId: 'RequestId',
3805
+ status: 'Status',
3806
+ };
3807
+ }
3808
+
3809
+ static types(): { [key: string]: any } {
3810
+ return {
3811
+ requestId: 'string',
3812
+ status: { 'type': 'array', 'itemType': 'string' },
3813
+ };
3814
+ }
3815
+
3816
+ constructor(map?: { [key: string]: any }) {
3817
+ super(map);
3818
+ }
3819
+ }
3820
+
3821
+ export class DescribeDBClusterStatusResponse extends $tea.Model {
3822
+ headers: { [key: string]: string };
3823
+ statusCode: number;
3824
+ body: DescribeDBClusterStatusResponseBody;
3825
+ static names(): { [key: string]: string } {
3826
+ return {
3827
+ headers: 'headers',
3828
+ statusCode: 'statusCode',
3829
+ body: 'body',
3830
+ };
3831
+ }
3832
+
3833
+ static types(): { [key: string]: any } {
3834
+ return {
3835
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3836
+ statusCode: 'number',
3837
+ body: DescribeDBClusterStatusResponseBody,
3838
+ };
3839
+ }
3840
+
3841
+ constructor(map?: { [key: string]: any }) {
3842
+ super(map);
3843
+ }
3844
+ }
3845
+
3582
3846
  export class DescribeDBClustersRequest extends $tea.Model {
3583
3847
  DBClusterDescription?: string;
3584
3848
  DBClusterIds?: string;
@@ -5264,7 +5528,154 @@ export class DescribeTableAccessCountResponseBody extends $tea.Model {
5264
5528
  export class DescribeTableAccessCountResponse extends $tea.Model {
5265
5529
  headers: { [key: string]: string };
5266
5530
  statusCode: number;
5267
- body: DescribeTableAccessCountResponseBody;
5531
+ body: DescribeTableAccessCountResponseBody;
5532
+ static names(): { [key: string]: string } {
5533
+ return {
5534
+ headers: 'headers',
5535
+ statusCode: 'statusCode',
5536
+ body: 'body',
5537
+ };
5538
+ }
5539
+
5540
+ static types(): { [key: string]: any } {
5541
+ return {
5542
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5543
+ statusCode: 'number',
5544
+ body: DescribeTableAccessCountResponseBody,
5545
+ };
5546
+ }
5547
+
5548
+ constructor(map?: { [key: string]: any }) {
5549
+ super(map);
5550
+ }
5551
+ }
5552
+
5553
+ export class DescribeTablesRequest extends $tea.Model {
5554
+ DBClusterId?: string;
5555
+ regionId?: string;
5556
+ schemaName?: string;
5557
+ static names(): { [key: string]: string } {
5558
+ return {
5559
+ DBClusterId: 'DBClusterId',
5560
+ regionId: 'RegionId',
5561
+ schemaName: 'SchemaName',
5562
+ };
5563
+ }
5564
+
5565
+ static types(): { [key: string]: any } {
5566
+ return {
5567
+ DBClusterId: 'string',
5568
+ regionId: 'string',
5569
+ schemaName: 'string',
5570
+ };
5571
+ }
5572
+
5573
+ constructor(map?: { [key: string]: any }) {
5574
+ super(map);
5575
+ }
5576
+ }
5577
+
5578
+ export class DescribeTablesResponseBody extends $tea.Model {
5579
+ items?: DescribeTablesResponseBodyItems;
5580
+ requestId?: string;
5581
+ static names(): { [key: string]: string } {
5582
+ return {
5583
+ items: 'Items',
5584
+ requestId: 'RequestId',
5585
+ };
5586
+ }
5587
+
5588
+ static types(): { [key: string]: any } {
5589
+ return {
5590
+ items: DescribeTablesResponseBodyItems,
5591
+ requestId: 'string',
5592
+ };
5593
+ }
5594
+
5595
+ constructor(map?: { [key: string]: any }) {
5596
+ super(map);
5597
+ }
5598
+ }
5599
+
5600
+ export class DescribeTablesResponse extends $tea.Model {
5601
+ headers: { [key: string]: string };
5602
+ statusCode: number;
5603
+ body: DescribeTablesResponseBody;
5604
+ static names(): { [key: string]: string } {
5605
+ return {
5606
+ headers: 'headers',
5607
+ statusCode: 'statusCode',
5608
+ body: 'body',
5609
+ };
5610
+ }
5611
+
5612
+ static types(): { [key: string]: any } {
5613
+ return {
5614
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5615
+ statusCode: 'number',
5616
+ body: DescribeTablesResponseBody,
5617
+ };
5618
+ }
5619
+
5620
+ constructor(map?: { [key: string]: any }) {
5621
+ super(map);
5622
+ }
5623
+ }
5624
+
5625
+ export class DescribeUserQuotaRequest extends $tea.Model {
5626
+ DBClusterId?: string;
5627
+ static names(): { [key: string]: string } {
5628
+ return {
5629
+ DBClusterId: 'DBClusterId',
5630
+ };
5631
+ }
5632
+
5633
+ static types(): { [key: string]: any } {
5634
+ return {
5635
+ DBClusterId: 'string',
5636
+ };
5637
+ }
5638
+
5639
+ constructor(map?: { [key: string]: any }) {
5640
+ super(map);
5641
+ }
5642
+ }
5643
+
5644
+ export class DescribeUserQuotaResponseBody extends $tea.Model {
5645
+ elasticACU?: string;
5646
+ requestId?: string;
5647
+ reserverdCompteACU?: string;
5648
+ reserverdStorageACU?: string;
5649
+ resourceGroupCount?: string;
5650
+ static names(): { [key: string]: string } {
5651
+ return {
5652
+ elasticACU: 'ElasticACU',
5653
+ requestId: 'RequestId',
5654
+ reserverdCompteACU: 'ReserverdCompteACU',
5655
+ reserverdStorageACU: 'ReserverdStorageACU',
5656
+ resourceGroupCount: 'ResourceGroupCount',
5657
+ };
5658
+ }
5659
+
5660
+ static types(): { [key: string]: any } {
5661
+ return {
5662
+ elasticACU: 'string',
5663
+ requestId: 'string',
5664
+ reserverdCompteACU: 'string',
5665
+ reserverdStorageACU: 'string',
5666
+ resourceGroupCount: 'string',
5667
+ };
5668
+ }
5669
+
5670
+ constructor(map?: { [key: string]: any }) {
5671
+ super(map);
5672
+ }
5673
+ }
5674
+
5675
+ export class DescribeUserQuotaResponse extends $tea.Model {
5676
+ headers: { [key: string]: string };
5677
+ statusCode: number;
5678
+ body: DescribeUserQuotaResponseBody;
5268
5679
  static names(): { [key: string]: string } {
5269
5680
  return {
5270
5681
  headers: 'headers',
@@ -5277,7 +5688,7 @@ export class DescribeTableAccessCountResponse extends $tea.Model {
5277
5688
  return {
5278
5689
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5279
5690
  statusCode: 'number',
5280
- body: DescribeTableAccessCountResponseBody,
5691
+ body: DescribeUserQuotaResponseBody,
5281
5692
  };
5282
5693
  }
5283
5694
 
@@ -5286,23 +5697,17 @@ export class DescribeTableAccessCountResponse extends $tea.Model {
5286
5697
  }
5287
5698
  }
5288
5699
 
5289
- export class DescribeTablesRequest extends $tea.Model {
5700
+ export class DetachUserENIRequest extends $tea.Model {
5290
5701
  DBClusterId?: string;
5291
- regionId?: string;
5292
- schemaName?: string;
5293
5702
  static names(): { [key: string]: string } {
5294
5703
  return {
5295
5704
  DBClusterId: 'DBClusterId',
5296
- regionId: 'RegionId',
5297
- schemaName: 'SchemaName',
5298
5705
  };
5299
5706
  }
5300
5707
 
5301
5708
  static types(): { [key: string]: any } {
5302
5709
  return {
5303
5710
  DBClusterId: 'string',
5304
- regionId: 'string',
5305
- schemaName: 'string',
5306
5711
  };
5307
5712
  }
5308
5713
 
@@ -5311,19 +5716,16 @@ export class DescribeTablesRequest extends $tea.Model {
5311
5716
  }
5312
5717
  }
5313
5718
 
5314
- export class DescribeTablesResponseBody extends $tea.Model {
5315
- items?: DescribeTablesResponseBodyItems;
5719
+ export class DetachUserENIResponseBody extends $tea.Model {
5316
5720
  requestId?: string;
5317
5721
  static names(): { [key: string]: string } {
5318
5722
  return {
5319
- items: 'Items',
5320
5723
  requestId: 'RequestId',
5321
5724
  };
5322
5725
  }
5323
5726
 
5324
5727
  static types(): { [key: string]: any } {
5325
5728
  return {
5326
- items: DescribeTablesResponseBodyItems,
5327
5729
  requestId: 'string',
5328
5730
  };
5329
5731
  }
@@ -5333,10 +5735,10 @@ export class DescribeTablesResponseBody extends $tea.Model {
5333
5735
  }
5334
5736
  }
5335
5737
 
5336
- export class DescribeTablesResponse extends $tea.Model {
5738
+ export class DetachUserENIResponse extends $tea.Model {
5337
5739
  headers: { [key: string]: string };
5338
5740
  statusCode: number;
5339
- body: DescribeTablesResponseBody;
5741
+ body: DetachUserENIResponseBody;
5340
5742
  static names(): { [key: string]: string } {
5341
5743
  return {
5342
5744
  headers: 'headers',
@@ -5349,7 +5751,7 @@ export class DescribeTablesResponse extends $tea.Model {
5349
5751
  return {
5350
5752
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5351
5753
  statusCode: 'number',
5352
- body: DescribeTablesResponseBody,
5754
+ body: DetachUserENIResponseBody,
5353
5755
  };
5354
5756
  }
5355
5757
 
@@ -9082,6 +9484,75 @@ export class UnbindAccountResponse extends $tea.Model {
9082
9484
  }
9083
9485
  }
9084
9486
 
9487
+ export class UnbindDBResourceGroupWithUserRequest extends $tea.Model {
9488
+ DBClusterId?: string;
9489
+ groupName?: string;
9490
+ groupUser?: string;
9491
+ static names(): { [key: string]: string } {
9492
+ return {
9493
+ DBClusterId: 'DBClusterId',
9494
+ groupName: 'GroupName',
9495
+ groupUser: 'GroupUser',
9496
+ };
9497
+ }
9498
+
9499
+ static types(): { [key: string]: any } {
9500
+ return {
9501
+ DBClusterId: 'string',
9502
+ groupName: 'string',
9503
+ groupUser: 'string',
9504
+ };
9505
+ }
9506
+
9507
+ constructor(map?: { [key: string]: any }) {
9508
+ super(map);
9509
+ }
9510
+ }
9511
+
9512
+ export class UnbindDBResourceGroupWithUserResponseBody extends $tea.Model {
9513
+ requestId?: string;
9514
+ static names(): { [key: string]: string } {
9515
+ return {
9516
+ requestId: 'RequestId',
9517
+ };
9518
+ }
9519
+
9520
+ static types(): { [key: string]: any } {
9521
+ return {
9522
+ requestId: 'string',
9523
+ };
9524
+ }
9525
+
9526
+ constructor(map?: { [key: string]: any }) {
9527
+ super(map);
9528
+ }
9529
+ }
9530
+
9531
+ export class UnbindDBResourceGroupWithUserResponse extends $tea.Model {
9532
+ headers: { [key: string]: string };
9533
+ statusCode: number;
9534
+ body: UnbindDBResourceGroupWithUserResponseBody;
9535
+ static names(): { [key: string]: string } {
9536
+ return {
9537
+ headers: 'headers',
9538
+ statusCode: 'statusCode',
9539
+ body: 'body',
9540
+ };
9541
+ }
9542
+
9543
+ static types(): { [key: string]: any } {
9544
+ return {
9545
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9546
+ statusCode: 'number',
9547
+ body: UnbindDBResourceGroupWithUserResponseBody,
9548
+ };
9549
+ }
9550
+
9551
+ constructor(map?: { [key: string]: any }) {
9552
+ super(map);
9553
+ }
9554
+ }
9555
+
9085
9556
  export class UpdateSparkTemplateFileRequest extends $tea.Model {
9086
9557
  content?: string;
9087
9558
  DBClusterId?: string;
@@ -11274,11 +11745,13 @@ export class GetDatabaseObjectsResponseBodyData extends $tea.Model {
11274
11745
  }
11275
11746
 
11276
11747
  export class GetSparkAppAttemptLogResponseBodyData extends $tea.Model {
11748
+ appId?: string;
11277
11749
  DBClusterId?: string;
11278
11750
  logContent?: string;
11279
11751
  message?: string;
11280
11752
  static names(): { [key: string]: string } {
11281
11753
  return {
11754
+ appId: 'AppId',
11282
11755
  DBClusterId: 'DBClusterId',
11283
11756
  logContent: 'LogContent',
11284
11757
  message: 'Message',
@@ -11287,6 +11760,7 @@ export class GetSparkAppAttemptLogResponseBodyData extends $tea.Model {
11287
11760
 
11288
11761
  static types(): { [key: string]: any } {
11289
11762
  return {
11763
+ appId: 'string',
11290
11764
  DBClusterId: 'string',
11291
11765
  logContent: 'string',
11292
11766
  message: 'string',
@@ -12063,6 +12537,35 @@ export default class Client extends OpenApi {
12063
12537
  return await this.allocateClusterPublicConnectionWithOptions(request, runtime);
12064
12538
  }
12065
12539
 
12540
+ async attachUserENIWithOptions(request: AttachUserENIRequest, runtime: $Util.RuntimeOptions): Promise<AttachUserENIResponse> {
12541
+ Util.validateModel(request);
12542
+ let query = { };
12543
+ if (!Util.isUnset(request.DBClusterId)) {
12544
+ query["DBClusterId"] = request.DBClusterId;
12545
+ }
12546
+
12547
+ let req = new $OpenApi.OpenApiRequest({
12548
+ query: OpenApiUtil.query(query),
12549
+ });
12550
+ let params = new $OpenApi.Params({
12551
+ action: "AttachUserENI",
12552
+ version: "2021-12-01",
12553
+ protocol: "HTTPS",
12554
+ pathname: "/",
12555
+ method: "POST",
12556
+ authType: "AK",
12557
+ style: "RPC",
12558
+ reqBodyType: "formData",
12559
+ bodyType: "json",
12560
+ });
12561
+ return $tea.cast<AttachUserENIResponse>(await this.callApi(params, req, runtime), new AttachUserENIResponse({}));
12562
+ }
12563
+
12564
+ async attachUserENI(request: AttachUserENIRequest): Promise<AttachUserENIResponse> {
12565
+ let runtime = new $Util.RuntimeOptions({ });
12566
+ return await this.attachUserENIWithOptions(request, runtime);
12567
+ }
12568
+
12066
12569
  async bindAccountWithOptions(request: BindAccountRequest, runtime: $Util.RuntimeOptions): Promise<BindAccountResponse> {
12067
12570
  Util.validateModel(request);
12068
12571
  let query = { };
@@ -12100,6 +12603,43 @@ export default class Client extends OpenApi {
12100
12603
  return await this.bindAccountWithOptions(request, runtime);
12101
12604
  }
12102
12605
 
12606
+ async bindDBResourceGroupWithUserWithOptions(request: BindDBResourceGroupWithUserRequest, runtime: $Util.RuntimeOptions): Promise<BindDBResourceGroupWithUserResponse> {
12607
+ Util.validateModel(request);
12608
+ let query = { };
12609
+ if (!Util.isUnset(request.DBClusterId)) {
12610
+ query["DBClusterId"] = request.DBClusterId;
12611
+ }
12612
+
12613
+ if (!Util.isUnset(request.groupName)) {
12614
+ query["GroupName"] = request.groupName;
12615
+ }
12616
+
12617
+ if (!Util.isUnset(request.groupUser)) {
12618
+ query["GroupUser"] = request.groupUser;
12619
+ }
12620
+
12621
+ let req = new $OpenApi.OpenApiRequest({
12622
+ query: OpenApiUtil.query(query),
12623
+ });
12624
+ let params = new $OpenApi.Params({
12625
+ action: "BindDBResourceGroupWithUser",
12626
+ version: "2021-12-01",
12627
+ protocol: "HTTPS",
12628
+ pathname: "/",
12629
+ method: "POST",
12630
+ authType: "AK",
12631
+ style: "RPC",
12632
+ reqBodyType: "formData",
12633
+ bodyType: "json",
12634
+ });
12635
+ return $tea.cast<BindDBResourceGroupWithUserResponse>(await this.callApi(params, req, runtime), new BindDBResourceGroupWithUserResponse({}));
12636
+ }
12637
+
12638
+ async bindDBResourceGroupWithUser(request: BindDBResourceGroupWithUserRequest): Promise<BindDBResourceGroupWithUserResponse> {
12639
+ let runtime = new $Util.RuntimeOptions({ });
12640
+ return await this.bindDBResourceGroupWithUserWithOptions(request, runtime);
12641
+ }
12642
+
12103
12643
  async checkBindRamUserWithOptions(request: CheckBindRamUserRequest, runtime: $Util.RuntimeOptions): Promise<CheckBindRamUserResponse> {
12104
12644
  Util.validateModel(request);
12105
12645
  let query = { };
@@ -12133,6 +12673,35 @@ export default class Client extends OpenApi {
12133
12673
  return await this.checkBindRamUserWithOptions(request, runtime);
12134
12674
  }
12135
12675
 
12676
+ async checkSampleDataSetWithOptions(request: CheckSampleDataSetRequest, runtime: $Util.RuntimeOptions): Promise<CheckSampleDataSetResponse> {
12677
+ Util.validateModel(request);
12678
+ let query = { };
12679
+ if (!Util.isUnset(request.DBClusterId)) {
12680
+ query["DBClusterId"] = request.DBClusterId;
12681
+ }
12682
+
12683
+ let req = new $OpenApi.OpenApiRequest({
12684
+ query: OpenApiUtil.query(query),
12685
+ });
12686
+ let params = new $OpenApi.Params({
12687
+ action: "CheckSampleDataSet",
12688
+ version: "2021-12-01",
12689
+ protocol: "HTTPS",
12690
+ pathname: "/",
12691
+ method: "POST",
12692
+ authType: "AK",
12693
+ style: "RPC",
12694
+ reqBodyType: "formData",
12695
+ bodyType: "json",
12696
+ });
12697
+ return $tea.cast<CheckSampleDataSetResponse>(await this.callApi(params, req, runtime), new CheckSampleDataSetResponse({}));
12698
+ }
12699
+
12700
+ async checkSampleDataSet(request: CheckSampleDataSetRequest): Promise<CheckSampleDataSetResponse> {
12701
+ let runtime = new $Util.RuntimeOptions({ });
12702
+ return await this.checkSampleDataSetWithOptions(request, runtime);
12703
+ }
12704
+
12136
12705
  async createAccountWithOptions(request: CreateAccountRequest, runtime: $Util.RuntimeOptions): Promise<CreateAccountResponse> {
12137
12706
  Util.validateModel(request);
12138
12707
  let query = { };
@@ -13494,6 +14063,35 @@ export default class Client extends OpenApi {
13494
14063
  return await this.describeDBClusterPerformanceWithOptions(request, runtime);
13495
14064
  }
13496
14065
 
14066
+ async describeDBClusterStatusWithOptions(request: DescribeDBClusterStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterStatusResponse> {
14067
+ Util.validateModel(request);
14068
+ let query = { };
14069
+ if (!Util.isUnset(request.regionId)) {
14070
+ query["RegionId"] = request.regionId;
14071
+ }
14072
+
14073
+ let req = new $OpenApi.OpenApiRequest({
14074
+ query: OpenApiUtil.query(query),
14075
+ });
14076
+ let params = new $OpenApi.Params({
14077
+ action: "DescribeDBClusterStatus",
14078
+ version: "2021-12-01",
14079
+ protocol: "HTTPS",
14080
+ pathname: "/",
14081
+ method: "POST",
14082
+ authType: "AK",
14083
+ style: "RPC",
14084
+ reqBodyType: "formData",
14085
+ bodyType: "json",
14086
+ });
14087
+ return $tea.cast<DescribeDBClusterStatusResponse>(await this.callApi(params, req, runtime), new DescribeDBClusterStatusResponse({}));
14088
+ }
14089
+
14090
+ async describeDBClusterStatus(request: DescribeDBClusterStatusRequest): Promise<DescribeDBClusterStatusResponse> {
14091
+ let runtime = new $Util.RuntimeOptions({ });
14092
+ return await this.describeDBClusterStatusWithOptions(request, runtime);
14093
+ }
14094
+
13497
14095
  async describeDBClustersWithOptions(request: DescribeDBClustersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClustersResponse> {
13498
14096
  Util.validateModel(request);
13499
14097
  let query = { };
@@ -14447,6 +15045,60 @@ export default class Client extends OpenApi {
14447
15045
  return await this.describeTablesWithOptions(request, runtime);
14448
15046
  }
14449
15047
 
15048
+ async describeUserQuotaWithOptions(request: DescribeUserQuotaRequest, runtime: $Util.RuntimeOptions): Promise<DescribeUserQuotaResponse> {
15049
+ Util.validateModel(request);
15050
+ let query = OpenApiUtil.query(Util.toMap(request));
15051
+ let req = new $OpenApi.OpenApiRequest({
15052
+ query: OpenApiUtil.query(query),
15053
+ });
15054
+ let params = new $OpenApi.Params({
15055
+ action: "DescribeUserQuota",
15056
+ version: "2021-12-01",
15057
+ protocol: "HTTPS",
15058
+ pathname: "/",
15059
+ method: "GET",
15060
+ authType: "AK",
15061
+ style: "RPC",
15062
+ reqBodyType: "formData",
15063
+ bodyType: "json",
15064
+ });
15065
+ return $tea.cast<DescribeUserQuotaResponse>(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
15066
+ }
15067
+
15068
+ async describeUserQuota(request: DescribeUserQuotaRequest): Promise<DescribeUserQuotaResponse> {
15069
+ let runtime = new $Util.RuntimeOptions({ });
15070
+ return await this.describeUserQuotaWithOptions(request, runtime);
15071
+ }
15072
+
15073
+ async detachUserENIWithOptions(request: DetachUserENIRequest, runtime: $Util.RuntimeOptions): Promise<DetachUserENIResponse> {
15074
+ Util.validateModel(request);
15075
+ let query = { };
15076
+ if (!Util.isUnset(request.DBClusterId)) {
15077
+ query["DBClusterId"] = request.DBClusterId;
15078
+ }
15079
+
15080
+ let req = new $OpenApi.OpenApiRequest({
15081
+ query: OpenApiUtil.query(query),
15082
+ });
15083
+ let params = new $OpenApi.Params({
15084
+ action: "DetachUserENI",
15085
+ version: "2021-12-01",
15086
+ protocol: "HTTPS",
15087
+ pathname: "/",
15088
+ method: "POST",
15089
+ authType: "AK",
15090
+ style: "RPC",
15091
+ reqBodyType: "formData",
15092
+ bodyType: "json",
15093
+ });
15094
+ return $tea.cast<DetachUserENIResponse>(await this.callApi(params, req, runtime), new DetachUserENIResponse({}));
15095
+ }
15096
+
15097
+ async detachUserENI(request: DetachUserENIRequest): Promise<DetachUserENIResponse> {
15098
+ let runtime = new $Util.RuntimeOptions({ });
15099
+ return await this.detachUserENIWithOptions(request, runtime);
15100
+ }
15101
+
14450
15102
  async disableElasticPlanWithOptions(request: DisableElasticPlanRequest, runtime: $Util.RuntimeOptions): Promise<DisableElasticPlanResponse> {
14451
15103
  Util.validateModel(request);
14452
15104
  let query = { };
@@ -16429,6 +17081,43 @@ export default class Client extends OpenApi {
16429
17081
  return await this.unbindAccountWithOptions(request, runtime);
16430
17082
  }
16431
17083
 
17084
+ async unbindDBResourceGroupWithUserWithOptions(request: UnbindDBResourceGroupWithUserRequest, runtime: $Util.RuntimeOptions): Promise<UnbindDBResourceGroupWithUserResponse> {
17085
+ Util.validateModel(request);
17086
+ let query = { };
17087
+ if (!Util.isUnset(request.DBClusterId)) {
17088
+ query["DBClusterId"] = request.DBClusterId;
17089
+ }
17090
+
17091
+ if (!Util.isUnset(request.groupName)) {
17092
+ query["GroupName"] = request.groupName;
17093
+ }
17094
+
17095
+ if (!Util.isUnset(request.groupUser)) {
17096
+ query["GroupUser"] = request.groupUser;
17097
+ }
17098
+
17099
+ let req = new $OpenApi.OpenApiRequest({
17100
+ query: OpenApiUtil.query(query),
17101
+ });
17102
+ let params = new $OpenApi.Params({
17103
+ action: "UnbindDBResourceGroupWithUser",
17104
+ version: "2021-12-01",
17105
+ protocol: "HTTPS",
17106
+ pathname: "/",
17107
+ method: "POST",
17108
+ authType: "AK",
17109
+ style: "RPC",
17110
+ reqBodyType: "formData",
17111
+ bodyType: "json",
17112
+ });
17113
+ return $tea.cast<UnbindDBResourceGroupWithUserResponse>(await this.callApi(params, req, runtime), new UnbindDBResourceGroupWithUserResponse({}));
17114
+ }
17115
+
17116
+ async unbindDBResourceGroupWithUser(request: UnbindDBResourceGroupWithUserRequest): Promise<UnbindDBResourceGroupWithUserResponse> {
17117
+ let runtime = new $Util.RuntimeOptions({ });
17118
+ return await this.unbindDBResourceGroupWithUserWithOptions(request, runtime);
17119
+ }
17120
+
16432
17121
  async updateSparkTemplateFileWithOptions(request: UpdateSparkTemplateFileRequest, runtime: $Util.RuntimeOptions): Promise<UpdateSparkTemplateFileResponse> {
16433
17122
  Util.validateModel(request);
16434
17123
  let body : {[key: string ]: any} = { };