@alicloud/dataworks-public20240518 7.2.6 → 7.3.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/dist/client.d.ts +285 -0
- package/dist/client.js +1097 -125
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDataQualityAlertRuleRequest.d.ts +112 -0
- package/dist/models/CreateDataQualityAlertRuleRequest.js +147 -0
- package/dist/models/CreateDataQualityAlertRuleRequest.js.map +1 -0
- package/dist/models/CreateDataQualityAlertRuleResponse.d.ts +19 -0
- package/dist/models/CreateDataQualityAlertRuleResponse.js +69 -0
- package/dist/models/CreateDataQualityAlertRuleResponse.js.map +1 -0
- package/dist/models/CreateDataQualityAlertRuleResponseBody.d.ts +23 -0
- package/dist/models/CreateDataQualityAlertRuleResponseBody.js +60 -0
- package/dist/models/CreateDataQualityAlertRuleResponseBody.js.map +1 -0
- package/dist/models/CreateDataQualityAlertRuleShrinkRequest.d.ts +39 -0
- package/dist/models/CreateDataQualityAlertRuleShrinkRequest.js +64 -0
- package/dist/models/CreateDataQualityAlertRuleShrinkRequest.js.map +1 -0
- package/dist/models/CreateDataQualityScanRequest.d.ts +186 -0
- package/dist/models/CreateDataQualityScanRequest.js +237 -0
- package/dist/models/CreateDataQualityScanRequest.js.map +1 -0
- package/dist/models/CreateDataQualityScanResponse.d.ts +19 -0
- package/dist/models/CreateDataQualityScanResponse.js +69 -0
- package/dist/models/CreateDataQualityScanResponse.js.map +1 -0
- package/dist/models/CreateDataQualityScanResponseBody.d.ts +26 -0
- package/dist/models/CreateDataQualityScanResponseBody.js +60 -0
- package/dist/models/CreateDataQualityScanResponseBody.js.map +1 -0
- package/dist/models/CreateDataQualityScanRunRequest.d.ts +54 -0
- package/dist/models/CreateDataQualityScanRunRequest.js +114 -0
- package/dist/models/CreateDataQualityScanRunRequest.js.map +1 -0
- package/dist/models/CreateDataQualityScanRunResponse.d.ts +19 -0
- package/dist/models/CreateDataQualityScanRunResponse.js +69 -0
- package/dist/models/CreateDataQualityScanRunResponse.js.map +1 -0
- package/dist/models/CreateDataQualityScanRunResponseBody.d.ts +19 -0
- package/dist/models/CreateDataQualityScanRunResponseBody.js +60 -0
- package/dist/models/CreateDataQualityScanRunResponseBody.js.map +1 -0
- package/dist/models/CreateDataQualityScanRunShrinkRequest.d.ts +17 -0
- package/dist/models/CreateDataQualityScanRunShrinkRequest.js +64 -0
- package/dist/models/CreateDataQualityScanRunShrinkRequest.js.map +1 -0
- package/dist/models/CreateDataQualityScanShrinkRequest.d.ts +43 -0
- package/dist/models/CreateDataQualityScanShrinkRequest.js +78 -0
- package/dist/models/CreateDataQualityScanShrinkRequest.js.map +1 -0
- package/dist/models/CreateDataQualityTemplateRequest.d.ts +16 -0
- package/dist/models/CreateDataQualityTemplateRequest.js +62 -0
- package/dist/models/CreateDataQualityTemplateRequest.js.map +1 -0
- package/dist/models/CreateDataQualityTemplateResponse.d.ts +19 -0
- package/dist/models/CreateDataQualityTemplateResponse.js +69 -0
- package/dist/models/CreateDataQualityTemplateResponse.js.map +1 -0
- package/dist/models/CreateDataQualityTemplateResponseBody.d.ts +23 -0
- package/dist/models/CreateDataQualityTemplateResponseBody.js +60 -0
- package/dist/models/CreateDataQualityTemplateResponseBody.js.map +1 -0
- package/dist/models/DeleteDataQualityAlertRuleRequest.d.ts +14 -0
- package/dist/models/DeleteDataQualityAlertRuleRequest.js +58 -0
- package/dist/models/DeleteDataQualityAlertRuleRequest.js.map +1 -0
- package/dist/models/DeleteDataQualityAlertRuleResponse.d.ts +19 -0
- package/dist/models/DeleteDataQualityAlertRuleResponse.js +69 -0
- package/dist/models/DeleteDataQualityAlertRuleResponse.js.map +1 -0
- package/dist/models/DeleteDataQualityAlertRuleResponseBody.d.ts +19 -0
- package/dist/models/DeleteDataQualityAlertRuleResponseBody.js +60 -0
- package/dist/models/DeleteDataQualityAlertRuleResponseBody.js.map +1 -0
- package/dist/models/DeleteDataQualityScanRequest.d.ts +19 -0
- package/dist/models/DeleteDataQualityScanRequest.js +60 -0
- package/dist/models/DeleteDataQualityScanRequest.js.map +1 -0
- package/dist/models/DeleteDataQualityScanResponse.d.ts +19 -0
- package/dist/models/DeleteDataQualityScanResponse.js +69 -0
- package/dist/models/DeleteDataQualityScanResponse.js.map +1 -0
- package/dist/models/DeleteDataQualityScanResponseBody.d.ts +26 -0
- package/dist/models/DeleteDataQualityScanResponseBody.js +60 -0
- package/dist/models/DeleteDataQualityScanResponseBody.js.map +1 -0
- package/dist/models/DeleteDataQualityTemplateRequest.d.ts +18 -0
- package/dist/models/DeleteDataQualityTemplateRequest.js +58 -0
- package/dist/models/DeleteDataQualityTemplateRequest.js.map +1 -0
- package/dist/models/DeleteDataQualityTemplateResponse.d.ts +19 -0
- package/dist/models/DeleteDataQualityTemplateResponse.js +69 -0
- package/dist/models/DeleteDataQualityTemplateResponse.js.map +1 -0
- package/dist/models/DeleteDataQualityTemplateResponseBody.d.ts +23 -0
- package/dist/models/DeleteDataQualityTemplateResponseBody.js +60 -0
- package/dist/models/DeleteDataQualityTemplateResponseBody.js.map +1 -0
- package/dist/models/GetDataQualityAlertRuleRequest.d.ts +18 -0
- package/dist/models/GetDataQualityAlertRuleRequest.js +58 -0
- package/dist/models/GetDataQualityAlertRuleRequest.js.map +1 -0
- package/dist/models/GetDataQualityAlertRuleResponse.d.ts +19 -0
- package/dist/models/GetDataQualityAlertRuleResponse.js +69 -0
- package/dist/models/GetDataQualityAlertRuleResponse.js.map +1 -0
- package/dist/models/GetDataQualityAlertRuleResponseBody.d.ts +103 -0
- package/dist/models/GetDataQualityAlertRuleResponseBody.js +173 -0
- package/dist/models/GetDataQualityAlertRuleResponseBody.js.map +1 -0
- package/dist/models/GetDataQualityScanRequest.d.ts +18 -0
- package/dist/models/GetDataQualityScanRequest.js +58 -0
- package/dist/models/GetDataQualityScanRequest.js.map +1 -0
- package/dist/models/GetDataQualityScanResponse.d.ts +19 -0
- package/dist/models/GetDataQualityScanResponse.js +69 -0
- package/dist/models/GetDataQualityScanResponse.js.map +1 -0
- package/dist/models/GetDataQualityScanResponseBody.d.ts +224 -0
- package/dist/models/GetDataQualityScanResponseBody.js +269 -0
- package/dist/models/GetDataQualityScanResponseBody.js.map +1 -0
- package/dist/models/GetDataQualityScanRunLogRequest.d.ts +23 -0
- package/dist/models/GetDataQualityScanRunLogRequest.js +60 -0
- package/dist/models/GetDataQualityScanRunLogRequest.js.map +1 -0
- package/dist/models/GetDataQualityScanRunLogResponse.d.ts +19 -0
- package/dist/models/GetDataQualityScanRunLogResponse.js +69 -0
- package/dist/models/GetDataQualityScanRunLogResponse.js.map +1 -0
- package/dist/models/GetDataQualityScanRunLogResponseBody.d.ts +37 -0
- package/dist/models/GetDataQualityScanRunLogResponseBody.js +84 -0
- package/dist/models/GetDataQualityScanRunLogResponseBody.js.map +1 -0
- package/dist/models/GetDataQualityScanRunRequest.d.ts +18 -0
- package/dist/models/GetDataQualityScanRunRequest.js +58 -0
- package/dist/models/GetDataQualityScanRunRequest.js.map +1 -0
- package/dist/models/GetDataQualityScanRunResponse.d.ts +19 -0
- package/dist/models/GetDataQualityScanRunResponse.js +69 -0
- package/dist/models/GetDataQualityScanRunResponse.js.map +1 -0
- package/dist/models/GetDataQualityScanRunResponseBody.d.ts +336 -0
- package/dist/models/GetDataQualityScanRunResponseBody.js +383 -0
- package/dist/models/GetDataQualityScanRunResponseBody.js.map +1 -0
- package/dist/models/GetDataQualityTemplateRequest.d.ts +18 -0
- package/dist/models/GetDataQualityTemplateRequest.js +58 -0
- package/dist/models/GetDataQualityTemplateRequest.js.map +1 -0
- package/dist/models/GetDataQualityTemplateResponse.d.ts +19 -0
- package/dist/models/GetDataQualityTemplateResponse.js +69 -0
- package/dist/models/GetDataQualityTemplateResponse.js.map +1 -0
- package/dist/models/GetDataQualityTemplateResponseBody.d.ts +77 -0
- package/dist/models/GetDataQualityTemplateResponseBody.js +96 -0
- package/dist/models/GetDataQualityTemplateResponseBody.js.map +1 -0
- package/dist/models/ListDataQualityAlertRulesRequest.d.ts +47 -0
- package/dist/models/ListDataQualityAlertRulesRequest.js +66 -0
- package/dist/models/ListDataQualityAlertRulesRequest.js.map +1 -0
- package/dist/models/ListDataQualityAlertRulesResponse.d.ts +19 -0
- package/dist/models/ListDataQualityAlertRulesResponse.js +69 -0
- package/dist/models/ListDataQualityAlertRulesResponse.js.map +1 -0
- package/dist/models/ListDataQualityAlertRulesResponseBody.d.ts +131 -0
- package/dist/models/ListDataQualityAlertRulesResponseBody.js +201 -0
- package/dist/models/ListDataQualityAlertRulesResponseBody.js.map +1 -0
- package/dist/models/ListDataQualityScanRunsRequest.d.ts +56 -0
- package/dist/models/ListDataQualityScanRunsRequest.js +72 -0
- package/dist/models/ListDataQualityScanRunsRequest.js.map +1 -0
- package/dist/models/ListDataQualityScanRunsResponse.d.ts +19 -0
- package/dist/models/ListDataQualityScanRunsResponse.js +69 -0
- package/dist/models/ListDataQualityScanRunsResponse.js.map +1 -0
- package/dist/models/ListDataQualityScanRunsResponseBody.d.ts +102 -0
- package/dist/models/ListDataQualityScanRunsResponseBody.js +142 -0
- package/dist/models/ListDataQualityScanRunsResponseBody.js.map +1 -0
- package/dist/models/ListDataQualityScansRequest.d.ts +48 -0
- package/dist/models/ListDataQualityScansRequest.js +68 -0
- package/dist/models/ListDataQualityScansRequest.js.map +1 -0
- package/dist/models/ListDataQualityScansResponse.d.ts +19 -0
- package/dist/models/ListDataQualityScansResponse.js +69 -0
- package/dist/models/ListDataQualityScansResponse.js.map +1 -0
- package/dist/models/ListDataQualityScansResponseBody.d.ts +244 -0
- package/dist/models/ListDataQualityScansResponseBody.js +289 -0
- package/dist/models/ListDataQualityScansResponseBody.js.map +1 -0
- package/dist/models/ListDataQualityTemplatesRequest.d.ts +30 -0
- package/dist/models/ListDataQualityTemplatesRequest.js +66 -0
- package/dist/models/ListDataQualityTemplatesRequest.js.map +1 -0
- package/dist/models/ListDataQualityTemplatesResponse.d.ts +19 -0
- package/dist/models/ListDataQualityTemplatesResponse.js +69 -0
- package/dist/models/ListDataQualityTemplatesResponse.js.map +1 -0
- package/dist/models/ListDataQualityTemplatesResponseBody.d.ts +105 -0
- package/dist/models/ListDataQualityTemplatesResponseBody.js +124 -0
- package/dist/models/ListDataQualityTemplatesResponseBody.js.map +1 -0
- package/dist/models/UpdateDataQualityAlertRuleRequest.d.ts +92 -0
- package/dist/models/UpdateDataQualityAlertRuleRequest.js +149 -0
- package/dist/models/UpdateDataQualityAlertRuleRequest.js.map +1 -0
- package/dist/models/UpdateDataQualityAlertRuleResponse.d.ts +19 -0
- package/dist/models/UpdateDataQualityAlertRuleResponse.js +69 -0
- package/dist/models/UpdateDataQualityAlertRuleResponse.js.map +1 -0
- package/dist/models/UpdateDataQualityAlertRuleResponseBody.d.ts +23 -0
- package/dist/models/UpdateDataQualityAlertRuleResponseBody.js +60 -0
- package/dist/models/UpdateDataQualityAlertRuleResponseBody.js.map +1 -0
- package/dist/models/UpdateDataQualityAlertRuleShrinkRequest.d.ts +30 -0
- package/dist/models/UpdateDataQualityAlertRuleShrinkRequest.js +66 -0
- package/dist/models/UpdateDataQualityAlertRuleShrinkRequest.js.map +1 -0
- package/dist/models/UpdateDataQualityScanRequest.d.ts +183 -0
- package/dist/models/UpdateDataQualityScanRequest.js +237 -0
- package/dist/models/UpdateDataQualityScanRequest.js.map +1 -0
- package/dist/models/UpdateDataQualityScanResponse.d.ts +19 -0
- package/dist/models/UpdateDataQualityScanResponse.js +69 -0
- package/dist/models/UpdateDataQualityScanResponse.js.map +1 -0
- package/dist/models/UpdateDataQualityScanResponseBody.d.ts +26 -0
- package/dist/models/UpdateDataQualityScanResponseBody.js +60 -0
- package/dist/models/UpdateDataQualityScanResponseBody.js.map +1 -0
- package/dist/models/UpdateDataQualityScanShrinkRequest.d.ts +40 -0
- package/dist/models/UpdateDataQualityScanShrinkRequest.js +78 -0
- package/dist/models/UpdateDataQualityScanShrinkRequest.js.map +1 -0
- package/dist/models/UpdateDataQualityTemplateRequest.d.ts +29 -0
- package/dist/models/UpdateDataQualityTemplateRequest.js +64 -0
- package/dist/models/UpdateDataQualityTemplateRequest.js.map +1 -0
- package/dist/models/UpdateDataQualityTemplateResponse.d.ts +19 -0
- package/dist/models/UpdateDataQualityTemplateResponse.js +69 -0
- package/dist/models/UpdateDataQualityTemplateResponse.js.map +1 -0
- package/dist/models/UpdateDataQualityTemplateResponseBody.d.ts +23 -0
- package/dist/models/UpdateDataQualityTemplateResponseBody.js +60 -0
- package/dist/models/UpdateDataQualityTemplateResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +124 -0
- package/dist/models/model.js +277 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1192 -90
- package/src/models/CreateDataQualityAlertRuleRequest.ts +187 -0
- package/src/models/CreateDataQualityAlertRuleResponse.ts +40 -0
- package/src/models/CreateDataQualityAlertRuleResponseBody.ts +38 -0
- package/src/models/CreateDataQualityAlertRuleShrinkRequest.ts +58 -0
- package/src/models/CreateDataQualityScanRequest.ts +320 -0
- package/src/models/CreateDataQualityScanResponse.ts +40 -0
- package/src/models/CreateDataQualityScanResponseBody.ts +41 -0
- package/src/models/CreateDataQualityScanRunRequest.ts +105 -0
- package/src/models/CreateDataQualityScanRunResponse.ts +40 -0
- package/src/models/CreateDataQualityScanRunResponseBody.ts +34 -0
- package/src/models/CreateDataQualityScanRunShrinkRequest.ts +36 -0
- package/src/models/CreateDataQualityScanShrinkRequest.ts +76 -0
- package/src/models/CreateDataQualityTemplateRequest.ts +33 -0
- package/src/models/CreateDataQualityTemplateResponse.ts +40 -0
- package/src/models/CreateDataQualityTemplateResponseBody.ts +38 -0
- package/src/models/DeleteDataQualityAlertRuleRequest.ts +27 -0
- package/src/models/DeleteDataQualityAlertRuleResponse.ts +40 -0
- package/src/models/DeleteDataQualityAlertRuleResponseBody.ts +34 -0
- package/src/models/DeleteDataQualityScanRequest.ts +34 -0
- package/src/models/DeleteDataQualityScanResponse.ts +40 -0
- package/src/models/DeleteDataQualityScanResponseBody.ts +41 -0
- package/src/models/DeleteDataQualityTemplateRequest.ts +31 -0
- package/src/models/DeleteDataQualityTemplateResponse.ts +40 -0
- package/src/models/DeleteDataQualityTemplateResponseBody.ts +38 -0
- package/src/models/GetDataQualityAlertRuleRequest.ts +31 -0
- package/src/models/GetDataQualityAlertRuleResponse.ts +40 -0
- package/src/models/GetDataQualityAlertRuleResponseBody.ts +195 -0
- package/src/models/GetDataQualityScanRequest.ts +31 -0
- package/src/models/GetDataQualityScanResponse.ts +40 -0
- package/src/models/GetDataQualityScanResponseBody.ts +381 -0
- package/src/models/GetDataQualityScanRunLogRequest.ts +38 -0
- package/src/models/GetDataQualityScanRunLogResponse.ts +40 -0
- package/src/models/GetDataQualityScanRunLogResponseBody.ts +67 -0
- package/src/models/GetDataQualityScanRunRequest.ts +31 -0
- package/src/models/GetDataQualityScanRunResponse.ts +40 -0
- package/src/models/GetDataQualityScanRunResponseBody.ts +571 -0
- package/src/models/GetDataQualityTemplateRequest.ts +31 -0
- package/src/models/GetDataQualityTemplateResponse.ts +40 -0
- package/src/models/GetDataQualityTemplateResponseBody.ts +119 -0
- package/src/models/ListDataQualityAlertRulesRequest.ts +68 -0
- package/src/models/ListDataQualityAlertRulesResponse.ts +40 -0
- package/src/models/ListDataQualityAlertRulesResponseBody.ts +242 -0
- package/src/models/ListDataQualityScanRunsRequest.ts +83 -0
- package/src/models/ListDataQualityScanRunsResponse.ts +40 -0
- package/src/models/ListDataQualityScanRunsResponseBody.ts +172 -0
- package/src/models/ListDataQualityScansRequest.ts +71 -0
- package/src/models/ListDataQualityScansResponse.ts +40 -0
- package/src/models/ListDataQualityScansResponseBody.ts +416 -0
- package/src/models/ListDataQualityTemplatesRequest.ts +51 -0
- package/src/models/ListDataQualityTemplatesResponse.ts +40 -0
- package/src/models/ListDataQualityTemplatesResponseBody.ts +166 -0
- package/src/models/UpdateDataQualityAlertRuleRequest.ts +169 -0
- package/src/models/UpdateDataQualityAlertRuleResponse.ts +40 -0
- package/src/models/UpdateDataQualityAlertRuleResponseBody.ts +38 -0
- package/src/models/UpdateDataQualityAlertRuleShrinkRequest.ts +51 -0
- package/src/models/UpdateDataQualityScanRequest.ts +317 -0
- package/src/models/UpdateDataQualityScanResponse.ts +40 -0
- package/src/models/UpdateDataQualityScanResponseBody.ts +41 -0
- package/src/models/UpdateDataQualityScanShrinkRequest.ts +73 -0
- package/src/models/UpdateDataQualityTemplateRequest.ts +48 -0
- package/src/models/UpdateDataQualityTemplateResponse.ts +40 -0
- package/src/models/UpdateDataQualityTemplateResponseBody.ts +38 -0
- package/src/models/model.ts +124 -0
package/dist/client.js
CHANGED
|
@@ -736,6 +736,62 @@ class Client extends openapi_core_1.default {
|
|
|
736
736
|
let runtime = new $dara.RuntimeOptions({});
|
|
737
737
|
return await this.createDataAssetTagWithOptions(request, runtime);
|
|
738
738
|
}
|
|
739
|
+
/**
|
|
740
|
+
* 创建数据质量告警规则
|
|
741
|
+
*
|
|
742
|
+
* @param tmpReq - CreateDataQualityAlertRuleRequest
|
|
743
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
744
|
+
* @returns CreateDataQualityAlertRuleResponse
|
|
745
|
+
*/
|
|
746
|
+
async createDataQualityAlertRuleWithOptions(tmpReq, runtime) {
|
|
747
|
+
tmpReq.validate();
|
|
748
|
+
let request = new $_model.CreateDataQualityAlertRuleShrinkRequest({});
|
|
749
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
750
|
+
if (!$dara.isNull(tmpReq.notification)) {
|
|
751
|
+
request.notificationShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.notification, "Notification", "json");
|
|
752
|
+
}
|
|
753
|
+
if (!$dara.isNull(tmpReq.target)) {
|
|
754
|
+
request.targetShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.target, "Target", "json");
|
|
755
|
+
}
|
|
756
|
+
let body = {};
|
|
757
|
+
if (!$dara.isNull(request.condition)) {
|
|
758
|
+
body["Condition"] = request.condition;
|
|
759
|
+
}
|
|
760
|
+
if (!$dara.isNull(request.notificationShrink)) {
|
|
761
|
+
body["Notification"] = request.notificationShrink;
|
|
762
|
+
}
|
|
763
|
+
if (!$dara.isNull(request.projectId)) {
|
|
764
|
+
body["ProjectId"] = request.projectId;
|
|
765
|
+
}
|
|
766
|
+
if (!$dara.isNull(request.targetShrink)) {
|
|
767
|
+
body["Target"] = request.targetShrink;
|
|
768
|
+
}
|
|
769
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
770
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
771
|
+
});
|
|
772
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
773
|
+
action: "CreateDataQualityAlertRule",
|
|
774
|
+
version: "2024-05-18",
|
|
775
|
+
protocol: "HTTPS",
|
|
776
|
+
pathname: "/",
|
|
777
|
+
method: "POST",
|
|
778
|
+
authType: "AK",
|
|
779
|
+
style: "RPC",
|
|
780
|
+
reqBodyType: "formData",
|
|
781
|
+
bodyType: "json",
|
|
782
|
+
});
|
|
783
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDataQualityAlertRuleResponse({}));
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* 创建数据质量告警规则
|
|
787
|
+
*
|
|
788
|
+
* @param request - CreateDataQualityAlertRuleRequest
|
|
789
|
+
* @returns CreateDataQualityAlertRuleResponse
|
|
790
|
+
*/
|
|
791
|
+
async createDataQualityAlertRule(request) {
|
|
792
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
793
|
+
return await this.createDataQualityAlertRuleWithOptions(request, runtime);
|
|
794
|
+
}
|
|
739
795
|
/**
|
|
740
796
|
* Creates a monitor in DataWorks Data Quality.
|
|
741
797
|
*
|
|
@@ -1020,6 +1076,193 @@ class Client extends openapi_core_1.default {
|
|
|
1020
1076
|
let runtime = new $dara.RuntimeOptions({});
|
|
1021
1077
|
return await this.createDataQualityRuleTemplateWithOptions(request, runtime);
|
|
1022
1078
|
}
|
|
1079
|
+
/**
|
|
1080
|
+
* 创建数据质量监控
|
|
1081
|
+
*
|
|
1082
|
+
* @param tmpReq - CreateDataQualityScanRequest
|
|
1083
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1084
|
+
* @returns CreateDataQualityScanResponse
|
|
1085
|
+
*/
|
|
1086
|
+
async createDataQualityScanWithOptions(tmpReq, runtime) {
|
|
1087
|
+
tmpReq.validate();
|
|
1088
|
+
let request = new $_model.CreateDataQualityScanShrinkRequest({});
|
|
1089
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
1090
|
+
if (!$dara.isNull(tmpReq.computeResource)) {
|
|
1091
|
+
request.computeResourceShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.computeResource, "ComputeResource", "json");
|
|
1092
|
+
}
|
|
1093
|
+
if (!$dara.isNull(tmpReq.hooks)) {
|
|
1094
|
+
request.hooksShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.hooks, "Hooks", "json");
|
|
1095
|
+
}
|
|
1096
|
+
if (!$dara.isNull(tmpReq.parameters)) {
|
|
1097
|
+
request.parametersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json");
|
|
1098
|
+
}
|
|
1099
|
+
if (!$dara.isNull(tmpReq.runtimeResource)) {
|
|
1100
|
+
request.runtimeResourceShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.runtimeResource, "RuntimeResource", "json");
|
|
1101
|
+
}
|
|
1102
|
+
if (!$dara.isNull(tmpReq.trigger)) {
|
|
1103
|
+
request.triggerShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.trigger, "Trigger", "json");
|
|
1104
|
+
}
|
|
1105
|
+
let body = {};
|
|
1106
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
1107
|
+
body["ClientToken"] = request.clientToken;
|
|
1108
|
+
}
|
|
1109
|
+
if (!$dara.isNull(request.computeResourceShrink)) {
|
|
1110
|
+
body["ComputeResource"] = request.computeResourceShrink;
|
|
1111
|
+
}
|
|
1112
|
+
if (!$dara.isNull(request.description)) {
|
|
1113
|
+
body["Description"] = request.description;
|
|
1114
|
+
}
|
|
1115
|
+
if (!$dara.isNull(request.hooksShrink)) {
|
|
1116
|
+
body["Hooks"] = request.hooksShrink;
|
|
1117
|
+
}
|
|
1118
|
+
if (!$dara.isNull(request.name)) {
|
|
1119
|
+
body["Name"] = request.name;
|
|
1120
|
+
}
|
|
1121
|
+
if (!$dara.isNull(request.owner)) {
|
|
1122
|
+
body["Owner"] = request.owner;
|
|
1123
|
+
}
|
|
1124
|
+
if (!$dara.isNull(request.parametersShrink)) {
|
|
1125
|
+
body["Parameters"] = request.parametersShrink;
|
|
1126
|
+
}
|
|
1127
|
+
if (!$dara.isNull(request.projectId)) {
|
|
1128
|
+
body["ProjectId"] = request.projectId;
|
|
1129
|
+
}
|
|
1130
|
+
if (!$dara.isNull(request.runtimeResourceShrink)) {
|
|
1131
|
+
body["RuntimeResource"] = request.runtimeResourceShrink;
|
|
1132
|
+
}
|
|
1133
|
+
if (!$dara.isNull(request.spec)) {
|
|
1134
|
+
body["Spec"] = request.spec;
|
|
1135
|
+
}
|
|
1136
|
+
if (!$dara.isNull(request.triggerShrink)) {
|
|
1137
|
+
body["Trigger"] = request.triggerShrink;
|
|
1138
|
+
}
|
|
1139
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1140
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1141
|
+
});
|
|
1142
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1143
|
+
action: "CreateDataQualityScan",
|
|
1144
|
+
version: "2024-05-18",
|
|
1145
|
+
protocol: "HTTPS",
|
|
1146
|
+
pathname: "/",
|
|
1147
|
+
method: "POST",
|
|
1148
|
+
authType: "AK",
|
|
1149
|
+
style: "RPC",
|
|
1150
|
+
reqBodyType: "formData",
|
|
1151
|
+
bodyType: "json",
|
|
1152
|
+
});
|
|
1153
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDataQualityScanResponse({}));
|
|
1154
|
+
}
|
|
1155
|
+
/**
|
|
1156
|
+
* 创建数据质量监控
|
|
1157
|
+
*
|
|
1158
|
+
* @param request - CreateDataQualityScanRequest
|
|
1159
|
+
* @returns CreateDataQualityScanResponse
|
|
1160
|
+
*/
|
|
1161
|
+
async createDataQualityScan(request) {
|
|
1162
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1163
|
+
return await this.createDataQualityScanWithOptions(request, runtime);
|
|
1164
|
+
}
|
|
1165
|
+
/**
|
|
1166
|
+
* 创建数据质量监控运行实例
|
|
1167
|
+
*
|
|
1168
|
+
* @param tmpReq - CreateDataQualityScanRunRequest
|
|
1169
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1170
|
+
* @returns CreateDataQualityScanRunResponse
|
|
1171
|
+
*/
|
|
1172
|
+
async createDataQualityScanRunWithOptions(tmpReq, runtime) {
|
|
1173
|
+
tmpReq.validate();
|
|
1174
|
+
let request = new $_model.CreateDataQualityScanRunShrinkRequest({});
|
|
1175
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
1176
|
+
if (!$dara.isNull(tmpReq.parameters)) {
|
|
1177
|
+
request.parametersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json");
|
|
1178
|
+
}
|
|
1179
|
+
if (!$dara.isNull(tmpReq.runtimeResource)) {
|
|
1180
|
+
request.runtimeResourceShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.runtimeResource, "RuntimeResource", "json");
|
|
1181
|
+
}
|
|
1182
|
+
let body = {};
|
|
1183
|
+
if (!$dara.isNull(request.dataQualityScanId)) {
|
|
1184
|
+
body["DataQualityScanId"] = request.dataQualityScanId;
|
|
1185
|
+
}
|
|
1186
|
+
if (!$dara.isNull(request.parametersShrink)) {
|
|
1187
|
+
body["Parameters"] = request.parametersShrink;
|
|
1188
|
+
}
|
|
1189
|
+
if (!$dara.isNull(request.projectId)) {
|
|
1190
|
+
body["ProjectId"] = request.projectId;
|
|
1191
|
+
}
|
|
1192
|
+
if (!$dara.isNull(request.runtimeResourceShrink)) {
|
|
1193
|
+
body["RuntimeResource"] = request.runtimeResourceShrink;
|
|
1194
|
+
}
|
|
1195
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1196
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1197
|
+
});
|
|
1198
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1199
|
+
action: "CreateDataQualityScanRun",
|
|
1200
|
+
version: "2024-05-18",
|
|
1201
|
+
protocol: "HTTPS",
|
|
1202
|
+
pathname: "/",
|
|
1203
|
+
method: "POST",
|
|
1204
|
+
authType: "AK",
|
|
1205
|
+
style: "RPC",
|
|
1206
|
+
reqBodyType: "formData",
|
|
1207
|
+
bodyType: "json",
|
|
1208
|
+
});
|
|
1209
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDataQualityScanRunResponse({}));
|
|
1210
|
+
}
|
|
1211
|
+
/**
|
|
1212
|
+
* 创建数据质量监控运行实例
|
|
1213
|
+
*
|
|
1214
|
+
* @param request - CreateDataQualityScanRunRequest
|
|
1215
|
+
* @returns CreateDataQualityScanRunResponse
|
|
1216
|
+
*/
|
|
1217
|
+
async createDataQualityScanRun(request) {
|
|
1218
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1219
|
+
return await this.createDataQualityScanRunWithOptions(request, runtime);
|
|
1220
|
+
}
|
|
1221
|
+
/**
|
|
1222
|
+
* 创建数据质量模板
|
|
1223
|
+
*
|
|
1224
|
+
* @param request - CreateDataQualityTemplateRequest
|
|
1225
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1226
|
+
* @returns CreateDataQualityTemplateResponse
|
|
1227
|
+
*/
|
|
1228
|
+
async createDataQualityTemplateWithOptions(request, runtime) {
|
|
1229
|
+
request.validate();
|
|
1230
|
+
let body = {};
|
|
1231
|
+
if (!$dara.isNull(request.owner)) {
|
|
1232
|
+
body["Owner"] = request.owner;
|
|
1233
|
+
}
|
|
1234
|
+
if (!$dara.isNull(request.projectId)) {
|
|
1235
|
+
body["ProjectId"] = request.projectId;
|
|
1236
|
+
}
|
|
1237
|
+
if (!$dara.isNull(request.spec)) {
|
|
1238
|
+
body["Spec"] = request.spec;
|
|
1239
|
+
}
|
|
1240
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1241
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1242
|
+
});
|
|
1243
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1244
|
+
action: "CreateDataQualityTemplate",
|
|
1245
|
+
version: "2024-05-18",
|
|
1246
|
+
protocol: "HTTPS",
|
|
1247
|
+
pathname: "/",
|
|
1248
|
+
method: "POST",
|
|
1249
|
+
authType: "AK",
|
|
1250
|
+
style: "RPC",
|
|
1251
|
+
reqBodyType: "formData",
|
|
1252
|
+
bodyType: "json",
|
|
1253
|
+
});
|
|
1254
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDataQualityTemplateResponse({}));
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* 创建数据质量模板
|
|
1258
|
+
*
|
|
1259
|
+
* @param request - CreateDataQualityTemplateRequest
|
|
1260
|
+
* @returns CreateDataQualityTemplateResponse
|
|
1261
|
+
*/
|
|
1262
|
+
async createDataQualityTemplate(request) {
|
|
1263
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1264
|
+
return await this.createDataQualityTemplateWithOptions(request, runtime);
|
|
1265
|
+
}
|
|
1023
1266
|
/**
|
|
1024
1267
|
* Adds a data source to the development environment or production environment of a workspace.
|
|
1025
1268
|
*
|
|
@@ -2644,6 +2887,45 @@ class Client extends openapi_core_1.default {
|
|
|
2644
2887
|
let runtime = new $dara.RuntimeOptions({});
|
|
2645
2888
|
return await this.deleteDataAssetTagWithOptions(request, runtime);
|
|
2646
2889
|
}
|
|
2890
|
+
/**
|
|
2891
|
+
* 删除数据质量告警规则
|
|
2892
|
+
*
|
|
2893
|
+
* @param request - DeleteDataQualityAlertRuleRequest
|
|
2894
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2895
|
+
* @returns DeleteDataQualityAlertRuleResponse
|
|
2896
|
+
*/
|
|
2897
|
+
async deleteDataQualityAlertRuleWithOptions(request, runtime) {
|
|
2898
|
+
request.validate();
|
|
2899
|
+
let body = {};
|
|
2900
|
+
if (!$dara.isNull(request.id)) {
|
|
2901
|
+
body["Id"] = request.id;
|
|
2902
|
+
}
|
|
2903
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2904
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2905
|
+
});
|
|
2906
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2907
|
+
action: "DeleteDataQualityAlertRule",
|
|
2908
|
+
version: "2024-05-18",
|
|
2909
|
+
protocol: "HTTPS",
|
|
2910
|
+
pathname: "/",
|
|
2911
|
+
method: "POST",
|
|
2912
|
+
authType: "AK",
|
|
2913
|
+
style: "RPC",
|
|
2914
|
+
reqBodyType: "formData",
|
|
2915
|
+
bodyType: "json",
|
|
2916
|
+
});
|
|
2917
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDataQualityAlertRuleResponse({}));
|
|
2918
|
+
}
|
|
2919
|
+
/**
|
|
2920
|
+
* 删除数据质量告警规则
|
|
2921
|
+
*
|
|
2922
|
+
* @param request - DeleteDataQualityAlertRuleRequest
|
|
2923
|
+
* @returns DeleteDataQualityAlertRuleResponse
|
|
2924
|
+
*/
|
|
2925
|
+
async deleteDataQualityAlertRule(request) {
|
|
2926
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2927
|
+
return await this.deleteDataQualityAlertRuleWithOptions(request, runtime);
|
|
2928
|
+
}
|
|
2647
2929
|
/**
|
|
2648
2930
|
* Deletes a data quality monitoring task.
|
|
2649
2931
|
*
|
|
@@ -2770,6 +3052,87 @@ class Client extends openapi_core_1.default {
|
|
|
2770
3052
|
let runtime = new $dara.RuntimeOptions({});
|
|
2771
3053
|
return await this.deleteDataQualityRuleTemplateWithOptions(request, runtime);
|
|
2772
3054
|
}
|
|
3055
|
+
/**
|
|
3056
|
+
* 删除数据质量监控
|
|
3057
|
+
*
|
|
3058
|
+
* @param request - DeleteDataQualityScanRequest
|
|
3059
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3060
|
+
* @returns DeleteDataQualityScanResponse
|
|
3061
|
+
*/
|
|
3062
|
+
async deleteDataQualityScanWithOptions(request, runtime) {
|
|
3063
|
+
request.validate();
|
|
3064
|
+
let body = {};
|
|
3065
|
+
if (!$dara.isNull(request.description)) {
|
|
3066
|
+
body["Description"] = request.description;
|
|
3067
|
+
}
|
|
3068
|
+
if (!$dara.isNull(request.id)) {
|
|
3069
|
+
body["Id"] = request.id;
|
|
3070
|
+
}
|
|
3071
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3072
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3073
|
+
});
|
|
3074
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3075
|
+
action: "DeleteDataQualityScan",
|
|
3076
|
+
version: "2024-05-18",
|
|
3077
|
+
protocol: "HTTPS",
|
|
3078
|
+
pathname: "/",
|
|
3079
|
+
method: "POST",
|
|
3080
|
+
authType: "AK",
|
|
3081
|
+
style: "RPC",
|
|
3082
|
+
reqBodyType: "formData",
|
|
3083
|
+
bodyType: "json",
|
|
3084
|
+
});
|
|
3085
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDataQualityScanResponse({}));
|
|
3086
|
+
}
|
|
3087
|
+
/**
|
|
3088
|
+
* 删除数据质量监控
|
|
3089
|
+
*
|
|
3090
|
+
* @param request - DeleteDataQualityScanRequest
|
|
3091
|
+
* @returns DeleteDataQualityScanResponse
|
|
3092
|
+
*/
|
|
3093
|
+
async deleteDataQualityScan(request) {
|
|
3094
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3095
|
+
return await this.deleteDataQualityScanWithOptions(request, runtime);
|
|
3096
|
+
}
|
|
3097
|
+
/**
|
|
3098
|
+
* 删除数据质量模板
|
|
3099
|
+
*
|
|
3100
|
+
* @param request - DeleteDataQualityTemplateRequest
|
|
3101
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3102
|
+
* @returns DeleteDataQualityTemplateResponse
|
|
3103
|
+
*/
|
|
3104
|
+
async deleteDataQualityTemplateWithOptions(request, runtime) {
|
|
3105
|
+
request.validate();
|
|
3106
|
+
let body = {};
|
|
3107
|
+
if (!$dara.isNull(request.id)) {
|
|
3108
|
+
body["Id"] = request.id;
|
|
3109
|
+
}
|
|
3110
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3111
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3112
|
+
});
|
|
3113
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3114
|
+
action: "DeleteDataQualityTemplate",
|
|
3115
|
+
version: "2024-05-18",
|
|
3116
|
+
protocol: "HTTPS",
|
|
3117
|
+
pathname: "/",
|
|
3118
|
+
method: "POST",
|
|
3119
|
+
authType: "AK",
|
|
3120
|
+
style: "RPC",
|
|
3121
|
+
reqBodyType: "formData",
|
|
3122
|
+
bodyType: "json",
|
|
3123
|
+
});
|
|
3124
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteDataQualityTemplateResponse({}));
|
|
3125
|
+
}
|
|
3126
|
+
/**
|
|
3127
|
+
* 删除数据质量模板
|
|
3128
|
+
*
|
|
3129
|
+
* @param request - DeleteDataQualityTemplateRequest
|
|
3130
|
+
* @returns DeleteDataQualityTemplateResponse
|
|
3131
|
+
*/
|
|
3132
|
+
async deleteDataQualityTemplate(request) {
|
|
3133
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3134
|
+
return await this.deleteDataQualityTemplateWithOptions(request, runtime);
|
|
3135
|
+
}
|
|
2773
3136
|
/**
|
|
2774
3137
|
* Removes a data source by ID.
|
|
2775
3138
|
*
|
|
@@ -4149,16 +4512,211 @@ class Client extends openapi_core_1.default {
|
|
|
4149
4512
|
*
|
|
4150
4513
|
* @param request - GetDIJobLogRequest
|
|
4151
4514
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4152
|
-
* @returns GetDIJobLogResponse
|
|
4515
|
+
* @returns GetDIJobLogResponse
|
|
4516
|
+
*/
|
|
4517
|
+
async getDIJobLogWithOptions(request, runtime) {
|
|
4518
|
+
request.validate();
|
|
4519
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
4520
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4521
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4522
|
+
});
|
|
4523
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4524
|
+
action: "GetDIJobLog",
|
|
4525
|
+
version: "2024-05-18",
|
|
4526
|
+
protocol: "HTTPS",
|
|
4527
|
+
pathname: "/",
|
|
4528
|
+
method: "GET",
|
|
4529
|
+
authType: "AK",
|
|
4530
|
+
style: "RPC",
|
|
4531
|
+
reqBodyType: "formData",
|
|
4532
|
+
bodyType: "json",
|
|
4533
|
+
});
|
|
4534
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDIJobLogResponse({}));
|
|
4535
|
+
}
|
|
4536
|
+
/**
|
|
4537
|
+
* Obtains logs generated for a synchronization task.
|
|
4538
|
+
*
|
|
4539
|
+
* @remarks
|
|
4540
|
+
* This API operation is available for all DataWorks editions.
|
|
4541
|
+
*
|
|
4542
|
+
* @param request - GetDIJobLogRequest
|
|
4543
|
+
* @returns GetDIJobLogResponse
|
|
4544
|
+
*/
|
|
4545
|
+
async getDIJobLog(request) {
|
|
4546
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4547
|
+
return await this.getDIJobLogWithOptions(request, runtime);
|
|
4548
|
+
}
|
|
4549
|
+
/**
|
|
4550
|
+
* 查询数据质量告警规则详情
|
|
4551
|
+
*
|
|
4552
|
+
* @param request - GetDataQualityAlertRuleRequest
|
|
4553
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4554
|
+
* @returns GetDataQualityAlertRuleResponse
|
|
4555
|
+
*/
|
|
4556
|
+
async getDataQualityAlertRuleWithOptions(request, runtime) {
|
|
4557
|
+
request.validate();
|
|
4558
|
+
let query = {};
|
|
4559
|
+
if (!$dara.isNull(request.id)) {
|
|
4560
|
+
query["Id"] = request.id;
|
|
4561
|
+
}
|
|
4562
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4563
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4564
|
+
});
|
|
4565
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4566
|
+
action: "GetDataQualityAlertRule",
|
|
4567
|
+
version: "2024-05-18",
|
|
4568
|
+
protocol: "HTTPS",
|
|
4569
|
+
pathname: "/",
|
|
4570
|
+
method: "POST",
|
|
4571
|
+
authType: "AK",
|
|
4572
|
+
style: "RPC",
|
|
4573
|
+
reqBodyType: "formData",
|
|
4574
|
+
bodyType: "json",
|
|
4575
|
+
});
|
|
4576
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityAlertRuleResponse({}));
|
|
4577
|
+
}
|
|
4578
|
+
/**
|
|
4579
|
+
* 查询数据质量告警规则详情
|
|
4580
|
+
*
|
|
4581
|
+
* @param request - GetDataQualityAlertRuleRequest
|
|
4582
|
+
* @returns GetDataQualityAlertRuleResponse
|
|
4583
|
+
*/
|
|
4584
|
+
async getDataQualityAlertRule(request) {
|
|
4585
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4586
|
+
return await this.getDataQualityAlertRuleWithOptions(request, runtime);
|
|
4587
|
+
}
|
|
4588
|
+
/**
|
|
4589
|
+
* Queries the details of a monitor.
|
|
4590
|
+
*
|
|
4591
|
+
* @param request - GetDataQualityEvaluationTaskRequest
|
|
4592
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4593
|
+
* @returns GetDataQualityEvaluationTaskResponse
|
|
4594
|
+
*/
|
|
4595
|
+
async getDataQualityEvaluationTaskWithOptions(request, runtime) {
|
|
4596
|
+
request.validate();
|
|
4597
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
4598
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4599
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4600
|
+
});
|
|
4601
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4602
|
+
action: "GetDataQualityEvaluationTask",
|
|
4603
|
+
version: "2024-05-18",
|
|
4604
|
+
protocol: "HTTPS",
|
|
4605
|
+
pathname: "/",
|
|
4606
|
+
method: "GET",
|
|
4607
|
+
authType: "AK",
|
|
4608
|
+
style: "RPC",
|
|
4609
|
+
reqBodyType: "formData",
|
|
4610
|
+
bodyType: "json",
|
|
4611
|
+
});
|
|
4612
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityEvaluationTaskResponse({}));
|
|
4613
|
+
}
|
|
4614
|
+
/**
|
|
4615
|
+
* Queries the details of a monitor.
|
|
4616
|
+
*
|
|
4617
|
+
* @param request - GetDataQualityEvaluationTaskRequest
|
|
4618
|
+
* @returns GetDataQualityEvaluationTaskResponse
|
|
4619
|
+
*/
|
|
4620
|
+
async getDataQualityEvaluationTask(request) {
|
|
4621
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4622
|
+
return await this.getDataQualityEvaluationTaskWithOptions(request, runtime);
|
|
4623
|
+
}
|
|
4624
|
+
/**
|
|
4625
|
+
* Queries the details of a monitor instance.
|
|
4626
|
+
*
|
|
4627
|
+
* @param request - GetDataQualityEvaluationTaskInstanceRequest
|
|
4628
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4629
|
+
* @returns GetDataQualityEvaluationTaskInstanceResponse
|
|
4630
|
+
*/
|
|
4631
|
+
async getDataQualityEvaluationTaskInstanceWithOptions(request, runtime) {
|
|
4632
|
+
request.validate();
|
|
4633
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
4634
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4635
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4636
|
+
});
|
|
4637
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4638
|
+
action: "GetDataQualityEvaluationTaskInstance",
|
|
4639
|
+
version: "2024-05-18",
|
|
4640
|
+
protocol: "HTTPS",
|
|
4641
|
+
pathname: "/",
|
|
4642
|
+
method: "GET",
|
|
4643
|
+
authType: "AK",
|
|
4644
|
+
style: "RPC",
|
|
4645
|
+
reqBodyType: "formData",
|
|
4646
|
+
bodyType: "json",
|
|
4647
|
+
});
|
|
4648
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityEvaluationTaskInstanceResponse({}));
|
|
4649
|
+
}
|
|
4650
|
+
/**
|
|
4651
|
+
* Queries the details of a monitor instance.
|
|
4652
|
+
*
|
|
4653
|
+
* @param request - GetDataQualityEvaluationTaskInstanceRequest
|
|
4654
|
+
* @returns GetDataQualityEvaluationTaskInstanceResponse
|
|
4655
|
+
*/
|
|
4656
|
+
async getDataQualityEvaluationTaskInstance(request) {
|
|
4657
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4658
|
+
return await this.getDataQualityEvaluationTaskInstanceWithOptions(request, runtime);
|
|
4659
|
+
}
|
|
4660
|
+
/**
|
|
4661
|
+
* Queries the information about a data quality monitoring rule.
|
|
4662
|
+
*
|
|
4663
|
+
* @remarks
|
|
4664
|
+
* This API operation is available for all DataWorks editions.
|
|
4665
|
+
*
|
|
4666
|
+
* @param request - GetDataQualityRuleRequest
|
|
4667
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4668
|
+
* @returns GetDataQualityRuleResponse
|
|
4669
|
+
*/
|
|
4670
|
+
async getDataQualityRuleWithOptions(request, runtime) {
|
|
4671
|
+
request.validate();
|
|
4672
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
4673
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4674
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4675
|
+
});
|
|
4676
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4677
|
+
action: "GetDataQualityRule",
|
|
4678
|
+
version: "2024-05-18",
|
|
4679
|
+
protocol: "HTTPS",
|
|
4680
|
+
pathname: "/",
|
|
4681
|
+
method: "GET",
|
|
4682
|
+
authType: "AK",
|
|
4683
|
+
style: "RPC",
|
|
4684
|
+
reqBodyType: "formData",
|
|
4685
|
+
bodyType: "json",
|
|
4686
|
+
});
|
|
4687
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityRuleResponse({}));
|
|
4688
|
+
}
|
|
4689
|
+
/**
|
|
4690
|
+
* Queries the information about a data quality monitoring rule.
|
|
4691
|
+
*
|
|
4692
|
+
* @remarks
|
|
4693
|
+
* This API operation is available for all DataWorks editions.
|
|
4694
|
+
*
|
|
4695
|
+
* @param request - GetDataQualityRuleRequest
|
|
4696
|
+
* @returns GetDataQualityRuleResponse
|
|
4697
|
+
*/
|
|
4698
|
+
async getDataQualityRule(request) {
|
|
4699
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4700
|
+
return await this.getDataQualityRuleWithOptions(request, runtime);
|
|
4701
|
+
}
|
|
4702
|
+
/**
|
|
4703
|
+
* Queries the information about a data quality monitoring rule template.
|
|
4704
|
+
*
|
|
4705
|
+
* @remarks
|
|
4706
|
+
* This API operation is available for all DataWorks editions.
|
|
4707
|
+
*
|
|
4708
|
+
* @param request - GetDataQualityRuleTemplateRequest
|
|
4709
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4710
|
+
* @returns GetDataQualityRuleTemplateResponse
|
|
4153
4711
|
*/
|
|
4154
|
-
async
|
|
4712
|
+
async getDataQualityRuleTemplateWithOptions(request, runtime) {
|
|
4155
4713
|
request.validate();
|
|
4156
4714
|
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
4157
4715
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4158
4716
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4159
4717
|
});
|
|
4160
4718
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4161
|
-
action: "
|
|
4719
|
+
action: "GetDataQualityRuleTemplate",
|
|
4162
4720
|
version: "2024-05-18",
|
|
4163
4721
|
protocol: "HTTPS",
|
|
4164
4722
|
pathname: "/",
|
|
@@ -4168,176 +4726,179 @@ class Client extends openapi_core_1.default {
|
|
|
4168
4726
|
reqBodyType: "formData",
|
|
4169
4727
|
bodyType: "json",
|
|
4170
4728
|
});
|
|
4171
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4729
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityRuleTemplateResponse({}));
|
|
4172
4730
|
}
|
|
4173
4731
|
/**
|
|
4174
|
-
*
|
|
4732
|
+
* Queries the information about a data quality monitoring rule template.
|
|
4175
4733
|
*
|
|
4176
4734
|
* @remarks
|
|
4177
4735
|
* This API operation is available for all DataWorks editions.
|
|
4178
4736
|
*
|
|
4179
|
-
* @param request -
|
|
4180
|
-
* @returns
|
|
4737
|
+
* @param request - GetDataQualityRuleTemplateRequest
|
|
4738
|
+
* @returns GetDataQualityRuleTemplateResponse
|
|
4181
4739
|
*/
|
|
4182
|
-
async
|
|
4740
|
+
async getDataQualityRuleTemplate(request) {
|
|
4183
4741
|
let runtime = new $dara.RuntimeOptions({});
|
|
4184
|
-
return await this.
|
|
4742
|
+
return await this.getDataQualityRuleTemplateWithOptions(request, runtime);
|
|
4185
4743
|
}
|
|
4186
4744
|
/**
|
|
4187
|
-
*
|
|
4745
|
+
* 获取数据质量监控详情
|
|
4188
4746
|
*
|
|
4189
|
-
* @param request -
|
|
4747
|
+
* @param request - GetDataQualityScanRequest
|
|
4190
4748
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4191
|
-
* @returns
|
|
4749
|
+
* @returns GetDataQualityScanResponse
|
|
4192
4750
|
*/
|
|
4193
|
-
async
|
|
4751
|
+
async getDataQualityScanWithOptions(request, runtime) {
|
|
4194
4752
|
request.validate();
|
|
4195
|
-
let query =
|
|
4753
|
+
let query = {};
|
|
4754
|
+
if (!$dara.isNull(request.id)) {
|
|
4755
|
+
query["Id"] = request.id;
|
|
4756
|
+
}
|
|
4196
4757
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4197
4758
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4198
4759
|
});
|
|
4199
4760
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4200
|
-
action: "
|
|
4761
|
+
action: "GetDataQualityScan",
|
|
4201
4762
|
version: "2024-05-18",
|
|
4202
4763
|
protocol: "HTTPS",
|
|
4203
4764
|
pathname: "/",
|
|
4204
|
-
method: "
|
|
4765
|
+
method: "POST",
|
|
4205
4766
|
authType: "AK",
|
|
4206
4767
|
style: "RPC",
|
|
4207
4768
|
reqBodyType: "formData",
|
|
4208
4769
|
bodyType: "json",
|
|
4209
4770
|
});
|
|
4210
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4771
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityScanResponse({}));
|
|
4211
4772
|
}
|
|
4212
4773
|
/**
|
|
4213
|
-
*
|
|
4774
|
+
* 获取数据质量监控详情
|
|
4214
4775
|
*
|
|
4215
|
-
* @param request -
|
|
4216
|
-
* @returns
|
|
4776
|
+
* @param request - GetDataQualityScanRequest
|
|
4777
|
+
* @returns GetDataQualityScanResponse
|
|
4217
4778
|
*/
|
|
4218
|
-
async
|
|
4779
|
+
async getDataQualityScan(request) {
|
|
4219
4780
|
let runtime = new $dara.RuntimeOptions({});
|
|
4220
|
-
return await this.
|
|
4781
|
+
return await this.getDataQualityScanWithOptions(request, runtime);
|
|
4221
4782
|
}
|
|
4222
4783
|
/**
|
|
4223
|
-
*
|
|
4784
|
+
* 创建数据质量监控运行实例
|
|
4224
4785
|
*
|
|
4225
|
-
* @param request -
|
|
4786
|
+
* @param request - GetDataQualityScanRunRequest
|
|
4226
4787
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4227
|
-
* @returns
|
|
4788
|
+
* @returns GetDataQualityScanRunResponse
|
|
4228
4789
|
*/
|
|
4229
|
-
async
|
|
4790
|
+
async getDataQualityScanRunWithOptions(request, runtime) {
|
|
4230
4791
|
request.validate();
|
|
4231
|
-
let query =
|
|
4792
|
+
let query = {};
|
|
4793
|
+
if (!$dara.isNull(request.id)) {
|
|
4794
|
+
query["Id"] = request.id;
|
|
4795
|
+
}
|
|
4232
4796
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4233
4797
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4234
4798
|
});
|
|
4235
4799
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4236
|
-
action: "
|
|
4800
|
+
action: "GetDataQualityScanRun",
|
|
4237
4801
|
version: "2024-05-18",
|
|
4238
4802
|
protocol: "HTTPS",
|
|
4239
4803
|
pathname: "/",
|
|
4240
|
-
method: "
|
|
4804
|
+
method: "POST",
|
|
4241
4805
|
authType: "AK",
|
|
4242
4806
|
style: "RPC",
|
|
4243
4807
|
reqBodyType: "formData",
|
|
4244
4808
|
bodyType: "json",
|
|
4245
4809
|
});
|
|
4246
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4810
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityScanRunResponse({}));
|
|
4247
4811
|
}
|
|
4248
4812
|
/**
|
|
4249
|
-
*
|
|
4813
|
+
* 创建数据质量监控运行实例
|
|
4250
4814
|
*
|
|
4251
|
-
* @param request -
|
|
4252
|
-
* @returns
|
|
4815
|
+
* @param request - GetDataQualityScanRunRequest
|
|
4816
|
+
* @returns GetDataQualityScanRunResponse
|
|
4253
4817
|
*/
|
|
4254
|
-
async
|
|
4818
|
+
async getDataQualityScanRun(request) {
|
|
4255
4819
|
let runtime = new $dara.RuntimeOptions({});
|
|
4256
|
-
return await this.
|
|
4820
|
+
return await this.getDataQualityScanRunWithOptions(request, runtime);
|
|
4257
4821
|
}
|
|
4258
4822
|
/**
|
|
4259
|
-
*
|
|
4260
|
-
*
|
|
4261
|
-
* @remarks
|
|
4262
|
-
* This API operation is available for all DataWorks editions.
|
|
4823
|
+
* 创建数据质量监控运行实例
|
|
4263
4824
|
*
|
|
4264
|
-
* @param request -
|
|
4825
|
+
* @param request - GetDataQualityScanRunLogRequest
|
|
4265
4826
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4266
|
-
* @returns
|
|
4827
|
+
* @returns GetDataQualityScanRunLogResponse
|
|
4267
4828
|
*/
|
|
4268
|
-
async
|
|
4829
|
+
async getDataQualityScanRunLogWithOptions(request, runtime) {
|
|
4269
4830
|
request.validate();
|
|
4270
|
-
let query =
|
|
4831
|
+
let query = {};
|
|
4832
|
+
if (!$dara.isNull(request.id)) {
|
|
4833
|
+
query["Id"] = request.id;
|
|
4834
|
+
}
|
|
4835
|
+
if (!$dara.isNull(request.offset)) {
|
|
4836
|
+
query["Offset"] = request.offset;
|
|
4837
|
+
}
|
|
4271
4838
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4272
4839
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4273
4840
|
});
|
|
4274
4841
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4275
|
-
action: "
|
|
4842
|
+
action: "GetDataQualityScanRunLog",
|
|
4276
4843
|
version: "2024-05-18",
|
|
4277
4844
|
protocol: "HTTPS",
|
|
4278
4845
|
pathname: "/",
|
|
4279
|
-
method: "
|
|
4846
|
+
method: "POST",
|
|
4280
4847
|
authType: "AK",
|
|
4281
4848
|
style: "RPC",
|
|
4282
4849
|
reqBodyType: "formData",
|
|
4283
4850
|
bodyType: "json",
|
|
4284
4851
|
});
|
|
4285
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4852
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityScanRunLogResponse({}));
|
|
4286
4853
|
}
|
|
4287
4854
|
/**
|
|
4288
|
-
*
|
|
4855
|
+
* 创建数据质量监控运行实例
|
|
4289
4856
|
*
|
|
4290
|
-
* @
|
|
4291
|
-
*
|
|
4292
|
-
*
|
|
4293
|
-
* @param request - GetDataQualityRuleRequest
|
|
4294
|
-
* @returns GetDataQualityRuleResponse
|
|
4857
|
+
* @param request - GetDataQualityScanRunLogRequest
|
|
4858
|
+
* @returns GetDataQualityScanRunLogResponse
|
|
4295
4859
|
*/
|
|
4296
|
-
async
|
|
4860
|
+
async getDataQualityScanRunLog(request) {
|
|
4297
4861
|
let runtime = new $dara.RuntimeOptions({});
|
|
4298
|
-
return await this.
|
|
4862
|
+
return await this.getDataQualityScanRunLogWithOptions(request, runtime);
|
|
4299
4863
|
}
|
|
4300
4864
|
/**
|
|
4301
|
-
*
|
|
4865
|
+
* 查询数据质量模板详情
|
|
4302
4866
|
*
|
|
4303
|
-
* @
|
|
4304
|
-
* This API operation is available for all DataWorks editions.
|
|
4305
|
-
*
|
|
4306
|
-
* @param request - GetDataQualityRuleTemplateRequest
|
|
4867
|
+
* @param request - GetDataQualityTemplateRequest
|
|
4307
4868
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4308
|
-
* @returns
|
|
4869
|
+
* @returns GetDataQualityTemplateResponse
|
|
4309
4870
|
*/
|
|
4310
|
-
async
|
|
4871
|
+
async getDataQualityTemplateWithOptions(request, runtime) {
|
|
4311
4872
|
request.validate();
|
|
4312
|
-
let query =
|
|
4873
|
+
let query = {};
|
|
4874
|
+
if (!$dara.isNull(request.id)) {
|
|
4875
|
+
query["Id"] = request.id;
|
|
4876
|
+
}
|
|
4313
4877
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4314
4878
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4315
4879
|
});
|
|
4316
4880
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4317
|
-
action: "
|
|
4881
|
+
action: "GetDataQualityTemplate",
|
|
4318
4882
|
version: "2024-05-18",
|
|
4319
4883
|
protocol: "HTTPS",
|
|
4320
4884
|
pathname: "/",
|
|
4321
|
-
method: "
|
|
4885
|
+
method: "POST",
|
|
4322
4886
|
authType: "AK",
|
|
4323
4887
|
style: "RPC",
|
|
4324
4888
|
reqBodyType: "formData",
|
|
4325
4889
|
bodyType: "json",
|
|
4326
4890
|
});
|
|
4327
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4891
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityTemplateResponse({}));
|
|
4328
4892
|
}
|
|
4329
4893
|
/**
|
|
4330
|
-
*
|
|
4894
|
+
* 查询数据质量模板详情
|
|
4331
4895
|
*
|
|
4332
|
-
* @
|
|
4333
|
-
*
|
|
4334
|
-
*
|
|
4335
|
-
* @param request - GetDataQualityRuleTemplateRequest
|
|
4336
|
-
* @returns GetDataQualityRuleTemplateResponse
|
|
4896
|
+
* @param request - GetDataQualityTemplateRequest
|
|
4897
|
+
* @returns GetDataQualityTemplateResponse
|
|
4337
4898
|
*/
|
|
4338
|
-
async
|
|
4899
|
+
async getDataQualityTemplate(request) {
|
|
4339
4900
|
let runtime = new $dara.RuntimeOptions({});
|
|
4340
|
-
return await this.
|
|
4901
|
+
return await this.getDataQualityTemplateWithOptions(request, runtime);
|
|
4341
4902
|
}
|
|
4342
4903
|
/**
|
|
4343
4904
|
* Queries a data source by ID.
|
|
@@ -6356,6 +6917,57 @@ class Client extends openapi_core_1.default {
|
|
|
6356
6917
|
let runtime = new $dara.RuntimeOptions({});
|
|
6357
6918
|
return await this.listDataAssetsWithOptions(request, runtime);
|
|
6358
6919
|
}
|
|
6920
|
+
/**
|
|
6921
|
+
* 查询数据质量告警规则列表
|
|
6922
|
+
*
|
|
6923
|
+
* @param request - ListDataQualityAlertRulesRequest
|
|
6924
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6925
|
+
* @returns ListDataQualityAlertRulesResponse
|
|
6926
|
+
*/
|
|
6927
|
+
async listDataQualityAlertRulesWithOptions(request, runtime) {
|
|
6928
|
+
request.validate();
|
|
6929
|
+
let query = {};
|
|
6930
|
+
if (!$dara.isNull(request.dataQualityScanId)) {
|
|
6931
|
+
query["DataQualityScanId"] = request.dataQualityScanId;
|
|
6932
|
+
}
|
|
6933
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
6934
|
+
query["PageNumber"] = request.pageNumber;
|
|
6935
|
+
}
|
|
6936
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
6937
|
+
query["PageSize"] = request.pageSize;
|
|
6938
|
+
}
|
|
6939
|
+
if (!$dara.isNull(request.projectId)) {
|
|
6940
|
+
query["ProjectId"] = request.projectId;
|
|
6941
|
+
}
|
|
6942
|
+
if (!$dara.isNull(request.sortBy)) {
|
|
6943
|
+
query["SortBy"] = request.sortBy;
|
|
6944
|
+
}
|
|
6945
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6946
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6947
|
+
});
|
|
6948
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6949
|
+
action: "ListDataQualityAlertRules",
|
|
6950
|
+
version: "2024-05-18",
|
|
6951
|
+
protocol: "HTTPS",
|
|
6952
|
+
pathname: "/",
|
|
6953
|
+
method: "POST",
|
|
6954
|
+
authType: "AK",
|
|
6955
|
+
style: "RPC",
|
|
6956
|
+
reqBodyType: "formData",
|
|
6957
|
+
bodyType: "json",
|
|
6958
|
+
});
|
|
6959
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityAlertRulesResponse({}));
|
|
6960
|
+
}
|
|
6961
|
+
/**
|
|
6962
|
+
* 查询数据质量告警规则列表
|
|
6963
|
+
*
|
|
6964
|
+
* @param request - ListDataQualityAlertRulesRequest
|
|
6965
|
+
* @returns ListDataQualityAlertRulesResponse
|
|
6966
|
+
*/
|
|
6967
|
+
async listDataQualityAlertRules(request) {
|
|
6968
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6969
|
+
return await this.listDataQualityAlertRulesWithOptions(request, runtime);
|
|
6970
|
+
}
|
|
6359
6971
|
/**
|
|
6360
6972
|
* Queries a list of instances generated by a data quality monitoring task by page.
|
|
6361
6973
|
*
|
|
@@ -6428,133 +7040,298 @@ class Client extends openapi_core_1.default {
|
|
|
6428
7040
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityEvaluationTasksResponse({}));
|
|
6429
7041
|
}
|
|
6430
7042
|
/**
|
|
6431
|
-
* Queries a list of data quality monitoring tasks by page.
|
|
7043
|
+
* Queries a list of data quality monitoring tasks by page.
|
|
7044
|
+
*
|
|
7045
|
+
* @remarks
|
|
7046
|
+
* This API operation is available for all DataWorks editions.
|
|
7047
|
+
*
|
|
7048
|
+
* @param request - ListDataQualityEvaluationTasksRequest
|
|
7049
|
+
* @returns ListDataQualityEvaluationTasksResponse
|
|
7050
|
+
*/
|
|
7051
|
+
async listDataQualityEvaluationTasks(request) {
|
|
7052
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7053
|
+
return await this.listDataQualityEvaluationTasksWithOptions(request, runtime);
|
|
7054
|
+
}
|
|
7055
|
+
/**
|
|
7056
|
+
* @remarks
|
|
7057
|
+
* This API operation is available for all DataWorks editions.
|
|
7058
|
+
*
|
|
7059
|
+
* @param request - ListDataQualityResultsRequest
|
|
7060
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7061
|
+
* @returns ListDataQualityResultsResponse
|
|
7062
|
+
*/
|
|
7063
|
+
async listDataQualityResultsWithOptions(request, runtime) {
|
|
7064
|
+
request.validate();
|
|
7065
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
7066
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7067
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7068
|
+
});
|
|
7069
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7070
|
+
action: "ListDataQualityResults",
|
|
7071
|
+
version: "2024-05-18",
|
|
7072
|
+
protocol: "HTTPS",
|
|
7073
|
+
pathname: "/",
|
|
7074
|
+
method: "GET",
|
|
7075
|
+
authType: "AK",
|
|
7076
|
+
style: "RPC",
|
|
7077
|
+
reqBodyType: "formData",
|
|
7078
|
+
bodyType: "json",
|
|
7079
|
+
});
|
|
7080
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityResultsResponse({}));
|
|
7081
|
+
}
|
|
7082
|
+
/**
|
|
7083
|
+
* @remarks
|
|
7084
|
+
* This API operation is available for all DataWorks editions.
|
|
7085
|
+
*
|
|
7086
|
+
* @param request - ListDataQualityResultsRequest
|
|
7087
|
+
* @returns ListDataQualityResultsResponse
|
|
7088
|
+
*/
|
|
7089
|
+
async listDataQualityResults(request) {
|
|
7090
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7091
|
+
return await this.listDataQualityResultsWithOptions(request, runtime);
|
|
7092
|
+
}
|
|
7093
|
+
/**
|
|
7094
|
+
* Queries a list of data quality monitoring rule templates.
|
|
7095
|
+
*
|
|
7096
|
+
* @param request - ListDataQualityRuleTemplatesRequest
|
|
7097
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7098
|
+
* @returns ListDataQualityRuleTemplatesResponse
|
|
7099
|
+
*/
|
|
7100
|
+
async listDataQualityRuleTemplatesWithOptions(request, runtime) {
|
|
7101
|
+
request.validate();
|
|
7102
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
7103
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7104
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7105
|
+
});
|
|
7106
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7107
|
+
action: "ListDataQualityRuleTemplates",
|
|
7108
|
+
version: "2024-05-18",
|
|
7109
|
+
protocol: "HTTPS",
|
|
7110
|
+
pathname: "/",
|
|
7111
|
+
method: "GET",
|
|
7112
|
+
authType: "AK",
|
|
7113
|
+
style: "RPC",
|
|
7114
|
+
reqBodyType: "formData",
|
|
7115
|
+
bodyType: "json",
|
|
7116
|
+
});
|
|
7117
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityRuleTemplatesResponse({}));
|
|
7118
|
+
}
|
|
7119
|
+
/**
|
|
7120
|
+
* Queries a list of data quality monitoring rule templates.
|
|
7121
|
+
*
|
|
7122
|
+
* @param request - ListDataQualityRuleTemplatesRequest
|
|
7123
|
+
* @returns ListDataQualityRuleTemplatesResponse
|
|
7124
|
+
*/
|
|
7125
|
+
async listDataQualityRuleTemplates(request) {
|
|
7126
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7127
|
+
return await this.listDataQualityRuleTemplatesWithOptions(request, runtime);
|
|
7128
|
+
}
|
|
7129
|
+
/**
|
|
7130
|
+
* Queries a list of data quality monitoring rules by page.
|
|
7131
|
+
*
|
|
7132
|
+
* @remarks
|
|
7133
|
+
* This API operation is available for all DataWorks editions.
|
|
7134
|
+
*
|
|
7135
|
+
* @param request - ListDataQualityRulesRequest
|
|
7136
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7137
|
+
* @returns ListDataQualityRulesResponse
|
|
7138
|
+
*/
|
|
7139
|
+
async listDataQualityRulesWithOptions(request, runtime) {
|
|
7140
|
+
request.validate();
|
|
7141
|
+
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
7142
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7143
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7144
|
+
});
|
|
7145
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7146
|
+
action: "ListDataQualityRules",
|
|
7147
|
+
version: "2024-05-18",
|
|
7148
|
+
protocol: "HTTPS",
|
|
7149
|
+
pathname: "/",
|
|
7150
|
+
method: "GET",
|
|
7151
|
+
authType: "AK",
|
|
7152
|
+
style: "RPC",
|
|
7153
|
+
reqBodyType: "formData",
|
|
7154
|
+
bodyType: "json",
|
|
7155
|
+
});
|
|
7156
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityRulesResponse({}));
|
|
7157
|
+
}
|
|
7158
|
+
/**
|
|
7159
|
+
* Queries a list of data quality monitoring rules by page.
|
|
6432
7160
|
*
|
|
6433
7161
|
* @remarks
|
|
6434
7162
|
* This API operation is available for all DataWorks editions.
|
|
6435
7163
|
*
|
|
6436
|
-
* @param request -
|
|
6437
|
-
* @returns
|
|
7164
|
+
* @param request - ListDataQualityRulesRequest
|
|
7165
|
+
* @returns ListDataQualityRulesResponse
|
|
6438
7166
|
*/
|
|
6439
|
-
async
|
|
7167
|
+
async listDataQualityRules(request) {
|
|
6440
7168
|
let runtime = new $dara.RuntimeOptions({});
|
|
6441
|
-
return await this.
|
|
7169
|
+
return await this.listDataQualityRulesWithOptions(request, runtime);
|
|
6442
7170
|
}
|
|
6443
7171
|
/**
|
|
6444
|
-
*
|
|
6445
|
-
* This API operation is available for all DataWorks editions.
|
|
7172
|
+
* 查询数据质量监控运行实例列表
|
|
6446
7173
|
*
|
|
6447
|
-
* @param request -
|
|
7174
|
+
* @param request - ListDataQualityScanRunsRequest
|
|
6448
7175
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6449
|
-
* @returns
|
|
7176
|
+
* @returns ListDataQualityScanRunsResponse
|
|
6450
7177
|
*/
|
|
6451
|
-
async
|
|
7178
|
+
async listDataQualityScanRunsWithOptions(request, runtime) {
|
|
6452
7179
|
request.validate();
|
|
6453
|
-
let query =
|
|
7180
|
+
let query = {};
|
|
7181
|
+
if (!$dara.isNull(request.createTimeFrom)) {
|
|
7182
|
+
query["CreateTimeFrom"] = request.createTimeFrom;
|
|
7183
|
+
}
|
|
7184
|
+
if (!$dara.isNull(request.createTimeTo)) {
|
|
7185
|
+
query["CreateTimeTo"] = request.createTimeTo;
|
|
7186
|
+
}
|
|
7187
|
+
if (!$dara.isNull(request.dataQualityScanId)) {
|
|
7188
|
+
query["DataQualityScanId"] = request.dataQualityScanId;
|
|
7189
|
+
}
|
|
7190
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
7191
|
+
query["PageNumber"] = request.pageNumber;
|
|
7192
|
+
}
|
|
7193
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
7194
|
+
query["PageSize"] = request.pageSize;
|
|
7195
|
+
}
|
|
7196
|
+
if (!$dara.isNull(request.projectId)) {
|
|
7197
|
+
query["ProjectId"] = request.projectId;
|
|
7198
|
+
}
|
|
7199
|
+
if (!$dara.isNull(request.sortBy)) {
|
|
7200
|
+
query["SortBy"] = request.sortBy;
|
|
7201
|
+
}
|
|
7202
|
+
if (!$dara.isNull(request.status)) {
|
|
7203
|
+
query["Status"] = request.status;
|
|
7204
|
+
}
|
|
6454
7205
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6455
7206
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6456
7207
|
});
|
|
6457
7208
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6458
|
-
action: "
|
|
7209
|
+
action: "ListDataQualityScanRuns",
|
|
6459
7210
|
version: "2024-05-18",
|
|
6460
7211
|
protocol: "HTTPS",
|
|
6461
7212
|
pathname: "/",
|
|
6462
|
-
method: "
|
|
7213
|
+
method: "POST",
|
|
6463
7214
|
authType: "AK",
|
|
6464
7215
|
style: "RPC",
|
|
6465
7216
|
reqBodyType: "formData",
|
|
6466
7217
|
bodyType: "json",
|
|
6467
7218
|
});
|
|
6468
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
7219
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityScanRunsResponse({}));
|
|
6469
7220
|
}
|
|
6470
7221
|
/**
|
|
6471
|
-
*
|
|
6472
|
-
* This API operation is available for all DataWorks editions.
|
|
7222
|
+
* 查询数据质量监控运行实例列表
|
|
6473
7223
|
*
|
|
6474
|
-
* @param request -
|
|
6475
|
-
* @returns
|
|
7224
|
+
* @param request - ListDataQualityScanRunsRequest
|
|
7225
|
+
* @returns ListDataQualityScanRunsResponse
|
|
6476
7226
|
*/
|
|
6477
|
-
async
|
|
7227
|
+
async listDataQualityScanRuns(request) {
|
|
6478
7228
|
let runtime = new $dara.RuntimeOptions({});
|
|
6479
|
-
return await this.
|
|
7229
|
+
return await this.listDataQualityScanRunsWithOptions(request, runtime);
|
|
6480
7230
|
}
|
|
6481
7231
|
/**
|
|
6482
|
-
*
|
|
7232
|
+
* 获取数据质量监控详情
|
|
6483
7233
|
*
|
|
6484
|
-
* @param request -
|
|
7234
|
+
* @param request - ListDataQualityScansRequest
|
|
6485
7235
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6486
|
-
* @returns
|
|
7236
|
+
* @returns ListDataQualityScansResponse
|
|
6487
7237
|
*/
|
|
6488
|
-
async
|
|
7238
|
+
async listDataQualityScansWithOptions(request, runtime) {
|
|
6489
7239
|
request.validate();
|
|
6490
|
-
let query =
|
|
7240
|
+
let query = {};
|
|
7241
|
+
if (!$dara.isNull(request.name)) {
|
|
7242
|
+
query["Name"] = request.name;
|
|
7243
|
+
}
|
|
7244
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
7245
|
+
query["PageNumber"] = request.pageNumber;
|
|
7246
|
+
}
|
|
7247
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
7248
|
+
query["PageSize"] = request.pageSize;
|
|
7249
|
+
}
|
|
7250
|
+
if (!$dara.isNull(request.projectId)) {
|
|
7251
|
+
query["ProjectId"] = request.projectId;
|
|
7252
|
+
}
|
|
7253
|
+
if (!$dara.isNull(request.sortBy)) {
|
|
7254
|
+
query["SortBy"] = request.sortBy;
|
|
7255
|
+
}
|
|
7256
|
+
if (!$dara.isNull(request.table)) {
|
|
7257
|
+
query["Table"] = request.table;
|
|
7258
|
+
}
|
|
6491
7259
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6492
7260
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6493
7261
|
});
|
|
6494
7262
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6495
|
-
action: "
|
|
7263
|
+
action: "ListDataQualityScans",
|
|
6496
7264
|
version: "2024-05-18",
|
|
6497
7265
|
protocol: "HTTPS",
|
|
6498
7266
|
pathname: "/",
|
|
6499
|
-
method: "
|
|
7267
|
+
method: "POST",
|
|
6500
7268
|
authType: "AK",
|
|
6501
7269
|
style: "RPC",
|
|
6502
7270
|
reqBodyType: "formData",
|
|
6503
7271
|
bodyType: "json",
|
|
6504
7272
|
});
|
|
6505
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
7273
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityScansResponse({}));
|
|
6506
7274
|
}
|
|
6507
7275
|
/**
|
|
6508
|
-
*
|
|
7276
|
+
* 获取数据质量监控详情
|
|
6509
7277
|
*
|
|
6510
|
-
* @param request -
|
|
6511
|
-
* @returns
|
|
7278
|
+
* @param request - ListDataQualityScansRequest
|
|
7279
|
+
* @returns ListDataQualityScansResponse
|
|
6512
7280
|
*/
|
|
6513
|
-
async
|
|
7281
|
+
async listDataQualityScans(request) {
|
|
6514
7282
|
let runtime = new $dara.RuntimeOptions({});
|
|
6515
|
-
return await this.
|
|
7283
|
+
return await this.listDataQualityScansWithOptions(request, runtime);
|
|
6516
7284
|
}
|
|
6517
7285
|
/**
|
|
6518
|
-
*
|
|
6519
|
-
*
|
|
6520
|
-
* @remarks
|
|
6521
|
-
* This API operation is available for all DataWorks editions.
|
|
7286
|
+
* 查询数据质量模板详情
|
|
6522
7287
|
*
|
|
6523
|
-
* @param request -
|
|
7288
|
+
* @param request - ListDataQualityTemplatesRequest
|
|
6524
7289
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6525
|
-
* @returns
|
|
7290
|
+
* @returns ListDataQualityTemplatesResponse
|
|
6526
7291
|
*/
|
|
6527
|
-
async
|
|
7292
|
+
async listDataQualityTemplatesWithOptions(request, runtime) {
|
|
6528
7293
|
request.validate();
|
|
6529
|
-
let query =
|
|
7294
|
+
let query = {};
|
|
7295
|
+
if (!$dara.isNull(request.catalog)) {
|
|
7296
|
+
query["Catalog"] = request.catalog;
|
|
7297
|
+
}
|
|
7298
|
+
if (!$dara.isNull(request.name)) {
|
|
7299
|
+
query["Name"] = request.name;
|
|
7300
|
+
}
|
|
7301
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
7302
|
+
query["PageNumber"] = request.pageNumber;
|
|
7303
|
+
}
|
|
7304
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
7305
|
+
query["PageSize"] = request.pageSize;
|
|
7306
|
+
}
|
|
7307
|
+
if (!$dara.isNull(request.projectId)) {
|
|
7308
|
+
query["ProjectId"] = request.projectId;
|
|
7309
|
+
}
|
|
6530
7310
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6531
7311
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6532
7312
|
});
|
|
6533
7313
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6534
|
-
action: "
|
|
7314
|
+
action: "ListDataQualityTemplates",
|
|
6535
7315
|
version: "2024-05-18",
|
|
6536
7316
|
protocol: "HTTPS",
|
|
6537
7317
|
pathname: "/",
|
|
6538
|
-
method: "
|
|
7318
|
+
method: "POST",
|
|
6539
7319
|
authType: "AK",
|
|
6540
7320
|
style: "RPC",
|
|
6541
7321
|
reqBodyType: "formData",
|
|
6542
7322
|
bodyType: "json",
|
|
6543
7323
|
});
|
|
6544
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
7324
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityTemplatesResponse({}));
|
|
6545
7325
|
}
|
|
6546
7326
|
/**
|
|
6547
|
-
*
|
|
7327
|
+
* 查询数据质量模板详情
|
|
6548
7328
|
*
|
|
6549
|
-
* @
|
|
6550
|
-
*
|
|
6551
|
-
*
|
|
6552
|
-
* @param request - ListDataQualityRulesRequest
|
|
6553
|
-
* @returns ListDataQualityRulesResponse
|
|
7329
|
+
* @param request - ListDataQualityTemplatesRequest
|
|
7330
|
+
* @returns ListDataQualityTemplatesResponse
|
|
6554
7331
|
*/
|
|
6555
|
-
async
|
|
7332
|
+
async listDataQualityTemplates(request) {
|
|
6556
7333
|
let runtime = new $dara.RuntimeOptions({});
|
|
6557
|
-
return await this.
|
|
7334
|
+
return await this.listDataQualityTemplatesWithOptions(request, runtime);
|
|
6558
7335
|
}
|
|
6559
7336
|
/**
|
|
6560
7337
|
* Queries a list of sharing rules of a data source.
|
|
@@ -10131,6 +10908,65 @@ class Client extends openapi_core_1.default {
|
|
|
10131
10908
|
let runtime = new $dara.RuntimeOptions({});
|
|
10132
10909
|
return await this.updateDataAssetTagWithOptions(request, runtime);
|
|
10133
10910
|
}
|
|
10911
|
+
/**
|
|
10912
|
+
* 更新数据质量告警规则
|
|
10913
|
+
*
|
|
10914
|
+
* @param tmpReq - UpdateDataQualityAlertRuleRequest
|
|
10915
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10916
|
+
* @returns UpdateDataQualityAlertRuleResponse
|
|
10917
|
+
*/
|
|
10918
|
+
async updateDataQualityAlertRuleWithOptions(tmpReq, runtime) {
|
|
10919
|
+
tmpReq.validate();
|
|
10920
|
+
let request = new $_model.UpdateDataQualityAlertRuleShrinkRequest({});
|
|
10921
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
10922
|
+
if (!$dara.isNull(tmpReq.notification)) {
|
|
10923
|
+
request.notificationShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.notification, "Notification", "json");
|
|
10924
|
+
}
|
|
10925
|
+
if (!$dara.isNull(tmpReq.target)) {
|
|
10926
|
+
request.targetShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.target, "Target", "json");
|
|
10927
|
+
}
|
|
10928
|
+
let body = {};
|
|
10929
|
+
if (!$dara.isNull(request.condition)) {
|
|
10930
|
+
body["Condition"] = request.condition;
|
|
10931
|
+
}
|
|
10932
|
+
if (!$dara.isNull(request.id)) {
|
|
10933
|
+
body["Id"] = request.id;
|
|
10934
|
+
}
|
|
10935
|
+
if (!$dara.isNull(request.notificationShrink)) {
|
|
10936
|
+
body["Notification"] = request.notificationShrink;
|
|
10937
|
+
}
|
|
10938
|
+
if (!$dara.isNull(request.projectId)) {
|
|
10939
|
+
body["ProjectId"] = request.projectId;
|
|
10940
|
+
}
|
|
10941
|
+
if (!$dara.isNull(request.targetShrink)) {
|
|
10942
|
+
body["Target"] = request.targetShrink;
|
|
10943
|
+
}
|
|
10944
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10945
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
10946
|
+
});
|
|
10947
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
10948
|
+
action: "UpdateDataQualityAlertRule",
|
|
10949
|
+
version: "2024-05-18",
|
|
10950
|
+
protocol: "HTTPS",
|
|
10951
|
+
pathname: "/",
|
|
10952
|
+
method: "POST",
|
|
10953
|
+
authType: "AK",
|
|
10954
|
+
style: "RPC",
|
|
10955
|
+
reqBodyType: "formData",
|
|
10956
|
+
bodyType: "json",
|
|
10957
|
+
});
|
|
10958
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDataQualityAlertRuleResponse({}));
|
|
10959
|
+
}
|
|
10960
|
+
/**
|
|
10961
|
+
* 更新数据质量告警规则
|
|
10962
|
+
*
|
|
10963
|
+
* @param request - UpdateDataQualityAlertRuleRequest
|
|
10964
|
+
* @returns UpdateDataQualityAlertRuleResponse
|
|
10965
|
+
*/
|
|
10966
|
+
async updateDataQualityAlertRule(request) {
|
|
10967
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
10968
|
+
return await this.updateDataQualityAlertRuleWithOptions(request, runtime);
|
|
10969
|
+
}
|
|
10134
10970
|
/**
|
|
10135
10971
|
* Updates a monitor.
|
|
10136
10972
|
*
|
|
@@ -10366,6 +11202,142 @@ class Client extends openapi_core_1.default {
|
|
|
10366
11202
|
let runtime = new $dara.RuntimeOptions({});
|
|
10367
11203
|
return await this.updateDataQualityRuleTemplateWithOptions(request, runtime);
|
|
10368
11204
|
}
|
|
11205
|
+
/**
|
|
11206
|
+
* 更新数据质量监控
|
|
11207
|
+
*
|
|
11208
|
+
* @param tmpReq - UpdateDataQualityScanRequest
|
|
11209
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11210
|
+
* @returns UpdateDataQualityScanResponse
|
|
11211
|
+
*/
|
|
11212
|
+
async updateDataQualityScanWithOptions(tmpReq, runtime) {
|
|
11213
|
+
tmpReq.validate();
|
|
11214
|
+
let request = new $_model.UpdateDataQualityScanShrinkRequest({});
|
|
11215
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
11216
|
+
if (!$dara.isNull(tmpReq.computeResource)) {
|
|
11217
|
+
request.computeResourceShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.computeResource, "ComputeResource", "json");
|
|
11218
|
+
}
|
|
11219
|
+
if (!$dara.isNull(tmpReq.hooks)) {
|
|
11220
|
+
request.hooksShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.hooks, "Hooks", "json");
|
|
11221
|
+
}
|
|
11222
|
+
if (!$dara.isNull(tmpReq.parameters)) {
|
|
11223
|
+
request.parametersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json");
|
|
11224
|
+
}
|
|
11225
|
+
if (!$dara.isNull(tmpReq.runtimeResource)) {
|
|
11226
|
+
request.runtimeResourceShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.runtimeResource, "RuntimeResource", "json");
|
|
11227
|
+
}
|
|
11228
|
+
if (!$dara.isNull(tmpReq.trigger)) {
|
|
11229
|
+
request.triggerShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.trigger, "Trigger", "json");
|
|
11230
|
+
}
|
|
11231
|
+
let body = {};
|
|
11232
|
+
if (!$dara.isNull(request.computeResourceShrink)) {
|
|
11233
|
+
body["ComputeResource"] = request.computeResourceShrink;
|
|
11234
|
+
}
|
|
11235
|
+
if (!$dara.isNull(request.description)) {
|
|
11236
|
+
body["Description"] = request.description;
|
|
11237
|
+
}
|
|
11238
|
+
if (!$dara.isNull(request.hooksShrink)) {
|
|
11239
|
+
body["Hooks"] = request.hooksShrink;
|
|
11240
|
+
}
|
|
11241
|
+
if (!$dara.isNull(request.id)) {
|
|
11242
|
+
body["Id"] = request.id;
|
|
11243
|
+
}
|
|
11244
|
+
if (!$dara.isNull(request.name)) {
|
|
11245
|
+
body["Name"] = request.name;
|
|
11246
|
+
}
|
|
11247
|
+
if (!$dara.isNull(request.owner)) {
|
|
11248
|
+
body["Owner"] = request.owner;
|
|
11249
|
+
}
|
|
11250
|
+
if (!$dara.isNull(request.parametersShrink)) {
|
|
11251
|
+
body["Parameters"] = request.parametersShrink;
|
|
11252
|
+
}
|
|
11253
|
+
if (!$dara.isNull(request.projectId)) {
|
|
11254
|
+
body["ProjectId"] = request.projectId;
|
|
11255
|
+
}
|
|
11256
|
+
if (!$dara.isNull(request.runtimeResourceShrink)) {
|
|
11257
|
+
body["RuntimeResource"] = request.runtimeResourceShrink;
|
|
11258
|
+
}
|
|
11259
|
+
if (!$dara.isNull(request.spec)) {
|
|
11260
|
+
body["Spec"] = request.spec;
|
|
11261
|
+
}
|
|
11262
|
+
if (!$dara.isNull(request.triggerShrink)) {
|
|
11263
|
+
body["Trigger"] = request.triggerShrink;
|
|
11264
|
+
}
|
|
11265
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11266
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
11267
|
+
});
|
|
11268
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11269
|
+
action: "UpdateDataQualityScan",
|
|
11270
|
+
version: "2024-05-18",
|
|
11271
|
+
protocol: "HTTPS",
|
|
11272
|
+
pathname: "/",
|
|
11273
|
+
method: "POST",
|
|
11274
|
+
authType: "AK",
|
|
11275
|
+
style: "RPC",
|
|
11276
|
+
reqBodyType: "formData",
|
|
11277
|
+
bodyType: "json",
|
|
11278
|
+
});
|
|
11279
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDataQualityScanResponse({}));
|
|
11280
|
+
}
|
|
11281
|
+
/**
|
|
11282
|
+
* 更新数据质量监控
|
|
11283
|
+
*
|
|
11284
|
+
* @param request - UpdateDataQualityScanRequest
|
|
11285
|
+
* @returns UpdateDataQualityScanResponse
|
|
11286
|
+
*/
|
|
11287
|
+
async updateDataQualityScan(request) {
|
|
11288
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11289
|
+
return await this.updateDataQualityScanWithOptions(request, runtime);
|
|
11290
|
+
}
|
|
11291
|
+
/**
|
|
11292
|
+
* 更新数据质量模板
|
|
11293
|
+
*
|
|
11294
|
+
* @param request - UpdateDataQualityTemplateRequest
|
|
11295
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11296
|
+
* @returns UpdateDataQualityTemplateResponse
|
|
11297
|
+
*/
|
|
11298
|
+
async updateDataQualityTemplateWithOptions(request, runtime) {
|
|
11299
|
+
request.validate();
|
|
11300
|
+
let query = {};
|
|
11301
|
+
if (!$dara.isNull(request.owner)) {
|
|
11302
|
+
query["Owner"] = request.owner;
|
|
11303
|
+
}
|
|
11304
|
+
let body = {};
|
|
11305
|
+
if (!$dara.isNull(request.id)) {
|
|
11306
|
+
body["Id"] = request.id;
|
|
11307
|
+
}
|
|
11308
|
+
if (!$dara.isNull(request.projectId)) {
|
|
11309
|
+
body["ProjectId"] = request.projectId;
|
|
11310
|
+
}
|
|
11311
|
+
if (!$dara.isNull(request.spec)) {
|
|
11312
|
+
body["Spec"] = request.spec;
|
|
11313
|
+
}
|
|
11314
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11315
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11316
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
11317
|
+
});
|
|
11318
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11319
|
+
action: "UpdateDataQualityTemplate",
|
|
11320
|
+
version: "2024-05-18",
|
|
11321
|
+
protocol: "HTTPS",
|
|
11322
|
+
pathname: "/",
|
|
11323
|
+
method: "POST",
|
|
11324
|
+
authType: "AK",
|
|
11325
|
+
style: "RPC",
|
|
11326
|
+
reqBodyType: "formData",
|
|
11327
|
+
bodyType: "json",
|
|
11328
|
+
});
|
|
11329
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDataQualityTemplateResponse({}));
|
|
11330
|
+
}
|
|
11331
|
+
/**
|
|
11332
|
+
* 更新数据质量模板
|
|
11333
|
+
*
|
|
11334
|
+
* @param request - UpdateDataQualityTemplateRequest
|
|
11335
|
+
* @returns UpdateDataQualityTemplateResponse
|
|
11336
|
+
*/
|
|
11337
|
+
async updateDataQualityTemplate(request) {
|
|
11338
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11339
|
+
return await this.updateDataQualityTemplateWithOptions(request, runtime);
|
|
11340
|
+
}
|
|
10369
11341
|
/**
|
|
10370
11342
|
* Modifies a data source by ID.
|
|
10371
11343
|
*
|