@alicloud/adb20211201 2.0.8 → 3.1.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
@@ -1753,6 +1753,94 @@ export class BindDBResourceGroupWithUserResponse extends $tea.Model {
1753
1753
  }
1754
1754
  }
1755
1755
 
1756
+ export class CancelSparkReplStatementRequest extends $tea.Model {
1757
+ /**
1758
+ * @example
1759
+ * s202411071444hzdvk486d9d2001****
1760
+ */
1761
+ appId?: string;
1762
+ /**
1763
+ * @example
1764
+ * 456
1765
+ */
1766
+ sessionId?: number;
1767
+ /**
1768
+ * @example
1769
+ * 123
1770
+ */
1771
+ statementId?: number;
1772
+ static names(): { [key: string]: string } {
1773
+ return {
1774
+ appId: 'AppId',
1775
+ sessionId: 'SessionId',
1776
+ statementId: 'StatementId',
1777
+ };
1778
+ }
1779
+
1780
+ static types(): { [key: string]: any } {
1781
+ return {
1782
+ appId: 'string',
1783
+ sessionId: 'number',
1784
+ statementId: 'number',
1785
+ };
1786
+ }
1787
+
1788
+ constructor(map?: { [key: string]: any }) {
1789
+ super(map);
1790
+ }
1791
+ }
1792
+
1793
+ export class CancelSparkReplStatementResponseBody extends $tea.Model {
1794
+ data?: CancelSparkReplStatementResponseBodyData;
1795
+ /**
1796
+ * @example
1797
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
1798
+ */
1799
+ requestId?: string;
1800
+ static names(): { [key: string]: string } {
1801
+ return {
1802
+ data: 'Data',
1803
+ requestId: 'RequestId',
1804
+ };
1805
+ }
1806
+
1807
+ static types(): { [key: string]: any } {
1808
+ return {
1809
+ data: CancelSparkReplStatementResponseBodyData,
1810
+ requestId: 'string',
1811
+ };
1812
+ }
1813
+
1814
+ constructor(map?: { [key: string]: any }) {
1815
+ super(map);
1816
+ }
1817
+ }
1818
+
1819
+ export class CancelSparkReplStatementResponse extends $tea.Model {
1820
+ headers?: { [key: string]: string };
1821
+ statusCode?: number;
1822
+ body?: CancelSparkReplStatementResponseBody;
1823
+ static names(): { [key: string]: string } {
1824
+ return {
1825
+ headers: 'headers',
1826
+ statusCode: 'statusCode',
1827
+ body: 'body',
1828
+ };
1829
+ }
1830
+
1831
+ static types(): { [key: string]: any } {
1832
+ return {
1833
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1834
+ statusCode: 'number',
1835
+ body: CancelSparkReplStatementResponseBody,
1836
+ };
1837
+ }
1838
+
1839
+ constructor(map?: { [key: string]: any }) {
1840
+ super(map);
1841
+ }
1842
+ }
1843
+
1756
1844
  export class CheckBindRamUserRequest extends $tea.Model {
1757
1845
  /**
1758
1846
  * @remarks
@@ -3751,6 +3839,119 @@ export class DeleteAccountResponse extends $tea.Model {
3751
3839
  }
3752
3840
  }
3753
3841
 
3842
+ export class DeleteBackupsRequest extends $tea.Model {
3843
+ /**
3844
+ * @remarks
3845
+ * The ID of the backup set that you want to delete. Separate multiple backup set IDs with commas (,).
3846
+ *
3847
+ * This parameter is required.
3848
+ *
3849
+ * @example
3850
+ * 763,764
3851
+ */
3852
+ backupIds?: string;
3853
+ /**
3854
+ * @remarks
3855
+ * The ID of the AnalyticDB for MySQL cluster.
3856
+ *
3857
+ * This parameter is required.
3858
+ *
3859
+ * @example
3860
+ * amv-uf6g8w25jacm7****
3861
+ */
3862
+ DBClusterId?: string;
3863
+ ownerAccount?: string;
3864
+ ownerId?: number;
3865
+ /**
3866
+ * @remarks
3867
+ * The region ID of the cluster.
3868
+ *
3869
+ * @example
3870
+ * cn-hangzhou
3871
+ */
3872
+ regionId?: string;
3873
+ resourceOwnerAccount?: string;
3874
+ resourceOwnerId?: number;
3875
+ static names(): { [key: string]: string } {
3876
+ return {
3877
+ backupIds: 'BackupIds',
3878
+ DBClusterId: 'DBClusterId',
3879
+ ownerAccount: 'OwnerAccount',
3880
+ ownerId: 'OwnerId',
3881
+ regionId: 'RegionId',
3882
+ resourceOwnerAccount: 'ResourceOwnerAccount',
3883
+ resourceOwnerId: 'ResourceOwnerId',
3884
+ };
3885
+ }
3886
+
3887
+ static types(): { [key: string]: any } {
3888
+ return {
3889
+ backupIds: 'string',
3890
+ DBClusterId: 'string',
3891
+ ownerAccount: 'string',
3892
+ ownerId: 'number',
3893
+ regionId: 'string',
3894
+ resourceOwnerAccount: 'string',
3895
+ resourceOwnerId: 'number',
3896
+ };
3897
+ }
3898
+
3899
+ constructor(map?: { [key: string]: any }) {
3900
+ super(map);
3901
+ }
3902
+ }
3903
+
3904
+ export class DeleteBackupsResponseBody extends $tea.Model {
3905
+ /**
3906
+ * @remarks
3907
+ * Id of the request
3908
+ *
3909
+ * @example
3910
+ * 771C5FAA-530F-52F7-B84D-EBAD4561D590
3911
+ */
3912
+ requestId?: string;
3913
+ static names(): { [key: string]: string } {
3914
+ return {
3915
+ requestId: 'RequestId',
3916
+ };
3917
+ }
3918
+
3919
+ static types(): { [key: string]: any } {
3920
+ return {
3921
+ requestId: 'string',
3922
+ };
3923
+ }
3924
+
3925
+ constructor(map?: { [key: string]: any }) {
3926
+ super(map);
3927
+ }
3928
+ }
3929
+
3930
+ export class DeleteBackupsResponse extends $tea.Model {
3931
+ headers?: { [key: string]: string };
3932
+ statusCode?: number;
3933
+ body?: DeleteBackupsResponseBody;
3934
+ static names(): { [key: string]: string } {
3935
+ return {
3936
+ headers: 'headers',
3937
+ statusCode: 'statusCode',
3938
+ body: 'body',
3939
+ };
3940
+ }
3941
+
3942
+ static types(): { [key: string]: any } {
3943
+ return {
3944
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3945
+ statusCode: 'number',
3946
+ body: DeleteBackupsResponseBody,
3947
+ };
3948
+ }
3949
+
3950
+ constructor(map?: { [key: string]: any }) {
3951
+ super(map);
3952
+ }
3953
+ }
3954
+
3754
3955
  export class DeleteDBClusterRequest extends $tea.Model {
3755
3956
  /**
3756
3957
  * @remarks
@@ -7413,6 +7614,92 @@ export class DescribeColumnsResponse extends $tea.Model {
7413
7614
  }
7414
7615
  }
7415
7616
 
7617
+ export class DescribeCompactionServiceSwitchRequest extends $tea.Model {
7618
+ /**
7619
+ * @remarks
7620
+ * The cluster ID.
7621
+ *
7622
+ * This parameter is required.
7623
+ *
7624
+ * @example
7625
+ * amv-bp149vz49b36t****
7626
+ */
7627
+ DBClusterId?: string;
7628
+ static names(): { [key: string]: string } {
7629
+ return {
7630
+ DBClusterId: 'DBClusterId',
7631
+ };
7632
+ }
7633
+
7634
+ static types(): { [key: string]: any } {
7635
+ return {
7636
+ DBClusterId: 'string',
7637
+ };
7638
+ }
7639
+
7640
+ constructor(map?: { [key: string]: any }) {
7641
+ super(map);
7642
+ }
7643
+ }
7644
+
7645
+ export class DescribeCompactionServiceSwitchResponseBody extends $tea.Model {
7646
+ /**
7647
+ * @remarks
7648
+ * The returned data.
7649
+ */
7650
+ data?: DescribeCompactionServiceSwitchResponseBodyData;
7651
+ /**
7652
+ * @remarks
7653
+ * The request ID.
7654
+ *
7655
+ * @example
7656
+ * D761DA51-12F8-5457-AAA9-F52B9F436D2D
7657
+ */
7658
+ requestId?: string;
7659
+ static names(): { [key: string]: string } {
7660
+ return {
7661
+ data: 'Data',
7662
+ requestId: 'RequestId',
7663
+ };
7664
+ }
7665
+
7666
+ static types(): { [key: string]: any } {
7667
+ return {
7668
+ data: DescribeCompactionServiceSwitchResponseBodyData,
7669
+ requestId: 'string',
7670
+ };
7671
+ }
7672
+
7673
+ constructor(map?: { [key: string]: any }) {
7674
+ super(map);
7675
+ }
7676
+ }
7677
+
7678
+ export class DescribeCompactionServiceSwitchResponse extends $tea.Model {
7679
+ headers?: { [key: string]: string };
7680
+ statusCode?: number;
7681
+ body?: DescribeCompactionServiceSwitchResponseBody;
7682
+ static names(): { [key: string]: string } {
7683
+ return {
7684
+ headers: 'headers',
7685
+ statusCode: 'statusCode',
7686
+ body: 'body',
7687
+ };
7688
+ }
7689
+
7690
+ static types(): { [key: string]: any } {
7691
+ return {
7692
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7693
+ statusCode: 'number',
7694
+ body: DescribeCompactionServiceSwitchResponseBody,
7695
+ };
7696
+ }
7697
+
7698
+ constructor(map?: { [key: string]: any }) {
7699
+ super(map);
7700
+ }
7701
+ }
7702
+
7416
7703
  export class DescribeComputeResourceUsageRequest extends $tea.Model {
7417
7704
  /**
7418
7705
  * @remarks
@@ -10107,6 +10394,83 @@ export class DescribeEnabledPrivilegesResponse extends $tea.Model {
10107
10394
  }
10108
10395
  }
10109
10396
 
10397
+ export class DescribeEssdCacheConfigRequest extends $tea.Model {
10398
+ /**
10399
+ * @remarks
10400
+ * This parameter is required.
10401
+ *
10402
+ * @example
10403
+ * amv-uf685u1o987hj6rn
10404
+ */
10405
+ DBClusterId?: string;
10406
+ static names(): { [key: string]: string } {
10407
+ return {
10408
+ DBClusterId: 'DBClusterId',
10409
+ };
10410
+ }
10411
+
10412
+ static types(): { [key: string]: any } {
10413
+ return {
10414
+ DBClusterId: 'string',
10415
+ };
10416
+ }
10417
+
10418
+ constructor(map?: { [key: string]: any }) {
10419
+ super(map);
10420
+ }
10421
+ }
10422
+
10423
+ export class DescribeEssdCacheConfigResponseBody extends $tea.Model {
10424
+ data?: DescribeEssdCacheConfigResponseBodyData;
10425
+ /**
10426
+ * @example
10427
+ * C7EDB8E4-9769-4233-88C7-DCA4C9******
10428
+ */
10429
+ requestId?: string;
10430
+ static names(): { [key: string]: string } {
10431
+ return {
10432
+ data: 'Data',
10433
+ requestId: 'RequestId',
10434
+ };
10435
+ }
10436
+
10437
+ static types(): { [key: string]: any } {
10438
+ return {
10439
+ data: DescribeEssdCacheConfigResponseBodyData,
10440
+ requestId: 'string',
10441
+ };
10442
+ }
10443
+
10444
+ constructor(map?: { [key: string]: any }) {
10445
+ super(map);
10446
+ }
10447
+ }
10448
+
10449
+ export class DescribeEssdCacheConfigResponse extends $tea.Model {
10450
+ headers?: { [key: string]: string };
10451
+ statusCode?: number;
10452
+ body?: DescribeEssdCacheConfigResponseBody;
10453
+ static names(): { [key: string]: string } {
10454
+ return {
10455
+ headers: 'headers',
10456
+ statusCode: 'statusCode',
10457
+ body: 'body',
10458
+ };
10459
+ }
10460
+
10461
+ static types(): { [key: string]: any } {
10462
+ return {
10463
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10464
+ statusCode: 'number',
10465
+ body: DescribeEssdCacheConfigResponseBody,
10466
+ };
10467
+ }
10468
+
10469
+ constructor(map?: { [key: string]: any }) {
10470
+ super(map);
10471
+ }
10472
+ }
10473
+
10110
10474
  export class DescribeExcessivePrimaryKeysRequest extends $tea.Model {
10111
10475
  /**
10112
10476
  * @remarks
@@ -10497,6 +10861,314 @@ export class DescribeJobResourceUsageResponse extends $tea.Model {
10497
10861
  }
10498
10862
  }
10499
10863
 
10864
+ export class DescribeKernelVersionRequest extends $tea.Model {
10865
+ /**
10866
+ * @remarks
10867
+ * This parameter is required.
10868
+ *
10869
+ * @example
10870
+ * amv-2ze918p6qf6h9****
10871
+ */
10872
+ DBClusterId?: string;
10873
+ ownerAccount?: string;
10874
+ ownerId?: number;
10875
+ /**
10876
+ * @example
10877
+ * cn-shenzhen
10878
+ */
10879
+ regionId?: string;
10880
+ resourceOwnerAccount?: string;
10881
+ resourceOwnerId?: number;
10882
+ static names(): { [key: string]: string } {
10883
+ return {
10884
+ DBClusterId: 'DBClusterId',
10885
+ ownerAccount: 'OwnerAccount',
10886
+ ownerId: 'OwnerId',
10887
+ regionId: 'RegionId',
10888
+ resourceOwnerAccount: 'ResourceOwnerAccount',
10889
+ resourceOwnerId: 'ResourceOwnerId',
10890
+ };
10891
+ }
10892
+
10893
+ static types(): { [key: string]: any } {
10894
+ return {
10895
+ DBClusterId: 'string',
10896
+ ownerAccount: 'string',
10897
+ ownerId: 'number',
10898
+ regionId: 'string',
10899
+ resourceOwnerAccount: 'string',
10900
+ resourceOwnerId: 'number',
10901
+ };
10902
+ }
10903
+
10904
+ constructor(map?: { [key: string]: any }) {
10905
+ super(map);
10906
+ }
10907
+ }
10908
+
10909
+ export class DescribeKernelVersionResponseBody extends $tea.Model {
10910
+ availableKernelVersions?: DescribeKernelVersionResponseBodyAvailableKernelVersions[];
10911
+ /**
10912
+ * @example
10913
+ * 2025-01-12T16:00:00Z
10914
+ */
10915
+ expireDate?: string;
10916
+ /**
10917
+ * @example
10918
+ * 3.1.8
10919
+ */
10920
+ kernelVersion?: string;
10921
+ /**
10922
+ * @example
10923
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
10924
+ */
10925
+ requestId?: string;
10926
+ static names(): { [key: string]: string } {
10927
+ return {
10928
+ availableKernelVersions: 'AvailableKernelVersions',
10929
+ expireDate: 'ExpireDate',
10930
+ kernelVersion: 'KernelVersion',
10931
+ requestId: 'RequestId',
10932
+ };
10933
+ }
10934
+
10935
+ static types(): { [key: string]: any } {
10936
+ return {
10937
+ availableKernelVersions: { 'type': 'array', 'itemType': DescribeKernelVersionResponseBodyAvailableKernelVersions },
10938
+ expireDate: 'string',
10939
+ kernelVersion: 'string',
10940
+ requestId: 'string',
10941
+ };
10942
+ }
10943
+
10944
+ constructor(map?: { [key: string]: any }) {
10945
+ super(map);
10946
+ }
10947
+ }
10948
+
10949
+ export class DescribeKernelVersionResponse extends $tea.Model {
10950
+ headers?: { [key: string]: string };
10951
+ statusCode?: number;
10952
+ body?: DescribeKernelVersionResponseBody;
10953
+ static names(): { [key: string]: string } {
10954
+ return {
10955
+ headers: 'headers',
10956
+ statusCode: 'statusCode',
10957
+ body: 'body',
10958
+ };
10959
+ }
10960
+
10961
+ static types(): { [key: string]: any } {
10962
+ return {
10963
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10964
+ statusCode: 'number',
10965
+ body: DescribeKernelVersionResponseBody,
10966
+ };
10967
+ }
10968
+
10969
+ constructor(map?: { [key: string]: any }) {
10970
+ super(map);
10971
+ }
10972
+ }
10973
+
10974
+ export class DescribeLakeCacheSizeRequest extends $tea.Model {
10975
+ /**
10976
+ * @remarks
10977
+ * This parameter is required.
10978
+ *
10979
+ * @example
10980
+ * amv-bp10b6646l07akdt
10981
+ */
10982
+ DBClusterId?: string;
10983
+ static names(): { [key: string]: string } {
10984
+ return {
10985
+ DBClusterId: 'DBClusterId',
10986
+ };
10987
+ }
10988
+
10989
+ static types(): { [key: string]: any } {
10990
+ return {
10991
+ DBClusterId: 'string',
10992
+ };
10993
+ }
10994
+
10995
+ constructor(map?: { [key: string]: any }) {
10996
+ super(map);
10997
+ }
10998
+ }
10999
+
11000
+ export class DescribeLakeCacheSizeResponseBody extends $tea.Model {
11001
+ /**
11002
+ * @example
11003
+ * 200
11004
+ */
11005
+ code?: number;
11006
+ data?: DescribeLakeCacheSizeResponseBodyData;
11007
+ /**
11008
+ * @example
11009
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
11010
+ */
11011
+ requestId?: string;
11012
+ static names(): { [key: string]: string } {
11013
+ return {
11014
+ code: 'Code',
11015
+ data: 'Data',
11016
+ requestId: 'RequestId',
11017
+ };
11018
+ }
11019
+
11020
+ static types(): { [key: string]: any } {
11021
+ return {
11022
+ code: 'number',
11023
+ data: DescribeLakeCacheSizeResponseBodyData,
11024
+ requestId: 'string',
11025
+ };
11026
+ }
11027
+
11028
+ constructor(map?: { [key: string]: any }) {
11029
+ super(map);
11030
+ }
11031
+ }
11032
+
11033
+ export class DescribeLakeCacheSizeResponse extends $tea.Model {
11034
+ headers?: { [key: string]: string };
11035
+ statusCode?: number;
11036
+ body?: DescribeLakeCacheSizeResponseBody;
11037
+ static names(): { [key: string]: string } {
11038
+ return {
11039
+ headers: 'headers',
11040
+ statusCode: 'statusCode',
11041
+ body: 'body',
11042
+ };
11043
+ }
11044
+
11045
+ static types(): { [key: string]: any } {
11046
+ return {
11047
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11048
+ statusCode: 'number',
11049
+ body: DescribeLakeCacheSizeResponseBody,
11050
+ };
11051
+ }
11052
+
11053
+ constructor(map?: { [key: string]: any }) {
11054
+ super(map);
11055
+ }
11056
+ }
11057
+
11058
+ export class DescribeOperatorPermissionRequest extends $tea.Model {
11059
+ /**
11060
+ * @remarks
11061
+ * This parameter is required.
11062
+ *
11063
+ * @example
11064
+ * amv-uf6wjk5xxxxxxxxxx
11065
+ */
11066
+ DBClusterId?: string;
11067
+ ownerAccount?: string;
11068
+ ownerId?: number;
11069
+ resourceOwnerAccount?: string;
11070
+ resourceOwnerId?: number;
11071
+ static names(): { [key: string]: string } {
11072
+ return {
11073
+ DBClusterId: 'DBClusterId',
11074
+ ownerAccount: 'OwnerAccount',
11075
+ ownerId: 'OwnerId',
11076
+ resourceOwnerAccount: 'ResourceOwnerAccount',
11077
+ resourceOwnerId: 'ResourceOwnerId',
11078
+ };
11079
+ }
11080
+
11081
+ static types(): { [key: string]: any } {
11082
+ return {
11083
+ DBClusterId: 'string',
11084
+ ownerAccount: 'string',
11085
+ ownerId: 'number',
11086
+ resourceOwnerAccount: 'string',
11087
+ resourceOwnerId: 'number',
11088
+ };
11089
+ }
11090
+
11091
+ constructor(map?: { [key: string]: any }) {
11092
+ super(map);
11093
+ }
11094
+ }
11095
+
11096
+ export class DescribeOperatorPermissionResponseBody extends $tea.Model {
11097
+ /**
11098
+ * @example
11099
+ * 2024-02-25T03:35:02Z
11100
+ */
11101
+ createdTime?: string;
11102
+ /**
11103
+ * @example
11104
+ * amv-uf6wjk5xxxxxxxxxx
11105
+ */
11106
+ DBClusterId?: string;
11107
+ /**
11108
+ * @example
11109
+ * 2024-01-10T02:19:00Z
11110
+ */
11111
+ expiredTime?: string;
11112
+ /**
11113
+ * @example
11114
+ * Control,Data
11115
+ */
11116
+ privileges?: string;
11117
+ /**
11118
+ * @example
11119
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
11120
+ */
11121
+ requestId?: string;
11122
+ static names(): { [key: string]: string } {
11123
+ return {
11124
+ createdTime: 'CreatedTime',
11125
+ DBClusterId: 'DBClusterId',
11126
+ expiredTime: 'ExpiredTime',
11127
+ privileges: 'Privileges',
11128
+ requestId: 'RequestId',
11129
+ };
11130
+ }
11131
+
11132
+ static types(): { [key: string]: any } {
11133
+ return {
11134
+ createdTime: 'string',
11135
+ DBClusterId: 'string',
11136
+ expiredTime: 'string',
11137
+ privileges: 'string',
11138
+ requestId: 'string',
11139
+ };
11140
+ }
11141
+
11142
+ constructor(map?: { [key: string]: any }) {
11143
+ super(map);
11144
+ }
11145
+ }
11146
+
11147
+ export class DescribeOperatorPermissionResponse extends $tea.Model {
11148
+ headers?: { [key: string]: string };
11149
+ statusCode?: number;
11150
+ body?: DescribeOperatorPermissionResponseBody;
11151
+ static names(): { [key: string]: string } {
11152
+ return {
11153
+ headers: 'headers',
11154
+ statusCode: 'statusCode',
11155
+ body: 'body',
11156
+ };
11157
+ }
11158
+
11159
+ static types(): { [key: string]: any } {
11160
+ return {
11161
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11162
+ statusCode: 'number',
11163
+ body: DescribeOperatorPermissionResponseBody,
11164
+ };
11165
+ }
11166
+
11167
+ constructor(map?: { [key: string]: any }) {
11168
+ super(map);
11169
+ }
11170
+ }
11171
+
10500
11172
  export class DescribePatternPerformanceRequest extends $tea.Model {
10501
11173
  /**
10502
11174
  * @remarks
@@ -10580,6 +11252,7 @@ export class DescribePatternPerformanceRequest extends $tea.Model {
10580
11252
  }
10581
11253
 
10582
11254
  export class DescribePatternPerformanceResponseBody extends $tea.Model {
11255
+ accessIp?: string;
10583
11256
  /**
10584
11257
  * @remarks
10585
11258
  * The end time of the query. The time follows the ISO 8601 standard in the *yyyy-MM-ddTHH:mmZ* format. The time is displayed in UTC.
@@ -10588,11 +11261,13 @@ export class DescribePatternPerformanceResponseBody extends $tea.Model {
10588
11261
  * 2022-08-22T01:06:00Z
10589
11262
  */
10590
11263
  endTime?: string;
11264
+ failedCount?: number;
10591
11265
  /**
10592
11266
  * @remarks
10593
11267
  * The queried performance metrics.
10594
11268
  */
10595
11269
  performances?: DescribePatternPerformanceResponseBodyPerformances[];
11270
+ queryCount?: number;
10596
11271
  /**
10597
11272
  * @remarks
10598
11273
  * The request ID.
@@ -10601,6 +11276,7 @@ export class DescribePatternPerformanceResponseBody extends $tea.Model {
10601
11276
  * F21AF487-B8C9-57E0-8E3A-A92BC3611FB6
10602
11277
  */
10603
11278
  requestId?: string;
11279
+ SQLPattern?: string;
10604
11280
  /**
10605
11281
  * @remarks
10606
11282
  * The start time of the query. The time follows the ISO 8601 standard in the *yyyy-MM-ddTHH:mmZ* format. The time is displayed in UTC.
@@ -10609,21 +11285,35 @@ export class DescribePatternPerformanceResponseBody extends $tea.Model {
10609
11285
  * 2022-08-21T02:15:00Z
10610
11286
  */
10611
11287
  startTime?: string;
11288
+ tables?: string;
11289
+ user?: string;
10612
11290
  static names(): { [key: string]: string } {
10613
11291
  return {
11292
+ accessIp: 'AccessIp',
10614
11293
  endTime: 'EndTime',
11294
+ failedCount: 'FailedCount',
10615
11295
  performances: 'Performances',
11296
+ queryCount: 'QueryCount',
10616
11297
  requestId: 'RequestId',
11298
+ SQLPattern: 'SQLPattern',
10617
11299
  startTime: 'StartTime',
11300
+ tables: 'Tables',
11301
+ user: 'User',
10618
11302
  };
10619
11303
  }
10620
11304
 
10621
11305
  static types(): { [key: string]: any } {
10622
11306
  return {
11307
+ accessIp: 'string',
10623
11308
  endTime: 'string',
11309
+ failedCount: 'number',
10624
11310
  performances: { 'type': 'array', 'itemType': DescribePatternPerformanceResponseBodyPerformances },
11311
+ queryCount: 'number',
10625
11312
  requestId: 'string',
11313
+ SQLPattern: 'string',
10626
11314
  startTime: 'string',
11315
+ tables: 'string',
11316
+ user: 'string',
10627
11317
  };
10628
11318
  }
10629
11319
 
@@ -13163,6 +13853,110 @@ export class EnableElasticPlanResponse extends $tea.Model {
13163
13853
  }
13164
13854
  }
13165
13855
 
13856
+ export class ExecuteSparkReplStatementRequest extends $tea.Model {
13857
+ /**
13858
+ * @example
13859
+ * s202411071444hzdvk486d9d2001****
13860
+ */
13861
+ appId?: string;
13862
+ /**
13863
+ * @remarks
13864
+ * This parameter is required.
13865
+ *
13866
+ * @example
13867
+ * print(1+1)
13868
+ */
13869
+ code?: string;
13870
+ /**
13871
+ * @remarks
13872
+ * This parameter is required.
13873
+ *
13874
+ * @example
13875
+ * PYTHON
13876
+ */
13877
+ codeType?: string;
13878
+ /**
13879
+ * @remarks
13880
+ * This parameter is required.
13881
+ *
13882
+ * @example
13883
+ * 123
13884
+ */
13885
+ sessionId?: number;
13886
+ static names(): { [key: string]: string } {
13887
+ return {
13888
+ appId: 'AppId',
13889
+ code: 'Code',
13890
+ codeType: 'CodeType',
13891
+ sessionId: 'SessionId',
13892
+ };
13893
+ }
13894
+
13895
+ static types(): { [key: string]: any } {
13896
+ return {
13897
+ appId: 'string',
13898
+ code: 'string',
13899
+ codeType: 'string',
13900
+ sessionId: 'number',
13901
+ };
13902
+ }
13903
+
13904
+ constructor(map?: { [key: string]: any }) {
13905
+ super(map);
13906
+ }
13907
+ }
13908
+
13909
+ export class ExecuteSparkReplStatementResponseBody extends $tea.Model {
13910
+ data?: ExecuteSparkReplStatementResponseBodyData;
13911
+ /**
13912
+ * @example
13913
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
13914
+ */
13915
+ requestId?: string;
13916
+ static names(): { [key: string]: string } {
13917
+ return {
13918
+ data: 'Data',
13919
+ requestId: 'RequestId',
13920
+ };
13921
+ }
13922
+
13923
+ static types(): { [key: string]: any } {
13924
+ return {
13925
+ data: ExecuteSparkReplStatementResponseBodyData,
13926
+ requestId: 'string',
13927
+ };
13928
+ }
13929
+
13930
+ constructor(map?: { [key: string]: any }) {
13931
+ super(map);
13932
+ }
13933
+ }
13934
+
13935
+ export class ExecuteSparkReplStatementResponse extends $tea.Model {
13936
+ headers?: { [key: string]: string };
13937
+ statusCode?: number;
13938
+ body?: ExecuteSparkReplStatementResponseBody;
13939
+ static names(): { [key: string]: string } {
13940
+ return {
13941
+ headers: 'headers',
13942
+ statusCode: 'statusCode',
13943
+ body: 'body',
13944
+ };
13945
+ }
13946
+
13947
+ static types(): { [key: string]: any } {
13948
+ return {
13949
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13950
+ statusCode: 'number',
13951
+ body: ExecuteSparkReplStatementResponseBody,
13952
+ };
13953
+ }
13954
+
13955
+ constructor(map?: { [key: string]: any }) {
13956
+ super(map);
13957
+ }
13958
+ }
13959
+
13166
13960
  export class ExistRunningSQLEngineRequest extends $tea.Model {
13167
13961
  /**
13168
13962
  * @remarks
@@ -14226,24 +15020,26 @@ export class GetSparkConfigLogPathResponse extends $tea.Model {
14226
15020
  }
14227
15021
  }
14228
15022
 
14229
- export class GetSparkDefinitionsRequest extends $tea.Model {
15023
+ export class GetSparkLogAnalyzeTaskRequest extends $tea.Model {
14230
15024
  /**
14231
15025
  * @remarks
14232
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
15026
+ * The ID of the Spark log analysis task. You can call the ListSparkLogAnalyzeTasks operation to query the IDs of all Spark log analysis tasks that are submitted in the current cluster.
15027
+ *
15028
+ * This parameter is required.
14233
15029
  *
14234
15030
  * @example
14235
- * amv-clusterxxx
15031
+ * 12
14236
15032
  */
14237
- DBClusterId?: string;
15033
+ taskId?: number;
14238
15034
  static names(): { [key: string]: string } {
14239
15035
  return {
14240
- DBClusterId: 'DBClusterId',
15036
+ taskId: 'TaskId',
14241
15037
  };
14242
15038
  }
14243
15039
 
14244
15040
  static types(): { [key: string]: any } {
14245
15041
  return {
14246
- DBClusterId: 'string',
15042
+ taskId: 'number',
14247
15043
  };
14248
15044
  }
14249
15045
 
@@ -14252,42 +15048,18 @@ export class GetSparkDefinitionsRequest extends $tea.Model {
14252
15048
  }
14253
15049
  }
14254
15050
 
14255
- export class GetSparkDefinitionsResponseBody extends $tea.Model {
15051
+ export class GetSparkLogAnalyzeTaskResponseBody extends $tea.Model {
14256
15052
  /**
14257
15053
  * @remarks
14258
- * The common definitions of Spark applications.
14259
- *
14260
- * @example
14261
- * {"SQLTemplateExample": "-- Here is just an example of SparkSQL. Modify the content and run your spark program.
14262
- * conf spark.driver.resourceSpec=medium;
14263
- * conf spark.executor.instances=2;
14264
- * conf spark.executor.resourceSpec=medium;
14265
- * conf spark.app.name=Spark SQL Test;
14266
- * conf spark.adb.connectors=oss;
14267
- *
14268
- * -- Here are your sql statements
14269
- * show databases;",
14270
- * "BatchTemplateExample": "{
14271
- * "comments": [
14272
- * "-- Here is just an example of SparkPi. Modify the content and run your spark program."
14273
- * ],
14274
- * "args": ["1000"],
14275
- * "file":"local:///tmp/spark-examples.jar",
14276
- * "name": "SparkPi",
14277
- * "className": "org.apache.spark.examples.SparkPi",
14278
- * "conf": { "spark.driver.resourceSpec": "medium",
14279
- * "spark.executor.instances": 2,
14280
- * "spark.executor.resourceSpec": "medium"
14281
- * }
14282
- * }"
15054
+ * The information about the Spark log analysis task.
14283
15055
  */
14284
- data?: string;
15056
+ data?: SparkAnalyzeLogTask;
14285
15057
  /**
14286
15058
  * @remarks
14287
- * The ID of the request.
15059
+ * The request ID.
14288
15060
  *
14289
15061
  * @example
14290
- * D65A809F-34CE-4550-9BC1-0ED21ETG380
15062
+ * 1DF5AF5B-C803-1861-A0FF-63666A557709
14291
15063
  */
14292
15064
  requestId?: string;
14293
15065
  static names(): { [key: string]: string } {
@@ -14299,7 +15071,7 @@ export class GetSparkDefinitionsResponseBody extends $tea.Model {
14299
15071
 
14300
15072
  static types(): { [key: string]: any } {
14301
15073
  return {
14302
- data: 'string',
15074
+ data: SparkAnalyzeLogTask,
14303
15075
  requestId: 'string',
14304
15076
  };
14305
15077
  }
@@ -14309,10 +15081,10 @@ export class GetSparkDefinitionsResponseBody extends $tea.Model {
14309
15081
  }
14310
15082
  }
14311
15083
 
14312
- export class GetSparkDefinitionsResponse extends $tea.Model {
15084
+ export class GetSparkLogAnalyzeTaskResponse extends $tea.Model {
14313
15085
  headers?: { [key: string]: string };
14314
15086
  statusCode?: number;
14315
- body?: GetSparkDefinitionsResponseBody;
15087
+ body?: GetSparkLogAnalyzeTaskResponseBody;
14316
15088
  static names(): { [key: string]: string } {
14317
15089
  return {
14318
15090
  headers: 'headers',
@@ -14325,7 +15097,7 @@ export class GetSparkDefinitionsResponse extends $tea.Model {
14325
15097
  return {
14326
15098
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14327
15099
  statusCode: 'number',
14328
- body: GetSparkDefinitionsResponseBody,
15100
+ body: GetSparkLogAnalyzeTaskResponseBody,
14329
15101
  };
14330
15102
  }
14331
15103
 
@@ -14334,26 +15106,31 @@ export class GetSparkDefinitionsResponse extends $tea.Model {
14334
15106
  }
14335
15107
  }
14336
15108
 
14337
- export class GetSparkLogAnalyzeTaskRequest extends $tea.Model {
15109
+ export class GetSparkReplSessionRequest extends $tea.Model {
15110
+ /**
15111
+ * @example
15112
+ * s202411071444hzdvk486d9d200****
15113
+ */
15114
+ appId?: string;
14338
15115
  /**
14339
15116
  * @remarks
14340
- * The ID of the Spark log analysis task. You can call the ListSparkLogAnalyzeTasks operation to query the IDs of all Spark log analysis tasks that are submitted in the current cluster.
14341
- *
14342
15117
  * This parameter is required.
14343
15118
  *
14344
15119
  * @example
14345
- * 12
15120
+ * 1
14346
15121
  */
14347
- taskId?: number;
15122
+ sessionId?: number;
14348
15123
  static names(): { [key: string]: string } {
14349
15124
  return {
14350
- taskId: 'TaskId',
15125
+ appId: 'AppId',
15126
+ sessionId: 'SessionId',
14351
15127
  };
14352
15128
  }
14353
15129
 
14354
15130
  static types(): { [key: string]: any } {
14355
15131
  return {
14356
- taskId: 'number',
15132
+ appId: 'string',
15133
+ sessionId: 'number',
14357
15134
  };
14358
15135
  }
14359
15136
 
@@ -14362,18 +15139,11 @@ export class GetSparkLogAnalyzeTaskRequest extends $tea.Model {
14362
15139
  }
14363
15140
  }
14364
15141
 
14365
- export class GetSparkLogAnalyzeTaskResponseBody extends $tea.Model {
15142
+ export class GetSparkReplSessionResponseBody extends $tea.Model {
15143
+ data?: GetSparkReplSessionResponseBodyData;
14366
15144
  /**
14367
- * @remarks
14368
- * The information about the Spark log analysis task.
14369
- */
14370
- data?: SparkAnalyzeLogTask;
14371
- /**
14372
- * @remarks
14373
- * The request ID.
14374
- *
14375
15145
  * @example
14376
- * 1DF5AF5B-C803-1861-A0FF-63666A557709
15146
+ * 4CE6DF97-AEA4-484F-906F-C407EE3770EB
14377
15147
  */
14378
15148
  requestId?: string;
14379
15149
  static names(): { [key: string]: string } {
@@ -14385,7 +15155,7 @@ export class GetSparkLogAnalyzeTaskResponseBody extends $tea.Model {
14385
15155
 
14386
15156
  static types(): { [key: string]: any } {
14387
15157
  return {
14388
- data: SparkAnalyzeLogTask,
15158
+ data: GetSparkReplSessionResponseBodyData,
14389
15159
  requestId: 'string',
14390
15160
  };
14391
15161
  }
@@ -14395,10 +15165,10 @@ export class GetSparkLogAnalyzeTaskResponseBody extends $tea.Model {
14395
15165
  }
14396
15166
  }
14397
15167
 
14398
- export class GetSparkLogAnalyzeTaskResponse extends $tea.Model {
15168
+ export class GetSparkReplSessionResponse extends $tea.Model {
14399
15169
  headers?: { [key: string]: string };
14400
15170
  statusCode?: number;
14401
- body?: GetSparkLogAnalyzeTaskResponseBody;
15171
+ body?: GetSparkReplSessionResponseBody;
14402
15172
  static names(): { [key: string]: string } {
14403
15173
  return {
14404
15174
  headers: 'headers',
@@ -14411,7 +15181,7 @@ export class GetSparkLogAnalyzeTaskResponse extends $tea.Model {
14411
15181
  return {
14412
15182
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14413
15183
  statusCode: 'number',
14414
- body: GetSparkLogAnalyzeTaskResponseBody,
15184
+ body: GetSparkReplSessionResponseBody,
14415
15185
  };
14416
15186
  }
14417
15187
 
@@ -14420,38 +15190,35 @@ export class GetSparkLogAnalyzeTaskResponse extends $tea.Model {
14420
15190
  }
14421
15191
  }
14422
15192
 
14423
- export class GetSparkSQLEngineStateRequest extends $tea.Model {
15193
+ export class GetSparkReplStatementRequest extends $tea.Model {
14424
15194
  /**
14425
- * @remarks
14426
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
14427
- *
14428
- * This parameter is required.
14429
- *
14430
15195
  * @example
14431
- * amv-bp11q28kvl688****
15196
+ * s202411071444hzdvk486d9d200****
14432
15197
  */
14433
- DBClusterId?: string;
15198
+ appId?: string;
14434
15199
  /**
14435
- * @remarks
14436
- * The name of the job resource group.
14437
- *
14438
- * This parameter is required.
14439
- *
14440
15200
  * @example
14441
- * test_instance
15201
+ * 1
14442
15202
  */
14443
- resourceGroupName?: string;
15203
+ sessionId?: number;
15204
+ /**
15205
+ * @example
15206
+ * 123
15207
+ */
15208
+ statementId?: number;
14444
15209
  static names(): { [key: string]: string } {
14445
15210
  return {
14446
- DBClusterId: 'DBClusterId',
14447
- resourceGroupName: 'ResourceGroupName',
15211
+ appId: 'AppId',
15212
+ sessionId: 'SessionId',
15213
+ statementId: 'StatementId',
14448
15214
  };
14449
15215
  }
14450
15216
 
14451
15217
  static types(): { [key: string]: any } {
14452
15218
  return {
14453
- DBClusterId: 'string',
14454
- resourceGroupName: 'string',
15219
+ appId: 'string',
15220
+ sessionId: 'number',
15221
+ statementId: 'number',
14455
15222
  };
14456
15223
  }
14457
15224
 
@@ -14460,18 +15227,11 @@ export class GetSparkSQLEngineStateRequest extends $tea.Model {
14460
15227
  }
14461
15228
  }
14462
15229
 
14463
- export class GetSparkSQLEngineStateResponseBody extends $tea.Model {
14464
- /**
14465
- * @remarks
14466
- * The state information about the Spark SQL engine.
14467
- */
14468
- data?: GetSparkSQLEngineStateResponseBodyData;
15230
+ export class GetSparkReplStatementResponseBody extends $tea.Model {
15231
+ data?: GetSparkReplStatementResponseBodyData;
14469
15232
  /**
14470
- * @remarks
14471
- * The request ID.
14472
- *
14473
15233
  * @example
14474
- * xxxx-xxx-xx
15234
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
14475
15235
  */
14476
15236
  requestId?: string;
14477
15237
  static names(): { [key: string]: string } {
@@ -14483,7 +15243,7 @@ export class GetSparkSQLEngineStateResponseBody extends $tea.Model {
14483
15243
 
14484
15244
  static types(): { [key: string]: any } {
14485
15245
  return {
14486
- data: GetSparkSQLEngineStateResponseBodyData,
15246
+ data: GetSparkReplStatementResponseBodyData,
14487
15247
  requestId: 'string',
14488
15248
  };
14489
15249
  }
@@ -14493,10 +15253,10 @@ export class GetSparkSQLEngineStateResponseBody extends $tea.Model {
14493
15253
  }
14494
15254
  }
14495
15255
 
14496
- export class GetSparkSQLEngineStateResponse extends $tea.Model {
15256
+ export class GetSparkReplStatementResponse extends $tea.Model {
14497
15257
  headers?: { [key: string]: string };
14498
15258
  statusCode?: number;
14499
- body?: GetSparkSQLEngineStateResponseBody;
15259
+ body?: GetSparkReplStatementResponseBody;
14500
15260
  static names(): { [key: string]: string } {
14501
15261
  return {
14502
15262
  headers: 'headers',
@@ -14509,7 +15269,7 @@ export class GetSparkSQLEngineStateResponse extends $tea.Model {
14509
15269
  return {
14510
15270
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14511
15271
  statusCode: 'number',
14512
- body: GetSparkSQLEngineStateResponseBody,
15272
+ body: GetSparkReplStatementResponseBody,
14513
15273
  };
14514
15274
  }
14515
15275
 
@@ -14518,7 +15278,7 @@ export class GetSparkSQLEngineStateResponse extends $tea.Model {
14518
15278
  }
14519
15279
  }
14520
15280
 
14521
- export class GetSparkTemplateFileContentRequest extends $tea.Model {
15281
+ export class GetSparkSQLEngineStateRequest extends $tea.Model {
14522
15282
  /**
14523
15283
  * @remarks
14524
15284
  * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
@@ -14526,32 +15286,30 @@ export class GetSparkTemplateFileContentRequest extends $tea.Model {
14526
15286
  * This parameter is required.
14527
15287
  *
14528
15288
  * @example
14529
- * amv-8vbn8pq537k8w****
15289
+ * amv-bp11q28kvl688****
14530
15290
  */
14531
15291
  DBClusterId?: string;
14532
15292
  /**
14533
15293
  * @remarks
14534
- * The application template ID.
14535
- *
14536
- * > You can call the [GetSparkTemplateFullTree](https://help.aliyun.com/document_detail/456205.html) operation to query the application template ID.
15294
+ * The name of the job resource group.
14537
15295
  *
14538
15296
  * This parameter is required.
14539
15297
  *
14540
15298
  * @example
14541
- * 725204
15299
+ * test_instance
14542
15300
  */
14543
- id?: number;
15301
+ resourceGroupName?: string;
14544
15302
  static names(): { [key: string]: string } {
14545
15303
  return {
14546
15304
  DBClusterId: 'DBClusterId',
14547
- id: 'Id',
15305
+ resourceGroupName: 'ResourceGroupName',
14548
15306
  };
14549
15307
  }
14550
15308
 
14551
15309
  static types(): { [key: string]: any } {
14552
15310
  return {
14553
15311
  DBClusterId: 'string',
14554
- id: 'number',
15312
+ resourceGroupName: 'string',
14555
15313
  };
14556
15314
  }
14557
15315
 
@@ -14560,18 +15318,18 @@ export class GetSparkTemplateFileContentRequest extends $tea.Model {
14560
15318
  }
14561
15319
  }
14562
15320
 
14563
- export class GetSparkTemplateFileContentResponseBody extends $tea.Model {
15321
+ export class GetSparkSQLEngineStateResponseBody extends $tea.Model {
14564
15322
  /**
14565
15323
  * @remarks
14566
- * The returned data.
15324
+ * The state information about the Spark SQL engine.
14567
15325
  */
14568
- data?: GetSparkTemplateFileContentResponseBodyData;
15326
+ data?: GetSparkSQLEngineStateResponseBodyData;
14569
15327
  /**
14570
15328
  * @remarks
14571
15329
  * The request ID.
14572
15330
  *
14573
15331
  * @example
14574
- * D65A809F-34CE-4550-9BC1-0ED21ETG380
15332
+ * xxxx-xxx-xx
14575
15333
  */
14576
15334
  requestId?: string;
14577
15335
  static names(): { [key: string]: string } {
@@ -14583,7 +15341,7 @@ export class GetSparkTemplateFileContentResponseBody extends $tea.Model {
14583
15341
 
14584
15342
  static types(): { [key: string]: any } {
14585
15343
  return {
14586
- data: GetSparkTemplateFileContentResponseBodyData,
15344
+ data: GetSparkSQLEngineStateResponseBodyData,
14587
15345
  requestId: 'string',
14588
15346
  };
14589
15347
  }
@@ -14593,10 +15351,10 @@ export class GetSparkTemplateFileContentResponseBody extends $tea.Model {
14593
15351
  }
14594
15352
  }
14595
15353
 
14596
- export class GetSparkTemplateFileContentResponse extends $tea.Model {
15354
+ export class GetSparkSQLEngineStateResponse extends $tea.Model {
14597
15355
  headers?: { [key: string]: string };
14598
15356
  statusCode?: number;
14599
- body?: GetSparkTemplateFileContentResponseBody;
15357
+ body?: GetSparkSQLEngineStateResponseBody;
14600
15358
  static names(): { [key: string]: string } {
14601
15359
  return {
14602
15360
  headers: 'headers',
@@ -14609,7 +15367,7 @@ export class GetSparkTemplateFileContentResponse extends $tea.Model {
14609
15367
  return {
14610
15368
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14611
15369
  statusCode: 'number',
14612
- body: GetSparkTemplateFileContentResponseBody,
15370
+ body: GetSparkSQLEngineStateResponseBody,
14613
15371
  };
14614
15372
  }
14615
15373
 
@@ -14618,7 +15376,7 @@ export class GetSparkTemplateFileContentResponse extends $tea.Model {
14618
15376
  }
14619
15377
  }
14620
15378
 
14621
- export class GetSparkTemplateFolderTreeRequest extends $tea.Model {
15379
+ export class GetSparkTemplateFileContentRequest extends $tea.Model {
14622
15380
  /**
14623
15381
  * @remarks
14624
15382
  * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
@@ -14626,18 +15384,32 @@ export class GetSparkTemplateFolderTreeRequest extends $tea.Model {
14626
15384
  * This parameter is required.
14627
15385
  *
14628
15386
  * @example
14629
- * amv-bp11q28kvl688****
15387
+ * amv-8vbn8pq537k8w****
14630
15388
  */
14631
15389
  DBClusterId?: string;
15390
+ /**
15391
+ * @remarks
15392
+ * The application template ID.
15393
+ *
15394
+ * > You can call the [GetSparkTemplateFullTree](https://help.aliyun.com/document_detail/456205.html) operation to query the application template ID.
15395
+ *
15396
+ * This parameter is required.
15397
+ *
15398
+ * @example
15399
+ * 725204
15400
+ */
15401
+ id?: number;
14632
15402
  static names(): { [key: string]: string } {
14633
15403
  return {
14634
15404
  DBClusterId: 'DBClusterId',
15405
+ id: 'Id',
14635
15406
  };
14636
15407
  }
14637
15408
 
14638
15409
  static types(): { [key: string]: any } {
14639
15410
  return {
14640
15411
  DBClusterId: 'string',
15412
+ id: 'number',
14641
15413
  };
14642
15414
  }
14643
15415
 
@@ -14646,38 +15418,18 @@ export class GetSparkTemplateFolderTreeRequest extends $tea.Model {
14646
15418
  }
14647
15419
  }
14648
15420
 
14649
- export class GetSparkTemplateFolderTreeResponseBody extends $tea.Model {
15421
+ export class GetSparkTemplateFileContentResponseBody extends $tea.Model {
14650
15422
  /**
14651
15423
  * @remarks
14652
- * The directory structure of Spark applications, which is in the tree format. Fields in the response parameter:
14653
- *
14654
- * * **Uid**: the UID of the Alibaba Cloud account.
14655
- *
14656
- * * **Type**: the application template type. Valid values: **FOLDER**
14657
- *
14658
- * * **Parent**: indicates whether a child directory exists. Valid values:
14659
- *
14660
- * * **0**: no.
14661
- * * **-1**: yes.
14662
- *
14663
- * * **Children**: the child directory.
14664
- *
14665
- * * **LastModified**: the time when applications in the directory are last modified. This value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.
14666
- *
14667
- * * **Name**: the name of the directory.
14668
- *
14669
- * * **Id**: the directory ID.
14670
- *
14671
- * @example
14672
- * { "Uid":195813423****, "Type":"FOLDER", "Parent":-1, "Children":[ { "LastModified":1647853173, "Uid":195813423****, "Type":"FOLDER", "Parent":0, "Id":157, "Name":"t" } ], "Id":725204, "Name":"root" }
15424
+ * The returned data.
14673
15425
  */
14674
- data?: string;
15426
+ data?: GetSparkTemplateFileContentResponseBodyData;
14675
15427
  /**
14676
15428
  * @remarks
14677
15429
  * The request ID.
14678
15430
  *
14679
15431
  * @example
14680
- * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
15432
+ * D65A809F-34CE-4550-9BC1-0ED21ETG380
14681
15433
  */
14682
15434
  requestId?: string;
14683
15435
  static names(): { [key: string]: string } {
@@ -14689,7 +15441,7 @@ export class GetSparkTemplateFolderTreeResponseBody extends $tea.Model {
14689
15441
 
14690
15442
  static types(): { [key: string]: any } {
14691
15443
  return {
14692
- data: 'string',
15444
+ data: GetSparkTemplateFileContentResponseBodyData,
14693
15445
  requestId: 'string',
14694
15446
  };
14695
15447
  }
@@ -14699,10 +15451,10 @@ export class GetSparkTemplateFolderTreeResponseBody extends $tea.Model {
14699
15451
  }
14700
15452
  }
14701
15453
 
14702
- export class GetSparkTemplateFolderTreeResponse extends $tea.Model {
15454
+ export class GetSparkTemplateFileContentResponse extends $tea.Model {
14703
15455
  headers?: { [key: string]: string };
14704
15456
  statusCode?: number;
14705
- body?: GetSparkTemplateFolderTreeResponseBody;
15457
+ body?: GetSparkTemplateFileContentResponseBody;
14706
15458
  static names(): { [key: string]: string } {
14707
15459
  return {
14708
15460
  headers: 'headers',
@@ -14715,7 +15467,7 @@ export class GetSparkTemplateFolderTreeResponse extends $tea.Model {
14715
15467
  return {
14716
15468
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14717
15469
  statusCode: 'number',
14718
- body: GetSparkTemplateFolderTreeResponseBody,
15470
+ body: GetSparkTemplateFileContentResponseBody,
14719
15471
  };
14720
15472
  }
14721
15473
 
@@ -14724,7 +15476,113 @@ export class GetSparkTemplateFolderTreeResponse extends $tea.Model {
14724
15476
  }
14725
15477
  }
14726
15478
 
14727
- export class GetSparkTemplateFullTreeRequest extends $tea.Model {
15479
+ export class GetSparkTemplateFolderTreeRequest extends $tea.Model {
15480
+ /**
15481
+ * @remarks
15482
+ * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
15483
+ *
15484
+ * This parameter is required.
15485
+ *
15486
+ * @example
15487
+ * amv-bp11q28kvl688****
15488
+ */
15489
+ DBClusterId?: string;
15490
+ static names(): { [key: string]: string } {
15491
+ return {
15492
+ DBClusterId: 'DBClusterId',
15493
+ };
15494
+ }
15495
+
15496
+ static types(): { [key: string]: any } {
15497
+ return {
15498
+ DBClusterId: 'string',
15499
+ };
15500
+ }
15501
+
15502
+ constructor(map?: { [key: string]: any }) {
15503
+ super(map);
15504
+ }
15505
+ }
15506
+
15507
+ export class GetSparkTemplateFolderTreeResponseBody extends $tea.Model {
15508
+ /**
15509
+ * @remarks
15510
+ * The directory structure of Spark applications, which is in the tree format. Fields in the response parameter:
15511
+ *
15512
+ * * **Uid**: the UID of the Alibaba Cloud account.
15513
+ *
15514
+ * * **Type**: the application template type. Valid values: **FOLDER**
15515
+ *
15516
+ * * **Parent**: indicates whether a child directory exists. Valid values:
15517
+ *
15518
+ * * **0**: no.
15519
+ * * **-1**: yes.
15520
+ *
15521
+ * * **Children**: the child directory.
15522
+ *
15523
+ * * **LastModified**: the time when applications in the directory are last modified. This value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.
15524
+ *
15525
+ * * **Name**: the name of the directory.
15526
+ *
15527
+ * * **Id**: the directory ID.
15528
+ *
15529
+ * @example
15530
+ * { "Uid":195813423****, "Type":"FOLDER", "Parent":-1, "Children":[ { "LastModified":1647853173, "Uid":195813423****, "Type":"FOLDER", "Parent":0, "Id":157, "Name":"t" } ], "Id":725204, "Name":"root" }
15531
+ */
15532
+ data?: string;
15533
+ /**
15534
+ * @remarks
15535
+ * The request ID.
15536
+ *
15537
+ * @example
15538
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
15539
+ */
15540
+ requestId?: string;
15541
+ static names(): { [key: string]: string } {
15542
+ return {
15543
+ data: 'Data',
15544
+ requestId: 'RequestId',
15545
+ };
15546
+ }
15547
+
15548
+ static types(): { [key: string]: any } {
15549
+ return {
15550
+ data: 'string',
15551
+ requestId: 'string',
15552
+ };
15553
+ }
15554
+
15555
+ constructor(map?: { [key: string]: any }) {
15556
+ super(map);
15557
+ }
15558
+ }
15559
+
15560
+ export class GetSparkTemplateFolderTreeResponse extends $tea.Model {
15561
+ headers?: { [key: string]: string };
15562
+ statusCode?: number;
15563
+ body?: GetSparkTemplateFolderTreeResponseBody;
15564
+ static names(): { [key: string]: string } {
15565
+ return {
15566
+ headers: 'headers',
15567
+ statusCode: 'statusCode',
15568
+ body: 'body',
15569
+ };
15570
+ }
15571
+
15572
+ static types(): { [key: string]: any } {
15573
+ return {
15574
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15575
+ statusCode: 'number',
15576
+ body: GetSparkTemplateFolderTreeResponseBody,
15577
+ };
15578
+ }
15579
+
15580
+ constructor(map?: { [key: string]: any }) {
15581
+ super(map);
15582
+ }
15583
+ }
15584
+
15585
+ export class GetSparkTemplateFullTreeRequest extends $tea.Model {
14728
15586
  /**
14729
15587
  * @remarks
14730
15588
  * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
@@ -15891,6 +16749,112 @@ export class GetViewObjectsResponse extends $tea.Model {
15891
16749
  }
15892
16750
  }
15893
16751
 
16752
+ export class GrantOperatorPermissionRequest extends $tea.Model {
16753
+ /**
16754
+ * @remarks
16755
+ * This parameter is required.
16756
+ *
16757
+ * @example
16758
+ * amv-bp1565u55p32****
16759
+ */
16760
+ DBClusterId?: string;
16761
+ /**
16762
+ * @remarks
16763
+ * This parameter is required.
16764
+ *
16765
+ * @example
16766
+ * 2022-11-30T00:00:00Z
16767
+ */
16768
+ expiredTime?: string;
16769
+ ownerAccount?: string;
16770
+ ownerId?: number;
16771
+ /**
16772
+ * @remarks
16773
+ * This parameter is required.
16774
+ *
16775
+ * @example
16776
+ * Control
16777
+ */
16778
+ privileges?: string;
16779
+ resourceOwnerAccount?: string;
16780
+ resourceOwnerId?: number;
16781
+ static names(): { [key: string]: string } {
16782
+ return {
16783
+ DBClusterId: 'DBClusterId',
16784
+ expiredTime: 'ExpiredTime',
16785
+ ownerAccount: 'OwnerAccount',
16786
+ ownerId: 'OwnerId',
16787
+ privileges: 'Privileges',
16788
+ resourceOwnerAccount: 'ResourceOwnerAccount',
16789
+ resourceOwnerId: 'ResourceOwnerId',
16790
+ };
16791
+ }
16792
+
16793
+ static types(): { [key: string]: any } {
16794
+ return {
16795
+ DBClusterId: 'string',
16796
+ expiredTime: 'string',
16797
+ ownerAccount: 'string',
16798
+ ownerId: 'number',
16799
+ privileges: 'string',
16800
+ resourceOwnerAccount: 'string',
16801
+ resourceOwnerId: 'number',
16802
+ };
16803
+ }
16804
+
16805
+ constructor(map?: { [key: string]: any }) {
16806
+ super(map);
16807
+ }
16808
+ }
16809
+
16810
+ export class GrantOperatorPermissionResponseBody extends $tea.Model {
16811
+ /**
16812
+ * @example
16813
+ * A438072A-E2E7-5509-9A3F-66293512A820
16814
+ */
16815
+ requestId?: string;
16816
+ static names(): { [key: string]: string } {
16817
+ return {
16818
+ requestId: 'RequestId',
16819
+ };
16820
+ }
16821
+
16822
+ static types(): { [key: string]: any } {
16823
+ return {
16824
+ requestId: 'string',
16825
+ };
16826
+ }
16827
+
16828
+ constructor(map?: { [key: string]: any }) {
16829
+ super(map);
16830
+ }
16831
+ }
16832
+
16833
+ export class GrantOperatorPermissionResponse extends $tea.Model {
16834
+ headers?: { [key: string]: string };
16835
+ statusCode?: number;
16836
+ body?: GrantOperatorPermissionResponseBody;
16837
+ static names(): { [key: string]: string } {
16838
+ return {
16839
+ headers: 'headers',
16840
+ statusCode: 'statusCode',
16841
+ body: 'body',
16842
+ };
16843
+ }
16844
+
16845
+ static types(): { [key: string]: any } {
16846
+ return {
16847
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16848
+ statusCode: 'number',
16849
+ body: GrantOperatorPermissionResponseBody,
16850
+ };
16851
+ }
16852
+
16853
+ constructor(map?: { [key: string]: any }) {
16854
+ super(map);
16855
+ }
16856
+ }
16857
+
15894
16858
  export class KillSparkAppRequest extends $tea.Model {
15895
16859
  /**
15896
16860
  * @remarks
@@ -16644,6 +17608,125 @@ export class ListSparkTemplateFileIdsResponse extends $tea.Model {
16644
17608
  }
16645
17609
  }
16646
17610
 
17611
+ export class ListTagResourcesRequest extends $tea.Model {
17612
+ /**
17613
+ * @example
17614
+ * 212db86sca4384811e0b5e8707ec21345
17615
+ */
17616
+ nextToken?: string;
17617
+ ownerAccount?: string;
17618
+ ownerId?: number;
17619
+ /**
17620
+ * @remarks
17621
+ * This parameter is required.
17622
+ *
17623
+ * @example
17624
+ * cn-hangzhou
17625
+ */
17626
+ regionId?: string;
17627
+ resourceId?: string[];
17628
+ resourceOwnerAccount?: string;
17629
+ resourceOwnerId?: number;
17630
+ /**
17631
+ * @remarks
17632
+ * This parameter is required.
17633
+ *
17634
+ * @example
17635
+ * dbclusterlakeversion
17636
+ */
17637
+ resourceType?: string;
17638
+ tag?: ListTagResourcesRequestTag[];
17639
+ static names(): { [key: string]: string } {
17640
+ return {
17641
+ nextToken: 'NextToken',
17642
+ ownerAccount: 'OwnerAccount',
17643
+ ownerId: 'OwnerId',
17644
+ regionId: 'RegionId',
17645
+ resourceId: 'ResourceId',
17646
+ resourceOwnerAccount: 'ResourceOwnerAccount',
17647
+ resourceOwnerId: 'ResourceOwnerId',
17648
+ resourceType: 'ResourceType',
17649
+ tag: 'Tag',
17650
+ };
17651
+ }
17652
+
17653
+ static types(): { [key: string]: any } {
17654
+ return {
17655
+ nextToken: 'string',
17656
+ ownerAccount: 'string',
17657
+ ownerId: 'number',
17658
+ regionId: 'string',
17659
+ resourceId: { 'type': 'array', 'itemType': 'string' },
17660
+ resourceOwnerAccount: 'string',
17661
+ resourceOwnerId: 'number',
17662
+ resourceType: 'string',
17663
+ tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
17664
+ };
17665
+ }
17666
+
17667
+ constructor(map?: { [key: string]: any }) {
17668
+ super(map);
17669
+ }
17670
+ }
17671
+
17672
+ export class ListTagResourcesResponseBody extends $tea.Model {
17673
+ /**
17674
+ * @example
17675
+ * 212db86sca4384811e0b5e8707ec21345
17676
+ */
17677
+ nextToken?: string;
17678
+ /**
17679
+ * @example
17680
+ * 184DE106-CB2C-4DD2-B57F-396652E6C8F8
17681
+ */
17682
+ requestId?: string;
17683
+ tagResources?: ListTagResourcesResponseBodyTagResources;
17684
+ static names(): { [key: string]: string } {
17685
+ return {
17686
+ nextToken: 'NextToken',
17687
+ requestId: 'RequestId',
17688
+ tagResources: 'TagResources',
17689
+ };
17690
+ }
17691
+
17692
+ static types(): { [key: string]: any } {
17693
+ return {
17694
+ nextToken: 'string',
17695
+ requestId: 'string',
17696
+ tagResources: ListTagResourcesResponseBodyTagResources,
17697
+ };
17698
+ }
17699
+
17700
+ constructor(map?: { [key: string]: any }) {
17701
+ super(map);
17702
+ }
17703
+ }
17704
+
17705
+ export class ListTagResourcesResponse extends $tea.Model {
17706
+ headers?: { [key: string]: string };
17707
+ statusCode?: number;
17708
+ body?: ListTagResourcesResponseBody;
17709
+ static names(): { [key: string]: string } {
17710
+ return {
17711
+ headers: 'headers',
17712
+ statusCode: 'statusCode',
17713
+ body: 'body',
17714
+ };
17715
+ }
17716
+
17717
+ static types(): { [key: string]: any } {
17718
+ return {
17719
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
17720
+ statusCode: 'number',
17721
+ body: ListTagResourcesResponseBody,
17722
+ };
17723
+ }
17724
+
17725
+ constructor(map?: { [key: string]: any }) {
17726
+ super(map);
17727
+ }
17728
+ }
17729
+
16647
17730
  export class LoadSampleDataSetRequest extends $tea.Model {
16648
17731
  /**
16649
17732
  * @remarks
@@ -17602,6 +18685,102 @@ export class ModifyClusterConnectionStringResponse extends $tea.Model {
17602
18685
  }
17603
18686
  }
17604
18687
 
18688
+ export class ModifyCompactionServiceSwitchRequest extends $tea.Model {
18689
+ /**
18690
+ * @remarks
18691
+ * The cluster ID.
18692
+ *
18693
+ * This parameter is required.
18694
+ *
18695
+ * @example
18696
+ * amv-bp14t95lun0w****
18697
+ */
18698
+ DBClusterId?: string;
18699
+ /**
18700
+ * @remarks
18701
+ * Specifies whether to enable the remote build feature.
18702
+ *
18703
+ * Valid values:
18704
+ *
18705
+ * * true
18706
+ * * false
18707
+ *
18708
+ * This parameter is required.
18709
+ *
18710
+ * @example
18711
+ * true
18712
+ */
18713
+ enableCompactionService?: boolean;
18714
+ static names(): { [key: string]: string } {
18715
+ return {
18716
+ DBClusterId: 'DBClusterId',
18717
+ enableCompactionService: 'EnableCompactionService',
18718
+ };
18719
+ }
18720
+
18721
+ static types(): { [key: string]: any } {
18722
+ return {
18723
+ DBClusterId: 'string',
18724
+ enableCompactionService: 'boolean',
18725
+ };
18726
+ }
18727
+
18728
+ constructor(map?: { [key: string]: any }) {
18729
+ super(map);
18730
+ }
18731
+ }
18732
+
18733
+ export class ModifyCompactionServiceSwitchResponseBody extends $tea.Model {
18734
+ /**
18735
+ * @remarks
18736
+ * The request ID.
18737
+ *
18738
+ * @example
18739
+ * 21ABF219-10E0-571B-94B8-9C9AE5022BF8
18740
+ */
18741
+ requestId?: string;
18742
+ static names(): { [key: string]: string } {
18743
+ return {
18744
+ requestId: 'RequestId',
18745
+ };
18746
+ }
18747
+
18748
+ static types(): { [key: string]: any } {
18749
+ return {
18750
+ requestId: 'string',
18751
+ };
18752
+ }
18753
+
18754
+ constructor(map?: { [key: string]: any }) {
18755
+ super(map);
18756
+ }
18757
+ }
18758
+
18759
+ export class ModifyCompactionServiceSwitchResponse extends $tea.Model {
18760
+ headers?: { [key: string]: string };
18761
+ statusCode?: number;
18762
+ body?: ModifyCompactionServiceSwitchResponseBody;
18763
+ static names(): { [key: string]: string } {
18764
+ return {
18765
+ headers: 'headers',
18766
+ statusCode: 'statusCode',
18767
+ body: 'body',
18768
+ };
18769
+ }
18770
+
18771
+ static types(): { [key: string]: any } {
18772
+ return {
18773
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18774
+ statusCode: 'number',
18775
+ body: ModifyCompactionServiceSwitchResponseBody,
18776
+ };
18777
+ }
18778
+
18779
+ constructor(map?: { [key: string]: any }) {
18780
+ super(map);
18781
+ }
18782
+ }
18783
+
17605
18784
  export class ModifyDBClusterRequest extends $tea.Model {
17606
18785
  /**
17607
18786
  * @remarks
@@ -17965,6 +19144,222 @@ export class ModifyDBClusterMaintainTimeResponse extends $tea.Model {
17965
19144
  }
17966
19145
  }
17967
19146
 
19147
+ export class ModifyDBClusterResourceGroupRequest extends $tea.Model {
19148
+ /**
19149
+ * @remarks
19150
+ * This parameter is required.
19151
+ *
19152
+ * @example
19153
+ * amv-bpxxxxx
19154
+ */
19155
+ DBClusterId?: string;
19156
+ /**
19157
+ * @remarks
19158
+ * This parameter is required.
19159
+ *
19160
+ * @example
19161
+ * rg-acxxxxx
19162
+ */
19163
+ newResourceGroupId?: string;
19164
+ ownerAccount?: string;
19165
+ ownerId?: number;
19166
+ resourceOwnerAccount?: string;
19167
+ resourceOwnerId?: number;
19168
+ static names(): { [key: string]: string } {
19169
+ return {
19170
+ DBClusterId: 'DBClusterId',
19171
+ newResourceGroupId: 'NewResourceGroupId',
19172
+ ownerAccount: 'OwnerAccount',
19173
+ ownerId: 'OwnerId',
19174
+ resourceOwnerAccount: 'ResourceOwnerAccount',
19175
+ resourceOwnerId: 'ResourceOwnerId',
19176
+ };
19177
+ }
19178
+
19179
+ static types(): { [key: string]: any } {
19180
+ return {
19181
+ DBClusterId: 'string',
19182
+ newResourceGroupId: 'string',
19183
+ ownerAccount: 'string',
19184
+ ownerId: 'number',
19185
+ resourceOwnerAccount: 'string',
19186
+ resourceOwnerId: 'number',
19187
+ };
19188
+ }
19189
+
19190
+ constructor(map?: { [key: string]: any }) {
19191
+ super(map);
19192
+ }
19193
+ }
19194
+
19195
+ export class ModifyDBClusterResourceGroupResponseBody extends $tea.Model {
19196
+ /**
19197
+ * @example
19198
+ * 65BDA532-28AF-4122-AA39-B382721EEE64
19199
+ */
19200
+ requestId?: string;
19201
+ static names(): { [key: string]: string } {
19202
+ return {
19203
+ requestId: 'RequestId',
19204
+ };
19205
+ }
19206
+
19207
+ static types(): { [key: string]: any } {
19208
+ return {
19209
+ requestId: 'string',
19210
+ };
19211
+ }
19212
+
19213
+ constructor(map?: { [key: string]: any }) {
19214
+ super(map);
19215
+ }
19216
+ }
19217
+
19218
+ export class ModifyDBClusterResourceGroupResponse extends $tea.Model {
19219
+ headers?: { [key: string]: string };
19220
+ statusCode?: number;
19221
+ body?: ModifyDBClusterResourceGroupResponseBody;
19222
+ static names(): { [key: string]: string } {
19223
+ return {
19224
+ headers: 'headers',
19225
+ statusCode: 'statusCode',
19226
+ body: 'body',
19227
+ };
19228
+ }
19229
+
19230
+ static types(): { [key: string]: any } {
19231
+ return {
19232
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19233
+ statusCode: 'number',
19234
+ body: ModifyDBClusterResourceGroupResponseBody,
19235
+ };
19236
+ }
19237
+
19238
+ constructor(map?: { [key: string]: any }) {
19239
+ super(map);
19240
+ }
19241
+ }
19242
+
19243
+ export class ModifyDBClusterVipRequest extends $tea.Model {
19244
+ /**
19245
+ * @remarks
19246
+ * The endpoint of the cluster.
19247
+ */
19248
+ connectString?: string;
19249
+ /**
19250
+ * @remarks
19251
+ * The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
19252
+ *
19253
+ * > 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.
19254
+ *
19255
+ * This parameter is required.
19256
+ *
19257
+ * @example
19258
+ * amv-2ze8mbuai97*****
19259
+ */
19260
+ DBClusterId?: string;
19261
+ /**
19262
+ * @remarks
19263
+ * The VPC ID.
19264
+ *
19265
+ * >
19266
+ *
19267
+ * * The new **VPC** must reside in the same region as the cluster.
19268
+ *
19269
+ * This parameter is required.
19270
+ *
19271
+ * @example
19272
+ * vpc-bp1at5ze0t5u3xtqn****
19273
+ */
19274
+ VPCId?: string;
19275
+ /**
19276
+ * @remarks
19277
+ * The vSwitch ID.
19278
+ *
19279
+ * >
19280
+ *
19281
+ * * The new vSwitch must reside in the same zone as the cluster.
19282
+ *
19283
+ * This parameter is required.
19284
+ *
19285
+ * @example
19286
+ * vsw-bp1aadw9k19x6cis9****
19287
+ */
19288
+ vSwitchId?: string;
19289
+ static names(): { [key: string]: string } {
19290
+ return {
19291
+ connectString: 'ConnectString',
19292
+ DBClusterId: 'DBClusterId',
19293
+ VPCId: 'VPCId',
19294
+ vSwitchId: 'VSwitchId',
19295
+ };
19296
+ }
19297
+
19298
+ static types(): { [key: string]: any } {
19299
+ return {
19300
+ connectString: 'string',
19301
+ DBClusterId: 'string',
19302
+ VPCId: 'string',
19303
+ vSwitchId: 'string',
19304
+ };
19305
+ }
19306
+
19307
+ constructor(map?: { [key: string]: any }) {
19308
+ super(map);
19309
+ }
19310
+ }
19311
+
19312
+ export class ModifyDBClusterVipResponseBody extends $tea.Model {
19313
+ /**
19314
+ * @remarks
19315
+ * The request ID.
19316
+ *
19317
+ * @example
19318
+ * 1AD222E9-****-4A42-BF6D-8A4442913CEF
19319
+ */
19320
+ requestId?: string;
19321
+ static names(): { [key: string]: string } {
19322
+ return {
19323
+ requestId: 'RequestId',
19324
+ };
19325
+ }
19326
+
19327
+ static types(): { [key: string]: any } {
19328
+ return {
19329
+ requestId: 'string',
19330
+ };
19331
+ }
19332
+
19333
+ constructor(map?: { [key: string]: any }) {
19334
+ super(map);
19335
+ }
19336
+ }
19337
+
19338
+ export class ModifyDBClusterVipResponse extends $tea.Model {
19339
+ headers?: { [key: string]: string };
19340
+ statusCode?: number;
19341
+ body?: ModifyDBClusterVipResponseBody;
19342
+ static names(): { [key: string]: string } {
19343
+ return {
19344
+ headers: 'headers',
19345
+ statusCode: 'statusCode',
19346
+ body: 'body',
19347
+ };
19348
+ }
19349
+
19350
+ static types(): { [key: string]: any } {
19351
+ return {
19352
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19353
+ statusCode: 'number',
19354
+ body: ModifyDBClusterVipResponseBody,
19355
+ };
19356
+ }
19357
+
19358
+ constructor(map?: { [key: string]: any }) {
19359
+ super(map);
19360
+ }
19361
+ }
19362
+
17968
19363
  export class ModifyDBResourceGroupRequest extends $tea.Model {
17969
19364
  autoStopInterval?: string;
17970
19365
  /**
@@ -18517,6 +19912,198 @@ export class ModifyElasticPlanResponse extends $tea.Model {
18517
19912
  }
18518
19913
  }
18519
19914
 
19915
+ export class ModifyEssdCacheConfigRequest extends $tea.Model {
19916
+ /**
19917
+ * @remarks
19918
+ * This parameter is required.
19919
+ *
19920
+ * @example
19921
+ * amv-bp10yt0gva71ei7d
19922
+ */
19923
+ DBClusterId?: string;
19924
+ /**
19925
+ * @remarks
19926
+ * This parameter is required.
19927
+ *
19928
+ * @example
19929
+ * true
19930
+ */
19931
+ enableEssdCache?: boolean;
19932
+ /**
19933
+ * @example
19934
+ * 500
19935
+ */
19936
+ essdCacheSize?: number;
19937
+ static names(): { [key: string]: string } {
19938
+ return {
19939
+ DBClusterId: 'DBClusterId',
19940
+ enableEssdCache: 'EnableEssdCache',
19941
+ essdCacheSize: 'EssdCacheSize',
19942
+ };
19943
+ }
19944
+
19945
+ static types(): { [key: string]: any } {
19946
+ return {
19947
+ DBClusterId: 'string',
19948
+ enableEssdCache: 'boolean',
19949
+ essdCacheSize: 'number',
19950
+ };
19951
+ }
19952
+
19953
+ constructor(map?: { [key: string]: any }) {
19954
+ super(map);
19955
+ }
19956
+ }
19957
+
19958
+ export class ModifyEssdCacheConfigResponseBody extends $tea.Model {
19959
+ /**
19960
+ * @example
19961
+ * 115F9CCA-EF2E-5F91-AB60-4961D52FEAB4
19962
+ */
19963
+ requestId?: string;
19964
+ static names(): { [key: string]: string } {
19965
+ return {
19966
+ requestId: 'RequestId',
19967
+ };
19968
+ }
19969
+
19970
+ static types(): { [key: string]: any } {
19971
+ return {
19972
+ requestId: 'string',
19973
+ };
19974
+ }
19975
+
19976
+ constructor(map?: { [key: string]: any }) {
19977
+ super(map);
19978
+ }
19979
+ }
19980
+
19981
+ export class ModifyEssdCacheConfigResponse extends $tea.Model {
19982
+ headers?: { [key: string]: string };
19983
+ statusCode?: number;
19984
+ body?: ModifyEssdCacheConfigResponseBody;
19985
+ static names(): { [key: string]: string } {
19986
+ return {
19987
+ headers: 'headers',
19988
+ statusCode: 'statusCode',
19989
+ body: 'body',
19990
+ };
19991
+ }
19992
+
19993
+ static types(): { [key: string]: any } {
19994
+ return {
19995
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19996
+ statusCode: 'number',
19997
+ body: ModifyEssdCacheConfigResponseBody,
19998
+ };
19999
+ }
20000
+
20001
+ constructor(map?: { [key: string]: any }) {
20002
+ super(map);
20003
+ }
20004
+ }
20005
+
20006
+ export class ModifyLakeCacheSizeRequest extends $tea.Model {
20007
+ /**
20008
+ * @example
20009
+ * 100
20010
+ */
20011
+ capacity?: number;
20012
+ /**
20013
+ * @remarks
20014
+ * This parameter is required.
20015
+ *
20016
+ * @example
20017
+ * amv-bp10yt0gva71ei7d
20018
+ */
20019
+ DBClusterId?: string;
20020
+ /**
20021
+ * @remarks
20022
+ * This parameter is required.
20023
+ *
20024
+ * @example
20025
+ * true
20026
+ */
20027
+ enableLakeCache?: boolean;
20028
+ static names(): { [key: string]: string } {
20029
+ return {
20030
+ capacity: 'Capacity',
20031
+ DBClusterId: 'DBClusterId',
20032
+ enableLakeCache: 'EnableLakeCache',
20033
+ };
20034
+ }
20035
+
20036
+ static types(): { [key: string]: any } {
20037
+ return {
20038
+ capacity: 'number',
20039
+ DBClusterId: 'string',
20040
+ enableLakeCache: 'boolean',
20041
+ };
20042
+ }
20043
+
20044
+ constructor(map?: { [key: string]: any }) {
20045
+ super(map);
20046
+ }
20047
+ }
20048
+
20049
+ export class ModifyLakeCacheSizeResponseBody extends $tea.Model {
20050
+ /**
20051
+ * @example
20052
+ * 200
20053
+ */
20054
+ code?: number;
20055
+ data?: ModifyLakeCacheSizeResponseBodyData;
20056
+ /**
20057
+ * @example
20058
+ * 494486CE-6F49-574E-B304-29127EA12E36
20059
+ */
20060
+ requestId?: string;
20061
+ static names(): { [key: string]: string } {
20062
+ return {
20063
+ code: 'Code',
20064
+ data: 'Data',
20065
+ requestId: 'RequestId',
20066
+ };
20067
+ }
20068
+
20069
+ static types(): { [key: string]: any } {
20070
+ return {
20071
+ code: 'number',
20072
+ data: ModifyLakeCacheSizeResponseBodyData,
20073
+ requestId: 'string',
20074
+ };
20075
+ }
20076
+
20077
+ constructor(map?: { [key: string]: any }) {
20078
+ super(map);
20079
+ }
20080
+ }
20081
+
20082
+ export class ModifyLakeCacheSizeResponse extends $tea.Model {
20083
+ headers?: { [key: string]: string };
20084
+ statusCode?: number;
20085
+ body?: ModifyLakeCacheSizeResponseBody;
20086
+ static names(): { [key: string]: string } {
20087
+ return {
20088
+ headers: 'headers',
20089
+ statusCode: 'statusCode',
20090
+ body: 'body',
20091
+ };
20092
+ }
20093
+
20094
+ static types(): { [key: string]: any } {
20095
+ return {
20096
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
20097
+ statusCode: 'number',
20098
+ body: ModifyLakeCacheSizeResponseBody,
20099
+ };
20100
+ }
20101
+
20102
+ constructor(map?: { [key: string]: any }) {
20103
+ super(map);
20104
+ }
20105
+ }
20106
+
18520
20107
  export class ModifyPerformanceViewRequest extends $tea.Model {
18521
20108
  /**
18522
20109
  * @remarks
@@ -18943,50 +20530,82 @@ export class ReleaseClusterPublicConnectionResponse extends $tea.Model {
18943
20530
  }
18944
20531
  }
18945
20532
 
18946
- export class RenameSparkTemplateFileRequest extends $tea.Model {
20533
+ export class ResetAccountPasswordRequest extends $tea.Model {
18947
20534
  /**
18948
20535
  * @remarks
18949
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
20536
+ * The description of the database account.
20537
+ *
20538
+ * * The description cannot start with `http://` or `https://`.
20539
+ * * The description must be 2 to 256 characters in length.
20540
+ *
20541
+ * @example
20542
+ * AccDesc
20543
+ */
20544
+ accountDescription?: string;
20545
+ /**
20546
+ * @remarks
20547
+ * The name of the database account.
20548
+ *
20549
+ * > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the information about database accounts of an AnalyticDB for MySQL cluster, including database account names.
18950
20550
  *
18951
20551
  * This parameter is required.
18952
20552
  *
18953
20553
  * @example
18954
- * amv-d*****
20554
+ * test_accout
18955
20555
  */
18956
- DBClusterId?: string;
20556
+ accountName?: string;
18957
20557
  /**
18958
20558
  * @remarks
18959
- * The template file ID.
20559
+ * The password of the database account.
20560
+ *
20561
+ * * The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
20562
+ * * Special characters include `! @ # $ % ^ & * ( ) _ + - =`
20563
+ * * The password must be 8 to 32 characters in length.
18960
20564
  *
18961
20565
  * This parameter is required.
18962
20566
  *
18963
20567
  * @example
18964
- * 1
20568
+ * Test_accout1
18965
20569
  */
18966
- id?: number;
20570
+ accountPassword?: string;
18967
20571
  /**
18968
20572
  * @remarks
18969
- * The name of the template file that you want to rename.
20573
+ * The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
18970
20574
  *
18971
20575
  * This parameter is required.
18972
20576
  *
18973
20577
  * @example
18974
- * new_template_name
20578
+ * amv-bp11q28kvl688****
18975
20579
  */
18976
- name?: string;
20580
+ DBClusterId?: string;
20581
+ /**
20582
+ * @remarks
20583
+ * The database engine of the cluster. Valid values:
20584
+ *
20585
+ * * **AnalyticDB** (default): the AnalyticDB for MySQL engine.
20586
+ * * **Clickhouse**: the wide table engine.
20587
+ *
20588
+ * @example
20589
+ * Clickhouse
20590
+ */
20591
+ engine?: string;
18977
20592
  static names(): { [key: string]: string } {
18978
20593
  return {
20594
+ accountDescription: 'AccountDescription',
20595
+ accountName: 'AccountName',
20596
+ accountPassword: 'AccountPassword',
18979
20597
  DBClusterId: 'DBClusterId',
18980
- id: 'Id',
18981
- name: 'Name',
20598
+ engine: 'Engine',
18982
20599
  };
18983
20600
  }
18984
20601
 
18985
20602
  static types(): { [key: string]: any } {
18986
20603
  return {
20604
+ accountDescription: 'string',
20605
+ accountName: 'string',
20606
+ accountPassword: 'string',
18987
20607
  DBClusterId: 'string',
18988
- id: 'number',
18989
- name: 'string',
20608
+ engine: 'string',
18990
20609
  };
18991
20610
  }
18992
20611
 
@@ -18995,30 +20614,23 @@ export class RenameSparkTemplateFileRequest extends $tea.Model {
18995
20614
  }
18996
20615
  }
18997
20616
 
18998
- export class RenameSparkTemplateFileResponseBody extends $tea.Model {
18999
- /**
19000
- * @remarks
19001
- * The data returned.
19002
- */
19003
- data?: RenameSparkTemplateFileResponseBodyData;
20617
+ export class ResetAccountPasswordResponseBody extends $tea.Model {
19004
20618
  /**
19005
20619
  * @remarks
19006
20620
  * The request ID.
19007
20621
  *
19008
20622
  * @example
19009
- * 16D332C4-ACEB-526A-9B53-2B708FED594A
20623
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
19010
20624
  */
19011
20625
  requestId?: string;
19012
20626
  static names(): { [key: string]: string } {
19013
20627
  return {
19014
- data: 'Data',
19015
20628
  requestId: 'RequestId',
19016
20629
  };
19017
20630
  }
19018
20631
 
19019
20632
  static types(): { [key: string]: any } {
19020
20633
  return {
19021
- data: RenameSparkTemplateFileResponseBodyData,
19022
20634
  requestId: 'string',
19023
20635
  };
19024
20636
  }
@@ -19028,10 +20640,10 @@ export class RenameSparkTemplateFileResponseBody extends $tea.Model {
19028
20640
  }
19029
20641
  }
19030
20642
 
19031
- export class RenameSparkTemplateFileResponse extends $tea.Model {
20643
+ export class ResetAccountPasswordResponse extends $tea.Model {
19032
20644
  headers?: { [key: string]: string };
19033
20645
  statusCode?: number;
19034
- body?: RenameSparkTemplateFileResponseBody;
20646
+ body?: ResetAccountPasswordResponseBody;
19035
20647
  static names(): { [key: string]: string } {
19036
20648
  return {
19037
20649
  headers: 'headers',
@@ -19044,7 +20656,7 @@ export class RenameSparkTemplateFileResponse extends $tea.Model {
19044
20656
  return {
19045
20657
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19046
20658
  statusCode: 'number',
19047
- body: RenameSparkTemplateFileResponseBody,
20659
+ body: ResetAccountPasswordResponseBody,
19048
20660
  };
19049
20661
  }
19050
20662
 
@@ -19053,82 +20665,36 @@ export class RenameSparkTemplateFileResponse extends $tea.Model {
19053
20665
  }
19054
20666
  }
19055
20667
 
19056
- export class ResetAccountPasswordRequest extends $tea.Model {
19057
- /**
19058
- * @remarks
19059
- * The description of the database account.
19060
- *
19061
- * * The description cannot start with `http://` or `https://`.
19062
- * * The description must be 2 to 256 characters in length.
19063
- *
19064
- * @example
19065
- * AccDesc
19066
- */
19067
- accountDescription?: string;
20668
+ export class RevokeOperatorPermissionRequest extends $tea.Model {
19068
20669
  /**
19069
20670
  * @remarks
19070
- * The name of the database account.
19071
- *
19072
- * > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the information about database accounts of an AnalyticDB for MySQL cluster, including database account names.
19073
- *
19074
- * This parameter is required.
19075
- *
19076
- * @example
19077
- * test_accout
19078
- */
19079
- accountName?: string;
19080
- /**
19081
- * @remarks
19082
- * The password of the database account.
19083
- *
19084
- * * The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
19085
- * * Special characters include `! @ # $ % ^ & * ( ) _ + - =`
19086
- * * The password must be 8 to 32 characters in length.
19087
- *
19088
20671
  * This parameter is required.
19089
20672
  *
19090
20673
  * @example
19091
- * Test_accout1
19092
- */
19093
- accountPassword?: string;
19094
- /**
19095
- * @remarks
19096
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
19097
- *
19098
- * This parameter is required.
19099
- *
19100
- * @example
19101
- * amv-bp11q28kvl688****
20674
+ * amv-bp1mfe9qmsw1dzyg
19102
20675
  */
19103
20676
  DBClusterId?: string;
19104
- /**
19105
- * @remarks
19106
- * The database engine of the cluster. Valid values:
19107
- *
19108
- * * **AnalyticDB** (default): the AnalyticDB for MySQL engine.
19109
- * * **Clickhouse**: the wide table engine.
19110
- *
19111
- * @example
19112
- * Clickhouse
19113
- */
19114
- engine?: string;
20677
+ ownerAccount?: string;
20678
+ ownerId?: number;
20679
+ resourceOwnerAccount?: string;
20680
+ resourceOwnerId?: number;
19115
20681
  static names(): { [key: string]: string } {
19116
20682
  return {
19117
- accountDescription: 'AccountDescription',
19118
- accountName: 'AccountName',
19119
- accountPassword: 'AccountPassword',
19120
20683
  DBClusterId: 'DBClusterId',
19121
- engine: 'Engine',
20684
+ ownerAccount: 'OwnerAccount',
20685
+ ownerId: 'OwnerId',
20686
+ resourceOwnerAccount: 'ResourceOwnerAccount',
20687
+ resourceOwnerId: 'ResourceOwnerId',
19122
20688
  };
19123
20689
  }
19124
20690
 
19125
20691
  static types(): { [key: string]: any } {
19126
20692
  return {
19127
- accountDescription: 'string',
19128
- accountName: 'string',
19129
- accountPassword: 'string',
19130
20693
  DBClusterId: 'string',
19131
- engine: 'string',
20694
+ ownerAccount: 'string',
20695
+ ownerId: 'number',
20696
+ resourceOwnerAccount: 'string',
20697
+ resourceOwnerId: 'number',
19132
20698
  };
19133
20699
  }
19134
20700
 
@@ -19137,11 +20703,8 @@ export class ResetAccountPasswordRequest extends $tea.Model {
19137
20703
  }
19138
20704
  }
19139
20705
 
19140
- export class ResetAccountPasswordResponseBody extends $tea.Model {
20706
+ export class RevokeOperatorPermissionResponseBody extends $tea.Model {
19141
20707
  /**
19142
- * @remarks
19143
- * The request ID.
19144
- *
19145
20708
  * @example
19146
20709
  * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
19147
20710
  */
@@ -19163,10 +20726,10 @@ export class ResetAccountPasswordResponseBody extends $tea.Model {
19163
20726
  }
19164
20727
  }
19165
20728
 
19166
- export class ResetAccountPasswordResponse extends $tea.Model {
20729
+ export class RevokeOperatorPermissionResponse extends $tea.Model {
19167
20730
  headers?: { [key: string]: string };
19168
20731
  statusCode?: number;
19169
- body?: ResetAccountPasswordResponseBody;
20732
+ body?: RevokeOperatorPermissionResponseBody;
19170
20733
  static names(): { [key: string]: string } {
19171
20734
  return {
19172
20735
  headers: 'headers',
@@ -19179,7 +20742,7 @@ export class ResetAccountPasswordResponse extends $tea.Model {
19179
20742
  return {
19180
20743
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19181
20744
  statusCode: 'number',
19182
- body: ResetAccountPasswordResponseBody,
20745
+ body: RevokeOperatorPermissionResponseBody,
19183
20746
  };
19184
20747
  }
19185
20748
 
@@ -19294,6 +20857,103 @@ export class SetSparkAppLogRootPathResponse extends $tea.Model {
19294
20857
  }
19295
20858
  }
19296
20859
 
20860
+ export class StartSparkReplSessionRequest extends $tea.Model {
20861
+ /**
20862
+ * @remarks
20863
+ * This parameter is required.
20864
+ *
20865
+ * @example
20866
+ * { "spark.shuffle.timeout": ":0s" }
20867
+ */
20868
+ config?: string;
20869
+ /**
20870
+ * @remarks
20871
+ * This parameter is required.
20872
+ *
20873
+ * @example
20874
+ * amv-bp1mfe9qm****
20875
+ */
20876
+ DBClusterId?: string;
20877
+ /**
20878
+ * @remarks
20879
+ * This parameter is required.
20880
+ *
20881
+ * @example
20882
+ * test
20883
+ */
20884
+ resourceGroupName?: string;
20885
+ static names(): { [key: string]: string } {
20886
+ return {
20887
+ config: 'Config',
20888
+ DBClusterId: 'DBClusterId',
20889
+ resourceGroupName: 'ResourceGroupName',
20890
+ };
20891
+ }
20892
+
20893
+ static types(): { [key: string]: any } {
20894
+ return {
20895
+ config: 'string',
20896
+ DBClusterId: 'string',
20897
+ resourceGroupName: 'string',
20898
+ };
20899
+ }
20900
+
20901
+ constructor(map?: { [key: string]: any }) {
20902
+ super(map);
20903
+ }
20904
+ }
20905
+
20906
+ export class StartSparkReplSessionResponseBody extends $tea.Model {
20907
+ data?: StartSparkReplSessionResponseBodyData;
20908
+ /**
20909
+ * @example
20910
+ * C1797FEA-B7D6-5ED6-A24B-2C8C5F4D7361
20911
+ */
20912
+ requestId?: string;
20913
+ static names(): { [key: string]: string } {
20914
+ return {
20915
+ data: 'Data',
20916
+ requestId: 'RequestId',
20917
+ };
20918
+ }
20919
+
20920
+ static types(): { [key: string]: any } {
20921
+ return {
20922
+ data: StartSparkReplSessionResponseBodyData,
20923
+ requestId: 'string',
20924
+ };
20925
+ }
20926
+
20927
+ constructor(map?: { [key: string]: any }) {
20928
+ super(map);
20929
+ }
20930
+ }
20931
+
20932
+ export class StartSparkReplSessionResponse extends $tea.Model {
20933
+ headers?: { [key: string]: string };
20934
+ statusCode?: number;
20935
+ body?: StartSparkReplSessionResponseBody;
20936
+ static names(): { [key: string]: string } {
20937
+ return {
20938
+ headers: 'headers',
20939
+ statusCode: 'statusCode',
20940
+ body: 'body',
20941
+ };
20942
+ }
20943
+
20944
+ static types(): { [key: string]: any } {
20945
+ return {
20946
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
20947
+ statusCode: 'number',
20948
+ body: StartSparkReplSessionResponseBody,
20949
+ };
20950
+ }
20951
+
20952
+ constructor(map?: { [key: string]: any }) {
20953
+ super(map);
20954
+ }
20955
+ }
20956
+
19297
20957
  export class StartSparkSQLEngineRequest extends $tea.Model {
19298
20958
  /**
19299
20959
  * @remarks
@@ -20111,6 +21771,95 @@ export class OperatorNodeStats extends $tea.Model {
20111
21771
  }
20112
21772
  }
20113
21773
 
21774
+ export class CancelSparkReplStatementResponseBodyData extends $tea.Model {
21775
+ /**
21776
+ * @example
21777
+ * 190063530332****
21778
+ */
21779
+ aliyunUid?: number;
21780
+ /**
21781
+ * @example
21782
+ * print(1+1)
21783
+ */
21784
+ code?: string;
21785
+ /**
21786
+ * @example
21787
+ * RUNNING
21788
+ */
21789
+ codeState?: string;
21790
+ /**
21791
+ * @example
21792
+ * PYTHON
21793
+ */
21794
+ codeType?: string;
21795
+ columns?: string[];
21796
+ /**
21797
+ * @example
21798
+ * 1730968056000
21799
+ */
21800
+ endTime?: number;
21801
+ /**
21802
+ * @example
21803
+ * StackOverflow Exception:
21804
+ */
21805
+ error?: string;
21806
+ /**
21807
+ * @example
21808
+ * {"text/plain": "2"}
21809
+ */
21810
+ output?: string;
21811
+ /**
21812
+ * @example
21813
+ * TEXT
21814
+ */
21815
+ outputType?: string;
21816
+ /**
21817
+ * @example
21818
+ * 1730968056000
21819
+ */
21820
+ startTime?: number;
21821
+ /**
21822
+ * @example
21823
+ * 123
21824
+ */
21825
+ statementId?: number;
21826
+ static names(): { [key: string]: string } {
21827
+ return {
21828
+ aliyunUid: 'AliyunUid',
21829
+ code: 'Code',
21830
+ codeState: 'CodeState',
21831
+ codeType: 'CodeType',
21832
+ columns: 'Columns',
21833
+ endTime: 'EndTime',
21834
+ error: 'Error',
21835
+ output: 'Output',
21836
+ outputType: 'OutputType',
21837
+ startTime: 'StartTime',
21838
+ statementId: 'StatementId',
21839
+ };
21840
+ }
21841
+
21842
+ static types(): { [key: string]: any } {
21843
+ return {
21844
+ aliyunUid: 'number',
21845
+ code: 'string',
21846
+ codeState: 'string',
21847
+ codeType: 'string',
21848
+ columns: { 'type': 'array', 'itemType': 'string' },
21849
+ endTime: 'number',
21850
+ error: 'string',
21851
+ output: 'string',
21852
+ outputType: 'string',
21853
+ startTime: 'number',
21854
+ statementId: 'number',
21855
+ };
21856
+ }
21857
+
21858
+ constructor(map?: { [key: string]: any }) {
21859
+ super(map);
21860
+ }
21861
+ }
21862
+
20114
21863
  export class CreateDBClusterRequestTag extends $tea.Model {
20115
21864
  /**
20116
21865
  * @remarks
@@ -22241,6 +23990,37 @@ export class DescribeColumnsResponseBodyItems extends $tea.Model {
22241
23990
  }
22242
23991
  }
22243
23992
 
23993
+ export class DescribeCompactionServiceSwitchResponseBodyData extends $tea.Model {
23994
+ /**
23995
+ * @remarks
23996
+ * Indicates whether the remote build feature is enabled.
23997
+ *
23998
+ * Valid values:
23999
+ *
24000
+ * * true
24001
+ * * false
24002
+ *
24003
+ * @example
24004
+ * true
24005
+ */
24006
+ enableCompactionService?: boolean;
24007
+ static names(): { [key: string]: string } {
24008
+ return {
24009
+ enableCompactionService: 'EnableCompactionService',
24010
+ };
24011
+ }
24012
+
24013
+ static types(): { [key: string]: any } {
24014
+ return {
24015
+ enableCompactionService: 'boolean',
24016
+ };
24017
+ }
24018
+
24019
+ constructor(map?: { [key: string]: any }) {
24020
+ super(map);
24021
+ }
24022
+ }
24023
+
22244
24024
  export class DescribeComputeResourceUsageResponseBodyDataAcuInfo extends $tea.Model {
22245
24025
  /**
22246
24026
  * @remarks
@@ -22408,6 +24188,87 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBClusterTags extends $t
22408
24188
  }
22409
24189
  }
22410
24190
 
24191
+ export class DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepListStepList extends $tea.Model {
24192
+ endTime?: string;
24193
+ startTime?: string;
24194
+ stepDesc?: string;
24195
+ stepName?: string;
24196
+ stepProgress?: string;
24197
+ stepStatus?: string;
24198
+ static names(): { [key: string]: string } {
24199
+ return {
24200
+ endTime: 'EndTime',
24201
+ startTime: 'StartTime',
24202
+ stepDesc: 'StepDesc',
24203
+ stepName: 'StepName',
24204
+ stepProgress: 'StepProgress',
24205
+ stepStatus: 'StepStatus',
24206
+ };
24207
+ }
24208
+
24209
+ static types(): { [key: string]: any } {
24210
+ return {
24211
+ endTime: 'string',
24212
+ startTime: 'string',
24213
+ stepDesc: 'string',
24214
+ stepName: 'string',
24215
+ stepProgress: 'string',
24216
+ stepStatus: 'string',
24217
+ };
24218
+ }
24219
+
24220
+ constructor(map?: { [key: string]: any }) {
24221
+ super(map);
24222
+ }
24223
+ }
24224
+
24225
+ export class DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepList extends $tea.Model {
24226
+ stepList?: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepListStepList[];
24227
+ static names(): { [key: string]: string } {
24228
+ return {
24229
+ stepList: 'StepList',
24230
+ };
24231
+ }
24232
+
24233
+ static types(): { [key: string]: any } {
24234
+ return {
24235
+ stepList: { 'type': 'array', 'itemType': DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepListStepList },
24236
+ };
24237
+ }
24238
+
24239
+ constructor(map?: { [key: string]: any }) {
24240
+ super(map);
24241
+ }
24242
+ }
24243
+
24244
+ export class DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfo extends $tea.Model {
24245
+ name?: string;
24246
+ progress?: string;
24247
+ status?: string;
24248
+ stepList?: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepList;
24249
+ static names(): { [key: string]: string } {
24250
+ return {
24251
+ name: 'Name',
24252
+ progress: 'Progress',
24253
+ status: 'Status',
24254
+ stepList: 'StepList',
24255
+ };
24256
+ }
24257
+
24258
+ static types(): { [key: string]: any } {
24259
+ return {
24260
+ name: 'string',
24261
+ progress: 'string',
24262
+ status: 'string',
24263
+ stepList: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfoStepList,
24264
+ };
24265
+ }
24266
+
24267
+ constructor(map?: { [key: string]: any }) {
24268
+ super(map);
24269
+ }
24270
+ }
24271
+
22411
24272
  export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.Model {
22412
24273
  /**
22413
24274
  * @remarks
@@ -22727,6 +24588,7 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
22727
24588
  * The tags that are added to the cluster.
22728
24589
  */
22729
24590
  tags?: DescribeDBClusterAttributeResponseBodyItemsDBClusterTags;
24591
+ taskInfo?: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfo;
22730
24592
  /**
22731
24593
  * @remarks
22732
24594
  * Indicates whether Elastic Network Interface (ENI) is enabled. Valid values:
@@ -22799,6 +24661,7 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
22799
24661
  storageResourceTotal: 'StorageResourceTotal',
22800
24662
  supportedFeatures: 'SupportedFeatures',
22801
24663
  tags: 'Tags',
24664
+ taskInfo: 'TaskInfo',
22802
24665
  userENIStatus: 'UserENIStatus',
22803
24666
  VPCId: 'VPCId',
22804
24667
  vSwitchId: 'VSwitchId',
@@ -22843,6 +24706,7 @@ export class DescribeDBClusterAttributeResponseBodyItemsDBCluster extends $tea.M
22843
24706
  storageResourceTotal: 'string',
22844
24707
  supportedFeatures: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
22845
24708
  tags: DescribeDBClusterAttributeResponseBodyItemsDBClusterTags,
24709
+ taskInfo: DescribeDBClusterAttributeResponseBodyItemsDBClusterTaskInfo,
22846
24710
  userENIStatus: 'boolean',
22847
24711
  VPCId: 'string',
22848
24712
  vSwitchId: 'string',
@@ -24482,6 +26346,7 @@ export class DescribeDiagnosisRecordsResponseBodyQuerys extends $tea.Model {
24482
26346
  * 1
24483
26347
  */
24484
26348
  outputRows?: number;
26349
+ patternId?: string;
24485
26350
  /**
24486
26351
  * @remarks
24487
26352
  * The peak memory. Unit: bytes.
@@ -24631,6 +26496,7 @@ export class DescribeDiagnosisRecordsResponseBodyQuerys extends $tea.Model {
24631
26496
  executionTime: 'ExecutionTime',
24632
26497
  outputDataSize: 'OutputDataSize',
24633
26498
  outputRows: 'OutputRows',
26499
+ patternId: 'PatternId',
24634
26500
  peakMemory: 'PeakMemory',
24635
26501
  processId: 'ProcessId',
24636
26502
  queryProperties: 'QueryProperties',
@@ -24660,6 +26526,7 @@ export class DescribeDiagnosisRecordsResponseBodyQuerys extends $tea.Model {
24660
26526
  executionTime: 'number',
24661
26527
  outputDataSize: 'number',
24662
26528
  outputRows: 'number',
26529
+ patternId: 'string',
24663
26530
  peakMemory: 'number',
24664
26531
  processId: 'string',
24665
26532
  queryProperties: { 'type': 'array', 'itemType': DescribeDiagnosisRecordsResponseBodyQuerysQueryProperties },
@@ -25305,6 +27172,36 @@ export class DescribeEnabledPrivilegesResponseBodyData extends $tea.Model {
25305
27172
  }
25306
27173
  }
25307
27174
 
27175
+ export class DescribeEssdCacheConfigResponseBodyData extends $tea.Model {
27176
+ /**
27177
+ * @example
27178
+ * true
27179
+ */
27180
+ enableEssdCache?: boolean;
27181
+ /**
27182
+ * @example
27183
+ * 500
27184
+ */
27185
+ essdCacheSize?: number;
27186
+ static names(): { [key: string]: string } {
27187
+ return {
27188
+ enableEssdCache: 'EnableEssdCache',
27189
+ essdCacheSize: 'EssdCacheSize',
27190
+ };
27191
+ }
27192
+
27193
+ static types(): { [key: string]: any } {
27194
+ return {
27195
+ enableEssdCache: 'boolean',
27196
+ essdCacheSize: 'number',
27197
+ };
27198
+ }
27199
+
27200
+ constructor(map?: { [key: string]: any }) {
27201
+ super(map);
27202
+ }
27203
+ }
27204
+
25308
27205
  export class DescribeExcessivePrimaryKeysResponseBodyDetectionItems extends $tea.Model {
25309
27206
  /**
25310
27207
  * @remarks
@@ -25635,6 +27532,90 @@ export class DescribeJobResourceUsageResponseBodyData extends $tea.Model {
25635
27532
  }
25636
27533
  }
25637
27534
 
27535
+ export class DescribeKernelVersionResponseBodyAvailableKernelVersions extends $tea.Model {
27536
+ /**
27537
+ * @example
27538
+ * 2025-07-17T16:00:00Z
27539
+ */
27540
+ expireDate?: string;
27541
+ /**
27542
+ * @example
27543
+ * 3.1.9
27544
+ */
27545
+ kernelVersion?: string;
27546
+ /**
27547
+ * @example
27548
+ * 2024-07-17T16:00:00Z
27549
+ */
27550
+ releaseDate?: string;
27551
+ static names(): { [key: string]: string } {
27552
+ return {
27553
+ expireDate: 'ExpireDate',
27554
+ kernelVersion: 'KernelVersion',
27555
+ releaseDate: 'ReleaseDate',
27556
+ };
27557
+ }
27558
+
27559
+ static types(): { [key: string]: any } {
27560
+ return {
27561
+ expireDate: 'string',
27562
+ kernelVersion: 'string',
27563
+ releaseDate: 'string',
27564
+ };
27565
+ }
27566
+
27567
+ constructor(map?: { [key: string]: any }) {
27568
+ super(map);
27569
+ }
27570
+ }
27571
+
27572
+ export class DescribeLakeCacheSizeResponseBodyData extends $tea.Model {
27573
+ /**
27574
+ * @example
27575
+ * 100
27576
+ */
27577
+ capacity?: number;
27578
+ /**
27579
+ * @example
27580
+ * amv-bp10b6646l07akdt
27581
+ */
27582
+ DBClusterId?: string;
27583
+ /**
27584
+ * @example
27585
+ * 100
27586
+ */
27587
+ dataSize?: number;
27588
+ /**
27589
+ * @example
27590
+ * true
27591
+ */
27592
+ enableLakeCache?: boolean;
27593
+ instances?: string[];
27594
+ static names(): { [key: string]: string } {
27595
+ return {
27596
+ capacity: 'Capacity',
27597
+ DBClusterId: 'DBClusterId',
27598
+ dataSize: 'DataSize',
27599
+ enableLakeCache: 'EnableLakeCache',
27600
+ instances: 'Instances',
27601
+ };
27602
+ }
27603
+
27604
+ static types(): { [key: string]: any } {
27605
+ return {
27606
+ capacity: 'number',
27607
+ DBClusterId: 'string',
27608
+ dataSize: 'number',
27609
+ enableLakeCache: 'boolean',
27610
+ instances: { 'type': 'array', 'itemType': 'string' },
27611
+ };
27612
+ }
27613
+
27614
+ constructor(map?: { [key: string]: any }) {
27615
+ super(map);
27616
+ }
27617
+ }
27618
+
25638
27619
  export class DescribePatternPerformanceResponseBodyPerformancesSeries extends $tea.Model {
25639
27620
  /**
25640
27621
  * @remarks
@@ -26750,6 +28731,95 @@ export class DescribeTablesResponseBodyItems extends $tea.Model {
26750
28731
  }
26751
28732
  }
26752
28733
 
28734
+ export class ExecuteSparkReplStatementResponseBodyData extends $tea.Model {
28735
+ /**
28736
+ * @example
28737
+ * 17108278707****
28738
+ */
28739
+ aliyunUid?: number;
28740
+ /**
28741
+ * @example
28742
+ * print(1+1)
28743
+ */
28744
+ code?: string;
28745
+ /**
28746
+ * @example
28747
+ * RUNNING
28748
+ */
28749
+ codeState?: string;
28750
+ /**
28751
+ * @example
28752
+ * PYTHON
28753
+ */
28754
+ codeType?: string;
28755
+ columns?: string[];
28756
+ /**
28757
+ * @example
28758
+ * 1730968125000
28759
+ */
28760
+ endTime?: number;
28761
+ /**
28762
+ * @example
28763
+ * StackOverflow Exception
28764
+ */
28765
+ error?: string;
28766
+ /**
28767
+ * @example
28768
+ * {"text/plain": 2}
28769
+ */
28770
+ output?: string;
28771
+ /**
28772
+ * @example
28773
+ * TEXT
28774
+ */
28775
+ outputType?: string;
28776
+ /**
28777
+ * @example
28778
+ * 1730968125000
28779
+ */
28780
+ startTime?: number;
28781
+ /**
28782
+ * @example
28783
+ * 123
28784
+ */
28785
+ statementId?: number;
28786
+ static names(): { [key: string]: string } {
28787
+ return {
28788
+ aliyunUid: 'AliyunUid',
28789
+ code: 'Code',
28790
+ codeState: 'CodeState',
28791
+ codeType: 'CodeType',
28792
+ columns: 'Columns',
28793
+ endTime: 'EndTime',
28794
+ error: 'Error',
28795
+ output: 'Output',
28796
+ outputType: 'OutputType',
28797
+ startTime: 'StartTime',
28798
+ statementId: 'StatementId',
28799
+ };
28800
+ }
28801
+
28802
+ static types(): { [key: string]: any } {
28803
+ return {
28804
+ aliyunUid: 'number',
28805
+ code: 'string',
28806
+ codeState: 'string',
28807
+ codeType: 'string',
28808
+ columns: { 'type': 'array', 'itemType': 'string' },
28809
+ endTime: 'number',
28810
+ error: 'string',
28811
+ output: 'string',
28812
+ outputType: 'string',
28813
+ startTime: 'number',
28814
+ statementId: 'number',
28815
+ };
28816
+ }
28817
+
28818
+ constructor(map?: { [key: string]: any }) {
28819
+ super(map);
28820
+ }
28821
+ }
28822
+
26753
28823
  export class GetDatabaseObjectsResponseBodyData extends $tea.Model {
26754
28824
  /**
26755
28825
  * @remarks
@@ -27233,6 +29303,160 @@ export class GetSparkConfigLogPathResponseBodyData extends $tea.Model {
27233
29303
  }
27234
29304
  }
27235
29305
 
29306
+ export class GetSparkReplSessionResponseBodyData extends $tea.Model {
29307
+ /**
29308
+ * @example
29309
+ * true
29310
+ */
29311
+ active?: string;
29312
+ /**
29313
+ * @example
29314
+ * 178157466101****
29315
+ */
29316
+ aliyunUid?: string;
29317
+ /**
29318
+ * @example
29319
+ * s202301061000hz57d797b00002****
29320
+ */
29321
+ attemptId?: string;
29322
+ /**
29323
+ * @example
29324
+ * Session timed out
29325
+ */
29326
+ error?: string;
29327
+ /**
29328
+ * @example
29329
+ * 1
29330
+ */
29331
+ sessionId?: number;
29332
+ /**
29333
+ * @example
29334
+ * IDEL
29335
+ */
29336
+ state?: string;
29337
+ /**
29338
+ * @example
29339
+ * https://adbsparkui-cn-hangzhou.aliyuncs.com/?token=****
29340
+ */
29341
+ webUiAddress?: string;
29342
+ static names(): { [key: string]: string } {
29343
+ return {
29344
+ active: 'Active',
29345
+ aliyunUid: 'AliyunUid',
29346
+ attemptId: 'AttemptId',
29347
+ error: 'Error',
29348
+ sessionId: 'SessionId',
29349
+ state: 'State',
29350
+ webUiAddress: 'WebUiAddress',
29351
+ };
29352
+ }
29353
+
29354
+ static types(): { [key: string]: any } {
29355
+ return {
29356
+ active: 'string',
29357
+ aliyunUid: 'string',
29358
+ attemptId: 'string',
29359
+ error: 'string',
29360
+ sessionId: 'number',
29361
+ state: 'string',
29362
+ webUiAddress: 'string',
29363
+ };
29364
+ }
29365
+
29366
+ constructor(map?: { [key: string]: any }) {
29367
+ super(map);
29368
+ }
29369
+ }
29370
+
29371
+ export class GetSparkReplStatementResponseBodyData extends $tea.Model {
29372
+ /**
29373
+ * @example
29374
+ * 144740799645****
29375
+ */
29376
+ aliyunUid?: number;
29377
+ /**
29378
+ * @example
29379
+ * print(1+1)
29380
+ */
29381
+ code?: string;
29382
+ /**
29383
+ * @example
29384
+ * RUNNING
29385
+ */
29386
+ codeState?: string;
29387
+ /**
29388
+ * @example
29389
+ * PYTHON
29390
+ */
29391
+ codeType?: string;
29392
+ columns?: string[];
29393
+ /**
29394
+ * @example
29395
+ * 1730968194000
29396
+ */
29397
+ endTime?: number;
29398
+ /**
29399
+ * @example
29400
+ * stackoverflow error
29401
+ */
29402
+ error?: string;
29403
+ /**
29404
+ * @example
29405
+ * {"text/plain": 2}
29406
+ */
29407
+ output?: string;
29408
+ /**
29409
+ * @example
29410
+ * TEXT
29411
+ */
29412
+ outputType?: string;
29413
+ /**
29414
+ * @example
29415
+ * 1730968194000
29416
+ */
29417
+ startTime?: number;
29418
+ /**
29419
+ * @example
29420
+ * 123
29421
+ */
29422
+ statementId?: number;
29423
+ static names(): { [key: string]: string } {
29424
+ return {
29425
+ aliyunUid: 'AliyunUid',
29426
+ code: 'Code',
29427
+ codeState: 'CodeState',
29428
+ codeType: 'CodeType',
29429
+ columns: 'Columns',
29430
+ endTime: 'EndTime',
29431
+ error: 'Error',
29432
+ output: 'Output',
29433
+ outputType: 'OutputType',
29434
+ startTime: 'StartTime',
29435
+ statementId: 'StatementId',
29436
+ };
29437
+ }
29438
+
29439
+ static types(): { [key: string]: any } {
29440
+ return {
29441
+ aliyunUid: 'number',
29442
+ code: 'string',
29443
+ codeState: 'string',
29444
+ codeType: 'string',
29445
+ columns: { 'type': 'array', 'itemType': 'string' },
29446
+ endTime: 'number',
29447
+ error: 'string',
29448
+ output: 'string',
29449
+ outputType: 'string',
29450
+ startTime: 'number',
29451
+ statementId: 'number',
29452
+ };
29453
+ }
29454
+
29455
+ constructor(map?: { [key: string]: any }) {
29456
+ super(map);
29457
+ }
29458
+ }
29459
+
27236
29460
  export class GetSparkSQLEngineStateResponseBodyData extends $tea.Model {
27237
29461
  /**
27238
29462
  * @remarks
@@ -27877,6 +30101,99 @@ export class ListSparkLogAnalyzeTasksResponseBodyData extends $tea.Model {
27877
30101
  }
27878
30102
  }
27879
30103
 
30104
+ export class ListTagResourcesRequestTag extends $tea.Model {
30105
+ /**
30106
+ * @example
30107
+ * testkey1
30108
+ */
30109
+ key?: string;
30110
+ /**
30111
+ * @example
30112
+ * testvalue1
30113
+ */
30114
+ value?: string;
30115
+ static names(): { [key: string]: string } {
30116
+ return {
30117
+ key: 'Key',
30118
+ value: 'Value',
30119
+ };
30120
+ }
30121
+
30122
+ static types(): { [key: string]: any } {
30123
+ return {
30124
+ key: 'string',
30125
+ value: 'string',
30126
+ };
30127
+ }
30128
+
30129
+ constructor(map?: { [key: string]: any }) {
30130
+ super(map);
30131
+ }
30132
+ }
30133
+
30134
+ export class ListTagResourcesResponseBodyTagResourcesTagResource extends $tea.Model {
30135
+ /**
30136
+ * @example
30137
+ * amv-bp1l20nxxxxxxxxxx
30138
+ */
30139
+ resourceId?: string;
30140
+ /**
30141
+ * @example
30142
+ * dbclusterlakeversion
30143
+ */
30144
+ resourceType?: string;
30145
+ /**
30146
+ * @example
30147
+ * testkey1
30148
+ */
30149
+ tagKey?: string;
30150
+ /**
30151
+ * @example
30152
+ * testvalue1
30153
+ */
30154
+ tagValue?: string;
30155
+ static names(): { [key: string]: string } {
30156
+ return {
30157
+ resourceId: 'ResourceId',
30158
+ resourceType: 'ResourceType',
30159
+ tagKey: 'TagKey',
30160
+ tagValue: 'TagValue',
30161
+ };
30162
+ }
30163
+
30164
+ static types(): { [key: string]: any } {
30165
+ return {
30166
+ resourceId: 'string',
30167
+ resourceType: 'string',
30168
+ tagKey: 'string',
30169
+ tagValue: 'string',
30170
+ };
30171
+ }
30172
+
30173
+ constructor(map?: { [key: string]: any }) {
30174
+ super(map);
30175
+ }
30176
+ }
30177
+
30178
+ export class ListTagResourcesResponseBodyTagResources extends $tea.Model {
30179
+ tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
30180
+ static names(): { [key: string]: string } {
30181
+ return {
30182
+ tagResource: 'TagResource',
30183
+ };
30184
+ }
30185
+
30186
+ static types(): { [key: string]: any } {
30187
+ return {
30188
+ tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
30189
+ };
30190
+ }
30191
+
30192
+ constructor(map?: { [key: string]: any }) {
30193
+ super(map);
30194
+ }
30195
+ }
30196
+
27880
30197
  export class ModifyAccountPrivilegesRequestAccountPrivilegesPrivilegeObject extends $tea.Model {
27881
30198
  /**
27882
30199
  * @remarks
@@ -28009,6 +30326,39 @@ export class ModifyDBResourceGroupRequestRules extends $tea.Model {
28009
30326
  }
28010
30327
  }
28011
30328
 
30329
+ export class ModifyLakeCacheSizeResponseBodyData extends $tea.Model {
30330
+ /**
30331
+ * @example
30332
+ * 100
30333
+ */
30334
+ capacity?: number;
30335
+ /**
30336
+ * @example
30337
+ * 100
30338
+ */
30339
+ dataSize?: number;
30340
+ instances?: string[];
30341
+ static names(): { [key: string]: string } {
30342
+ return {
30343
+ capacity: 'Capacity',
30344
+ dataSize: 'DataSize',
30345
+ instances: 'Instances',
30346
+ };
30347
+ }
30348
+
30349
+ static types(): { [key: string]: any } {
30350
+ return {
30351
+ capacity: 'number',
30352
+ dataSize: 'number',
30353
+ instances: { 'type': 'array', 'itemType': 'string' },
30354
+ };
30355
+ }
30356
+
30357
+ constructor(map?: { [key: string]: any }) {
30358
+ super(map);
30359
+ }
30360
+ }
30361
+
28012
30362
  export class ModifyPerformanceViewRequestViewDetailCategoriesKeys extends $tea.Model {
28013
30363
  /**
28014
30364
  * @remarks
@@ -28234,35 +30584,6 @@ export class PreloadSparkAppMetricsResponseBodyData extends $tea.Model {
28234
30584
  }
28235
30585
  }
28236
30586
 
28237
- export class RenameSparkTemplateFileResponseBodyData extends $tea.Model {
28238
- /**
28239
- * @remarks
28240
- * Indicates whether the request was successful. Valid values:
28241
- *
28242
- * * True
28243
- * * False
28244
- *
28245
- * @example
28246
- * True
28247
- */
28248
- succeeded?: boolean;
28249
- static names(): { [key: string]: string } {
28250
- return {
28251
- succeeded: 'Succeeded',
28252
- };
28253
- }
28254
-
28255
- static types(): { [key: string]: any } {
28256
- return {
28257
- succeeded: 'boolean',
28258
- };
28259
- }
28260
-
28261
- constructor(map?: { [key: string]: any }) {
28262
- super(map);
28263
- }
28264
- }
28265
-
28266
30587
  export class SetSparkAppLogRootPathResponseBodyData extends $tea.Model {
28267
30588
  /**
28268
30589
  * @remarks
@@ -28329,6 +30650,64 @@ export class SetSparkAppLogRootPathResponseBodyData extends $tea.Model {
28329
30650
  }
28330
30651
  }
28331
30652
 
30653
+ export class StartSparkReplSessionResponseBodyData extends $tea.Model {
30654
+ /**
30655
+ * @example
30656
+ * 178157466******
30657
+ */
30658
+ aliyunUid?: string;
30659
+ /**
30660
+ * @example
30661
+ * s202301061000h****
30662
+ */
30663
+ attemptId?: string;
30664
+ /**
30665
+ * @example
30666
+ * session time out
30667
+ */
30668
+ error?: string;
30669
+ /**
30670
+ * @example
30671
+ * 1
30672
+ */
30673
+ sessionId?: number;
30674
+ /**
30675
+ * @example
30676
+ * IDLE
30677
+ */
30678
+ state?: string;
30679
+ /**
30680
+ * @example
30681
+ * https://adbsparkui-cn-hangzhou.aliyuncs.com/?token=****
30682
+ */
30683
+ webUiAddress?: string;
30684
+ static names(): { [key: string]: string } {
30685
+ return {
30686
+ aliyunUid: 'AliyunUid',
30687
+ attemptId: 'AttemptId',
30688
+ error: 'Error',
30689
+ sessionId: 'SessionId',
30690
+ state: 'State',
30691
+ webUiAddress: 'WebUiAddress',
30692
+ };
30693
+ }
30694
+
30695
+ static types(): { [key: string]: any } {
30696
+ return {
30697
+ aliyunUid: 'string',
30698
+ attemptId: 'string',
30699
+ error: 'string',
30700
+ sessionId: 'number',
30701
+ state: 'string',
30702
+ webUiAddress: 'string',
30703
+ };
30704
+ }
30705
+
30706
+ constructor(map?: { [key: string]: any }) {
30707
+ super(map);
30708
+ }
30709
+ }
30710
+
28332
30711
  export class StartSparkSQLEngineResponseBodyData extends $tea.Model {
28333
30712
  /**
28334
30713
  * @remarks
@@ -28762,6 +31141,56 @@ export default class Client extends OpenApi {
28762
31141
  return await this.bindDBResourceGroupWithUserWithOptions(request, runtime);
28763
31142
  }
28764
31143
 
31144
+ /**
31145
+ * 终止一段代码
31146
+ *
31147
+ * @param request - CancelSparkReplStatementRequest
31148
+ * @param runtime - runtime options for this request RuntimeOptions
31149
+ * @returns CancelSparkReplStatementResponse
31150
+ */
31151
+ async cancelSparkReplStatementWithOptions(request: CancelSparkReplStatementRequest, runtime: $Util.RuntimeOptions): Promise<CancelSparkReplStatementResponse> {
31152
+ Util.validateModel(request);
31153
+ let body : {[key: string ]: any} = { };
31154
+ if (!Util.isUnset(request.appId)) {
31155
+ body["AppId"] = request.appId;
31156
+ }
31157
+
31158
+ if (!Util.isUnset(request.sessionId)) {
31159
+ body["SessionId"] = request.sessionId;
31160
+ }
31161
+
31162
+ if (!Util.isUnset(request.statementId)) {
31163
+ body["StatementId"] = request.statementId;
31164
+ }
31165
+
31166
+ let req = new $OpenApi.OpenApiRequest({
31167
+ body: OpenApiUtil.parseToMap(body),
31168
+ });
31169
+ let params = new $OpenApi.Params({
31170
+ action: "CancelSparkReplStatement",
31171
+ version: "2021-12-01",
31172
+ protocol: "HTTPS",
31173
+ pathname: "/",
31174
+ method: "POST",
31175
+ authType: "AK",
31176
+ style: "RPC",
31177
+ reqBodyType: "formData",
31178
+ bodyType: "json",
31179
+ });
31180
+ return $tea.cast<CancelSparkReplStatementResponse>(await this.callApi(params, req, runtime), new CancelSparkReplStatementResponse({}));
31181
+ }
31182
+
31183
+ /**
31184
+ * 终止一段代码
31185
+ *
31186
+ * @param request - CancelSparkReplStatementRequest
31187
+ * @returns CancelSparkReplStatementResponse
31188
+ */
31189
+ async cancelSparkReplStatement(request: CancelSparkReplStatementRequest): Promise<CancelSparkReplStatementResponse> {
31190
+ let runtime = new $Util.RuntimeOptions({ });
31191
+ return await this.cancelSparkReplStatementWithOptions(request, runtime);
31192
+ }
31193
+
28765
31194
  /**
28766
31195
  * Queries whether a database account of an AnalyticDB for MySQL cluster is associated with a Resource Access Management (RAM) user.
28767
31196
  *
@@ -29548,6 +31977,80 @@ export default class Client extends OpenApi {
29548
31977
  return await this.deleteAccountWithOptions(request, runtime);
29549
31978
  }
29550
31979
 
31980
+ /**
31981
+ * Manually deletes backup sets.
31982
+ *
31983
+ * @remarks
31984
+ * 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.
31985
+ * * 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.
31986
+ *
31987
+ * @param request - DeleteBackupsRequest
31988
+ * @param runtime - runtime options for this request RuntimeOptions
31989
+ * @returns DeleteBackupsResponse
31990
+ */
31991
+ async deleteBackupsWithOptions(request: DeleteBackupsRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBackupsResponse> {
31992
+ Util.validateModel(request);
31993
+ let query = { };
31994
+ if (!Util.isUnset(request.backupIds)) {
31995
+ query["BackupIds"] = request.backupIds;
31996
+ }
31997
+
31998
+ if (!Util.isUnset(request.DBClusterId)) {
31999
+ query["DBClusterId"] = request.DBClusterId;
32000
+ }
32001
+
32002
+ if (!Util.isUnset(request.ownerAccount)) {
32003
+ query["OwnerAccount"] = request.ownerAccount;
32004
+ }
32005
+
32006
+ if (!Util.isUnset(request.ownerId)) {
32007
+ query["OwnerId"] = request.ownerId;
32008
+ }
32009
+
32010
+ if (!Util.isUnset(request.regionId)) {
32011
+ query["RegionId"] = request.regionId;
32012
+ }
32013
+
32014
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
32015
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
32016
+ }
32017
+
32018
+ if (!Util.isUnset(request.resourceOwnerId)) {
32019
+ query["ResourceOwnerId"] = request.resourceOwnerId;
32020
+ }
32021
+
32022
+ let req = new $OpenApi.OpenApiRequest({
32023
+ query: OpenApiUtil.query(query),
32024
+ });
32025
+ let params = new $OpenApi.Params({
32026
+ action: "DeleteBackups",
32027
+ version: "2021-12-01",
32028
+ protocol: "HTTPS",
32029
+ pathname: "/",
32030
+ method: "POST",
32031
+ authType: "AK",
32032
+ style: "RPC",
32033
+ reqBodyType: "formData",
32034
+ bodyType: "json",
32035
+ });
32036
+ return $tea.cast<DeleteBackupsResponse>(await this.callApi(params, req, runtime), new DeleteBackupsResponse({}));
32037
+ }
32038
+
32039
+ /**
32040
+ * Manually deletes backup sets.
32041
+ *
32042
+ * @remarks
32043
+ * 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.
32044
+ * * 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.
32045
+ *
32046
+ * @param request - DeleteBackupsRequest
32047
+ * @returns DeleteBackupsResponse
32048
+ */
32049
+ async deleteBackups(request: DeleteBackupsRequest): Promise<DeleteBackupsResponse> {
32050
+ let runtime = new $Util.RuntimeOptions({ });
32051
+ return await this.deleteBackupsWithOptions(request, runtime);
32052
+ }
32053
+
29551
32054
  /**
29552
32055
  * Deletes an AnalyticDB for MySQL cluster.
29553
32056
  *
@@ -31134,6 +33637,48 @@ export default class Client extends OpenApi {
31134
33637
  return await this.describeColumnsWithOptions(request, runtime);
31135
33638
  }
31136
33639
 
33640
+ /**
33641
+ * Queries whether the remote build feature is enabled in the query acceleration configuration of an AnalyticDB for MySQL cluster.
33642
+ *
33643
+ * @param request - DescribeCompactionServiceSwitchRequest
33644
+ * @param runtime - runtime options for this request RuntimeOptions
33645
+ * @returns DescribeCompactionServiceSwitchResponse
33646
+ */
33647
+ async describeCompactionServiceSwitchWithOptions(request: DescribeCompactionServiceSwitchRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCompactionServiceSwitchResponse> {
33648
+ Util.validateModel(request);
33649
+ let query = { };
33650
+ if (!Util.isUnset(request.DBClusterId)) {
33651
+ query["DBClusterId"] = request.DBClusterId;
33652
+ }
33653
+
33654
+ let req = new $OpenApi.OpenApiRequest({
33655
+ query: OpenApiUtil.query(query),
33656
+ });
33657
+ let params = new $OpenApi.Params({
33658
+ action: "DescribeCompactionServiceSwitch",
33659
+ version: "2021-12-01",
33660
+ protocol: "HTTPS",
33661
+ pathname: "/",
33662
+ method: "POST",
33663
+ authType: "AK",
33664
+ style: "RPC",
33665
+ reqBodyType: "formData",
33666
+ bodyType: "json",
33667
+ });
33668
+ return $tea.cast<DescribeCompactionServiceSwitchResponse>(await this.callApi(params, req, runtime), new DescribeCompactionServiceSwitchResponse({}));
33669
+ }
33670
+
33671
+ /**
33672
+ * Queries whether the remote build feature is enabled in the query acceleration configuration of an AnalyticDB for MySQL cluster.
33673
+ *
33674
+ * @param request - DescribeCompactionServiceSwitchRequest
33675
+ * @returns DescribeCompactionServiceSwitchResponse
33676
+ */
33677
+ async describeCompactionServiceSwitch(request: DescribeCompactionServiceSwitchRequest): Promise<DescribeCompactionServiceSwitchResponse> {
33678
+ let runtime = new $Util.RuntimeOptions({ });
33679
+ return await this.describeCompactionServiceSwitchWithOptions(request, runtime);
33680
+ }
33681
+
31137
33682
  /**
31138
33683
  * 获取实例计算资源使用统计
31139
33684
  *
@@ -32204,6 +34749,48 @@ export default class Client extends OpenApi {
32204
34749
  return await this.describeEnabledPrivilegesWithOptions(request, runtime);
32205
34750
  }
32206
34751
 
34752
+ /**
34753
+ * 查询EssdCache配置
34754
+ *
34755
+ * @param request - DescribeEssdCacheConfigRequest
34756
+ * @param runtime - runtime options for this request RuntimeOptions
34757
+ * @returns DescribeEssdCacheConfigResponse
34758
+ */
34759
+ async describeEssdCacheConfigWithOptions(request: DescribeEssdCacheConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEssdCacheConfigResponse> {
34760
+ Util.validateModel(request);
34761
+ let query = { };
34762
+ if (!Util.isUnset(request.DBClusterId)) {
34763
+ query["DBClusterId"] = request.DBClusterId;
34764
+ }
34765
+
34766
+ let req = new $OpenApi.OpenApiRequest({
34767
+ query: OpenApiUtil.query(query),
34768
+ });
34769
+ let params = new $OpenApi.Params({
34770
+ action: "DescribeEssdCacheConfig",
34771
+ version: "2021-12-01",
34772
+ protocol: "HTTPS",
34773
+ pathname: "/",
34774
+ method: "POST",
34775
+ authType: "AK",
34776
+ style: "RPC",
34777
+ reqBodyType: "formData",
34778
+ bodyType: "json",
34779
+ });
34780
+ return $tea.cast<DescribeEssdCacheConfigResponse>(await this.callApi(params, req, runtime), new DescribeEssdCacheConfigResponse({}));
34781
+ }
34782
+
34783
+ /**
34784
+ * 查询EssdCache配置
34785
+ *
34786
+ * @param request - DescribeEssdCacheConfigRequest
34787
+ * @returns DescribeEssdCacheConfigResponse
34788
+ */
34789
+ async describeEssdCacheConfig(request: DescribeEssdCacheConfigRequest): Promise<DescribeEssdCacheConfigResponse> {
34790
+ let runtime = new $Util.RuntimeOptions({ });
34791
+ return await this.describeEssdCacheConfigWithOptions(request, runtime);
34792
+ }
34793
+
32207
34794
  /**
32208
34795
  * Queries the information about tables that have excessive primary key fields in an AnalyticDB for MySQL Data Lakehouse Edition (V5.0) cluster.
32209
34796
  *
@@ -32346,6 +34933,164 @@ export default class Client extends OpenApi {
32346
34933
  return await this.describeJobResourceUsageWithOptions(request, runtime);
32347
34934
  }
32348
34935
 
34936
+ /**
34937
+ * 枚举实例版本信息
34938
+ *
34939
+ * @param request - DescribeKernelVersionRequest
34940
+ * @param runtime - runtime options for this request RuntimeOptions
34941
+ * @returns DescribeKernelVersionResponse
34942
+ */
34943
+ async describeKernelVersionWithOptions(request: DescribeKernelVersionRequest, runtime: $Util.RuntimeOptions): Promise<DescribeKernelVersionResponse> {
34944
+ Util.validateModel(request);
34945
+ let query = { };
34946
+ if (!Util.isUnset(request.DBClusterId)) {
34947
+ query["DBClusterId"] = request.DBClusterId;
34948
+ }
34949
+
34950
+ if (!Util.isUnset(request.ownerAccount)) {
34951
+ query["OwnerAccount"] = request.ownerAccount;
34952
+ }
34953
+
34954
+ if (!Util.isUnset(request.ownerId)) {
34955
+ query["OwnerId"] = request.ownerId;
34956
+ }
34957
+
34958
+ if (!Util.isUnset(request.regionId)) {
34959
+ query["RegionId"] = request.regionId;
34960
+ }
34961
+
34962
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
34963
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
34964
+ }
34965
+
34966
+ if (!Util.isUnset(request.resourceOwnerId)) {
34967
+ query["ResourceOwnerId"] = request.resourceOwnerId;
34968
+ }
34969
+
34970
+ let req = new $OpenApi.OpenApiRequest({
34971
+ query: OpenApiUtil.query(query),
34972
+ });
34973
+ let params = new $OpenApi.Params({
34974
+ action: "DescribeKernelVersion",
34975
+ version: "2021-12-01",
34976
+ protocol: "HTTPS",
34977
+ pathname: "/",
34978
+ method: "POST",
34979
+ authType: "AK",
34980
+ style: "RPC",
34981
+ reqBodyType: "formData",
34982
+ bodyType: "json",
34983
+ });
34984
+ return $tea.cast<DescribeKernelVersionResponse>(await this.callApi(params, req, runtime), new DescribeKernelVersionResponse({}));
34985
+ }
34986
+
34987
+ /**
34988
+ * 枚举实例版本信息
34989
+ *
34990
+ * @param request - DescribeKernelVersionRequest
34991
+ * @returns DescribeKernelVersionResponse
34992
+ */
34993
+ async describeKernelVersion(request: DescribeKernelVersionRequest): Promise<DescribeKernelVersionResponse> {
34994
+ let runtime = new $Util.RuntimeOptions({ });
34995
+ return await this.describeKernelVersionWithOptions(request, runtime);
34996
+ }
34997
+
34998
+ /**
34999
+ * 获取实例LakeCache容量
35000
+ *
35001
+ * @param request - DescribeLakeCacheSizeRequest
35002
+ * @param runtime - runtime options for this request RuntimeOptions
35003
+ * @returns DescribeLakeCacheSizeResponse
35004
+ */
35005
+ async describeLakeCacheSizeWithOptions(request: DescribeLakeCacheSizeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeLakeCacheSizeResponse> {
35006
+ Util.validateModel(request);
35007
+ let query = { };
35008
+ if (!Util.isUnset(request.DBClusterId)) {
35009
+ query["DBClusterId"] = request.DBClusterId;
35010
+ }
35011
+
35012
+ let req = new $OpenApi.OpenApiRequest({
35013
+ query: OpenApiUtil.query(query),
35014
+ });
35015
+ let params = new $OpenApi.Params({
35016
+ action: "DescribeLakeCacheSize",
35017
+ version: "2021-12-01",
35018
+ protocol: "HTTPS",
35019
+ pathname: "/",
35020
+ method: "POST",
35021
+ authType: "AK",
35022
+ style: "RPC",
35023
+ reqBodyType: "formData",
35024
+ bodyType: "json",
35025
+ });
35026
+ return $tea.cast<DescribeLakeCacheSizeResponse>(await this.callApi(params, req, runtime), new DescribeLakeCacheSizeResponse({}));
35027
+ }
35028
+
35029
+ /**
35030
+ * 获取实例LakeCache容量
35031
+ *
35032
+ * @param request - DescribeLakeCacheSizeRequest
35033
+ * @returns DescribeLakeCacheSizeResponse
35034
+ */
35035
+ async describeLakeCacheSize(request: DescribeLakeCacheSizeRequest): Promise<DescribeLakeCacheSizeResponse> {
35036
+ let runtime = new $Util.RuntimeOptions({ });
35037
+ return await this.describeLakeCacheSizeWithOptions(request, runtime);
35038
+ }
35039
+
35040
+ /**
35041
+ * @param request - DescribeOperatorPermissionRequest
35042
+ * @param runtime - runtime options for this request RuntimeOptions
35043
+ * @returns DescribeOperatorPermissionResponse
35044
+ */
35045
+ async describeOperatorPermissionWithOptions(request: DescribeOperatorPermissionRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOperatorPermissionResponse> {
35046
+ Util.validateModel(request);
35047
+ let query = { };
35048
+ if (!Util.isUnset(request.DBClusterId)) {
35049
+ query["DBClusterId"] = request.DBClusterId;
35050
+ }
35051
+
35052
+ if (!Util.isUnset(request.ownerAccount)) {
35053
+ query["OwnerAccount"] = request.ownerAccount;
35054
+ }
35055
+
35056
+ if (!Util.isUnset(request.ownerId)) {
35057
+ query["OwnerId"] = request.ownerId;
35058
+ }
35059
+
35060
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
35061
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
35062
+ }
35063
+
35064
+ if (!Util.isUnset(request.resourceOwnerId)) {
35065
+ query["ResourceOwnerId"] = request.resourceOwnerId;
35066
+ }
35067
+
35068
+ let req = new $OpenApi.OpenApiRequest({
35069
+ query: OpenApiUtil.query(query),
35070
+ });
35071
+ let params = new $OpenApi.Params({
35072
+ action: "DescribeOperatorPermission",
35073
+ version: "2021-12-01",
35074
+ protocol: "HTTPS",
35075
+ pathname: "/",
35076
+ method: "POST",
35077
+ authType: "AK",
35078
+ style: "RPC",
35079
+ reqBodyType: "formData",
35080
+ bodyType: "json",
35081
+ });
35082
+ return $tea.cast<DescribeOperatorPermissionResponse>(await this.callApi(params, req, runtime), new DescribeOperatorPermissionResponse({}));
35083
+ }
35084
+
35085
+ /**
35086
+ * @param request - DescribeOperatorPermissionRequest
35087
+ * @returns DescribeOperatorPermissionResponse
35088
+ */
35089
+ async describeOperatorPermission(request: DescribeOperatorPermissionRequest): Promise<DescribeOperatorPermissionResponse> {
35090
+ let runtime = new $Util.RuntimeOptions({ });
35091
+ return await this.describeOperatorPermissionWithOptions(request, runtime);
35092
+ }
35093
+
32349
35094
  /**
32350
35095
  * Queries the information about performance metrics of an SQL pattern such as the query duration and average memory usage for an AnalyticDB for MySQL cluster within a time range.
32351
35096
  *
@@ -33480,6 +36225,60 @@ export default class Client extends OpenApi {
33480
36225
  return await this.enableElasticPlanWithOptions(request, runtime);
33481
36226
  }
33482
36227
 
36228
+ /**
36229
+ * 执行一段代码
36230
+ *
36231
+ * @param request - ExecuteSparkReplStatementRequest
36232
+ * @param runtime - runtime options for this request RuntimeOptions
36233
+ * @returns ExecuteSparkReplStatementResponse
36234
+ */
36235
+ async executeSparkReplStatementWithOptions(request: ExecuteSparkReplStatementRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteSparkReplStatementResponse> {
36236
+ Util.validateModel(request);
36237
+ let body : {[key: string ]: any} = { };
36238
+ if (!Util.isUnset(request.appId)) {
36239
+ body["AppId"] = request.appId;
36240
+ }
36241
+
36242
+ if (!Util.isUnset(request.code)) {
36243
+ body["Code"] = request.code;
36244
+ }
36245
+
36246
+ if (!Util.isUnset(request.codeType)) {
36247
+ body["CodeType"] = request.codeType;
36248
+ }
36249
+
36250
+ if (!Util.isUnset(request.sessionId)) {
36251
+ body["SessionId"] = request.sessionId;
36252
+ }
36253
+
36254
+ let req = new $OpenApi.OpenApiRequest({
36255
+ body: OpenApiUtil.parseToMap(body),
36256
+ });
36257
+ let params = new $OpenApi.Params({
36258
+ action: "ExecuteSparkReplStatement",
36259
+ version: "2021-12-01",
36260
+ protocol: "HTTPS",
36261
+ pathname: "/",
36262
+ method: "POST",
36263
+ authType: "AK",
36264
+ style: "RPC",
36265
+ reqBodyType: "formData",
36266
+ bodyType: "json",
36267
+ });
36268
+ return $tea.cast<ExecuteSparkReplStatementResponse>(await this.callApi(params, req, runtime), new ExecuteSparkReplStatementResponse({}));
36269
+ }
36270
+
36271
+ /**
36272
+ * 执行一段代码
36273
+ *
36274
+ * @param request - ExecuteSparkReplStatementRequest
36275
+ * @returns ExecuteSparkReplStatementResponse
36276
+ */
36277
+ async executeSparkReplStatement(request: ExecuteSparkReplStatementRequest): Promise<ExecuteSparkReplStatementResponse> {
36278
+ let runtime = new $Util.RuntimeOptions({ });
36279
+ return await this.executeSparkReplStatementWithOptions(request, runtime);
36280
+ }
36281
+
33483
36282
  /**
33484
36283
  * Queries whether a running SQL engine exists.
33485
36284
  *
@@ -34031,29 +36830,29 @@ export default class Client extends OpenApi {
34031
36830
  }
34032
36831
 
34033
36832
  /**
34034
- * Queries the common definitions of Spark applications.
36833
+ * Queries the results of a Spark log analysis task.
34035
36834
  *
34036
36835
  * @remarks
34037
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
36836
+ * General endpoint: `adb.aliyuncs.com`.
36837
+ * * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
34038
36838
  * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
34039
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
34040
36839
  *
34041
- * @param request - GetSparkDefinitionsRequest
36840
+ * @param request - GetSparkLogAnalyzeTaskRequest
34042
36841
  * @param runtime - runtime options for this request RuntimeOptions
34043
- * @returns GetSparkDefinitionsResponse
36842
+ * @returns GetSparkLogAnalyzeTaskResponse
34044
36843
  */
34045
- async getSparkDefinitionsWithOptions(request: GetSparkDefinitionsRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkDefinitionsResponse> {
36844
+ async getSparkLogAnalyzeTaskWithOptions(request: GetSparkLogAnalyzeTaskRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkLogAnalyzeTaskResponse> {
34046
36845
  Util.validateModel(request);
34047
36846
  let body : {[key: string ]: any} = { };
34048
- if (!Util.isUnset(request.DBClusterId)) {
34049
- body["DBClusterId"] = request.DBClusterId;
36847
+ if (!Util.isUnset(request.taskId)) {
36848
+ body["TaskId"] = request.taskId;
34050
36849
  }
34051
36850
 
34052
36851
  let req = new $OpenApi.OpenApiRequest({
34053
36852
  body: OpenApiUtil.parseToMap(body),
34054
36853
  });
34055
36854
  let params = new $OpenApi.Params({
34056
- action: "GetSparkDefinitions",
36855
+ action: "GetSparkLogAnalyzeTask",
34057
36856
  version: "2021-12-01",
34058
36857
  protocol: "HTTPS",
34059
36858
  pathname: "/",
@@ -34063,49 +36862,48 @@ export default class Client extends OpenApi {
34063
36862
  reqBodyType: "formData",
34064
36863
  bodyType: "json",
34065
36864
  });
34066
- return $tea.cast<GetSparkDefinitionsResponse>(await this.callApi(params, req, runtime), new GetSparkDefinitionsResponse({}));
36865
+ return $tea.cast<GetSparkLogAnalyzeTaskResponse>(await this.callApi(params, req, runtime), new GetSparkLogAnalyzeTaskResponse({}));
34067
36866
  }
34068
36867
 
34069
36868
  /**
34070
- * Queries the common definitions of Spark applications.
36869
+ * Queries the results of a Spark log analysis task.
34071
36870
  *
34072
36871
  * @remarks
34073
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
36872
+ * General endpoint: `adb.aliyuncs.com`.
36873
+ * * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
34074
36874
  * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
34075
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
34076
36875
  *
34077
- * @param request - GetSparkDefinitionsRequest
34078
- * @returns GetSparkDefinitionsResponse
36876
+ * @param request - GetSparkLogAnalyzeTaskRequest
36877
+ * @returns GetSparkLogAnalyzeTaskResponse
34079
36878
  */
34080
- async getSparkDefinitions(request: GetSparkDefinitionsRequest): Promise<GetSparkDefinitionsResponse> {
36879
+ async getSparkLogAnalyzeTask(request: GetSparkLogAnalyzeTaskRequest): Promise<GetSparkLogAnalyzeTaskResponse> {
34081
36880
  let runtime = new $Util.RuntimeOptions({ });
34082
- return await this.getSparkDefinitionsWithOptions(request, runtime);
36881
+ return await this.getSparkLogAnalyzeTaskWithOptions(request, runtime);
34083
36882
  }
34084
36883
 
34085
36884
  /**
34086
- * Queries the results of a Spark log analysis task.
36885
+ * 获取一个可交互Session
34087
36886
  *
34088
- * @remarks
34089
- * General endpoint: `adb.aliyuncs.com`.
34090
- * * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
34091
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
34092
- *
34093
- * @param request - GetSparkLogAnalyzeTaskRequest
36887
+ * @param request - GetSparkReplSessionRequest
34094
36888
  * @param runtime - runtime options for this request RuntimeOptions
34095
- * @returns GetSparkLogAnalyzeTaskResponse
36889
+ * @returns GetSparkReplSessionResponse
34096
36890
  */
34097
- async getSparkLogAnalyzeTaskWithOptions(request: GetSparkLogAnalyzeTaskRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkLogAnalyzeTaskResponse> {
36891
+ async getSparkReplSessionWithOptions(request: GetSparkReplSessionRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkReplSessionResponse> {
34098
36892
  Util.validateModel(request);
34099
36893
  let body : {[key: string ]: any} = { };
34100
- if (!Util.isUnset(request.taskId)) {
34101
- body["TaskId"] = request.taskId;
36894
+ if (!Util.isUnset(request.appId)) {
36895
+ body["AppId"] = request.appId;
36896
+ }
36897
+
36898
+ if (!Util.isUnset(request.sessionId)) {
36899
+ body["SessionId"] = request.sessionId;
34102
36900
  }
34103
36901
 
34104
36902
  let req = new $OpenApi.OpenApiRequest({
34105
36903
  body: OpenApiUtil.parseToMap(body),
34106
36904
  });
34107
36905
  let params = new $OpenApi.Params({
34108
- action: "GetSparkLogAnalyzeTask",
36906
+ action: "GetSparkReplSession",
34109
36907
  version: "2021-12-01",
34110
36908
  protocol: "HTTPS",
34111
36909
  pathname: "/",
@@ -34115,23 +36913,68 @@ export default class Client extends OpenApi {
34115
36913
  reqBodyType: "formData",
34116
36914
  bodyType: "json",
34117
36915
  });
34118
- return $tea.cast<GetSparkLogAnalyzeTaskResponse>(await this.callApi(params, req, runtime), new GetSparkLogAnalyzeTaskResponse({}));
36916
+ return $tea.cast<GetSparkReplSessionResponse>(await this.callApi(params, req, runtime), new GetSparkReplSessionResponse({}));
34119
36917
  }
34120
36918
 
34121
36919
  /**
34122
- * Queries the results of a Spark log analysis task.
36920
+ * 获取一个可交互Session
34123
36921
  *
34124
- * @remarks
34125
- * General endpoint: `adb.aliyuncs.com`.
34126
- * * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
34127
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
36922
+ * @param request - GetSparkReplSessionRequest
36923
+ * @returns GetSparkReplSessionResponse
36924
+ */
36925
+ async getSparkReplSession(request: GetSparkReplSessionRequest): Promise<GetSparkReplSessionResponse> {
36926
+ let runtime = new $Util.RuntimeOptions({ });
36927
+ return await this.getSparkReplSessionWithOptions(request, runtime);
36928
+ }
36929
+
36930
+ /**
36931
+ * 获取一段代码的执行结果
34128
36932
  *
34129
- * @param request - GetSparkLogAnalyzeTaskRequest
34130
- * @returns GetSparkLogAnalyzeTaskResponse
36933
+ * @param request - GetSparkReplStatementRequest
36934
+ * @param runtime - runtime options for this request RuntimeOptions
36935
+ * @returns GetSparkReplStatementResponse
34131
36936
  */
34132
- async getSparkLogAnalyzeTask(request: GetSparkLogAnalyzeTaskRequest): Promise<GetSparkLogAnalyzeTaskResponse> {
36937
+ async getSparkReplStatementWithOptions(request: GetSparkReplStatementRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkReplStatementResponse> {
36938
+ Util.validateModel(request);
36939
+ let body : {[key: string ]: any} = { };
36940
+ if (!Util.isUnset(request.appId)) {
36941
+ body["AppId"] = request.appId;
36942
+ }
36943
+
36944
+ if (!Util.isUnset(request.sessionId)) {
36945
+ body["SessionId"] = request.sessionId;
36946
+ }
36947
+
36948
+ if (!Util.isUnset(request.statementId)) {
36949
+ body["StatementId"] = request.statementId;
36950
+ }
36951
+
36952
+ let req = new $OpenApi.OpenApiRequest({
36953
+ body: OpenApiUtil.parseToMap(body),
36954
+ });
36955
+ let params = new $OpenApi.Params({
36956
+ action: "GetSparkReplStatement",
36957
+ version: "2021-12-01",
36958
+ protocol: "HTTPS",
36959
+ pathname: "/",
36960
+ method: "POST",
36961
+ authType: "AK",
36962
+ style: "RPC",
36963
+ reqBodyType: "formData",
36964
+ bodyType: "json",
36965
+ });
36966
+ return $tea.cast<GetSparkReplStatementResponse>(await this.callApi(params, req, runtime), new GetSparkReplStatementResponse({}));
36967
+ }
36968
+
36969
+ /**
36970
+ * 获取一段代码的执行结果
36971
+ *
36972
+ * @param request - GetSparkReplStatementRequest
36973
+ * @returns GetSparkReplStatementResponse
36974
+ */
36975
+ async getSparkReplStatement(request: GetSparkReplStatementRequest): Promise<GetSparkReplStatementResponse> {
34133
36976
  let runtime = new $Util.RuntimeOptions({ });
34134
- return await this.getSparkLogAnalyzeTaskWithOptions(request, runtime);
36977
+ return await this.getSparkReplStatementWithOptions(request, runtime);
34135
36978
  }
34136
36979
 
34137
36980
  /**
@@ -34762,6 +37605,68 @@ export default class Client extends OpenApi {
34762
37605
  return await this.getViewObjectsWithOptions(request, runtime);
34763
37606
  }
34764
37607
 
37608
+ /**
37609
+ * @param request - GrantOperatorPermissionRequest
37610
+ * @param runtime - runtime options for this request RuntimeOptions
37611
+ * @returns GrantOperatorPermissionResponse
37612
+ */
37613
+ async grantOperatorPermissionWithOptions(request: GrantOperatorPermissionRequest, runtime: $Util.RuntimeOptions): Promise<GrantOperatorPermissionResponse> {
37614
+ Util.validateModel(request);
37615
+ let query = { };
37616
+ if (!Util.isUnset(request.DBClusterId)) {
37617
+ query["DBClusterId"] = request.DBClusterId;
37618
+ }
37619
+
37620
+ if (!Util.isUnset(request.expiredTime)) {
37621
+ query["ExpiredTime"] = request.expiredTime;
37622
+ }
37623
+
37624
+ if (!Util.isUnset(request.ownerAccount)) {
37625
+ query["OwnerAccount"] = request.ownerAccount;
37626
+ }
37627
+
37628
+ if (!Util.isUnset(request.ownerId)) {
37629
+ query["OwnerId"] = request.ownerId;
37630
+ }
37631
+
37632
+ if (!Util.isUnset(request.privileges)) {
37633
+ query["Privileges"] = request.privileges;
37634
+ }
37635
+
37636
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
37637
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
37638
+ }
37639
+
37640
+ if (!Util.isUnset(request.resourceOwnerId)) {
37641
+ query["ResourceOwnerId"] = request.resourceOwnerId;
37642
+ }
37643
+
37644
+ let req = new $OpenApi.OpenApiRequest({
37645
+ query: OpenApiUtil.query(query),
37646
+ });
37647
+ let params = new $OpenApi.Params({
37648
+ action: "GrantOperatorPermission",
37649
+ version: "2021-12-01",
37650
+ protocol: "HTTPS",
37651
+ pathname: "/",
37652
+ method: "POST",
37653
+ authType: "AK",
37654
+ style: "RPC",
37655
+ reqBodyType: "formData",
37656
+ bodyType: "json",
37657
+ });
37658
+ return $tea.cast<GrantOperatorPermissionResponse>(await this.callApi(params, req, runtime), new GrantOperatorPermissionResponse({}));
37659
+ }
37660
+
37661
+ /**
37662
+ * @param request - GrantOperatorPermissionRequest
37663
+ * @returns GrantOperatorPermissionResponse
37664
+ */
37665
+ async grantOperatorPermission(request: GrantOperatorPermissionRequest): Promise<GrantOperatorPermissionResponse> {
37666
+ let runtime = new $Util.RuntimeOptions({ });
37667
+ return await this.grantOperatorPermissionWithOptions(request, runtime);
37668
+ }
37669
+
34765
37670
  /**
34766
37671
  * Terminates a Spark application.
34767
37672
  *
@@ -35158,6 +38063,76 @@ export default class Client extends OpenApi {
35158
38063
  return await this.listSparkTemplateFileIdsWithOptions(request, runtime);
35159
38064
  }
35160
38065
 
38066
+ /**
38067
+ * @param request - ListTagResourcesRequest
38068
+ * @param runtime - runtime options for this request RuntimeOptions
38069
+ * @returns ListTagResourcesResponse
38070
+ */
38071
+ async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
38072
+ Util.validateModel(request);
38073
+ let query = { };
38074
+ if (!Util.isUnset(request.nextToken)) {
38075
+ query["NextToken"] = request.nextToken;
38076
+ }
38077
+
38078
+ if (!Util.isUnset(request.ownerAccount)) {
38079
+ query["OwnerAccount"] = request.ownerAccount;
38080
+ }
38081
+
38082
+ if (!Util.isUnset(request.ownerId)) {
38083
+ query["OwnerId"] = request.ownerId;
38084
+ }
38085
+
38086
+ if (!Util.isUnset(request.regionId)) {
38087
+ query["RegionId"] = request.regionId;
38088
+ }
38089
+
38090
+ if (!Util.isUnset(request.resourceId)) {
38091
+ query["ResourceId"] = request.resourceId;
38092
+ }
38093
+
38094
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
38095
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
38096
+ }
38097
+
38098
+ if (!Util.isUnset(request.resourceOwnerId)) {
38099
+ query["ResourceOwnerId"] = request.resourceOwnerId;
38100
+ }
38101
+
38102
+ if (!Util.isUnset(request.resourceType)) {
38103
+ query["ResourceType"] = request.resourceType;
38104
+ }
38105
+
38106
+ if (!Util.isUnset(request.tag)) {
38107
+ query["Tag"] = request.tag;
38108
+ }
38109
+
38110
+ let req = new $OpenApi.OpenApiRequest({
38111
+ query: OpenApiUtil.query(query),
38112
+ });
38113
+ let params = new $OpenApi.Params({
38114
+ action: "ListTagResources",
38115
+ version: "2021-12-01",
38116
+ protocol: "HTTPS",
38117
+ pathname: "/",
38118
+ method: "POST",
38119
+ authType: "AK",
38120
+ style: "RPC",
38121
+ reqBodyType: "formData",
38122
+ bodyType: "json",
38123
+ });
38124
+ return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
38125
+ }
38126
+
38127
+ /**
38128
+ * @param request - ListTagResourcesRequest
38129
+ * @returns ListTagResourcesResponse
38130
+ */
38131
+ async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
38132
+ let runtime = new $Util.RuntimeOptions({ });
38133
+ return await this.listTagResourcesWithOptions(request, runtime);
38134
+ }
38135
+
35161
38136
  /**
35162
38137
  * Loads a built-in dataset.
35163
38138
  *
@@ -35616,6 +38591,52 @@ export default class Client extends OpenApi {
35616
38591
  return await this.modifyClusterConnectionStringWithOptions(request, runtime);
35617
38592
  }
35618
38593
 
38594
+ /**
38595
+ * Modifies the status of the remote build feature in the query acceleration configuration of an AnalyticDB for MySQL cluster.
38596
+ *
38597
+ * @param request - ModifyCompactionServiceSwitchRequest
38598
+ * @param runtime - runtime options for this request RuntimeOptions
38599
+ * @returns ModifyCompactionServiceSwitchResponse
38600
+ */
38601
+ async modifyCompactionServiceSwitchWithOptions(request: ModifyCompactionServiceSwitchRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCompactionServiceSwitchResponse> {
38602
+ Util.validateModel(request);
38603
+ let query = { };
38604
+ if (!Util.isUnset(request.DBClusterId)) {
38605
+ query["DBClusterId"] = request.DBClusterId;
38606
+ }
38607
+
38608
+ if (!Util.isUnset(request.enableCompactionService)) {
38609
+ query["EnableCompactionService"] = request.enableCompactionService;
38610
+ }
38611
+
38612
+ let req = new $OpenApi.OpenApiRequest({
38613
+ query: OpenApiUtil.query(query),
38614
+ });
38615
+ let params = new $OpenApi.Params({
38616
+ action: "ModifyCompactionServiceSwitch",
38617
+ version: "2021-12-01",
38618
+ protocol: "HTTPS",
38619
+ pathname: "/",
38620
+ method: "POST",
38621
+ authType: "AK",
38622
+ style: "RPC",
38623
+ reqBodyType: "formData",
38624
+ bodyType: "json",
38625
+ });
38626
+ return $tea.cast<ModifyCompactionServiceSwitchResponse>(await this.callApi(params, req, runtime), new ModifyCompactionServiceSwitchResponse({}));
38627
+ }
38628
+
38629
+ /**
38630
+ * Modifies the status of the remote build feature in the query acceleration configuration of an AnalyticDB for MySQL cluster.
38631
+ *
38632
+ * @param request - ModifyCompactionServiceSwitchRequest
38633
+ * @returns ModifyCompactionServiceSwitchResponse
38634
+ */
38635
+ async modifyCompactionServiceSwitch(request: ModifyCompactionServiceSwitchRequest): Promise<ModifyCompactionServiceSwitchResponse> {
38636
+ let runtime = new $Util.RuntimeOptions({ });
38637
+ return await this.modifyCompactionServiceSwitchWithOptions(request, runtime);
38638
+ }
38639
+
35619
38640
  /**
35620
38641
  * Changes the configurations of an AnalyticDB for MySQL Data Lakehouse Edition cluster.
35621
38642
  *
@@ -35820,6 +38841,122 @@ export default class Client extends OpenApi {
35820
38841
  return await this.modifyDBClusterMaintainTimeWithOptions(request, runtime);
35821
38842
  }
35822
38843
 
38844
+ /**
38845
+ * 修改资源组
38846
+ *
38847
+ * @param request - ModifyDBClusterResourceGroupRequest
38848
+ * @param runtime - runtime options for this request RuntimeOptions
38849
+ * @returns ModifyDBClusterResourceGroupResponse
38850
+ */
38851
+ async modifyDBClusterResourceGroupWithOptions(request: ModifyDBClusterResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterResourceGroupResponse> {
38852
+ Util.validateModel(request);
38853
+ let query = { };
38854
+ if (!Util.isUnset(request.DBClusterId)) {
38855
+ query["DBClusterId"] = request.DBClusterId;
38856
+ }
38857
+
38858
+ if (!Util.isUnset(request.newResourceGroupId)) {
38859
+ query["NewResourceGroupId"] = request.newResourceGroupId;
38860
+ }
38861
+
38862
+ if (!Util.isUnset(request.ownerAccount)) {
38863
+ query["OwnerAccount"] = request.ownerAccount;
38864
+ }
38865
+
38866
+ if (!Util.isUnset(request.ownerId)) {
38867
+ query["OwnerId"] = request.ownerId;
38868
+ }
38869
+
38870
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
38871
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
38872
+ }
38873
+
38874
+ if (!Util.isUnset(request.resourceOwnerId)) {
38875
+ query["ResourceOwnerId"] = request.resourceOwnerId;
38876
+ }
38877
+
38878
+ let req = new $OpenApi.OpenApiRequest({
38879
+ query: OpenApiUtil.query(query),
38880
+ });
38881
+ let params = new $OpenApi.Params({
38882
+ action: "ModifyDBClusterResourceGroup",
38883
+ version: "2021-12-01",
38884
+ protocol: "HTTPS",
38885
+ pathname: "/",
38886
+ method: "POST",
38887
+ authType: "AK",
38888
+ style: "RPC",
38889
+ reqBodyType: "formData",
38890
+ bodyType: "json",
38891
+ });
38892
+ return $tea.cast<ModifyDBClusterResourceGroupResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterResourceGroupResponse({}));
38893
+ }
38894
+
38895
+ /**
38896
+ * 修改资源组
38897
+ *
38898
+ * @param request - ModifyDBClusterResourceGroupRequest
38899
+ * @returns ModifyDBClusterResourceGroupResponse
38900
+ */
38901
+ async modifyDBClusterResourceGroup(request: ModifyDBClusterResourceGroupRequest): Promise<ModifyDBClusterResourceGroupResponse> {
38902
+ let runtime = new $Util.RuntimeOptions({ });
38903
+ return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
38904
+ }
38905
+
38906
+ /**
38907
+ * Changes the virtual private cloud (VPC) and vSwitch for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
38908
+ *
38909
+ * @param request - ModifyDBClusterVipRequest
38910
+ * @param runtime - runtime options for this request RuntimeOptions
38911
+ * @returns ModifyDBClusterVipResponse
38912
+ */
38913
+ async modifyDBClusterVipWithOptions(request: ModifyDBClusterVipRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterVipResponse> {
38914
+ Util.validateModel(request);
38915
+ let query = { };
38916
+ if (!Util.isUnset(request.connectString)) {
38917
+ query["ConnectString"] = request.connectString;
38918
+ }
38919
+
38920
+ if (!Util.isUnset(request.DBClusterId)) {
38921
+ query["DBClusterId"] = request.DBClusterId;
38922
+ }
38923
+
38924
+ if (!Util.isUnset(request.VPCId)) {
38925
+ query["VPCId"] = request.VPCId;
38926
+ }
38927
+
38928
+ if (!Util.isUnset(request.vSwitchId)) {
38929
+ query["VSwitchId"] = request.vSwitchId;
38930
+ }
38931
+
38932
+ let req = new $OpenApi.OpenApiRequest({
38933
+ query: OpenApiUtil.query(query),
38934
+ });
38935
+ let params = new $OpenApi.Params({
38936
+ action: "ModifyDBClusterVip",
38937
+ version: "2021-12-01",
38938
+ protocol: "HTTPS",
38939
+ pathname: "/",
38940
+ method: "POST",
38941
+ authType: "AK",
38942
+ style: "RPC",
38943
+ reqBodyType: "formData",
38944
+ bodyType: "json",
38945
+ });
38946
+ return $tea.cast<ModifyDBClusterVipResponse>(await this.callApi(params, req, runtime), new ModifyDBClusterVipResponse({}));
38947
+ }
38948
+
38949
+ /**
38950
+ * Changes the virtual private cloud (VPC) and vSwitch for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
38951
+ *
38952
+ * @param request - ModifyDBClusterVipRequest
38953
+ * @returns ModifyDBClusterVipResponse
38954
+ */
38955
+ async modifyDBClusterVip(request: ModifyDBClusterVipRequest): Promise<ModifyDBClusterVipResponse> {
38956
+ let runtime = new $Util.RuntimeOptions({ });
38957
+ return await this.modifyDBClusterVipWithOptions(request, runtime);
38958
+ }
38959
+
35823
38960
  /**
35824
38961
  * Modifies the amount of reserved computing resources for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
35825
38962
  *
@@ -36018,6 +39155,106 @@ export default class Client extends OpenApi {
36018
39155
  return await this.modifyElasticPlanWithOptions(request, runtime);
36019
39156
  }
36020
39157
 
39158
+ /**
39159
+ * 修改Essd Cache开关
39160
+ *
39161
+ * @param request - ModifyEssdCacheConfigRequest
39162
+ * @param runtime - runtime options for this request RuntimeOptions
39163
+ * @returns ModifyEssdCacheConfigResponse
39164
+ */
39165
+ async modifyEssdCacheConfigWithOptions(request: ModifyEssdCacheConfigRequest, runtime: $Util.RuntimeOptions): Promise<ModifyEssdCacheConfigResponse> {
39166
+ Util.validateModel(request);
39167
+ let query = { };
39168
+ if (!Util.isUnset(request.DBClusterId)) {
39169
+ query["DBClusterId"] = request.DBClusterId;
39170
+ }
39171
+
39172
+ if (!Util.isUnset(request.enableEssdCache)) {
39173
+ query["EnableEssdCache"] = request.enableEssdCache;
39174
+ }
39175
+
39176
+ if (!Util.isUnset(request.essdCacheSize)) {
39177
+ query["EssdCacheSize"] = request.essdCacheSize;
39178
+ }
39179
+
39180
+ let req = new $OpenApi.OpenApiRequest({
39181
+ query: OpenApiUtil.query(query),
39182
+ });
39183
+ let params = new $OpenApi.Params({
39184
+ action: "ModifyEssdCacheConfig",
39185
+ version: "2021-12-01",
39186
+ protocol: "HTTPS",
39187
+ pathname: "/",
39188
+ method: "POST",
39189
+ authType: "AK",
39190
+ style: "RPC",
39191
+ reqBodyType: "formData",
39192
+ bodyType: "json",
39193
+ });
39194
+ return $tea.cast<ModifyEssdCacheConfigResponse>(await this.callApi(params, req, runtime), new ModifyEssdCacheConfigResponse({}));
39195
+ }
39196
+
39197
+ /**
39198
+ * 修改Essd Cache开关
39199
+ *
39200
+ * @param request - ModifyEssdCacheConfigRequest
39201
+ * @returns ModifyEssdCacheConfigResponse
39202
+ */
39203
+ async modifyEssdCacheConfig(request: ModifyEssdCacheConfigRequest): Promise<ModifyEssdCacheConfigResponse> {
39204
+ let runtime = new $Util.RuntimeOptions({ });
39205
+ return await this.modifyEssdCacheConfigWithOptions(request, runtime);
39206
+ }
39207
+
39208
+ /**
39209
+ * 修改实例LakeCache容量
39210
+ *
39211
+ * @param request - ModifyLakeCacheSizeRequest
39212
+ * @param runtime - runtime options for this request RuntimeOptions
39213
+ * @returns ModifyLakeCacheSizeResponse
39214
+ */
39215
+ async modifyLakeCacheSizeWithOptions(request: ModifyLakeCacheSizeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyLakeCacheSizeResponse> {
39216
+ Util.validateModel(request);
39217
+ let query = { };
39218
+ if (!Util.isUnset(request.capacity)) {
39219
+ query["Capacity"] = request.capacity;
39220
+ }
39221
+
39222
+ if (!Util.isUnset(request.DBClusterId)) {
39223
+ query["DBClusterId"] = request.DBClusterId;
39224
+ }
39225
+
39226
+ if (!Util.isUnset(request.enableLakeCache)) {
39227
+ query["EnableLakeCache"] = request.enableLakeCache;
39228
+ }
39229
+
39230
+ let req = new $OpenApi.OpenApiRequest({
39231
+ query: OpenApiUtil.query(query),
39232
+ });
39233
+ let params = new $OpenApi.Params({
39234
+ action: "ModifyLakeCacheSize",
39235
+ version: "2021-12-01",
39236
+ protocol: "HTTPS",
39237
+ pathname: "/",
39238
+ method: "POST",
39239
+ authType: "AK",
39240
+ style: "RPC",
39241
+ reqBodyType: "formData",
39242
+ bodyType: "json",
39243
+ });
39244
+ return $tea.cast<ModifyLakeCacheSizeResponse>(await this.callApi(params, req, runtime), new ModifyLakeCacheSizeResponse({}));
39245
+ }
39246
+
39247
+ /**
39248
+ * 修改实例LakeCache容量
39249
+ *
39250
+ * @param request - ModifyLakeCacheSizeRequest
39251
+ * @returns ModifyLakeCacheSizeResponse
39252
+ */
39253
+ async modifyLakeCacheSize(request: ModifyLakeCacheSizeRequest): Promise<ModifyLakeCacheSizeResponse> {
39254
+ let runtime = new $Util.RuntimeOptions({ });
39255
+ return await this.modifyLakeCacheSizeWithOptions(request, runtime);
39256
+ }
39257
+
36021
39258
  /**
36022
39259
  * Modifies the information about a custom monitoring view.
36023
39260
  *
@@ -36205,37 +39442,43 @@ export default class Client extends OpenApi {
36205
39442
  }
36206
39443
 
36207
39444
  /**
36208
- * Renames a Spark template file.
39445
+ * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36209
39446
  *
36210
39447
  * @remarks
36211
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
36212
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
36213
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
39448
+ * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36214
39449
  *
36215
- * @param request - RenameSparkTemplateFileRequest
39450
+ * @param request - ResetAccountPasswordRequest
36216
39451
  * @param runtime - runtime options for this request RuntimeOptions
36217
- * @returns RenameSparkTemplateFileResponse
39452
+ * @returns ResetAccountPasswordResponse
36218
39453
  */
36219
- async renameSparkTemplateFileWithOptions(request: RenameSparkTemplateFileRequest, runtime: $Util.RuntimeOptions): Promise<RenameSparkTemplateFileResponse> {
39454
+ async resetAccountPasswordWithOptions(request: ResetAccountPasswordRequest, runtime: $Util.RuntimeOptions): Promise<ResetAccountPasswordResponse> {
36220
39455
  Util.validateModel(request);
36221
39456
  let query = { };
36222
- if (!Util.isUnset(request.DBClusterId)) {
36223
- query["DBClusterId"] = request.DBClusterId;
39457
+ if (!Util.isUnset(request.accountDescription)) {
39458
+ query["AccountDescription"] = request.accountDescription;
36224
39459
  }
36225
39460
 
36226
- if (!Util.isUnset(request.id)) {
36227
- query["Id"] = request.id;
39461
+ if (!Util.isUnset(request.accountName)) {
39462
+ query["AccountName"] = request.accountName;
36228
39463
  }
36229
39464
 
36230
- if (!Util.isUnset(request.name)) {
36231
- query["Name"] = request.name;
39465
+ if (!Util.isUnset(request.accountPassword)) {
39466
+ query["AccountPassword"] = request.accountPassword;
39467
+ }
39468
+
39469
+ if (!Util.isUnset(request.DBClusterId)) {
39470
+ query["DBClusterId"] = request.DBClusterId;
39471
+ }
39472
+
39473
+ if (!Util.isUnset(request.engine)) {
39474
+ query["Engine"] = request.engine;
36232
39475
  }
36233
39476
 
36234
39477
  let req = new $OpenApi.OpenApiRequest({
36235
39478
  query: OpenApiUtil.query(query),
36236
39479
  });
36237
39480
  let params = new $OpenApi.Params({
36238
- action: "RenameSparkTemplateFile",
39481
+ action: "ResetAccountPassword",
36239
39482
  version: "2021-12-01",
36240
39483
  protocol: "HTTPS",
36241
39484
  pathname: "/",
@@ -36245,63 +39488,56 @@ export default class Client extends OpenApi {
36245
39488
  reqBodyType: "formData",
36246
39489
  bodyType: "json",
36247
39490
  });
36248
- return $tea.cast<RenameSparkTemplateFileResponse>(await this.callApi(params, req, runtime), new RenameSparkTemplateFileResponse({}));
39491
+ return $tea.cast<ResetAccountPasswordResponse>(await this.callApi(params, req, runtime), new ResetAccountPasswordResponse({}));
36249
39492
  }
36250
39493
 
36251
39494
  /**
36252
- * Renames a Spark template file.
39495
+ * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36253
39496
  *
36254
39497
  * @remarks
36255
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
36256
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
36257
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
39498
+ * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36258
39499
  *
36259
- * @param request - RenameSparkTemplateFileRequest
36260
- * @returns RenameSparkTemplateFileResponse
39500
+ * @param request - ResetAccountPasswordRequest
39501
+ * @returns ResetAccountPasswordResponse
36261
39502
  */
36262
- async renameSparkTemplateFile(request: RenameSparkTemplateFileRequest): Promise<RenameSparkTemplateFileResponse> {
39503
+ async resetAccountPassword(request: ResetAccountPasswordRequest): Promise<ResetAccountPasswordResponse> {
36263
39504
  let runtime = new $Util.RuntimeOptions({ });
36264
- return await this.renameSparkTemplateFileWithOptions(request, runtime);
39505
+ return await this.resetAccountPasswordWithOptions(request, runtime);
36265
39506
  }
36266
39507
 
36267
39508
  /**
36268
- * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36269
- *
36270
- * @remarks
36271
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36272
- *
36273
- * @param request - ResetAccountPasswordRequest
39509
+ * @param request - RevokeOperatorPermissionRequest
36274
39510
  * @param runtime - runtime options for this request RuntimeOptions
36275
- * @returns ResetAccountPasswordResponse
39511
+ * @returns RevokeOperatorPermissionResponse
36276
39512
  */
36277
- async resetAccountPasswordWithOptions(request: ResetAccountPasswordRequest, runtime: $Util.RuntimeOptions): Promise<ResetAccountPasswordResponse> {
39513
+ async revokeOperatorPermissionWithOptions(request: RevokeOperatorPermissionRequest, runtime: $Util.RuntimeOptions): Promise<RevokeOperatorPermissionResponse> {
36278
39514
  Util.validateModel(request);
36279
39515
  let query = { };
36280
- if (!Util.isUnset(request.accountDescription)) {
36281
- query["AccountDescription"] = request.accountDescription;
39516
+ if (!Util.isUnset(request.DBClusterId)) {
39517
+ query["DBClusterId"] = request.DBClusterId;
36282
39518
  }
36283
39519
 
36284
- if (!Util.isUnset(request.accountName)) {
36285
- query["AccountName"] = request.accountName;
39520
+ if (!Util.isUnset(request.ownerAccount)) {
39521
+ query["OwnerAccount"] = request.ownerAccount;
36286
39522
  }
36287
39523
 
36288
- if (!Util.isUnset(request.accountPassword)) {
36289
- query["AccountPassword"] = request.accountPassword;
39524
+ if (!Util.isUnset(request.ownerId)) {
39525
+ query["OwnerId"] = request.ownerId;
36290
39526
  }
36291
39527
 
36292
- if (!Util.isUnset(request.DBClusterId)) {
36293
- query["DBClusterId"] = request.DBClusterId;
39528
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
39529
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
36294
39530
  }
36295
39531
 
36296
- if (!Util.isUnset(request.engine)) {
36297
- query["Engine"] = request.engine;
39532
+ if (!Util.isUnset(request.resourceOwnerId)) {
39533
+ query["ResourceOwnerId"] = request.resourceOwnerId;
36298
39534
  }
36299
39535
 
36300
39536
  let req = new $OpenApi.OpenApiRequest({
36301
39537
  query: OpenApiUtil.query(query),
36302
39538
  });
36303
39539
  let params = new $OpenApi.Params({
36304
- action: "ResetAccountPassword",
39540
+ action: "RevokeOperatorPermission",
36305
39541
  version: "2021-12-01",
36306
39542
  protocol: "HTTPS",
36307
39543
  pathname: "/",
@@ -36311,21 +39547,16 @@ export default class Client extends OpenApi {
36311
39547
  reqBodyType: "formData",
36312
39548
  bodyType: "json",
36313
39549
  });
36314
- return $tea.cast<ResetAccountPasswordResponse>(await this.callApi(params, req, runtime), new ResetAccountPasswordResponse({}));
39550
+ return $tea.cast<RevokeOperatorPermissionResponse>(await this.callApi(params, req, runtime), new RevokeOperatorPermissionResponse({}));
36315
39551
  }
36316
39552
 
36317
39553
  /**
36318
- * Resets the password of a database account for an AnalyticDB for MySQL cluster.
36319
- *
36320
- * @remarks
36321
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
36322
- *
36323
- * @param request - ResetAccountPasswordRequest
36324
- * @returns ResetAccountPasswordResponse
39554
+ * @param request - RevokeOperatorPermissionRequest
39555
+ * @returns RevokeOperatorPermissionResponse
36325
39556
  */
36326
- async resetAccountPassword(request: ResetAccountPasswordRequest): Promise<ResetAccountPasswordResponse> {
39557
+ async revokeOperatorPermission(request: RevokeOperatorPermissionRequest): Promise<RevokeOperatorPermissionResponse> {
36327
39558
  let runtime = new $Util.RuntimeOptions({ });
36328
- return await this.resetAccountPasswordWithOptions(request, runtime);
39559
+ return await this.revokeOperatorPermissionWithOptions(request, runtime);
36329
39560
  }
36330
39561
 
36331
39562
  /**
@@ -36388,6 +39619,56 @@ export default class Client extends OpenApi {
36388
39619
  return await this.setSparkAppLogRootPathWithOptions(request, runtime);
36389
39620
  }
36390
39621
 
39622
+ /**
39623
+ * 启动一个可交互Session
39624
+ *
39625
+ * @param request - StartSparkReplSessionRequest
39626
+ * @param runtime - runtime options for this request RuntimeOptions
39627
+ * @returns StartSparkReplSessionResponse
39628
+ */
39629
+ async startSparkReplSessionWithOptions(request: StartSparkReplSessionRequest, runtime: $Util.RuntimeOptions): Promise<StartSparkReplSessionResponse> {
39630
+ Util.validateModel(request);
39631
+ let body : {[key: string ]: any} = { };
39632
+ if (!Util.isUnset(request.config)) {
39633
+ body["Config"] = request.config;
39634
+ }
39635
+
39636
+ if (!Util.isUnset(request.DBClusterId)) {
39637
+ body["DBClusterId"] = request.DBClusterId;
39638
+ }
39639
+
39640
+ if (!Util.isUnset(request.resourceGroupName)) {
39641
+ body["ResourceGroupName"] = request.resourceGroupName;
39642
+ }
39643
+
39644
+ let req = new $OpenApi.OpenApiRequest({
39645
+ body: OpenApiUtil.parseToMap(body),
39646
+ });
39647
+ let params = new $OpenApi.Params({
39648
+ action: "StartSparkReplSession",
39649
+ version: "2021-12-01",
39650
+ protocol: "HTTPS",
39651
+ pathname: "/",
39652
+ method: "POST",
39653
+ authType: "AK",
39654
+ style: "RPC",
39655
+ reqBodyType: "formData",
39656
+ bodyType: "json",
39657
+ });
39658
+ return $tea.cast<StartSparkReplSessionResponse>(await this.callApi(params, req, runtime), new StartSparkReplSessionResponse({}));
39659
+ }
39660
+
39661
+ /**
39662
+ * 启动一个可交互Session
39663
+ *
39664
+ * @param request - StartSparkReplSessionRequest
39665
+ * @returns StartSparkReplSessionResponse
39666
+ */
39667
+ async startSparkReplSession(request: StartSparkReplSessionRequest): Promise<StartSparkReplSessionResponse> {
39668
+ let runtime = new $Util.RuntimeOptions({ });
39669
+ return await this.startSparkReplSessionWithOptions(request, runtime);
39670
+ }
39671
+
36391
39672
  /**
36392
39673
  * Starts the Spark SQL engine.
36393
39674
  *