@alicloud/adb20211201 2.0.7 → 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
@@ -2462,6 +2462,7 @@ export class CreateDBClusterResponse extends $tea.Model {
2462
2462
  }
2463
2463
 
2464
2464
  export class CreateDBResourceGroupRequest extends $tea.Model {
2465
+ autoStopInterval?: string;
2465
2466
  /**
2466
2467
  * @remarks
2467
2468
  * A reserved parameter.
@@ -2589,6 +2590,7 @@ export class CreateDBResourceGroupRequest extends $tea.Model {
2589
2590
  targetResourceGroupName?: string;
2590
2591
  static names(): { [key: string]: string } {
2591
2592
  return {
2593
+ autoStopInterval: 'AutoStopInterval',
2592
2594
  clusterMode: 'ClusterMode',
2593
2595
  clusterSizeResource: 'ClusterSizeResource',
2594
2596
  DBClusterId: 'DBClusterId',
@@ -2612,6 +2614,7 @@ export class CreateDBResourceGroupRequest extends $tea.Model {
2612
2614
 
2613
2615
  static types(): { [key: string]: any } {
2614
2616
  return {
2617
+ autoStopInterval: 'string',
2615
2618
  clusterMode: 'string',
2616
2619
  clusterSizeResource: 'string',
2617
2620
  DBClusterId: 'string',
@@ -2639,6 +2642,7 @@ export class CreateDBResourceGroupRequest extends $tea.Model {
2639
2642
  }
2640
2643
 
2641
2644
  export class CreateDBResourceGroupShrinkRequest extends $tea.Model {
2645
+ autoStopInterval?: string;
2642
2646
  /**
2643
2647
  * @remarks
2644
2648
  * A reserved parameter.
@@ -2766,6 +2770,7 @@ export class CreateDBResourceGroupShrinkRequest extends $tea.Model {
2766
2770
  targetResourceGroupName?: string;
2767
2771
  static names(): { [key: string]: string } {
2768
2772
  return {
2773
+ autoStopInterval: 'AutoStopInterval',
2769
2774
  clusterMode: 'ClusterMode',
2770
2775
  clusterSizeResource: 'ClusterSizeResource',
2771
2776
  DBClusterId: 'DBClusterId',
@@ -2789,6 +2794,7 @@ export class CreateDBResourceGroupShrinkRequest extends $tea.Model {
2789
2794
 
2790
2795
  static types(): { [key: string]: any } {
2791
2796
  return {
2797
+ autoStopInterval: 'string',
2792
2798
  clusterMode: 'string',
2793
2799
  clusterSizeResource: 'string',
2794
2800
  DBClusterId: 'string',
@@ -3745,6 +3751,119 @@ export class DeleteAccountResponse extends $tea.Model {
3745
3751
  }
3746
3752
  }
3747
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
+
3748
3867
  export class DeleteDBClusterRequest extends $tea.Model {
3749
3868
  /**
3750
3869
  * @remarks
@@ -7407,6 +7526,83 @@ export class DescribeColumnsResponse extends $tea.Model {
7407
7526
  }
7408
7527
  }
7409
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
+
7410
7606
  export class DescribeComputeResourceUsageRequest extends $tea.Model {
7411
7607
  /**
7412
7608
  * @remarks
@@ -10101,6 +10297,83 @@ export class DescribeEnabledPrivilegesResponse extends $tea.Model {
10101
10297
  }
10102
10298
  }
10103
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
+
10104
10377
  export class DescribeExcessivePrimaryKeysRequest extends $tea.Model {
10105
10378
  /**
10106
10379
  * @remarks
@@ -10491,6 +10764,314 @@ export class DescribeJobResourceUsageResponse extends $tea.Model {
10491
10764
  }
10492
10765
  }
10493
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
+
10494
11075
  export class DescribePatternPerformanceRequest extends $tea.Model {
10495
11076
  /**
10496
11077
  * @remarks
@@ -10574,6 +11155,7 @@ export class DescribePatternPerformanceRequest extends $tea.Model {
10574
11155
  }
10575
11156
 
10576
11157
  export class DescribePatternPerformanceResponseBody extends $tea.Model {
11158
+ accessIp?: string;
10577
11159
  /**
10578
11160
  * @remarks
10579
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.
@@ -10582,11 +11164,13 @@ export class DescribePatternPerformanceResponseBody extends $tea.Model {
10582
11164
  * 2022-08-22T01:06:00Z
10583
11165
  */
10584
11166
  endTime?: string;
11167
+ failedCount?: number;
10585
11168
  /**
10586
11169
  * @remarks
10587
11170
  * The queried performance metrics.
10588
11171
  */
10589
11172
  performances?: DescribePatternPerformanceResponseBodyPerformances[];
11173
+ queryCount?: number;
10590
11174
  /**
10591
11175
  * @remarks
10592
11176
  * The request ID.
@@ -10595,6 +11179,7 @@ export class DescribePatternPerformanceResponseBody extends $tea.Model {
10595
11179
  * F21AF487-B8C9-57E0-8E3A-A92BC3611FB6
10596
11180
  */
10597
11181
  requestId?: string;
11182
+ SQLPattern?: string;
10598
11183
  /**
10599
11184
  * @remarks
10600
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.
@@ -10603,21 +11188,35 @@ export class DescribePatternPerformanceResponseBody extends $tea.Model {
10603
11188
  * 2022-08-21T02:15:00Z
10604
11189
  */
10605
11190
  startTime?: string;
11191
+ tables?: string;
11192
+ user?: string;
10606
11193
  static names(): { [key: string]: string } {
10607
11194
  return {
11195
+ accessIp: 'AccessIp',
10608
11196
  endTime: 'EndTime',
11197
+ failedCount: 'FailedCount',
10609
11198
  performances: 'Performances',
11199
+ queryCount: 'QueryCount',
10610
11200
  requestId: 'RequestId',
11201
+ SQLPattern: 'SQLPattern',
10611
11202
  startTime: 'StartTime',
11203
+ tables: 'Tables',
11204
+ user: 'User',
10612
11205
  };
10613
11206
  }
10614
11207
 
10615
11208
  static types(): { [key: string]: any } {
10616
11209
  return {
11210
+ accessIp: 'string',
10617
11211
  endTime: 'string',
11212
+ failedCount: 'number',
10618
11213
  performances: { 'type': 'array', 'itemType': DescribePatternPerformanceResponseBodyPerformances },
11214
+ queryCount: 'number',
10619
11215
  requestId: 'string',
11216
+ SQLPattern: 'string',
10620
11217
  startTime: 'string',
11218
+ tables: 'string',
11219
+ user: 'string',
10621
11220
  };
10622
11221
  }
10623
11222
 
@@ -14220,114 +14819,6 @@ export class GetSparkConfigLogPathResponse extends $tea.Model {
14220
14819
  }
14221
14820
  }
14222
14821
 
14223
- export class GetSparkDefinitionsRequest extends $tea.Model {
14224
- /**
14225
- * @remarks
14226
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
14227
- *
14228
- * @example
14229
- * amv-clusterxxx
14230
- */
14231
- DBClusterId?: string;
14232
- static names(): { [key: string]: string } {
14233
- return {
14234
- DBClusterId: 'DBClusterId',
14235
- };
14236
- }
14237
-
14238
- static types(): { [key: string]: any } {
14239
- return {
14240
- DBClusterId: 'string',
14241
- };
14242
- }
14243
-
14244
- constructor(map?: { [key: string]: any }) {
14245
- super(map);
14246
- }
14247
- }
14248
-
14249
- export class GetSparkDefinitionsResponseBody extends $tea.Model {
14250
- /**
14251
- * @remarks
14252
- * The common definitions of Spark applications.
14253
- *
14254
- * @example
14255
- * {"SQLTemplateExample": "-- Here is just an example of SparkSQL. Modify the content and run your spark program.
14256
- * conf spark.driver.resourceSpec=medium;
14257
- * conf spark.executor.instances=2;
14258
- * conf spark.executor.resourceSpec=medium;
14259
- * conf spark.app.name=Spark SQL Test;
14260
- * conf spark.adb.connectors=oss;
14261
- *
14262
- * -- Here are your sql statements
14263
- * show databases;",
14264
- * "BatchTemplateExample": "{
14265
- * "comments": [
14266
- * "-- Here is just an example of SparkPi. Modify the content and run your spark program."
14267
- * ],
14268
- * "args": ["1000"],
14269
- * "file":"local:///tmp/spark-examples.jar",
14270
- * "name": "SparkPi",
14271
- * "className": "org.apache.spark.examples.SparkPi",
14272
- * "conf": { "spark.driver.resourceSpec": "medium",
14273
- * "spark.executor.instances": 2,
14274
- * "spark.executor.resourceSpec": "medium"
14275
- * }
14276
- * }"
14277
- */
14278
- data?: string;
14279
- /**
14280
- * @remarks
14281
- * The ID of the request.
14282
- *
14283
- * @example
14284
- * D65A809F-34CE-4550-9BC1-0ED21ETG380
14285
- */
14286
- requestId?: string;
14287
- static names(): { [key: string]: string } {
14288
- return {
14289
- data: 'Data',
14290
- requestId: 'RequestId',
14291
- };
14292
- }
14293
-
14294
- static types(): { [key: string]: any } {
14295
- return {
14296
- data: 'string',
14297
- requestId: 'string',
14298
- };
14299
- }
14300
-
14301
- constructor(map?: { [key: string]: any }) {
14302
- super(map);
14303
- }
14304
- }
14305
-
14306
- export class GetSparkDefinitionsResponse extends $tea.Model {
14307
- headers?: { [key: string]: string };
14308
- statusCode?: number;
14309
- body?: GetSparkDefinitionsResponseBody;
14310
- static names(): { [key: string]: string } {
14311
- return {
14312
- headers: 'headers',
14313
- statusCode: 'statusCode',
14314
- body: 'body',
14315
- };
14316
- }
14317
-
14318
- static types(): { [key: string]: any } {
14319
- return {
14320
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14321
- statusCode: 'number',
14322
- body: GetSparkDefinitionsResponseBody,
14323
- };
14324
- }
14325
-
14326
- constructor(map?: { [key: string]: any }) {
14327
- super(map);
14328
- }
14329
- }
14330
-
14331
14822
  export class GetSparkLogAnalyzeTaskRequest extends $tea.Model {
14332
14823
  /**
14333
14824
  * @remarks
@@ -15885,6 +16376,112 @@ export class GetViewObjectsResponse extends $tea.Model {
15885
16376
  }
15886
16377
  }
15887
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
+
15888
16485
  export class KillSparkAppRequest extends $tea.Model {
15889
16486
  /**
15890
16487
  * @remarks
@@ -16638,6 +17235,125 @@ export class ListSparkTemplateFileIdsResponse extends $tea.Model {
16638
17235
  }
16639
17236
  }
16640
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
+
16641
17357
  export class LoadSampleDataSetRequest extends $tea.Model {
16642
17358
  /**
16643
17359
  * @remarks
@@ -17596,6 +18312,90 @@ export class ModifyClusterConnectionStringResponse extends $tea.Model {
17596
18312
  }
17597
18313
  }
17598
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
+
17599
18399
  export class ModifyDBClusterRequest extends $tea.Model {
17600
18400
  /**
17601
18401
  * @remarks
@@ -17959,7 +18759,224 @@ export class ModifyDBClusterMaintainTimeResponse extends $tea.Model {
17959
18759
  }
17960
18760
  }
17961
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
+
17962
18978
  export class ModifyDBResourceGroupRequest extends $tea.Model {
18979
+ autoStopInterval?: string;
17963
18980
  /**
17964
18981
  * @remarks
17965
18982
  * A reserved parameter.
@@ -18081,9 +19098,11 @@ export class ModifyDBResourceGroupRequest extends $tea.Model {
18081
19098
  */
18082
19099
  rules?: ModifyDBResourceGroupRequestRules[];
18083
19100
  specName?: string;
19101
+ status?: string;
18084
19102
  targetResourceGroupName?: string;
18085
19103
  static names(): { [key: string]: string } {
18086
19104
  return {
19105
+ autoStopInterval: 'AutoStopInterval',
18087
19106
  clusterMode: 'ClusterMode',
18088
19107
  clusterSizeResource: 'ClusterSizeResource',
18089
19108
  DBClusterId: 'DBClusterId',
@@ -18100,12 +19119,14 @@ export class ModifyDBResourceGroupRequest extends $tea.Model {
18100
19119
  regionId: 'RegionId',
18101
19120
  rules: 'Rules',
18102
19121
  specName: 'SpecName',
19122
+ status: 'Status',
18103
19123
  targetResourceGroupName: 'TargetResourceGroupName',
18104
19124
  };
18105
19125
  }
18106
19126
 
18107
19127
  static types(): { [key: string]: any } {
18108
19128
  return {
19129
+ autoStopInterval: 'string',
18109
19130
  clusterMode: 'string',
18110
19131
  clusterSizeResource: 'string',
18111
19132
  DBClusterId: 'string',
@@ -18122,6 +19143,7 @@ export class ModifyDBResourceGroupRequest extends $tea.Model {
18122
19143
  regionId: 'string',
18123
19144
  rules: { 'type': 'array', 'itemType': ModifyDBResourceGroupRequestRules },
18124
19145
  specName: 'string',
19146
+ status: 'string',
18125
19147
  targetResourceGroupName: 'string',
18126
19148
  };
18127
19149
  }
@@ -18132,6 +19154,7 @@ export class ModifyDBResourceGroupRequest extends $tea.Model {
18132
19154
  }
18133
19155
 
18134
19156
  export class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
19157
+ autoStopInterval?: string;
18135
19158
  /**
18136
19159
  * @remarks
18137
19160
  * A reserved parameter.
@@ -18253,9 +19276,11 @@ export class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
18253
19276
  */
18254
19277
  rulesShrink?: string;
18255
19278
  specName?: string;
19279
+ status?: string;
18256
19280
  targetResourceGroupName?: string;
18257
19281
  static names(): { [key: string]: string } {
18258
19282
  return {
19283
+ autoStopInterval: 'AutoStopInterval',
18259
19284
  clusterMode: 'ClusterMode',
18260
19285
  clusterSizeResource: 'ClusterSizeResource',
18261
19286
  DBClusterId: 'DBClusterId',
@@ -18272,12 +19297,14 @@ export class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
18272
19297
  regionId: 'RegionId',
18273
19298
  rulesShrink: 'Rules',
18274
19299
  specName: 'SpecName',
19300
+ status: 'Status',
18275
19301
  targetResourceGroupName: 'TargetResourceGroupName',
18276
19302
  };
18277
19303
  }
18278
19304
 
18279
19305
  static types(): { [key: string]: any } {
18280
19306
  return {
19307
+ autoStopInterval: 'string',
18281
19308
  clusterMode: 'string',
18282
19309
  clusterSizeResource: 'string',
18283
19310
  DBClusterId: 'string',
@@ -18294,6 +19321,7 @@ export class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
18294
19321
  regionId: 'string',
18295
19322
  rulesShrink: 'string',
18296
19323
  specName: 'string',
19324
+ status: 'string',
18297
19325
  targetResourceGroupName: 'string',
18298
19326
  };
18299
19327
  }
@@ -18499,6 +19527,198 @@ export class ModifyElasticPlanResponse extends $tea.Model {
18499
19527
  }
18500
19528
  }
18501
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
+
18502
19722
  export class ModifyPerformanceViewRequest extends $tea.Model {
18503
19723
  /**
18504
19724
  * @remarks
@@ -18925,50 +20145,82 @@ export class ReleaseClusterPublicConnectionResponse extends $tea.Model {
18925
20145
  }
18926
20146
  }
18927
20147
 
18928
- export class RenameSparkTemplateFileRequest extends $tea.Model {
20148
+ export class ResetAccountPasswordRequest extends $tea.Model {
18929
20149
  /**
18930
20150
  * @remarks
18931
- * 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.
18932
20165
  *
18933
20166
  * This parameter is required.
18934
20167
  *
18935
20168
  * @example
18936
- * amv-d*****
20169
+ * test_accout
18937
20170
  */
18938
- DBClusterId?: string;
20171
+ accountName?: string;
18939
20172
  /**
18940
20173
  * @remarks
18941
- * 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.
18942
20179
  *
18943
20180
  * This parameter is required.
18944
20181
  *
18945
20182
  * @example
18946
- * 1
20183
+ * Test_accout1
18947
20184
  */
18948
- id?: number;
20185
+ accountPassword?: string;
18949
20186
  /**
18950
20187
  * @remarks
18951
- * 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.
18952
20189
  *
18953
20190
  * This parameter is required.
18954
20191
  *
18955
20192
  * @example
18956
- * new_template_name
20193
+ * amv-bp11q28kvl688****
18957
20194
  */
18958
- 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;
18959
20207
  static names(): { [key: string]: string } {
18960
20208
  return {
20209
+ accountDescription: 'AccountDescription',
20210
+ accountName: 'AccountName',
20211
+ accountPassword: 'AccountPassword',
18961
20212
  DBClusterId: 'DBClusterId',
18962
- id: 'Id',
18963
- name: 'Name',
20213
+ engine: 'Engine',
18964
20214
  };
18965
20215
  }
18966
20216
 
18967
20217
  static types(): { [key: string]: any } {
18968
20218
  return {
20219
+ accountDescription: 'string',
20220
+ accountName: 'string',
20221
+ accountPassword: 'string',
18969
20222
  DBClusterId: 'string',
18970
- id: 'number',
18971
- name: 'string',
20223
+ engine: 'string',
18972
20224
  };
18973
20225
  }
18974
20226
 
@@ -18977,30 +20229,23 @@ export class RenameSparkTemplateFileRequest extends $tea.Model {
18977
20229
  }
18978
20230
  }
18979
20231
 
18980
- export class RenameSparkTemplateFileResponseBody extends $tea.Model {
18981
- /**
18982
- * @remarks
18983
- * The data returned.
18984
- */
18985
- data?: RenameSparkTemplateFileResponseBodyData;
20232
+ export class ResetAccountPasswordResponseBody extends $tea.Model {
18986
20233
  /**
18987
20234
  * @remarks
18988
20235
  * The request ID.
18989
20236
  *
18990
20237
  * @example
18991
- * 16D332C4-ACEB-526A-9B53-2B708FED594A
20238
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
18992
20239
  */
18993
20240
  requestId?: string;
18994
20241
  static names(): { [key: string]: string } {
18995
20242
  return {
18996
- data: 'Data',
18997
20243
  requestId: 'RequestId',
18998
20244
  };
18999
20245
  }
19000
20246
 
19001
20247
  static types(): { [key: string]: any } {
19002
20248
  return {
19003
- data: RenameSparkTemplateFileResponseBodyData,
19004
20249
  requestId: 'string',
19005
20250
  };
19006
20251
  }
@@ -19010,10 +20255,10 @@ export class RenameSparkTemplateFileResponseBody extends $tea.Model {
19010
20255
  }
19011
20256
  }
19012
20257
 
19013
- export class RenameSparkTemplateFileResponse extends $tea.Model {
20258
+ export class ResetAccountPasswordResponse extends $tea.Model {
19014
20259
  headers?: { [key: string]: string };
19015
20260
  statusCode?: number;
19016
- body?: RenameSparkTemplateFileResponseBody;
20261
+ body?: ResetAccountPasswordResponseBody;
19017
20262
  static names(): { [key: string]: string } {
19018
20263
  return {
19019
20264
  headers: 'headers',
@@ -19026,7 +20271,7 @@ export class RenameSparkTemplateFileResponse extends $tea.Model {
19026
20271
  return {
19027
20272
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19028
20273
  statusCode: 'number',
19029
- body: RenameSparkTemplateFileResponseBody,
20274
+ body: ResetAccountPasswordResponseBody,
19030
20275
  };
19031
20276
  }
19032
20277
 
@@ -19035,82 +20280,36 @@ export class RenameSparkTemplateFileResponse extends $tea.Model {
19035
20280
  }
19036
20281
  }
19037
20282
 
19038
- export class ResetAccountPasswordRequest extends $tea.Model {
20283
+ export class RevokeOperatorPermissionRequest extends $tea.Model {
19039
20284
  /**
19040
20285
  * @remarks
19041
- * The description of the database account.
19042
- *
19043
- * * The description cannot start with `http://` or `https://`.
19044
- * * The description must be 2 to 256 characters in length.
19045
- *
19046
- * @example
19047
- * AccDesc
19048
- */
19049
- accountDescription?: string;
19050
- /**
19051
- * @remarks
19052
- * The name of the database account.
19053
- *
19054
- * > 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.
19055
- *
19056
- * This parameter is required.
19057
- *
19058
- * @example
19059
- * test_accout
19060
- */
19061
- accountName?: string;
19062
- /**
19063
- * @remarks
19064
- * The password of the database account.
19065
- *
19066
- * * The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
19067
- * * Special characters include `! @ # $ % ^ & * ( ) _ + - =`
19068
- * * The password must be 8 to 32 characters in length.
19069
- *
19070
- * This parameter is required.
19071
- *
19072
- * @example
19073
- * Test_accout1
19074
- */
19075
- accountPassword?: string;
19076
- /**
19077
- * @remarks
19078
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
19079
- *
19080
20286
  * This parameter is required.
19081
20287
  *
19082
20288
  * @example
19083
- * amv-bp11q28kvl688****
20289
+ * amv-bp1mfe9qmsw1dzyg
19084
20290
  */
19085
20291
  DBClusterId?: string;
19086
- /**
19087
- * @remarks
19088
- * The database engine of the cluster. Valid values:
19089
- *
19090
- * * **AnalyticDB** (default): the AnalyticDB for MySQL engine.
19091
- * * **Clickhouse**: the wide table engine.
19092
- *
19093
- * @example
19094
- * Clickhouse
19095
- */
19096
- engine?: string;
20292
+ ownerAccount?: string;
20293
+ ownerId?: number;
20294
+ resourceOwnerAccount?: string;
20295
+ resourceOwnerId?: number;
19097
20296
  static names(): { [key: string]: string } {
19098
20297
  return {
19099
- accountDescription: 'AccountDescription',
19100
- accountName: 'AccountName',
19101
- accountPassword: 'AccountPassword',
19102
20298
  DBClusterId: 'DBClusterId',
19103
- engine: 'Engine',
20299
+ ownerAccount: 'OwnerAccount',
20300
+ ownerId: 'OwnerId',
20301
+ resourceOwnerAccount: 'ResourceOwnerAccount',
20302
+ resourceOwnerId: 'ResourceOwnerId',
19104
20303
  };
19105
20304
  }
19106
20305
 
19107
20306
  static types(): { [key: string]: any } {
19108
20307
  return {
19109
- accountDescription: 'string',
19110
- accountName: 'string',
19111
- accountPassword: 'string',
19112
20308
  DBClusterId: 'string',
19113
- engine: 'string',
20309
+ ownerAccount: 'string',
20310
+ ownerId: 'number',
20311
+ resourceOwnerAccount: 'string',
20312
+ resourceOwnerId: 'number',
19114
20313
  };
19115
20314
  }
19116
20315
 
@@ -19119,11 +20318,8 @@ export class ResetAccountPasswordRequest extends $tea.Model {
19119
20318
  }
19120
20319
  }
19121
20320
 
19122
- export class ResetAccountPasswordResponseBody extends $tea.Model {
20321
+ export class RevokeOperatorPermissionResponseBody extends $tea.Model {
19123
20322
  /**
19124
- * @remarks
19125
- * The request ID.
19126
- *
19127
20323
  * @example
19128
20324
  * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
19129
20325
  */
@@ -19145,10 +20341,10 @@ export class ResetAccountPasswordResponseBody extends $tea.Model {
19145
20341
  }
19146
20342
  }
19147
20343
 
19148
- export class ResetAccountPasswordResponse extends $tea.Model {
20344
+ export class RevokeOperatorPermissionResponse extends $tea.Model {
19149
20345
  headers?: { [key: string]: string };
19150
20346
  statusCode?: number;
19151
- body?: ResetAccountPasswordResponseBody;
20347
+ body?: RevokeOperatorPermissionResponseBody;
19152
20348
  static names(): { [key: string]: string } {
19153
20349
  return {
19154
20350
  headers: 'headers',
@@ -19161,7 +20357,7 @@ export class ResetAccountPasswordResponse extends $tea.Model {
19161
20357
  return {
19162
20358
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19163
20359
  statusCode: 'number',
19164
- body: ResetAccountPasswordResponseBody,
20360
+ body: RevokeOperatorPermissionResponseBody,
19165
20361
  };
19166
20362
  }
19167
20363
 
@@ -22223,6 +23419,29 @@ export class DescribeColumnsResponseBodyItems extends $tea.Model {
22223
23419
  }
22224
23420
  }
22225
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
+
22226
23445
  export class DescribeComputeResourceUsageResponseBodyDataAcuInfo extends $tea.Model {
22227
23446
  /**
22228
23447
  * @remarks
@@ -22390,6 +23609,87 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBClusterTags extends $t
22390
23609
  }
22391
23610
  }
22392
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
+
22393
23693
  export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.Model {
22394
23694
  /**
22395
23695
  * @remarks
@@ -22709,6 +24009,7 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
22709
24009
  * The tags that are added to the cluster.
22710
24010
  */
22711
24011
  tags?: DescribeDBClusterAttributeResponseBodyItemsDBClusterTags;
24012
+ taskInfo?: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfo;
22712
24013
  /**
22713
24014
  * @remarks
22714
24015
  * Indicates whether Elastic Network Interface (ENI) is enabled. Valid values:
@@ -22781,6 +24082,7 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
22781
24082
  storageResourceTotal: 'StorageResourceTotal',
22782
24083
  supportedFeatures: 'SupportedFeatures',
22783
24084
  tags: 'Tags',
24085
+ taskInfo: 'TaskInfo',
22784
24086
  userENIStatus: 'UserENIStatus',
22785
24087
  VPCId: 'VPCId',
22786
24088
  vSwitchId: 'VSwitchId',
@@ -22825,6 +24127,7 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
22825
24127
  storageResourceTotal: 'string',
22826
24128
  supportedFeatures: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
22827
24129
  tags: DescribeDBClusterAttributeResponseBodyItemsDBClusterTags,
24130
+ taskInfo: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfo,
22828
24131
  userENIStatus: 'boolean',
22829
24132
  VPCId: 'string',
22830
24133
  vSwitchId: 'string',
@@ -24169,6 +25472,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfoRules extends $tea.Mod
24169
25472
  }
24170
25473
 
24171
25474
  export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.Model {
25475
+ autoStopInterval?: string;
24172
25476
  /**
24173
25477
  * @remarks
24174
25478
  * A reserved parameter.
@@ -24321,6 +25625,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.Model {
24321
25625
  updateTime?: string;
24322
25626
  static names(): { [key: string]: string } {
24323
25627
  return {
25628
+ autoStopInterval: 'AutoStopInterval',
24324
25629
  clusterMode: 'ClusterMode',
24325
25630
  clusterSizeResource: 'ClusterSizeResource',
24326
25631
  createTime: 'CreateTime',
@@ -24349,6 +25654,7 @@ export class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.Model {
24349
25654
 
24350
25655
  static types(): { [key: string]: any } {
24351
25656
  return {
25657
+ autoStopInterval: 'string',
24352
25658
  clusterMode: 'string',
24353
25659
  clusterSizeResource: 'string',
24354
25660
  createTime: 'string',
@@ -24461,6 +25767,7 @@ export class DescribeDiagnosisRecordsResponseBodyQuerys extends $tea.Model {
24461
25767
  * 1
24462
25768
  */
24463
25769
  outputRows?: number;
25770
+ patternId?: string;
24464
25771
  /**
24465
25772
  * @remarks
24466
25773
  * The peak memory. Unit: bytes.
@@ -24610,6 +25917,7 @@ export class DescribeDiagnosisRecordsResponseBodyQuerys extends $tea.Model {
24610
25917
  executionTime: 'ExecutionTime',
24611
25918
  outputDataSize: 'OutputDataSize',
24612
25919
  outputRows: 'OutputRows',
25920
+ patternId: 'PatternId',
24613
25921
  peakMemory: 'PeakMemory',
24614
25922
  processId: 'ProcessId',
24615
25923
  queryProperties: 'QueryProperties',
@@ -24639,6 +25947,7 @@ export class DescribeDiagnosisRecordsResponseBodyQuerys extends $tea.Model {
24639
25947
  executionTime: 'number',
24640
25948
  outputDataSize: 'number',
24641
25949
  outputRows: 'number',
25950
+ patternId: 'string',
24642
25951
  peakMemory: 'number',
24643
25952
  processId: 'string',
24644
25953
  queryProperties: { 'type': 'array', 'itemType': DescribeDiagnosisRecordsResponseBodyQuerysQueryProperties },
@@ -25284,6 +26593,36 @@ export class DescribeEnabledPrivilegesResponseBodyData extends $tea.Model {
25284
26593
  }
25285
26594
  }
25286
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
+
25287
26626
  export class DescribeExcessivePrimaryKeysResponseBodyDetectionItems extends $tea.Model {
25288
26627
  /**
25289
26628
  * @remarks
@@ -25614,6 +26953,90 @@ export class DescribeJobResourceUsageResponseBodyData extends $tea.Model {
25614
26953
  }
25615
26954
  }
25616
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
+
25617
27040
  export class DescribePatternPerformanceResponseBodyPerformancesSeries extends $tea.Model {
25618
27041
  /**
25619
27042
  * @remarks
@@ -25724,6 +27147,9 @@ export class DescribePatternPerformanceResponseBodyPerformances extends $tea.Mod
25724
27147
  }
25725
27148
 
25726
27149
  export class DescribePerformanceViewAttributeResponseBodyViewDetailCategoriesKeys extends $tea.Model {
27150
+ enableAutoMc?: boolean;
27151
+ engine?: string[];
27152
+ groupType?: string[];
25727
27153
  /**
25728
27154
  * @remarks
25729
27155
  * The name of the metric.
@@ -25745,6 +27171,9 @@ export class DescribePerformanceViewAttributeResponseBodyViewDetailCategoriesKey
25745
27171
  selected?: boolean;
25746
27172
  static names(): { [key: string]: string } {
25747
27173
  return {
27174
+ enableAutoMc: 'EnableAutoMc',
27175
+ engine: 'Engine',
27176
+ groupType: 'GroupType',
25748
27177
  keyName: 'KeyName',
25749
27178
  selected: 'Selected',
25750
27179
  };
@@ -25752,6 +27181,9 @@ export class DescribePerformanceViewAttributeResponseBodyViewDetailCategoriesKey
25752
27181
 
25753
27182
  static types(): { [key: string]: any } {
25754
27183
  return {
27184
+ enableAutoMc: 'boolean',
27185
+ engine: { 'type': 'array', 'itemType': 'string' },
27186
+ groupType: { 'type': 'array', 'itemType': 'string' },
25755
27187
  keyName: 'string',
25756
27188
  selected: 'boolean',
25757
27189
  };
@@ -27847,6 +29279,99 @@ export class ListSparkLogAnalyzeTasksResponseBodyData extends $tea.Model {
27847
29279
  }
27848
29280
  }
27849
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
+
27850
29375
  export class ModifyAccountPrivilegesRequestAccountPrivilegesPrivilegeObject extends $tea.Model {
27851
29376
  /**
27852
29377
  * @remarks
@@ -27979,6 +29504,39 @@ export class ModifyDBResourceGroupRequestRules extends $tea.Model {
27979
29504
  }
27980
29505
  }
27981
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
+
27982
29540
  export class ModifyPerformanceViewRequestViewDetailCategoriesKeys extends $tea.Model {
27983
29541
  /**
27984
29542
  * @remarks
@@ -28204,35 +29762,6 @@ export class PreloadSparkAppMetricsResponseBodyData extends $tea.Model {
28204
29762
  }
28205
29763
  }
28206
29764
 
28207
- export class RenameSparkTemplateFileResponseBodyData extends $tea.Model {
28208
- /**
28209
- * @remarks
28210
- * Indicates whether the request was successful. Valid values:
28211
- *
28212
- * * True
28213
- * * False
28214
- *
28215
- * @example
28216
- * True
28217
- */
28218
- succeeded?: boolean;
28219
- static names(): { [key: string]: string } {
28220
- return {
28221
- succeeded: 'Succeeded',
28222
- };
28223
- }
28224
-
28225
- static types(): { [key: string]: any } {
28226
- return {
28227
- succeeded: 'boolean',
28228
- };
28229
- }
28230
-
28231
- constructor(map?: { [key: string]: any }) {
28232
- super(map);
28233
- }
28234
- }
28235
-
28236
29765
  export class SetSparkAppLogRootPathResponseBodyData extends $tea.Model {
28237
29766
  /**
28238
29767
  * @remarks
@@ -29063,6 +30592,10 @@ export default class Client extends OpenApi {
29063
30592
  }
29064
30593
 
29065
30594
  let query = { };
30595
+ if (!Util.isUnset(request.autoStopInterval)) {
30596
+ query["AutoStopInterval"] = request.autoStopInterval;
30597
+ }
30598
+
29066
30599
  if (!Util.isUnset(request.clusterMode)) {
29067
30600
  query["ClusterMode"] = request.clusterMode;
29068
30601
  }
@@ -29514,6 +31047,80 @@ export default class Client extends OpenApi {
29514
31047
  return await this.deleteAccountWithOptions(request, runtime);
29515
31048
  }
29516
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
+
29517
31124
  /**
29518
31125
  * Deletes an AnalyticDB for MySQL cluster.
29519
31126
  *
@@ -31100,6 +32707,48 @@ export default class Client extends OpenApi {
31100
32707
  return await this.describeColumnsWithOptions(request, runtime);
31101
32708
  }
31102
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
+
31103
32752
  /**
31104
32753
  * 获取实例计算资源使用统计
31105
32754
  *
@@ -32170,6 +33819,48 @@ export default class Client extends OpenApi {
32170
33819
  return await this.describeEnabledPrivilegesWithOptions(request, runtime);
32171
33820
  }
32172
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
+
32173
33864
  /**
32174
33865
  * Queries the information about tables that have excessive primary key fields in an AnalyticDB for MySQL Data Lakehouse Edition (V5.0) cluster.
32175
33866
  *
@@ -32312,6 +34003,164 @@ export default class Client extends OpenApi {
32312
34003
  return await this.describeJobResourceUsageWithOptions(request, runtime);
32313
34004
  }
32314
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
+
32315
34164
  /**
32316
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.
32317
34166
  *
@@ -33996,58 +35845,6 @@ export default class Client extends OpenApi {
33996
35845
  return await this.getSparkConfigLogPathWithOptions(request, runtime);
33997
35846
  }
33998
35847
 
33999
- /**
34000
- * Queries the common definitions of Spark applications.
34001
- *
34002
- * @remarks
34003
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
34004
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
34005
- * > 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.
34006
- *
34007
- * @param request - GetSparkDefinitionsRequest
34008
- * @param runtime - runtime options for this request RuntimeOptions
34009
- * @returns GetSparkDefinitionsResponse
34010
- */
34011
- async getSparkDefinitionsWithOptions(request: GetSparkDefinitionsRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkDefinitionsResponse> {
34012
- Util.validateModel(request);
34013
- let body : {[key: string ]: any} = { };
34014
- if (!Util.isUnset(request.DBClusterId)) {
34015
- body["DBClusterId"] = request.DBClusterId;
34016
- }
34017
-
34018
- let req = new $OpenApi.OpenApiRequest({
34019
- body: OpenApiUtil.parseToMap(body),
34020
- });
34021
- let params = new $OpenApi.Params({
34022
- action: "GetSparkDefinitions",
34023
- version: "2021-12-01",
34024
- protocol: "HTTPS",
34025
- pathname: "/",
34026
- method: "POST",
34027
- authType: "AK",
34028
- style: "RPC",
34029
- reqBodyType: "formData",
34030
- bodyType: "json",
34031
- });
34032
- return $tea.cast<GetSparkDefinitionsResponse>(await this.callApi(params, req, runtime), new GetSparkDefinitionsResponse({}));
34033
- }
34034
-
34035
- /**
34036
- * Queries the common definitions of Spark applications.
34037
- *
34038
- * @remarks
34039
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
34040
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
34041
- * > 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.
34042
- *
34043
- * @param request - GetSparkDefinitionsRequest
34044
- * @returns GetSparkDefinitionsResponse
34045
- */
34046
- async getSparkDefinitions(request: GetSparkDefinitionsRequest): Promise<GetSparkDefinitionsResponse> {
34047
- let runtime = new $Util.RuntimeOptions({ });
34048
- return await this.getSparkDefinitionsWithOptions(request, runtime);
34049
- }
34050
-
34051
35848
  /**
34052
35849
  * Queries the results of a Spark log analysis task.
34053
35850
  *
@@ -34728,6 +36525,68 @@ export default class Client extends OpenApi {
34728
36525
  return await this.getViewObjectsWithOptions(request, runtime);
34729
36526
  }
34730
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
+
34731
36590
  /**
34732
36591
  * Terminates a Spark application.
34733
36592
  *
@@ -35124,6 +36983,76 @@ export default class Client extends OpenApi {
35124
36983
  return await this.listSparkTemplateFileIdsWithOptions(request, runtime);
35125
36984
  }
35126
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
+
35127
37056
  /**
35128
37057
  * Loads a built-in dataset.
35129
37058
  *
@@ -35582,6 +37511,52 @@ export default class Client extends OpenApi {
35582
37511
  return await this.modifyClusterConnectionStringWithOptions(request, runtime);
35583
37512
  }
35584
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
+
35585
37560
  /**
35586
37561
  * Changes the configurations of an AnalyticDB for MySQL Data Lakehouse Edition cluster.
35587
37562
  *
@@ -35786,6 +37761,122 @@ export default class Client extends OpenApi {
35786
37761
  return await this.modifyDBClusterMaintainTimeWithOptions(request, runtime);
35787
37762
  }
35788
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
+
35789
37880
  /**
35790
37881
  * Modifies the amount of reserved computing resources for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
35791
37882
  *
@@ -35809,6 +37900,10 @@ export default class Client extends OpenApi {
35809
37900
  }
35810
37901
 
35811
37902
  let query = { };
37903
+ if (!Util.isUnset(request.autoStopInterval)) {
37904
+ query["AutoStopInterval"] = request.autoStopInterval;
37905
+ }
37906
+
35812
37907
  if (!Util.isUnset(request.clusterMode)) {
35813
37908
  query["ClusterMode"] = request.clusterMode;
35814
37909
  }
@@ -35873,6 +37968,10 @@ export default class Client extends OpenApi {
35873
37968
  query["SpecName"] = request.specName;
35874
37969
  }
35875
37970
 
37971
+ if (!Util.isUnset(request.status)) {
37972
+ query["Status"] = request.status;
37973
+ }
37974
+
35876
37975
  if (!Util.isUnset(request.targetResourceGroupName)) {
35877
37976
  query["TargetResourceGroupName"] = request.targetResourceGroupName;
35878
37977
  }
@@ -35976,6 +38075,106 @@ export default class Client extends OpenApi {
35976
38075
  return await this.modifyElasticPlanWithOptions(request, runtime);
35977
38076
  }
35978
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
+
35979
38178
  /**
35980
38179
  * Modifies the information about a custom monitoring view.
35981
38180
  *
@@ -36163,37 +38362,43 @@ export default class Client extends OpenApi {
36163
38362
  }
36164
38363
 
36165
38364
  /**
36166
- * Renames a Spark template file.
38365
+ * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36167
38366
  *
36168
38367
  * @remarks
36169
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
36170
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
36171
- * > 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).
36172
38369
  *
36173
- * @param request - RenameSparkTemplateFileRequest
38370
+ * @param request - ResetAccountPasswordRequest
36174
38371
  * @param runtime - runtime options for this request RuntimeOptions
36175
- * @returns RenameSparkTemplateFileResponse
38372
+ * @returns ResetAccountPasswordResponse
36176
38373
  */
36177
- async renameSparkTemplateFileWithOptions(request: RenameSparkTemplateFileRequest, runtime: $Util.RuntimeOptions): Promise<RenameSparkTemplateFileResponse> {
38374
+ async resetAccountPasswordWithOptions(request: ResetAccountPasswordRequest, runtime: $Util.RuntimeOptions): Promise<ResetAccountPasswordResponse> {
36178
38375
  Util.validateModel(request);
36179
38376
  let query = { };
36180
- if (!Util.isUnset(request.DBClusterId)) {
36181
- query["DBClusterId"] = request.DBClusterId;
38377
+ if (!Util.isUnset(request.accountDescription)) {
38378
+ query["AccountDescription"] = request.accountDescription;
36182
38379
  }
36183
38380
 
36184
- if (!Util.isUnset(request.id)) {
36185
- query["Id"] = request.id;
38381
+ if (!Util.isUnset(request.accountName)) {
38382
+ query["AccountName"] = request.accountName;
36186
38383
  }
36187
38384
 
36188
- if (!Util.isUnset(request.name)) {
36189
- 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;
36190
38395
  }
36191
38396
 
36192
38397
  let req = new $OpenApi.OpenApiRequest({
36193
38398
  query: OpenApiUtil.query(query),
36194
38399
  });
36195
38400
  let params = new $OpenApi.Params({
36196
- action: "RenameSparkTemplateFile",
38401
+ action: "ResetAccountPassword",
36197
38402
  version: "2021-12-01",
36198
38403
  protocol: "HTTPS",
36199
38404
  pathname: "/",
@@ -36203,63 +38408,56 @@ export default class Client extends OpenApi {
36203
38408
  reqBodyType: "formData",
36204
38409
  bodyType: "json",
36205
38410
  });
36206
- 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({}));
36207
38412
  }
36208
38413
 
36209
38414
  /**
36210
- * Renames a Spark template file.
38415
+ * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36211
38416
  *
36212
38417
  * @remarks
36213
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
36214
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
36215
- * > 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).
36216
38419
  *
36217
- * @param request - RenameSparkTemplateFileRequest
36218
- * @returns RenameSparkTemplateFileResponse
38420
+ * @param request - ResetAccountPasswordRequest
38421
+ * @returns ResetAccountPasswordResponse
36219
38422
  */
36220
- async renameSparkTemplateFile(request: RenameSparkTemplateFileRequest): Promise<RenameSparkTemplateFileResponse> {
38423
+ async resetAccountPassword(request: ResetAccountPasswordRequest): Promise<ResetAccountPasswordResponse> {
36221
38424
  let runtime = new $Util.RuntimeOptions({ });
36222
- return await this.renameSparkTemplateFileWithOptions(request, runtime);
38425
+ return await this.resetAccountPasswordWithOptions(request, runtime);
36223
38426
  }
36224
38427
 
36225
38428
  /**
36226
- * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36227
- *
36228
- * @remarks
36229
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36230
- *
36231
- * @param request - ResetAccountPasswordRequest
38429
+ * @param request - RevokeOperatorPermissionRequest
36232
38430
  * @param runtime - runtime options for this request RuntimeOptions
36233
- * @returns ResetAccountPasswordResponse
38431
+ * @returns RevokeOperatorPermissionResponse
36234
38432
  */
36235
- async resetAccountPasswordWithOptions(request: ResetAccountPasswordRequest, runtime: $Util.RuntimeOptions): Promise<ResetAccountPasswordResponse> {
38433
+ async revokeOperatorPermissionWithOptions(request: RevokeOperatorPermissionRequest, runtime: $Util.RuntimeOptions): Promise<RevokeOperatorPermissionResponse> {
36236
38434
  Util.validateModel(request);
36237
38435
  let query = { };
36238
- if (!Util.isUnset(request.accountDescription)) {
36239
- query["AccountDescription"] = request.accountDescription;
38436
+ if (!Util.isUnset(request.DBClusterId)) {
38437
+ query["DBClusterId"] = request.DBClusterId;
36240
38438
  }
36241
38439
 
36242
- if (!Util.isUnset(request.accountName)) {
36243
- query["AccountName"] = request.accountName;
38440
+ if (!Util.isUnset(request.ownerAccount)) {
38441
+ query["OwnerAccount"] = request.ownerAccount;
36244
38442
  }
36245
38443
 
36246
- if (!Util.isUnset(request.accountPassword)) {
36247
- query["AccountPassword"] = request.accountPassword;
38444
+ if (!Util.isUnset(request.ownerId)) {
38445
+ query["OwnerId"] = request.ownerId;
36248
38446
  }
36249
38447
 
36250
- if (!Util.isUnset(request.DBClusterId)) {
36251
- query["DBClusterId"] = request.DBClusterId;
38448
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
38449
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
36252
38450
  }
36253
38451
 
36254
- if (!Util.isUnset(request.engine)) {
36255
- query["Engine"] = request.engine;
38452
+ if (!Util.isUnset(request.resourceOwnerId)) {
38453
+ query["ResourceOwnerId"] = request.resourceOwnerId;
36256
38454
  }
36257
38455
 
36258
38456
  let req = new $OpenApi.OpenApiRequest({
36259
38457
  query: OpenApiUtil.query(query),
36260
38458
  });
36261
38459
  let params = new $OpenApi.Params({
36262
- action: "ResetAccountPassword",
38460
+ action: "RevokeOperatorPermission",
36263
38461
  version: "2021-12-01",
36264
38462
  protocol: "HTTPS",
36265
38463
  pathname: "/",
@@ -36269,21 +38467,16 @@ export default class Client extends OpenApi {
36269
38467
  reqBodyType: "formData",
36270
38468
  bodyType: "json",
36271
38469
  });
36272
- 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({}));
36273
38471
  }
36274
38472
 
36275
38473
  /**
36276
- * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36277
- *
36278
- * @remarks
36279
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36280
- *
36281
- * @param request - ResetAccountPasswordRequest
36282
- * @returns ResetAccountPasswordResponse
38474
+ * @param request - RevokeOperatorPermissionRequest
38475
+ * @returns RevokeOperatorPermissionResponse
36283
38476
  */
36284
- async resetAccountPassword(request: ResetAccountPasswordRequest): Promise<ResetAccountPasswordResponse> {
38477
+ async revokeOperatorPermission(request: RevokeOperatorPermissionRequest): Promise<RevokeOperatorPermissionResponse> {
36285
38478
  let runtime = new $Util.RuntimeOptions({ });
36286
- return await this.resetAccountPasswordWithOptions(request, runtime);
38479
+ return await this.revokeOperatorPermissionWithOptions(request, runtime);
36287
38480
  }
36288
38481
 
36289
38482
  /**