@alicloud/polardb20170801 5.4.0 → 5.4.1

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
@@ -6733,23 +6733,27 @@ class DescribeActivationCodesRequest extends $dara.Model {
6733
6733
  static names() {
6734
6734
  return {
6735
6735
  aliyunOrderId: 'AliyunOrderId',
6736
+ macAddress: 'MacAddress',
6736
6737
  ownerAccount: 'OwnerAccount',
6737
6738
  ownerId: 'OwnerId',
6738
6739
  pageNumber: 'PageNumber',
6739
6740
  pageSize: 'PageSize',
6740
6741
  resourceOwnerAccount: 'ResourceOwnerAccount',
6741
6742
  resourceOwnerId: 'ResourceOwnerId',
6743
+ systemIdentifier: 'SystemIdentifier',
6742
6744
  };
6743
6745
  }
6744
6746
  static types() {
6745
6747
  return {
6746
6748
  aliyunOrderId: 'string',
6749
+ macAddress: 'string',
6747
6750
  ownerAccount: 'string',
6748
6751
  ownerId: 'number',
6749
6752
  pageNumber: 'number',
6750
6753
  pageSize: 'number',
6751
6754
  resourceOwnerAccount: 'string',
6752
6755
  resourceOwnerId: 'number',
6756
+ systemIdentifier: 'string',
6753
6757
  };
6754
6758
  }
6755
6759
  validate() {
@@ -17123,7 +17127,12 @@ class Client extends openapi_core_1.default {
17123
17127
  reqBodyType: "formData",
17124
17128
  bodyType: "json",
17125
17129
  });
17126
- return $dara.cast(await this.callApi(params, req, runtime), new CancelActiveOperationTasksResponse({}));
17130
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17131
+ return $dara.cast(await this.callApi(params, req, runtime), new CancelActiveOperationTasksResponse({}));
17132
+ }
17133
+ else {
17134
+ return $dara.cast(await this.execute(params, req, runtime), new CancelActiveOperationTasksResponse({}));
17135
+ }
17127
17136
  }
17128
17137
  /**
17129
17138
  * Cancels O\\&M events at a time.
@@ -17180,7 +17189,12 @@ class Client extends openapi_core_1.default {
17180
17189
  reqBodyType: "formData",
17181
17190
  bodyType: "json",
17182
17191
  });
17183
- return $dara.cast(await this.callApi(params, req, runtime), new CancelScheduleTasksResponse({}));
17192
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17193
+ return $dara.cast(await this.callApi(params, req, runtime), new CancelScheduleTasksResponse({}));
17194
+ }
17195
+ else {
17196
+ return $dara.cast(await this.execute(params, req, runtime), new CancelScheduleTasksResponse({}));
17197
+ }
17184
17198
  }
17185
17199
  /**
17186
17200
  * Cancels scheduled tasks that are not yet started.
@@ -17234,7 +17248,12 @@ class Client extends openapi_core_1.default {
17234
17248
  reqBodyType: "formData",
17235
17249
  bodyType: "json",
17236
17250
  });
17237
- return $dara.cast(await this.callApi(params, req, runtime), new CheckAccountNameResponse({}));
17251
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17252
+ return $dara.cast(await this.callApi(params, req, runtime), new CheckAccountNameResponse({}));
17253
+ }
17254
+ else {
17255
+ return $dara.cast(await this.execute(params, req, runtime), new CheckAccountNameResponse({}));
17256
+ }
17238
17257
  }
17239
17258
  /**
17240
17259
  * Checks whether an account name is valid or unique in a cluster.
@@ -17288,7 +17307,12 @@ class Client extends openapi_core_1.default {
17288
17307
  reqBodyType: "formData",
17289
17308
  bodyType: "json",
17290
17309
  });
17291
- return $dara.cast(await this.callApi(params, req, runtime), new CheckDBNameResponse({}));
17310
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17311
+ return $dara.cast(await this.callApi(params, req, runtime), new CheckDBNameResponse({}));
17312
+ }
17313
+ else {
17314
+ return $dara.cast(await this.execute(params, req, runtime), new CheckDBNameResponse({}));
17315
+ }
17292
17316
  }
17293
17317
  /**
17294
17318
  * Checks whether a database name is valid or whether the name is already used by another database in the current cluster.
@@ -17345,7 +17369,12 @@ class Client extends openapi_core_1.default {
17345
17369
  reqBodyType: "formData",
17346
17370
  bodyType: "json",
17347
17371
  });
17348
- return $dara.cast(await this.callApi(params, req, runtime), new CheckKMSAuthorizedResponse({}));
17372
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17373
+ return $dara.cast(await this.callApi(params, req, runtime), new CheckKMSAuthorizedResponse({}));
17374
+ }
17375
+ else {
17376
+ return $dara.cast(await this.execute(params, req, runtime), new CheckKMSAuthorizedResponse({}));
17377
+ }
17349
17378
  }
17350
17379
  /**
17351
17380
  * Queries whether the cluster is authorized to use Key Management Service (KMS).
@@ -17393,7 +17422,12 @@ class Client extends openapi_core_1.default {
17393
17422
  reqBodyType: "formData",
17394
17423
  bodyType: "json",
17395
17424
  });
17396
- return $dara.cast(await this.callApi(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
17425
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17426
+ return $dara.cast(await this.callApi(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
17427
+ }
17428
+ else {
17429
+ return $dara.cast(await this.execute(params, req, runtime), new CheckServiceLinkedRoleResponse({}));
17430
+ }
17397
17431
  }
17398
17432
  /**
17399
17433
  * Checks whether a service-linked role (SLR) is created.
@@ -17447,7 +17481,12 @@ class Client extends openapi_core_1.default {
17447
17481
  reqBodyType: "formData",
17448
17482
  bodyType: "json",
17449
17483
  });
17450
- return $dara.cast(await this.callApi(params, req, runtime), new CloseAITaskResponse({}));
17484
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17485
+ return $dara.cast(await this.callApi(params, req, runtime), new CloseAITaskResponse({}));
17486
+ }
17487
+ else {
17488
+ return $dara.cast(await this.execute(params, req, runtime), new CloseAITaskResponse({}));
17489
+ }
17451
17490
  }
17452
17491
  /**
17453
17492
  * 关闭DB4AI
@@ -17506,7 +17545,12 @@ class Client extends openapi_core_1.default {
17506
17545
  reqBodyType: "formData",
17507
17546
  bodyType: "json",
17508
17547
  });
17509
- return $dara.cast(await this.callApi(params, req, runtime), new CloseDBClusterMigrationResponse({}));
17548
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17549
+ return $dara.cast(await this.callApi(params, req, runtime), new CloseDBClusterMigrationResponse({}));
17550
+ }
17551
+ else {
17552
+ return $dara.cast(await this.execute(params, req, runtime), new CloseDBClusterMigrationResponse({}));
17553
+ }
17510
17554
  }
17511
17555
  /**
17512
17556
  * Cancels or completes the migration task that upgrades an RDS cluster to a PolarDB cluster.
@@ -17586,7 +17630,12 @@ class Client extends openapi_core_1.default {
17586
17630
  reqBodyType: "formData",
17587
17631
  bodyType: "json",
17588
17632
  });
17589
- return $dara.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
17633
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17634
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateAccountResponse({}));
17635
+ }
17636
+ else {
17637
+ return $dara.cast(await this.execute(params, req, runtime), new CreateAccountResponse({}));
17638
+ }
17590
17639
  }
17591
17640
  /**
17592
17641
  * Creates a database account for a PolarDB cluster.
@@ -17649,7 +17698,12 @@ class Client extends openapi_core_1.default {
17649
17698
  reqBodyType: "formData",
17650
17699
  bodyType: "json",
17651
17700
  });
17652
- return $dara.cast(await this.callApi(params, req, runtime), new CreateActivationCodeResponse({}));
17701
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17702
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateActivationCodeResponse({}));
17703
+ }
17704
+ else {
17705
+ return $dara.cast(await this.execute(params, req, runtime), new CreateActivationCodeResponse({}));
17706
+ }
17653
17707
  }
17654
17708
  /**
17655
17709
  * Generates a lightweight license activation code.
@@ -17709,7 +17763,12 @@ class Client extends openapi_core_1.default {
17709
17763
  reqBodyType: "formData",
17710
17764
  bodyType: "json",
17711
17765
  });
17712
- return $dara.cast(await this.callApi(params, req, runtime), new CreateBackupResponse({}));
17766
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17767
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateBackupResponse({}));
17768
+ }
17769
+ else {
17770
+ return $dara.cast(await this.execute(params, req, runtime), new CreateBackupResponse({}));
17771
+ }
17713
17772
  }
17714
17773
  /**
17715
17774
  * Creates a full snapshot backup for a PolarDB cluster.
@@ -17775,7 +17834,12 @@ class Client extends openapi_core_1.default {
17775
17834
  reqBodyType: "formData",
17776
17835
  bodyType: "json",
17777
17836
  });
17778
- return $dara.cast(await this.callApi(params, req, runtime), new CreateColdStorageInstanceResponse({}));
17837
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
17838
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateColdStorageInstanceResponse({}));
17839
+ }
17840
+ else {
17841
+ return $dara.cast(await this.execute(params, req, runtime), new CreateColdStorageInstanceResponse({}));
17842
+ }
17779
17843
  }
17780
17844
  /**
17781
17845
  * Creates a cluster that is used to store cold data.
@@ -17985,7 +18049,12 @@ class Client extends openapi_core_1.default {
17985
18049
  reqBodyType: "formData",
17986
18050
  bodyType: "json",
17987
18051
  });
17988
- return $dara.cast(await this.callApi(params, req, runtime), new CreateDBClusterResponse({}));
18052
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18053
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateDBClusterResponse({}));
18054
+ }
18055
+ else {
18056
+ return $dara.cast(await this.execute(params, req, runtime), new CreateDBClusterResponse({}));
18057
+ }
17989
18058
  }
17990
18059
  /**
17991
18060
  * CreateDBCluster.
@@ -18066,7 +18135,12 @@ class Client extends openapi_core_1.default {
18066
18135
  reqBodyType: "formData",
18067
18136
  bodyType: "json",
18068
18137
  });
18069
- return $dara.cast(await this.callApi(params, req, runtime), new CreateDBClusterEndpointResponse({}));
18138
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18139
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateDBClusterEndpointResponse({}));
18140
+ }
18141
+ else {
18142
+ return $dara.cast(await this.execute(params, req, runtime), new CreateDBClusterEndpointResponse({}));
18143
+ }
18070
18144
  }
18071
18145
  /**
18072
18146
  * Creates a custom cluster endpoint for a PolarDB cluster.
@@ -18138,7 +18212,12 @@ class Client extends openapi_core_1.default {
18138
18212
  reqBodyType: "formData",
18139
18213
  bodyType: "json",
18140
18214
  });
18141
- return $dara.cast(await this.callApi(params, req, runtime), new CreateDBEndpointAddressResponse({}));
18215
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18216
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateDBEndpointAddressResponse({}));
18217
+ }
18218
+ else {
18219
+ return $dara.cast(await this.execute(params, req, runtime), new CreateDBEndpointAddressResponse({}));
18220
+ }
18142
18221
  }
18143
18222
  /**
18144
18223
  * Creates a public endpoint for the primary endpoint, the default cluster endpoint, or a custom cluster endpoint.
@@ -18234,7 +18313,12 @@ class Client extends openapi_core_1.default {
18234
18313
  reqBodyType: "formData",
18235
18314
  bodyType: "json",
18236
18315
  });
18237
- return $dara.cast(await this.callApi(params, req, runtime), new CreateDBLinkResponse({}));
18316
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18317
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateDBLinkResponse({}));
18318
+ }
18319
+ else {
18320
+ return $dara.cast(await this.execute(params, req, runtime), new CreateDBLinkResponse({}));
18321
+ }
18238
18322
  }
18239
18323
  /**
18240
18324
  * Creates a database link.
@@ -18315,7 +18399,12 @@ class Client extends openapi_core_1.default {
18315
18399
  reqBodyType: "formData",
18316
18400
  bodyType: "json",
18317
18401
  });
18318
- return $dara.cast(await this.callApi(params, req, runtime), new CreateDBNodesResponse({}));
18402
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18403
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateDBNodesResponse({}));
18404
+ }
18405
+ else {
18406
+ return $dara.cast(await this.execute(params, req, runtime), new CreateDBNodesResponse({}));
18407
+ }
18319
18408
  }
18320
18409
  /**
18321
18410
  * Adds a read-only node to a PolarDB cluster.
@@ -18392,7 +18481,12 @@ class Client extends openapi_core_1.default {
18392
18481
  reqBodyType: "formData",
18393
18482
  bodyType: "json",
18394
18483
  });
18395
- return $dara.cast(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
18484
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18485
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateDatabaseResponse({}));
18486
+ }
18487
+ else {
18488
+ return $dara.cast(await this.execute(params, req, runtime), new CreateDatabaseResponse({}));
18489
+ }
18396
18490
  }
18397
18491
  /**
18398
18492
  * Creates a database for a PolarDB cluster.
@@ -18463,7 +18557,12 @@ class Client extends openapi_core_1.default {
18463
18557
  reqBodyType: "formData",
18464
18558
  bodyType: "json",
18465
18559
  });
18466
- return $dara.cast(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
18560
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18561
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
18562
+ }
18563
+ else {
18564
+ return $dara.cast(await this.execute(params, req, runtime), new CreateGlobalDatabaseNetworkResponse({}));
18565
+ }
18467
18566
  }
18468
18567
  /**
18469
18568
  * Creates a global database network (GDN).
@@ -18529,7 +18628,12 @@ class Client extends openapi_core_1.default {
18529
18628
  reqBodyType: "formData",
18530
18629
  bodyType: "json",
18531
18630
  });
18532
- return $dara.cast(await this.callApi(params, req, runtime), new CreateGlobalSecurityIPGroupResponse({}));
18631
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18632
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateGlobalSecurityIPGroupResponse({}));
18633
+ }
18634
+ else {
18635
+ return $dara.cast(await this.execute(params, req, runtime), new CreateGlobalSecurityIPGroupResponse({}));
18636
+ }
18533
18637
  }
18534
18638
  /**
18535
18639
  * Creates a global IP whitelist template.
@@ -18580,7 +18684,12 @@ class Client extends openapi_core_1.default {
18580
18684
  reqBodyType: "formData",
18581
18685
  bodyType: "json",
18582
18686
  });
18583
- return $dara.cast(await this.callApi(params, req, runtime), new CreateOrGetVirtualLicenseOrderResponse({}));
18687
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18688
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateOrGetVirtualLicenseOrderResponse({}));
18689
+ }
18690
+ else {
18691
+ return $dara.cast(await this.execute(params, req, runtime), new CreateOrGetVirtualLicenseOrderResponse({}));
18692
+ }
18584
18693
  }
18585
18694
  /**
18586
18695
  * Creates or obtains a virtual license order.
@@ -18653,7 +18762,12 @@ class Client extends openapi_core_1.default {
18653
18762
  reqBodyType: "formData",
18654
18763
  bodyType: "json",
18655
18764
  });
18656
- return $dara.cast(await this.callApi(params, req, runtime), new CreateParameterGroupResponse({}));
18765
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18766
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateParameterGroupResponse({}));
18767
+ }
18768
+ else {
18769
+ return $dara.cast(await this.execute(params, req, runtime), new CreateParameterGroupResponse({}));
18770
+ }
18657
18771
  }
18658
18772
  /**
18659
18773
  * Creates a parameter template.
@@ -18705,7 +18819,12 @@ class Client extends openapi_core_1.default {
18705
18819
  reqBodyType: "formData",
18706
18820
  bodyType: "json",
18707
18821
  });
18708
- return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
18822
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18823
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
18824
+ }
18825
+ else {
18826
+ return $dara.cast(await this.execute(params, req, runtime), new CreateServiceLinkedRoleResponse({}));
18827
+ }
18709
18828
  }
18710
18829
  /**
18711
18830
  * Creates a service-linked role (SLR).
@@ -18768,7 +18887,12 @@ class Client extends openapi_core_1.default {
18768
18887
  reqBodyType: "formData",
18769
18888
  bodyType: "json",
18770
18889
  });
18771
- return $dara.cast(await this.callApi(params, req, runtime), new CreateStoragePlanResponse({}));
18890
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18891
+ return $dara.cast(await this.callApi(params, req, runtime), new CreateStoragePlanResponse({}));
18892
+ }
18893
+ else {
18894
+ return $dara.cast(await this.execute(params, req, runtime), new CreateStoragePlanResponse({}));
18895
+ }
18772
18896
  }
18773
18897
  /**
18774
18898
  * Purchases a storage plan.
@@ -18825,7 +18949,12 @@ class Client extends openapi_core_1.default {
18825
18949
  reqBodyType: "formData",
18826
18950
  bodyType: "json",
18827
18951
  });
18828
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
18952
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
18953
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteAccountResponse({}));
18954
+ }
18955
+ else {
18956
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteAccountResponse({}));
18957
+ }
18829
18958
  }
18830
18959
  /**
18831
18960
  * Deletes a database account for a PolarDB cluster.
@@ -18889,7 +19018,12 @@ class Client extends openapi_core_1.default {
18889
19018
  reqBodyType: "formData",
18890
19019
  bodyType: "json",
18891
19020
  });
18892
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteBackupResponse({}));
19021
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19022
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteBackupResponse({}));
19023
+ }
19024
+ else {
19025
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteBackupResponse({}));
19026
+ }
18893
19027
  }
18894
19028
  /**
18895
19029
  * Deletes the backup sets of a PolarDB cluster.
@@ -18950,7 +19084,12 @@ class Client extends openapi_core_1.default {
18950
19084
  reqBodyType: "formData",
18951
19085
  bodyType: "json",
18952
19086
  });
18953
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBClusterResponse({}));
19087
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19088
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBClusterResponse({}));
19089
+ }
19090
+ else {
19091
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteDBClusterResponse({}));
19092
+ }
18954
19093
  }
18955
19094
  /**
18956
19095
  * Releases a pay-as-you-go PolarDB cluster.
@@ -19004,7 +19143,12 @@ class Client extends openapi_core_1.default {
19004
19143
  reqBodyType: "formData",
19005
19144
  bodyType: "json",
19006
19145
  });
19007
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBClusterEndpointResponse({}));
19146
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19147
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBClusterEndpointResponse({}));
19148
+ }
19149
+ else {
19150
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteDBClusterEndpointResponse({}));
19151
+ }
19008
19152
  }
19009
19153
  /**
19010
19154
  * Releases a custom cluster endpoint of a PolarDB cluster.
@@ -19065,7 +19209,12 @@ class Client extends openapi_core_1.default {
19065
19209
  reqBodyType: "formData",
19066
19210
  bodyType: "json",
19067
19211
  });
19068
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
19212
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19213
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
19214
+ }
19215
+ else {
19216
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteDBEndpointAddressResponse({}));
19217
+ }
19069
19218
  }
19070
19219
  /**
19071
19220
  * Releases the public endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, and custom cluster endpoint.
@@ -19123,7 +19272,12 @@ class Client extends openapi_core_1.default {
19123
19272
  reqBodyType: "formData",
19124
19273
  bodyType: "json",
19125
19274
  });
19126
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBLinkResponse({}));
19275
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19276
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBLinkResponse({}));
19277
+ }
19278
+ else {
19279
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteDBLinkResponse({}));
19280
+ }
19127
19281
  }
19128
19282
  /**
19129
19283
  * Deletes a database link from a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
@@ -19183,7 +19337,12 @@ class Client extends openapi_core_1.default {
19183
19337
  reqBodyType: "formData",
19184
19338
  bodyType: "json",
19185
19339
  });
19186
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBNodesResponse({}));
19340
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19341
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteDBNodesResponse({}));
19342
+ }
19343
+ else {
19344
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteDBNodesResponse({}));
19345
+ }
19187
19346
  }
19188
19347
  /**
19189
19348
  * Deletes a read-only node from a PolarDB cluster.
@@ -19241,7 +19400,12 @@ class Client extends openapi_core_1.default {
19241
19400
  reqBodyType: "formData",
19242
19401
  bodyType: "json",
19243
19402
  });
19244
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteDatabaseResponse({}));
19403
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19404
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteDatabaseResponse({}));
19405
+ }
19406
+ else {
19407
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteDatabaseResponse({}));
19408
+ }
19245
19409
  }
19246
19410
  /**
19247
19411
  * Deletes a database from a PolarDB cluster.
@@ -19305,7 +19469,12 @@ class Client extends openapi_core_1.default {
19305
19469
  reqBodyType: "formData",
19306
19470
  bodyType: "json",
19307
19471
  });
19308
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
19472
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19473
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
19474
+ }
19475
+ else {
19476
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteGlobalDatabaseNetworkResponse({}));
19477
+ }
19309
19478
  }
19310
19479
  /**
19311
19480
  * Deletes a global database network (GDN).
@@ -19371,7 +19540,12 @@ class Client extends openapi_core_1.default {
19371
19540
  reqBodyType: "formData",
19372
19541
  bodyType: "json",
19373
19542
  });
19374
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteGlobalSecurityIPGroupResponse({}));
19543
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19544
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteGlobalSecurityIPGroupResponse({}));
19545
+ }
19546
+ else {
19547
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteGlobalSecurityIPGroupResponse({}));
19548
+ }
19375
19549
  }
19376
19550
  /**
19377
19551
  * Deletes a global IP whitelist template.
@@ -19413,7 +19587,12 @@ class Client extends openapi_core_1.default {
19413
19587
  reqBodyType: "formData",
19414
19588
  bodyType: "json",
19415
19589
  });
19416
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteMaskingRulesResponse({}));
19590
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19591
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteMaskingRulesResponse({}));
19592
+ }
19593
+ else {
19594
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteMaskingRulesResponse({}));
19595
+ }
19417
19596
  }
19418
19597
  /**
19419
19598
  * Deletes a data masking rule.
@@ -19474,7 +19653,12 @@ class Client extends openapi_core_1.default {
19474
19653
  reqBodyType: "formData",
19475
19654
  bodyType: "json",
19476
19655
  });
19477
- return $dara.cast(await this.callApi(params, req, runtime), new DeleteParameterGroupResponse({}));
19656
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19657
+ return $dara.cast(await this.callApi(params, req, runtime), new DeleteParameterGroupResponse({}));
19658
+ }
19659
+ else {
19660
+ return $dara.cast(await this.execute(params, req, runtime), new DeleteParameterGroupResponse({}));
19661
+ }
19478
19662
  }
19479
19663
  /**
19480
19664
  * Deletes a parameter template of a PolarDB cluster.
@@ -19514,7 +19698,12 @@ class Client extends openapi_core_1.default {
19514
19698
  reqBodyType: "formData",
19515
19699
  bodyType: "json",
19516
19700
  });
19517
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeAITaskStatusResponse({}));
19701
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19702
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeAITaskStatusResponse({}));
19703
+ }
19704
+ else {
19705
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeAITaskStatusResponse({}));
19706
+ }
19518
19707
  }
19519
19708
  /**
19520
19709
  * Queries the status of the PolarDB for AI feature.
@@ -19574,7 +19763,12 @@ class Client extends openapi_core_1.default {
19574
19763
  reqBodyType: "formData",
19575
19764
  bodyType: "json",
19576
19765
  });
19577
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeAccountsResponse({}));
19766
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19767
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeAccountsResponse({}));
19768
+ }
19769
+ else {
19770
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeAccountsResponse({}));
19771
+ }
19578
19772
  }
19579
19773
  /**
19580
19774
  * Queries information about a database account of a PolarDB cluster.
@@ -19628,7 +19822,12 @@ class Client extends openapi_core_1.default {
19628
19822
  reqBodyType: "formData",
19629
19823
  bodyType: "json",
19630
19824
  });
19631
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeActivationCodeDetailsResponse({}));
19825
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19826
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeActivationCodeDetailsResponse({}));
19827
+ }
19828
+ else {
19829
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeActivationCodeDetailsResponse({}));
19830
+ }
19632
19831
  }
19633
19832
  /**
19634
19833
  * Queries the details of an activation code.
@@ -19653,6 +19852,9 @@ class Client extends openapi_core_1.default {
19653
19852
  if (!$dara.isNull(request.aliyunOrderId)) {
19654
19853
  query["AliyunOrderId"] = request.aliyunOrderId;
19655
19854
  }
19855
+ if (!$dara.isNull(request.macAddress)) {
19856
+ query["MacAddress"] = request.macAddress;
19857
+ }
19656
19858
  if (!$dara.isNull(request.ownerAccount)) {
19657
19859
  query["OwnerAccount"] = request.ownerAccount;
19658
19860
  }
@@ -19671,6 +19873,9 @@ class Client extends openapi_core_1.default {
19671
19873
  if (!$dara.isNull(request.resourceOwnerId)) {
19672
19874
  query["ResourceOwnerId"] = request.resourceOwnerId;
19673
19875
  }
19876
+ if (!$dara.isNull(request.systemIdentifier)) {
19877
+ query["SystemIdentifier"] = request.systemIdentifier;
19878
+ }
19674
19879
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
19675
19880
  query: openapi_core_2.OpenApiUtil.query(query),
19676
19881
  });
@@ -19685,7 +19890,12 @@ class Client extends openapi_core_1.default {
19685
19890
  reqBodyType: "formData",
19686
19891
  bodyType: "json",
19687
19892
  });
19688
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeActivationCodesResponse({}));
19893
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19894
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeActivationCodesResponse({}));
19895
+ }
19896
+ else {
19897
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeActivationCodesResponse({}));
19898
+ }
19689
19899
  }
19690
19900
  /**
19691
19901
  * Queries a list of activation codes.
@@ -19766,7 +19976,12 @@ class Client extends openapi_core_1.default {
19766
19976
  reqBodyType: "formData",
19767
19977
  bodyType: "json",
19768
19978
  });
19769
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeActiveOperationTasksResponse({}));
19979
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
19980
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeActiveOperationTasksResponse({}));
19981
+ }
19982
+ else {
19983
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeActiveOperationTasksResponse({}));
19984
+ }
19770
19985
  }
19771
19986
  /**
19772
19987
  * 用户侧查询运维任务
@@ -19829,7 +20044,12 @@ class Client extends openapi_core_1.default {
19829
20044
  reqBodyType: "formData",
19830
20045
  bodyType: "json",
19831
20046
  });
19832
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeAutoRenewAttributeResponse({}));
20047
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20048
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeAutoRenewAttributeResponse({}));
20049
+ }
20050
+ else {
20051
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeAutoRenewAttributeResponse({}));
20052
+ }
19833
20053
  }
19834
20054
  /**
19835
20055
  * Queries the auto-renewal attributes of a subscription PolarDB cluster.
@@ -19895,7 +20115,12 @@ class Client extends openapi_core_1.default {
19895
20115
  reqBodyType: "formData",
19896
20116
  bodyType: "json",
19897
20117
  });
19898
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupLogsResponse({}));
20118
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20119
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupLogsResponse({}));
20120
+ }
20121
+ else {
20122
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeBackupLogsResponse({}));
20123
+ }
19899
20124
  }
19900
20125
  /**
19901
20126
  * Queries backup logs and the URLs to download the backup logs.
@@ -19946,7 +20171,12 @@ class Client extends openapi_core_1.default {
19946
20171
  reqBodyType: "formData",
19947
20172
  bodyType: "json",
19948
20173
  });
19949
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupPolicyResponse({}));
20174
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20175
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupPolicyResponse({}));
20176
+ }
20177
+ else {
20178
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeBackupPolicyResponse({}));
20179
+ }
19950
20180
  }
19951
20181
  /**
19952
20182
  * Queries the automatic backup policy of a PolarDB cluster.
@@ -20003,7 +20233,12 @@ class Client extends openapi_core_1.default {
20003
20233
  reqBodyType: "formData",
20004
20234
  bodyType: "json",
20005
20235
  });
20006
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupTasksResponse({}));
20236
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20237
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupTasksResponse({}));
20238
+ }
20239
+ else {
20240
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeBackupTasksResponse({}));
20241
+ }
20007
20242
  }
20008
20243
  /**
20009
20244
  * Queries the backup tasks of a PolarDB cluster.
@@ -20078,7 +20313,12 @@ class Client extends openapi_core_1.default {
20078
20313
  reqBodyType: "formData",
20079
20314
  bodyType: "json",
20080
20315
  });
20081
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupsResponse({}));
20316
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20317
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeBackupsResponse({}));
20318
+ }
20319
+ else {
20320
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeBackupsResponse({}));
20321
+ }
20082
20322
  }
20083
20323
  /**
20084
20324
  * Queries the backup details of a PolarDB cluster.
@@ -20132,7 +20372,12 @@ class Client extends openapi_core_1.default {
20132
20372
  reqBodyType: "formData",
20133
20373
  bodyType: "json",
20134
20374
  });
20135
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeCharacterSetNameResponse({}));
20375
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20376
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeCharacterSetNameResponse({}));
20377
+ }
20378
+ else {
20379
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeCharacterSetNameResponse({}));
20380
+ }
20136
20381
  }
20137
20382
  /**
20138
20383
  * Queries character sets that are supported by a PolarDB for MySQL cluster.
@@ -20195,7 +20440,12 @@ class Client extends openapi_core_1.default {
20195
20440
  reqBodyType: "formData",
20196
20441
  bodyType: "json",
20197
20442
  });
20198
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeClassListResponse({}));
20443
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20444
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeClassListResponse({}));
20445
+ }
20446
+ else {
20447
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeClassListResponse({}));
20448
+ }
20199
20449
  }
20200
20450
  /**
20201
20451
  * Queries the specifications of a cluster.
@@ -20246,7 +20496,12 @@ class Client extends openapi_core_1.default {
20246
20496
  reqBodyType: "formData",
20247
20497
  bodyType: "json",
20248
20498
  });
20249
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAccessWhitelistResponse({}));
20499
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20500
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAccessWhitelistResponse({}));
20501
+ }
20502
+ else {
20503
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterAccessWhitelistResponse({}));
20504
+ }
20250
20505
  }
20251
20506
  /**
20252
20507
  * Queries the IP address whitelists and security groups of a PolarDB cluster.
@@ -20300,7 +20555,12 @@ class Client extends openapi_core_1.default {
20300
20555
  reqBodyType: "formData",
20301
20556
  bodyType: "json",
20302
20557
  });
20303
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
20558
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20559
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
20560
+ }
20561
+ else {
20562
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterAttributeResponse({}));
20563
+ }
20304
20564
  }
20305
20565
  /**
20306
20566
  * Queries information about a PolarDB cluster.
@@ -20351,7 +20611,12 @@ class Client extends openapi_core_1.default {
20351
20611
  reqBodyType: "formData",
20352
20612
  bodyType: "json",
20353
20613
  });
20354
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAuditLogCollectorResponse({}));
20614
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20615
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAuditLogCollectorResponse({}));
20616
+ }
20617
+ else {
20618
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterAuditLogCollectorResponse({}));
20619
+ }
20355
20620
  }
20356
20621
  /**
20357
20622
  * Describe SQL collector for a PolarDB cluster. Features related to SQL collector include audit log and SQL Explorer.
@@ -20417,7 +20682,12 @@ class Client extends openapi_core_1.default {
20417
20682
  reqBodyType: "formData",
20418
20683
  bodyType: "json",
20419
20684
  });
20420
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAvailableResourcesResponse({}));
20685
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20686
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterAvailableResourcesResponse({}));
20687
+ }
20688
+ else {
20689
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterAvailableResourcesResponse({}));
20690
+ }
20421
20691
  }
20422
20692
  /**
20423
20693
  * Queries available resources in a PolarDB cluster.
@@ -20477,7 +20747,12 @@ class Client extends openapi_core_1.default {
20477
20747
  reqBodyType: "formData",
20478
20748
  bodyType: "json",
20479
20749
  });
20480
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
20750
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20751
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
20752
+ }
20753
+ else {
20754
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterConnectivityResponse({}));
20755
+ }
20481
20756
  }
20482
20757
  /**
20483
20758
  * Queries whether the source IP address can access a cluster.
@@ -20534,7 +20809,12 @@ class Client extends openapi_core_1.default {
20534
20809
  reqBodyType: "formData",
20535
20810
  bodyType: "json",
20536
20811
  });
20537
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterEndpointsResponse({}));
20812
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20813
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterEndpointsResponse({}));
20814
+ }
20815
+ else {
20816
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterEndpointsResponse({}));
20817
+ }
20538
20818
  }
20539
20819
  /**
20540
20820
  * Queries the endpoints of a PolarDB cluster.
@@ -20588,7 +20868,12 @@ class Client extends openapi_core_1.default {
20588
20868
  reqBodyType: "formData",
20589
20869
  bodyType: "json",
20590
20870
  });
20591
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
20871
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20872
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
20873
+ }
20874
+ else {
20875
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterMigrationResponse({}));
20876
+ }
20592
20877
  }
20593
20878
  /**
20594
20879
  * The ID of the synchronous task.
@@ -20642,7 +20927,12 @@ class Client extends openapi_core_1.default {
20642
20927
  reqBodyType: "formData",
20643
20928
  bodyType: "json",
20644
20929
  });
20645
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMonitorResponse({}));
20930
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20931
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterMonitorResponse({}));
20932
+ }
20933
+ else {
20934
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterMonitorResponse({}));
20935
+ }
20646
20936
  }
20647
20937
  /**
20648
20938
  * Queries the interval at which the monitoring data of a PolarDB cluster is collected.
@@ -20696,7 +20986,12 @@ class Client extends openapi_core_1.default {
20696
20986
  reqBodyType: "formData",
20697
20987
  bodyType: "json",
20698
20988
  });
20699
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterParametersResponse({}));
20989
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
20990
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterParametersResponse({}));
20991
+ }
20992
+ else {
20993
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterParametersResponse({}));
20994
+ }
20700
20995
  }
20701
20996
  /**
20702
20997
  * Queries the parameters of a PolarDB cluster.
@@ -20764,7 +21059,12 @@ class Client extends openapi_core_1.default {
20764
21059
  reqBodyType: "formData",
20765
21060
  bodyType: "json",
20766
21061
  });
20767
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
21062
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21063
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
21064
+ }
21065
+ else {
21066
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterPerformanceResponse({}));
21067
+ }
20768
21068
  }
20769
21069
  /**
20770
21070
  * Queries the performance data of a PolarDB cluster.
@@ -20829,7 +21129,12 @@ class Client extends openapi_core_1.default {
20829
21129
  reqBodyType: "formData",
20830
21130
  bodyType: "json",
20831
21131
  });
20832
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterSSLResponse({}));
21132
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21133
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterSSLResponse({}));
21134
+ }
21135
+ else {
21136
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterSSLResponse({}));
21137
+ }
20833
21138
  }
20834
21139
  /**
20835
21140
  * Queries the Secure Sockets Layer (SSL) settings of a PolarDB cluster.
@@ -20880,7 +21185,12 @@ class Client extends openapi_core_1.default {
20880
21185
  reqBodyType: "formData",
20881
21186
  bodyType: "json",
20882
21187
  });
20883
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterServerlessConfResponse({}));
21188
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21189
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterServerlessConfResponse({}));
21190
+ }
21191
+ else {
21192
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterServerlessConfResponse({}));
21193
+ }
20884
21194
  }
20885
21195
  /**
20886
21196
  * Queries the serverless configurations of a serverless cluster.
@@ -20931,7 +21241,12 @@ class Client extends openapi_core_1.default {
20931
21241
  reqBodyType: "formData",
20932
21242
  bodyType: "json",
20933
21243
  });
20934
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterTDEResponse({}));
21244
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21245
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterTDEResponse({}));
21246
+ }
21247
+ else {
21248
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterTDEResponse({}));
21249
+ }
20935
21250
  }
20936
21251
  /**
20937
21252
  * Queries the transparent data encryption (TDE) settings of a PolarDB cluster.
@@ -20985,7 +21300,12 @@ class Client extends openapi_core_1.default {
20985
21300
  reqBodyType: "formData",
20986
21301
  bodyType: "json",
20987
21302
  });
20988
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterVersionResponse({}));
21303
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21304
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClusterVersionResponse({}));
21305
+ }
21306
+ else {
21307
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClusterVersionResponse({}));
21308
+ }
20989
21309
  }
20990
21310
  /**
20991
21311
  * Queries the information about the database engine version of a PolarDB for MySQL cluster.
@@ -21084,7 +21404,12 @@ class Client extends openapi_core_1.default {
21084
21404
  reqBodyType: "formData",
21085
21405
  bodyType: "json",
21086
21406
  });
21087
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClustersResponse({}));
21407
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21408
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClustersResponse({}));
21409
+ }
21410
+ else {
21411
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClustersResponse({}));
21412
+ }
21088
21413
  }
21089
21414
  /**
21090
21415
  * Queries PolarDB clusters or the clusters that can be accessed by an authorized RAM user.
@@ -21159,7 +21484,12 @@ class Client extends openapi_core_1.default {
21159
21484
  reqBodyType: "formData",
21160
21485
  bodyType: "json",
21161
21486
  });
21162
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClustersWithBackupsResponse({}));
21487
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21488
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBClustersWithBackupsResponse({}));
21489
+ }
21490
+ else {
21491
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBClustersWithBackupsResponse({}));
21492
+ }
21163
21493
  }
21164
21494
  /**
21165
21495
  * Queries the information about PolarDB clusters that contain backup sets in a region.
@@ -21210,7 +21540,12 @@ class Client extends openapi_core_1.default {
21210
21540
  reqBodyType: "formData",
21211
21541
  bodyType: "json",
21212
21542
  });
21213
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBInitializeVariableResponse({}));
21543
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21544
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBInitializeVariableResponse({}));
21545
+ }
21546
+ else {
21547
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBInitializeVariableResponse({}));
21548
+ }
21214
21549
  }
21215
21550
  /**
21216
21551
  * Queries attributes such as character sets and collations supported by a database in a PolarDB cluster.
@@ -21267,7 +21602,12 @@ class Client extends openapi_core_1.default {
21267
21602
  reqBodyType: "formData",
21268
21603
  bodyType: "json",
21269
21604
  });
21270
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBLinksResponse({}));
21605
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21606
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBLinksResponse({}));
21607
+ }
21608
+ else {
21609
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBLinksResponse({}));
21610
+ }
21271
21611
  }
21272
21612
  /**
21273
21613
  * Queries the database links of a PolarDB for PostgreSQL (Compatible with Oracle) cluster.
@@ -21341,7 +21681,12 @@ class Client extends openapi_core_1.default {
21341
21681
  reqBodyType: "formData",
21342
21682
  bodyType: "json",
21343
21683
  });
21344
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
21684
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21685
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
21686
+ }
21687
+ else {
21688
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBNodePerformanceResponse({}));
21689
+ }
21345
21690
  }
21346
21691
  /**
21347
21692
  * Queries the performance data of a node in a PolarDB cluster.
@@ -21409,7 +21754,12 @@ class Client extends openapi_core_1.default {
21409
21754
  reqBodyType: "formData",
21410
21755
  bodyType: "json",
21411
21756
  });
21412
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBNodesParametersResponse({}));
21757
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21758
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBNodesParametersResponse({}));
21759
+ }
21760
+ else {
21761
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBNodesParametersResponse({}));
21762
+ }
21413
21763
  }
21414
21764
  /**
21415
21765
  * Queries the parameters of a specified node in a cluster.
@@ -21472,7 +21822,12 @@ class Client extends openapi_core_1.default {
21472
21822
  reqBodyType: "formData",
21473
21823
  bodyType: "json",
21474
21824
  });
21475
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
21825
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21826
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
21827
+ }
21828
+ else {
21829
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDBProxyPerformanceResponse({}));
21830
+ }
21476
21831
  }
21477
21832
  /**
21478
21833
  * Queries the performance data of PolarProxy.
@@ -21526,7 +21881,12 @@ class Client extends openapi_core_1.default {
21526
21881
  reqBodyType: "formData",
21527
21882
  bodyType: "json",
21528
21883
  });
21529
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDasConfigResponse({}));
21884
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21885
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDasConfigResponse({}));
21886
+ }
21887
+ else {
21888
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDasConfigResponse({}));
21889
+ }
21530
21890
  }
21531
21891
  /**
21532
21892
  * Queries the configurations of a cluster in Database Autonomy Service (DAS).
@@ -21586,7 +21946,12 @@ class Client extends openapi_core_1.default {
21586
21946
  reqBodyType: "formData",
21587
21947
  bodyType: "json",
21588
21948
  });
21589
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDatabasesResponse({}));
21949
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
21950
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDatabasesResponse({}));
21951
+ }
21952
+ else {
21953
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDatabasesResponse({}));
21954
+ }
21590
21955
  }
21591
21956
  /**
21592
21957
  * Queries the information about databases in a PolarDB cluster.
@@ -21603,7 +21968,7 @@ class Client extends openapi_core_1.default {
21603
21968
  *
21604
21969
  * @remarks
21605
21970
  * Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
21606
- * > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
21971
+ * > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
21607
21972
  *
21608
21973
  * @param request - DescribeDetachedBackupsRequest
21609
21974
  * @param runtime - runtime options for this request RuntimeOptions
@@ -21665,14 +22030,19 @@ class Client extends openapi_core_1.default {
21665
22030
  reqBodyType: "formData",
21666
22031
  bodyType: "json",
21667
22032
  });
21668
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
22033
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22034
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeDetachedBackupsResponse({}));
22035
+ }
22036
+ else {
22037
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeDetachedBackupsResponse({}));
22038
+ }
21669
22039
  }
21670
22040
  /**
21671
22041
  * Queries the information about the backup sets in a released PolarDB cluster.
21672
22042
  *
21673
22043
  * @remarks
21674
22044
  * Before you call this operation, make sure that the PolarDB cluster is in the **Released** state. You must also confirm that the **Retain All Backups Permanently** or **Retain Last Automatic Backup Permanently** backup retention policy takes effect after you release the cluster. If you delete all backup sets after the cluster is released, you cannot use this API operation to query the cluster.
21675
- * > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
22045
+ * > You can call the [DescribeDBClusterAttribute](https://help.aliyun.com/document_detail/98181.html) operation to query the cluster status.
21676
22046
  *
21677
22047
  * @param request - DescribeDetachedBackupsRequest
21678
22048
  * @returns DescribeDetachedBackupsResponse
@@ -21726,7 +22096,12 @@ class Client extends openapi_core_1.default {
21726
22096
  reqBodyType: "formData",
21727
22097
  bodyType: "json",
21728
22098
  });
21729
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworkResponse({}));
22099
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22100
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworkResponse({}));
22101
+ }
22102
+ else {
22103
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalDatabaseNetworkResponse({}));
22104
+ }
21730
22105
  }
21731
22106
  /**
21732
22107
  * Queries the information about a Global Database Network (GDN).
@@ -21798,7 +22173,12 @@ class Client extends openapi_core_1.default {
21798
22173
  reqBodyType: "formData",
21799
22174
  bodyType: "json",
21800
22175
  });
21801
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworksResponse({}));
22176
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22177
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalDatabaseNetworksResponse({}));
22178
+ }
22179
+ else {
22180
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalDatabaseNetworksResponse({}));
22181
+ }
21802
22182
  }
21803
22183
  /**
21804
22184
  * Queries the information about all Global Database Networks (GDNs) that belong to an account.
@@ -21858,7 +22238,12 @@ class Client extends openapi_core_1.default {
21858
22238
  reqBodyType: "formData",
21859
22239
  bodyType: "json",
21860
22240
  });
21861
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupResponse({}));
22241
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22242
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupResponse({}));
22243
+ }
22244
+ else {
22245
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalSecurityIPGroupResponse({}));
22246
+ }
21862
22247
  }
21863
22248
  /**
21864
22249
  * Queries global IP whitelist templates.
@@ -21918,7 +22303,12 @@ class Client extends openapi_core_1.default {
21918
22303
  reqBodyType: "formData",
21919
22304
  bodyType: "json",
21920
22305
  });
21921
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupRelationResponse({}));
22306
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22307
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeGlobalSecurityIPGroupRelationResponse({}));
22308
+ }
22309
+ else {
22310
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeGlobalSecurityIPGroupRelationResponse({}));
22311
+ }
21922
22312
  }
21923
22313
  /**
21924
22314
  * Queries the relationship between a cluster and a global IP whitelist template.
@@ -21969,7 +22359,12 @@ class Client extends openapi_core_1.default {
21969
22359
  reqBodyType: "formData",
21970
22360
  bodyType: "json",
21971
22361
  });
21972
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeLicenseOrderDetailsResponse({}));
22362
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22363
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeLicenseOrderDetailsResponse({}));
22364
+ }
22365
+ else {
22366
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeLicenseOrderDetailsResponse({}));
22367
+ }
21973
22368
  }
21974
22369
  /**
21975
22370
  * Queries the information of a license order.
@@ -22035,7 +22430,12 @@ class Client extends openapi_core_1.default {
22035
22430
  reqBodyType: "formData",
22036
22431
  bodyType: "json",
22037
22432
  });
22038
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeLicenseOrdersResponse({}));
22433
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22434
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeLicenseOrdersResponse({}));
22435
+ }
22436
+ else {
22437
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeLicenseOrdersResponse({}));
22438
+ }
22039
22439
  }
22040
22440
  /**
22041
22441
  * Queries a list of license orders.
@@ -22086,7 +22486,12 @@ class Client extends openapi_core_1.default {
22086
22486
  reqBodyType: "formData",
22087
22487
  bodyType: "json",
22088
22488
  });
22089
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeLogBackupPolicyResponse({}));
22489
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22490
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeLogBackupPolicyResponse({}));
22491
+ }
22492
+ else {
22493
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeLogBackupPolicyResponse({}));
22494
+ }
22090
22495
  }
22091
22496
  /**
22092
22497
  * Queries the retention policy of log backups in a PolarDB cluster.
@@ -22128,7 +22533,12 @@ class Client extends openapi_core_1.default {
22128
22533
  reqBodyType: "formData",
22129
22534
  bodyType: "json",
22130
22535
  });
22131
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeMaskingRulesResponse({}));
22536
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22537
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeMaskingRulesResponse({}));
22538
+ }
22539
+ else {
22540
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeMaskingRulesResponse({}));
22541
+ }
22132
22542
  }
22133
22543
  /**
22134
22544
  * Queries the data masking rules of a PolarDB cluster or the information about a specified masking rule.
@@ -22200,7 +22610,12 @@ class Client extends openapi_core_1.default {
22200
22610
  reqBodyType: "formData",
22201
22611
  bodyType: "json",
22202
22612
  });
22203
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeMetaListResponse({}));
22613
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22614
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeMetaListResponse({}));
22615
+ }
22616
+ else {
22617
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeMetaListResponse({}));
22618
+ }
22204
22619
  }
22205
22620
  /**
22206
22621
  * Queries the details of the databases or tables that can be restored.
@@ -22261,7 +22676,12 @@ class Client extends openapi_core_1.default {
22261
22676
  reqBodyType: "formData",
22262
22677
  bodyType: "json",
22263
22678
  });
22264
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupResponse({}));
22679
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22680
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupResponse({}));
22681
+ }
22682
+ else {
22683
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeParameterGroupResponse({}));
22684
+ }
22265
22685
  }
22266
22686
  /**
22267
22687
  * Queries the information about a parameter template.
@@ -22329,7 +22749,12 @@ class Client extends openapi_core_1.default {
22329
22749
  reqBodyType: "formData",
22330
22750
  bodyType: "json",
22331
22751
  });
22332
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupsResponse({}));
22752
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22753
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeParameterGroupsResponse({}));
22754
+ }
22755
+ else {
22756
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeParameterGroupsResponse({}));
22757
+ }
22333
22758
  }
22334
22759
  /**
22335
22760
  * Queries parameter templates that are available in a specified region.
@@ -22393,7 +22818,12 @@ class Client extends openapi_core_1.default {
22393
22818
  reqBodyType: "formData",
22394
22819
  bodyType: "json",
22395
22820
  });
22396
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeParameterTemplatesResponse({}));
22821
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22822
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeParameterTemplatesResponse({}));
22823
+ }
22824
+ else {
22825
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeParameterTemplatesResponse({}));
22826
+ }
22397
22827
  }
22398
22828
  /**
22399
22829
  * Queries the default parameters in a cluster.
@@ -22462,7 +22892,12 @@ class Client extends openapi_core_1.default {
22462
22892
  reqBodyType: "formData",
22463
22893
  bodyType: "json",
22464
22894
  });
22465
- return $dara.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionResponse({}));
22895
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22896
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionResponse({}));
22897
+ }
22898
+ else {
22899
+ return $dara.cast(await this.execute(params, req, runtime), new DescribePendingMaintenanceActionResponse({}));
22900
+ }
22466
22901
  }
22467
22902
  /**
22468
22903
  * Queries the information about a pending event.
@@ -22475,7 +22910,7 @@ class Client extends openapi_core_1.default {
22475
22910
  return await this.describePendingMaintenanceActionWithOptions(request, runtime);
22476
22911
  }
22477
22912
  /**
22478
- * Queries the numbers of pending events of different task types.
22913
+ * Queries the numbers of scheduled events for different types of tasks.
22479
22914
  *
22480
22915
  * @param request - DescribePendingMaintenanceActionsRequest
22481
22916
  * @param runtime - runtime options for this request RuntimeOptions
@@ -22522,10 +22957,15 @@ class Client extends openapi_core_1.default {
22522
22957
  reqBodyType: "formData",
22523
22958
  bodyType: "json",
22524
22959
  });
22525
- return $dara.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionsResponse({}));
22960
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
22961
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribePendingMaintenanceActionsResponse({}));
22962
+ }
22963
+ else {
22964
+ return $dara.cast(await this.execute(params, req, runtime), new DescribePendingMaintenanceActionsResponse({}));
22965
+ }
22526
22966
  }
22527
22967
  /**
22528
- * Queries the numbers of pending events of different task types.
22968
+ * Queries the numbers of scheduled events for different types of tasks.
22529
22969
  *
22530
22970
  * @param request - DescribePendingMaintenanceActionsRequest
22531
22971
  * @returns DescribePendingMaintenanceActionsResponse
@@ -22558,7 +22998,12 @@ class Client extends openapi_core_1.default {
22558
22998
  reqBodyType: "formData",
22559
22999
  bodyType: "json",
22560
23000
  });
22561
- return $dara.cast(await this.callApi(params, req, runtime), new DescribePolarSQLCollectorPolicyResponse({}));
23001
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23002
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribePolarSQLCollectorPolicyResponse({}));
23003
+ }
23004
+ else {
23005
+ return $dara.cast(await this.execute(params, req, runtime), new DescribePolarSQLCollectorPolicyResponse({}));
23006
+ }
22562
23007
  }
22563
23008
  /**
22564
23009
  * Queries whether the SQL Explorer feature is enabled for the cluster.
@@ -22606,7 +23051,12 @@ class Client extends openapi_core_1.default {
22606
23051
  reqBodyType: "formData",
22607
23052
  bodyType: "json",
22608
23053
  });
22609
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
23054
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23055
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
23056
+ }
23057
+ else {
23058
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeRegionsResponse({}));
23059
+ }
22610
23060
  }
22611
23061
  /**
22612
23062
  * Queries the regions and zones available for PolarDB.
@@ -22687,7 +23137,12 @@ class Client extends openapi_core_1.default {
22687
23137
  reqBodyType: "formData",
22688
23138
  bodyType: "json",
22689
23139
  });
22690
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeScheduleTasksResponse({}));
23140
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23141
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeScheduleTasksResponse({}));
23142
+ }
23143
+ else {
23144
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeScheduleTasksResponse({}));
23145
+ }
22691
23146
  }
22692
23147
  /**
22693
23148
  * Queries the details of all scheduled tasks.
@@ -22766,7 +23221,12 @@ class Client extends openapi_core_1.default {
22766
23221
  reqBodyType: "formData",
22767
23222
  bodyType: "json",
22768
23223
  });
22769
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
23224
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23225
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
23226
+ }
23227
+ else {
23228
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeSlowLogRecordsResponse({}));
23229
+ }
22770
23230
  }
22771
23231
  /**
22772
23232
  * Slow Log Details
@@ -22842,7 +23302,12 @@ class Client extends openapi_core_1.default {
22842
23302
  reqBodyType: "formData",
22843
23303
  bodyType: "json",
22844
23304
  });
22845
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
23305
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23306
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeSlowLogsResponse({}));
23307
+ }
23308
+ else {
23309
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeSlowLogsResponse({}));
23310
+ }
22846
23311
  }
22847
23312
  /**
22848
23313
  * Queries the statistics about the slow query logs of a PolarDB cluster.
@@ -22918,7 +23383,12 @@ class Client extends openapi_core_1.default {
22918
23383
  reqBodyType: "formData",
22919
23384
  bodyType: "json",
22920
23385
  });
22921
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
23386
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23387
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeTasksResponse({}));
23388
+ }
23389
+ else {
23390
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeTasksResponse({}));
23391
+ }
22922
23392
  }
22923
23393
  /**
22924
23394
  * Queries the status of the tasks that are generated based on API operations, such as the status of instance creation tasks.
@@ -22979,7 +23449,12 @@ class Client extends openapi_core_1.default {
22979
23449
  reqBodyType: "formData",
22980
23450
  bodyType: "json",
22981
23451
  });
22982
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
23452
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23453
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
23454
+ }
23455
+ else {
23456
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeUserEncryptionKeyListResponse({}));
23457
+ }
22983
23458
  }
22984
23459
  /**
22985
23460
  * Queries the Key Management Service (KMS)-managed customer master keys (CMKs) that are used to encrypt data in a PolarDB cluster.
@@ -23051,7 +23526,12 @@ class Client extends openapi_core_1.default {
23051
23526
  reqBodyType: "formData",
23052
23527
  bodyType: "json",
23053
23528
  });
23054
- return $dara.cast(await this.callApi(params, req, runtime), new DescribeVSwitchesResponse({}));
23529
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23530
+ return $dara.cast(await this.callApi(params, req, runtime), new DescribeVSwitchesResponse({}));
23531
+ }
23532
+ else {
23533
+ return $dara.cast(await this.execute(params, req, runtime), new DescribeVSwitchesResponse({}));
23534
+ }
23055
23535
  }
23056
23536
  /**
23057
23537
  * Queries a vSwitch.
@@ -23102,7 +23582,12 @@ class Client extends openapi_core_1.default {
23102
23582
  reqBodyType: "formData",
23103
23583
  bodyType: "json",
23104
23584
  });
23105
- return $dara.cast(await this.callApi(params, req, runtime), new DisableDBClusterServerlessResponse({}));
23585
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23586
+ return $dara.cast(await this.callApi(params, req, runtime), new DisableDBClusterServerlessResponse({}));
23587
+ }
23588
+ else {
23589
+ return $dara.cast(await this.execute(params, req, runtime), new DisableDBClusterServerlessResponse({}));
23590
+ }
23106
23591
  }
23107
23592
  /**
23108
23593
  * Disables a stable serverless cluster.
@@ -23171,7 +23656,12 @@ class Client extends openapi_core_1.default {
23171
23656
  reqBodyType: "formData",
23172
23657
  bodyType: "json",
23173
23658
  });
23174
- return $dara.cast(await this.callApi(params, req, runtime), new EnableDBClusterServerlessResponse({}));
23659
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23660
+ return $dara.cast(await this.callApi(params, req, runtime), new EnableDBClusterServerlessResponse({}));
23661
+ }
23662
+ else {
23663
+ return $dara.cast(await this.execute(params, req, runtime), new EnableDBClusterServerlessResponse({}));
23664
+ }
23175
23665
  }
23176
23666
  /**
23177
23667
  * Enables a stable serverless cluster.
@@ -23228,7 +23718,12 @@ class Client extends openapi_core_1.default {
23228
23718
  reqBodyType: "formData",
23229
23719
  bodyType: "json",
23230
23720
  });
23231
- return $dara.cast(await this.callApi(params, req, runtime), new EnableFirewallRulesResponse({}));
23721
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23722
+ return $dara.cast(await this.callApi(params, req, runtime), new EnableFirewallRulesResponse({}));
23723
+ }
23724
+ else {
23725
+ return $dara.cast(await this.execute(params, req, runtime), new EnableFirewallRulesResponse({}));
23726
+ }
23232
23727
  }
23233
23728
  /**
23234
23729
  * Modifies the status of SQL firewall rules for a cluster.
@@ -23306,7 +23801,12 @@ class Client extends openapi_core_1.default {
23306
23801
  reqBodyType: "formData",
23307
23802
  bodyType: "json",
23308
23803
  });
23309
- return $dara.cast(await this.callApi(params, req, runtime), new EvaluateRegionResourceResponse({}));
23804
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23805
+ return $dara.cast(await this.callApi(params, req, runtime), new EvaluateRegionResourceResponse({}));
23806
+ }
23807
+ else {
23808
+ return $dara.cast(await this.execute(params, req, runtime), new EvaluateRegionResourceResponse({}));
23809
+ }
23310
23810
  }
23311
23811
  /**
23312
23812
  * Evaluates available resources.
@@ -23369,7 +23869,12 @@ class Client extends openapi_core_1.default {
23369
23869
  reqBodyType: "formData",
23370
23870
  bodyType: "json",
23371
23871
  });
23372
- return $dara.cast(await this.callApi(params, req, runtime), new FailoverDBClusterResponse({}));
23872
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23873
+ return $dara.cast(await this.callApi(params, req, runtime), new FailoverDBClusterResponse({}));
23874
+ }
23875
+ else {
23876
+ return $dara.cast(await this.execute(params, req, runtime), new FailoverDBClusterResponse({}));
23877
+ }
23373
23878
  }
23374
23879
  /**
23375
23880
  * Performs a manual failover to promote a read-only node to the primary node in a PolarDB cluster.
@@ -23436,7 +23941,12 @@ class Client extends openapi_core_1.default {
23436
23941
  reqBodyType: "formData",
23437
23942
  bodyType: "json",
23438
23943
  });
23439
- return $dara.cast(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
23944
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
23945
+ return $dara.cast(await this.callApi(params, req, runtime), new GrantAccountPrivilegeResponse({}));
23946
+ }
23947
+ else {
23948
+ return $dara.cast(await this.execute(params, req, runtime), new GrantAccountPrivilegeResponse({}));
23949
+ }
23440
23950
  }
23441
23951
  /**
23442
23952
  * Grants a standard account the permissions to access one or more databases in a specified PolarDB cluster.
@@ -23506,7 +24016,12 @@ class Client extends openapi_core_1.default {
23506
24016
  reqBodyType: "formData",
23507
24017
  bodyType: "json",
23508
24018
  });
23509
- return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
24019
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24020
+ return $dara.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
24021
+ }
24022
+ else {
24023
+ return $dara.cast(await this.execute(params, req, runtime), new ListTagResourcesResponse({}));
24024
+ }
23510
24025
  }
23511
24026
  /**
23512
24027
  * Queries the tags that are added to one or more PolarDB clusters, or the PolarDB clusters to which one or more tags are added.
@@ -23560,7 +24075,12 @@ class Client extends openapi_core_1.default {
23560
24075
  reqBodyType: "formData",
23561
24076
  bodyType: "json",
23562
24077
  });
23563
- return $dara.cast(await this.callApi(params, req, runtime), new ManuallyStartDBClusterResponse({}));
24078
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24079
+ return $dara.cast(await this.callApi(params, req, runtime), new ManuallyStartDBClusterResponse({}));
24080
+ }
24081
+ else {
24082
+ return $dara.cast(await this.execute(params, req, runtime), new ManuallyStartDBClusterResponse({}));
24083
+ }
23564
24084
  }
23565
24085
  /**
23566
24086
  * Manually starts a cluster.
@@ -23617,7 +24137,12 @@ class Client extends openapi_core_1.default {
23617
24137
  reqBodyType: "formData",
23618
24138
  bodyType: "json",
23619
24139
  });
23620
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyAccountDescriptionResponse({}));
24140
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24141
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyAccountDescriptionResponse({}));
24142
+ }
24143
+ else {
24144
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyAccountDescriptionResponse({}));
24145
+ }
23621
24146
  }
23622
24147
  /**
23623
24148
  * Modifies the description of a database account of a PolarDB cluster.
@@ -23677,7 +24202,12 @@ class Client extends openapi_core_1.default {
23677
24202
  reqBodyType: "formData",
23678
24203
  bodyType: "json",
23679
24204
  });
23680
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyAccountPasswordResponse({}));
24205
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24206
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyAccountPasswordResponse({}));
24207
+ }
24208
+ else {
24209
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyAccountPasswordResponse({}));
24210
+ }
23681
24211
  }
23682
24212
  /**
23683
24213
  * Changes the password of a database account for a specified PolarDB cluster.
@@ -23740,7 +24270,12 @@ class Client extends openapi_core_1.default {
23740
24270
  reqBodyType: "formData",
23741
24271
  bodyType: "json",
23742
24272
  });
23743
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyActiveOperationTasksResponse({}));
24273
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24274
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyActiveOperationTasksResponse({}));
24275
+ }
24276
+ else {
24277
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyActiveOperationTasksResponse({}));
24278
+ }
23744
24279
  }
23745
24280
  /**
23746
24281
  * Modifies the switching time of scheduled O\\&M events for an instance.
@@ -23806,7 +24341,12 @@ class Client extends openapi_core_1.default {
23806
24341
  reqBodyType: "formData",
23807
24342
  bodyType: "json",
23808
24343
  });
23809
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyAutoRenewAttributeResponse({}));
24344
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24345
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyAutoRenewAttributeResponse({}));
24346
+ }
24347
+ else {
24348
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyAutoRenewAttributeResponse({}));
24349
+ }
23810
24350
  }
23811
24351
  /**
23812
24352
  * Modifies the auto-renewal attributes of a subscription PolarDB cluster.
@@ -23896,7 +24436,12 @@ class Client extends openapi_core_1.default {
23896
24436
  reqBodyType: "formData",
23897
24437
  bodyType: "json",
23898
24438
  });
23899
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
24439
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24440
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyBackupPolicyResponse({}));
24441
+ }
24442
+ else {
24443
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyBackupPolicyResponse({}));
24444
+ }
23900
24445
  }
23901
24446
  /**
23902
24447
  * Modifies the automatic backup policy of a PolarDB cluster.
@@ -23983,7 +24528,12 @@ class Client extends openapi_core_1.default {
23983
24528
  reqBodyType: "formData",
23984
24529
  bodyType: "json",
23985
24530
  });
23986
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
24531
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24532
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResponse({}));
24533
+ }
24534
+ else {
24535
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterResponse({}));
24536
+ }
23987
24537
  }
23988
24538
  /**
23989
24539
  * Modifies the configurations of a PolarDB for MySQL cluster.
@@ -24052,7 +24602,12 @@ class Client extends openapi_core_1.default {
24052
24602
  reqBodyType: "formData",
24053
24603
  bodyType: "json",
24054
24604
  });
24055
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAccessWhitelistResponse({}));
24605
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24606
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAccessWhitelistResponse({}));
24607
+ }
24608
+ else {
24609
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterAccessWhitelistResponse({}));
24610
+ }
24056
24611
  }
24057
24612
  /**
24058
24613
  * Creates or modifies the whitelists (IP whitelists and security groups) of a specified cluster.
@@ -24124,7 +24679,12 @@ class Client extends openapi_core_1.default {
24124
24679
  reqBodyType: "formData",
24125
24680
  bodyType: "json",
24126
24681
  });
24127
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAndNodesParametersResponse({}));
24682
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24683
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAndNodesParametersResponse({}));
24684
+ }
24685
+ else {
24686
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterAndNodesParametersResponse({}));
24687
+ }
24128
24688
  }
24129
24689
  /**
24130
24690
  * Modifies cluster parameters and applies them to specified nodes.
@@ -24178,7 +24738,12 @@ class Client extends openapi_core_1.default {
24178
24738
  reqBodyType: "formData",
24179
24739
  bodyType: "json",
24180
24740
  });
24181
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAuditLogCollectorResponse({}));
24741
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24742
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterAuditLogCollectorResponse({}));
24743
+ }
24744
+ else {
24745
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterAuditLogCollectorResponse({}));
24746
+ }
24182
24747
  }
24183
24748
  /**
24184
24749
  * Enables or disables SQL collector for a PolarDB cluster. The features related to SQL collector include Audit Logs and SQL Explorer.
@@ -24232,7 +24797,12 @@ class Client extends openapi_core_1.default {
24232
24797
  reqBodyType: "formData",
24233
24798
  bodyType: "json",
24234
24799
  });
24235
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDeletionResponse({}));
24800
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24801
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDeletionResponse({}));
24802
+ }
24803
+ else {
24804
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterDeletionResponse({}));
24805
+ }
24236
24806
  }
24237
24807
  /**
24238
24808
  * Enables or disables the cluster lock feature for a PolarDB cluster.
@@ -24286,7 +24856,12 @@ class Client extends openapi_core_1.default {
24286
24856
  reqBodyType: "formData",
24287
24857
  bodyType: "json",
24288
24858
  });
24289
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
24859
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24860
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
24861
+ }
24862
+ else {
24863
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterDescriptionResponse({}));
24864
+ }
24290
24865
  }
24291
24866
  /**
24292
24867
  * Modifies the name of a PolarDB cluster.
@@ -24364,7 +24939,12 @@ class Client extends openapi_core_1.default {
24364
24939
  reqBodyType: "formData",
24365
24940
  bodyType: "json",
24366
24941
  });
24367
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterEndpointResponse({}));
24942
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
24943
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterEndpointResponse({}));
24944
+ }
24945
+ else {
24946
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterEndpointResponse({}));
24947
+ }
24368
24948
  }
24369
24949
  /**
24370
24950
  * Modifies the attributes of a specified PolarDB cluster endpoint. For example, you can modify the following attributes for the specified cluster endpoint: read/write mode, consistency level, transaction splitting, primary node accepts read requests, and connection pool. You can also call the operation to specify whether newly added nodes are automatically associated with the specified cluster endpoint.
@@ -24421,7 +25001,12 @@ class Client extends openapi_core_1.default {
24421
25001
  reqBodyType: "formData",
24422
25002
  bodyType: "json",
24423
25003
  });
24424
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
25004
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25005
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
25006
+ }
25007
+ else {
25008
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
25009
+ }
24425
25010
  }
24426
25011
  /**
24427
25012
  * Modifies the maintenance window of a PolarDB cluster.
@@ -24495,7 +25080,12 @@ class Client extends openapi_core_1.default {
24495
25080
  reqBodyType: "formData",
24496
25081
  bodyType: "json",
24497
25082
  });
24498
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
25083
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25084
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
25085
+ }
25086
+ else {
25087
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterMigrationResponse({}));
25088
+ }
24499
25089
  }
24500
25090
  /**
24501
25091
  * Switches or rolls back the task that migrates data from ApsaraDB for RDS to PolarDB.
@@ -24567,7 +25157,12 @@ class Client extends openapi_core_1.default {
24567
25157
  reqBodyType: "formData",
24568
25158
  bodyType: "json",
24569
25159
  });
24570
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
25160
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25161
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
25162
+ }
25163
+ else {
25164
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterMonitorResponse({}));
25165
+ }
24571
25166
  }
24572
25167
  /**
24573
25168
  * Modifies the interval at which the monitoring data of a PolarDB cluster is collected.
@@ -24651,7 +25246,12 @@ class Client extends openapi_core_1.default {
24651
25246
  reqBodyType: "formData",
24652
25247
  bodyType: "json",
24653
25248
  });
24654
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterParametersResponse({}));
25249
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25250
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterParametersResponse({}));
25251
+ }
25252
+ else {
25253
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterParametersResponse({}));
25254
+ }
24655
25255
  }
24656
25256
  /**
24657
25257
  * Modifies the parameters of a specified PolarDB cluster or applies existing parameter templates to a specified cluster.
@@ -24731,7 +25331,12 @@ class Client extends openapi_core_1.default {
24731
25331
  reqBodyType: "formData",
24732
25332
  bodyType: "json",
24733
25333
  });
24734
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
25334
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25335
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
25336
+ }
25337
+ else {
25338
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterPrimaryZoneResponse({}));
25339
+ }
24735
25340
  }
24736
25341
  /**
24737
25342
  * Changes the primary zone of a PolarDB cluster.
@@ -24788,7 +25393,12 @@ class Client extends openapi_core_1.default {
24788
25393
  reqBodyType: "formData",
24789
25394
  bodyType: "json",
24790
25395
  });
24791
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResourceGroupResponse({}));
25396
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25397
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterResourceGroupResponse({}));
25398
+ }
25399
+ else {
25400
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterResourceGroupResponse({}));
25401
+ }
24792
25402
  }
24793
25403
  /**
24794
25404
  * Modifies the configurations of a resource group for a database cluster.
@@ -24851,7 +25461,12 @@ class Client extends openapi_core_1.default {
24851
25461
  reqBodyType: "formData",
24852
25462
  bodyType: "json",
24853
25463
  });
24854
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterSSLResponse({}));
25464
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25465
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterSSLResponse({}));
25466
+ }
25467
+ else {
25468
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterSSLResponse({}));
25469
+ }
24855
25470
  }
24856
25471
  /**
24857
25472
  * Enables or disables the SSL encryption feature for a PolarDB cluster, or updates the CA certificate of the cluster.
@@ -24950,7 +25565,12 @@ class Client extends openapi_core_1.default {
24950
25565
  reqBodyType: "formData",
24951
25566
  bodyType: "json",
24952
25567
  });
24953
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterServerlessConfResponse({}));
25568
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25569
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterServerlessConfResponse({}));
25570
+ }
25571
+ else {
25572
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterServerlessConfResponse({}));
25573
+ }
24954
25574
  }
24955
25575
  /**
24956
25576
  * Modifies the configurations of a serverless cluster.
@@ -25007,7 +25627,12 @@ class Client extends openapi_core_1.default {
25007
25627
  reqBodyType: "formData",
25008
25628
  bodyType: "json",
25009
25629
  });
25010
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStoragePerformanceResponse({}));
25630
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25631
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStoragePerformanceResponse({}));
25632
+ }
25633
+ else {
25634
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterStoragePerformanceResponse({}));
25635
+ }
25011
25636
  }
25012
25637
  /**
25013
25638
  * 修改存储性能
@@ -25073,7 +25698,12 @@ class Client extends openapi_core_1.default {
25073
25698
  reqBodyType: "formData",
25074
25699
  bodyType: "json",
25075
25700
  });
25076
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
25701
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25702
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
25703
+ }
25704
+ else {
25705
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterStorageSpaceResponse({}));
25706
+ }
25077
25707
  }
25078
25708
  /**
25079
25709
  * Changes the storage capacity of a pay-as-you-go cluster of Enterprise Edition or a cluster of Standard Edition.
@@ -25143,7 +25773,12 @@ class Client extends openapi_core_1.default {
25143
25773
  reqBodyType: "formData",
25144
25774
  bodyType: "json",
25145
25775
  });
25146
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterTDEResponse({}));
25776
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25777
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBClusterTDEResponse({}));
25778
+ }
25779
+ else {
25780
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBClusterTDEResponse({}));
25781
+ }
25147
25782
  }
25148
25783
  /**
25149
25784
  * Enables the transparent data encryption (TDE) feature for a PolarDB cluster.
@@ -25204,7 +25839,12 @@ class Client extends openapi_core_1.default {
25204
25839
  reqBodyType: "formData",
25205
25840
  bodyType: "json",
25206
25841
  });
25207
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBDescriptionResponse({}));
25842
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25843
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBDescriptionResponse({}));
25844
+ }
25845
+ else {
25846
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBDescriptionResponse({}));
25847
+ }
25208
25848
  }
25209
25849
  /**
25210
25850
  * Modifies the description of a database in a PolarDB for MySQL cluster.
@@ -25273,7 +25913,12 @@ class Client extends openapi_core_1.default {
25273
25913
  reqBodyType: "formData",
25274
25914
  bodyType: "json",
25275
25915
  });
25276
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBEndpointAddressResponse({}));
25916
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25917
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBEndpointAddressResponse({}));
25918
+ }
25919
+ else {
25920
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBEndpointAddressResponse({}));
25921
+ }
25277
25922
  }
25278
25923
  /**
25279
25924
  * Modifies the endpoints of a PolarDB cluster, including the primary endpoint, default cluster endpoint, custom cluster endpoint, and private domain name.
@@ -25348,7 +25993,12 @@ class Client extends openapi_core_1.default {
25348
25993
  reqBodyType: "formData",
25349
25994
  bodyType: "json",
25350
25995
  });
25351
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodeClassResponse({}));
25996
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
25997
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodeClassResponse({}));
25998
+ }
25999
+ else {
26000
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBNodeClassResponse({}));
26001
+ }
25352
26002
  }
25353
26003
  /**
25354
26004
  * Changes the node specifications of a PolarDB cluster.
@@ -25405,7 +26055,12 @@ class Client extends openapi_core_1.default {
25405
26055
  reqBodyType: "formData",
25406
26056
  bodyType: "json",
25407
26057
  });
25408
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
26058
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26059
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
26060
+ }
26061
+ else {
26062
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBNodeHotReplicaModeResponse({}));
26063
+ }
25409
26064
  }
25410
26065
  /**
25411
26066
  * Enables or disables the failover with hot replica feature for a node in a cluster.
@@ -25477,7 +26132,12 @@ class Client extends openapi_core_1.default {
25477
26132
  reqBodyType: "formData",
25478
26133
  bodyType: "json",
25479
26134
  });
25480
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodesClassResponse({}));
26135
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26136
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodesClassResponse({}));
26137
+ }
26138
+ else {
26139
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBNodesClassResponse({}));
26140
+ }
25481
26141
  }
25482
26142
  /**
25483
26143
  * Changes the specifications of a node in a PolarDB cluster.
@@ -25546,7 +26206,12 @@ class Client extends openapi_core_1.default {
25546
26206
  reqBodyType: "formData",
25547
26207
  bodyType: "json",
25548
26208
  });
25549
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodesParametersResponse({}));
26209
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26210
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyDBNodesParametersResponse({}));
26211
+ }
26212
+ else {
26213
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyDBNodesParametersResponse({}));
26214
+ }
25550
26215
  }
25551
26216
  /**
25552
26217
  * Modifies the parameters of a node and applies them to specified nodes.
@@ -25609,7 +26274,12 @@ class Client extends openapi_core_1.default {
25609
26274
  reqBodyType: "formData",
25610
26275
  bodyType: "json",
25611
26276
  });
25612
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalDatabaseNetworkResponse({}));
26277
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26278
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalDatabaseNetworkResponse({}));
26279
+ }
26280
+ else {
26281
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyGlobalDatabaseNetworkResponse({}));
26282
+ }
25613
26283
  }
25614
26284
  /**
25615
26285
  * Modifies a global database network (GDN).
@@ -25675,7 +26345,12 @@ class Client extends openapi_core_1.default {
25675
26345
  reqBodyType: "formData",
25676
26346
  bodyType: "json",
25677
26347
  });
25678
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupResponse({}));
26348
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26349
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupResponse({}));
26350
+ }
26351
+ else {
26352
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyGlobalSecurityIPGroupResponse({}));
26353
+ }
25679
26354
  }
25680
26355
  /**
25681
26356
  * Modifies an IP whitelist template.
@@ -25738,7 +26413,12 @@ class Client extends openapi_core_1.default {
25738
26413
  reqBodyType: "formData",
25739
26414
  bodyType: "json",
25740
26415
  });
25741
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupNameResponse({}));
26416
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26417
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupNameResponse({}));
26418
+ }
26419
+ else {
26420
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyGlobalSecurityIPGroupNameResponse({}));
26421
+ }
25742
26422
  }
25743
26423
  /**
25744
26424
  * Modifies the name of a global IP whitelist template.
@@ -25801,7 +26481,12 @@ class Client extends openapi_core_1.default {
25801
26481
  reqBodyType: "formData",
25802
26482
  bodyType: "json",
25803
26483
  });
25804
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupRelationResponse({}));
26484
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26485
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyGlobalSecurityIPGroupRelationResponse({}));
26486
+ }
26487
+ else {
26488
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyGlobalSecurityIPGroupRelationResponse({}));
26489
+ }
25805
26490
  }
25806
26491
  /**
25807
26492
  * Modifies the relationship between a cluster and a global IP whitelist template.
@@ -25861,7 +26546,12 @@ class Client extends openapi_core_1.default {
25861
26546
  reqBodyType: "formData",
25862
26547
  bodyType: "json",
25863
26548
  });
25864
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyLogBackupPolicyResponse({}));
26549
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26550
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyLogBackupPolicyResponse({}));
26551
+ }
26552
+ else {
26553
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyLogBackupPolicyResponse({}));
26554
+ }
25865
26555
  }
25866
26556
  /**
25867
26557
  * Modifies the retention policy of the log backups in a PolarDB cluster.
@@ -25915,7 +26605,12 @@ class Client extends openapi_core_1.default {
25915
26605
  reqBodyType: "formData",
25916
26606
  bodyType: "json",
25917
26607
  });
25918
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyMaskingRulesResponse({}));
26608
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26609
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyMaskingRulesResponse({}));
26610
+ }
26611
+ else {
26612
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyMaskingRulesResponse({}));
26613
+ }
25919
26614
  }
25920
26615
  /**
25921
26616
  * Modifies or adds a data masking rule.
@@ -25978,7 +26673,12 @@ class Client extends openapi_core_1.default {
25978
26673
  reqBodyType: "formData",
25979
26674
  bodyType: "json",
25980
26675
  });
25981
- return $dara.cast(await this.callApi(params, req, runtime), new ModifyPendingMaintenanceActionResponse({}));
26676
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26677
+ return $dara.cast(await this.callApi(params, req, runtime), new ModifyPendingMaintenanceActionResponse({}));
26678
+ }
26679
+ else {
26680
+ return $dara.cast(await this.execute(params, req, runtime), new ModifyPendingMaintenanceActionResponse({}));
26681
+ }
25982
26682
  }
25983
26683
  /**
25984
26684
  * Modifies the switching time of a pending event.
@@ -26044,7 +26744,12 @@ class Client extends openapi_core_1.default {
26044
26744
  reqBodyType: "formData",
26045
26745
  bodyType: "json",
26046
26746
  });
26047
- return $dara.cast(await this.callApi(params, req, runtime), new OpenAITaskResponse({}));
26747
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26748
+ return $dara.cast(await this.callApi(params, req, runtime), new OpenAITaskResponse({}));
26749
+ }
26750
+ else {
26751
+ return $dara.cast(await this.execute(params, req, runtime), new OpenAITaskResponse({}));
26752
+ }
26048
26753
  }
26049
26754
  /**
26050
26755
  * Enables the PolarDB for AI feature for a cluster.
@@ -26095,7 +26800,12 @@ class Client extends openapi_core_1.default {
26095
26800
  reqBodyType: "formData",
26096
26801
  bodyType: "json",
26097
26802
  });
26098
- return $dara.cast(await this.callApi(params, req, runtime), new RefreshDBClusterStorageUsageResponse({}));
26803
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26804
+ return $dara.cast(await this.callApi(params, req, runtime), new RefreshDBClusterStorageUsageResponse({}));
26805
+ }
26806
+ else {
26807
+ return $dara.cast(await this.execute(params, req, runtime), new RefreshDBClusterStorageUsageResponse({}));
26808
+ }
26099
26809
  }
26100
26810
  /**
26101
26811
  * Updates the storage usage of a cluster.
@@ -26155,7 +26865,12 @@ class Client extends openapi_core_1.default {
26155
26865
  reqBodyType: "formData",
26156
26866
  bodyType: "json",
26157
26867
  });
26158
- return $dara.cast(await this.callApi(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
26868
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26869
+ return $dara.cast(await this.callApi(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
26870
+ }
26871
+ else {
26872
+ return $dara.cast(await this.execute(params, req, runtime), new RemoveDBClusterFromGDNResponse({}));
26873
+ }
26159
26874
  }
26160
26875
  /**
26161
26876
  * Removes a secondary cluster from a GDN.
@@ -26219,7 +26934,12 @@ class Client extends openapi_core_1.default {
26219
26934
  reqBodyType: "formData",
26220
26935
  bodyType: "json",
26221
26936
  });
26222
- return $dara.cast(await this.callApi(params, req, runtime), new ResetAccountResponse({}));
26937
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
26938
+ return $dara.cast(await this.callApi(params, req, runtime), new ResetAccountResponse({}));
26939
+ }
26940
+ else {
26941
+ return $dara.cast(await this.execute(params, req, runtime), new ResetAccountResponse({}));
26942
+ }
26223
26943
  }
26224
26944
  /**
26225
26945
  * Resets the permissions of a privileged account for a PolarDB cluster.
@@ -26283,7 +27003,12 @@ class Client extends openapi_core_1.default {
26283
27003
  reqBodyType: "formData",
26284
27004
  bodyType: "json",
26285
27005
  });
26286
- return $dara.cast(await this.callApi(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
27006
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27007
+ return $dara.cast(await this.callApi(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
27008
+ }
27009
+ else {
27010
+ return $dara.cast(await this.execute(params, req, runtime), new ResetGlobalDatabaseNetworkResponse({}));
27011
+ }
26287
27012
  }
26288
27013
  /**
26289
27014
  * Rebuilds a secondary cluster in a Global Database Network (GDN).
@@ -26337,7 +27062,12 @@ class Client extends openapi_core_1.default {
26337
27062
  reqBodyType: "formData",
26338
27063
  bodyType: "json",
26339
27064
  });
26340
- return $dara.cast(await this.callApi(params, req, runtime), new RestartDBLinkResponse({}));
27065
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27066
+ return $dara.cast(await this.callApi(params, req, runtime), new RestartDBLinkResponse({}));
27067
+ }
27068
+ else {
27069
+ return $dara.cast(await this.execute(params, req, runtime), new RestartDBLinkResponse({}));
27070
+ }
26341
27071
  }
26342
27072
  /**
26343
27073
  * Restarts database links.
@@ -26388,7 +27118,12 @@ class Client extends openapi_core_1.default {
26388
27118
  reqBodyType: "formData",
26389
27119
  bodyType: "json",
26390
27120
  });
26391
- return $dara.cast(await this.callApi(params, req, runtime), new RestartDBNodeResponse({}));
27121
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27122
+ return $dara.cast(await this.callApi(params, req, runtime), new RestartDBNodeResponse({}));
27123
+ }
27124
+ else {
27125
+ return $dara.cast(await this.execute(params, req, runtime), new RestartDBNodeResponse({}));
27126
+ }
26392
27127
  }
26393
27128
  /**
26394
27129
  * Restarts a node in a PolarDB cluster.
@@ -26451,7 +27186,12 @@ class Client extends openapi_core_1.default {
26451
27186
  reqBodyType: "formData",
26452
27187
  bodyType: "json",
26453
27188
  });
26454
- return $dara.cast(await this.callApi(params, req, runtime), new RestoreTableResponse({}));
27189
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27190
+ return $dara.cast(await this.callApi(params, req, runtime), new RestoreTableResponse({}));
27191
+ }
27192
+ else {
27193
+ return $dara.cast(await this.execute(params, req, runtime), new RestoreTableResponse({}));
27194
+ }
26455
27195
  }
26456
27196
  /**
26457
27197
  * Restores PolarDB databases and tables.
@@ -26508,7 +27248,12 @@ class Client extends openapi_core_1.default {
26508
27248
  reqBodyType: "formData",
26509
27249
  bodyType: "json",
26510
27250
  });
26511
- return $dara.cast(await this.callApi(params, req, runtime), new RevokeAccountPrivilegeResponse({}));
27251
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27252
+ return $dara.cast(await this.callApi(params, req, runtime), new RevokeAccountPrivilegeResponse({}));
27253
+ }
27254
+ else {
27255
+ return $dara.cast(await this.execute(params, req, runtime), new RevokeAccountPrivilegeResponse({}));
27256
+ }
26512
27257
  }
26513
27258
  /**
26514
27259
  * Revokes the access permissions on one or more databases from a specified PolarDB standard account.
@@ -26572,7 +27317,12 @@ class Client extends openapi_core_1.default {
26572
27317
  reqBodyType: "formData",
26573
27318
  bodyType: "json",
26574
27319
  });
26575
- return $dara.cast(await this.callApi(params, req, runtime), new SwitchOverGlobalDatabaseNetworkResponse({}));
27320
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27321
+ return $dara.cast(await this.callApi(params, req, runtime), new SwitchOverGlobalDatabaseNetworkResponse({}));
27322
+ }
27323
+ else {
27324
+ return $dara.cast(await this.execute(params, req, runtime), new SwitchOverGlobalDatabaseNetworkResponse({}));
27325
+ }
26576
27326
  }
26577
27327
  /**
26578
27328
  * @param request - SwitchOverGlobalDatabaseNetworkRequest
@@ -26630,7 +27380,12 @@ class Client extends openapi_core_1.default {
26630
27380
  reqBodyType: "formData",
26631
27381
  bodyType: "json",
26632
27382
  });
26633
- return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
27383
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27384
+ return $dara.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
27385
+ }
27386
+ else {
27387
+ return $dara.cast(await this.execute(params, req, runtime), new TagResourcesResponse({}));
27388
+ }
26634
27389
  }
26635
27390
  /**
26636
27391
  * Creates tags for a PolarDB cluster.
@@ -26696,7 +27451,12 @@ class Client extends openapi_core_1.default {
26696
27451
  reqBodyType: "formData",
26697
27452
  bodyType: "json",
26698
27453
  });
26699
- return $dara.cast(await this.callApi(params, req, runtime), new TempModifyDBNodeResponse({}));
27454
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27455
+ return $dara.cast(await this.callApi(params, req, runtime), new TempModifyDBNodeResponse({}));
27456
+ }
27457
+ else {
27458
+ return $dara.cast(await this.execute(params, req, runtime), new TempModifyDBNodeResponse({}));
27459
+ }
26700
27460
  }
26701
27461
  /**
26702
27462
  * Temporarily changes the node configurations.
@@ -26771,7 +27531,12 @@ class Client extends openapi_core_1.default {
26771
27531
  reqBodyType: "formData",
26772
27532
  bodyType: "json",
26773
27533
  });
26774
- return $dara.cast(await this.callApi(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
27534
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27535
+ return $dara.cast(await this.callApi(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
27536
+ }
27537
+ else {
27538
+ return $dara.cast(await this.execute(params, req, runtime), new TransformDBClusterPayTypeResponse({}));
27539
+ }
26775
27540
  }
26776
27541
  /**
26777
27542
  * Changes the billing method of a PolarDB cluster.
@@ -26840,7 +27605,12 @@ class Client extends openapi_core_1.default {
26840
27605
  reqBodyType: "formData",
26841
27606
  bodyType: "json",
26842
27607
  });
26843
- return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
27608
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27609
+ return $dara.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
27610
+ }
27611
+ else {
27612
+ return $dara.cast(await this.execute(params, req, runtime), new UntagResourcesResponse({}));
27613
+ }
26844
27614
  }
26845
27615
  /**
26846
27616
  * Unbinds tags from PolarDB clusters.
@@ -26919,7 +27689,12 @@ class Client extends openapi_core_1.default {
26919
27689
  reqBodyType: "formData",
26920
27690
  bodyType: "json",
26921
27691
  });
26922
- return $dara.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
27692
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
27693
+ return $dara.cast(await this.callApi(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
27694
+ }
27695
+ else {
27696
+ return $dara.cast(await this.execute(params, req, runtime), new UpgradeDBClusterVersionResponse({}));
27697
+ }
26923
27698
  }
26924
27699
  /**
26925
27700
  * Upgrades the kernel version of a PolarDB for MySQL cluster.