@alicloud/adb20211201 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +55 -41
- package/dist/client.js +54 -16
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +93 -41
package/dist/client.d.ts
CHANGED
|
@@ -1526,6 +1526,10 @@ export declare class CreateDBResourceGroupRequest extends $tea.Model {
|
|
|
1526
1526
|
* True
|
|
1527
1527
|
*/
|
|
1528
1528
|
enableSpot?: boolean;
|
|
1529
|
+
engine?: string;
|
|
1530
|
+
engineParams?: {
|
|
1531
|
+
[key: string]: any;
|
|
1532
|
+
};
|
|
1529
1533
|
/**
|
|
1530
1534
|
* @remarks
|
|
1531
1535
|
* The name of the resource group.
|
|
@@ -1656,6 +1660,8 @@ export declare class CreateDBResourceGroupShrinkRequest extends $tea.Model {
|
|
|
1656
1660
|
* True
|
|
1657
1661
|
*/
|
|
1658
1662
|
enableSpot?: boolean;
|
|
1663
|
+
engine?: string;
|
|
1664
|
+
engineParamsShrink?: string;
|
|
1659
1665
|
/**
|
|
1660
1666
|
* @remarks
|
|
1661
1667
|
* The name of the resource group.
|
|
@@ -3118,7 +3124,7 @@ export declare class DescribeAccountPrivilegeObjectsRequest extends $tea.Model {
|
|
|
3118
3124
|
columnPrivilegeObject?: string;
|
|
3119
3125
|
/**
|
|
3120
3126
|
* @remarks
|
|
3121
|
-
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition
|
|
3127
|
+
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
3122
3128
|
*
|
|
3123
3129
|
* This parameter is required.
|
|
3124
3130
|
*
|
|
@@ -3932,9 +3938,9 @@ export declare class DescribeAllDataSourceResponse extends $tea.Model {
|
|
|
3932
3938
|
export declare class DescribeApsActionLogsRequest extends $tea.Model {
|
|
3933
3939
|
/**
|
|
3934
3940
|
* @remarks
|
|
3935
|
-
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition
|
|
3941
|
+
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
3936
3942
|
*
|
|
3937
|
-
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all AnalyticDB for MySQL
|
|
3943
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
|
|
3938
3944
|
*
|
|
3939
3945
|
* This parameter is required.
|
|
3940
3946
|
*
|
|
@@ -5340,9 +5346,9 @@ export declare class DescribeDBClusterAttributeResponse extends $tea.Model {
|
|
|
5340
5346
|
export declare class DescribeDBClusterHealthStatusRequest extends $tea.Model {
|
|
5341
5347
|
/**
|
|
5342
5348
|
* @remarks
|
|
5343
|
-
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition
|
|
5349
|
+
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
5344
5350
|
*
|
|
5345
|
-
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/612397.html) operation to query the IDs of all AnalyticDB for MySQL
|
|
5351
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/612397.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
|
|
5346
5352
|
*
|
|
5347
5353
|
* This parameter is required.
|
|
5348
5354
|
*
|
|
@@ -5440,9 +5446,9 @@ export declare class DescribeDBClusterHealthStatusResponse extends $tea.Model {
|
|
|
5440
5446
|
export declare class DescribeDBClusterPerformanceRequest extends $tea.Model {
|
|
5441
5447
|
/**
|
|
5442
5448
|
* @remarks
|
|
5443
|
-
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition
|
|
5449
|
+
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
5444
5450
|
*
|
|
5445
|
-
* >
|
|
5451
|
+
* > You can call the [DescribeDBClusters](~~~612397~~~) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
|
|
5446
5452
|
*
|
|
5447
5453
|
* This parameter is required.
|
|
5448
5454
|
*
|
|
@@ -5608,7 +5614,7 @@ export declare class DescribeDBClusterPerformanceResponse extends $tea.Model {
|
|
|
5608
5614
|
export declare class DescribeDBClusterSpaceSummaryRequest extends $tea.Model {
|
|
5609
5615
|
/**
|
|
5610
5616
|
* @remarks
|
|
5611
|
-
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition
|
|
5617
|
+
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
5612
5618
|
*
|
|
5613
5619
|
* This parameter is required.
|
|
5614
5620
|
*
|
|
@@ -7540,7 +7546,7 @@ export declare class DescribePatternPerformanceRequest extends $tea.Model {
|
|
|
7540
7546
|
* @remarks
|
|
7541
7547
|
* The cluster ID.
|
|
7542
7548
|
*
|
|
7543
|
-
* >
|
|
7549
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/129857.html) operation to query the information about all AnalyticDB for MySQL clusters within a region, including cluster IDs.
|
|
7544
7550
|
*
|
|
7545
7551
|
* This parameter is required.
|
|
7546
7552
|
*
|
|
@@ -7562,7 +7568,7 @@ export declare class DescribePatternPerformanceRequest extends $tea.Model {
|
|
|
7562
7568
|
* @remarks
|
|
7563
7569
|
* The SQL pattern ID.
|
|
7564
7570
|
*
|
|
7565
|
-
* > You can call the [DescribeSQLPatterns](https://help.aliyun.com/document_detail/321868.html) operation to query the information about all SQL patterns in an AnalyticDB for MySQL
|
|
7571
|
+
* > You can call the [DescribeSQLPatterns](https://help.aliyun.com/document_detail/321868.html) operation to query the information about all SQL patterns in an AnalyticDB for MySQL cluster within a period of time, including SQL pattern IDs.
|
|
7566
7572
|
*
|
|
7567
7573
|
* @example
|
|
7568
7574
|
* 3847585356974******
|
|
@@ -11717,7 +11723,7 @@ export declare class KillSparkLogAnalyzeTaskResponse extends $tea.Model {
|
|
|
11717
11723
|
export declare class KillSparkSQLEngineRequest extends $tea.Model {
|
|
11718
11724
|
/**
|
|
11719
11725
|
* @remarks
|
|
11720
|
-
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition
|
|
11726
|
+
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
11721
11727
|
*
|
|
11722
11728
|
* This parameter is required.
|
|
11723
11729
|
*
|
|
@@ -12451,6 +12457,7 @@ export declare class ModifyAuditLogConfigRequest extends $tea.Model {
|
|
|
12451
12457
|
* amv-t4nj8619bz2w3****
|
|
12452
12458
|
*/
|
|
12453
12459
|
DBClusterId?: string;
|
|
12460
|
+
engineType?: string;
|
|
12454
12461
|
ownerAccount?: string;
|
|
12455
12462
|
ownerId?: number;
|
|
12456
12463
|
/**
|
|
@@ -13045,7 +13052,7 @@ export declare class ModifyDBClusterDescriptionResponse extends $tea.Model {
|
|
|
13045
13052
|
export declare class ModifyDBClusterMaintainTimeRequest extends $tea.Model {
|
|
13046
13053
|
/**
|
|
13047
13054
|
* @remarks
|
|
13048
|
-
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition
|
|
13055
|
+
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
13049
13056
|
*
|
|
13050
13057
|
* This parameter is required.
|
|
13051
13058
|
*
|
|
@@ -13148,6 +13155,9 @@ export declare class ModifyDBResourceGroupRequest extends $tea.Model {
|
|
|
13148
13155
|
* true
|
|
13149
13156
|
*/
|
|
13150
13157
|
enableSpot?: boolean;
|
|
13158
|
+
engineParams?: {
|
|
13159
|
+
[key: string]: any;
|
|
13160
|
+
};
|
|
13151
13161
|
/**
|
|
13152
13162
|
* @remarks
|
|
13153
13163
|
* The name of the resource group.
|
|
@@ -13276,6 +13286,7 @@ export declare class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
|
|
|
13276
13286
|
* true
|
|
13277
13287
|
*/
|
|
13278
13288
|
enableSpot?: boolean;
|
|
13289
|
+
engineParamsShrink?: string;
|
|
13279
13290
|
/**
|
|
13280
13291
|
* @remarks
|
|
13281
13292
|
* The name of the resource group.
|
|
@@ -17033,7 +17044,7 @@ export declare class DescribeDBClusterPerformanceResponseBodyPerformancesSeries
|
|
|
17033
17044
|
*
|
|
17034
17045
|
* * AnalyticDB_Avg_QueryRT: the average amount of time consumed by queries.
|
|
17035
17046
|
* * AnalyticDB_Max_QueryRT: the maximum amount of time consumed by a single query.
|
|
17036
|
-
* * etl_avg_rt: the average amount of time consumed by extract
|
|
17047
|
+
* * etl_avg_rt: the average amount of time consumed by extract, transform, load (ETL) operations.
|
|
17037
17048
|
* * etl_max_rt: the maximum amount of time consumed by a single ETL operation.
|
|
17038
17049
|
*
|
|
17039
17050
|
* * **AnalyticDB_QueryWaitTime**: the query wait time.
|
|
@@ -17131,37 +17142,31 @@ export declare class DescribeDBClusterPerformanceResponseBodyPerformancesSeries
|
|
|
17131
17142
|
*
|
|
17132
17143
|
* * AnalyticDB_WLM_TotalQueries_Count: the total number of WLM queries.
|
|
17133
17144
|
*
|
|
17134
|
-
* * APS
|
|
17145
|
+
* * AnalyticDB Pipeline Service (APS)
|
|
17135
17146
|
*
|
|
17136
|
-
* * AnalyticDB_APS_BPS: the bytes per second (BPS) of APS provided by the AnalyticDB for MySQL Data Lakehouse Edition
|
|
17147
|
+
* * AnalyticDB_APS_BPS: the bytes per second (BPS) of APS provided by the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
17137
17148
|
*
|
|
17138
17149
|
* * APS_Read_BPS: the read BPS of APS.
|
|
17139
17150
|
*
|
|
17140
|
-
* * AnalyticDB_APS_CPU: the CPU utilization of APS provided by the AnalyticDB for MySQL Data Lakehouse Edition
|
|
17151
|
+
* * AnalyticDB_APS_CPU: the CPU utilization of APS provided by the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
17141
17152
|
*
|
|
17142
17153
|
* * APS_CPU_Avg_Usage_Percentage: the average CPU utilization of APS.
|
|
17143
17154
|
* * APS_CPU_Max_Usage_Percentage: the maximum CPU utilization of APS.
|
|
17144
17155
|
*
|
|
17145
|
-
* * AnalyticDB_APS_Memory: the memory usage of APS provided by the AnalyticDB for MySQL Data Lakehouse Edition
|
|
17156
|
+
* * AnalyticDB_APS_Memory: the memory usage of APS provided by the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
17146
17157
|
*
|
|
17147
17158
|
* * APS_Memory_Avg_Usage_Percentage: the average memory usage of APS.
|
|
17148
17159
|
* * APS_Memory_Max_Usage_Percentage: the maximum memory usage of APS.
|
|
17149
17160
|
*
|
|
17150
|
-
* * AnalyticDB_APS_RPS: the number of records per second of APS provided by the AnalyticDB for MySQL Data Lakehouse Edition
|
|
17161
|
+
* * AnalyticDB_APS_RPS: the number of records per second of APS provided by the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
17151
17162
|
*
|
|
17152
17163
|
* * APS_Read_RPS: the number of read records per second of APS.
|
|
17153
17164
|
*
|
|
17154
|
-
* * AnalyticDB_APS_RT: the response time of APS provided by the AnalyticDB for MySQL Data Lakehouse Edition
|
|
17165
|
+
* * AnalyticDB_APS_RT: the response time of APS provided by the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
17155
17166
|
*
|
|
17156
17167
|
* * APS_Read_Avg_RT: the average response time of APS.
|
|
17157
17168
|
* * APS_Read_Max_RT: the maximum response time of APS.
|
|
17158
17169
|
*
|
|
17159
|
-
* * * *
|
|
17160
|
-
* * *
|
|
17161
|
-
* * *
|
|
17162
|
-
* * *
|
|
17163
|
-
* * *
|
|
17164
|
-
*
|
|
17165
17170
|
* @example
|
|
17166
17171
|
* AnalyticDB_Storage_CPU_Avg_Usage_Percentage
|
|
17167
17172
|
*/
|
|
@@ -17878,6 +17883,10 @@ export declare class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.
|
|
|
17878
17883
|
* True
|
|
17879
17884
|
*/
|
|
17880
17885
|
enableSpot?: string;
|
|
17886
|
+
engine?: string;
|
|
17887
|
+
engineParams?: {
|
|
17888
|
+
[key: string]: any;
|
|
17889
|
+
};
|
|
17881
17890
|
/**
|
|
17882
17891
|
* @remarks
|
|
17883
17892
|
* The name of the resource group.
|
|
@@ -17923,6 +17932,11 @@ export declare class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.
|
|
|
17923
17932
|
* 512ACU
|
|
17924
17933
|
*/
|
|
17925
17934
|
maxComputeResource?: string;
|
|
17935
|
+
/**
|
|
17936
|
+
* @remarks
|
|
17937
|
+
* This parameter is required.
|
|
17938
|
+
*/
|
|
17939
|
+
message?: string;
|
|
17926
17940
|
/**
|
|
17927
17941
|
* @remarks
|
|
17928
17942
|
* A reserved parameter.
|
|
@@ -21678,7 +21692,7 @@ export default class Client extends OpenApi {
|
|
|
21678
21692
|
*/
|
|
21679
21693
|
describeAllDataSource(request: DescribeAllDataSourceRequest): Promise<DescribeAllDataSourceResponse>;
|
|
21680
21694
|
/**
|
|
21681
|
-
* Queries the logs of a real-time data ingestion job for an AnalyticDB for MySQL
|
|
21695
|
+
* Queries the logs of a real-time data ingestion job for an AnalyticDB for MySQL cluster.
|
|
21682
21696
|
*
|
|
21683
21697
|
* @remarks
|
|
21684
21698
|
* General endpoint: `adb.aliyuncs.com`.
|
|
@@ -21691,7 +21705,7 @@ export default class Client extends OpenApi {
|
|
|
21691
21705
|
*/
|
|
21692
21706
|
describeApsActionLogsWithOptions(request: DescribeApsActionLogsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApsActionLogsResponse>;
|
|
21693
21707
|
/**
|
|
21694
|
-
* Queries the logs of a real-time data ingestion job for an AnalyticDB for MySQL
|
|
21708
|
+
* Queries the logs of a real-time data ingestion job for an AnalyticDB for MySQL cluster.
|
|
21695
21709
|
*
|
|
21696
21710
|
* @remarks
|
|
21697
21711
|
* General endpoint: `adb.aliyuncs.com`.
|
|
@@ -21926,10 +21940,10 @@ export default class Client extends OpenApi {
|
|
|
21926
21940
|
*/
|
|
21927
21941
|
describeDBClusterAttribute(request: DescribeDBClusterAttributeRequest): Promise<DescribeDBClusterAttributeResponse>;
|
|
21928
21942
|
/**
|
|
21929
|
-
* Queries the health status of an AnalyticDB for MySQL
|
|
21943
|
+
* Queries the health status of an AnalyticDB for MySQL cluster.
|
|
21930
21944
|
*
|
|
21931
21945
|
* @remarks
|
|
21932
|
-
* For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
|
|
21946
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
21933
21947
|
*
|
|
21934
21948
|
* @param request - DescribeDBClusterHealthStatusRequest
|
|
21935
21949
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21937,10 +21951,10 @@ export default class Client extends OpenApi {
|
|
|
21937
21951
|
*/
|
|
21938
21952
|
describeDBClusterHealthStatusWithOptions(request: DescribeDBClusterHealthStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBClusterHealthStatusResponse>;
|
|
21939
21953
|
/**
|
|
21940
|
-
* Queries the health status of an AnalyticDB for MySQL
|
|
21954
|
+
* Queries the health status of an AnalyticDB for MySQL cluster.
|
|
21941
21955
|
*
|
|
21942
21956
|
* @remarks
|
|
21943
|
-
* For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
|
|
21957
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
21944
21958
|
*
|
|
21945
21959
|
* @param request - DescribeDBClusterHealthStatusRequest
|
|
21946
21960
|
* @returns DescribeDBClusterHealthStatusResponse
|
|
@@ -21950,7 +21964,7 @@ export default class Client extends OpenApi {
|
|
|
21950
21964
|
* Queries the performance data of an AnalyticDB for MySQL cluster.
|
|
21951
21965
|
*
|
|
21952
21966
|
* @remarks
|
|
21953
|
-
* For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
|
|
21967
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
21954
21968
|
*
|
|
21955
21969
|
* @param request - DescribeDBClusterPerformanceRequest
|
|
21956
21970
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21961,7 +21975,7 @@ export default class Client extends OpenApi {
|
|
|
21961
21975
|
* Queries the performance data of an AnalyticDB for MySQL cluster.
|
|
21962
21976
|
*
|
|
21963
21977
|
* @remarks
|
|
21964
|
-
* For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
|
|
21978
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
21965
21979
|
*
|
|
21966
21980
|
* @param request - DescribeDBClusterPerformanceRequest
|
|
21967
21981
|
* @returns DescribeDBClusterPerformanceResponse
|
|
@@ -22271,7 +22285,7 @@ export default class Client extends OpenApi {
|
|
|
22271
22285
|
*/
|
|
22272
22286
|
describeJobResourceUsage(request: DescribeJobResourceUsageRequest): Promise<DescribeJobResourceUsageResponse>;
|
|
22273
22287
|
/**
|
|
22274
|
-
* Queries the information about performance metrics of an SQL pattern such as the query duration and average memory usage for an AnalyticDB for MySQL
|
|
22288
|
+
* 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.
|
|
22275
22289
|
*
|
|
22276
22290
|
* @remarks
|
|
22277
22291
|
* General endpoint: `adb.aliyuncs.com`.
|
|
@@ -22284,7 +22298,7 @@ export default class Client extends OpenApi {
|
|
|
22284
22298
|
*/
|
|
22285
22299
|
describePatternPerformanceWithOptions(request: DescribePatternPerformanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribePatternPerformanceResponse>;
|
|
22286
22300
|
/**
|
|
22287
|
-
* Queries the information about performance metrics of an SQL pattern such as the query duration and average memory usage for an AnalyticDB for MySQL
|
|
22301
|
+
* 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.
|
|
22288
22302
|
*
|
|
22289
22303
|
* @remarks
|
|
22290
22304
|
* General endpoint: `adb.aliyuncs.com`.
|
|
@@ -23185,9 +23199,9 @@ export default class Client extends OpenApi {
|
|
|
23185
23199
|
* Shuts down a Spark SQL engine.
|
|
23186
23200
|
*
|
|
23187
23201
|
* @remarks
|
|
23188
|
-
*
|
|
23189
|
-
* * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
|
|
23202
|
+
* Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
|
|
23190
23203
|
* * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
|
|
23204
|
+
* > 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.
|
|
23191
23205
|
*
|
|
23192
23206
|
* @param request - KillSparkSQLEngineRequest
|
|
23193
23207
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23198,9 +23212,9 @@ export default class Client extends OpenApi {
|
|
|
23198
23212
|
* Shuts down a Spark SQL engine.
|
|
23199
23213
|
*
|
|
23200
23214
|
* @remarks
|
|
23201
|
-
*
|
|
23202
|
-
* * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
|
|
23215
|
+
* Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
|
|
23203
23216
|
* * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
|
|
23217
|
+
* > 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.
|
|
23204
23218
|
*
|
|
23205
23219
|
* @param request - KillSparkSQLEngineRequest
|
|
23206
23220
|
* @returns KillSparkSQLEngineResponse
|
|
@@ -23498,7 +23512,7 @@ export default class Client extends OpenApi {
|
|
|
23498
23512
|
*/
|
|
23499
23513
|
modifyDBClusterDescription(request: ModifyDBClusterDescriptionRequest): Promise<ModifyDBClusterDescriptionResponse>;
|
|
23500
23514
|
/**
|
|
23501
|
-
* Modifies the maintenance window of an AnalyticDB for MySQL
|
|
23515
|
+
* Modifies the maintenance window of an AnalyticDB for MySQL cluster.
|
|
23502
23516
|
*
|
|
23503
23517
|
* @remarks
|
|
23504
23518
|
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
@@ -23509,7 +23523,7 @@ export default class Client extends OpenApi {
|
|
|
23509
23523
|
*/
|
|
23510
23524
|
modifyDBClusterMaintainTimeWithOptions(request: ModifyDBClusterMaintainTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBClusterMaintainTimeResponse>;
|
|
23511
23525
|
/**
|
|
23512
|
-
* Modifies the maintenance window of an AnalyticDB for MySQL
|
|
23526
|
+
* Modifies the maintenance window of an AnalyticDB for MySQL cluster.
|
|
23513
23527
|
*
|
|
23514
23528
|
* @remarks
|
|
23515
23529
|
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
package/dist/client.js
CHANGED
|
@@ -1270,6 +1270,8 @@ class CreateDBResourceGroupRequest extends $tea.Model {
|
|
|
1270
1270
|
clusterSizeResource: 'ClusterSizeResource',
|
|
1271
1271
|
DBClusterId: 'DBClusterId',
|
|
1272
1272
|
enableSpot: 'EnableSpot',
|
|
1273
|
+
engine: 'Engine',
|
|
1274
|
+
engineParams: 'EngineParams',
|
|
1273
1275
|
groupName: 'GroupName',
|
|
1274
1276
|
groupType: 'GroupType',
|
|
1275
1277
|
maxClusterCount: 'MaxClusterCount',
|
|
@@ -1286,6 +1288,8 @@ class CreateDBResourceGroupRequest extends $tea.Model {
|
|
|
1286
1288
|
clusterSizeResource: 'string',
|
|
1287
1289
|
DBClusterId: 'string',
|
|
1288
1290
|
enableSpot: 'boolean',
|
|
1291
|
+
engine: 'string',
|
|
1292
|
+
engineParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1289
1293
|
groupName: 'string',
|
|
1290
1294
|
groupType: 'string',
|
|
1291
1295
|
maxClusterCount: 'number',
|
|
@@ -1308,6 +1312,8 @@ class CreateDBResourceGroupShrinkRequest extends $tea.Model {
|
|
|
1308
1312
|
clusterSizeResource: 'ClusterSizeResource',
|
|
1309
1313
|
DBClusterId: 'DBClusterId',
|
|
1310
1314
|
enableSpot: 'EnableSpot',
|
|
1315
|
+
engine: 'Engine',
|
|
1316
|
+
engineParamsShrink: 'EngineParams',
|
|
1311
1317
|
groupName: 'GroupName',
|
|
1312
1318
|
groupType: 'GroupType',
|
|
1313
1319
|
maxClusterCount: 'MaxClusterCount',
|
|
@@ -1324,6 +1330,8 @@ class CreateDBResourceGroupShrinkRequest extends $tea.Model {
|
|
|
1324
1330
|
clusterSizeResource: 'string',
|
|
1325
1331
|
DBClusterId: 'string',
|
|
1326
1332
|
enableSpot: 'boolean',
|
|
1333
|
+
engine: 'string',
|
|
1334
|
+
engineParamsShrink: 'string',
|
|
1327
1335
|
groupName: 'string',
|
|
1328
1336
|
groupType: 'string',
|
|
1329
1337
|
maxClusterCount: 'number',
|
|
@@ -7662,6 +7670,7 @@ class ModifyAuditLogConfigRequest extends $tea.Model {
|
|
|
7662
7670
|
return {
|
|
7663
7671
|
auditLogStatus: 'AuditLogStatus',
|
|
7664
7672
|
DBClusterId: 'DBClusterId',
|
|
7673
|
+
engineType: 'EngineType',
|
|
7665
7674
|
ownerAccount: 'OwnerAccount',
|
|
7666
7675
|
ownerId: 'OwnerId',
|
|
7667
7676
|
regionId: 'RegionId',
|
|
@@ -7673,6 +7682,7 @@ class ModifyAuditLogConfigRequest extends $tea.Model {
|
|
|
7673
7682
|
return {
|
|
7674
7683
|
auditLogStatus: 'string',
|
|
7675
7684
|
DBClusterId: 'string',
|
|
7685
|
+
engineType: 'string',
|
|
7676
7686
|
ownerAccount: 'string',
|
|
7677
7687
|
ownerId: 'number',
|
|
7678
7688
|
regionId: 'string',
|
|
@@ -8104,6 +8114,7 @@ class ModifyDBResourceGroupRequest extends $tea.Model {
|
|
|
8104
8114
|
clusterSizeResource: 'ClusterSizeResource',
|
|
8105
8115
|
DBClusterId: 'DBClusterId',
|
|
8106
8116
|
enableSpot: 'EnableSpot',
|
|
8117
|
+
engineParams: 'EngineParams',
|
|
8107
8118
|
groupName: 'GroupName',
|
|
8108
8119
|
groupType: 'GroupType',
|
|
8109
8120
|
maxClusterCount: 'MaxClusterCount',
|
|
@@ -8120,6 +8131,7 @@ class ModifyDBResourceGroupRequest extends $tea.Model {
|
|
|
8120
8131
|
clusterSizeResource: 'string',
|
|
8121
8132
|
DBClusterId: 'string',
|
|
8122
8133
|
enableSpot: 'boolean',
|
|
8134
|
+
engineParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
8123
8135
|
groupName: 'string',
|
|
8124
8136
|
groupType: 'string',
|
|
8125
8137
|
maxClusterCount: 'number',
|
|
@@ -8142,6 +8154,7 @@ class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
|
|
|
8142
8154
|
clusterSizeResource: 'ClusterSizeResource',
|
|
8143
8155
|
DBClusterId: 'DBClusterId',
|
|
8144
8156
|
enableSpot: 'EnableSpot',
|
|
8157
|
+
engineParamsShrink: 'EngineParams',
|
|
8145
8158
|
groupName: 'GroupName',
|
|
8146
8159
|
groupType: 'GroupType',
|
|
8147
8160
|
maxClusterCount: 'MaxClusterCount',
|
|
@@ -8158,6 +8171,7 @@ class ModifyDBResourceGroupShrinkRequest extends $tea.Model {
|
|
|
8158
8171
|
clusterSizeResource: 'string',
|
|
8159
8172
|
DBClusterId: 'string',
|
|
8160
8173
|
enableSpot: 'boolean',
|
|
8174
|
+
engineParamsShrink: 'string',
|
|
8161
8175
|
groupName: 'string',
|
|
8162
8176
|
groupType: 'string',
|
|
8163
8177
|
maxClusterCount: 'number',
|
|
@@ -10615,11 +10629,14 @@ class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.Model {
|
|
|
10615
10629
|
createTime: 'CreateTime',
|
|
10616
10630
|
elasticMinComputeResource: 'ElasticMinComputeResource',
|
|
10617
10631
|
enableSpot: 'EnableSpot',
|
|
10632
|
+
engine: 'Engine',
|
|
10633
|
+
engineParams: 'EngineParams',
|
|
10618
10634
|
groupName: 'GroupName',
|
|
10619
10635
|
groupType: 'GroupType',
|
|
10620
10636
|
groupUsers: 'GroupUsers',
|
|
10621
10637
|
maxClusterCount: 'MaxClusterCount',
|
|
10622
10638
|
maxComputeResource: 'MaxComputeResource',
|
|
10639
|
+
message: 'Message',
|
|
10623
10640
|
minClusterCount: 'MinClusterCount',
|
|
10624
10641
|
minComputeResource: 'MinComputeResource',
|
|
10625
10642
|
rules: 'Rules',
|
|
@@ -10635,11 +10652,14 @@ class DescribeDBResourceGroupResponseBodyGroupsInfo extends $tea.Model {
|
|
|
10635
10652
|
createTime: 'string',
|
|
10636
10653
|
elasticMinComputeResource: 'string',
|
|
10637
10654
|
enableSpot: 'string',
|
|
10655
|
+
engine: 'string',
|
|
10656
|
+
engineParams: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
10638
10657
|
groupName: 'string',
|
|
10639
10658
|
groupType: 'string',
|
|
10640
10659
|
groupUsers: 'string',
|
|
10641
10660
|
maxClusterCount: 'number',
|
|
10642
10661
|
maxComputeResource: 'string',
|
|
10662
|
+
message: 'string',
|
|
10643
10663
|
minClusterCount: 'number',
|
|
10644
10664
|
minComputeResource: 'string',
|
|
10645
10665
|
rules: { 'type': 'array', 'itemType': DescribeDBResourceGroupResponseBodyGroupsInfoRules },
|
|
@@ -12650,6 +12670,9 @@ class Client extends openapi_client_1.default {
|
|
|
12650
12670
|
tea_util_1.default.validateModel(tmpReq);
|
|
12651
12671
|
let request = new CreateDBResourceGroupShrinkRequest({});
|
|
12652
12672
|
openapi_util_1.default.convert(tmpReq, request);
|
|
12673
|
+
if (!tea_util_1.default.isUnset(tmpReq.engineParams)) {
|
|
12674
|
+
request.engineParamsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.engineParams, "EngineParams", "json");
|
|
12675
|
+
}
|
|
12653
12676
|
if (!tea_util_1.default.isUnset(tmpReq.rules)) {
|
|
12654
12677
|
request.rulesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
12655
12678
|
}
|
|
@@ -12666,6 +12689,12 @@ class Client extends openapi_client_1.default {
|
|
|
12666
12689
|
if (!tea_util_1.default.isUnset(request.enableSpot)) {
|
|
12667
12690
|
query["EnableSpot"] = request.enableSpot;
|
|
12668
12691
|
}
|
|
12692
|
+
if (!tea_util_1.default.isUnset(request.engine)) {
|
|
12693
|
+
query["Engine"] = request.engine;
|
|
12694
|
+
}
|
|
12695
|
+
if (!tea_util_1.default.isUnset(request.engineParamsShrink)) {
|
|
12696
|
+
query["EngineParams"] = request.engineParamsShrink;
|
|
12697
|
+
}
|
|
12669
12698
|
if (!tea_util_1.default.isUnset(request.groupName)) {
|
|
12670
12699
|
query["GroupName"] = request.groupName;
|
|
12671
12700
|
}
|
|
@@ -13836,7 +13865,7 @@ class Client extends openapi_client_1.default {
|
|
|
13836
13865
|
return await this.describeAllDataSourceWithOptions(request, runtime);
|
|
13837
13866
|
}
|
|
13838
13867
|
/**
|
|
13839
|
-
* Queries the logs of a real-time data ingestion job for an AnalyticDB for MySQL
|
|
13868
|
+
* Queries the logs of a real-time data ingestion job for an AnalyticDB for MySQL cluster.
|
|
13840
13869
|
*
|
|
13841
13870
|
* @remarks
|
|
13842
13871
|
* General endpoint: `adb.aliyuncs.com`.
|
|
@@ -13909,7 +13938,7 @@ class Client extends openapi_client_1.default {
|
|
|
13909
13938
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApsActionLogsResponse({}));
|
|
13910
13939
|
}
|
|
13911
13940
|
/**
|
|
13912
|
-
* Queries the logs of a real-time data ingestion job for an AnalyticDB for MySQL
|
|
13941
|
+
* Queries the logs of a real-time data ingestion job for an AnalyticDB for MySQL cluster.
|
|
13913
13942
|
*
|
|
13914
13943
|
* @remarks
|
|
13915
13944
|
* General endpoint: `adb.aliyuncs.com`.
|
|
@@ -14531,10 +14560,10 @@ class Client extends openapi_client_1.default {
|
|
|
14531
14560
|
return await this.describeDBClusterAttributeWithOptions(request, runtime);
|
|
14532
14561
|
}
|
|
14533
14562
|
/**
|
|
14534
|
-
* Queries the health status of an AnalyticDB for MySQL
|
|
14563
|
+
* Queries the health status of an AnalyticDB for MySQL cluster.
|
|
14535
14564
|
*
|
|
14536
14565
|
* @remarks
|
|
14537
|
-
* For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
|
|
14566
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
14538
14567
|
*
|
|
14539
14568
|
* @param request - DescribeDBClusterHealthStatusRequest
|
|
14540
14569
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14566,10 +14595,10 @@ class Client extends openapi_client_1.default {
|
|
|
14566
14595
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBClusterHealthStatusResponse({}));
|
|
14567
14596
|
}
|
|
14568
14597
|
/**
|
|
14569
|
-
* Queries the health status of an AnalyticDB for MySQL
|
|
14598
|
+
* Queries the health status of an AnalyticDB for MySQL cluster.
|
|
14570
14599
|
*
|
|
14571
14600
|
* @remarks
|
|
14572
|
-
* For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
|
|
14601
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
14573
14602
|
*
|
|
14574
14603
|
* @param request - DescribeDBClusterHealthStatusRequest
|
|
14575
14604
|
* @returns DescribeDBClusterHealthStatusResponse
|
|
@@ -14582,7 +14611,7 @@ class Client extends openapi_client_1.default {
|
|
|
14582
14611
|
* Queries the performance data of an AnalyticDB for MySQL cluster.
|
|
14583
14612
|
*
|
|
14584
14613
|
* @remarks
|
|
14585
|
-
* For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
|
|
14614
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
14586
14615
|
*
|
|
14587
14616
|
* @param request - DescribeDBClusterPerformanceRequest
|
|
14588
14617
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14629,7 +14658,7 @@ class Client extends openapi_client_1.default {
|
|
|
14629
14658
|
* Queries the performance data of an AnalyticDB for MySQL cluster.
|
|
14630
14659
|
*
|
|
14631
14660
|
* @remarks
|
|
14632
|
-
* For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
|
|
14661
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
14633
14662
|
*
|
|
14634
14663
|
* @param request - DescribeDBClusterPerformanceRequest
|
|
14635
14664
|
* @returns DescribeDBClusterPerformanceResponse
|
|
@@ -15509,7 +15538,7 @@ class Client extends openapi_client_1.default {
|
|
|
15509
15538
|
return await this.describeJobResourceUsageWithOptions(request, runtime);
|
|
15510
15539
|
}
|
|
15511
15540
|
/**
|
|
15512
|
-
* Queries the information about performance metrics of an SQL pattern such as the query duration and average memory usage for an AnalyticDB for MySQL
|
|
15541
|
+
* 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.
|
|
15513
15542
|
*
|
|
15514
15543
|
* @remarks
|
|
15515
15544
|
* General endpoint: `adb.aliyuncs.com`.
|
|
@@ -15555,7 +15584,7 @@ class Client extends openapi_client_1.default {
|
|
|
15555
15584
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePatternPerformanceResponse({}));
|
|
15556
15585
|
}
|
|
15557
15586
|
/**
|
|
15558
|
-
* Queries the information about performance metrics of an SQL pattern such as the query duration and average memory usage for an AnalyticDB for MySQL
|
|
15587
|
+
* 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.
|
|
15559
15588
|
*
|
|
15560
15589
|
* @remarks
|
|
15561
15590
|
* General endpoint: `adb.aliyuncs.com`.
|
|
@@ -17781,9 +17810,9 @@ class Client extends openapi_client_1.default {
|
|
|
17781
17810
|
* Shuts down a Spark SQL engine.
|
|
17782
17811
|
*
|
|
17783
17812
|
* @remarks
|
|
17784
|
-
*
|
|
17785
|
-
* * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
|
|
17813
|
+
* Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
|
|
17786
17814
|
* * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
|
|
17815
|
+
* > 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.
|
|
17787
17816
|
*
|
|
17788
17817
|
* @param request - KillSparkSQLEngineRequest
|
|
17789
17818
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17818,9 +17847,9 @@ class Client extends openapi_client_1.default {
|
|
|
17818
17847
|
* Shuts down a Spark SQL engine.
|
|
17819
17848
|
*
|
|
17820
17849
|
* @remarks
|
|
17821
|
-
*
|
|
17822
|
-
* * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
|
|
17850
|
+
* Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
|
|
17823
17851
|
* * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
|
|
17852
|
+
* > 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.
|
|
17824
17853
|
*
|
|
17825
17854
|
* @param request - KillSparkSQLEngineRequest
|
|
17826
17855
|
* @returns KillSparkSQLEngineResponse
|
|
@@ -18216,6 +18245,9 @@ class Client extends openapi_client_1.default {
|
|
|
18216
18245
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
18217
18246
|
query["DBClusterId"] = request.DBClusterId;
|
|
18218
18247
|
}
|
|
18248
|
+
if (!tea_util_1.default.isUnset(request.engineType)) {
|
|
18249
|
+
query["EngineType"] = request.engineType;
|
|
18250
|
+
}
|
|
18219
18251
|
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
18220
18252
|
query["OwnerAccount"] = request.ownerAccount;
|
|
18221
18253
|
}
|
|
@@ -18576,7 +18608,7 @@ class Client extends openapi_client_1.default {
|
|
|
18576
18608
|
return await this.modifyDBClusterDescriptionWithOptions(request, runtime);
|
|
18577
18609
|
}
|
|
18578
18610
|
/**
|
|
18579
|
-
* Modifies the maintenance window of an AnalyticDB for MySQL
|
|
18611
|
+
* Modifies the maintenance window of an AnalyticDB for MySQL cluster.
|
|
18580
18612
|
*
|
|
18581
18613
|
* @remarks
|
|
18582
18614
|
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
@@ -18611,7 +18643,7 @@ class Client extends openapi_client_1.default {
|
|
|
18611
18643
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyDBClusterMaintainTimeResponse({}));
|
|
18612
18644
|
}
|
|
18613
18645
|
/**
|
|
18614
|
-
* Modifies the maintenance window of an AnalyticDB for MySQL
|
|
18646
|
+
* Modifies the maintenance window of an AnalyticDB for MySQL cluster.
|
|
18615
18647
|
*
|
|
18616
18648
|
* @remarks
|
|
18617
18649
|
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
@@ -18637,6 +18669,9 @@ class Client extends openapi_client_1.default {
|
|
|
18637
18669
|
tea_util_1.default.validateModel(tmpReq);
|
|
18638
18670
|
let request = new ModifyDBResourceGroupShrinkRequest({});
|
|
18639
18671
|
openapi_util_1.default.convert(tmpReq, request);
|
|
18672
|
+
if (!tea_util_1.default.isUnset(tmpReq.engineParams)) {
|
|
18673
|
+
request.engineParamsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.engineParams, "EngineParams", "json");
|
|
18674
|
+
}
|
|
18640
18675
|
if (!tea_util_1.default.isUnset(tmpReq.rules)) {
|
|
18641
18676
|
request.rulesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.rules, "Rules", "json");
|
|
18642
18677
|
}
|
|
@@ -18653,6 +18688,9 @@ class Client extends openapi_client_1.default {
|
|
|
18653
18688
|
if (!tea_util_1.default.isUnset(request.enableSpot)) {
|
|
18654
18689
|
query["EnableSpot"] = request.enableSpot;
|
|
18655
18690
|
}
|
|
18691
|
+
if (!tea_util_1.default.isUnset(request.engineParamsShrink)) {
|
|
18692
|
+
query["EngineParams"] = request.engineParamsShrink;
|
|
18693
|
+
}
|
|
18656
18694
|
if (!tea_util_1.default.isUnset(request.groupName)) {
|
|
18657
18695
|
query["GroupName"] = request.groupName;
|
|
18658
18696
|
}
|