@alicloud/adb20211201 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/dist/client.js CHANGED
@@ -41,7 +41,6 @@ exports.UpdateSparkTemplateFileResponseBodyData = exports.SubmitSparkAppResponse
41
41
  /**
42
42
  */
43
43
  const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
44
- const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
45
44
  const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
46
45
  const openapi_util_1 = __importDefault(require("@alicloud/openapi-util"));
47
46
  const endpoint_util_1 = __importDefault(require("@alicloud/endpoint-util"));
@@ -3125,19 +3124,23 @@ exports.DescribeBackupsRequest = DescribeBackupsRequest;
3125
3124
  class DescribeBackupsResponseBody extends $tea.Model {
3126
3125
  static names() {
3127
3126
  return {
3127
+ freeBackupSize: 'FreeBackupSize',
3128
3128
  items: 'Items',
3129
3129
  pageNumber: 'PageNumber',
3130
3130
  pageSize: 'PageSize',
3131
3131
  requestId: 'RequestId',
3132
+ totalBackupSize: 'TotalBackupSize',
3132
3133
  totalCount: 'TotalCount',
3133
3134
  };
3134
3135
  }
3135
3136
  static types() {
3136
3137
  return {
3138
+ freeBackupSize: 'number',
3137
3139
  items: DescribeBackupsResponseBodyItems,
3138
3140
  pageNumber: 'string',
3139
3141
  pageSize: 'string',
3140
3142
  requestId: 'string',
3143
+ totalBackupSize: 'number',
3141
3144
  totalCount: 'string',
3142
3145
  };
3143
3146
  }
@@ -9786,6 +9789,7 @@ class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
9786
9789
  static names() {
9787
9790
  return {
9788
9791
  backupEndTime: 'BackupEndTime',
9792
+ backupExpiredTime: 'BackupExpiredTime',
9789
9793
  backupId: 'BackupId',
9790
9794
  backupMethod: 'BackupMethod',
9791
9795
  backupSize: 'BackupSize',
@@ -9797,6 +9801,7 @@ class DescribeBackupsResponseBodyItemsBackup extends $tea.Model {
9797
9801
  static types() {
9798
9802
  return {
9799
9803
  backupEndTime: 'string',
9804
+ backupExpiredTime: 'string',
9800
9805
  backupId: 'string',
9801
9806
  backupMethod: 'string',
9802
9807
  backupSize: 'number',
@@ -12271,9 +12276,6 @@ exports.UpdateSparkTemplateFileResponseBodyData = UpdateSparkTemplateFileRespons
12271
12276
  class Client extends openapi_client_1.default {
12272
12277
  constructor(config) {
12273
12278
  super(config);
12274
- this._productId = "adb";
12275
- let gatewayClient = new gateway_pop_1.default();
12276
- this._spi = gatewayClient;
12277
12279
  this._endpointRule = "regional";
12278
12280
  this._endpointMap = {
12279
12281
  'cn-qingdao': "adb.aliyuncs.com",
@@ -12369,12 +12371,7 @@ class Client extends openapi_client_1.default {
12369
12371
  reqBodyType: "formData",
12370
12372
  bodyType: "json",
12371
12373
  });
12372
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
12373
- return $tea.cast(await this.callApi(params, req, runtime), new AllocateClusterPublicConnectionResponse({}));
12374
- }
12375
- else {
12376
- return $tea.cast(await this.execute(params, req, runtime), new AllocateClusterPublicConnectionResponse({}));
12377
- }
12374
+ return $tea.cast(await this.callApi(params, req, runtime), new AllocateClusterPublicConnectionResponse({}));
12378
12375
  }
12379
12376
  /**
12380
12377
  * Applies for a public endpoint for an AnalyticDB for MySQL cluster.
@@ -12419,12 +12416,7 @@ class Client extends openapi_client_1.default {
12419
12416
  reqBodyType: "formData",
12420
12417
  bodyType: "json",
12421
12418
  });
12422
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
12423
- return $tea.cast(await this.callApi(params, req, runtime), new AttachUserENIResponse({}));
12424
- }
12425
- else {
12426
- return $tea.cast(await this.execute(params, req, runtime), new AttachUserENIResponse({}));
12427
- }
12419
+ return $tea.cast(await this.callApi(params, req, runtime), new AttachUserENIResponse({}));
12428
12420
  }
12429
12421
  /**
12430
12422
  * Attaches an elastic network interface (ENI) to an AnalyticDB for MySQL Data Lakehouse Edition cluster.
@@ -12475,12 +12467,7 @@ class Client extends openapi_client_1.default {
12475
12467
  reqBodyType: "formData",
12476
12468
  bodyType: "json",
12477
12469
  });
12478
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
12479
- return $tea.cast(await this.callApi(params, req, runtime), new BindAccountResponse({}));
12480
- }
12481
- else {
12482
- return $tea.cast(await this.execute(params, req, runtime), new BindAccountResponse({}));
12483
- }
12470
+ return $tea.cast(await this.callApi(params, req, runtime), new BindAccountResponse({}));
12484
12471
  }
12485
12472
  /**
12486
12473
  * Associates a standard account of an AnalyticDB for MySQL cluster with a Resource Access Management (RAM) user.
@@ -12531,12 +12518,7 @@ class Client extends openapi_client_1.default {
12531
12518
  reqBodyType: "formData",
12532
12519
  bodyType: "json",
12533
12520
  });
12534
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
12535
- return $tea.cast(await this.callApi(params, req, runtime), new BindDBResourceGroupWithUserResponse({}));
12536
- }
12537
- else {
12538
- return $tea.cast(await this.execute(params, req, runtime), new BindDBResourceGroupWithUserResponse({}));
12539
- }
12521
+ return $tea.cast(await this.callApi(params, req, runtime), new BindDBResourceGroupWithUserResponse({}));
12540
12522
  }
12541
12523
  /**
12542
12524
  * Associates a resource group with a database account.
@@ -12584,12 +12566,7 @@ class Client extends openapi_client_1.default {
12584
12566
  reqBodyType: "formData",
12585
12567
  bodyType: "json",
12586
12568
  });
12587
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
12588
- return $tea.cast(await this.callApi(params, req, runtime), new CheckBindRamUserResponse({}));
12589
- }
12590
- else {
12591
- return $tea.cast(await this.execute(params, req, runtime), new CheckBindRamUserResponse({}));
12592
- }
12569
+ return $tea.cast(await this.callApi(params, req, runtime), new CheckBindRamUserResponse({}));
12593
12570
  }
12594
12571
  /**
12595
12572
  * Queries whether a database account of an AnalyticDB for MySQL cluster is associated with a Resource Access Management (RAM) user.
@@ -12632,12 +12609,7 @@ class Client extends openapi_client_1.default {
12632
12609
  reqBodyType: "formData",
12633
12610
  bodyType: "json",
12634
12611
  });
12635
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
12636
- return $tea.cast(await this.callApi(params, req, runtime), new CheckSampleDataSetResponse({}));
12637
- }
12638
- else {
12639
- return $tea.cast(await this.execute(params, req, runtime), new CheckSampleDataSetResponse({}));
12640
- }
12612
+ return $tea.cast(await this.callApi(params, req, runtime), new CheckSampleDataSetResponse({}));
12641
12613
  }
12642
12614
  /**
12643
12615
  * @remarks
@@ -12695,12 +12667,7 @@ class Client extends openapi_client_1.default {
12695
12667
  reqBodyType: "formData",
12696
12668
  bodyType: "json",
12697
12669
  });
12698
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
12699
- return $tea.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
12700
- }
12701
- else {
12702
- return $tea.cast(await this.execute(params, req, runtime), new CreateAccountResponse({}));
12703
- }
12670
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
12704
12671
  }
12705
12672
  /**
12706
12673
  * Creates a database account for an AnalyticDB for MySQL cluster.
@@ -12817,12 +12784,7 @@ class Client extends openapi_client_1.default {
12817
12784
  reqBodyType: "formData",
12818
12785
  bodyType: "json",
12819
12786
  });
12820
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
12821
- return $tea.cast(await this.callApi(params, req, runtime), new CreateDBClusterResponse({}));
12822
- }
12823
- else {
12824
- return $tea.cast(await this.execute(params, req, runtime), new CreateDBClusterResponse({}));
12825
- }
12787
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateDBClusterResponse({}));
12826
12788
  }
12827
12789
  /**
12828
12790
  * Creates an AnalyticDB for MySQL Data Lakehouse Edition cluster.
@@ -12926,12 +12888,7 @@ class Client extends openapi_client_1.default {
12926
12888
  reqBodyType: "formData",
12927
12889
  bodyType: "json",
12928
12890
  });
12929
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
12930
- return $tea.cast(await this.callApi(params, req, runtime), new CreateDBResourceGroupResponse({}));
12931
- }
12932
- else {
12933
- return $tea.cast(await this.execute(params, req, runtime), new CreateDBResourceGroupResponse({}));
12934
- }
12891
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateDBResourceGroupResponse({}));
12935
12892
  }
12936
12893
  /**
12937
12894
  * Creates a resource group for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -13003,12 +12960,7 @@ class Client extends openapi_client_1.default {
13003
12960
  reqBodyType: "formData",
13004
12961
  bodyType: "json",
13005
12962
  });
13006
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13007
- return $tea.cast(await this.callApi(params, req, runtime), new CreateElasticPlanResponse({}));
13008
- }
13009
- else {
13010
- return $tea.cast(await this.execute(params, req, runtime), new CreateElasticPlanResponse({}));
13011
- }
12963
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateElasticPlanResponse({}));
13012
12964
  }
13013
12965
  /**
13014
12966
  * Creates a scaling plan for an AnalyticDB for MySQL cluster.
@@ -13058,12 +13010,7 @@ class Client extends openapi_client_1.default {
13058
13010
  reqBodyType: "formData",
13059
13011
  bodyType: "json",
13060
13012
  });
13061
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13062
- return $tea.cast(await this.callApi(params, req, runtime), new CreateOssSubDirectoryResponse({}));
13063
- }
13064
- else {
13065
- return $tea.cast(await this.execute(params, req, runtime), new CreateOssSubDirectoryResponse({}));
13066
- }
13013
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateOssSubDirectoryResponse({}));
13067
13014
  }
13068
13015
  /**
13069
13016
  * Creates an Object Storage Service (OSS) subdirectory.
@@ -13081,6 +13028,8 @@ class Client extends openapi_client_1.default {
13081
13028
  return await this.createOssSubDirectoryWithOptions(request, runtime);
13082
13029
  }
13083
13030
  /**
13031
+ * Creates a custom monitoring view.
13032
+ *
13084
13033
  * @param tmpReq - CreatePerformanceViewRequest
13085
13034
  * @param runtime - runtime options for this request RuntimeOptions
13086
13035
  * @returns CreatePerformanceViewResponse
@@ -13137,14 +13086,11 @@ class Client extends openapi_client_1.default {
13137
13086
  reqBodyType: "formData",
13138
13087
  bodyType: "json",
13139
13088
  });
13140
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13141
- return $tea.cast(await this.callApi(params, req, runtime), new CreatePerformanceViewResponse({}));
13142
- }
13143
- else {
13144
- return $tea.cast(await this.execute(params, req, runtime), new CreatePerformanceViewResponse({}));
13145
- }
13089
+ return $tea.cast(await this.callApi(params, req, runtime), new CreatePerformanceViewResponse({}));
13146
13090
  }
13147
13091
  /**
13092
+ * Creates a custom monitoring view.
13093
+ *
13148
13094
  * @param request - CreatePerformanceViewRequest
13149
13095
  * @returns CreatePerformanceViewResponse
13150
13096
  */
@@ -13196,12 +13142,7 @@ class Client extends openapi_client_1.default {
13196
13142
  reqBodyType: "formData",
13197
13143
  bodyType: "json",
13198
13144
  });
13199
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13200
- return $tea.cast(await this.callApi(params, req, runtime), new CreateSparkTemplateResponse({}));
13201
- }
13202
- else {
13203
- return $tea.cast(await this.execute(params, req, runtime), new CreateSparkTemplateResponse({}));
13204
- }
13145
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateSparkTemplateResponse({}));
13205
13146
  }
13206
13147
  /**
13207
13148
  * Creates a Spark application template.
@@ -13254,12 +13195,7 @@ class Client extends openapi_client_1.default {
13254
13195
  reqBodyType: "formData",
13255
13196
  bodyType: "json",
13256
13197
  });
13257
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13258
- return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
13259
- }
13260
- else {
13261
- return $tea.cast(await this.execute(params, req, runtime), new DeleteAccountResponse({}));
13262
- }
13198
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
13263
13199
  }
13264
13200
  /**
13265
13201
  * Deletes a database account from an AnalyticDB for MySQL cluster.
@@ -13306,12 +13242,7 @@ class Client extends openapi_client_1.default {
13306
13242
  reqBodyType: "formData",
13307
13243
  bodyType: "json",
13308
13244
  });
13309
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13310
- return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBClusterResponse({}));
13311
- }
13312
- else {
13313
- return $tea.cast(await this.execute(params, req, runtime), new DeleteDBClusterResponse({}));
13314
- }
13245
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBClusterResponse({}));
13315
13246
  }
13316
13247
  /**
13317
13248
  * Deletes an AnalyticDB for MySQL cluster.
@@ -13361,12 +13292,7 @@ class Client extends openapi_client_1.default {
13361
13292
  reqBodyType: "formData",
13362
13293
  bodyType: "json",
13363
13294
  });
13364
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13365
- return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBResourceGroupResponse({}));
13366
- }
13367
- else {
13368
- return $tea.cast(await this.execute(params, req, runtime), new DeleteDBResourceGroupResponse({}));
13369
- }
13295
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteDBResourceGroupResponse({}));
13370
13296
  }
13371
13297
  /**
13372
13298
  * Deletes a resource group from an AnalyticDB for MySQL cluster.
@@ -13414,12 +13340,7 @@ class Client extends openapi_client_1.default {
13414
13340
  reqBodyType: "formData",
13415
13341
  bodyType: "json",
13416
13342
  });
13417
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13418
- return $tea.cast(await this.callApi(params, req, runtime), new DeleteElasticPlanResponse({}));
13419
- }
13420
- else {
13421
- return $tea.cast(await this.execute(params, req, runtime), new DeleteElasticPlanResponse({}));
13422
- }
13343
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteElasticPlanResponse({}));
13423
13344
  }
13424
13345
  /**
13425
13346
  * Deletes a scaling plan from an AnalyticDB for MySQL cluster.
@@ -13435,6 +13356,8 @@ class Client extends openapi_client_1.default {
13435
13356
  return await this.deleteElasticPlanWithOptions(request, runtime);
13436
13357
  }
13437
13358
  /**
13359
+ * Deletes a monitoring view.
13360
+ *
13438
13361
  * @param request - DeletePerformanceViewRequest
13439
13362
  * @param runtime - runtime options for this request RuntimeOptions
13440
13363
  * @returns DeletePerformanceViewResponse
@@ -13477,14 +13400,11 @@ class Client extends openapi_client_1.default {
13477
13400
  reqBodyType: "formData",
13478
13401
  bodyType: "json",
13479
13402
  });
13480
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13481
- return $tea.cast(await this.callApi(params, req, runtime), new DeletePerformanceViewResponse({}));
13482
- }
13483
- else {
13484
- return $tea.cast(await this.execute(params, req, runtime), new DeletePerformanceViewResponse({}));
13485
- }
13403
+ return $tea.cast(await this.callApi(params, req, runtime), new DeletePerformanceViewResponse({}));
13486
13404
  }
13487
13405
  /**
13406
+ * Deletes a monitoring view.
13407
+ *
13488
13408
  * @param request - DeletePerformanceViewRequest
13489
13409
  * @returns DeletePerformanceViewResponse
13490
13410
  */
@@ -13532,12 +13452,7 @@ class Client extends openapi_client_1.default {
13532
13452
  reqBodyType: "formData",
13533
13453
  bodyType: "json",
13534
13454
  });
13535
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13536
- return $tea.cast(await this.callApi(params, req, runtime), new DeleteProcessInstanceResponse({}));
13537
- }
13538
- else {
13539
- return $tea.cast(await this.execute(params, req, runtime), new DeleteProcessInstanceResponse({}));
13540
- }
13455
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteProcessInstanceResponse({}));
13541
13456
  }
13542
13457
  /**
13543
13458
  * Deletes a worflow instance from an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -13588,12 +13503,7 @@ class Client extends openapi_client_1.default {
13588
13503
  reqBodyType: "formData",
13589
13504
  bodyType: "json",
13590
13505
  });
13591
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13592
- return $tea.cast(await this.callApi(params, req, runtime), new DeleteSparkTemplateResponse({}));
13593
- }
13594
- else {
13595
- return $tea.cast(await this.execute(params, req, runtime), new DeleteSparkTemplateResponse({}));
13596
- }
13506
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteSparkTemplateResponse({}));
13597
13507
  }
13598
13508
  /**
13599
13509
  * Deletes Spark template files.
@@ -13645,12 +13555,7 @@ class Client extends openapi_client_1.default {
13645
13555
  reqBodyType: "formData",
13646
13556
  bodyType: "json",
13647
13557
  });
13648
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13649
- return $tea.cast(await this.callApi(params, req, runtime), new DeleteSparkTemplateFileResponse({}));
13650
- }
13651
- else {
13652
- return $tea.cast(await this.execute(params, req, runtime), new DeleteSparkTemplateFileResponse({}));
13653
- }
13558
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteSparkTemplateFileResponse({}));
13654
13559
  }
13655
13560
  /**
13656
13561
  * Deletes Spark template files.
@@ -13706,12 +13611,7 @@ class Client extends openapi_client_1.default {
13706
13611
  reqBodyType: "formData",
13707
13612
  bodyType: "json",
13708
13613
  });
13709
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13710
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountAllPrivilegesResponse({}));
13711
- }
13712
- else {
13713
- return $tea.cast(await this.execute(params, req, runtime), new DescribeAccountAllPrivilegesResponse({}));
13714
- }
13614
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountAllPrivilegesResponse({}));
13715
13615
  }
13716
13616
  /**
13717
13617
  * Queries the permissions of a database account on all permission levels.
@@ -13780,12 +13680,7 @@ class Client extends openapi_client_1.default {
13780
13680
  reqBodyType: "formData",
13781
13681
  bodyType: "json",
13782
13682
  });
13783
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13784
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountPrivilegeObjectsResponse({}));
13785
- }
13786
- else {
13787
- return $tea.cast(await this.execute(params, req, runtime), new DescribeAccountPrivilegeObjectsResponse({}));
13788
- }
13683
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountPrivilegeObjectsResponse({}));
13789
13684
  }
13790
13685
  /**
13791
13686
  * Queries the databases, tables, and columns on which a database account has permissions.
@@ -13851,12 +13746,7 @@ class Client extends openapi_client_1.default {
13851
13746
  reqBodyType: "formData",
13852
13747
  bodyType: "json",
13853
13748
  });
13854
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13855
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountPrivilegesResponse({}));
13856
- }
13857
- else {
13858
- return $tea.cast(await this.execute(params, req, runtime), new DescribeAccountPrivilegesResponse({}));
13859
- }
13749
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountPrivilegesResponse({}));
13860
13750
  }
13861
13751
  /**
13862
13752
  * 获取某一ADB账户的权限
@@ -13907,12 +13797,7 @@ class Client extends openapi_client_1.default {
13907
13797
  reqBodyType: "formData",
13908
13798
  bodyType: "json",
13909
13799
  });
13910
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13911
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountsResponse({}));
13912
- }
13913
- else {
13914
- return $tea.cast(await this.execute(params, req, runtime), new DescribeAccountsResponse({}));
13915
- }
13800
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAccountsResponse({}));
13916
13801
  }
13917
13802
  /**
13918
13803
  * Queries the database accounts of an AnalyticDB for MySQL cluster.
@@ -13967,12 +13852,7 @@ class Client extends openapi_client_1.default {
13967
13852
  reqBodyType: "formData",
13968
13853
  bodyType: "json",
13969
13854
  });
13970
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
13971
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlColumnsResponse({}));
13972
- }
13973
- else {
13974
- return $tea.cast(await this.execute(params, req, runtime), new DescribeAdbMySqlColumnsResponse({}));
13975
- }
13855
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlColumnsResponse({}));
13976
13856
  }
13977
13857
  /**
13978
13858
  * Queries the information about table columns for an AnalyticDB for MySQL cluster.
@@ -14022,12 +13902,7 @@ class Client extends openapi_client_1.default {
14022
13902
  reqBodyType: "formData",
14023
13903
  bodyType: "json",
14024
13904
  });
14025
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14026
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlSchemasResponse({}));
14027
- }
14028
- else {
14029
- return $tea.cast(await this.execute(params, req, runtime), new DescribeAdbMySqlSchemasResponse({}));
14030
- }
13905
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlSchemasResponse({}));
14031
13906
  }
14032
13907
  /**
14033
13908
  * Queries a list of databases for an AnalyticDB for MySQL cluster.
@@ -14080,12 +13955,7 @@ class Client extends openapi_client_1.default {
14080
13955
  reqBodyType: "formData",
14081
13956
  bodyType: "json",
14082
13957
  });
14083
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14084
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlTablesResponse({}));
14085
- }
14086
- else {
14087
- return $tea.cast(await this.execute(params, req, runtime), new DescribeAdbMySqlTablesResponse({}));
14088
- }
13958
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAdbMySqlTablesResponse({}));
14089
13959
  }
14090
13960
  /**
14091
13961
  * Queries a list of tables for an AnalyticDB for MySQL cluster.
@@ -14141,12 +14011,7 @@ class Client extends openapi_client_1.default {
14141
14011
  reqBodyType: "formData",
14142
14012
  bodyType: "json",
14143
14013
  });
14144
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14145
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeAllDataSourceResponse({}));
14146
- }
14147
- else {
14148
- return $tea.cast(await this.execute(params, req, runtime), new DescribeAllDataSourceResponse({}));
14149
- }
14014
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAllDataSourceResponse({}));
14150
14015
  }
14151
14016
  /**
14152
14017
  * Queries a list of databases, tables, and columns in an AnalyticDB for MySQL cluster.
@@ -14233,12 +14098,7 @@ class Client extends openapi_client_1.default {
14233
14098
  reqBodyType: "formData",
14234
14099
  bodyType: "json",
14235
14100
  });
14236
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14237
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeApsActionLogsResponse({}));
14238
- }
14239
- else {
14240
- return $tea.cast(await this.execute(params, req, runtime), new DescribeApsActionLogsResponse({}));
14241
- }
14101
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeApsActionLogsResponse({}));
14242
14102
  }
14243
14103
  /**
14244
14104
  * Queries the logs of a real-time data ingestion job for an AnalyticDB for MySQL cluster.
@@ -14292,12 +14152,7 @@ class Client extends openapi_client_1.default {
14292
14152
  reqBodyType: "formData",
14293
14153
  bodyType: "json",
14294
14154
  });
14295
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14296
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeApsResourceGroupsResponse({}));
14297
- }
14298
- else {
14299
- return $tea.cast(await this.execute(params, req, runtime), new DescribeApsResourceGroupsResponse({}));
14300
- }
14155
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeApsResourceGroupsResponse({}));
14301
14156
  }
14302
14157
  /**
14303
14158
  * Queries the information about resource groups of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -14398,12 +14253,7 @@ class Client extends openapi_client_1.default {
14398
14253
  reqBodyType: "formData",
14399
14254
  bodyType: "json",
14400
14255
  });
14401
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14402
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeAuditLogRecordsResponse({}));
14403
- }
14404
- else {
14405
- return $tea.cast(await this.execute(params, req, runtime), new DescribeAuditLogRecordsResponse({}));
14406
- }
14256
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeAuditLogRecordsResponse({}));
14407
14257
  }
14408
14258
  /**
14409
14259
  * Queries the SQL audit logs of an AnalyticDB for MySQL cluster.
@@ -14459,12 +14309,7 @@ class Client extends openapi_client_1.default {
14459
14309
  reqBodyType: "formData",
14460
14310
  bodyType: "json",
14461
14311
  });
14462
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14463
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupPolicyResponse({}));
14464
- }
14465
- else {
14466
- return $tea.cast(await this.execute(params, req, runtime), new DescribeBackupPolicyResponse({}));
14467
- }
14312
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupPolicyResponse({}));
14468
14313
  }
14469
14314
  /**
14470
14315
  * @remarks
@@ -14532,12 +14377,7 @@ class Client extends openapi_client_1.default {
14532
14377
  reqBodyType: "formData",
14533
14378
  bodyType: "json",
14534
14379
  });
14535
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14536
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupsResponse({}));
14537
- }
14538
- else {
14539
- return $tea.cast(await this.execute(params, req, runtime), new DescribeBackupsResponse({}));
14540
- }
14380
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeBackupsResponse({}));
14541
14381
  }
14542
14382
  /**
14543
14383
  * @remarks
@@ -14586,12 +14426,7 @@ class Client extends openapi_client_1.default {
14586
14426
  reqBodyType: "formData",
14587
14427
  bodyType: "json",
14588
14428
  });
14589
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14590
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAccessWhiteListResponse({}));
14591
- }
14592
- else {
14593
- return $tea.cast(await this.execute(params, req, runtime), new DescribeClusterAccessWhiteListResponse({}));
14594
- }
14429
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterAccessWhiteListResponse({}));
14595
14430
  }
14596
14431
  /**
14597
14432
  * Queries the IP address whitelists of an AnalyticDB for MySQL cluster.
@@ -14639,12 +14474,7 @@ class Client extends openapi_client_1.default {
14639
14474
  reqBodyType: "formData",
14640
14475
  bodyType: "json",
14641
14476
  });
14642
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14643
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNetInfoResponse({}));
14644
- }
14645
- else {
14646
- return $tea.cast(await this.execute(params, req, runtime), new DescribeClusterNetInfoResponse({}));
14647
- }
14477
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterNetInfoResponse({}));
14648
14478
  }
14649
14479
  /**
14650
14480
  * Queries the network information about an AnalyticDB for MySQL cluster.
@@ -14689,12 +14519,7 @@ class Client extends openapi_client_1.default {
14689
14519
  reqBodyType: "formData",
14690
14520
  bodyType: "json",
14691
14521
  });
14692
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14693
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourceDetailResponse({}));
14694
- }
14695
- else {
14696
- return $tea.cast(await this.execute(params, req, runtime), new DescribeClusterResourceDetailResponse({}));
14697
- }
14522
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourceDetailResponse({}));
14698
14523
  }
14699
14524
  /**
14700
14525
  * Queries the information about resource usage of an AnalyticDB for MySQL cluster.
@@ -14733,12 +14558,7 @@ class Client extends openapi_client_1.default {
14733
14558
  reqBodyType: "formData",
14734
14559
  bodyType: "json",
14735
14560
  });
14736
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14737
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourceUsageResponse({}));
14738
- }
14739
- else {
14740
- return $tea.cast(await this.execute(params, req, runtime), new DescribeClusterResourceUsageResponse({}));
14741
- }
14561
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeClusterResourceUsageResponse({}));
14742
14562
  }
14743
14563
  /**
14744
14564
  * 获取实例资源统计
@@ -14790,12 +14610,7 @@ class Client extends openapi_client_1.default {
14790
14610
  reqBodyType: "formData",
14791
14611
  bodyType: "json",
14792
14612
  });
14793
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14794
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeColumnsResponse({}));
14795
- }
14796
- else {
14797
- return $tea.cast(await this.execute(params, req, runtime), new DescribeColumnsResponse({}));
14798
- }
14613
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeColumnsResponse({}));
14799
14614
  }
14800
14615
  /**
14801
14616
  * Queries a list of columns in a table.
@@ -14850,12 +14665,7 @@ class Client extends openapi_client_1.default {
14850
14665
  reqBodyType: "formData",
14851
14666
  bodyType: "json",
14852
14667
  });
14853
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14854
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeComputeResourceUsageResponse({}));
14855
- }
14856
- else {
14857
- return $tea.cast(await this.execute(params, req, runtime), new DescribeComputeResourceUsageResponse({}));
14858
- }
14668
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeComputeResourceUsageResponse({}));
14859
14669
  }
14860
14670
  /**
14861
14671
  * 获取实例计算资源使用统计
@@ -14900,12 +14710,7 @@ class Client extends openapi_client_1.default {
14900
14710
  reqBodyType: "formData",
14901
14711
  bodyType: "json",
14902
14712
  });
14903
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14904
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
14905
- }
14906
- else {
14907
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
14908
- }
14713
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
14909
14714
  }
14910
14715
  /**
14911
14716
  * Queries the information about an AnalyticDB for MySQL cluster.
@@ -14953,12 +14758,7 @@ class Client extends openapi_client_1.default {
14953
14758
  reqBodyType: "formData",
14954
14759
  bodyType: "json",
14955
14760
  });
14956
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
14957
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterHealthStatusResponse({}));
14958
- }
14959
- else {
14960
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClusterHealthStatusResponse({}));
14961
- }
14761
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterHealthStatusResponse({}));
14962
14762
  }
14963
14763
  /**
14964
14764
  * Queries the health status of an AnalyticDB for MySQL cluster.
@@ -15018,12 +14818,7 @@ class Client extends openapi_client_1.default {
15018
14818
  reqBodyType: "formData",
15019
14819
  bodyType: "json",
15020
14820
  });
15021
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15022
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
15023
- }
15024
- else {
15025
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
15026
- }
14821
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
15027
14822
  }
15028
14823
  /**
15029
14824
  * Queries the performance data of an AnalyticDB for MySQL cluster.
@@ -15083,12 +14878,7 @@ class Client extends openapi_client_1.default {
15083
14878
  reqBodyType: "formData",
15084
14879
  bodyType: "json",
15085
14880
  });
15086
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15087
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterSpaceSummaryResponse({}));
15088
- }
15089
- else {
15090
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClusterSpaceSummaryResponse({}));
15091
- }
14881
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterSpaceSummaryResponse({}));
15092
14882
  }
15093
14883
  /**
15094
14884
  * Queries the storage overview information of an AnalyticDB for MySQL cluster, such as the total data size, hot data size, cold data size, and data growth.
@@ -15133,12 +14923,7 @@ class Client extends openapi_client_1.default {
15133
14923
  reqBodyType: "formData",
15134
14924
  bodyType: "json",
15135
14925
  });
15136
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15137
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterStatusResponse({}));
15138
- }
15139
- else {
15140
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClusterStatusResponse({}));
15141
- }
14926
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterStatusResponse({}));
15142
14927
  }
15143
14928
  /**
15144
14929
  * Queries the status of AnalyticDB for MySQL Data Lakehouse Edition clusters within a region.
@@ -15210,12 +14995,7 @@ class Client extends openapi_client_1.default {
15210
14995
  reqBodyType: "formData",
15211
14996
  bodyType: "json",
15212
14997
  });
15213
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15214
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClustersResponse({}));
15215
- }
15216
- else {
15217
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDBClustersResponse({}));
15218
- }
14998
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClustersResponse({}));
15219
14999
  }
15220
15000
  /**
15221
15001
  * Queries the information about AnalyticDB for MySQL Data Lakehouse Edition clusters within a region.
@@ -15272,12 +15052,7 @@ class Client extends openapi_client_1.default {
15272
15052
  reqBodyType: "formData",
15273
15053
  bodyType: "json",
15274
15054
  });
15275
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15276
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBResourceGroupResponse({}));
15277
- }
15278
- else {
15279
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDBResourceGroupResponse({}));
15280
- }
15055
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBResourceGroupResponse({}));
15281
15056
  }
15282
15057
  /**
15283
15058
  * Queries the information about resource groups of an AnalyticDB for MySQL cluster.
@@ -15337,12 +15112,7 @@ class Client extends openapi_client_1.default {
15337
15112
  reqBodyType: "formData",
15338
15113
  bodyType: "json",
15339
15114
  });
15340
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15341
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisDimensionsResponse({}));
15342
- }
15343
- else {
15344
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDiagnosisDimensionsResponse({}));
15345
- }
15115
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisDimensionsResponse({}));
15346
15116
  }
15347
15117
  /**
15348
15118
  * Queries the deduplicated statistics of resource groups, databases, usernames, and source IP addresses about SQL statements that meet a query condition for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -15441,12 +15211,7 @@ class Client extends openapi_client_1.default {
15441
15211
  reqBodyType: "formData",
15442
15212
  bodyType: "json",
15443
15213
  });
15444
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15445
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisRecordsResponse({}));
15446
- }
15447
- else {
15448
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDiagnosisRecordsResponse({}));
15449
- }
15214
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisRecordsResponse({}));
15450
15215
  }
15451
15216
  /**
15452
15217
  * Queries the diagnostic information about SQL statements that meet a query condition for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -15488,12 +15253,7 @@ class Client extends openapi_client_1.default {
15488
15253
  reqBodyType: "formData",
15489
15254
  bodyType: "json",
15490
15255
  });
15491
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15492
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisSQLInfoResponse({}));
15493
- }
15494
- else {
15495
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDiagnosisSQLInfoResponse({}));
15496
- }
15256
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosisSQLInfoResponse({}));
15497
15257
  }
15498
15258
  /**
15499
15259
  * Queries the execution information about an SQL statement, including the execution plan, execution information, resource usage, and self-diagnostics results.
@@ -15544,12 +15304,7 @@ class Client extends openapi_client_1.default {
15544
15304
  reqBodyType: "formData",
15545
15305
  bodyType: "json",
15546
15306
  });
15547
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15548
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeDownloadRecordsResponse({}));
15549
- }
15550
- else {
15551
- return $tea.cast(await this.execute(params, req, runtime), new DescribeDownloadRecordsResponse({}));
15552
- }
15307
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeDownloadRecordsResponse({}));
15553
15308
  }
15554
15309
  /**
15555
15310
  * Queries the last five SQL query download tasks of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -15597,12 +15352,7 @@ class Client extends openapi_client_1.default {
15597
15352
  reqBodyType: "formData",
15598
15353
  bodyType: "json",
15599
15354
  });
15600
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15601
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanAttributeResponse({}));
15602
- }
15603
- else {
15604
- return $tea.cast(await this.execute(params, req, runtime), new DescribeElasticPlanAttributeResponse({}));
15605
- }
15355
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanAttributeResponse({}));
15606
15356
  }
15607
15357
  /**
15608
15358
  * Queries the information about a scaling plan for an AnalyticDB for MySQL cluster.
@@ -15665,12 +15415,7 @@ class Client extends openapi_client_1.default {
15665
15415
  reqBodyType: "formData",
15666
15416
  bodyType: "json",
15667
15417
  });
15668
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15669
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanJobsResponse({}));
15670
- }
15671
- else {
15672
- return $tea.cast(await this.execute(params, req, runtime), new DescribeElasticPlanJobsResponse({}));
15673
- }
15418
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanJobsResponse({}));
15674
15419
  }
15675
15420
  /**
15676
15421
  * Queries a list of scaling plan jobs for an AnalyticDB for MySQL cluster.
@@ -15721,12 +15466,7 @@ class Client extends openapi_client_1.default {
15721
15466
  reqBodyType: "formData",
15722
15467
  bodyType: "json",
15723
15468
  });
15724
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15725
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanSpecificationsResponse({}));
15726
- }
15727
- else {
15728
- return $tea.cast(await this.execute(params, req, runtime), new DescribeElasticPlanSpecificationsResponse({}));
15729
- }
15469
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlanSpecificationsResponse({}));
15730
15470
  }
15731
15471
  /**
15732
15472
  * Queries the resource specifications that are supported by different types of scaling plans of an AnalyticDB for MySQL cluster.
@@ -15789,12 +15529,7 @@ class Client extends openapi_client_1.default {
15789
15529
  reqBodyType: "formData",
15790
15530
  bodyType: "json",
15791
15531
  });
15792
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15793
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlansResponse({}));
15794
- }
15795
- else {
15796
- return $tea.cast(await this.execute(params, req, runtime), new DescribeElasticPlansResponse({}));
15797
- }
15532
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeElasticPlansResponse({}));
15798
15533
  }
15799
15534
  /**
15800
15535
  * Queries scaling plans of an AnalyticDB for MySQL cluster.
@@ -15833,12 +15568,7 @@ class Client extends openapi_client_1.default {
15833
15568
  reqBodyType: "formData",
15834
15569
  bodyType: "json",
15835
15570
  });
15836
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15837
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeEnabledPrivilegesResponse({}));
15838
- }
15839
- else {
15840
- return $tea.cast(await this.execute(params, req, runtime), new DescribeEnabledPrivilegesResponse({}));
15841
- }
15571
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeEnabledPrivilegesResponse({}));
15842
15572
  }
15843
15573
  /**
15844
15574
  * Queries the permission level and permissions supported for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -15910,12 +15640,7 @@ class Client extends openapi_client_1.default {
15910
15640
  reqBodyType: "formData",
15911
15641
  bodyType: "json",
15912
15642
  });
15913
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15914
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeExcessivePrimaryKeysResponse({}));
15915
- }
15916
- else {
15917
- return $tea.cast(await this.execute(params, req, runtime), new DescribeExcessivePrimaryKeysResponse({}));
15918
- }
15643
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeExcessivePrimaryKeysResponse({}));
15919
15644
  }
15920
15645
  /**
15921
15646
  * Queries the information about tables that have excessive primary key fields in an AnalyticDB for MySQL Data Lakehouse Edition (V5.0) cluster.
@@ -15963,12 +15688,7 @@ class Client extends openapi_client_1.default {
15963
15688
  reqBodyType: "formData",
15964
15689
  bodyType: "json",
15965
15690
  });
15966
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
15967
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobResourceUsageResponse({}));
15968
- }
15969
- else {
15970
- return $tea.cast(await this.execute(params, req, runtime), new DescribeJobResourceUsageResponse({}));
15971
- }
15691
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeJobResourceUsageResponse({}));
15972
15692
  }
15973
15693
  /**
15974
15694
  * 获取作业资源使用统计
@@ -16027,12 +15747,7 @@ class Client extends openapi_client_1.default {
16027
15747
  reqBodyType: "formData",
16028
15748
  bodyType: "json",
16029
15749
  });
16030
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16031
- return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternPerformanceResponse({}));
16032
- }
16033
- else {
16034
- return $tea.cast(await this.execute(params, req, runtime), new DescribePatternPerformanceResponse({}));
16035
- }
15750
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternPerformanceResponse({}));
16036
15751
  }
16037
15752
  /**
16038
15753
  * Queries the information about performance metrics of an SQL pattern such as the query duration and average memory usage for an AnalyticDB for MySQL cluster within a time range.
@@ -16050,6 +15765,8 @@ class Client extends openapi_client_1.default {
16050
15765
  return await this.describePatternPerformanceWithOptions(request, runtime);
16051
15766
  }
16052
15767
  /**
15768
+ * Queries the information about a monitoring view.
15769
+ *
16053
15770
  * @param request - DescribePerformanceViewAttributeRequest
16054
15771
  * @param runtime - runtime options for this request RuntimeOptions
16055
15772
  * @returns DescribePerformanceViewAttributeResponse
@@ -16092,14 +15809,11 @@ class Client extends openapi_client_1.default {
16092
15809
  reqBodyType: "formData",
16093
15810
  bodyType: "json",
16094
15811
  });
16095
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16096
- return $tea.cast(await this.callApi(params, req, runtime), new DescribePerformanceViewAttributeResponse({}));
16097
- }
16098
- else {
16099
- return $tea.cast(await this.execute(params, req, runtime), new DescribePerformanceViewAttributeResponse({}));
16100
- }
15812
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribePerformanceViewAttributeResponse({}));
16101
15813
  }
16102
15814
  /**
15815
+ * Queries the information about a monitoring view.
15816
+ *
16103
15817
  * @param request - DescribePerformanceViewAttributeRequest
16104
15818
  * @returns DescribePerformanceViewAttributeResponse
16105
15819
  */
@@ -16108,6 +15822,8 @@ class Client extends openapi_client_1.default {
16108
15822
  return await this.describePerformanceViewAttributeWithOptions(request, runtime);
16109
15823
  }
16110
15824
  /**
15825
+ * Queries a list of monitoring views.
15826
+ *
16111
15827
  * @param request - DescribePerformanceViewsRequest
16112
15828
  * @param runtime - runtime options for this request RuntimeOptions
16113
15829
  * @returns DescribePerformanceViewsResponse
@@ -16147,14 +15863,11 @@ class Client extends openapi_client_1.default {
16147
15863
  reqBodyType: "formData",
16148
15864
  bodyType: "json",
16149
15865
  });
16150
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16151
- return $tea.cast(await this.callApi(params, req, runtime), new DescribePerformanceViewsResponse({}));
16152
- }
16153
- else {
16154
- return $tea.cast(await this.execute(params, req, runtime), new DescribePerformanceViewsResponse({}));
16155
- }
15866
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribePerformanceViewsResponse({}));
16156
15867
  }
16157
15868
  /**
15869
+ * Queries a list of monitoring views.
15870
+ *
16158
15871
  * @param request - DescribePerformanceViewsRequest
16159
15872
  * @returns DescribePerformanceViewsResponse
16160
15873
  */
@@ -16207,12 +15920,7 @@ class Client extends openapi_client_1.default {
16207
15920
  reqBodyType: "formData",
16208
15921
  bodyType: "json",
16209
15922
  });
16210
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16211
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
16212
- }
16213
- else {
16214
- return $tea.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
16215
- }
15923
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
16216
15924
  }
16217
15925
  /**
16218
15926
  * Queries a list of regions and zones in which AnalyticDB for MySQL Data Lakehouse Edition (V3.0) is available.
@@ -16283,12 +15991,7 @@ class Client extends openapi_client_1.default {
16283
15991
  reqBodyType: "formData",
16284
15992
  bodyType: "json",
16285
15993
  });
16286
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16287
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeSQLPatternsResponse({}));
16288
- }
16289
- else {
16290
- return $tea.cast(await this.execute(params, req, runtime), new DescribeSQLPatternsResponse({}));
16291
- }
15994
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeSQLPatternsResponse({}));
16292
15995
  }
16293
15996
  /**
16294
15997
  * Queries a list of SQL patterns for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster within a time range.
@@ -16339,12 +16042,7 @@ class Client extends openapi_client_1.default {
16339
16042
  reqBodyType: "formData",
16340
16043
  bodyType: "json",
16341
16044
  });
16342
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16343
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeSchemasResponse({}));
16344
- }
16345
- else {
16346
- return $tea.cast(await this.execute(params, req, runtime), new DescribeSchemasResponse({}));
16347
- }
16045
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeSchemasResponse({}));
16348
16046
  }
16349
16047
  /**
16350
16048
  * Queries a list of databases in an AnalyticDB for MySQL cluster.
@@ -16397,12 +16095,7 @@ class Client extends openapi_client_1.default {
16397
16095
  reqBodyType: "formData",
16398
16096
  bodyType: "json",
16399
16097
  });
16400
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16401
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeLogResponse({}));
16402
- }
16403
- else {
16404
- return $tea.cast(await this.execute(params, req, runtime), new DescribeSparkCodeLogResponse({}));
16405
- }
16098
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeLogResponse({}));
16406
16099
  }
16407
16100
  /**
16408
16101
  * Queries the execution logs of Spark code.
@@ -16455,12 +16148,7 @@ class Client extends openapi_client_1.default {
16455
16148
  reqBodyType: "formData",
16456
16149
  bodyType: "json",
16457
16150
  });
16458
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16459
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeOutputResponse({}));
16460
- }
16461
- else {
16462
- return $tea.cast(await this.execute(params, req, runtime), new DescribeSparkCodeOutputResponse({}));
16463
- }
16151
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeOutputResponse({}));
16464
16152
  }
16465
16153
  /**
16466
16154
  * Queries the execution result of Spark code.
@@ -16513,12 +16201,7 @@ class Client extends openapi_client_1.default {
16513
16201
  reqBodyType: "formData",
16514
16202
  bodyType: "json",
16515
16203
  });
16516
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16517
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeWebUiResponse({}));
16518
- }
16519
- else {
16520
- return $tea.cast(await this.execute(params, req, runtime), new DescribeSparkCodeWebUiResponse({}));
16521
- }
16204
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeSparkCodeWebUiResponse({}));
16522
16205
  }
16523
16206
  /**
16524
16207
  * Queries the URL of the web UI for a Spark application.
@@ -16585,12 +16268,7 @@ class Client extends openapi_client_1.default {
16585
16268
  reqBodyType: "formData",
16586
16269
  bodyType: "json",
16587
16270
  });
16588
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16589
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeSqlPatternResponse({}));
16590
- }
16591
- else {
16592
- return $tea.cast(await this.execute(params, req, runtime), new DescribeSqlPatternResponse({}));
16593
- }
16271
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeSqlPatternResponse({}));
16594
16272
  }
16595
16273
  /**
16596
16274
  * Queries the information about SQL patterns of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster within a time range.
@@ -16641,12 +16319,7 @@ class Client extends openapi_client_1.default {
16641
16319
  reqBodyType: "formData",
16642
16320
  bodyType: "json",
16643
16321
  });
16644
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16645
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeStorageResourceUsageResponse({}));
16646
- }
16647
- else {
16648
- return $tea.cast(await this.execute(params, req, runtime), new DescribeStorageResourceUsageResponse({}));
16649
- }
16322
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeStorageResourceUsageResponse({}));
16650
16323
  }
16651
16324
  /**
16652
16325
  * Queries the storage resource usage of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -16709,12 +16382,7 @@ class Client extends openapi_client_1.default {
16709
16382
  reqBodyType: "formData",
16710
16383
  bodyType: "json",
16711
16384
  });
16712
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16713
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeTableAccessCountResponse({}));
16714
- }
16715
- else {
16716
- return $tea.cast(await this.execute(params, req, runtime), new DescribeTableAccessCountResponse({}));
16717
- }
16385
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeTableAccessCountResponse({}));
16718
16386
  }
16719
16387
  /**
16720
16388
  * Queries the number of accesses to a table or all tables in an AnalyticDB for MySQL cluster on a date.
@@ -16766,12 +16434,7 @@ class Client extends openapi_client_1.default {
16766
16434
  reqBodyType: "formData",
16767
16435
  bodyType: "json",
16768
16436
  });
16769
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16770
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeTablesResponse({}));
16771
- }
16772
- else {
16773
- return $tea.cast(await this.execute(params, req, runtime), new DescribeTablesResponse({}));
16774
- }
16437
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeTablesResponse({}));
16775
16438
  }
16776
16439
  /**
16777
16440
  * Queries a list of tables in a database.
@@ -16814,12 +16477,7 @@ class Client extends openapi_client_1.default {
16814
16477
  reqBodyType: "formData",
16815
16478
  bodyType: "json",
16816
16479
  });
16817
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16818
- return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
16819
- }
16820
- else {
16821
- return $tea.cast(await this.execute(params, req, runtime), new DescribeUserQuotaResponse({}));
16822
- }
16480
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeUserQuotaResponse({}));
16823
16481
  }
16824
16482
  /**
16825
16483
  * 查询配额
@@ -16862,12 +16520,7 @@ class Client extends openapi_client_1.default {
16862
16520
  reqBodyType: "formData",
16863
16521
  bodyType: "json",
16864
16522
  });
16865
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16866
- return $tea.cast(await this.callApi(params, req, runtime), new DetachUserENIResponse({}));
16867
- }
16868
- else {
16869
- return $tea.cast(await this.execute(params, req, runtime), new DetachUserENIResponse({}));
16870
- }
16523
+ return $tea.cast(await this.callApi(params, req, runtime), new DetachUserENIResponse({}));
16871
16524
  }
16872
16525
  /**
16873
16526
  * @remarks
@@ -16913,12 +16566,7 @@ class Client extends openapi_client_1.default {
16913
16566
  reqBodyType: "formData",
16914
16567
  bodyType: "json",
16915
16568
  });
16916
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
16917
- return $tea.cast(await this.callApi(params, req, runtime), new DisableElasticPlanResponse({}));
16918
- }
16919
- else {
16920
- return $tea.cast(await this.execute(params, req, runtime), new DisableElasticPlanResponse({}));
16921
- }
16569
+ return $tea.cast(await this.callApi(params, req, runtime), new DisableElasticPlanResponse({}));
16922
16570
  }
16923
16571
  /**
16924
16572
  * Disables a scaling plan for an AnalyticDB for MySQL cluster.
@@ -17005,12 +16653,7 @@ class Client extends openapi_client_1.default {
17005
16653
  reqBodyType: "formData",
17006
16654
  bodyType: "json",
17007
16655
  });
17008
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17009
- return $tea.cast(await this.callApi(params, req, runtime), new DownloadDiagnosisRecordsResponse({}));
17010
- }
17011
- else {
17012
- return $tea.cast(await this.execute(params, req, runtime), new DownloadDiagnosisRecordsResponse({}));
17013
- }
16656
+ return $tea.cast(await this.callApi(params, req, runtime), new DownloadDiagnosisRecordsResponse({}));
17014
16657
  }
17015
16658
  /**
17016
16659
  * Downloads the diagnostic information about SQL statements that meet a query condition for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -17058,12 +16701,7 @@ class Client extends openapi_client_1.default {
17058
16701
  reqBodyType: "formData",
17059
16702
  bodyType: "json",
17060
16703
  });
17061
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17062
- return $tea.cast(await this.callApi(params, req, runtime), new EnableElasticPlanResponse({}));
17063
- }
17064
- else {
17065
- return $tea.cast(await this.execute(params, req, runtime), new EnableElasticPlanResponse({}));
17066
- }
16704
+ return $tea.cast(await this.callApi(params, req, runtime), new EnableElasticPlanResponse({}));
17067
16705
  }
17068
16706
  /**
17069
16707
  * Enables a scaling plan for an AnalyticDB for MySQL cluster.
@@ -17113,12 +16751,7 @@ class Client extends openapi_client_1.default {
17113
16751
  reqBodyType: "formData",
17114
16752
  bodyType: "json",
17115
16753
  });
17116
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17117
- return $tea.cast(await this.callApi(params, req, runtime), new ExistRunningSQLEngineResponse({}));
17118
- }
17119
- else {
17120
- return $tea.cast(await this.execute(params, req, runtime), new ExistRunningSQLEngineResponse({}));
17121
- }
16754
+ return $tea.cast(await this.callApi(params, req, runtime), new ExistRunningSQLEngineResponse({}));
17122
16755
  }
17123
16756
  /**
17124
16757
  * Queries whether a running SQL engine exists.
@@ -17184,12 +16817,7 @@ class Client extends openapi_client_1.default {
17184
16817
  reqBodyType: "formData",
17185
16818
  bodyType: "json",
17186
16819
  });
17187
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17188
- return $tea.cast(await this.callApi(params, req, runtime), new GetDatabaseObjectsResponse({}));
17189
- }
17190
- else {
17191
- return $tea.cast(await this.execute(params, req, runtime), new GetDatabaseObjectsResponse({}));
17192
- }
16820
+ return $tea.cast(await this.callApi(params, req, runtime), new GetDatabaseObjectsResponse({}));
17193
16821
  }
17194
16822
  /**
17195
16823
  * Queries the information about databases.
@@ -17248,12 +16876,7 @@ class Client extends openapi_client_1.default {
17248
16876
  reqBodyType: "formData",
17249
16877
  bodyType: "json",
17250
16878
  });
17251
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17252
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppAttemptLogResponse({}));
17253
- }
17254
- else {
17255
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppAttemptLogResponse({}));
17256
- }
16879
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppAttemptLogResponse({}));
17257
16880
  }
17258
16881
  /**
17259
16882
  * Queries the information about the retry log of a Spark application.
@@ -17307,12 +16930,7 @@ class Client extends openapi_client_1.default {
17307
16930
  reqBodyType: "formData",
17308
16931
  bodyType: "json",
17309
16932
  });
17310
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17311
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppInfoResponse({}));
17312
- }
17313
- else {
17314
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppInfoResponse({}));
17315
- }
16933
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppInfoResponse({}));
17316
16934
  }
17317
16935
  /**
17318
16936
  * Queries the information about an Spark application.
@@ -17375,12 +16993,7 @@ class Client extends openapi_client_1.default {
17375
16993
  reqBodyType: "formData",
17376
16994
  bodyType: "json",
17377
16995
  });
17378
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17379
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppLogResponse({}));
17380
- }
17381
- else {
17382
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppLogResponse({}));
17383
- }
16996
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppLogResponse({}));
17384
16997
  }
17385
16998
  /**
17386
16999
  * Queries the logs of a Spark application.
@@ -17434,12 +17047,7 @@ class Client extends openapi_client_1.default {
17434
17047
  reqBodyType: "formData",
17435
17048
  bodyType: "json",
17436
17049
  });
17437
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17438
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppMetricsResponse({}));
17439
- }
17440
- else {
17441
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppMetricsResponse({}));
17442
- }
17050
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppMetricsResponse({}));
17443
17051
  }
17444
17052
  /**
17445
17053
  * Queries the metrics of a Spark application.
@@ -17493,12 +17101,7 @@ class Client extends openapi_client_1.default {
17493
17101
  reqBodyType: "formData",
17494
17102
  bodyType: "json",
17495
17103
  });
17496
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17497
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppStateResponse({}));
17498
- }
17499
- else {
17500
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppStateResponse({}));
17501
- }
17104
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppStateResponse({}));
17502
17105
  }
17503
17106
  /**
17504
17107
  * Queries the status of a Spark application.
@@ -17552,12 +17155,7 @@ class Client extends openapi_client_1.default {
17552
17155
  reqBodyType: "formData",
17553
17156
  bodyType: "json",
17554
17157
  });
17555
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17556
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppWebUiAddressResponse({}));
17557
- }
17558
- else {
17559
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkAppWebUiAddressResponse({}));
17560
- }
17158
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkAppWebUiAddressResponse({}));
17561
17159
  }
17562
17160
  /**
17563
17161
  * Queries the URL of the web UI for a Spark application.
@@ -17606,12 +17204,7 @@ class Client extends openapi_client_1.default {
17606
17204
  reqBodyType: "formData",
17607
17205
  bodyType: "json",
17608
17206
  });
17609
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17610
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkConfigLogPathResponse({}));
17611
- }
17612
- else {
17613
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkConfigLogPathResponse({}));
17614
- }
17207
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkConfigLogPathResponse({}));
17615
17208
  }
17616
17209
  /**
17617
17210
  * Queries the Spark log configuration of an AnalyticDB for MySQL cluster, including the default Spark log path.
@@ -17660,12 +17253,7 @@ class Client extends openapi_client_1.default {
17660
17253
  reqBodyType: "formData",
17661
17254
  bodyType: "json",
17662
17255
  });
17663
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17664
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkDefinitionsResponse({}));
17665
- }
17666
- else {
17667
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkDefinitionsResponse({}));
17668
- }
17256
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkDefinitionsResponse({}));
17669
17257
  }
17670
17258
  /**
17671
17259
  * Queries the common definitions of Spark applications.
@@ -17714,12 +17302,7 @@ class Client extends openapi_client_1.default {
17714
17302
  reqBodyType: "formData",
17715
17303
  bodyType: "json",
17716
17304
  });
17717
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17718
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkLogAnalyzeTaskResponse({}));
17719
- }
17720
- else {
17721
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkLogAnalyzeTaskResponse({}));
17722
- }
17305
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkLogAnalyzeTaskResponse({}));
17723
17306
  }
17724
17307
  /**
17725
17308
  * Queries the results of a Spark log analysis task.
@@ -17771,12 +17354,7 @@ class Client extends openapi_client_1.default {
17771
17354
  reqBodyType: "formData",
17772
17355
  bodyType: "json",
17773
17356
  });
17774
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17775
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkSQLEngineStateResponse({}));
17776
- }
17777
- else {
17778
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkSQLEngineStateResponse({}));
17779
- }
17357
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkSQLEngineStateResponse({}));
17780
17358
  }
17781
17359
  /**
17782
17360
  * Queries the state information about the Spark SQL engine.
@@ -17828,12 +17406,7 @@ class Client extends openapi_client_1.default {
17828
17406
  reqBodyType: "formData",
17829
17407
  bodyType: "json",
17830
17408
  });
17831
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17832
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFileContentResponse({}));
17833
- }
17834
- else {
17835
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkTemplateFileContentResponse({}));
17836
- }
17409
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFileContentResponse({}));
17837
17410
  }
17838
17411
  /**
17839
17412
  * Queries the content of a Spark application template.
@@ -17882,12 +17455,7 @@ class Client extends openapi_client_1.default {
17882
17455
  reqBodyType: "formData",
17883
17456
  bodyType: "json",
17884
17457
  });
17885
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17886
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFolderTreeResponse({}));
17887
- }
17888
- else {
17889
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkTemplateFolderTreeResponse({}));
17890
- }
17458
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFolderTreeResponse({}));
17891
17459
  }
17892
17460
  /**
17893
17461
  * Queries the directory structure of Spark applications.
@@ -17936,12 +17504,7 @@ class Client extends openapi_client_1.default {
17936
17504
  reqBodyType: "formData",
17937
17505
  bodyType: "json",
17938
17506
  });
17939
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17940
- return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFullTreeResponse({}));
17941
- }
17942
- else {
17943
- return $tea.cast(await this.execute(params, req, runtime), new GetSparkTemplateFullTreeResponse({}));
17944
- }
17507
+ return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFullTreeResponse({}));
17945
17508
  }
17946
17509
  /**
17947
17510
  * Queries the directory structure of Spark applications.
@@ -17994,12 +17557,7 @@ class Client extends openapi_client_1.default {
17994
17557
  reqBodyType: "formData",
17995
17558
  bodyType: "json",
17996
17559
  });
17997
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
17998
- return $tea.cast(await this.callApi(params, req, runtime), new GetTableResponse({}));
17999
- }
18000
- else {
18001
- return $tea.cast(await this.execute(params, req, runtime), new GetTableResponse({}));
18002
- }
17560
+ return $tea.cast(await this.callApi(params, req, runtime), new GetTableResponse({}));
18003
17561
  }
18004
17562
  /**
18005
17563
  * 获取表
@@ -18060,12 +17618,7 @@ class Client extends openapi_client_1.default {
18060
17618
  reqBodyType: "formData",
18061
17619
  bodyType: "json",
18062
17620
  });
18063
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18064
- return $tea.cast(await this.callApi(params, req, runtime), new GetTableColumnsResponse({}));
18065
- }
18066
- else {
18067
- return $tea.cast(await this.execute(params, req, runtime), new GetTableColumnsResponse({}));
18068
- }
17621
+ return $tea.cast(await this.callApi(params, req, runtime), new GetTableColumnsResponse({}));
18069
17622
  }
18070
17623
  /**
18071
17624
  * Queries the information about columns.
@@ -18121,12 +17674,7 @@ class Client extends openapi_client_1.default {
18121
17674
  reqBodyType: "formData",
18122
17675
  bodyType: "json",
18123
17676
  });
18124
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18125
- return $tea.cast(await this.callApi(params, req, runtime), new GetTableDDLResponse({}));
18126
- }
18127
- else {
18128
- return $tea.cast(await this.execute(params, req, runtime), new GetTableDDLResponse({}));
18129
- }
17677
+ return $tea.cast(await this.callApi(params, req, runtime), new GetTableDDLResponse({}));
18130
17678
  }
18131
17679
  /**
18132
17680
  * Queries the statement that is used to create a table.
@@ -18196,12 +17744,7 @@ class Client extends openapi_client_1.default {
18196
17744
  reqBodyType: "formData",
18197
17745
  bodyType: "json",
18198
17746
  });
18199
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18200
- return $tea.cast(await this.callApi(params, req, runtime), new GetTableObjectsResponse({}));
18201
- }
18202
- else {
18203
- return $tea.cast(await this.execute(params, req, runtime), new GetTableObjectsResponse({}));
18204
- }
17747
+ return $tea.cast(await this.callApi(params, req, runtime), new GetTableObjectsResponse({}));
18205
17748
  }
18206
17749
  /**
18207
17750
  * 获取table概要信息
@@ -18253,12 +17796,7 @@ class Client extends openapi_client_1.default {
18253
17796
  reqBodyType: "formData",
18254
17797
  bodyType: "json",
18255
17798
  });
18256
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18257
- return $tea.cast(await this.callApi(params, req, runtime), new GetViewDDLResponse({}));
18258
- }
18259
- else {
18260
- return $tea.cast(await this.execute(params, req, runtime), new GetViewDDLResponse({}));
18261
- }
17799
+ return $tea.cast(await this.callApi(params, req, runtime), new GetViewDDLResponse({}));
18262
17800
  }
18263
17801
  /**
18264
17802
  * Queries the statement that is used to create a view.
@@ -18329,12 +17867,7 @@ class Client extends openapi_client_1.default {
18329
17867
  reqBodyType: "formData",
18330
17868
  bodyType: "json",
18331
17869
  });
18332
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18333
- return $tea.cast(await this.callApi(params, req, runtime), new GetViewObjectsResponse({}));
18334
- }
18335
- else {
18336
- return $tea.cast(await this.execute(params, req, runtime), new GetViewObjectsResponse({}));
18337
- }
17870
+ return $tea.cast(await this.callApi(params, req, runtime), new GetViewObjectsResponse({}));
18338
17871
  }
18339
17872
  /**
18340
17873
  * Queries the information about views.
@@ -18387,12 +17920,7 @@ class Client extends openapi_client_1.default {
18387
17920
  reqBodyType: "formData",
18388
17921
  bodyType: "json",
18389
17922
  });
18390
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18391
- return $tea.cast(await this.callApi(params, req, runtime), new KillSparkAppResponse({}));
18392
- }
18393
- else {
18394
- return $tea.cast(await this.execute(params, req, runtime), new KillSparkAppResponse({}));
18395
- }
17923
+ return $tea.cast(await this.callApi(params, req, runtime), new KillSparkAppResponse({}));
18396
17924
  }
18397
17925
  /**
18398
17926
  * Terminates a Spark application.
@@ -18441,12 +17969,7 @@ class Client extends openapi_client_1.default {
18441
17969
  reqBodyType: "formData",
18442
17970
  bodyType: "json",
18443
17971
  });
18444
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18445
- return $tea.cast(await this.callApi(params, req, runtime), new KillSparkLogAnalyzeTaskResponse({}));
18446
- }
18447
- else {
18448
- return $tea.cast(await this.execute(params, req, runtime), new KillSparkLogAnalyzeTaskResponse({}));
18449
- }
17972
+ return $tea.cast(await this.callApi(params, req, runtime), new KillSparkLogAnalyzeTaskResponse({}));
18450
17973
  }
18451
17974
  /**
18452
17975
  * Terminates a Spark log analysis task and queries the information about the analysis task.
@@ -18498,12 +18021,7 @@ class Client extends openapi_client_1.default {
18498
18021
  reqBodyType: "formData",
18499
18022
  bodyType: "json",
18500
18023
  });
18501
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18502
- return $tea.cast(await this.callApi(params, req, runtime), new KillSparkSQLEngineResponse({}));
18503
- }
18504
- else {
18505
- return $tea.cast(await this.execute(params, req, runtime), new KillSparkSQLEngineResponse({}));
18506
- }
18024
+ return $tea.cast(await this.callApi(params, req, runtime), new KillSparkSQLEngineResponse({}));
18507
18025
  }
18508
18026
  /**
18509
18027
  * Shuts down a Spark SQL engine.
@@ -18561,12 +18079,7 @@ class Client extends openapi_client_1.default {
18561
18079
  reqBodyType: "formData",
18562
18080
  bodyType: "json",
18563
18081
  });
18564
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18565
- return $tea.cast(await this.callApi(params, req, runtime), new ListSparkAppAttemptsResponse({}));
18566
- }
18567
- else {
18568
- return $tea.cast(await this.execute(params, req, runtime), new ListSparkAppAttemptsResponse({}));
18569
- }
18082
+ return $tea.cast(await this.callApi(params, req, runtime), new ListSparkAppAttemptsResponse({}));
18570
18083
  }
18571
18084
  /**
18572
18085
  * Queries the information about retry attempts of a Spark application.
@@ -18619,12 +18132,7 @@ class Client extends openapi_client_1.default {
18619
18132
  reqBodyType: "formData",
18620
18133
  bodyType: "json",
18621
18134
  });
18622
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18623
- return $tea.cast(await this.callApi(params, req, runtime), new ListSparkAppsResponse({}));
18624
- }
18625
- else {
18626
- return $tea.cast(await this.execute(params, req, runtime), new ListSparkAppsResponse({}));
18627
- }
18135
+ return $tea.cast(await this.callApi(params, req, runtime), new ListSparkAppsResponse({}));
18628
18136
  }
18629
18137
  /**
18630
18138
  * Queries the Spark applications that run on an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -18674,12 +18182,7 @@ class Client extends openapi_client_1.default {
18674
18182
  reqBodyType: "formData",
18675
18183
  bodyType: "json",
18676
18184
  });
18677
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18678
- return $tea.cast(await this.callApi(params, req, runtime), new ListSparkLogAnalyzeTasksResponse({}));
18679
- }
18680
- else {
18681
- return $tea.cast(await this.execute(params, req, runtime), new ListSparkLogAnalyzeTasksResponse({}));
18682
- }
18185
+ return $tea.cast(await this.callApi(params, req, runtime), new ListSparkLogAnalyzeTasksResponse({}));
18683
18186
  }
18684
18187
  /**
18685
18188
  * Queries a list of Spark log analysis tasks.
@@ -18728,12 +18231,7 @@ class Client extends openapi_client_1.default {
18728
18231
  reqBodyType: "formData",
18729
18232
  bodyType: "json",
18730
18233
  });
18731
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18732
- return $tea.cast(await this.callApi(params, req, runtime), new ListSparkTemplateFileIdsResponse({}));
18733
- }
18734
- else {
18735
- return $tea.cast(await this.execute(params, req, runtime), new ListSparkTemplateFileIdsResponse({}));
18736
- }
18234
+ return $tea.cast(await this.callApi(params, req, runtime), new ListSparkTemplateFileIdsResponse({}));
18737
18235
  }
18738
18236
  /**
18739
18237
  * Queries all Spark template file IDs of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -18780,12 +18278,7 @@ class Client extends openapi_client_1.default {
18780
18278
  reqBodyType: "formData",
18781
18279
  bodyType: "json",
18782
18280
  });
18783
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18784
- return $tea.cast(await this.callApi(params, req, runtime), new LoadSampleDataSetResponse({}));
18785
- }
18786
- else {
18787
- return $tea.cast(await this.execute(params, req, runtime), new LoadSampleDataSetResponse({}));
18788
- }
18281
+ return $tea.cast(await this.callApi(params, req, runtime), new LoadSampleDataSetResponse({}));
18789
18282
  }
18790
18283
  /**
18791
18284
  * Loads a built-in dataset.
@@ -18839,12 +18332,7 @@ class Client extends openapi_client_1.default {
18839
18332
  reqBodyType: "formData",
18840
18333
  bodyType: "json",
18841
18334
  });
18842
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18843
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountDescriptionResponse({}));
18844
- }
18845
- else {
18846
- return $tea.cast(await this.execute(params, req, runtime), new ModifyAccountDescriptionResponse({}));
18847
- }
18335
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountDescriptionResponse({}));
18848
18336
  }
18849
18337
  /**
18850
18338
  * Modifies the description of a database account for an AnalyticDB for MySQL cluster.
@@ -18903,12 +18391,7 @@ class Client extends openapi_client_1.default {
18903
18391
  reqBodyType: "formData",
18904
18392
  bodyType: "json",
18905
18393
  });
18906
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18907
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountPrivilegesResponse({}));
18908
- }
18909
- else {
18910
- return $tea.cast(await this.execute(params, req, runtime), new ModifyAccountPrivilegesResponse({}));
18911
- }
18394
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyAccountPrivilegesResponse({}));
18912
18395
  }
18913
18396
  /**
18914
18397
  * Modifies the permissions of a database account.
@@ -18974,12 +18457,7 @@ class Client extends openapi_client_1.default {
18974
18457
  reqBodyType: "formData",
18975
18458
  bodyType: "json",
18976
18459
  });
18977
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
18978
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyAuditLogConfigResponse({}));
18979
- }
18980
- else {
18981
- return $tea.cast(await this.execute(params, req, runtime), new ModifyAuditLogConfigResponse({}));
18982
- }
18460
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyAuditLogConfigResponse({}));
18983
18461
  }
18984
18462
  /**
18985
18463
  * Modifies the SQL audit settings of an AnalyticDB for MySQL cluster.
@@ -19051,12 +18529,7 @@ class Client extends openapi_client_1.default {
19051
18529
  reqBodyType: "formData",
19052
18530
  bodyType: "json",
19053
18531
  });
19054
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19055
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
19056
- }
19057
- else {
19058
- return $tea.cast(await this.execute(params, req, runtime), new ModifyBackupPolicyResponse({}));
19059
- }
18532
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
19060
18533
  }
19061
18534
  /**
19062
18535
  * Modifies the backup policy of an AnalyticDB for MySQL cluster.
@@ -19113,12 +18586,7 @@ class Client extends openapi_client_1.default {
19113
18586
  reqBodyType: "formData",
19114
18587
  bodyType: "json",
19115
18588
  });
19116
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19117
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterAccessWhiteListResponse({}));
19118
- }
19119
- else {
19120
- return $tea.cast(await this.execute(params, req, runtime), new ModifyClusterAccessWhiteListResponse({}));
19121
- }
18589
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterAccessWhiteListResponse({}));
19122
18590
  }
19123
18591
  /**
19124
18592
  * Modifies the IP address whitelist of an AnalyticDB for MySQL cluster.
@@ -19172,12 +18640,7 @@ class Client extends openapi_client_1.default {
19172
18640
  reqBodyType: "formData",
19173
18641
  bodyType: "json",
19174
18642
  });
19175
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19176
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterConnectionStringResponse({}));
19177
- }
19178
- else {
19179
- return $tea.cast(await this.execute(params, req, runtime), new ModifyClusterConnectionStringResponse({}));
19180
- }
18643
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyClusterConnectionStringResponse({}));
19181
18644
  }
19182
18645
  /**
19183
18646
  * Modifies the public endpoint of an AnalyticDB for MySQL cluster.
@@ -19202,7 +18665,7 @@ class Client extends openapi_client_1.default {
19202
18665
  * * If the cluster has a built-in dataset loaded, make sure that the cluster has reserved storage resources of at least 24 AnalyticDB compute units (ACUs). Otherwise, the built-in dataset cannot be used.
19203
18666
  * * When the scaling process is about to end, transient connections may occur. We recommend that you scale your cluster during off-peak hours or make sure that your application is configured to automatically reconnect to your cluster.
19204
18667
  * * You can change an AnalyticDB for MySQL cluster from Data Warehouse Edition to Data Lakehouse Edition, but not the other way around. For more information, see Change a cluster from Data Warehouse Edition to Data Lakehouse Edition.
19205
- * * For information about the endpoints of the current service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
18668
+ * * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
19206
18669
  *
19207
18670
  * @param request - ModifyDBClusterRequest
19208
18671
  * @param runtime - runtime options for this request RuntimeOptions
@@ -19258,12 +18721,7 @@ class Client extends openapi_client_1.default {
19258
18721
  reqBodyType: "formData",
19259
18722
  bodyType: "json",
19260
18723
  });
19261
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19262
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
19263
- }
19264
- else {
19265
- return $tea.cast(await this.execute(params, req, runtime), new ModifyDBClusterResponse({}));
19266
- }
18724
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
19267
18725
  }
19268
18726
  /**
19269
18727
  * Changes the configurations of an AnalyticDB for MySQL Data Lakehouse Edition cluster.
@@ -19275,7 +18733,7 @@ class Client extends openapi_client_1.default {
19275
18733
  * * If the cluster has a built-in dataset loaded, make sure that the cluster has reserved storage resources of at least 24 AnalyticDB compute units (ACUs). Otherwise, the built-in dataset cannot be used.
19276
18734
  * * When the scaling process is about to end, transient connections may occur. We recommend that you scale your cluster during off-peak hours or make sure that your application is configured to automatically reconnect to your cluster.
19277
18735
  * * You can change an AnalyticDB for MySQL cluster from Data Warehouse Edition to Data Lakehouse Edition, but not the other way around. For more information, see Change a cluster from Data Warehouse Edition to Data Lakehouse Edition.
19278
- * * For information about the endpoints of the current service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
18736
+ * * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
19279
18737
  *
19280
18738
  * @param request - ModifyDBClusterRequest
19281
18739
  * @returns ModifyDBClusterResponse
@@ -19317,12 +18775,7 @@ class Client extends openapi_client_1.default {
19317
18775
  reqBodyType: "formData",
19318
18776
  bodyType: "json",
19319
18777
  });
19320
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19321
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
19322
- }
19323
- else {
19324
- return $tea.cast(await this.execute(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
19325
- }
18778
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
19326
18779
  }
19327
18780
  /**
19328
18781
  * Modifies the description of an AnalyticDB for MySQL cluster to facilitate the maintenance and management of the cluster.
@@ -19370,12 +18823,7 @@ class Client extends openapi_client_1.default {
19370
18823
  reqBodyType: "formData",
19371
18824
  bodyType: "json",
19372
18825
  });
19373
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19374
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
19375
- }
19376
- else {
19377
- return $tea.cast(await this.execute(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
19378
- }
18826
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
19379
18827
  }
19380
18828
  /**
19381
18829
  * Modifies the maintenance window of an AnalyticDB for MySQL cluster.
@@ -19476,12 +18924,7 @@ class Client extends openapi_client_1.default {
19476
18924
  reqBodyType: "formData",
19477
18925
  bodyType: "json",
19478
18926
  });
19479
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19480
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBResourceGroupResponse({}));
19481
- }
19482
- else {
19483
- return $tea.cast(await this.execute(params, req, runtime), new ModifyDBResourceGroupResponse({}));
19484
- }
18927
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBResourceGroupResponse({}));
19485
18928
  }
19486
18929
  /**
19487
18930
  * Modifies the amount of reserved computing resources for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -19541,12 +18984,7 @@ class Client extends openapi_client_1.default {
19541
18984
  reqBodyType: "formData",
19542
18985
  bodyType: "json",
19543
18986
  });
19544
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19545
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyElasticPlanResponse({}));
19546
- }
19547
- else {
19548
- return $tea.cast(await this.execute(params, req, runtime), new ModifyElasticPlanResponse({}));
19549
- }
18987
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyElasticPlanResponse({}));
19550
18988
  }
19551
18989
  /**
19552
18990
  * Modifies a scaling plan for an AnalyticDB for MySQL cluster.
@@ -19614,12 +19052,7 @@ class Client extends openapi_client_1.default {
19614
19052
  reqBodyType: "formData",
19615
19053
  bodyType: "json",
19616
19054
  });
19617
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19618
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyPerformanceViewResponse({}));
19619
- }
19620
- else {
19621
- return $tea.cast(await this.execute(params, req, runtime), new ModifyPerformanceViewResponse({}));
19622
- }
19055
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyPerformanceViewResponse({}));
19623
19056
  }
19624
19057
  /**
19625
19058
  * Modifies the information about a custom monitoring view.
@@ -19668,12 +19101,7 @@ class Client extends openapi_client_1.default {
19668
19101
  reqBodyType: "formData",
19669
19102
  bodyType: "json",
19670
19103
  });
19671
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19672
- return $tea.cast(await this.callApi(params, req, runtime), new PreloadSparkAppMetricsResponse({}));
19673
- }
19674
- else {
19675
- return $tea.cast(await this.execute(params, req, runtime), new PreloadSparkAppMetricsResponse({}));
19676
- }
19104
+ return $tea.cast(await this.callApi(params, req, runtime), new PreloadSparkAppMetricsResponse({}));
19677
19105
  }
19678
19106
  /**
19679
19107
  * Preloads metrics for a Spark application.
@@ -19723,12 +19151,7 @@ class Client extends openapi_client_1.default {
19723
19151
  reqBodyType: "formData",
19724
19152
  bodyType: "json",
19725
19153
  });
19726
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19727
- return $tea.cast(await this.callApi(params, req, runtime), new ReleaseClusterPublicConnectionResponse({}));
19728
- }
19729
- else {
19730
- return $tea.cast(await this.execute(params, req, runtime), new ReleaseClusterPublicConnectionResponse({}));
19731
- }
19154
+ return $tea.cast(await this.callApi(params, req, runtime), new ReleaseClusterPublicConnectionResponse({}));
19732
19155
  }
19733
19156
  /**
19734
19157
  * Releases the public endpoint of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
@@ -19781,12 +19204,7 @@ class Client extends openapi_client_1.default {
19781
19204
  reqBodyType: "formData",
19782
19205
  bodyType: "json",
19783
19206
  });
19784
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19785
- return $tea.cast(await this.callApi(params, req, runtime), new RenameSparkTemplateFileResponse({}));
19786
- }
19787
- else {
19788
- return $tea.cast(await this.execute(params, req, runtime), new RenameSparkTemplateFileResponse({}));
19789
- }
19207
+ return $tea.cast(await this.callApi(params, req, runtime), new RenameSparkTemplateFileResponse({}));
19790
19208
  }
19791
19209
  /**
19792
19210
  * Renames a Spark template file.
@@ -19845,12 +19263,7 @@ class Client extends openapi_client_1.default {
19845
19263
  reqBodyType: "formData",
19846
19264
  bodyType: "json",
19847
19265
  });
19848
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19849
- return $tea.cast(await this.callApi(params, req, runtime), new ResetAccountPasswordResponse({}));
19850
- }
19851
- else {
19852
- return $tea.cast(await this.execute(params, req, runtime), new ResetAccountPasswordResponse({}));
19853
- }
19266
+ return $tea.cast(await this.callApi(params, req, runtime), new ResetAccountPasswordResponse({}));
19854
19267
  }
19855
19268
  /**
19856
19269
  * Resets the password of a database account for an AnalyticDB for MySQL cluster.
@@ -19903,12 +19316,7 @@ class Client extends openapi_client_1.default {
19903
19316
  reqBodyType: "formData",
19904
19317
  bodyType: "json",
19905
19318
  });
19906
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19907
- return $tea.cast(await this.callApi(params, req, runtime), new SetSparkAppLogRootPathResponse({}));
19908
- }
19909
- else {
19910
- return $tea.cast(await this.execute(params, req, runtime), new SetSparkAppLogRootPathResponse({}));
19911
- }
19319
+ return $tea.cast(await this.callApi(params, req, runtime), new SetSparkAppLogRootPathResponse({}));
19912
19320
  }
19913
19321
  /**
19914
19322
  * Modifies the Spark log configuration.
@@ -19975,12 +19383,7 @@ class Client extends openapi_client_1.default {
19975
19383
  reqBodyType: "formData",
19976
19384
  bodyType: "json",
19977
19385
  });
19978
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
19979
- return $tea.cast(await this.callApi(params, req, runtime), new StartSparkSQLEngineResponse({}));
19980
- }
19981
- else {
19982
- return $tea.cast(await this.execute(params, req, runtime), new StartSparkSQLEngineResponse({}));
19983
- }
19386
+ return $tea.cast(await this.callApi(params, req, runtime), new StartSparkSQLEngineResponse({}));
19984
19387
  }
19985
19388
  /**
19986
19389
  * Starts the Spark SQL engine.
@@ -20050,12 +19453,7 @@ class Client extends openapi_client_1.default {
20050
19453
  reqBodyType: "formData",
20051
19454
  bodyType: "json",
20052
19455
  });
20053
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
20054
- return $tea.cast(await this.callApi(params, req, runtime), new SubmitSparkAppResponse({}));
20055
- }
20056
- else {
20057
- return $tea.cast(await this.execute(params, req, runtime), new SubmitSparkAppResponse({}));
20058
- }
19456
+ return $tea.cast(await this.callApi(params, req, runtime), new SubmitSparkAppResponse({}));
20059
19457
  }
20060
19458
  /**
20061
19459
  * Submits a Spark application.
@@ -20104,12 +19502,7 @@ class Client extends openapi_client_1.default {
20104
19502
  reqBodyType: "formData",
20105
19503
  bodyType: "json",
20106
19504
  });
20107
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
20108
- return $tea.cast(await this.callApi(params, req, runtime), new SubmitSparkLogAnalyzeTaskResponse({}));
20109
- }
20110
- else {
20111
- return $tea.cast(await this.execute(params, req, runtime), new SubmitSparkLogAnalyzeTaskResponse({}));
20112
- }
19505
+ return $tea.cast(await this.callApi(params, req, runtime), new SubmitSparkLogAnalyzeTaskResponse({}));
20113
19506
  }
20114
19507
  /**
20115
19508
  * Submits a Spark log analysis task and queries the analysis results.
@@ -20159,12 +19552,7 @@ class Client extends openapi_client_1.default {
20159
19552
  reqBodyType: "formData",
20160
19553
  bodyType: "json",
20161
19554
  });
20162
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
20163
- return $tea.cast(await this.callApi(params, req, runtime), new UnbindAccountResponse({}));
20164
- }
20165
- else {
20166
- return $tea.cast(await this.execute(params, req, runtime), new UnbindAccountResponse({}));
20167
- }
19555
+ return $tea.cast(await this.callApi(params, req, runtime), new UnbindAccountResponse({}));
20168
19556
  }
20169
19557
  /**
20170
19558
  * Disassociates a standard account of an AnalyticDB for MySQL cluster from a Resource Access Management (RAM) user.
@@ -20215,12 +19603,7 @@ class Client extends openapi_client_1.default {
20215
19603
  reqBodyType: "formData",
20216
19604
  bodyType: "json",
20217
19605
  });
20218
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
20219
- return $tea.cast(await this.callApi(params, req, runtime), new UnbindDBResourceGroupWithUserResponse({}));
20220
- }
20221
- else {
20222
- return $tea.cast(await this.execute(params, req, runtime), new UnbindDBResourceGroupWithUserResponse({}));
20223
- }
19606
+ return $tea.cast(await this.callApi(params, req, runtime), new UnbindDBResourceGroupWithUserResponse({}));
20224
19607
  }
20225
19608
  /**
20226
19609
  * Disassociates resource groups from database accounts for an AnalyticDB for MySQL cluster.
@@ -20276,12 +19659,7 @@ class Client extends openapi_client_1.default {
20276
19659
  reqBodyType: "formData",
20277
19660
  bodyType: "json",
20278
19661
  });
20279
- if (tea_util_1.default.isUnset(this._signatureVersion) || !tea_util_1.default.equalString(this._signatureVersion, "v4")) {
20280
- return $tea.cast(await this.callApi(params, req, runtime), new UpdateSparkTemplateFileResponse({}));
20281
- }
20282
- else {
20283
- return $tea.cast(await this.execute(params, req, runtime), new UpdateSparkTemplateFileResponse({}));
20284
- }
19662
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateSparkTemplateFileResponse({}));
20285
19663
  }
20286
19664
  /**
20287
19665
  * Updates a Spark application template.