@alicloud/adb20211201 4.5.1 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +163 -36
- package/dist/client.js +409 -36
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigureResultExportRequest.d.ts +38 -0
- package/dist/models/ConfigureResultExportRequest.js.map +1 -1
- package/dist/models/ConfigureResultExportResponseBody.d.ts +57 -0
- package/dist/models/ConfigureResultExportResponseBody.js.map +1 -1
- package/dist/models/ConfigureResultExportShrinkRequest.d.ts +20 -0
- package/dist/models/ConfigureResultExportShrinkRequest.js.map +1 -1
- package/dist/models/CreateApsKafkaHudiJobRequest.d.ts +90 -0
- package/dist/models/CreateApsKafkaHudiJobRequest.js +2 -0
- package/dist/models/CreateApsKafkaHudiJobRequest.js.map +1 -1
- package/dist/models/CreateApsKafkaHudiJobResponseBody.d.ts +18 -0
- package/dist/models/CreateApsKafkaHudiJobResponseBody.js.map +1 -1
- package/dist/models/CreateApsKafkaHudiJobShrinkRequest.d.ts +78 -0
- package/dist/models/CreateApsKafkaHudiJobShrinkRequest.js +2 -0
- package/dist/models/CreateApsKafkaHudiJobShrinkRequest.js.map +1 -1
- package/dist/models/CreateApsWebhookRequest.d.ts +20 -0
- package/dist/models/CreateApsWebhookRequest.js.map +1 -1
- package/dist/models/CreateApsWebhookResponseBody.d.ts +18 -0
- package/dist/models/CreateApsWebhookResponseBody.js.map +1 -1
- package/dist/models/CreateApsWebhookShrinkRequest.d.ts +10 -0
- package/dist/models/CreateApsWebhookShrinkRequest.js.map +1 -1
- package/dist/models/CreateBackupRequest.d.ts +5 -0
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateDbresourceGroupRequest.d.ts +29 -0
- package/dist/models/CreateDbresourceGroupRequest.js +51 -1
- package/dist/models/CreateDbresourceGroupRequest.js.map +1 -1
- package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +1 -0
- package/dist/models/CreateDbresourceGroupShrinkRequest.js +2 -0
- package/dist/models/CreateDbresourceGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateMaterializedViewRecommendRequest.d.ts +55 -0
- package/dist/models/CreateMaterializedViewRecommendRequest.js.map +1 -1
- package/dist/models/DatabaseSummaryModel.d.ts +4 -0
- package/dist/models/DatabaseSummaryModel.js +8 -0
- package/dist/models/DatabaseSummaryModel.js.map +1 -1
- package/dist/models/DeleteApsWebhookRequest.d.ts +6 -0
- package/dist/models/DeleteApsWebhookRequest.js.map +1 -1
- package/dist/models/DeleteApsWebhookResponseBody.d.ts +22 -0
- package/dist/models/DeleteApsWebhookResponseBody.js.map +1 -1
- package/dist/models/DeleteMaterializedViewRecommendRequest.d.ts +45 -0
- package/dist/models/DeleteMaterializedViewRecommendRequest.js +70 -0
- package/dist/models/DeleteMaterializedViewRecommendRequest.js.map +1 -0
- package/dist/models/DeleteMaterializedViewRecommendResponse.d.ts +19 -0
- package/dist/models/DeleteMaterializedViewRecommendResponse.js +69 -0
- package/dist/models/DeleteMaterializedViewRecommendResponse.js.map +1 -0
- package/dist/models/DeleteMaterializedViewRecommendResponseBody.d.ts +21 -0
- package/dist/models/DeleteMaterializedViewRecommendResponseBody.js +58 -0
- package/dist/models/DeleteMaterializedViewRecommendResponseBody.js.map +1 -0
- package/dist/models/DescribeDbclusterSslrequest.d.ts +9 -0
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +15 -0
- package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +29 -0
- package/dist/models/DescribeDbresourceGroupResponseBody.js +51 -1
- package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
- package/dist/models/DescribeHistoryTasksRequest.d.ts +47 -0
- package/dist/models/DescribeHistoryTasksRequest.js.map +1 -1
- package/dist/models/DescribeHistoryTasksResponseBody.d.ts +139 -0
- package/dist/models/DescribeHistoryTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeHistoryTasksStatRequest.d.ts +37 -0
- package/dist/models/DescribeHistoryTasksStatRequest.js.map +1 -1
- package/dist/models/DescribeHistoryTasksStatResponseBody.d.ts +73 -0
- package/dist/models/DescribeHistoryTasksStatResponseBody.js.map +1 -1
- package/dist/models/DescribeMvRecommendSubTasksRequest.d.ts +87 -0
- package/dist/models/DescribeMvRecommendSubTasksRequest.js +74 -0
- package/dist/models/DescribeMvRecommendSubTasksRequest.js.map +1 -0
- package/dist/models/DescribeMvRecommendSubTasksResponse.d.ts +19 -0
- package/dist/models/DescribeMvRecommendSubTasksResponse.js +69 -0
- package/dist/models/DescribeMvRecommendSubTasksResponse.js.map +1 -0
- package/dist/models/DescribeMvRecommendSubTasksResponseBody.d.ts +92 -0
- package/dist/models/DescribeMvRecommendSubTasksResponseBody.js +98 -0
- package/dist/models/DescribeMvRecommendSubTasksResponseBody.js.map +1 -0
- package/dist/models/DescribeMvRecommendTasksRequest.d.ts +63 -0
- package/dist/models/DescribeMvRecommendTasksRequest.js +70 -0
- package/dist/models/DescribeMvRecommendTasksRequest.js.map +1 -0
- package/dist/models/DescribeMvRecommendTasksResponse.d.ts +19 -0
- package/dist/models/DescribeMvRecommendTasksResponse.js +69 -0
- package/dist/models/DescribeMvRecommendTasksResponse.js.map +1 -0
- package/dist/models/DescribeMvRecommendTasksResponseBody.d.ts +92 -0
- package/dist/models/DescribeMvRecommendTasksResponseBody.js +98 -0
- package/dist/models/DescribeMvRecommendTasksResponseBody.js.map +1 -0
- package/dist/models/DescribeMvrecommendResultsRequest.d.ts +84 -0
- package/dist/models/DescribeMvrecommendResultsRequest.js +76 -0
- package/dist/models/DescribeMvrecommendResultsRequest.js.map +1 -0
- package/dist/models/DescribeMvrecommendResultsResponse.d.ts +19 -0
- package/dist/models/DescribeMvrecommendResultsResponse.js +69 -0
- package/dist/models/DescribeMvrecommendResultsResponse.js.map +1 -0
- package/dist/models/DescribeMvrecommendResultsResponseBody.d.ts +92 -0
- package/dist/models/DescribeMvrecommendResultsResponseBody.js +98 -0
- package/dist/models/DescribeMvrecommendResultsResponseBody.js.map +1 -0
- package/dist/models/DescribeResultExportConfigRequest.d.ts +12 -0
- package/dist/models/DescribeResultExportConfigRequest.js.map +1 -1
- package/dist/models/DescribeResultExportConfigResponseBody.d.ts +57 -0
- package/dist/models/DescribeResultExportConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeSparkAuditLogRecordsRequest.d.ts +85 -1
- package/dist/models/DescribeSparkAuditLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.d.ts +77 -1
- package/dist/models/DescribeSparkAuditLogRecordsResponseBody.js.map +1 -1
- package/dist/models/DescribeViewJobsRequest.d.ts +102 -0
- package/dist/models/DescribeViewJobsRequest.js +74 -0
- package/dist/models/DescribeViewJobsRequest.js.map +1 -0
- package/dist/models/DescribeViewJobsResponse.d.ts +19 -0
- package/dist/models/DescribeViewJobsResponse.js +69 -0
- package/dist/models/DescribeViewJobsResponse.js.map +1 -0
- package/dist/models/DescribeViewJobsResponseBody.d.ts +92 -0
- package/dist/models/DescribeViewJobsResponseBody.js +98 -0
- package/dist/models/DescribeViewJobsResponseBody.js.map +1 -0
- package/dist/models/GetAdbsparkNecessaryRampermissionsRequest.d.ts +4 -0
- package/dist/models/GetAdbsparkNecessaryRampermissionsRequest.js.map +1 -1
- package/dist/models/GetAdbsparkNecessaryRampermissionsResponseBody.d.ts +50 -0
- package/dist/models/GetAdbsparkNecessaryRampermissionsResponseBody.js.map +1 -1
- package/dist/models/ListApsWebhookRequest.d.ts +8 -0
- package/dist/models/ListApsWebhookRequest.js.map +1 -1
- package/dist/models/ListApsWebhookResponseBody.d.ts +34 -0
- package/dist/models/ListApsWebhookResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +13 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslresponseBody.d.ts +3 -0
- package/dist/models/ModifyDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupRequest.d.ts +29 -0
- package/dist/models/ModifyDbresourceGroupRequest.js +51 -1
- package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +1 -0
- package/dist/models/ModifyDbresourceGroupShrinkRequest.js +2 -0
- package/dist/models/ModifyDbresourceGroupShrinkRequest.js.map +1 -1
- package/dist/models/ModifyMaterializedViewRecommendRequest.d.ts +61 -0
- package/dist/models/ModifyMaterializedViewRecommendRequest.js.map +1 -1
- package/dist/models/ModifyMaterializedViewRecommendResponseBody.d.ts +1 -1
- package/dist/models/ModifyMaterializedViewRequest.d.ts +33 -0
- package/dist/models/ModifyMaterializedViewRequest.js.map +1 -1
- package/dist/models/ModifySqlTemplatePositionRequest.d.ts +8 -0
- package/dist/models/ModifySqlTemplatePositionRequest.js.map +1 -1
- package/dist/models/ModifySqlTemplatePositionResponseBody.d.ts +15 -0
- package/dist/models/ModifySqlTemplatePositionResponseBody.js.map +1 -1
- package/dist/models/TableDetailModel.d.ts +6 -0
- package/dist/models/TableDetailModel.js +11 -0
- package/dist/models/TableDetailModel.js.map +1 -1
- package/dist/models/TableModel.d.ts +2 -0
- package/dist/models/TableModel.js +4 -0
- package/dist/models/TableModel.js.map +1 -1
- package/dist/models/TableSummaryModel.d.ts +2 -0
- package/dist/models/TableSummaryModel.js +4 -0
- package/dist/models/TableSummaryModel.js.map +1 -1
- package/dist/models/UpdateApsWebhookRequest.d.ts +21 -1
- package/dist/models/UpdateApsWebhookRequest.js.map +1 -1
- package/dist/models/UpdateApsWebhookResponseBody.d.ts +22 -0
- package/dist/models/UpdateApsWebhookResponseBody.js.map +1 -1
- package/dist/models/UpdateApsWebhookShrinkRequest.d.ts +8 -0
- package/dist/models/UpdateApsWebhookShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +93 -43
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +466 -36
- package/src/models/ConfigureResultExportRequest.ts +38 -0
- package/src/models/ConfigureResultExportResponseBody.ts +57 -0
- package/src/models/ConfigureResultExportShrinkRequest.ts +20 -0
- package/src/models/CreateApsKafkaHudiJobRequest.ts +92 -0
- package/src/models/CreateApsKafkaHudiJobResponseBody.ts +18 -0
- package/src/models/CreateApsKafkaHudiJobShrinkRequest.ts +80 -0
- package/src/models/CreateApsWebhookRequest.ts +20 -0
- package/src/models/CreateApsWebhookResponseBody.ts +18 -0
- package/src/models/CreateApsWebhookShrinkRequest.ts +10 -0
- package/src/models/CreateBackupRequest.ts +5 -0
- package/src/models/CreateDbresourceGroupRequest.ts +61 -0
- package/src/models/CreateDbresourceGroupShrinkRequest.ts +3 -0
- package/src/models/CreateMaterializedViewRecommendRequest.ts +55 -0
- package/src/models/DatabaseSummaryModel.ts +12 -0
- package/src/models/DeleteApsWebhookRequest.ts +6 -0
- package/src/models/DeleteApsWebhookResponseBody.ts +22 -0
- package/src/models/DeleteMaterializedViewRecommendRequest.ts +70 -0
- package/src/models/DeleteMaterializedViewRecommendResponse.ts +40 -0
- package/src/models/DeleteMaterializedViewRecommendResponseBody.ts +34 -0
- package/src/models/DescribeDbclusterSslrequest.ts +9 -0
- package/src/models/DescribeDbclusterSslresponseBody.ts +15 -0
- package/src/models/DescribeDbresourceGroupResponseBody.ts +61 -0
- package/src/models/DescribeHistoryTasksRequest.ts +47 -0
- package/src/models/DescribeHistoryTasksResponseBody.ts +139 -0
- package/src/models/DescribeHistoryTasksStatRequest.ts +37 -0
- package/src/models/DescribeHistoryTasksStatResponseBody.ts +73 -0
- package/src/models/DescribeMvRecommendSubTasksRequest.ts +116 -0
- package/src/models/DescribeMvRecommendSubTasksResponse.ts +40 -0
- package/src/models/DescribeMvRecommendSubTasksResponseBody.ts +135 -0
- package/src/models/DescribeMvRecommendTasksRequest.ts +88 -0
- package/src/models/DescribeMvRecommendTasksResponse.ts +40 -0
- package/src/models/DescribeMvRecommendTasksResponseBody.ts +135 -0
- package/src/models/DescribeMvrecommendResultsRequest.ts +115 -0
- package/src/models/DescribeMvrecommendResultsResponse.ts +40 -0
- package/src/models/DescribeMvrecommendResultsResponseBody.ts +135 -0
- package/src/models/DescribeResultExportConfigRequest.ts +12 -0
- package/src/models/DescribeResultExportConfigResponseBody.ts +57 -0
- package/src/models/DescribeSparkAuditLogRecordsRequest.ts +85 -1
- package/src/models/DescribeSparkAuditLogRecordsResponseBody.ts +77 -1
- package/src/models/DescribeViewJobsRequest.ts +131 -0
- package/src/models/DescribeViewJobsResponse.ts +40 -0
- package/src/models/DescribeViewJobsResponseBody.ts +135 -0
- package/src/models/GetAdbsparkNecessaryRampermissionsRequest.ts +4 -0
- package/src/models/GetAdbsparkNecessaryRampermissionsResponseBody.ts +50 -0
- package/src/models/ListApsWebhookRequest.ts +8 -0
- package/src/models/ListApsWebhookResponseBody.ts +34 -0
- package/src/models/ModifyDbclusterSslrequest.ts +13 -0
- package/src/models/ModifyDbclusterSslresponseBody.ts +3 -0
- package/src/models/ModifyDbresourceGroupRequest.ts +61 -0
- package/src/models/ModifyDbresourceGroupShrinkRequest.ts +3 -0
- package/src/models/ModifyMaterializedViewRecommendRequest.ts +61 -0
- package/src/models/ModifyMaterializedViewRecommendResponseBody.ts +1 -1
- package/src/models/ModifyMaterializedViewRequest.ts +33 -0
- package/src/models/ModifySqlTemplatePositionRequest.ts +8 -0
- package/src/models/ModifySqlTemplatePositionResponseBody.ts +15 -0
- package/src/models/TableDetailModel.ts +15 -0
- package/src/models/TableModel.ts +6 -0
- package/src/models/TableSummaryModel.ts +6 -0
- package/src/models/UpdateApsWebhookRequest.ts +21 -1
- package/src/models/UpdateApsWebhookResponseBody.ts +22 -0
- package/src/models/UpdateApsWebhookShrinkRequest.ts +8 -0
- package/src/models/model.ts +25 -0
package/dist/client.js
CHANGED
|
@@ -619,7 +619,7 @@ class Client extends openapi_core_1.default {
|
|
|
619
619
|
return await this.checkSampleDataSetWithOptions(request, runtime);
|
|
620
620
|
}
|
|
621
621
|
/**
|
|
622
|
-
*
|
|
622
|
+
* Configures the export destination (SLS or OSS) at the instance level. The configuration is unique per instance and follows the "configure once, use multiple times" principle.
|
|
623
623
|
*
|
|
624
624
|
* @param tmpReq - ConfigureResultExportRequest
|
|
625
625
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -668,7 +668,7 @@ class Client extends openapi_core_1.default {
|
|
|
668
668
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ConfigureResultExportResponse({}));
|
|
669
669
|
}
|
|
670
670
|
/**
|
|
671
|
-
*
|
|
671
|
+
* Configures the export destination (SLS or OSS) at the instance level. The configuration is unique per instance and follows the "configure once, use multiple times" principle.
|
|
672
672
|
*
|
|
673
673
|
* @param request - ConfigureResultExportRequest
|
|
674
674
|
* @returns ConfigureResultExportResponse
|
|
@@ -1058,7 +1058,7 @@ class Client extends openapi_core_1.default {
|
|
|
1058
1058
|
return await this.createApsHiveJobWithOptions(request, runtime);
|
|
1059
1059
|
}
|
|
1060
1060
|
/**
|
|
1061
|
-
*
|
|
1061
|
+
* Creates a data ingestion task to load data from an Apache Kafka topic into an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
1062
1062
|
*
|
|
1063
1063
|
* @param tmpReq - CreateApsKafkaHudiJobRequest
|
|
1064
1064
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1090,6 +1090,9 @@ class Client extends openapi_core_1.default {
|
|
|
1090
1090
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
1091
1091
|
body["DBClusterId"] = request.DBClusterId;
|
|
1092
1092
|
}
|
|
1093
|
+
if (!$dara.isNull(request.dataFormatType)) {
|
|
1094
|
+
body["DataFormatType"] = request.dataFormatType;
|
|
1095
|
+
}
|
|
1093
1096
|
if (!$dara.isNull(request.dataOutputFormat)) {
|
|
1094
1097
|
body["DataOutputFormat"] = request.dataOutputFormat;
|
|
1095
1098
|
}
|
|
@@ -1176,7 +1179,7 @@ class Client extends openapi_core_1.default {
|
|
|
1176
1179
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApsKafkaHudiJobResponse({}));
|
|
1177
1180
|
}
|
|
1178
1181
|
/**
|
|
1179
|
-
*
|
|
1182
|
+
* Creates a data ingestion task to load data from an Apache Kafka topic into an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
|
|
1180
1183
|
*
|
|
1181
1184
|
* @param request - CreateApsKafkaHudiJobRequest
|
|
1182
1185
|
* @returns CreateApsKafkaHudiJobResponse
|
|
@@ -1329,7 +1332,7 @@ class Client extends openapi_core_1.default {
|
|
|
1329
1332
|
return await this.createApsSlsADBJobWithOptions(request, runtime);
|
|
1330
1333
|
}
|
|
1331
1334
|
/**
|
|
1332
|
-
*
|
|
1335
|
+
* Creates a new webhook for the specified cluster or task type.
|
|
1333
1336
|
*
|
|
1334
1337
|
* @param tmpReq - CreateApsWebhookRequest
|
|
1335
1338
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1372,7 +1375,7 @@ class Client extends openapi_core_1.default {
|
|
|
1372
1375
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApsWebhookResponse({}));
|
|
1373
1376
|
}
|
|
1374
1377
|
/**
|
|
1375
|
-
*
|
|
1378
|
+
* Creates a new webhook for the specified cluster or task type.
|
|
1376
1379
|
*
|
|
1377
1380
|
* @param request - CreateApsWebhookRequest
|
|
1378
1381
|
* @returns CreateApsWebhookResponse
|
|
@@ -1382,7 +1385,10 @@ class Client extends openapi_core_1.default {
|
|
|
1382
1385
|
return await this.createApsWebhookWithOptions(request, runtime);
|
|
1383
1386
|
}
|
|
1384
1387
|
/**
|
|
1385
|
-
*
|
|
1388
|
+
* Creates a data backup for an AnalyticDB for MySQL instance.
|
|
1389
|
+
*
|
|
1390
|
+
* @remarks
|
|
1391
|
+
* *Before you call this operation, make sure that you fully understand the billing method and [pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre) of AnalyticDB for MySQL.** Temporary backups are the same as regular backups in terms of price and retention period of backup sets.
|
|
1386
1392
|
*
|
|
1387
1393
|
* @param request - CreateBackupRequest
|
|
1388
1394
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1426,7 +1432,10 @@ class Client extends openapi_core_1.default {
|
|
|
1426
1432
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateBackupResponse({}));
|
|
1427
1433
|
}
|
|
1428
1434
|
/**
|
|
1429
|
-
*
|
|
1435
|
+
* Creates a data backup for an AnalyticDB for MySQL instance.
|
|
1436
|
+
*
|
|
1437
|
+
* @remarks
|
|
1438
|
+
* *Before you call this operation, make sure that you fully understand the billing method and [pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre) of AnalyticDB for MySQL.** Temporary backups are the same as regular backups in terms of price and retention period of backup sets.
|
|
1430
1439
|
*
|
|
1431
1440
|
* @param request - CreateBackupRequest
|
|
1432
1441
|
* @returns CreateBackupResponse
|
|
@@ -1581,6 +1590,9 @@ class Client extends openapi_core_1.default {
|
|
|
1581
1590
|
if (!$dara.isNull(tmpReq.engineParams)) {
|
|
1582
1591
|
request.engineParamsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.engineParams, "EngineParams", "json");
|
|
1583
1592
|
}
|
|
1593
|
+
if (!$dara.isNull(tmpReq.gpuElasticPlan)) {
|
|
1594
|
+
request.gpuElasticPlanShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.gpuElasticPlan, "GpuElasticPlan", "json");
|
|
1595
|
+
}
|
|
1584
1596
|
if (!$dara.isNull(tmpReq.rayConfig)) {
|
|
1585
1597
|
request.rayConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rayConfig, "RayConfig", "json");
|
|
1586
1598
|
}
|
|
@@ -1609,6 +1621,9 @@ class Client extends openapi_core_1.default {
|
|
|
1609
1621
|
if (!$dara.isNull(request.engineParamsShrink)) {
|
|
1610
1622
|
query["EngineParams"] = request.engineParamsShrink;
|
|
1611
1623
|
}
|
|
1624
|
+
if (!$dara.isNull(request.gpuElasticPlanShrink)) {
|
|
1625
|
+
query["GpuElasticPlan"] = request.gpuElasticPlanShrink;
|
|
1626
|
+
}
|
|
1612
1627
|
if (!$dara.isNull(request.groupName)) {
|
|
1613
1628
|
query["GroupName"] = request.groupName;
|
|
1614
1629
|
}
|
|
@@ -1808,7 +1823,7 @@ class Client extends openapi_core_1.default {
|
|
|
1808
1823
|
return await this.createLakeStorageWithOptions(request, runtime);
|
|
1809
1824
|
}
|
|
1810
1825
|
/**
|
|
1811
|
-
*
|
|
1826
|
+
* Creates a materialized view recommendation task.
|
|
1812
1827
|
*
|
|
1813
1828
|
* @param request - CreateMaterializedViewRecommendRequest
|
|
1814
1829
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1879,7 +1894,7 @@ class Client extends openapi_core_1.default {
|
|
|
1879
1894
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMaterializedViewRecommendResponse({}));
|
|
1880
1895
|
}
|
|
1881
1896
|
/**
|
|
1882
|
-
*
|
|
1897
|
+
* Creates a materialized view recommendation task.
|
|
1883
1898
|
*
|
|
1884
1899
|
* @param request - CreateMaterializedViewRecommendRequest
|
|
1885
1900
|
* @returns CreateMaterializedViewRecommendResponse
|
|
@@ -2227,7 +2242,10 @@ class Client extends openapi_core_1.default {
|
|
|
2227
2242
|
return await this.deleteApsJobWithOptions(request, runtime);
|
|
2228
2243
|
}
|
|
2229
2244
|
/**
|
|
2230
|
-
*
|
|
2245
|
+
* Deletes a specific webhook in a specified cluster.
|
|
2246
|
+
*
|
|
2247
|
+
* @remarks
|
|
2248
|
+
* This API allows users to delete an existing webhook configuration by providing `RegionId`, `DBClusterId`, and `WebhookId`. Make sure that the provided parameter values are accurate to avoid deleting important settings by mistake.
|
|
2231
2249
|
*
|
|
2232
2250
|
* @param request - DeleteApsWebhookRequest
|
|
2233
2251
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2262,7 +2280,10 @@ class Client extends openapi_core_1.default {
|
|
|
2262
2280
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteApsWebhookResponse({}));
|
|
2263
2281
|
}
|
|
2264
2282
|
/**
|
|
2265
|
-
*
|
|
2283
|
+
* Deletes a specific webhook in a specified cluster.
|
|
2284
|
+
*
|
|
2285
|
+
* @remarks
|
|
2286
|
+
* This API allows users to delete an existing webhook configuration by providing `RegionId`, `DBClusterId`, and `WebhookId`. Make sure that the provided parameter values are accurate to avoid deleting important settings by mistake.
|
|
2266
2287
|
*
|
|
2267
2288
|
* @param request - DeleteApsWebhookRequest
|
|
2268
2289
|
* @returns DeleteApsWebhookResponse
|
|
@@ -2536,6 +2557,63 @@ class Client extends openapi_core_1.default {
|
|
|
2536
2557
|
let runtime = new $dara.RuntimeOptions({});
|
|
2537
2558
|
return await this.deleteLakeStorageWithOptions(request, runtime);
|
|
2538
2559
|
}
|
|
2560
|
+
/**
|
|
2561
|
+
* Deletes a materialized view recommendation task.
|
|
2562
|
+
*
|
|
2563
|
+
* @param request - DeleteMaterializedViewRecommendRequest
|
|
2564
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2565
|
+
* @returns DeleteMaterializedViewRecommendResponse
|
|
2566
|
+
*/
|
|
2567
|
+
async deleteMaterializedViewRecommendWithOptions(request, runtime) {
|
|
2568
|
+
request.validate();
|
|
2569
|
+
let query = {};
|
|
2570
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
2571
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
2572
|
+
}
|
|
2573
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
2574
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
2575
|
+
}
|
|
2576
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
2577
|
+
query["OwnerId"] = request.ownerId;
|
|
2578
|
+
}
|
|
2579
|
+
if (!$dara.isNull(request.regionId)) {
|
|
2580
|
+
query["RegionId"] = request.regionId;
|
|
2581
|
+
}
|
|
2582
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
2583
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
2584
|
+
}
|
|
2585
|
+
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
2586
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
2587
|
+
}
|
|
2588
|
+
if (!$dara.isNull(request.taskName)) {
|
|
2589
|
+
query["TaskName"] = request.taskName;
|
|
2590
|
+
}
|
|
2591
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2592
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2593
|
+
});
|
|
2594
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2595
|
+
action: "DeleteMaterializedViewRecommend",
|
|
2596
|
+
version: "2021-12-01",
|
|
2597
|
+
protocol: "HTTPS",
|
|
2598
|
+
pathname: "/",
|
|
2599
|
+
method: "POST",
|
|
2600
|
+
authType: "AK",
|
|
2601
|
+
style: "RPC",
|
|
2602
|
+
reqBodyType: "formData",
|
|
2603
|
+
bodyType: "json",
|
|
2604
|
+
});
|
|
2605
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMaterializedViewRecommendResponse({}));
|
|
2606
|
+
}
|
|
2607
|
+
/**
|
|
2608
|
+
* Deletes a materialized view recommendation task.
|
|
2609
|
+
*
|
|
2610
|
+
* @param request - DeleteMaterializedViewRecommendRequest
|
|
2611
|
+
* @returns DeleteMaterializedViewRecommendResponse
|
|
2612
|
+
*/
|
|
2613
|
+
async deleteMaterializedViewRecommend(request) {
|
|
2614
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2615
|
+
return await this.deleteMaterializedViewRecommendWithOptions(request, runtime);
|
|
2616
|
+
}
|
|
2539
2617
|
/**
|
|
2540
2618
|
* Deletes a monitoring view.
|
|
2541
2619
|
*
|
|
@@ -4873,7 +4951,7 @@ class Client extends openapi_core_1.default {
|
|
|
4873
4951
|
return await this.describeDBClusterPerformanceWithOptions(request, runtime);
|
|
4874
4952
|
}
|
|
4875
4953
|
/**
|
|
4876
|
-
*
|
|
4954
|
+
* Queries the SSL configurations of a cluster.
|
|
4877
4955
|
*
|
|
4878
4956
|
* @param request - DescribeDBClusterSSLRequest
|
|
4879
4957
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4905,7 +4983,7 @@ class Client extends openapi_core_1.default {
|
|
|
4905
4983
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterSSLResponse({}));
|
|
4906
4984
|
}
|
|
4907
4985
|
/**
|
|
4908
|
-
*
|
|
4986
|
+
* Queries the SSL configurations of a cluster.
|
|
4909
4987
|
*
|
|
4910
4988
|
* @param request - DescribeDBClusterSSLRequest
|
|
4911
4989
|
* @returns DescribeDBClusterSSLResponse
|
|
@@ -5857,7 +5935,10 @@ class Client extends openapi_core_1.default {
|
|
|
5857
5935
|
return await this.describeExecutorDetectionWithOptions(request, runtime);
|
|
5858
5936
|
}
|
|
5859
5937
|
/**
|
|
5860
|
-
*
|
|
5938
|
+
* Retrieve historical task records.
|
|
5939
|
+
*
|
|
5940
|
+
* @remarks
|
|
5941
|
+
* Only supports viewing tasks within the last 30 days.
|
|
5861
5942
|
*
|
|
5862
5943
|
* @param request - DescribeHistoryTasksRequest
|
|
5863
5944
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5928,7 +6009,10 @@ class Client extends openapi_core_1.default {
|
|
|
5928
6009
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeHistoryTasksResponse({}));
|
|
5929
6010
|
}
|
|
5930
6011
|
/**
|
|
5931
|
-
*
|
|
6012
|
+
* Retrieve historical task records.
|
|
6013
|
+
*
|
|
6014
|
+
* @remarks
|
|
6015
|
+
* Only supports viewing tasks within the last 30 days.
|
|
5932
6016
|
*
|
|
5933
6017
|
* @param request - DescribeHistoryTasksRequest
|
|
5934
6018
|
* @returns DescribeHistoryTasksResponse
|
|
@@ -5938,7 +6022,7 @@ class Client extends openapi_core_1.default {
|
|
|
5938
6022
|
return await this.describeHistoryTasksWithOptions(request, runtime);
|
|
5939
6023
|
}
|
|
5940
6024
|
/**
|
|
5941
|
-
*
|
|
6025
|
+
* Queries task statistics.
|
|
5942
6026
|
*
|
|
5943
6027
|
* @param request - DescribeHistoryTasksStatRequest
|
|
5944
6028
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6006,7 +6090,7 @@ class Client extends openapi_core_1.default {
|
|
|
6006
6090
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeHistoryTasksStatResponse({}));
|
|
6007
6091
|
}
|
|
6008
6092
|
/**
|
|
6009
|
-
*
|
|
6093
|
+
* Queries task statistics.
|
|
6010
6094
|
*
|
|
6011
6095
|
* @param request - DescribeHistoryTasksStatRequest
|
|
6012
6096
|
* @returns DescribeHistoryTasksStatResponse
|
|
@@ -6469,6 +6553,198 @@ class Client extends openapi_core_1.default {
|
|
|
6469
6553
|
let runtime = new $dara.RuntimeOptions({});
|
|
6470
6554
|
return await this.describeLakeCacheSizeWithOptions(request, runtime);
|
|
6471
6555
|
}
|
|
6556
|
+
/**
|
|
6557
|
+
* Retrieves the result of a recommendation task for a materialized view.
|
|
6558
|
+
*
|
|
6559
|
+
* @remarks
|
|
6560
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
6561
|
+
*
|
|
6562
|
+
* @param request - DescribeMVRecommendResultsRequest
|
|
6563
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6564
|
+
* @returns DescribeMVRecommendResultsResponse
|
|
6565
|
+
*/
|
|
6566
|
+
async describeMVRecommendResultsWithOptions(request, runtime) {
|
|
6567
|
+
request.validate();
|
|
6568
|
+
let query = {};
|
|
6569
|
+
if (!$dara.isNull(request.actionInner)) {
|
|
6570
|
+
query["ActionInner"] = request.actionInner;
|
|
6571
|
+
}
|
|
6572
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
6573
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
6574
|
+
}
|
|
6575
|
+
if (!$dara.isNull(request.from)) {
|
|
6576
|
+
query["From"] = request.from;
|
|
6577
|
+
}
|
|
6578
|
+
if (!$dara.isNull(request.orderBy)) {
|
|
6579
|
+
query["OrderBy"] = request.orderBy;
|
|
6580
|
+
}
|
|
6581
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6582
|
+
query["PageNumber"] = request.pageNumber;
|
|
6583
|
+
}
|
|
6584
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6585
|
+
query["PageSize"] = request.pageSize;
|
|
6586
|
+
}
|
|
6587
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6588
|
+
query["RegionId"] = request.regionId;
|
|
6589
|
+
}
|
|
6590
|
+
if (!$dara.isNull(request.subQueryId)) {
|
|
6591
|
+
query["SubQueryId"] = request.subQueryId;
|
|
6592
|
+
}
|
|
6593
|
+
if (!$dara.isNull(request.subtaskId)) {
|
|
6594
|
+
query["SubtaskId"] = request.subtaskId;
|
|
6595
|
+
}
|
|
6596
|
+
if (!$dara.isNull(request.taskName)) {
|
|
6597
|
+
query["TaskName"] = request.taskName;
|
|
6598
|
+
}
|
|
6599
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6600
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6601
|
+
});
|
|
6602
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6603
|
+
action: "DescribeMVRecommendResults",
|
|
6604
|
+
version: "2021-12-01",
|
|
6605
|
+
protocol: "HTTPS",
|
|
6606
|
+
pathname: "/",
|
|
6607
|
+
method: "POST",
|
|
6608
|
+
authType: "AK",
|
|
6609
|
+
style: "RPC",
|
|
6610
|
+
reqBodyType: "formData",
|
|
6611
|
+
bodyType: "json",
|
|
6612
|
+
});
|
|
6613
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeMVRecommendResultsResponse({}));
|
|
6614
|
+
}
|
|
6615
|
+
/**
|
|
6616
|
+
* Retrieves the result of a recommendation task for a materialized view.
|
|
6617
|
+
*
|
|
6618
|
+
* @remarks
|
|
6619
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
6620
|
+
*
|
|
6621
|
+
* @param request - DescribeMVRecommendResultsRequest
|
|
6622
|
+
* @returns DescribeMVRecommendResultsResponse
|
|
6623
|
+
*/
|
|
6624
|
+
async describeMVRecommendResults(request) {
|
|
6625
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6626
|
+
return await this.describeMVRecommendResultsWithOptions(request, runtime);
|
|
6627
|
+
}
|
|
6628
|
+
/**
|
|
6629
|
+
* 查看物化视图子任务
|
|
6630
|
+
*
|
|
6631
|
+
* @param request - DescribeMvRecommendSubTasksRequest
|
|
6632
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6633
|
+
* @returns DescribeMvRecommendSubTasksResponse
|
|
6634
|
+
*/
|
|
6635
|
+
async describeMvRecommendSubTasksWithOptions(request, runtime) {
|
|
6636
|
+
request.validate();
|
|
6637
|
+
let query = {};
|
|
6638
|
+
if (!$dara.isNull(request.actionInner)) {
|
|
6639
|
+
query["ActionInner"] = request.actionInner;
|
|
6640
|
+
}
|
|
6641
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
6642
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
6643
|
+
}
|
|
6644
|
+
if (!$dara.isNull(request.from)) {
|
|
6645
|
+
query["From"] = request.from;
|
|
6646
|
+
}
|
|
6647
|
+
if (!$dara.isNull(request.orderBy)) {
|
|
6648
|
+
query["OrderBy"] = request.orderBy;
|
|
6649
|
+
}
|
|
6650
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6651
|
+
query["PageNumber"] = request.pageNumber;
|
|
6652
|
+
}
|
|
6653
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6654
|
+
query["PageSize"] = request.pageSize;
|
|
6655
|
+
}
|
|
6656
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6657
|
+
query["RegionId"] = request.regionId;
|
|
6658
|
+
}
|
|
6659
|
+
if (!$dara.isNull(request.subtaskId)) {
|
|
6660
|
+
query["SubtaskId"] = request.subtaskId;
|
|
6661
|
+
}
|
|
6662
|
+
if (!$dara.isNull(request.taskName)) {
|
|
6663
|
+
query["TaskName"] = request.taskName;
|
|
6664
|
+
}
|
|
6665
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6666
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6667
|
+
});
|
|
6668
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6669
|
+
action: "DescribeMvRecommendSubTasks",
|
|
6670
|
+
version: "2021-12-01",
|
|
6671
|
+
protocol: "HTTPS",
|
|
6672
|
+
pathname: "/",
|
|
6673
|
+
method: "POST",
|
|
6674
|
+
authType: "AK",
|
|
6675
|
+
style: "RPC",
|
|
6676
|
+
reqBodyType: "formData",
|
|
6677
|
+
bodyType: "json",
|
|
6678
|
+
});
|
|
6679
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeMvRecommendSubTasksResponse({}));
|
|
6680
|
+
}
|
|
6681
|
+
/**
|
|
6682
|
+
* 查看物化视图子任务
|
|
6683
|
+
*
|
|
6684
|
+
* @param request - DescribeMvRecommendSubTasksRequest
|
|
6685
|
+
* @returns DescribeMvRecommendSubTasksResponse
|
|
6686
|
+
*/
|
|
6687
|
+
async describeMvRecommendSubTasks(request) {
|
|
6688
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6689
|
+
return await this.describeMvRecommendSubTasksWithOptions(request, runtime);
|
|
6690
|
+
}
|
|
6691
|
+
/**
|
|
6692
|
+
* 查看物化视图推荐任务
|
|
6693
|
+
*
|
|
6694
|
+
* @param request - DescribeMvRecommendTasksRequest
|
|
6695
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6696
|
+
* @returns DescribeMvRecommendTasksResponse
|
|
6697
|
+
*/
|
|
6698
|
+
async describeMvRecommendTasksWithOptions(request, runtime) {
|
|
6699
|
+
request.validate();
|
|
6700
|
+
let query = {};
|
|
6701
|
+
if (!$dara.isNull(request.actionInner)) {
|
|
6702
|
+
query["ActionInner"] = request.actionInner;
|
|
6703
|
+
}
|
|
6704
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
6705
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
6706
|
+
}
|
|
6707
|
+
if (!$dara.isNull(request.from)) {
|
|
6708
|
+
query["From"] = request.from;
|
|
6709
|
+
}
|
|
6710
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6711
|
+
query["PageNumber"] = request.pageNumber;
|
|
6712
|
+
}
|
|
6713
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6714
|
+
query["PageSize"] = request.pageSize;
|
|
6715
|
+
}
|
|
6716
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6717
|
+
query["RegionId"] = request.regionId;
|
|
6718
|
+
}
|
|
6719
|
+
if (!$dara.isNull(request.taskName)) {
|
|
6720
|
+
query["TaskName"] = request.taskName;
|
|
6721
|
+
}
|
|
6722
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6723
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6724
|
+
});
|
|
6725
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6726
|
+
action: "DescribeMvRecommendTasks",
|
|
6727
|
+
version: "2021-12-01",
|
|
6728
|
+
protocol: "HTTPS",
|
|
6729
|
+
pathname: "/",
|
|
6730
|
+
method: "POST",
|
|
6731
|
+
authType: "AK",
|
|
6732
|
+
style: "RPC",
|
|
6733
|
+
reqBodyType: "formData",
|
|
6734
|
+
bodyType: "json",
|
|
6735
|
+
});
|
|
6736
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeMvRecommendTasksResponse({}));
|
|
6737
|
+
}
|
|
6738
|
+
/**
|
|
6739
|
+
* 查看物化视图推荐任务
|
|
6740
|
+
*
|
|
6741
|
+
* @param request - DescribeMvRecommendTasksRequest
|
|
6742
|
+
* @returns DescribeMvRecommendTasksResponse
|
|
6743
|
+
*/
|
|
6744
|
+
async describeMvRecommendTasks(request) {
|
|
6745
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6746
|
+
return await this.describeMvRecommendTasksWithOptions(request, runtime);
|
|
6747
|
+
}
|
|
6472
6748
|
/**
|
|
6473
6749
|
* Queries the service account permissions of an AnalyticDB for MySQL cluster.
|
|
6474
6750
|
*
|
|
@@ -6878,7 +7154,7 @@ class Client extends openapi_core_1.default {
|
|
|
6878
7154
|
return await this.describeResourceGroupSpecWithOptions(request, runtime);
|
|
6879
7155
|
}
|
|
6880
7156
|
/**
|
|
6881
|
-
*
|
|
7157
|
+
* Queries the user-configured result set export settings.
|
|
6882
7158
|
*
|
|
6883
7159
|
* @param request - DescribeResultExportConfigRequest
|
|
6884
7160
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6913,7 +7189,7 @@ class Client extends openapi_core_1.default {
|
|
|
6913
7189
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeResultExportConfigResponse({}));
|
|
6914
7190
|
}
|
|
6915
7191
|
/**
|
|
6916
|
-
*
|
|
7192
|
+
* Queries the user-configured result set export settings.
|
|
6917
7193
|
*
|
|
6918
7194
|
* @param request - DescribeResultExportConfigRequest
|
|
6919
7195
|
* @returns DescribeResultExportConfigResponse
|
|
@@ -7187,7 +7463,11 @@ class Client extends openapi_core_1.default {
|
|
|
7187
7463
|
return await this.describeSparkAppTypeWithOptions(request, runtime);
|
|
7188
7464
|
}
|
|
7189
7465
|
/**
|
|
7190
|
-
*
|
|
7466
|
+
* Queries the SQL audit logs for a Spark Interactive resource group.
|
|
7467
|
+
*
|
|
7468
|
+
* @remarks
|
|
7469
|
+
* SQL audit logs can be queried only when SQL audit is enabled. Only SQL audit logs within the last 30 days can be queried. If SQL auditing is turned off midway, when it is re-enabled, you can only query the SQL audit logs generated after it was turned back on.
|
|
7470
|
+
* > You can query only SQL audit logs that are executed by using Spark Interactive Resource Group.
|
|
7191
7471
|
*
|
|
7192
7472
|
* @param request - DescribeSparkAuditLogRecordsRequest
|
|
7193
7473
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7276,7 +7556,11 @@ class Client extends openapi_core_1.default {
|
|
|
7276
7556
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSparkAuditLogRecordsResponse({}));
|
|
7277
7557
|
}
|
|
7278
7558
|
/**
|
|
7279
|
-
*
|
|
7559
|
+
* Queries the SQL audit logs for a Spark Interactive resource group.
|
|
7560
|
+
*
|
|
7561
|
+
* @remarks
|
|
7562
|
+
* SQL audit logs can be queried only when SQL audit is enabled. Only SQL audit logs within the last 30 days can be queried. If SQL auditing is turned off midway, when it is re-enabled, you can only query the SQL audit logs generated after it was turned back on.
|
|
7563
|
+
* > You can query only SQL audit logs that are executed by using Spark Interactive Resource Group.
|
|
7280
7564
|
*
|
|
7281
7565
|
* @param request - DescribeSparkAuditLogRecordsRequest
|
|
7282
7566
|
* @returns DescribeSparkAuditLogRecordsResponse
|
|
@@ -7989,6 +8273,69 @@ class Client extends openapi_core_1.default {
|
|
|
7989
8273
|
let runtime = new $dara.RuntimeOptions({});
|
|
7990
8274
|
return await this.describeUserQuotaWithOptions(request, runtime);
|
|
7991
8275
|
}
|
|
8276
|
+
/**
|
|
8277
|
+
* Retrieves materialized view refresh tasks.
|
|
8278
|
+
*
|
|
8279
|
+
* @param request - DescribeViewJobsRequest
|
|
8280
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8281
|
+
* @returns DescribeViewJobsResponse
|
|
8282
|
+
*/
|
|
8283
|
+
async describeViewJobsWithOptions(request, runtime) {
|
|
8284
|
+
request.validate();
|
|
8285
|
+
let query = {};
|
|
8286
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
8287
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
8288
|
+
}
|
|
8289
|
+
if (!$dara.isNull(request.filterOwner)) {
|
|
8290
|
+
query["FilterOwner"] = request.filterOwner;
|
|
8291
|
+
}
|
|
8292
|
+
if (!$dara.isNull(request.filterViewName)) {
|
|
8293
|
+
query["FilterViewName"] = request.filterViewName;
|
|
8294
|
+
}
|
|
8295
|
+
if (!$dara.isNull(request.filterViewType)) {
|
|
8296
|
+
query["FilterViewType"] = request.filterViewType;
|
|
8297
|
+
}
|
|
8298
|
+
if (!$dara.isNull(request.orderBy)) {
|
|
8299
|
+
query["OrderBy"] = request.orderBy;
|
|
8300
|
+
}
|
|
8301
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
8302
|
+
query["PageNumber"] = request.pageNumber;
|
|
8303
|
+
}
|
|
8304
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
8305
|
+
query["PageSize"] = request.pageSize;
|
|
8306
|
+
}
|
|
8307
|
+
if (!$dara.isNull(request.regionId)) {
|
|
8308
|
+
query["RegionId"] = request.regionId;
|
|
8309
|
+
}
|
|
8310
|
+
if (!$dara.isNull(request.schemaName)) {
|
|
8311
|
+
query["SchemaName"] = request.schemaName;
|
|
8312
|
+
}
|
|
8313
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8314
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8315
|
+
});
|
|
8316
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8317
|
+
action: "DescribeViewJobs",
|
|
8318
|
+
version: "2021-12-01",
|
|
8319
|
+
protocol: "HTTPS",
|
|
8320
|
+
pathname: "/",
|
|
8321
|
+
method: "POST",
|
|
8322
|
+
authType: "AK",
|
|
8323
|
+
style: "RPC",
|
|
8324
|
+
reqBodyType: "formData",
|
|
8325
|
+
bodyType: "json",
|
|
8326
|
+
});
|
|
8327
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeViewJobsResponse({}));
|
|
8328
|
+
}
|
|
8329
|
+
/**
|
|
8330
|
+
* Retrieves materialized view refresh tasks.
|
|
8331
|
+
*
|
|
8332
|
+
* @param request - DescribeViewJobsRequest
|
|
8333
|
+
* @returns DescribeViewJobsResponse
|
|
8334
|
+
*/
|
|
8335
|
+
async describeViewJobs(request) {
|
|
8336
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8337
|
+
return await this.describeViewJobsWithOptions(request, runtime);
|
|
8338
|
+
}
|
|
7992
8339
|
/**
|
|
7993
8340
|
* Queries the diagnostic results of the storage layer.
|
|
7994
8341
|
*
|
|
@@ -8578,7 +8925,10 @@ class Client extends openapi_core_1.default {
|
|
|
8578
8925
|
return await this.existRunningSQLEngineWithOptions(request, runtime);
|
|
8579
8926
|
}
|
|
8580
8927
|
/**
|
|
8581
|
-
*
|
|
8928
|
+
* View the Spark basic permission diagnosis report of the current user.
|
|
8929
|
+
*
|
|
8930
|
+
* @remarks
|
|
8931
|
+
* The API diagnosis report contains whether the current user has all permissions required by the AnalyticDB for Spark related features. The scope of the permissions may exceed the minimum requirements of the business. The diagnostic report of the current API is used to quickly initialize the environment of AnalyticDB for Spark. If fine-grained permission configuration is needed, see [Configure fine-grained permissions in AnalyDB for Spark.](https://www.alibabacloud.com/help/zh/analyticdb/analyticdb-for-mysql/user-guide/create-the-aliyunadbsparkprocessingdatarole-role-for-a-ram-user-and-grant-permissions-to-the-role?spm=a2c63.p38356.help-menu-92664.d_2_5_0.48362a487dMzm9#section-y2z-ucd-1ko)
|
|
8582
8932
|
*
|
|
8583
8933
|
* @param request - GetADBSparkNecessaryRAMPermissionsRequest
|
|
8584
8934
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8607,7 +8957,10 @@ class Client extends openapi_core_1.default {
|
|
|
8607
8957
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetADBSparkNecessaryRAMPermissionsResponse({}));
|
|
8608
8958
|
}
|
|
8609
8959
|
/**
|
|
8610
|
-
*
|
|
8960
|
+
* View the Spark basic permission diagnosis report of the current user.
|
|
8961
|
+
*
|
|
8962
|
+
* @remarks
|
|
8963
|
+
* The API diagnosis report contains whether the current user has all permissions required by the AnalyticDB for Spark related features. The scope of the permissions may exceed the minimum requirements of the business. The diagnostic report of the current API is used to quickly initialize the environment of AnalyticDB for Spark. If fine-grained permission configuration is needed, see [Configure fine-grained permissions in AnalyDB for Spark.](https://www.alibabacloud.com/help/zh/analyticdb/analyticdb-for-mysql/user-guide/create-the-aliyunadbsparkprocessingdatarole-role-for-a-ram-user-and-grant-permissions-to-the-role?spm=a2c63.p38356.help-menu-92664.d_2_5_0.48362a487dMzm9#section-y2z-ucd-1ko)
|
|
8611
8964
|
*
|
|
8612
8965
|
* @param request - GetADBSparkNecessaryRAMPermissionsRequest
|
|
8613
8966
|
* @returns GetADBSparkNecessaryRAMPermissionsResponse
|
|
@@ -10386,7 +10739,11 @@ class Client extends openapi_core_1.default {
|
|
|
10386
10739
|
return await this.listApsOptimizationTasksWithOptions(request, runtime);
|
|
10387
10740
|
}
|
|
10388
10741
|
/**
|
|
10389
|
-
*
|
|
10742
|
+
* Queries the Webhook configurations of a specified database cluster.
|
|
10743
|
+
*
|
|
10744
|
+
* @remarks
|
|
10745
|
+
* This API allows you to obtain a list of configured webhooks based on `RegionId`, `DBClusterId`, and optional `JobType`. The `JobType` parameter specifies the task type, such as SLS/OSS export task. If the parameter is provided, webhooks related to the task type are returned. If the parameter is not provided, all types of webhooks are returned.
|
|
10746
|
+
* Note: Make sure that the `RegionId` and `DBClusterId` you provided are correct. Otherwise, the webhook information may not be obtained correctly.
|
|
10390
10747
|
*
|
|
10391
10748
|
* @param request - ListApsWebhookRequest
|
|
10392
10749
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10421,7 +10778,11 @@ class Client extends openapi_core_1.default {
|
|
|
10421
10778
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApsWebhookResponse({}));
|
|
10422
10779
|
}
|
|
10423
10780
|
/**
|
|
10424
|
-
*
|
|
10781
|
+
* Queries the Webhook configurations of a specified database cluster.
|
|
10782
|
+
*
|
|
10783
|
+
* @remarks
|
|
10784
|
+
* This API allows you to obtain a list of configured webhooks based on `RegionId`, `DBClusterId`, and optional `JobType`. The `JobType` parameter specifies the task type, such as SLS/OSS export task. If the parameter is provided, webhooks related to the task type are returned. If the parameter is not provided, all types of webhooks are returned.
|
|
10785
|
+
* Note: Make sure that the `RegionId` and `DBClusterId` you provided are correct. Otherwise, the webhook information may not be obtained correctly.
|
|
10425
10786
|
*
|
|
10426
10787
|
* @param request - ListApsWebhookRequest
|
|
10427
10788
|
* @returns ListApsWebhookResponse
|
|
@@ -11871,7 +12232,7 @@ class Client extends openapi_core_1.default {
|
|
|
11871
12232
|
return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
|
|
11872
12233
|
}
|
|
11873
12234
|
/**
|
|
11874
|
-
*
|
|
12235
|
+
* Modifies the SSL link configuration of a cluster.
|
|
11875
12236
|
*
|
|
11876
12237
|
* @param request - ModifyDBClusterSSLRequest
|
|
11877
12238
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11909,7 +12270,7 @@ class Client extends openapi_core_1.default {
|
|
|
11909
12270
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterSSLResponse({}));
|
|
11910
12271
|
}
|
|
11911
12272
|
/**
|
|
11912
|
-
*
|
|
12273
|
+
* Modifies the SSL link configuration of a cluster.
|
|
11913
12274
|
*
|
|
11914
12275
|
* @param request - ModifyDBClusterSSLRequest
|
|
11915
12276
|
* @returns ModifyDBClusterSSLResponse
|
|
@@ -11983,6 +12344,9 @@ class Client extends openapi_core_1.default {
|
|
|
11983
12344
|
if (!$dara.isNull(tmpReq.engineParams)) {
|
|
11984
12345
|
request.engineParamsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.engineParams, "EngineParams", "json");
|
|
11985
12346
|
}
|
|
12347
|
+
if (!$dara.isNull(tmpReq.gpuElasticPlan)) {
|
|
12348
|
+
request.gpuElasticPlanShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.gpuElasticPlan, "GpuElasticPlan", "json");
|
|
12349
|
+
}
|
|
11986
12350
|
if (!$dara.isNull(tmpReq.rayConfig)) {
|
|
11987
12351
|
request.rayConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.rayConfig, "RayConfig", "json");
|
|
11988
12352
|
}
|
|
@@ -12008,6 +12372,9 @@ class Client extends openapi_core_1.default {
|
|
|
12008
12372
|
if (!$dara.isNull(request.engineParamsShrink)) {
|
|
12009
12373
|
query["EngineParams"] = request.engineParamsShrink;
|
|
12010
12374
|
}
|
|
12375
|
+
if (!$dara.isNull(request.gpuElasticPlanShrink)) {
|
|
12376
|
+
query["GpuElasticPlan"] = request.gpuElasticPlanShrink;
|
|
12377
|
+
}
|
|
12011
12378
|
if (!$dara.isNull(request.groupName)) {
|
|
12012
12379
|
query["GroupName"] = request.groupName;
|
|
12013
12380
|
}
|
|
@@ -12230,7 +12597,7 @@ class Client extends openapi_core_1.default {
|
|
|
12230
12597
|
return await this.modifyLakeCacheSizeWithOptions(request, runtime);
|
|
12231
12598
|
}
|
|
12232
12599
|
/**
|
|
12233
|
-
*
|
|
12600
|
+
* Modifies materialized views.
|
|
12234
12601
|
*
|
|
12235
12602
|
* @param request - ModifyMaterializedViewRequest
|
|
12236
12603
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12295,7 +12662,7 @@ class Client extends openapi_core_1.default {
|
|
|
12295
12662
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyMaterializedViewResponse({}));
|
|
12296
12663
|
}
|
|
12297
12664
|
/**
|
|
12298
|
-
*
|
|
12665
|
+
* Modifies materialized views.
|
|
12299
12666
|
*
|
|
12300
12667
|
* @param request - ModifyMaterializedViewRequest
|
|
12301
12668
|
* @returns ModifyMaterializedViewResponse
|
|
@@ -12305,7 +12672,7 @@ class Client extends openapi_core_1.default {
|
|
|
12305
12672
|
return await this.modifyMaterializedViewWithOptions(request, runtime);
|
|
12306
12673
|
}
|
|
12307
12674
|
/**
|
|
12308
|
-
*
|
|
12675
|
+
* Modifies a materialized view recommendation task.
|
|
12309
12676
|
*
|
|
12310
12677
|
* @param request - ModifyMaterializedViewRecommendRequest
|
|
12311
12678
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12376,7 +12743,7 @@ class Client extends openapi_core_1.default {
|
|
|
12376
12743
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyMaterializedViewRecommendResponse({}));
|
|
12377
12744
|
}
|
|
12378
12745
|
/**
|
|
12379
|
-
*
|
|
12746
|
+
* Modifies a materialized view recommendation task.
|
|
12380
12747
|
*
|
|
12381
12748
|
* @param request - ModifyMaterializedViewRecommendRequest
|
|
12382
12749
|
* @returns ModifyMaterializedViewRecommendResponse
|
|
@@ -12451,7 +12818,10 @@ class Client extends openapi_core_1.default {
|
|
|
12451
12818
|
return await this.modifyPerformanceViewWithOptions(request, runtime);
|
|
12452
12819
|
}
|
|
12453
12820
|
/**
|
|
12454
|
-
*
|
|
12821
|
+
* Modifies the directory location of SQL templates.
|
|
12822
|
+
*
|
|
12823
|
+
* @remarks
|
|
12824
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
12455
12825
|
*
|
|
12456
12826
|
* @param request - ModifySqlTemplatePositionRequest
|
|
12457
12827
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12489,7 +12859,10 @@ class Client extends openapi_core_1.default {
|
|
|
12489
12859
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySqlTemplatePositionResponse({}));
|
|
12490
12860
|
}
|
|
12491
12861
|
/**
|
|
12492
|
-
*
|
|
12862
|
+
* Modifies the directory location of SQL templates.
|
|
12863
|
+
*
|
|
12864
|
+
* @remarks
|
|
12865
|
+
* For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
|
|
12493
12866
|
*
|
|
12494
12867
|
* @param request - ModifySqlTemplatePositionRequest
|
|
12495
12868
|
* @returns ModifySqlTemplatePositionResponse
|
|
@@ -13299,7 +13672,7 @@ class Client extends openapi_core_1.default {
|
|
|
13299
13672
|
return await this.unbindDBResourceGroupWithUserWithOptions(request, runtime);
|
|
13300
13673
|
}
|
|
13301
13674
|
/**
|
|
13302
|
-
*
|
|
13675
|
+
* Updates the webhook configuration of a specified cluster.
|
|
13303
13676
|
*
|
|
13304
13677
|
* @param tmpReq - UpdateApsWebhookRequest
|
|
13305
13678
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13339,7 +13712,7 @@ class Client extends openapi_core_1.default {
|
|
|
13339
13712
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateApsWebhookResponse({}));
|
|
13340
13713
|
}
|
|
13341
13714
|
/**
|
|
13342
|
-
*
|
|
13715
|
+
* Updates the webhook configuration of a specified cluster.
|
|
13343
13716
|
*
|
|
13344
13717
|
* @param request - UpdateApsWebhookRequest
|
|
13345
13718
|
* @returns UpdateApsWebhookResponse
|