@alicloud/adb20211201 2.0.8 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -3751,6 +3751,119 @@ export class DeleteAccountResponse extends $tea.Model {
3751
3751
  }
3752
3752
  }
3753
3753
 
3754
+ export class DeleteBackupsRequest extends $tea.Model {
3755
+ /**
3756
+ * @remarks
3757
+ * The ID of the backup set that you want to delete. Separate multiple backup set IDs with commas (,).
3758
+ *
3759
+ * This parameter is required.
3760
+ *
3761
+ * @example
3762
+ * 763,764
3763
+ */
3764
+ backupIds?: string;
3765
+ /**
3766
+ * @remarks
3767
+ * The ID of the AnalyticDB for MySQL cluster.
3768
+ *
3769
+ * This parameter is required.
3770
+ *
3771
+ * @example
3772
+ * amv-uf6g8w25jacm7****
3773
+ */
3774
+ DBClusterId?: string;
3775
+ ownerAccount?: string;
3776
+ ownerId?: number;
3777
+ /**
3778
+ * @remarks
3779
+ * The region ID of the cluster.
3780
+ *
3781
+ * @example
3782
+ * cn-hangzhou
3783
+ */
3784
+ regionId?: string;
3785
+ resourceOwnerAccount?: string;
3786
+ resourceOwnerId?: number;
3787
+ static names(): { [key: string]: string } {
3788
+ return {
3789
+ backupIds: 'BackupIds',
3790
+ DBClusterId: 'DBClusterId',
3791
+ ownerAccount: 'OwnerAccount',
3792
+ ownerId: 'OwnerId',
3793
+ regionId: 'RegionId',
3794
+ resourceOwnerAccount: 'ResourceOwnerAccount',
3795
+ resourceOwnerId: 'ResourceOwnerId',
3796
+ };
3797
+ }
3798
+
3799
+ static types(): { [key: string]: any } {
3800
+ return {
3801
+ backupIds: 'string',
3802
+ DBClusterId: 'string',
3803
+ ownerAccount: 'string',
3804
+ ownerId: 'number',
3805
+ regionId: 'string',
3806
+ resourceOwnerAccount: 'string',
3807
+ resourceOwnerId: 'number',
3808
+ };
3809
+ }
3810
+
3811
+ constructor(map?: { [key: string]: any }) {
3812
+ super(map);
3813
+ }
3814
+ }
3815
+
3816
+ export class DeleteBackupsResponseBody extends $tea.Model {
3817
+ /**
3818
+ * @remarks
3819
+ * Id of the request
3820
+ *
3821
+ * @example
3822
+ * 771C5FAA-530F-52F7-B84D-EBAD4561D590
3823
+ */
3824
+ requestId?: string;
3825
+ static names(): { [key: string]: string } {
3826
+ return {
3827
+ requestId: 'RequestId',
3828
+ };
3829
+ }
3830
+
3831
+ static types(): { [key: string]: any } {
3832
+ return {
3833
+ requestId: 'string',
3834
+ };
3835
+ }
3836
+
3837
+ constructor(map?: { [key: string]: any }) {
3838
+ super(map);
3839
+ }
3840
+ }
3841
+
3842
+ export class DeleteBackupsResponse extends $tea.Model {
3843
+ headers?: { [key: string]: string };
3844
+ statusCode?: number;
3845
+ body?: DeleteBackupsResponseBody;
3846
+ static names(): { [key: string]: string } {
3847
+ return {
3848
+ headers: 'headers',
3849
+ statusCode: 'statusCode',
3850
+ body: 'body',
3851
+ };
3852
+ }
3853
+
3854
+ static types(): { [key: string]: any } {
3855
+ return {
3856
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3857
+ statusCode: 'number',
3858
+ body: DeleteBackupsResponseBody,
3859
+ };
3860
+ }
3861
+
3862
+ constructor(map?: { [key: string]: any }) {
3863
+ super(map);
3864
+ }
3865
+ }
3866
+
3754
3867
  export class DeleteDBClusterRequest extends $tea.Model {
3755
3868
  /**
3756
3869
  * @remarks
@@ -7413,6 +7526,83 @@ export class DescribeColumnsResponse extends $tea.Model {
7413
7526
  }
7414
7527
  }
7415
7528
 
7529
+ export class DescribeCompactionServiceSwitchRequest extends $tea.Model {
7530
+ /**
7531
+ * @remarks
7532
+ * This parameter is required.
7533
+ *
7534
+ * @example
7535
+ * amv-bp149vz49b36t****
7536
+ */
7537
+ DBClusterId?: string;
7538
+ static names(): { [key: string]: string } {
7539
+ return {
7540
+ DBClusterId: 'DBClusterId',
7541
+ };
7542
+ }
7543
+
7544
+ static types(): { [key: string]: any } {
7545
+ return {
7546
+ DBClusterId: 'string',
7547
+ };
7548
+ }
7549
+
7550
+ constructor(map?: { [key: string]: any }) {
7551
+ super(map);
7552
+ }
7553
+ }
7554
+
7555
+ export class DescribeCompactionServiceSwitchResponseBody extends $tea.Model {
7556
+ data?: DescribeCompactionServiceSwitchResponseBodyData;
7557
+ /**
7558
+ * @example
7559
+ * D761DA51-12F8-5457-AAA9-F52B9F436D2D
7560
+ */
7561
+ requestId?: string;
7562
+ static names(): { [key: string]: string } {
7563
+ return {
7564
+ data: 'Data',
7565
+ requestId: 'RequestId',
7566
+ };
7567
+ }
7568
+
7569
+ static types(): { [key: string]: any } {
7570
+ return {
7571
+ data: DescribeCompactionServiceSwitchResponseBodyData,
7572
+ requestId: 'string',
7573
+ };
7574
+ }
7575
+
7576
+ constructor(map?: { [key: string]: any }) {
7577
+ super(map);
7578
+ }
7579
+ }
7580
+
7581
+ export class DescribeCompactionServiceSwitchResponse extends $tea.Model {
7582
+ headers?: { [key: string]: string };
7583
+ statusCode?: number;
7584
+ body?: DescribeCompactionServiceSwitchResponseBody;
7585
+ static names(): { [key: string]: string } {
7586
+ return {
7587
+ headers: 'headers',
7588
+ statusCode: 'statusCode',
7589
+ body: 'body',
7590
+ };
7591
+ }
7592
+
7593
+ static types(): { [key: string]: any } {
7594
+ return {
7595
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7596
+ statusCode: 'number',
7597
+ body: DescribeCompactionServiceSwitchResponseBody,
7598
+ };
7599
+ }
7600
+
7601
+ constructor(map?: { [key: string]: any }) {
7602
+ super(map);
7603
+ }
7604
+ }
7605
+
7416
7606
  export class DescribeComputeResourceUsageRequest extends $tea.Model {
7417
7607
  /**
7418
7608
  * @remarks
@@ -10107,6 +10297,83 @@ export class DescribeEnabledPrivilegesResponse extends $tea.Model {
10107
10297
  }
10108
10298
  }
10109
10299
 
10300
+ export class DescribeEssdCacheConfigRequest extends $tea.Model {
10301
+ /**
10302
+ * @remarks
10303
+ * This parameter is required.
10304
+ *
10305
+ * @example
10306
+ * amv-uf685u1o987hj6rn
10307
+ */
10308
+ DBClusterId?: string;
10309
+ static names(): { [key: string]: string } {
10310
+ return {
10311
+ DBClusterId: 'DBClusterId',
10312
+ };
10313
+ }
10314
+
10315
+ static types(): { [key: string]: any } {
10316
+ return {
10317
+ DBClusterId: 'string',
10318
+ };
10319
+ }
10320
+
10321
+ constructor(map?: { [key: string]: any }) {
10322
+ super(map);
10323
+ }
10324
+ }
10325
+
10326
+ export class DescribeEssdCacheConfigResponseBody extends $tea.Model {
10327
+ data?: DescribeEssdCacheConfigResponseBodyData;
10328
+ /**
10329
+ * @example
10330
+ * C7EDB8E4-9769-4233-88C7-DCA4C9******
10331
+ */
10332
+ requestId?: string;
10333
+ static names(): { [key: string]: string } {
10334
+ return {
10335
+ data: 'Data',
10336
+ requestId: 'RequestId',
10337
+ };
10338
+ }
10339
+
10340
+ static types(): { [key: string]: any } {
10341
+ return {
10342
+ data: DescribeEssdCacheConfigResponseBodyData,
10343
+ requestId: 'string',
10344
+ };
10345
+ }
10346
+
10347
+ constructor(map?: { [key: string]: any }) {
10348
+ super(map);
10349
+ }
10350
+ }
10351
+
10352
+ export class DescribeEssdCacheConfigResponse extends $tea.Model {
10353
+ headers?: { [key: string]: string };
10354
+ statusCode?: number;
10355
+ body?: DescribeEssdCacheConfigResponseBody;
10356
+ static names(): { [key: string]: string } {
10357
+ return {
10358
+ headers: 'headers',
10359
+ statusCode: 'statusCode',
10360
+ body: 'body',
10361
+ };
10362
+ }
10363
+
10364
+ static types(): { [key: string]: any } {
10365
+ return {
10366
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10367
+ statusCode: 'number',
10368
+ body: DescribeEssdCacheConfigResponseBody,
10369
+ };
10370
+ }
10371
+
10372
+ constructor(map?: { [key: string]: any }) {
10373
+ super(map);
10374
+ }
10375
+ }
10376
+
10110
10377
  export class DescribeExcessivePrimaryKeysRequest extends $tea.Model {
10111
10378
  /**
10112
10379
  * @remarks
@@ -10497,6 +10764,314 @@ export class DescribeJobResourceUsageResponse extends $tea.Model {
10497
10764
  }
10498
10765
  }
10499
10766
 
10767
+ export class DescribeKernelVersionRequest extends $tea.Model {
10768
+ /**
10769
+ * @remarks
10770
+ * This parameter is required.
10771
+ *
10772
+ * @example
10773
+ * amv-2ze918p6qf6h9****
10774
+ */
10775
+ DBClusterId?: string;
10776
+ ownerAccount?: string;
10777
+ ownerId?: number;
10778
+ /**
10779
+ * @example
10780
+ * cn-shenzhen
10781
+ */
10782
+ regionId?: string;
10783
+ resourceOwnerAccount?: string;
10784
+ resourceOwnerId?: number;
10785
+ static names(): { [key: string]: string } {
10786
+ return {
10787
+ DBClusterId: 'DBClusterId',
10788
+ ownerAccount: 'OwnerAccount',
10789
+ ownerId: 'OwnerId',
10790
+ regionId: 'RegionId',
10791
+ resourceOwnerAccount: 'ResourceOwnerAccount',
10792
+ resourceOwnerId: 'ResourceOwnerId',
10793
+ };
10794
+ }
10795
+
10796
+ static types(): { [key: string]: any } {
10797
+ return {
10798
+ DBClusterId: 'string',
10799
+ ownerAccount: 'string',
10800
+ ownerId: 'number',
10801
+ regionId: 'string',
10802
+ resourceOwnerAccount: 'string',
10803
+ resourceOwnerId: 'number',
10804
+ };
10805
+ }
10806
+
10807
+ constructor(map?: { [key: string]: any }) {
10808
+ super(map);
10809
+ }
10810
+ }
10811
+
10812
+ export class DescribeKernelVersionResponseBody extends $tea.Model {
10813
+ availableKernelVersions?: DescribeKernelVersionResponseBodyAvailableKernelVersions[];
10814
+ /**
10815
+ * @example
10816
+ * 2025-01-12T16:00:00Z
10817
+ */
10818
+ expireDate?: string;
10819
+ /**
10820
+ * @example
10821
+ * 3.1.8
10822
+ */
10823
+ kernelVersion?: string;
10824
+ /**
10825
+ * @example
10826
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
10827
+ */
10828
+ requestId?: string;
10829
+ static names(): { [key: string]: string } {
10830
+ return {
10831
+ availableKernelVersions: 'AvailableKernelVersions',
10832
+ expireDate: 'ExpireDate',
10833
+ kernelVersion: 'KernelVersion',
10834
+ requestId: 'RequestId',
10835
+ };
10836
+ }
10837
+
10838
+ static types(): { [key: string]: any } {
10839
+ return {
10840
+ availableKernelVersions: { 'type': 'array', 'itemType': DescribeKernelVersionResponseBodyAvailableKernelVersions },
10841
+ expireDate: 'string',
10842
+ kernelVersion: 'string',
10843
+ requestId: 'string',
10844
+ };
10845
+ }
10846
+
10847
+ constructor(map?: { [key: string]: any }) {
10848
+ super(map);
10849
+ }
10850
+ }
10851
+
10852
+ export class DescribeKernelVersionResponse extends $tea.Model {
10853
+ headers?: { [key: string]: string };
10854
+ statusCode?: number;
10855
+ body?: DescribeKernelVersionResponseBody;
10856
+ static names(): { [key: string]: string } {
10857
+ return {
10858
+ headers: 'headers',
10859
+ statusCode: 'statusCode',
10860
+ body: 'body',
10861
+ };
10862
+ }
10863
+
10864
+ static types(): { [key: string]: any } {
10865
+ return {
10866
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10867
+ statusCode: 'number',
10868
+ body: DescribeKernelVersionResponseBody,
10869
+ };
10870
+ }
10871
+
10872
+ constructor(map?: { [key: string]: any }) {
10873
+ super(map);
10874
+ }
10875
+ }
10876
+
10877
+ export class DescribeLakeCacheSizeRequest extends $tea.Model {
10878
+ /**
10879
+ * @remarks
10880
+ * This parameter is required.
10881
+ *
10882
+ * @example
10883
+ * amv-bp10b6646l07akdt
10884
+ */
10885
+ DBClusterId?: string;
10886
+ static names(): { [key: string]: string } {
10887
+ return {
10888
+ DBClusterId: 'DBClusterId',
10889
+ };
10890
+ }
10891
+
10892
+ static types(): { [key: string]: any } {
10893
+ return {
10894
+ DBClusterId: 'string',
10895
+ };
10896
+ }
10897
+
10898
+ constructor(map?: { [key: string]: any }) {
10899
+ super(map);
10900
+ }
10901
+ }
10902
+
10903
+ export class DescribeLakeCacheSizeResponseBody extends $tea.Model {
10904
+ /**
10905
+ * @example
10906
+ * 200
10907
+ */
10908
+ code?: number;
10909
+ data?: DescribeLakeCacheSizeResponseBodyData;
10910
+ /**
10911
+ * @example
10912
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
10913
+ */
10914
+ requestId?: string;
10915
+ static names(): { [key: string]: string } {
10916
+ return {
10917
+ code: 'Code',
10918
+ data: 'Data',
10919
+ requestId: 'RequestId',
10920
+ };
10921
+ }
10922
+
10923
+ static types(): { [key: string]: any } {
10924
+ return {
10925
+ code: 'number',
10926
+ data: DescribeLakeCacheSizeResponseBodyData,
10927
+ requestId: 'string',
10928
+ };
10929
+ }
10930
+
10931
+ constructor(map?: { [key: string]: any }) {
10932
+ super(map);
10933
+ }
10934
+ }
10935
+
10936
+ export class DescribeLakeCacheSizeResponse extends $tea.Model {
10937
+ headers?: { [key: string]: string };
10938
+ statusCode?: number;
10939
+ body?: DescribeLakeCacheSizeResponseBody;
10940
+ static names(): { [key: string]: string } {
10941
+ return {
10942
+ headers: 'headers',
10943
+ statusCode: 'statusCode',
10944
+ body: 'body',
10945
+ };
10946
+ }
10947
+
10948
+ static types(): { [key: string]: any } {
10949
+ return {
10950
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10951
+ statusCode: 'number',
10952
+ body: DescribeLakeCacheSizeResponseBody,
10953
+ };
10954
+ }
10955
+
10956
+ constructor(map?: { [key: string]: any }) {
10957
+ super(map);
10958
+ }
10959
+ }
10960
+
10961
+ export class DescribeOperatorPermissionRequest extends $tea.Model {
10962
+ /**
10963
+ * @remarks
10964
+ * This parameter is required.
10965
+ *
10966
+ * @example
10967
+ * amv-uf6wjk5xxxxxxxxxx
10968
+ */
10969
+ DBClusterId?: string;
10970
+ ownerAccount?: string;
10971
+ ownerId?: number;
10972
+ resourceOwnerAccount?: string;
10973
+ resourceOwnerId?: number;
10974
+ static names(): { [key: string]: string } {
10975
+ return {
10976
+ DBClusterId: 'DBClusterId',
10977
+ ownerAccount: 'OwnerAccount',
10978
+ ownerId: 'OwnerId',
10979
+ resourceOwnerAccount: 'ResourceOwnerAccount',
10980
+ resourceOwnerId: 'ResourceOwnerId',
10981
+ };
10982
+ }
10983
+
10984
+ static types(): { [key: string]: any } {
10985
+ return {
10986
+ DBClusterId: 'string',
10987
+ ownerAccount: 'string',
10988
+ ownerId: 'number',
10989
+ resourceOwnerAccount: 'string',
10990
+ resourceOwnerId: 'number',
10991
+ };
10992
+ }
10993
+
10994
+ constructor(map?: { [key: string]: any }) {
10995
+ super(map);
10996
+ }
10997
+ }
10998
+
10999
+ export class DescribeOperatorPermissionResponseBody extends $tea.Model {
11000
+ /**
11001
+ * @example
11002
+ * 2024-02-25T03:35:02Z
11003
+ */
11004
+ createdTime?: string;
11005
+ /**
11006
+ * @example
11007
+ * amv-uf6wjk5xxxxxxxxxx
11008
+ */
11009
+ DBClusterId?: string;
11010
+ /**
11011
+ * @example
11012
+ * 2024-01-10T02:19:00Z
11013
+ */
11014
+ expiredTime?: string;
11015
+ /**
11016
+ * @example
11017
+ * Control,Data
11018
+ */
11019
+ privileges?: string;
11020
+ /**
11021
+ * @example
11022
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
11023
+ */
11024
+ requestId?: string;
11025
+ static names(): { [key: string]: string } {
11026
+ return {
11027
+ createdTime: 'CreatedTime',
11028
+ DBClusterId: 'DBClusterId',
11029
+ expiredTime: 'ExpiredTime',
11030
+ privileges: 'Privileges',
11031
+ requestId: 'RequestId',
11032
+ };
11033
+ }
11034
+
11035
+ static types(): { [key: string]: any } {
11036
+ return {
11037
+ createdTime: 'string',
11038
+ DBClusterId: 'string',
11039
+ expiredTime: 'string',
11040
+ privileges: 'string',
11041
+ requestId: 'string',
11042
+ };
11043
+ }
11044
+
11045
+ constructor(map?: { [key: string]: any }) {
11046
+ super(map);
11047
+ }
11048
+ }
11049
+
11050
+ export class DescribeOperatorPermissionResponse extends $tea.Model {
11051
+ headers?: { [key: string]: string };
11052
+ statusCode?: number;
11053
+ body?: DescribeOperatorPermissionResponseBody;
11054
+ static names(): { [key: string]: string } {
11055
+ return {
11056
+ headers: 'headers',
11057
+ statusCode: 'statusCode',
11058
+ body: 'body',
11059
+ };
11060
+ }
11061
+
11062
+ static types(): { [key: string]: any } {
11063
+ return {
11064
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11065
+ statusCode: 'number',
11066
+ body: DescribeOperatorPermissionResponseBody,
11067
+ };
11068
+ }
11069
+
11070
+ constructor(map?: { [key: string]: any }) {
11071
+ super(map);
11072
+ }
11073
+ }
11074
+
10500
11075
  export class DescribePatternPerformanceRequest extends $tea.Model {
10501
11076
  /**
10502
11077
  * @remarks
@@ -10580,6 +11155,7 @@ export class DescribePatternPerformanceRequest extends $tea.Model {
10580
11155
  }
10581
11156
 
10582
11157
  export class DescribePatternPerformanceResponseBody extends $tea.Model {
11158
+ accessIp?: string;
10583
11159
  /**
10584
11160
  * @remarks
10585
11161
  * The end time of the query. The time follows the ISO 8601 standard in the *yyyy-MM-ddTHH:mmZ* format. The time is displayed in UTC.
@@ -10588,11 +11164,13 @@ export class DescribePatternPerformanceResponseBody extends $tea.Model {
10588
11164
  * 2022-08-22T01:06:00Z
10589
11165
  */
10590
11166
  endTime?: string;
11167
+ failedCount?: number;
10591
11168
  /**
10592
11169
  * @remarks
10593
11170
  * The queried performance metrics.
10594
11171
  */
10595
11172
  performances?: DescribePatternPerformanceResponseBodyPerformances[];
11173
+ queryCount?: number;
10596
11174
  /**
10597
11175
  * @remarks
10598
11176
  * The request ID.
@@ -10601,6 +11179,7 @@ export class DescribePatternPerformanceResponseBody extends $tea.Model {
10601
11179
  * F21AF487-B8C9-57E0-8E3A-A92BC3611FB6
10602
11180
  */
10603
11181
  requestId?: string;
11182
+ SQLPattern?: string;
10604
11183
  /**
10605
11184
  * @remarks
10606
11185
  * The start time of the query. The time follows the ISO 8601 standard in the *yyyy-MM-ddTHH:mmZ* format. The time is displayed in UTC.
@@ -10609,21 +11188,35 @@ export class DescribePatternPerformanceResponseBody extends $tea.Model {
10609
11188
  * 2022-08-21T02:15:00Z
10610
11189
  */
10611
11190
  startTime?: string;
11191
+ tables?: string;
11192
+ user?: string;
10612
11193
  static names(): { [key: string]: string } {
10613
11194
  return {
11195
+ accessIp: 'AccessIp',
10614
11196
  endTime: 'EndTime',
11197
+ failedCount: 'FailedCount',
10615
11198
  performances: 'Performances',
11199
+ queryCount: 'QueryCount',
10616
11200
  requestId: 'RequestId',
11201
+ SQLPattern: 'SQLPattern',
10617
11202
  startTime: 'StartTime',
11203
+ tables: 'Tables',
11204
+ user: 'User',
10618
11205
  };
10619
11206
  }
10620
11207
 
10621
11208
  static types(): { [key: string]: any } {
10622
11209
  return {
11210
+ accessIp: 'string',
10623
11211
  endTime: 'string',
11212
+ failedCount: 'number',
10624
11213
  performances: { 'type': 'array', 'itemType': DescribePatternPerformanceResponseBodyPerformances },
11214
+ queryCount: 'number',
10625
11215
  requestId: 'string',
11216
+ SQLPattern: 'string',
10626
11217
  startTime: 'string',
11218
+ tables: 'string',
11219
+ user: 'string',
10627
11220
  };
10628
11221
  }
10629
11222
 
@@ -14226,114 +14819,6 @@ export class GetSparkConfigLogPathResponse extends $tea.Model {
14226
14819
  }
14227
14820
  }
14228
14821
 
14229
- export class GetSparkDefinitionsRequest extends $tea.Model {
14230
- /**
14231
- * @remarks
14232
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
14233
- *
14234
- * @example
14235
- * amv-clusterxxx
14236
- */
14237
- DBClusterId?: string;
14238
- static names(): { [key: string]: string } {
14239
- return {
14240
- DBClusterId: 'DBClusterId',
14241
- };
14242
- }
14243
-
14244
- static types(): { [key: string]: any } {
14245
- return {
14246
- DBClusterId: 'string',
14247
- };
14248
- }
14249
-
14250
- constructor(map?: { [key: string]: any }) {
14251
- super(map);
14252
- }
14253
- }
14254
-
14255
- export class GetSparkDefinitionsResponseBody extends $tea.Model {
14256
- /**
14257
- * @remarks
14258
- * The common definitions of Spark applications.
14259
- *
14260
- * @example
14261
- * {"SQLTemplateExample": "-- Here is just an example of SparkSQL. Modify the content and run your spark program.
14262
- * conf spark.driver.resourceSpec=medium;
14263
- * conf spark.executor.instances=2;
14264
- * conf spark.executor.resourceSpec=medium;
14265
- * conf spark.app.name=Spark SQL Test;
14266
- * conf spark.adb.connectors=oss;
14267
- *
14268
- * -- Here are your sql statements
14269
- * show databases;",
14270
- * "BatchTemplateExample": "{
14271
- * "comments": [
14272
- * "-- Here is just an example of SparkPi. Modify the content and run your spark program."
14273
- * ],
14274
- * "args": ["1000"],
14275
- * "file":"local:///tmp/spark-examples.jar",
14276
- * "name": "SparkPi",
14277
- * "className": "org.apache.spark.examples.SparkPi",
14278
- * "conf": { "spark.driver.resourceSpec": "medium",
14279
- * "spark.executor.instances": 2,
14280
- * "spark.executor.resourceSpec": "medium"
14281
- * }
14282
- * }"
14283
- */
14284
- data?: string;
14285
- /**
14286
- * @remarks
14287
- * The ID of the request.
14288
- *
14289
- * @example
14290
- * D65A809F-34CE-4550-9BC1-0ED21ETG380
14291
- */
14292
- requestId?: string;
14293
- static names(): { [key: string]: string } {
14294
- return {
14295
- data: 'Data',
14296
- requestId: 'RequestId',
14297
- };
14298
- }
14299
-
14300
- static types(): { [key: string]: any } {
14301
- return {
14302
- data: 'string',
14303
- requestId: 'string',
14304
- };
14305
- }
14306
-
14307
- constructor(map?: { [key: string]: any }) {
14308
- super(map);
14309
- }
14310
- }
14311
-
14312
- export class GetSparkDefinitionsResponse extends $tea.Model {
14313
- headers?: { [key: string]: string };
14314
- statusCode?: number;
14315
- body?: GetSparkDefinitionsResponseBody;
14316
- static names(): { [key: string]: string } {
14317
- return {
14318
- headers: 'headers',
14319
- statusCode: 'statusCode',
14320
- body: 'body',
14321
- };
14322
- }
14323
-
14324
- static types(): { [key: string]: any } {
14325
- return {
14326
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14327
- statusCode: 'number',
14328
- body: GetSparkDefinitionsResponseBody,
14329
- };
14330
- }
14331
-
14332
- constructor(map?: { [key: string]: any }) {
14333
- super(map);
14334
- }
14335
- }
14336
-
14337
14822
  export class GetSparkLogAnalyzeTaskRequest extends $tea.Model {
14338
14823
  /**
14339
14824
  * @remarks
@@ -15891,6 +16376,112 @@ export class GetViewObjectsResponse extends $tea.Model {
15891
16376
  }
15892
16377
  }
15893
16378
 
16379
+ export class GrantOperatorPermissionRequest extends $tea.Model {
16380
+ /**
16381
+ * @remarks
16382
+ * This parameter is required.
16383
+ *
16384
+ * @example
16385
+ * amv-bp1565u55p32****
16386
+ */
16387
+ DBClusterId?: string;
16388
+ /**
16389
+ * @remarks
16390
+ * This parameter is required.
16391
+ *
16392
+ * @example
16393
+ * 2022-11-30T00:00:00Z
16394
+ */
16395
+ expiredTime?: string;
16396
+ ownerAccount?: string;
16397
+ ownerId?: number;
16398
+ /**
16399
+ * @remarks
16400
+ * This parameter is required.
16401
+ *
16402
+ * @example
16403
+ * Control
16404
+ */
16405
+ privileges?: string;
16406
+ resourceOwnerAccount?: string;
16407
+ resourceOwnerId?: number;
16408
+ static names(): { [key: string]: string } {
16409
+ return {
16410
+ DBClusterId: 'DBClusterId',
16411
+ expiredTime: 'ExpiredTime',
16412
+ ownerAccount: 'OwnerAccount',
16413
+ ownerId: 'OwnerId',
16414
+ privileges: 'Privileges',
16415
+ resourceOwnerAccount: 'ResourceOwnerAccount',
16416
+ resourceOwnerId: 'ResourceOwnerId',
16417
+ };
16418
+ }
16419
+
16420
+ static types(): { [key: string]: any } {
16421
+ return {
16422
+ DBClusterId: 'string',
16423
+ expiredTime: 'string',
16424
+ ownerAccount: 'string',
16425
+ ownerId: 'number',
16426
+ privileges: 'string',
16427
+ resourceOwnerAccount: 'string',
16428
+ resourceOwnerId: 'number',
16429
+ };
16430
+ }
16431
+
16432
+ constructor(map?: { [key: string]: any }) {
16433
+ super(map);
16434
+ }
16435
+ }
16436
+
16437
+ export class GrantOperatorPermissionResponseBody extends $tea.Model {
16438
+ /**
16439
+ * @example
16440
+ * A438072A-E2E7-5509-9A3F-66293512A820
16441
+ */
16442
+ requestId?: string;
16443
+ static names(): { [key: string]: string } {
16444
+ return {
16445
+ requestId: 'RequestId',
16446
+ };
16447
+ }
16448
+
16449
+ static types(): { [key: string]: any } {
16450
+ return {
16451
+ requestId: 'string',
16452
+ };
16453
+ }
16454
+
16455
+ constructor(map?: { [key: string]: any }) {
16456
+ super(map);
16457
+ }
16458
+ }
16459
+
16460
+ export class GrantOperatorPermissionResponse extends $tea.Model {
16461
+ headers?: { [key: string]: string };
16462
+ statusCode?: number;
16463
+ body?: GrantOperatorPermissionResponseBody;
16464
+ static names(): { [key: string]: string } {
16465
+ return {
16466
+ headers: 'headers',
16467
+ statusCode: 'statusCode',
16468
+ body: 'body',
16469
+ };
16470
+ }
16471
+
16472
+ static types(): { [key: string]: any } {
16473
+ return {
16474
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16475
+ statusCode: 'number',
16476
+ body: GrantOperatorPermissionResponseBody,
16477
+ };
16478
+ }
16479
+
16480
+ constructor(map?: { [key: string]: any }) {
16481
+ super(map);
16482
+ }
16483
+ }
16484
+
15894
16485
  export class KillSparkAppRequest extends $tea.Model {
15895
16486
  /**
15896
16487
  * @remarks
@@ -16644,6 +17235,125 @@ export class ListSparkTemplateFileIdsResponse extends $tea.Model {
16644
17235
  }
16645
17236
  }
16646
17237
 
17238
+ export class ListTagResourcesRequest extends $tea.Model {
17239
+ /**
17240
+ * @example
17241
+ * 212db86sca4384811e0b5e8707ec21345
17242
+ */
17243
+ nextToken?: string;
17244
+ ownerAccount?: string;
17245
+ ownerId?: number;
17246
+ /**
17247
+ * @remarks
17248
+ * This parameter is required.
17249
+ *
17250
+ * @example
17251
+ * cn-hangzhou
17252
+ */
17253
+ regionId?: string;
17254
+ resourceId?: string[];
17255
+ resourceOwnerAccount?: string;
17256
+ resourceOwnerId?: number;
17257
+ /**
17258
+ * @remarks
17259
+ * This parameter is required.
17260
+ *
17261
+ * @example
17262
+ * dbclusterlakeversion
17263
+ */
17264
+ resourceType?: string;
17265
+ tag?: ListTagResourcesRequestTag[];
17266
+ static names(): { [key: string]: string } {
17267
+ return {
17268
+ nextToken: 'NextToken',
17269
+ ownerAccount: 'OwnerAccount',
17270
+ ownerId: 'OwnerId',
17271
+ regionId: 'RegionId',
17272
+ resourceId: 'ResourceId',
17273
+ resourceOwnerAccount: 'ResourceOwnerAccount',
17274
+ resourceOwnerId: 'ResourceOwnerId',
17275
+ resourceType: 'ResourceType',
17276
+ tag: 'Tag',
17277
+ };
17278
+ }
17279
+
17280
+ static types(): { [key: string]: any } {
17281
+ return {
17282
+ nextToken: 'string',
17283
+ ownerAccount: 'string',
17284
+ ownerId: 'number',
17285
+ regionId: 'string',
17286
+ resourceId: { 'type': 'array', 'itemType': 'string' },
17287
+ resourceOwnerAccount: 'string',
17288
+ resourceOwnerId: 'number',
17289
+ resourceType: 'string',
17290
+ tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
17291
+ };
17292
+ }
17293
+
17294
+ constructor(map?: { [key: string]: any }) {
17295
+ super(map);
17296
+ }
17297
+ }
17298
+
17299
+ export class ListTagResourcesResponseBody extends $tea.Model {
17300
+ /**
17301
+ * @example
17302
+ * 212db86sca4384811e0b5e8707ec21345
17303
+ */
17304
+ nextToken?: string;
17305
+ /**
17306
+ * @example
17307
+ * 184DE106-CB2C-4DD2-B57F-396652E6C8F8
17308
+ */
17309
+ requestId?: string;
17310
+ tagResources?: ListTagResourcesResponseBodyTagResources;
17311
+ static names(): { [key: string]: string } {
17312
+ return {
17313
+ nextToken: 'NextToken',
17314
+ requestId: 'RequestId',
17315
+ tagResources: 'TagResources',
17316
+ };
17317
+ }
17318
+
17319
+ static types(): { [key: string]: any } {
17320
+ return {
17321
+ nextToken: 'string',
17322
+ requestId: 'string',
17323
+ tagResources: ListTagResourcesResponseBodyTagResources,
17324
+ };
17325
+ }
17326
+
17327
+ constructor(map?: { [key: string]: any }) {
17328
+ super(map);
17329
+ }
17330
+ }
17331
+
17332
+ export class ListTagResourcesResponse extends $tea.Model {
17333
+ headers?: { [key: string]: string };
17334
+ statusCode?: number;
17335
+ body?: ListTagResourcesResponseBody;
17336
+ static names(): { [key: string]: string } {
17337
+ return {
17338
+ headers: 'headers',
17339
+ statusCode: 'statusCode',
17340
+ body: 'body',
17341
+ };
17342
+ }
17343
+
17344
+ static types(): { [key: string]: any } {
17345
+ return {
17346
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
17347
+ statusCode: 'number',
17348
+ body: ListTagResourcesResponseBody,
17349
+ };
17350
+ }
17351
+
17352
+ constructor(map?: { [key: string]: any }) {
17353
+ super(map);
17354
+ }
17355
+ }
17356
+
16647
17357
  export class LoadSampleDataSetRequest extends $tea.Model {
16648
17358
  /**
16649
17359
  * @remarks
@@ -17602,6 +18312,90 @@ export class ModifyClusterConnectionStringResponse extends $tea.Model {
17602
18312
  }
17603
18313
  }
17604
18314
 
18315
+ export class ModifyCompactionServiceSwitchRequest extends $tea.Model {
18316
+ /**
18317
+ * @remarks
18318
+ * This parameter is required.
18319
+ *
18320
+ * @example
18321
+ * amv-bp14t95lun0w****
18322
+ */
18323
+ DBClusterId?: string;
18324
+ /**
18325
+ * @remarks
18326
+ * This parameter is required.
18327
+ *
18328
+ * @example
18329
+ * true
18330
+ */
18331
+ enableCompactionService?: boolean;
18332
+ static names(): { [key: string]: string } {
18333
+ return {
18334
+ DBClusterId: 'DBClusterId',
18335
+ enableCompactionService: 'EnableCompactionService',
18336
+ };
18337
+ }
18338
+
18339
+ static types(): { [key: string]: any } {
18340
+ return {
18341
+ DBClusterId: 'string',
18342
+ enableCompactionService: 'boolean',
18343
+ };
18344
+ }
18345
+
18346
+ constructor(map?: { [key: string]: any }) {
18347
+ super(map);
18348
+ }
18349
+ }
18350
+
18351
+ export class ModifyCompactionServiceSwitchResponseBody extends $tea.Model {
18352
+ /**
18353
+ * @example
18354
+ * 21ABF219-10E0-571B-94B8-9C9AE5022BF8
18355
+ */
18356
+ requestId?: string;
18357
+ static names(): { [key: string]: string } {
18358
+ return {
18359
+ requestId: 'RequestId',
18360
+ };
18361
+ }
18362
+
18363
+ static types(): { [key: string]: any } {
18364
+ return {
18365
+ requestId: 'string',
18366
+ };
18367
+ }
18368
+
18369
+ constructor(map?: { [key: string]: any }) {
18370
+ super(map);
18371
+ }
18372
+ }
18373
+
18374
+ export class ModifyCompactionServiceSwitchResponse extends $tea.Model {
18375
+ headers?: { [key: string]: string };
18376
+ statusCode?: number;
18377
+ body?: ModifyCompactionServiceSwitchResponseBody;
18378
+ static names(): { [key: string]: string } {
18379
+ return {
18380
+ headers: 'headers',
18381
+ statusCode: 'statusCode',
18382
+ body: 'body',
18383
+ };
18384
+ }
18385
+
18386
+ static types(): { [key: string]: any } {
18387
+ return {
18388
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18389
+ statusCode: 'number',
18390
+ body: ModifyCompactionServiceSwitchResponseBody,
18391
+ };
18392
+ }
18393
+
18394
+ constructor(map?: { [key: string]: any }) {
18395
+ super(map);
18396
+ }
18397
+ }
18398
+
17605
18399
  export class ModifyDBClusterRequest extends $tea.Model {
17606
18400
  /**
17607
18401
  * @remarks
@@ -17965,6 +18759,222 @@ export class ModifyDBClusterMaintainTimeResponse extends $tea.Model {
17965
18759
  }
17966
18760
  }
17967
18761
 
18762
+ export class ModifyDBClusterResourceGroupRequest extends $tea.Model {
18763
+ /**
18764
+ * @remarks
18765
+ * This parameter is required.
18766
+ *
18767
+ * @example
18768
+ * amv-bpxxxxx
18769
+ */
18770
+ DBClusterId?: string;
18771
+ /**
18772
+ * @remarks
18773
+ * This parameter is required.
18774
+ *
18775
+ * @example
18776
+ * rg-acxxxxx
18777
+ */
18778
+ newResourceGroupId?: string;
18779
+ ownerAccount?: string;
18780
+ ownerId?: number;
18781
+ resourceOwnerAccount?: string;
18782
+ resourceOwnerId?: number;
18783
+ static names(): { [key: string]: string } {
18784
+ return {
18785
+ DBClusterId: 'DBClusterId',
18786
+ newResourceGroupId: 'NewResourceGroupId',
18787
+ ownerAccount: 'OwnerAccount',
18788
+ ownerId: 'OwnerId',
18789
+ resourceOwnerAccount: 'ResourceOwnerAccount',
18790
+ resourceOwnerId: 'ResourceOwnerId',
18791
+ };
18792
+ }
18793
+
18794
+ static types(): { [key: string]: any } {
18795
+ return {
18796
+ DBClusterId: 'string',
18797
+ newResourceGroupId: 'string',
18798
+ ownerAccount: 'string',
18799
+ ownerId: 'number',
18800
+ resourceOwnerAccount: 'string',
18801
+ resourceOwnerId: 'number',
18802
+ };
18803
+ }
18804
+
18805
+ constructor(map?: { [key: string]: any }) {
18806
+ super(map);
18807
+ }
18808
+ }
18809
+
18810
+ export class ModifyDBClusterResourceGroupResponseBody extends $tea.Model {
18811
+ /**
18812
+ * @example
18813
+ * 65BDA532-28AF-4122-AA39-B382721EEE64
18814
+ */
18815
+ requestId?: string;
18816
+ static names(): { [key: string]: string } {
18817
+ return {
18818
+ requestId: 'RequestId',
18819
+ };
18820
+ }
18821
+
18822
+ static types(): { [key: string]: any } {
18823
+ return {
18824
+ requestId: 'string',
18825
+ };
18826
+ }
18827
+
18828
+ constructor(map?: { [key: string]: any }) {
18829
+ super(map);
18830
+ }
18831
+ }
18832
+
18833
+ export class ModifyDBClusterResourceGroupResponse extends $tea.Model {
18834
+ headers?: { [key: string]: string };
18835
+ statusCode?: number;
18836
+ body?: ModifyDBClusterResourceGroupResponseBody;
18837
+ static names(): { [key: string]: string } {
18838
+ return {
18839
+ headers: 'headers',
18840
+ statusCode: 'statusCode',
18841
+ body: 'body',
18842
+ };
18843
+ }
18844
+
18845
+ static types(): { [key: string]: any } {
18846
+ return {
18847
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18848
+ statusCode: 'number',
18849
+ body: ModifyDBClusterResourceGroupResponseBody,
18850
+ };
18851
+ }
18852
+
18853
+ constructor(map?: { [key: string]: any }) {
18854
+ super(map);
18855
+ }
18856
+ }
18857
+
18858
+ export class ModifyDBClusterVipRequest extends $tea.Model {
18859
+ /**
18860
+ * @remarks
18861
+ * The endpoint of the cluster.
18862
+ */
18863
+ connectString?: string;
18864
+ /**
18865
+ * @remarks
18866
+ * The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
18867
+ *
18868
+ * > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/129857.html) operation to query the IDs of all AnalyticDB for MySQL Data Lakehouse Edition (V3.0) clusters within a region.
18869
+ *
18870
+ * This parameter is required.
18871
+ *
18872
+ * @example
18873
+ * amv-2ze8mbuai97*****
18874
+ */
18875
+ DBClusterId?: string;
18876
+ /**
18877
+ * @remarks
18878
+ * The VPC ID.
18879
+ *
18880
+ * >
18881
+ *
18882
+ * * The new **VPC** must reside in the same region as the cluster.
18883
+ *
18884
+ * This parameter is required.
18885
+ *
18886
+ * @example
18887
+ * vpc-bp1at5ze0t5u3xtqn****
18888
+ */
18889
+ VPCId?: string;
18890
+ /**
18891
+ * @remarks
18892
+ * The vSwitch ID.
18893
+ *
18894
+ * >
18895
+ *
18896
+ * * The new vSwitch must reside in the same zone as the cluster.
18897
+ *
18898
+ * This parameter is required.
18899
+ *
18900
+ * @example
18901
+ * vsw-bp1aadw9k19x6cis9****
18902
+ */
18903
+ vSwitchId?: string;
18904
+ static names(): { [key: string]: string } {
18905
+ return {
18906
+ connectString: 'ConnectString',
18907
+ DBClusterId: 'DBClusterId',
18908
+ VPCId: 'VPCId',
18909
+ vSwitchId: 'VSwitchId',
18910
+ };
18911
+ }
18912
+
18913
+ static types(): { [key: string]: any } {
18914
+ return {
18915
+ connectString: 'string',
18916
+ DBClusterId: 'string',
18917
+ VPCId: 'string',
18918
+ vSwitchId: 'string',
18919
+ };
18920
+ }
18921
+
18922
+ constructor(map?: { [key: string]: any }) {
18923
+ super(map);
18924
+ }
18925
+ }
18926
+
18927
+ export class ModifyDBClusterVipResponseBody extends $tea.Model {
18928
+ /**
18929
+ * @remarks
18930
+ * The request ID.
18931
+ *
18932
+ * @example
18933
+ * 1AD222E9-****-4A42-BF6D-8A4442913CEF
18934
+ */
18935
+ requestId?: string;
18936
+ static names(): { [key: string]: string } {
18937
+ return {
18938
+ requestId: 'RequestId',
18939
+ };
18940
+ }
18941
+
18942
+ static types(): { [key: string]: any } {
18943
+ return {
18944
+ requestId: 'string',
18945
+ };
18946
+ }
18947
+
18948
+ constructor(map?: { [key: string]: any }) {
18949
+ super(map);
18950
+ }
18951
+ }
18952
+
18953
+ export class ModifyDBClusterVipResponse extends $tea.Model {
18954
+ headers?: { [key: string]: string };
18955
+ statusCode?: number;
18956
+ body?: ModifyDBClusterVipResponseBody;
18957
+ static names(): { [key: string]: string } {
18958
+ return {
18959
+ headers: 'headers',
18960
+ statusCode: 'statusCode',
18961
+ body: 'body',
18962
+ };
18963
+ }
18964
+
18965
+ static types(): { [key: string]: any } {
18966
+ return {
18967
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18968
+ statusCode: 'number',
18969
+ body: ModifyDBClusterVipResponseBody,
18970
+ };
18971
+ }
18972
+
18973
+ constructor(map?: { [key: string]: any }) {
18974
+ super(map);
18975
+ }
18976
+ }
18977
+
17968
18978
  export class ModifyDBResourceGroupRequest extends $tea.Model {
17969
18979
  autoStopInterval?: string;
17970
18980
  /**
@@ -18517,6 +19527,198 @@ export class ModifyElasticPlanResponse extends $tea.Model {
18517
19527
  }
18518
19528
  }
18519
19529
 
19530
+ export class ModifyEssdCacheConfigRequest extends $tea.Model {
19531
+ /**
19532
+ * @remarks
19533
+ * This parameter is required.
19534
+ *
19535
+ * @example
19536
+ * amv-bp10yt0gva71ei7d
19537
+ */
19538
+ DBClusterId?: string;
19539
+ /**
19540
+ * @remarks
19541
+ * This parameter is required.
19542
+ *
19543
+ * @example
19544
+ * true
19545
+ */
19546
+ enableEssdCache?: boolean;
19547
+ /**
19548
+ * @example
19549
+ * 500
19550
+ */
19551
+ essdCacheSize?: number;
19552
+ static names(): { [key: string]: string } {
19553
+ return {
19554
+ DBClusterId: 'DBClusterId',
19555
+ enableEssdCache: 'EnableEssdCache',
19556
+ essdCacheSize: 'EssdCacheSize',
19557
+ };
19558
+ }
19559
+
19560
+ static types(): { [key: string]: any } {
19561
+ return {
19562
+ DBClusterId: 'string',
19563
+ enableEssdCache: 'boolean',
19564
+ essdCacheSize: 'number',
19565
+ };
19566
+ }
19567
+
19568
+ constructor(map?: { [key: string]: any }) {
19569
+ super(map);
19570
+ }
19571
+ }
19572
+
19573
+ export class ModifyEssdCacheConfigResponseBody extends $tea.Model {
19574
+ /**
19575
+ * @example
19576
+ * 115F9CCA-EF2E-5F91-AB60-4961D52FEAB4
19577
+ */
19578
+ requestId?: string;
19579
+ static names(): { [key: string]: string } {
19580
+ return {
19581
+ requestId: 'RequestId',
19582
+ };
19583
+ }
19584
+
19585
+ static types(): { [key: string]: any } {
19586
+ return {
19587
+ requestId: 'string',
19588
+ };
19589
+ }
19590
+
19591
+ constructor(map?: { [key: string]: any }) {
19592
+ super(map);
19593
+ }
19594
+ }
19595
+
19596
+ export class ModifyEssdCacheConfigResponse extends $tea.Model {
19597
+ headers?: { [key: string]: string };
19598
+ statusCode?: number;
19599
+ body?: ModifyEssdCacheConfigResponseBody;
19600
+ static names(): { [key: string]: string } {
19601
+ return {
19602
+ headers: 'headers',
19603
+ statusCode: 'statusCode',
19604
+ body: 'body',
19605
+ };
19606
+ }
19607
+
19608
+ static types(): { [key: string]: any } {
19609
+ return {
19610
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19611
+ statusCode: 'number',
19612
+ body: ModifyEssdCacheConfigResponseBody,
19613
+ };
19614
+ }
19615
+
19616
+ constructor(map?: { [key: string]: any }) {
19617
+ super(map);
19618
+ }
19619
+ }
19620
+
19621
+ export class ModifyLakeCacheSizeRequest extends $tea.Model {
19622
+ /**
19623
+ * @example
19624
+ * 100
19625
+ */
19626
+ capacity?: number;
19627
+ /**
19628
+ * @remarks
19629
+ * This parameter is required.
19630
+ *
19631
+ * @example
19632
+ * amv-bp10yt0gva71ei7d
19633
+ */
19634
+ DBClusterId?: string;
19635
+ /**
19636
+ * @remarks
19637
+ * This parameter is required.
19638
+ *
19639
+ * @example
19640
+ * true
19641
+ */
19642
+ enableLakeCache?: boolean;
19643
+ static names(): { [key: string]: string } {
19644
+ return {
19645
+ capacity: 'Capacity',
19646
+ DBClusterId: 'DBClusterId',
19647
+ enableLakeCache: 'EnableLakeCache',
19648
+ };
19649
+ }
19650
+
19651
+ static types(): { [key: string]: any } {
19652
+ return {
19653
+ capacity: 'number',
19654
+ DBClusterId: 'string',
19655
+ enableLakeCache: 'boolean',
19656
+ };
19657
+ }
19658
+
19659
+ constructor(map?: { [key: string]: any }) {
19660
+ super(map);
19661
+ }
19662
+ }
19663
+
19664
+ export class ModifyLakeCacheSizeResponseBody extends $tea.Model {
19665
+ /**
19666
+ * @example
19667
+ * 200
19668
+ */
19669
+ code?: number;
19670
+ data?: ModifyLakeCacheSizeResponseBodyData;
19671
+ /**
19672
+ * @example
19673
+ * 494486CE-6F49-574E-B304-29127EA12E36
19674
+ */
19675
+ requestId?: string;
19676
+ static names(): { [key: string]: string } {
19677
+ return {
19678
+ code: 'Code',
19679
+ data: 'Data',
19680
+ requestId: 'RequestId',
19681
+ };
19682
+ }
19683
+
19684
+ static types(): { [key: string]: any } {
19685
+ return {
19686
+ code: 'number',
19687
+ data: ModifyLakeCacheSizeResponseBodyData,
19688
+ requestId: 'string',
19689
+ };
19690
+ }
19691
+
19692
+ constructor(map?: { [key: string]: any }) {
19693
+ super(map);
19694
+ }
19695
+ }
19696
+
19697
+ export class ModifyLakeCacheSizeResponse extends $tea.Model {
19698
+ headers?: { [key: string]: string };
19699
+ statusCode?: number;
19700
+ body?: ModifyLakeCacheSizeResponseBody;
19701
+ static names(): { [key: string]: string } {
19702
+ return {
19703
+ headers: 'headers',
19704
+ statusCode: 'statusCode',
19705
+ body: 'body',
19706
+ };
19707
+ }
19708
+
19709
+ static types(): { [key: string]: any } {
19710
+ return {
19711
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19712
+ statusCode: 'number',
19713
+ body: ModifyLakeCacheSizeResponseBody,
19714
+ };
19715
+ }
19716
+
19717
+ constructor(map?: { [key: string]: any }) {
19718
+ super(map);
19719
+ }
19720
+ }
19721
+
18520
19722
  export class ModifyPerformanceViewRequest extends $tea.Model {
18521
19723
  /**
18522
19724
  * @remarks
@@ -18943,50 +20145,82 @@ export class ReleaseClusterPublicConnectionResponse extends $tea.Model {
18943
20145
  }
18944
20146
  }
18945
20147
 
18946
- export class RenameSparkTemplateFileRequest extends $tea.Model {
20148
+ export class ResetAccountPasswordRequest extends $tea.Model {
18947
20149
  /**
18948
20150
  * @remarks
18949
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
20151
+ * The description of the database account.
20152
+ *
20153
+ * * The description cannot start with `http://` or `https://`.
20154
+ * * The description must be 2 to 256 characters in length.
20155
+ *
20156
+ * @example
20157
+ * AccDesc
20158
+ */
20159
+ accountDescription?: string;
20160
+ /**
20161
+ * @remarks
20162
+ * The name of the database account.
20163
+ *
20164
+ * > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the information about database accounts of an AnalyticDB for MySQL cluster, including database account names.
18950
20165
  *
18951
20166
  * This parameter is required.
18952
20167
  *
18953
20168
  * @example
18954
- * amv-d*****
20169
+ * test_accout
18955
20170
  */
18956
- DBClusterId?: string;
20171
+ accountName?: string;
18957
20172
  /**
18958
20173
  * @remarks
18959
- * The template file ID.
20174
+ * The password of the database account.
20175
+ *
20176
+ * * The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
20177
+ * * Special characters include `! @ # $ % ^ & * ( ) _ + - =`
20178
+ * * The password must be 8 to 32 characters in length.
18960
20179
  *
18961
20180
  * This parameter is required.
18962
20181
  *
18963
20182
  * @example
18964
- * 1
20183
+ * Test_accout1
18965
20184
  */
18966
- id?: number;
20185
+ accountPassword?: string;
18967
20186
  /**
18968
20187
  * @remarks
18969
- * The name of the template file that you want to rename.
20188
+ * The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
18970
20189
  *
18971
20190
  * This parameter is required.
18972
20191
  *
18973
20192
  * @example
18974
- * new_template_name
20193
+ * amv-bp11q28kvl688****
18975
20194
  */
18976
- name?: string;
20195
+ DBClusterId?: string;
20196
+ /**
20197
+ * @remarks
20198
+ * The database engine of the cluster. Valid values:
20199
+ *
20200
+ * * **AnalyticDB** (default): the AnalyticDB for MySQL engine.
20201
+ * * **Clickhouse**: the wide table engine.
20202
+ *
20203
+ * @example
20204
+ * Clickhouse
20205
+ */
20206
+ engine?: string;
18977
20207
  static names(): { [key: string]: string } {
18978
20208
  return {
20209
+ accountDescription: 'AccountDescription',
20210
+ accountName: 'AccountName',
20211
+ accountPassword: 'AccountPassword',
18979
20212
  DBClusterId: 'DBClusterId',
18980
- id: 'Id',
18981
- name: 'Name',
20213
+ engine: 'Engine',
18982
20214
  };
18983
20215
  }
18984
20216
 
18985
20217
  static types(): { [key: string]: any } {
18986
20218
  return {
20219
+ accountDescription: 'string',
20220
+ accountName: 'string',
20221
+ accountPassword: 'string',
18987
20222
  DBClusterId: 'string',
18988
- id: 'number',
18989
- name: 'string',
20223
+ engine: 'string',
18990
20224
  };
18991
20225
  }
18992
20226
 
@@ -18995,30 +20229,23 @@ export class RenameSparkTemplateFileRequest extends $tea.Model {
18995
20229
  }
18996
20230
  }
18997
20231
 
18998
- export class RenameSparkTemplateFileResponseBody extends $tea.Model {
18999
- /**
19000
- * @remarks
19001
- * The data returned.
19002
- */
19003
- data?: RenameSparkTemplateFileResponseBodyData;
20232
+ export class ResetAccountPasswordResponseBody extends $tea.Model {
19004
20233
  /**
19005
20234
  * @remarks
19006
20235
  * The request ID.
19007
20236
  *
19008
20237
  * @example
19009
- * 16D332C4-ACEB-526A-9B53-2B708FED594A
20238
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
19010
20239
  */
19011
20240
  requestId?: string;
19012
20241
  static names(): { [key: string]: string } {
19013
20242
  return {
19014
- data: 'Data',
19015
20243
  requestId: 'RequestId',
19016
20244
  };
19017
20245
  }
19018
20246
 
19019
20247
  static types(): { [key: string]: any } {
19020
20248
  return {
19021
- data: RenameSparkTemplateFileResponseBodyData,
19022
20249
  requestId: 'string',
19023
20250
  };
19024
20251
  }
@@ -19028,10 +20255,10 @@ export class RenameSparkTemplateFileResponseBody extends $tea.Model {
19028
20255
  }
19029
20256
  }
19030
20257
 
19031
- export class RenameSparkTemplateFileResponse extends $tea.Model {
20258
+ export class ResetAccountPasswordResponse extends $tea.Model {
19032
20259
  headers?: { [key: string]: string };
19033
20260
  statusCode?: number;
19034
- body?: RenameSparkTemplateFileResponseBody;
20261
+ body?: ResetAccountPasswordResponseBody;
19035
20262
  static names(): { [key: string]: string } {
19036
20263
  return {
19037
20264
  headers: 'headers',
@@ -19044,7 +20271,7 @@ export class RenameSparkTemplateFileResponse extends $tea.Model {
19044
20271
  return {
19045
20272
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19046
20273
  statusCode: 'number',
19047
- body: RenameSparkTemplateFileResponseBody,
20274
+ body: ResetAccountPasswordResponseBody,
19048
20275
  };
19049
20276
  }
19050
20277
 
@@ -19053,82 +20280,36 @@ export class RenameSparkTemplateFileResponse extends $tea.Model {
19053
20280
  }
19054
20281
  }
19055
20282
 
19056
- export class ResetAccountPasswordRequest extends $tea.Model {
20283
+ export class RevokeOperatorPermissionRequest extends $tea.Model {
19057
20284
  /**
19058
20285
  * @remarks
19059
- * The description of the database account.
19060
- *
19061
- * * The description cannot start with `http://` or `https://`.
19062
- * * The description must be 2 to 256 characters in length.
19063
- *
19064
- * @example
19065
- * AccDesc
19066
- */
19067
- accountDescription?: string;
19068
- /**
19069
- * @remarks
19070
- * The name of the database account.
19071
- *
19072
- * > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the information about database accounts of an AnalyticDB for MySQL cluster, including database account names.
19073
- *
19074
- * This parameter is required.
19075
- *
19076
- * @example
19077
- * test_accout
19078
- */
19079
- accountName?: string;
19080
- /**
19081
- * @remarks
19082
- * The password of the database account.
19083
- *
19084
- * * The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
19085
- * * Special characters include `! @ # $ % ^ & * ( ) _ + - =`
19086
- * * The password must be 8 to 32 characters in length.
19087
- *
19088
- * This parameter is required.
19089
- *
19090
- * @example
19091
- * Test_accout1
19092
- */
19093
- accountPassword?: string;
19094
- /**
19095
- * @remarks
19096
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
19097
- *
19098
20286
  * This parameter is required.
19099
20287
  *
19100
20288
  * @example
19101
- * amv-bp11q28kvl688****
20289
+ * amv-bp1mfe9qmsw1dzyg
19102
20290
  */
19103
20291
  DBClusterId?: string;
19104
- /**
19105
- * @remarks
19106
- * The database engine of the cluster. Valid values:
19107
- *
19108
- * * **AnalyticDB** (default): the AnalyticDB for MySQL engine.
19109
- * * **Clickhouse**: the wide table engine.
19110
- *
19111
- * @example
19112
- * Clickhouse
19113
- */
19114
- engine?: string;
20292
+ ownerAccount?: string;
20293
+ ownerId?: number;
20294
+ resourceOwnerAccount?: string;
20295
+ resourceOwnerId?: number;
19115
20296
  static names(): { [key: string]: string } {
19116
20297
  return {
19117
- accountDescription: 'AccountDescription',
19118
- accountName: 'AccountName',
19119
- accountPassword: 'AccountPassword',
19120
20298
  DBClusterId: 'DBClusterId',
19121
- engine: 'Engine',
20299
+ ownerAccount: 'OwnerAccount',
20300
+ ownerId: 'OwnerId',
20301
+ resourceOwnerAccount: 'ResourceOwnerAccount',
20302
+ resourceOwnerId: 'ResourceOwnerId',
19122
20303
  };
19123
20304
  }
19124
20305
 
19125
20306
  static types(): { [key: string]: any } {
19126
20307
  return {
19127
- accountDescription: 'string',
19128
- accountName: 'string',
19129
- accountPassword: 'string',
19130
20308
  DBClusterId: 'string',
19131
- engine: 'string',
20309
+ ownerAccount: 'string',
20310
+ ownerId: 'number',
20311
+ resourceOwnerAccount: 'string',
20312
+ resourceOwnerId: 'number',
19132
20313
  };
19133
20314
  }
19134
20315
 
@@ -19137,11 +20318,8 @@ export class ResetAccountPasswordRequest extends $tea.Model {
19137
20318
  }
19138
20319
  }
19139
20320
 
19140
- export class ResetAccountPasswordResponseBody extends $tea.Model {
20321
+ export class RevokeOperatorPermissionResponseBody extends $tea.Model {
19141
20322
  /**
19142
- * @remarks
19143
- * The request ID.
19144
- *
19145
20323
  * @example
19146
20324
  * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
19147
20325
  */
@@ -19163,10 +20341,10 @@ export class ResetAccountPasswordResponseBody extends $tea.Model {
19163
20341
  }
19164
20342
  }
19165
20343
 
19166
- export class ResetAccountPasswordResponse extends $tea.Model {
20344
+ export class RevokeOperatorPermissionResponse extends $tea.Model {
19167
20345
  headers?: { [key: string]: string };
19168
20346
  statusCode?: number;
19169
- body?: ResetAccountPasswordResponseBody;
20347
+ body?: RevokeOperatorPermissionResponseBody;
19170
20348
  static names(): { [key: string]: string } {
19171
20349
  return {
19172
20350
  headers: 'headers',
@@ -19179,7 +20357,7 @@ export class ResetAccountPasswordResponse extends $tea.Model {
19179
20357
  return {
19180
20358
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19181
20359
  statusCode: 'number',
19182
- body: ResetAccountPasswordResponseBody,
20360
+ body: RevokeOperatorPermissionResponseBody,
19183
20361
  };
19184
20362
  }
19185
20363
 
@@ -22241,6 +23419,29 @@ export class DescribeColumnsResponseBodyItems extends $tea.Model {
22241
23419
  }
22242
23420
  }
22243
23421
 
23422
+ export class DescribeCompactionServiceSwitchResponseBodyData extends $tea.Model {
23423
+ /**
23424
+ * @example
23425
+ * true
23426
+ */
23427
+ enableCompactionService?: boolean;
23428
+ static names(): { [key: string]: string } {
23429
+ return {
23430
+ enableCompactionService: 'EnableCompactionService',
23431
+ };
23432
+ }
23433
+
23434
+ static types(): { [key: string]: any } {
23435
+ return {
23436
+ enableCompactionService: 'boolean',
23437
+ };
23438
+ }
23439
+
23440
+ constructor(map?: { [key: string]: any }) {
23441
+ super(map);
23442
+ }
23443
+ }
23444
+
22244
23445
  export class DescribeComputeResourceUsageResponseBodyDataAcuInfo extends $tea.Model {
22245
23446
  /**
22246
23447
  * @remarks
@@ -22408,6 +23609,87 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBClusterTags extends $t
22408
23609
  }
22409
23610
  }
22410
23611
 
23612
+ export class DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepListStepList extends $tea.Model {
23613
+ endTime?: string;
23614
+ startTime?: string;
23615
+ stepDesc?: string;
23616
+ stepName?: string;
23617
+ stepProgress?: string;
23618
+ stepStatus?: string;
23619
+ static names(): { [key: string]: string } {
23620
+ return {
23621
+ endTime: 'EndTime',
23622
+ startTime: 'StartTime',
23623
+ stepDesc: 'StepDesc',
23624
+ stepName: 'StepName',
23625
+ stepProgress: 'StepProgress',
23626
+ stepStatus: 'StepStatus',
23627
+ };
23628
+ }
23629
+
23630
+ static types(): { [key: string]: any } {
23631
+ return {
23632
+ endTime: 'string',
23633
+ startTime: 'string',
23634
+ stepDesc: 'string',
23635
+ stepName: 'string',
23636
+ stepProgress: 'string',
23637
+ stepStatus: 'string',
23638
+ };
23639
+ }
23640
+
23641
+ constructor(map?: { [key: string]: any }) {
23642
+ super(map);
23643
+ }
23644
+ }
23645
+
23646
+ export class DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepList extends $tea.Model {
23647
+ stepList?: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepListStepList[];
23648
+ static names(): { [key: string]: string } {
23649
+ return {
23650
+ stepList: 'StepList',
23651
+ };
23652
+ }
23653
+
23654
+ static types(): { [key: string]: any } {
23655
+ return {
23656
+ stepList: { 'type': 'array', 'itemType': DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepListStepList },
23657
+ };
23658
+ }
23659
+
23660
+ constructor(map?: { [key: string]: any }) {
23661
+ super(map);
23662
+ }
23663
+ }
23664
+
23665
+ export class DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfo extends $tea.Model {
23666
+ name?: string;
23667
+ progress?: string;
23668
+ status?: string;
23669
+ stepList?: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepList;
23670
+ static names(): { [key: string]: string } {
23671
+ return {
23672
+ name: 'Name',
23673
+ progress: 'Progress',
23674
+ status: 'Status',
23675
+ stepList: 'StepList',
23676
+ };
23677
+ }
23678
+
23679
+ static types(): { [key: string]: any } {
23680
+ return {
23681
+ name: 'string',
23682
+ progress: 'string',
23683
+ status: 'string',
23684
+ stepList: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepList,
23685
+ };
23686
+ }
23687
+
23688
+ constructor(map?: { [key: string]: any }) {
23689
+ super(map);
23690
+ }
23691
+ }
23692
+
22411
23693
  export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.Model {
22412
23694
  /**
22413
23695
  * @remarks
@@ -22727,6 +24009,7 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
22727
24009
  * The tags that are added to the cluster.
22728
24010
  */
22729
24011
  tags?: DescribeDBClusterAttributeResponseBodyItemsDBClusterTags;
24012
+ taskInfo?: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfo;
22730
24013
  /**
22731
24014
  * @remarks
22732
24015
  * Indicates whether Elastic Network Interface (ENI) is enabled. Valid values:
@@ -22799,6 +24082,7 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
22799
24082
  storageResourceTotal: 'StorageResourceTotal',
22800
24083
  supportedFeatures: 'SupportedFeatures',
22801
24084
  tags: 'Tags',
24085
+ taskInfo: 'TaskInfo',
22802
24086
  userENIStatus: 'UserENIStatus',
22803
24087
  VPCId: 'VPCId',
22804
24088
  vSwitchId: 'VSwitchId',
@@ -22843,6 +24127,7 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
22843
24127
  storageResourceTotal: 'string',
22844
24128
  supportedFeatures: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
22845
24129
  tags: DescribeDBClusterAttributeResponseBodyItemsDBClusterTags,
24130
+ taskInfo: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfo,
22846
24131
  userENIStatus: 'boolean',
22847
24132
  VPCId: 'string',
22848
24133
  vSwitchId: 'string',
@@ -24482,6 +25767,7 @@ export class DescribeDiagnosisRecordsResponseBodyQuerys extends $tea.Model {
24482
25767
  * 1
24483
25768
  */
24484
25769
  outputRows?: number;
25770
+ patternId?: string;
24485
25771
  /**
24486
25772
  * @remarks
24487
25773
  * The peak memory. Unit: bytes.
@@ -24631,6 +25917,7 @@ export class DescribeDiagnosisRecordsResponseBodyQuerys extends $tea.Model {
24631
25917
  executionTime: 'ExecutionTime',
24632
25918
  outputDataSize: 'OutputDataSize',
24633
25919
  outputRows: 'OutputRows',
25920
+ patternId: 'PatternId',
24634
25921
  peakMemory: 'PeakMemory',
24635
25922
  processId: 'ProcessId',
24636
25923
  queryProperties: 'QueryProperties',
@@ -24660,6 +25947,7 @@ export class DescribeDiagnosisRecordsResponseBodyQuerys extends $tea.Model {
24660
25947
  executionTime: 'number',
24661
25948
  outputDataSize: 'number',
24662
25949
  outputRows: 'number',
25950
+ patternId: 'string',
24663
25951
  peakMemory: 'number',
24664
25952
  processId: 'string',
24665
25953
  queryProperties: { 'type': 'array', 'itemType': DescribeDiagnosisRecordsResponseBodyQuerysQueryProperties },
@@ -25305,6 +26593,36 @@ export class DescribeEnabledPrivilegesResponseBodyData extends $tea.Model {
25305
26593
  }
25306
26594
  }
25307
26595
 
26596
+ export class DescribeEssdCacheConfigResponseBodyData extends $tea.Model {
26597
+ /**
26598
+ * @example
26599
+ * true
26600
+ */
26601
+ enableEssdCache?: boolean;
26602
+ /**
26603
+ * @example
26604
+ * 500
26605
+ */
26606
+ essdCacheSize?: number;
26607
+ static names(): { [key: string]: string } {
26608
+ return {
26609
+ enableEssdCache: 'EnableEssdCache',
26610
+ essdCacheSize: 'EssdCacheSize',
26611
+ };
26612
+ }
26613
+
26614
+ static types(): { [key: string]: any } {
26615
+ return {
26616
+ enableEssdCache: 'boolean',
26617
+ essdCacheSize: 'number',
26618
+ };
26619
+ }
26620
+
26621
+ constructor(map?: { [key: string]: any }) {
26622
+ super(map);
26623
+ }
26624
+ }
26625
+
25308
26626
  export class DescribeExcessivePrimaryKeysResponseBodyDetectionItems extends $tea.Model {
25309
26627
  /**
25310
26628
  * @remarks
@@ -25635,6 +26953,90 @@ export class DescribeJobResourceUsageResponseBodyData extends $tea.Model {
25635
26953
  }
25636
26954
  }
25637
26955
 
26956
+ export class DescribeKernelVersionResponseBodyAvailableKernelVersions extends $tea.Model {
26957
+ /**
26958
+ * @example
26959
+ * 2025-07-17T16:00:00Z
26960
+ */
26961
+ expireDate?: string;
26962
+ /**
26963
+ * @example
26964
+ * 3.1.9
26965
+ */
26966
+ kernelVersion?: string;
26967
+ /**
26968
+ * @example
26969
+ * 2024-07-17T16:00:00Z
26970
+ */
26971
+ releaseDate?: string;
26972
+ static names(): { [key: string]: string } {
26973
+ return {
26974
+ expireDate: 'ExpireDate',
26975
+ kernelVersion: 'KernelVersion',
26976
+ releaseDate: 'ReleaseDate',
26977
+ };
26978
+ }
26979
+
26980
+ static types(): { [key: string]: any } {
26981
+ return {
26982
+ expireDate: 'string',
26983
+ kernelVersion: 'string',
26984
+ releaseDate: 'string',
26985
+ };
26986
+ }
26987
+
26988
+ constructor(map?: { [key: string]: any }) {
26989
+ super(map);
26990
+ }
26991
+ }
26992
+
26993
+ export class DescribeLakeCacheSizeResponseBodyData extends $tea.Model {
26994
+ /**
26995
+ * @example
26996
+ * 100
26997
+ */
26998
+ capacity?: number;
26999
+ /**
27000
+ * @example
27001
+ * amv-bp10b6646l07akdt
27002
+ */
27003
+ DBClusterId?: string;
27004
+ /**
27005
+ * @example
27006
+ * 100
27007
+ */
27008
+ dataSize?: number;
27009
+ /**
27010
+ * @example
27011
+ * true
27012
+ */
27013
+ enableLakeCache?: boolean;
27014
+ instances?: string[];
27015
+ static names(): { [key: string]: string } {
27016
+ return {
27017
+ capacity: 'Capacity',
27018
+ DBClusterId: 'DBClusterId',
27019
+ dataSize: 'DataSize',
27020
+ enableLakeCache: 'EnableLakeCache',
27021
+ instances: 'Instances',
27022
+ };
27023
+ }
27024
+
27025
+ static types(): { [key: string]: any } {
27026
+ return {
27027
+ capacity: 'number',
27028
+ DBClusterId: 'string',
27029
+ dataSize: 'number',
27030
+ enableLakeCache: 'boolean',
27031
+ instances: { 'type': 'array', 'itemType': 'string' },
27032
+ };
27033
+ }
27034
+
27035
+ constructor(map?: { [key: string]: any }) {
27036
+ super(map);
27037
+ }
27038
+ }
27039
+
25638
27040
  export class DescribePatternPerformanceResponseBodyPerformancesSeries extends $tea.Model {
25639
27041
  /**
25640
27042
  * @remarks
@@ -27877,6 +29279,99 @@ export class ListSparkLogAnalyzeTasksResponseBodyData extends $tea.Model {
27877
29279
  }
27878
29280
  }
27879
29281
 
29282
+ export class ListTagResourcesRequestTag extends $tea.Model {
29283
+ /**
29284
+ * @example
29285
+ * testkey1
29286
+ */
29287
+ key?: string;
29288
+ /**
29289
+ * @example
29290
+ * testvalue1
29291
+ */
29292
+ value?: string;
29293
+ static names(): { [key: string]: string } {
29294
+ return {
29295
+ key: 'Key',
29296
+ value: 'Value',
29297
+ };
29298
+ }
29299
+
29300
+ static types(): { [key: string]: any } {
29301
+ return {
29302
+ key: 'string',
29303
+ value: 'string',
29304
+ };
29305
+ }
29306
+
29307
+ constructor(map?: { [key: string]: any }) {
29308
+ super(map);
29309
+ }
29310
+ }
29311
+
29312
+ export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
29313
+ /**
29314
+ * @example
29315
+ * amv-bp1l20nxxxxxxxxxx
29316
+ */
29317
+ resourceId?: string;
29318
+ /**
29319
+ * @example
29320
+ * dbclusterlakeversion
29321
+ */
29322
+ resourceType?: string;
29323
+ /**
29324
+ * @example
29325
+ * testkey1
29326
+ */
29327
+ tagKey?: string;
29328
+ /**
29329
+ * @example
29330
+ * testvalue1
29331
+ */
29332
+ tagValue?: string;
29333
+ static names(): { [key: string]: string } {
29334
+ return {
29335
+ resourceId: 'ResourceId',
29336
+ resourceType: 'ResourceType',
29337
+ tagKey: 'TagKey',
29338
+ tagValue: 'TagValue',
29339
+ };
29340
+ }
29341
+
29342
+ static types(): { [key: string]: any } {
29343
+ return {
29344
+ resourceId: 'string',
29345
+ resourceType: 'string',
29346
+ tagKey: 'string',
29347
+ tagValue: 'string',
29348
+ };
29349
+ }
29350
+
29351
+ constructor(map?: { [key: string]: any }) {
29352
+ super(map);
29353
+ }
29354
+ }
29355
+
29356
+ export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
29357
+ tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
29358
+ static names(): { [key: string]: string } {
29359
+ return {
29360
+ tagResource: 'TagResource',
29361
+ };
29362
+ }
29363
+
29364
+ static types(): { [key: string]: any } {
29365
+ return {
29366
+ tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
29367
+ };
29368
+ }
29369
+
29370
+ constructor(map?: { [key: string]: any }) {
29371
+ super(map);
29372
+ }
29373
+ }
29374
+
27880
29375
  export class ModifyAccountPrivilegesRequestAccountPrivilegesPrivilegeObject extends $tea.Model {
27881
29376
  /**
27882
29377
  * @remarks
@@ -28009,6 +29504,39 @@ export class ModifyDBResourceGroupRequestRules extends $tea.Model {
28009
29504
  }
28010
29505
  }
28011
29506
 
29507
+ export class ModifyLakeCacheSizeResponseBodyData extends $tea.Model {
29508
+ /**
29509
+ * @example
29510
+ * 100
29511
+ */
29512
+ capacity?: number;
29513
+ /**
29514
+ * @example
29515
+ * 100
29516
+ */
29517
+ dataSize?: number;
29518
+ instances?: string[];
29519
+ static names(): { [key: string]: string } {
29520
+ return {
29521
+ capacity: 'Capacity',
29522
+ dataSize: 'DataSize',
29523
+ instances: 'Instances',
29524
+ };
29525
+ }
29526
+
29527
+ static types(): { [key: string]: any } {
29528
+ return {
29529
+ capacity: 'number',
29530
+ dataSize: 'number',
29531
+ instances: { 'type': 'array', 'itemType': 'string' },
29532
+ };
29533
+ }
29534
+
29535
+ constructor(map?: { [key: string]: any }) {
29536
+ super(map);
29537
+ }
29538
+ }
29539
+
28012
29540
  export class ModifyPerformanceViewRequestViewDetailCategoriesKeys extends $tea.Model {
28013
29541
  /**
28014
29542
  * @remarks
@@ -28234,35 +29762,6 @@ export class PreloadSparkAppMetricsResponseBodyData extends $tea.Model {
28234
29762
  }
28235
29763
  }
28236
29764
 
28237
- export class RenameSparkTemplateFileResponseBodyData extends $tea.Model {
28238
- /**
28239
- * @remarks
28240
- * Indicates whether the request was successful. Valid values:
28241
- *
28242
- * * True
28243
- * * False
28244
- *
28245
- * @example
28246
- * True
28247
- */
28248
- succeeded?: boolean;
28249
- static names(): { [key: string]: string } {
28250
- return {
28251
- succeeded: 'Succeeded',
28252
- };
28253
- }
28254
-
28255
- static types(): { [key: string]: any } {
28256
- return {
28257
- succeeded: 'boolean',
28258
- };
28259
- }
28260
-
28261
- constructor(map?: { [key: string]: any }) {
28262
- super(map);
28263
- }
28264
- }
28265
-
28266
29765
  export class SetSparkAppLogRootPathResponseBodyData extends $tea.Model {
28267
29766
  /**
28268
29767
  * @remarks
@@ -29548,6 +31047,80 @@ export default class Client extends OpenApi {
29548
31047
  return await this.deleteAccountWithOptions(request, runtime);
29549
31048
  }
29550
31049
 
31050
+ /**
31051
+ * Manually deletes backup sets.
31052
+ *
31053
+ * @remarks
31054
+ * You can delete up to 100 backup sets at a time. If you want to delete more than 100 backup sets, call this operation twice.
31055
+ * * To ensure data security, the system forcibly retains one valid backup set. If you want to delete the last backup set, the system prohibits your operation.
31056
+ *
31057
+ * @param request - DeleteBackupsRequest
31058
+ * @param runtime - runtime options for this request RuntimeOptions
31059
+ * @returns DeleteBackupsResponse
31060
+ */
31061
+ async deleteBackupsWithOptions(request: DeleteBackupsRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBackupsResponse> {
31062
+ Util.validateModel(request);
31063
+ let query = { };
31064
+ if (!Util.isUnset(request.backupIds)) {
31065
+ query["BackupIds"] = request.backupIds;
31066
+ }
31067
+
31068
+ if (!Util.isUnset(request.DBClusterId)) {
31069
+ query["DBClusterId"] = request.DBClusterId;
31070
+ }
31071
+
31072
+ if (!Util.isUnset(request.ownerAccount)) {
31073
+ query["OwnerAccount"] = request.ownerAccount;
31074
+ }
31075
+
31076
+ if (!Util.isUnset(request.ownerId)) {
31077
+ query["OwnerId"] = request.ownerId;
31078
+ }
31079
+
31080
+ if (!Util.isUnset(request.regionId)) {
31081
+ query["RegionId"] = request.regionId;
31082
+ }
31083
+
31084
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
31085
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
31086
+ }
31087
+
31088
+ if (!Util.isUnset(request.resourceOwnerId)) {
31089
+ query["ResourceOwnerId"] = request.resourceOwnerId;
31090
+ }
31091
+
31092
+ let req = new $OpenApi.OpenApiRequest({
31093
+ query: OpenApiUtil.query(query),
31094
+ });
31095
+ let params = new $OpenApi.Params({
31096
+ action: "DeleteBackups",
31097
+ version: "2021-12-01",
31098
+ protocol: "HTTPS",
31099
+ pathname: "/",
31100
+ method: "POST",
31101
+ authType: "AK",
31102
+ style: "RPC",
31103
+ reqBodyType: "formData",
31104
+ bodyType: "json",
31105
+ });
31106
+ return $tea.cast<DeleteBackupsResponse>(await this.callApi(params, req, runtime), new DeleteBackupsResponse({}));
31107
+ }
31108
+
31109
+ /**
31110
+ * Manually deletes backup sets.
31111
+ *
31112
+ * @remarks
31113
+ * You can delete up to 100 backup sets at a time. If you want to delete more than 100 backup sets, call this operation twice.
31114
+ * * To ensure data security, the system forcibly retains one valid backup set. If you want to delete the last backup set, the system prohibits your operation.
31115
+ *
31116
+ * @param request - DeleteBackupsRequest
31117
+ * @returns DeleteBackupsResponse
31118
+ */
31119
+ async deleteBackups(request: DeleteBackupsRequest): Promise<DeleteBackupsResponse> {
31120
+ let runtime = new $Util.RuntimeOptions({ });
31121
+ return await this.deleteBackupsWithOptions(request, runtime);
31122
+ }
31123
+
29551
31124
  /**
29552
31125
  * Deletes an AnalyticDB for MySQL cluster.
29553
31126
  *
@@ -31134,6 +32707,48 @@ export default class Client extends OpenApi {
31134
32707
  return await this.describeColumnsWithOptions(request, runtime);
31135
32708
  }
31136
32709
 
32710
+ /**
32711
+ * 查询CompactionService开关
32712
+ *
32713
+ * @param request - DescribeCompactionServiceSwitchRequest
32714
+ * @param runtime - runtime options for this request RuntimeOptions
32715
+ * @returns DescribeCompactionServiceSwitchResponse
32716
+ */
32717
+ async describeCompactionServiceSwitchWithOptions(request: DescribeCompactionServiceSwitchRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCompactionServiceSwitchResponse> {
32718
+ Util.validateModel(request);
32719
+ let query = { };
32720
+ if (!Util.isUnset(request.DBClusterId)) {
32721
+ query["DBClusterId"] = request.DBClusterId;
32722
+ }
32723
+
32724
+ let req = new $OpenApi.OpenApiRequest({
32725
+ query: OpenApiUtil.query(query),
32726
+ });
32727
+ let params = new $OpenApi.Params({
32728
+ action: "DescribeCompactionServiceSwitch",
32729
+ version: "2021-12-01",
32730
+ protocol: "HTTPS",
32731
+ pathname: "/",
32732
+ method: "POST",
32733
+ authType: "AK",
32734
+ style: "RPC",
32735
+ reqBodyType: "formData",
32736
+ bodyType: "json",
32737
+ });
32738
+ return $tea.cast<DescribeCompactionServiceSwitchResponse>(await this.callApi(params, req, runtime), new DescribeCompactionServiceSwitchResponse({}));
32739
+ }
32740
+
32741
+ /**
32742
+ * 查询CompactionService开关
32743
+ *
32744
+ * @param request - DescribeCompactionServiceSwitchRequest
32745
+ * @returns DescribeCompactionServiceSwitchResponse
32746
+ */
32747
+ async describeCompactionServiceSwitch(request: DescribeCompactionServiceSwitchRequest): Promise<DescribeCompactionServiceSwitchResponse> {
32748
+ let runtime = new $Util.RuntimeOptions({ });
32749
+ return await this.describeCompactionServiceSwitchWithOptions(request, runtime);
32750
+ }
32751
+
31137
32752
  /**
31138
32753
  * 获取实例计算资源使用统计
31139
32754
  *
@@ -32204,6 +33819,48 @@ export default class Client extends OpenApi {
32204
33819
  return await this.describeEnabledPrivilegesWithOptions(request, runtime);
32205
33820
  }
32206
33821
 
33822
+ /**
33823
+ * 查询EssdCache配置
33824
+ *
33825
+ * @param request - DescribeEssdCacheConfigRequest
33826
+ * @param runtime - runtime options for this request RuntimeOptions
33827
+ * @returns DescribeEssdCacheConfigResponse
33828
+ */
33829
+ async describeEssdCacheConfigWithOptions(request: DescribeEssdCacheConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEssdCacheConfigResponse> {
33830
+ Util.validateModel(request);
33831
+ let query = { };
33832
+ if (!Util.isUnset(request.DBClusterId)) {
33833
+ query["DBClusterId"] = request.DBClusterId;
33834
+ }
33835
+
33836
+ let req = new $OpenApi.OpenApiRequest({
33837
+ query: OpenApiUtil.query(query),
33838
+ });
33839
+ let params = new $OpenApi.Params({
33840
+ action: "DescribeEssdCacheConfig",
33841
+ version: "2021-12-01",
33842
+ protocol: "HTTPS",
33843
+ pathname: "/",
33844
+ method: "POST",
33845
+ authType: "AK",
33846
+ style: "RPC",
33847
+ reqBodyType: "formData",
33848
+ bodyType: "json",
33849
+ });
33850
+ return $tea.cast<DescribeEssdCacheConfigResponse>(await this.callApi(params, req, runtime), new DescribeEssdCacheConfigResponse({}));
33851
+ }
33852
+
33853
+ /**
33854
+ * 查询EssdCache配置
33855
+ *
33856
+ * @param request - DescribeEssdCacheConfigRequest
33857
+ * @returns DescribeEssdCacheConfigResponse
33858
+ */
33859
+ async describeEssdCacheConfig(request: DescribeEssdCacheConfigRequest): Promise<DescribeEssdCacheConfigResponse> {
33860
+ let runtime = new $Util.RuntimeOptions({ });
33861
+ return await this.describeEssdCacheConfigWithOptions(request, runtime);
33862
+ }
33863
+
32207
33864
  /**
32208
33865
  * Queries the information about tables that have excessive primary key fields in an AnalyticDB for MySQL Data Lakehouse Edition (V5.0) cluster.
32209
33866
  *
@@ -32346,6 +34003,164 @@ export default class Client extends OpenApi {
32346
34003
  return await this.describeJobResourceUsageWithOptions(request, runtime);
32347
34004
  }
32348
34005
 
34006
+ /**
34007
+ * 枚举实例版本信息
34008
+ *
34009
+ * @param request - DescribeKernelVersionRequest
34010
+ * @param runtime - runtime options for this request RuntimeOptions
34011
+ * @returns DescribeKernelVersionResponse
34012
+ */
34013
+ async describeKernelVersionWithOptions(request: DescribeKernelVersionRequest, runtime: $Util.RuntimeOptions): Promise<DescribeKernelVersionResponse> {
34014
+ Util.validateModel(request);
34015
+ let query = { };
34016
+ if (!Util.isUnset(request.DBClusterId)) {
34017
+ query["DBClusterId"] = request.DBClusterId;
34018
+ }
34019
+
34020
+ if (!Util.isUnset(request.ownerAccount)) {
34021
+ query["OwnerAccount"] = request.ownerAccount;
34022
+ }
34023
+
34024
+ if (!Util.isUnset(request.ownerId)) {
34025
+ query["OwnerId"] = request.ownerId;
34026
+ }
34027
+
34028
+ if (!Util.isUnset(request.regionId)) {
34029
+ query["RegionId"] = request.regionId;
34030
+ }
34031
+
34032
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
34033
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
34034
+ }
34035
+
34036
+ if (!Util.isUnset(request.resourceOwnerId)) {
34037
+ query["ResourceOwnerId"] = request.resourceOwnerId;
34038
+ }
34039
+
34040
+ let req = new $OpenApi.OpenApiRequest({
34041
+ query: OpenApiUtil.query(query),
34042
+ });
34043
+ let params = new $OpenApi.Params({
34044
+ action: "DescribeKernelVersion",
34045
+ version: "2021-12-01",
34046
+ protocol: "HTTPS",
34047
+ pathname: "/",
34048
+ method: "POST",
34049
+ authType: "AK",
34050
+ style: "RPC",
34051
+ reqBodyType: "formData",
34052
+ bodyType: "json",
34053
+ });
34054
+ return $tea.cast<DescribeKernelVersionResponse>(await this.callApi(params, req, runtime), new DescribeKernelVersionResponse({}));
34055
+ }
34056
+
34057
+ /**
34058
+ * 枚举实例版本信息
34059
+ *
34060
+ * @param request - DescribeKernelVersionRequest
34061
+ * @returns DescribeKernelVersionResponse
34062
+ */
34063
+ async describeKernelVersion(request: DescribeKernelVersionRequest): Promise<DescribeKernelVersionResponse> {
34064
+ let runtime = new $Util.RuntimeOptions({ });
34065
+ return await this.describeKernelVersionWithOptions(request, runtime);
34066
+ }
34067
+
34068
+ /**
34069
+ * 获取实例LakeCache容量
34070
+ *
34071
+ * @param request - DescribeLakeCacheSizeRequest
34072
+ * @param runtime - runtime options for this request RuntimeOptions
34073
+ * @returns DescribeLakeCacheSizeResponse
34074
+ */
34075
+ async describeLakeCacheSizeWithOptions(request: DescribeLakeCacheSizeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLakeCacheSizeResponse> {
34076
+ Util.validateModel(request);
34077
+ let query = { };
34078
+ if (!Util.isUnset(request.DBClusterId)) {
34079
+ query["DBClusterId"] = request.DBClusterId;
34080
+ }
34081
+
34082
+ let req = new $OpenApi.OpenApiRequest({
34083
+ query: OpenApiUtil.query(query),
34084
+ });
34085
+ let params = new $OpenApi.Params({
34086
+ action: "DescribeLakeCacheSize",
34087
+ version: "2021-12-01",
34088
+ protocol: "HTTPS",
34089
+ pathname: "/",
34090
+ method: "POST",
34091
+ authType: "AK",
34092
+ style: "RPC",
34093
+ reqBodyType: "formData",
34094
+ bodyType: "json",
34095
+ });
34096
+ return $tea.cast<DescribeLakeCacheSizeResponse>(await this.callApi(params, req, runtime), new DescribeLakeCacheSizeResponse({}));
34097
+ }
34098
+
34099
+ /**
34100
+ * 获取实例LakeCache容量
34101
+ *
34102
+ * @param request - DescribeLakeCacheSizeRequest
34103
+ * @returns DescribeLakeCacheSizeResponse
34104
+ */
34105
+ async describeLakeCacheSize(request: DescribeLakeCacheSizeRequest): Promise<DescribeLakeCacheSizeResponse> {
34106
+ let runtime = new $Util.RuntimeOptions({ });
34107
+ return await this.describeLakeCacheSizeWithOptions(request, runtime);
34108
+ }
34109
+
34110
+ /**
34111
+ * @param request - DescribeOperatorPermissionRequest
34112
+ * @param runtime - runtime options for this request RuntimeOptions
34113
+ * @returns DescribeOperatorPermissionResponse
34114
+ */
34115
+ async describeOperatorPermissionWithOptions(request: DescribeOperatorPermissionRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOperatorPermissionResponse> {
34116
+ Util.validateModel(request);
34117
+ let query = { };
34118
+ if (!Util.isUnset(request.DBClusterId)) {
34119
+ query["DBClusterId"] = request.DBClusterId;
34120
+ }
34121
+
34122
+ if (!Util.isUnset(request.ownerAccount)) {
34123
+ query["OwnerAccount"] = request.ownerAccount;
34124
+ }
34125
+
34126
+ if (!Util.isUnset(request.ownerId)) {
34127
+ query["OwnerId"] = request.ownerId;
34128
+ }
34129
+
34130
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
34131
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
34132
+ }
34133
+
34134
+ if (!Util.isUnset(request.resourceOwnerId)) {
34135
+ query["ResourceOwnerId"] = request.resourceOwnerId;
34136
+ }
34137
+
34138
+ let req = new $OpenApi.OpenApiRequest({
34139
+ query: OpenApiUtil.query(query),
34140
+ });
34141
+ let params = new $OpenApi.Params({
34142
+ action: "DescribeOperatorPermission",
34143
+ version: "2021-12-01",
34144
+ protocol: "HTTPS",
34145
+ pathname: "/",
34146
+ method: "POST",
34147
+ authType: "AK",
34148
+ style: "RPC",
34149
+ reqBodyType: "formData",
34150
+ bodyType: "json",
34151
+ });
34152
+ return $tea.cast<DescribeOperatorPermissionResponse>(await this.callApi(params, req, runtime), new DescribeOperatorPermissionResponse({}));
34153
+ }
34154
+
34155
+ /**
34156
+ * @param request - DescribeOperatorPermissionRequest
34157
+ * @returns DescribeOperatorPermissionResponse
34158
+ */
34159
+ async describeOperatorPermission(request: DescribeOperatorPermissionRequest): Promise<DescribeOperatorPermissionResponse> {
34160
+ let runtime = new $Util.RuntimeOptions({ });
34161
+ return await this.describeOperatorPermissionWithOptions(request, runtime);
34162
+ }
34163
+
32349
34164
  /**
32350
34165
  * Queries the information about performance metrics of an SQL pattern such as the query duration and average memory usage for an AnalyticDB for MySQL cluster within a time range.
32351
34166
  *
@@ -34030,58 +35845,6 @@ export default class Client extends OpenApi {
34030
35845
  return await this.getSparkConfigLogPathWithOptions(request, runtime);
34031
35846
  }
34032
35847
 
34033
- /**
34034
- * Queries the common definitions of Spark applications.
34035
- *
34036
- * @remarks
34037
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
34038
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
34039
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
34040
- *
34041
- * @param request - GetSparkDefinitionsRequest
34042
- * @param runtime - runtime options for this request RuntimeOptions
34043
- * @returns GetSparkDefinitionsResponse
34044
- */
34045
- async getSparkDefinitionsWithOptions(request: GetSparkDefinitionsRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkDefinitionsResponse> {
34046
- Util.validateModel(request);
34047
- let body : {[key: string ]: any} = { };
34048
- if (!Util.isUnset(request.DBClusterId)) {
34049
- body["DBClusterId"] = request.DBClusterId;
34050
- }
34051
-
34052
- let req = new $OpenApi.OpenApiRequest({
34053
- body: OpenApiUtil.parseToMap(body),
34054
- });
34055
- let params = new $OpenApi.Params({
34056
- action: "GetSparkDefinitions",
34057
- version: "2021-12-01",
34058
- protocol: "HTTPS",
34059
- pathname: "/",
34060
- method: "POST",
34061
- authType: "AK",
34062
- style: "RPC",
34063
- reqBodyType: "formData",
34064
- bodyType: "json",
34065
- });
34066
- return $tea.cast<GetSparkDefinitionsResponse>(await this.callApi(params, req, runtime), new GetSparkDefinitionsResponse({}));
34067
- }
34068
-
34069
- /**
34070
- * Queries the common definitions of Spark applications.
34071
- *
34072
- * @remarks
34073
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
34074
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
34075
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
34076
- *
34077
- * @param request - GetSparkDefinitionsRequest
34078
- * @returns GetSparkDefinitionsResponse
34079
- */
34080
- async getSparkDefinitions(request: GetSparkDefinitionsRequest): Promise<GetSparkDefinitionsResponse> {
34081
- let runtime = new $Util.RuntimeOptions({ });
34082
- return await this.getSparkDefinitionsWithOptions(request, runtime);
34083
- }
34084
-
34085
35848
  /**
34086
35849
  * Queries the results of a Spark log analysis task.
34087
35850
  *
@@ -34762,6 +36525,68 @@ export default class Client extends OpenApi {
34762
36525
  return await this.getViewObjectsWithOptions(request, runtime);
34763
36526
  }
34764
36527
 
36528
+ /**
36529
+ * @param request - GrantOperatorPermissionRequest
36530
+ * @param runtime - runtime options for this request RuntimeOptions
36531
+ * @returns GrantOperatorPermissionResponse
36532
+ */
36533
+ async grantOperatorPermissionWithOptions(request: GrantOperatorPermissionRequest, runtime: $Util.RuntimeOptions): Promise<GrantOperatorPermissionResponse> {
36534
+ Util.validateModel(request);
36535
+ let query = { };
36536
+ if (!Util.isUnset(request.DBClusterId)) {
36537
+ query["DBClusterId"] = request.DBClusterId;
36538
+ }
36539
+
36540
+ if (!Util.isUnset(request.expiredTime)) {
36541
+ query["ExpiredTime"] = request.expiredTime;
36542
+ }
36543
+
36544
+ if (!Util.isUnset(request.ownerAccount)) {
36545
+ query["OwnerAccount"] = request.ownerAccount;
36546
+ }
36547
+
36548
+ if (!Util.isUnset(request.ownerId)) {
36549
+ query["OwnerId"] = request.ownerId;
36550
+ }
36551
+
36552
+ if (!Util.isUnset(request.privileges)) {
36553
+ query["Privileges"] = request.privileges;
36554
+ }
36555
+
36556
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
36557
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
36558
+ }
36559
+
36560
+ if (!Util.isUnset(request.resourceOwnerId)) {
36561
+ query["ResourceOwnerId"] = request.resourceOwnerId;
36562
+ }
36563
+
36564
+ let req = new $OpenApi.OpenApiRequest({
36565
+ query: OpenApiUtil.query(query),
36566
+ });
36567
+ let params = new $OpenApi.Params({
36568
+ action: "GrantOperatorPermission",
36569
+ version: "2021-12-01",
36570
+ protocol: "HTTPS",
36571
+ pathname: "/",
36572
+ method: "POST",
36573
+ authType: "AK",
36574
+ style: "RPC",
36575
+ reqBodyType: "formData",
36576
+ bodyType: "json",
36577
+ });
36578
+ return $tea.cast<GrantOperatorPermissionResponse>(await this.callApi(params, req, runtime), new GrantOperatorPermissionResponse({}));
36579
+ }
36580
+
36581
+ /**
36582
+ * @param request - GrantOperatorPermissionRequest
36583
+ * @returns GrantOperatorPermissionResponse
36584
+ */
36585
+ async grantOperatorPermission(request: GrantOperatorPermissionRequest): Promise<GrantOperatorPermissionResponse> {
36586
+ let runtime = new $Util.RuntimeOptions({ });
36587
+ return await this.grantOperatorPermissionWithOptions(request, runtime);
36588
+ }
36589
+
34765
36590
  /**
34766
36591
  * Terminates a Spark application.
34767
36592
  *
@@ -35158,6 +36983,76 @@ export default class Client extends OpenApi {
35158
36983
  return await this.listSparkTemplateFileIdsWithOptions(request, runtime);
35159
36984
  }
35160
36985
 
36986
+ /**
36987
+ * @param request - ListTagResourcesRequest
36988
+ * @param runtime - runtime options for this request RuntimeOptions
36989
+ * @returns ListTagResourcesResponse
36990
+ */
36991
+ async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
36992
+ Util.validateModel(request);
36993
+ let query = { };
36994
+ if (!Util.isUnset(request.nextToken)) {
36995
+ query["NextToken"] = request.nextToken;
36996
+ }
36997
+
36998
+ if (!Util.isUnset(request.ownerAccount)) {
36999
+ query["OwnerAccount"] = request.ownerAccount;
37000
+ }
37001
+
37002
+ if (!Util.isUnset(request.ownerId)) {
37003
+ query["OwnerId"] = request.ownerId;
37004
+ }
37005
+
37006
+ if (!Util.isUnset(request.regionId)) {
37007
+ query["RegionId"] = request.regionId;
37008
+ }
37009
+
37010
+ if (!Util.isUnset(request.resourceId)) {
37011
+ query["ResourceId"] = request.resourceId;
37012
+ }
37013
+
37014
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
37015
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
37016
+ }
37017
+
37018
+ if (!Util.isUnset(request.resourceOwnerId)) {
37019
+ query["ResourceOwnerId"] = request.resourceOwnerId;
37020
+ }
37021
+
37022
+ if (!Util.isUnset(request.resourceType)) {
37023
+ query["ResourceType"] = request.resourceType;
37024
+ }
37025
+
37026
+ if (!Util.isUnset(request.tag)) {
37027
+ query["Tag"] = request.tag;
37028
+ }
37029
+
37030
+ let req = new $OpenApi.OpenApiRequest({
37031
+ query: OpenApiUtil.query(query),
37032
+ });
37033
+ let params = new $OpenApi.Params({
37034
+ action: "ListTagResources",
37035
+ version: "2021-12-01",
37036
+ protocol: "HTTPS",
37037
+ pathname: "/",
37038
+ method: "POST",
37039
+ authType: "AK",
37040
+ style: "RPC",
37041
+ reqBodyType: "formData",
37042
+ bodyType: "json",
37043
+ });
37044
+ return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
37045
+ }
37046
+
37047
+ /**
37048
+ * @param request - ListTagResourcesRequest
37049
+ * @returns ListTagResourcesResponse
37050
+ */
37051
+ async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
37052
+ let runtime = new $Util.RuntimeOptions({ });
37053
+ return await this.listTagResourcesWithOptions(request, runtime);
37054
+ }
37055
+
35161
37056
  /**
35162
37057
  * Loads a built-in dataset.
35163
37058
  *
@@ -35616,6 +37511,52 @@ export default class Client extends OpenApi {
35616
37511
  return await this.modifyClusterConnectionStringWithOptions(request, runtime);
35617
37512
  }
35618
37513
 
37514
+ /**
37515
+ * 修改CompactionService开关
37516
+ *
37517
+ * @param request - ModifyCompactionServiceSwitchRequest
37518
+ * @param runtime - runtime options for this request RuntimeOptions
37519
+ * @returns ModifyCompactionServiceSwitchResponse
37520
+ */
37521
+ async modifyCompactionServiceSwitchWithOptions(request: ModifyCompactionServiceSwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCompactionServiceSwitchResponse> {
37522
+ Util.validateModel(request);
37523
+ let query = { };
37524
+ if (!Util.isUnset(request.DBClusterId)) {
37525
+ query["DBClusterId"] = request.DBClusterId;
37526
+ }
37527
+
37528
+ if (!Util.isUnset(request.enableCompactionService)) {
37529
+ query["EnableCompactionService"] = request.enableCompactionService;
37530
+ }
37531
+
37532
+ let req = new $OpenApi.OpenApiRequest({
37533
+ query: OpenApiUtil.query(query),
37534
+ });
37535
+ let params = new $OpenApi.Params({
37536
+ action: "ModifyCompactionServiceSwitch",
37537
+ version: "2021-12-01",
37538
+ protocol: "HTTPS",
37539
+ pathname: "/",
37540
+ method: "POST",
37541
+ authType: "AK",
37542
+ style: "RPC",
37543
+ reqBodyType: "formData",
37544
+ bodyType: "json",
37545
+ });
37546
+ return $tea.cast<ModifyCompactionServiceSwitchResponse>(await this.callApi(params, req, runtime), new ModifyCompactionServiceSwitchResponse({}));
37547
+ }
37548
+
37549
+ /**
37550
+ * 修改CompactionService开关
37551
+ *
37552
+ * @param request - ModifyCompactionServiceSwitchRequest
37553
+ * @returns ModifyCompactionServiceSwitchResponse
37554
+ */
37555
+ async modifyCompactionServiceSwitch(request: ModifyCompactionServiceSwitchRequest): Promise<ModifyCompactionServiceSwitchResponse> {
37556
+ let runtime = new $Util.RuntimeOptions({ });
37557
+ return await this.modifyCompactionServiceSwitchWithOptions(request, runtime);
37558
+ }
37559
+
35619
37560
  /**
35620
37561
  * Changes the configurations of an AnalyticDB for MySQL Data Lakehouse Edition cluster.
35621
37562
  *
@@ -35820,6 +37761,122 @@ export default class Client extends OpenApi {
35820
37761
  return await this.modifyDBClusterMaintainTimeWithOptions(request, runtime);
35821
37762
  }
35822
37763
 
37764
+ /**
37765
+ * 修改资源组
37766
+ *
37767
+ * @param request - ModifyDBClusterResourceGroupRequest
37768
+ * @param runtime - runtime options for this request RuntimeOptions
37769
+ * @returns ModifyDBClusterResourceGroupResponse
37770
+ */
37771
+ async modifyDBClusterResourceGroupWithOptions(request: ModifyDBClusterResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterResourceGroupResponse> {
37772
+ Util.validateModel(request);
37773
+ let query = { };
37774
+ if (!Util.isUnset(request.DBClusterId)) {
37775
+ query["DBClusterId"] = request.DBClusterId;
37776
+ }
37777
+
37778
+ if (!Util.isUnset(request.newResourceGroupId)) {
37779
+ query["NewResourceGroupId"] = request.newResourceGroupId;
37780
+ }
37781
+
37782
+ if (!Util.isUnset(request.ownerAccount)) {
37783
+ query["OwnerAccount"] = request.ownerAccount;
37784
+ }
37785
+
37786
+ if (!Util.isUnset(request.ownerId)) {
37787
+ query["OwnerId"] = request.ownerId;
37788
+ }
37789
+
37790
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
37791
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
37792
+ }
37793
+
37794
+ if (!Util.isUnset(request.resourceOwnerId)) {
37795
+ query["ResourceOwnerId"] = request.resourceOwnerId;
37796
+ }
37797
+
37798
+ let req = new $OpenApi.OpenApiRequest({
37799
+ query: OpenApiUtil.query(query),
37800
+ });
37801
+ let params = new $OpenApi.Params({
37802
+ action: "ModifyDBClusterResourceGroup",
37803
+ version: "2021-12-01",
37804
+ protocol: "HTTPS",
37805
+ pathname: "/",
37806
+ method: "POST",
37807
+ authType: "AK",
37808
+ style: "RPC",
37809
+ reqBodyType: "formData",
37810
+ bodyType: "json",
37811
+ });
37812
+ return $tea.cast<ModifyDBClusterResourceGroupResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterResourceGroupResponse({}));
37813
+ }
37814
+
37815
+ /**
37816
+ * 修改资源组
37817
+ *
37818
+ * @param request - ModifyDBClusterResourceGroupRequest
37819
+ * @returns ModifyDBClusterResourceGroupResponse
37820
+ */
37821
+ async modifyDBClusterResourceGroup(request: ModifyDBClusterResourceGroupRequest): Promise<ModifyDBClusterResourceGroupResponse> {
37822
+ let runtime = new $Util.RuntimeOptions({ });
37823
+ return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
37824
+ }
37825
+
37826
+ /**
37827
+ * Changes the virtual private cloud (VPC) and vSwitch for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
37828
+ *
37829
+ * @param request - ModifyDBClusterVipRequest
37830
+ * @param runtime - runtime options for this request RuntimeOptions
37831
+ * @returns ModifyDBClusterVipResponse
37832
+ */
37833
+ async modifyDBClusterVipWithOptions(request: ModifyDBClusterVipRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterVipResponse> {
37834
+ Util.validateModel(request);
37835
+ let query = { };
37836
+ if (!Util.isUnset(request.connectString)) {
37837
+ query["ConnectString"] = request.connectString;
37838
+ }
37839
+
37840
+ if (!Util.isUnset(request.DBClusterId)) {
37841
+ query["DBClusterId"] = request.DBClusterId;
37842
+ }
37843
+
37844
+ if (!Util.isUnset(request.VPCId)) {
37845
+ query["VPCId"] = request.VPCId;
37846
+ }
37847
+
37848
+ if (!Util.isUnset(request.vSwitchId)) {
37849
+ query["VSwitchId"] = request.vSwitchId;
37850
+ }
37851
+
37852
+ let req = new $OpenApi.OpenApiRequest({
37853
+ query: OpenApiUtil.query(query),
37854
+ });
37855
+ let params = new $OpenApi.Params({
37856
+ action: "ModifyDBClusterVip",
37857
+ version: "2021-12-01",
37858
+ protocol: "HTTPS",
37859
+ pathname: "/",
37860
+ method: "POST",
37861
+ authType: "AK",
37862
+ style: "RPC",
37863
+ reqBodyType: "formData",
37864
+ bodyType: "json",
37865
+ });
37866
+ return $tea.cast<ModifyDBClusterVipResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterVipResponse({}));
37867
+ }
37868
+
37869
+ /**
37870
+ * Changes the virtual private cloud (VPC) and vSwitch for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
37871
+ *
37872
+ * @param request - ModifyDBClusterVipRequest
37873
+ * @returns ModifyDBClusterVipResponse
37874
+ */
37875
+ async modifyDBClusterVip(request: ModifyDBClusterVipRequest): Promise<ModifyDBClusterVipResponse> {
37876
+ let runtime = new $Util.RuntimeOptions({ });
37877
+ return await this.modifyDBClusterVipWithOptions(request, runtime);
37878
+ }
37879
+
35823
37880
  /**
35824
37881
  * Modifies the amount of reserved computing resources for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
35825
37882
  *
@@ -36018,6 +38075,106 @@ export default class Client extends OpenApi {
36018
38075
  return await this.modifyElasticPlanWithOptions(request, runtime);
36019
38076
  }
36020
38077
 
38078
+ /**
38079
+ * 修改Essd Cache开关
38080
+ *
38081
+ * @param request - ModifyEssdCacheConfigRequest
38082
+ * @param runtime - runtime options for this request RuntimeOptions
38083
+ * @returns ModifyEssdCacheConfigResponse
38084
+ */
38085
+ async modifyEssdCacheConfigWithOptions(request: ModifyEssdCacheConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyEssdCacheConfigResponse> {
38086
+ Util.validateModel(request);
38087
+ let query = { };
38088
+ if (!Util.isUnset(request.DBClusterId)) {
38089
+ query["DBClusterId"] = request.DBClusterId;
38090
+ }
38091
+
38092
+ if (!Util.isUnset(request.enableEssdCache)) {
38093
+ query["EnableEssdCache"] = request.enableEssdCache;
38094
+ }
38095
+
38096
+ if (!Util.isUnset(request.essdCacheSize)) {
38097
+ query["EssdCacheSize"] = request.essdCacheSize;
38098
+ }
38099
+
38100
+ let req = new $OpenApi.OpenApiRequest({
38101
+ query: OpenApiUtil.query(query),
38102
+ });
38103
+ let params = new $OpenApi.Params({
38104
+ action: "ModifyEssdCacheConfig",
38105
+ version: "2021-12-01",
38106
+ protocol: "HTTPS",
38107
+ pathname: "/",
38108
+ method: "POST",
38109
+ authType: "AK",
38110
+ style: "RPC",
38111
+ reqBodyType: "formData",
38112
+ bodyType: "json",
38113
+ });
38114
+ return $tea.cast<ModifyEssdCacheConfigResponse>(await this.callApi(params, req, runtime), new ModifyEssdCacheConfigResponse({}));
38115
+ }
38116
+
38117
+ /**
38118
+ * 修改Essd Cache开关
38119
+ *
38120
+ * @param request - ModifyEssdCacheConfigRequest
38121
+ * @returns ModifyEssdCacheConfigResponse
38122
+ */
38123
+ async modifyEssdCacheConfig(request: ModifyEssdCacheConfigRequest): Promise<ModifyEssdCacheConfigResponse> {
38124
+ let runtime = new $Util.RuntimeOptions({ });
38125
+ return await this.modifyEssdCacheConfigWithOptions(request, runtime);
38126
+ }
38127
+
38128
+ /**
38129
+ * 修改实例LakeCache容量
38130
+ *
38131
+ * @param request - ModifyLakeCacheSizeRequest
38132
+ * @param runtime - runtime options for this request RuntimeOptions
38133
+ * @returns ModifyLakeCacheSizeResponse
38134
+ */
38135
+ async modifyLakeCacheSizeWithOptions(request: ModifyLakeCacheSizeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLakeCacheSizeResponse> {
38136
+ Util.validateModel(request);
38137
+ let query = { };
38138
+ if (!Util.isUnset(request.capacity)) {
38139
+ query["Capacity"] = request.capacity;
38140
+ }
38141
+
38142
+ if (!Util.isUnset(request.DBClusterId)) {
38143
+ query["DBClusterId"] = request.DBClusterId;
38144
+ }
38145
+
38146
+ if (!Util.isUnset(request.enableLakeCache)) {
38147
+ query["EnableLakeCache"] = request.enableLakeCache;
38148
+ }
38149
+
38150
+ let req = new $OpenApi.OpenApiRequest({
38151
+ query: OpenApiUtil.query(query),
38152
+ });
38153
+ let params = new $OpenApi.Params({
38154
+ action: "ModifyLakeCacheSize",
38155
+ version: "2021-12-01",
38156
+ protocol: "HTTPS",
38157
+ pathname: "/",
38158
+ method: "POST",
38159
+ authType: "AK",
38160
+ style: "RPC",
38161
+ reqBodyType: "formData",
38162
+ bodyType: "json",
38163
+ });
38164
+ return $tea.cast<ModifyLakeCacheSizeResponse>(await this.callApi(params, req, runtime), new ModifyLakeCacheSizeResponse({}));
38165
+ }
38166
+
38167
+ /**
38168
+ * 修改实例LakeCache容量
38169
+ *
38170
+ * @param request - ModifyLakeCacheSizeRequest
38171
+ * @returns ModifyLakeCacheSizeResponse
38172
+ */
38173
+ async modifyLakeCacheSize(request: ModifyLakeCacheSizeRequest): Promise<ModifyLakeCacheSizeResponse> {
38174
+ let runtime = new $Util.RuntimeOptions({ });
38175
+ return await this.modifyLakeCacheSizeWithOptions(request, runtime);
38176
+ }
38177
+
36021
38178
  /**
36022
38179
  * Modifies the information about a custom monitoring view.
36023
38180
  *
@@ -36205,37 +38362,43 @@ export default class Client extends OpenApi {
36205
38362
  }
36206
38363
 
36207
38364
  /**
36208
- * Renames a Spark template file.
38365
+ * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36209
38366
  *
36210
38367
  * @remarks
36211
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
36212
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
36213
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
38368
+ * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36214
38369
  *
36215
- * @param request - RenameSparkTemplateFileRequest
38370
+ * @param request - ResetAccountPasswordRequest
36216
38371
  * @param runtime - runtime options for this request RuntimeOptions
36217
- * @returns RenameSparkTemplateFileResponse
38372
+ * @returns ResetAccountPasswordResponse
36218
38373
  */
36219
- async renameSparkTemplateFileWithOptions(request: RenameSparkTemplateFileRequest, runtime: $Util.RuntimeOptions): Promise<RenameSparkTemplateFileResponse> {
38374
+ async resetAccountPasswordWithOptions(request: ResetAccountPasswordRequest, runtime: $Util.RuntimeOptions): Promise<ResetAccountPasswordResponse> {
36220
38375
  Util.validateModel(request);
36221
38376
  let query = { };
36222
- if (!Util.isUnset(request.DBClusterId)) {
36223
- query["DBClusterId"] = request.DBClusterId;
38377
+ if (!Util.isUnset(request.accountDescription)) {
38378
+ query["AccountDescription"] = request.accountDescription;
36224
38379
  }
36225
38380
 
36226
- if (!Util.isUnset(request.id)) {
36227
- query["Id"] = request.id;
38381
+ if (!Util.isUnset(request.accountName)) {
38382
+ query["AccountName"] = request.accountName;
36228
38383
  }
36229
38384
 
36230
- if (!Util.isUnset(request.name)) {
36231
- query["Name"] = request.name;
38385
+ if (!Util.isUnset(request.accountPassword)) {
38386
+ query["AccountPassword"] = request.accountPassword;
38387
+ }
38388
+
38389
+ if (!Util.isUnset(request.DBClusterId)) {
38390
+ query["DBClusterId"] = request.DBClusterId;
38391
+ }
38392
+
38393
+ if (!Util.isUnset(request.engine)) {
38394
+ query["Engine"] = request.engine;
36232
38395
  }
36233
38396
 
36234
38397
  let req = new $OpenApi.OpenApiRequest({
36235
38398
  query: OpenApiUtil.query(query),
36236
38399
  });
36237
38400
  let params = new $OpenApi.Params({
36238
- action: "RenameSparkTemplateFile",
38401
+ action: "ResetAccountPassword",
36239
38402
  version: "2021-12-01",
36240
38403
  protocol: "HTTPS",
36241
38404
  pathname: "/",
@@ -36245,63 +38408,56 @@ export default class Client extends OpenApi {
36245
38408
  reqBodyType: "formData",
36246
38409
  bodyType: "json",
36247
38410
  });
36248
- return $tea.cast<RenameSparkTemplateFileResponse>(await this.callApi(params, req, runtime), new RenameSparkTemplateFileResponse({}));
38411
+ return $tea.cast<ResetAccountPasswordResponse>(await this.callApi(params, req, runtime), new ResetAccountPasswordResponse({}));
36249
38412
  }
36250
38413
 
36251
38414
  /**
36252
- * Renames a Spark template file.
38415
+ * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36253
38416
  *
36254
38417
  * @remarks
36255
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
36256
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
36257
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
38418
+ * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36258
38419
  *
36259
- * @param request - RenameSparkTemplateFileRequest
36260
- * @returns RenameSparkTemplateFileResponse
38420
+ * @param request - ResetAccountPasswordRequest
38421
+ * @returns ResetAccountPasswordResponse
36261
38422
  */
36262
- async renameSparkTemplateFile(request: RenameSparkTemplateFileRequest): Promise<RenameSparkTemplateFileResponse> {
38423
+ async resetAccountPassword(request: ResetAccountPasswordRequest): Promise<ResetAccountPasswordResponse> {
36263
38424
  let runtime = new $Util.RuntimeOptions({ });
36264
- return await this.renameSparkTemplateFileWithOptions(request, runtime);
38425
+ return await this.resetAccountPasswordWithOptions(request, runtime);
36265
38426
  }
36266
38427
 
36267
38428
  /**
36268
- * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36269
- *
36270
- * @remarks
36271
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36272
- *
36273
- * @param request - ResetAccountPasswordRequest
38429
+ * @param request - RevokeOperatorPermissionRequest
36274
38430
  * @param runtime - runtime options for this request RuntimeOptions
36275
- * @returns ResetAccountPasswordResponse
38431
+ * @returns RevokeOperatorPermissionResponse
36276
38432
  */
36277
- async resetAccountPasswordWithOptions(request: ResetAccountPasswordRequest, runtime: $Util.RuntimeOptions): Promise<ResetAccountPasswordResponse> {
38433
+ async revokeOperatorPermissionWithOptions(request: RevokeOperatorPermissionRequest, runtime: $Util.RuntimeOptions): Promise<RevokeOperatorPermissionResponse> {
36278
38434
  Util.validateModel(request);
36279
38435
  let query = { };
36280
- if (!Util.isUnset(request.accountDescription)) {
36281
- query["AccountDescription"] = request.accountDescription;
38436
+ if (!Util.isUnset(request.DBClusterId)) {
38437
+ query["DBClusterId"] = request.DBClusterId;
36282
38438
  }
36283
38439
 
36284
- if (!Util.isUnset(request.accountName)) {
36285
- query["AccountName"] = request.accountName;
38440
+ if (!Util.isUnset(request.ownerAccount)) {
38441
+ query["OwnerAccount"] = request.ownerAccount;
36286
38442
  }
36287
38443
 
36288
- if (!Util.isUnset(request.accountPassword)) {
36289
- query["AccountPassword"] = request.accountPassword;
38444
+ if (!Util.isUnset(request.ownerId)) {
38445
+ query["OwnerId"] = request.ownerId;
36290
38446
  }
36291
38447
 
36292
- if (!Util.isUnset(request.DBClusterId)) {
36293
- query["DBClusterId"] = request.DBClusterId;
38448
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
38449
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
36294
38450
  }
36295
38451
 
36296
- if (!Util.isUnset(request.engine)) {
36297
- query["Engine"] = request.engine;
38452
+ if (!Util.isUnset(request.resourceOwnerId)) {
38453
+ query["ResourceOwnerId"] = request.resourceOwnerId;
36298
38454
  }
36299
38455
 
36300
38456
  let req = new $OpenApi.OpenApiRequest({
36301
38457
  query: OpenApiUtil.query(query),
36302
38458
  });
36303
38459
  let params = new $OpenApi.Params({
36304
- action: "ResetAccountPassword",
38460
+ action: "RevokeOperatorPermission",
36305
38461
  version: "2021-12-01",
36306
38462
  protocol: "HTTPS",
36307
38463
  pathname: "/",
@@ -36311,21 +38467,16 @@ export default class Client extends OpenApi {
36311
38467
  reqBodyType: "formData",
36312
38468
  bodyType: "json",
36313
38469
  });
36314
- return $tea.cast<ResetAccountPasswordResponse>(await this.callApi(params, req, runtime), new ResetAccountPasswordResponse({}));
38470
+ return $tea.cast<RevokeOperatorPermissionResponse>(await this.callApi(params, req, runtime), new RevokeOperatorPermissionResponse({}));
36315
38471
  }
36316
38472
 
36317
38473
  /**
36318
- * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36319
- *
36320
- * @remarks
36321
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36322
- *
36323
- * @param request - ResetAccountPasswordRequest
36324
- * @returns ResetAccountPasswordResponse
38474
+ * @param request - RevokeOperatorPermissionRequest
38475
+ * @returns RevokeOperatorPermissionResponse
36325
38476
  */
36326
- async resetAccountPassword(request: ResetAccountPasswordRequest): Promise<ResetAccountPasswordResponse> {
38477
+ async revokeOperatorPermission(request: RevokeOperatorPermissionRequest): Promise<RevokeOperatorPermissionResponse> {
36327
38478
  let runtime = new $Util.RuntimeOptions({ });
36328
- return await this.resetAccountPasswordWithOptions(request, runtime);
38479
+ return await this.revokeOperatorPermissionWithOptions(request, runtime);
36329
38480
  }
36330
38481
 
36331
38482
  /**