@alicloud/dataworks-public20240518 7.2.5 → 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 +1106 -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/CreateFileRequest.d.ts +3 -0
- package/dist/models/CreateFileRequest.js.map +1 -1
- package/dist/models/CreateWorkflowInstancesRequest.d.ts +16 -0
- package/dist/models/CreateWorkflowInstancesRequest.js +29 -1
- package/dist/models/CreateWorkflowInstancesRequest.js.map +1 -1
- package/dist/models/CreateWorkflowInstancesShrinkRequest.d.ts +2 -0
- package/dist/models/CreateWorkflowInstancesShrinkRequest.js +4 -0
- package/dist/models/CreateWorkflowInstancesShrinkRequest.js.map +1 -1
- 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/ListDeploymentPackageFilesResponseBody.d.ts +17 -11
- package/dist/models/ListDeploymentPackageFilesResponseBody.js.map +1 -1
- package/dist/models/ListResourceGroupsRequest.d.ts +1 -1
- package/dist/models/ListResourceGroupsResponseBody.d.ts +5 -5
- package/dist/models/ListResourceGroupsShrinkRequest.d.ts +1 -1
- 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/UpdateTaskRequest.d.ts +0 -14
- package/dist/models/UpdateTaskRequest.js.map +1 -1
- package/dist/models/UpdateTaskShrinkRequest.d.ts +0 -10
- package/dist/models/UpdateTaskShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +125 -0
- package/dist/models/model.js +281 -29
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1226 -112
- 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/CreateFileRequest.ts +3 -0
- package/src/models/CreateWorkflowInstancesRequest.ts +35 -0
- package/src/models/CreateWorkflowInstancesShrinkRequest.ts +6 -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/ListDeploymentPackageFilesResponseBody.ts +17 -11
- package/src/models/ListResourceGroupsRequest.ts +1 -1
- package/src/models/ListResourceGroupsResponseBody.ts +5 -5
- package/src/models/ListResourceGroupsShrinkRequest.ts +1 -1
- 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/UpdateTaskRequest.ts +0 -14
- package/src/models/UpdateTaskShrinkRequest.ts +0 -10
- package/src/models/model.ts +125 -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
|
*
|
|
@@ -2314,6 +2557,9 @@ class Client extends openapi_core_1.default {
|
|
|
2314
2557
|
if (!$dara.isNull(tmpReq.periods)) {
|
|
2315
2558
|
request.periodsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.periods, "Periods", "json");
|
|
2316
2559
|
}
|
|
2560
|
+
if (!$dara.isNull(tmpReq.tags)) {
|
|
2561
|
+
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
|
|
2562
|
+
}
|
|
2317
2563
|
let body = {};
|
|
2318
2564
|
if (!$dara.isNull(request.autoStartEnabled)) {
|
|
2319
2565
|
body["AutoStartEnabled"] = request.autoStartEnabled;
|
|
@@ -2336,6 +2582,12 @@ class Client extends openapi_core_1.default {
|
|
|
2336
2582
|
if (!$dara.isNull(request.projectId)) {
|
|
2337
2583
|
body["ProjectId"] = request.projectId;
|
|
2338
2584
|
}
|
|
2585
|
+
if (!$dara.isNull(request.tagCreationPolicy)) {
|
|
2586
|
+
body["TagCreationPolicy"] = request.tagCreationPolicy;
|
|
2587
|
+
}
|
|
2588
|
+
if (!$dara.isNull(request.tagsShrink)) {
|
|
2589
|
+
body["Tags"] = request.tagsShrink;
|
|
2590
|
+
}
|
|
2339
2591
|
if (!$dara.isNull(request.taskParameters)) {
|
|
2340
2592
|
body["TaskParameters"] = request.taskParameters;
|
|
2341
2593
|
}
|
|
@@ -2635,6 +2887,45 @@ class Client extends openapi_core_1.default {
|
|
|
2635
2887
|
let runtime = new $dara.RuntimeOptions({});
|
|
2636
2888
|
return await this.deleteDataAssetTagWithOptions(request, runtime);
|
|
2637
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
|
+
}
|
|
2638
2929
|
/**
|
|
2639
2930
|
* Deletes a data quality monitoring task.
|
|
2640
2931
|
*
|
|
@@ -2761,6 +3052,87 @@ class Client extends openapi_core_1.default {
|
|
|
2761
3052
|
let runtime = new $dara.RuntimeOptions({});
|
|
2762
3053
|
return await this.deleteDataQualityRuleTemplateWithOptions(request, runtime);
|
|
2763
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
|
+
}
|
|
2764
3136
|
/**
|
|
2765
3137
|
* Removes a data source by ID.
|
|
2766
3138
|
*
|
|
@@ -4140,16 +4512,211 @@ class Client extends openapi_core_1.default {
|
|
|
4140
4512
|
*
|
|
4141
4513
|
* @param request - GetDIJobLogRequest
|
|
4142
4514
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4143
|
-
* @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
|
|
4144
4711
|
*/
|
|
4145
|
-
async
|
|
4712
|
+
async getDataQualityRuleTemplateWithOptions(request, runtime) {
|
|
4146
4713
|
request.validate();
|
|
4147
4714
|
let query = openapi_core_2.OpenApiUtil.query(request.toMap());
|
|
4148
4715
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4149
4716
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4150
4717
|
});
|
|
4151
4718
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4152
|
-
action: "
|
|
4719
|
+
action: "GetDataQualityRuleTemplate",
|
|
4153
4720
|
version: "2024-05-18",
|
|
4154
4721
|
protocol: "HTTPS",
|
|
4155
4722
|
pathname: "/",
|
|
@@ -4159,176 +4726,179 @@ class Client extends openapi_core_1.default {
|
|
|
4159
4726
|
reqBodyType: "formData",
|
|
4160
4727
|
bodyType: "json",
|
|
4161
4728
|
});
|
|
4162
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4729
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityRuleTemplateResponse({}));
|
|
4163
4730
|
}
|
|
4164
4731
|
/**
|
|
4165
|
-
*
|
|
4732
|
+
* Queries the information about a data quality monitoring rule template.
|
|
4166
4733
|
*
|
|
4167
4734
|
* @remarks
|
|
4168
4735
|
* This API operation is available for all DataWorks editions.
|
|
4169
4736
|
*
|
|
4170
|
-
* @param request -
|
|
4171
|
-
* @returns
|
|
4737
|
+
* @param request - GetDataQualityRuleTemplateRequest
|
|
4738
|
+
* @returns GetDataQualityRuleTemplateResponse
|
|
4172
4739
|
*/
|
|
4173
|
-
async
|
|
4740
|
+
async getDataQualityRuleTemplate(request) {
|
|
4174
4741
|
let runtime = new $dara.RuntimeOptions({});
|
|
4175
|
-
return await this.
|
|
4742
|
+
return await this.getDataQualityRuleTemplateWithOptions(request, runtime);
|
|
4176
4743
|
}
|
|
4177
4744
|
/**
|
|
4178
|
-
*
|
|
4745
|
+
* 获取数据质量监控详情
|
|
4179
4746
|
*
|
|
4180
|
-
* @param request -
|
|
4747
|
+
* @param request - GetDataQualityScanRequest
|
|
4181
4748
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4182
|
-
* @returns
|
|
4749
|
+
* @returns GetDataQualityScanResponse
|
|
4183
4750
|
*/
|
|
4184
|
-
async
|
|
4751
|
+
async getDataQualityScanWithOptions(request, runtime) {
|
|
4185
4752
|
request.validate();
|
|
4186
|
-
let query =
|
|
4753
|
+
let query = {};
|
|
4754
|
+
if (!$dara.isNull(request.id)) {
|
|
4755
|
+
query["Id"] = request.id;
|
|
4756
|
+
}
|
|
4187
4757
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4188
4758
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4189
4759
|
});
|
|
4190
4760
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4191
|
-
action: "
|
|
4761
|
+
action: "GetDataQualityScan",
|
|
4192
4762
|
version: "2024-05-18",
|
|
4193
4763
|
protocol: "HTTPS",
|
|
4194
4764
|
pathname: "/",
|
|
4195
|
-
method: "
|
|
4765
|
+
method: "POST",
|
|
4196
4766
|
authType: "AK",
|
|
4197
4767
|
style: "RPC",
|
|
4198
4768
|
reqBodyType: "formData",
|
|
4199
4769
|
bodyType: "json",
|
|
4200
4770
|
});
|
|
4201
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4771
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityScanResponse({}));
|
|
4202
4772
|
}
|
|
4203
4773
|
/**
|
|
4204
|
-
*
|
|
4774
|
+
* 获取数据质量监控详情
|
|
4205
4775
|
*
|
|
4206
|
-
* @param request -
|
|
4207
|
-
* @returns
|
|
4776
|
+
* @param request - GetDataQualityScanRequest
|
|
4777
|
+
* @returns GetDataQualityScanResponse
|
|
4208
4778
|
*/
|
|
4209
|
-
async
|
|
4779
|
+
async getDataQualityScan(request) {
|
|
4210
4780
|
let runtime = new $dara.RuntimeOptions({});
|
|
4211
|
-
return await this.
|
|
4781
|
+
return await this.getDataQualityScanWithOptions(request, runtime);
|
|
4212
4782
|
}
|
|
4213
4783
|
/**
|
|
4214
|
-
*
|
|
4784
|
+
* 创建数据质量监控运行实例
|
|
4215
4785
|
*
|
|
4216
|
-
* @param request -
|
|
4786
|
+
* @param request - GetDataQualityScanRunRequest
|
|
4217
4787
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4218
|
-
* @returns
|
|
4788
|
+
* @returns GetDataQualityScanRunResponse
|
|
4219
4789
|
*/
|
|
4220
|
-
async
|
|
4790
|
+
async getDataQualityScanRunWithOptions(request, runtime) {
|
|
4221
4791
|
request.validate();
|
|
4222
|
-
let query =
|
|
4792
|
+
let query = {};
|
|
4793
|
+
if (!$dara.isNull(request.id)) {
|
|
4794
|
+
query["Id"] = request.id;
|
|
4795
|
+
}
|
|
4223
4796
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4224
4797
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4225
4798
|
});
|
|
4226
4799
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4227
|
-
action: "
|
|
4800
|
+
action: "GetDataQualityScanRun",
|
|
4228
4801
|
version: "2024-05-18",
|
|
4229
4802
|
protocol: "HTTPS",
|
|
4230
4803
|
pathname: "/",
|
|
4231
|
-
method: "
|
|
4804
|
+
method: "POST",
|
|
4232
4805
|
authType: "AK",
|
|
4233
4806
|
style: "RPC",
|
|
4234
4807
|
reqBodyType: "formData",
|
|
4235
4808
|
bodyType: "json",
|
|
4236
4809
|
});
|
|
4237
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4810
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityScanRunResponse({}));
|
|
4238
4811
|
}
|
|
4239
4812
|
/**
|
|
4240
|
-
*
|
|
4813
|
+
* 创建数据质量监控运行实例
|
|
4241
4814
|
*
|
|
4242
|
-
* @param request -
|
|
4243
|
-
* @returns
|
|
4815
|
+
* @param request - GetDataQualityScanRunRequest
|
|
4816
|
+
* @returns GetDataQualityScanRunResponse
|
|
4244
4817
|
*/
|
|
4245
|
-
async
|
|
4818
|
+
async getDataQualityScanRun(request) {
|
|
4246
4819
|
let runtime = new $dara.RuntimeOptions({});
|
|
4247
|
-
return await this.
|
|
4820
|
+
return await this.getDataQualityScanRunWithOptions(request, runtime);
|
|
4248
4821
|
}
|
|
4249
4822
|
/**
|
|
4250
|
-
*
|
|
4251
|
-
*
|
|
4252
|
-
* @remarks
|
|
4253
|
-
* This API operation is available for all DataWorks editions.
|
|
4823
|
+
* 创建数据质量监控运行实例
|
|
4254
4824
|
*
|
|
4255
|
-
* @param request -
|
|
4825
|
+
* @param request - GetDataQualityScanRunLogRequest
|
|
4256
4826
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4257
|
-
* @returns
|
|
4827
|
+
* @returns GetDataQualityScanRunLogResponse
|
|
4258
4828
|
*/
|
|
4259
|
-
async
|
|
4829
|
+
async getDataQualityScanRunLogWithOptions(request, runtime) {
|
|
4260
4830
|
request.validate();
|
|
4261
|
-
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
|
+
}
|
|
4262
4838
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4263
4839
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4264
4840
|
});
|
|
4265
4841
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4266
|
-
action: "
|
|
4842
|
+
action: "GetDataQualityScanRunLog",
|
|
4267
4843
|
version: "2024-05-18",
|
|
4268
4844
|
protocol: "HTTPS",
|
|
4269
4845
|
pathname: "/",
|
|
4270
|
-
method: "
|
|
4846
|
+
method: "POST",
|
|
4271
4847
|
authType: "AK",
|
|
4272
4848
|
style: "RPC",
|
|
4273
4849
|
reqBodyType: "formData",
|
|
4274
4850
|
bodyType: "json",
|
|
4275
4851
|
});
|
|
4276
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4852
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityScanRunLogResponse({}));
|
|
4277
4853
|
}
|
|
4278
4854
|
/**
|
|
4279
|
-
*
|
|
4855
|
+
* 创建数据质量监控运行实例
|
|
4280
4856
|
*
|
|
4281
|
-
* @
|
|
4282
|
-
*
|
|
4283
|
-
*
|
|
4284
|
-
* @param request - GetDataQualityRuleRequest
|
|
4285
|
-
* @returns GetDataQualityRuleResponse
|
|
4857
|
+
* @param request - GetDataQualityScanRunLogRequest
|
|
4858
|
+
* @returns GetDataQualityScanRunLogResponse
|
|
4286
4859
|
*/
|
|
4287
|
-
async
|
|
4860
|
+
async getDataQualityScanRunLog(request) {
|
|
4288
4861
|
let runtime = new $dara.RuntimeOptions({});
|
|
4289
|
-
return await this.
|
|
4862
|
+
return await this.getDataQualityScanRunLogWithOptions(request, runtime);
|
|
4290
4863
|
}
|
|
4291
4864
|
/**
|
|
4292
|
-
*
|
|
4865
|
+
* 查询数据质量模板详情
|
|
4293
4866
|
*
|
|
4294
|
-
* @
|
|
4295
|
-
* This API operation is available for all DataWorks editions.
|
|
4296
|
-
*
|
|
4297
|
-
* @param request - GetDataQualityRuleTemplateRequest
|
|
4867
|
+
* @param request - GetDataQualityTemplateRequest
|
|
4298
4868
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4299
|
-
* @returns
|
|
4869
|
+
* @returns GetDataQualityTemplateResponse
|
|
4300
4870
|
*/
|
|
4301
|
-
async
|
|
4871
|
+
async getDataQualityTemplateWithOptions(request, runtime) {
|
|
4302
4872
|
request.validate();
|
|
4303
|
-
let query =
|
|
4873
|
+
let query = {};
|
|
4874
|
+
if (!$dara.isNull(request.id)) {
|
|
4875
|
+
query["Id"] = request.id;
|
|
4876
|
+
}
|
|
4304
4877
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4305
4878
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4306
4879
|
});
|
|
4307
4880
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4308
|
-
action: "
|
|
4881
|
+
action: "GetDataQualityTemplate",
|
|
4309
4882
|
version: "2024-05-18",
|
|
4310
4883
|
protocol: "HTTPS",
|
|
4311
4884
|
pathname: "/",
|
|
4312
|
-
method: "
|
|
4885
|
+
method: "POST",
|
|
4313
4886
|
authType: "AK",
|
|
4314
4887
|
style: "RPC",
|
|
4315
4888
|
reqBodyType: "formData",
|
|
4316
4889
|
bodyType: "json",
|
|
4317
4890
|
});
|
|
4318
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4891
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataQualityTemplateResponse({}));
|
|
4319
4892
|
}
|
|
4320
4893
|
/**
|
|
4321
|
-
*
|
|
4894
|
+
* 查询数据质量模板详情
|
|
4322
4895
|
*
|
|
4323
|
-
* @
|
|
4324
|
-
*
|
|
4325
|
-
*
|
|
4326
|
-
* @param request - GetDataQualityRuleTemplateRequest
|
|
4327
|
-
* @returns GetDataQualityRuleTemplateResponse
|
|
4896
|
+
* @param request - GetDataQualityTemplateRequest
|
|
4897
|
+
* @returns GetDataQualityTemplateResponse
|
|
4328
4898
|
*/
|
|
4329
|
-
async
|
|
4899
|
+
async getDataQualityTemplate(request) {
|
|
4330
4900
|
let runtime = new $dara.RuntimeOptions({});
|
|
4331
|
-
return await this.
|
|
4901
|
+
return await this.getDataQualityTemplateWithOptions(request, runtime);
|
|
4332
4902
|
}
|
|
4333
4903
|
/**
|
|
4334
4904
|
* Queries a data source by ID.
|
|
@@ -6347,6 +6917,57 @@ class Client extends openapi_core_1.default {
|
|
|
6347
6917
|
let runtime = new $dara.RuntimeOptions({});
|
|
6348
6918
|
return await this.listDataAssetsWithOptions(request, runtime);
|
|
6349
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
|
+
}
|
|
6350
6971
|
/**
|
|
6351
6972
|
* Queries a list of instances generated by a data quality monitoring task by page.
|
|
6352
6973
|
*
|
|
@@ -6419,133 +7040,298 @@ class Client extends openapi_core_1.default {
|
|
|
6419
7040
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityEvaluationTasksResponse({}));
|
|
6420
7041
|
}
|
|
6421
7042
|
/**
|
|
6422
|
-
* 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.
|
|
6423
7160
|
*
|
|
6424
7161
|
* @remarks
|
|
6425
7162
|
* This API operation is available for all DataWorks editions.
|
|
6426
7163
|
*
|
|
6427
|
-
* @param request -
|
|
6428
|
-
* @returns
|
|
7164
|
+
* @param request - ListDataQualityRulesRequest
|
|
7165
|
+
* @returns ListDataQualityRulesResponse
|
|
6429
7166
|
*/
|
|
6430
|
-
async
|
|
7167
|
+
async listDataQualityRules(request) {
|
|
6431
7168
|
let runtime = new $dara.RuntimeOptions({});
|
|
6432
|
-
return await this.
|
|
7169
|
+
return await this.listDataQualityRulesWithOptions(request, runtime);
|
|
6433
7170
|
}
|
|
6434
7171
|
/**
|
|
6435
|
-
*
|
|
6436
|
-
* This API operation is available for all DataWorks editions.
|
|
7172
|
+
* 查询数据质量监控运行实例列表
|
|
6437
7173
|
*
|
|
6438
|
-
* @param request -
|
|
7174
|
+
* @param request - ListDataQualityScanRunsRequest
|
|
6439
7175
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6440
|
-
* @returns
|
|
7176
|
+
* @returns ListDataQualityScanRunsResponse
|
|
6441
7177
|
*/
|
|
6442
|
-
async
|
|
7178
|
+
async listDataQualityScanRunsWithOptions(request, runtime) {
|
|
6443
7179
|
request.validate();
|
|
6444
|
-
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
|
+
}
|
|
6445
7205
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6446
7206
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6447
7207
|
});
|
|
6448
7208
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6449
|
-
action: "
|
|
7209
|
+
action: "ListDataQualityScanRuns",
|
|
6450
7210
|
version: "2024-05-18",
|
|
6451
7211
|
protocol: "HTTPS",
|
|
6452
7212
|
pathname: "/",
|
|
6453
|
-
method: "
|
|
7213
|
+
method: "POST",
|
|
6454
7214
|
authType: "AK",
|
|
6455
7215
|
style: "RPC",
|
|
6456
7216
|
reqBodyType: "formData",
|
|
6457
7217
|
bodyType: "json",
|
|
6458
7218
|
});
|
|
6459
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
7219
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityScanRunsResponse({}));
|
|
6460
7220
|
}
|
|
6461
7221
|
/**
|
|
6462
|
-
*
|
|
6463
|
-
* This API operation is available for all DataWorks editions.
|
|
7222
|
+
* 查询数据质量监控运行实例列表
|
|
6464
7223
|
*
|
|
6465
|
-
* @param request -
|
|
6466
|
-
* @returns
|
|
7224
|
+
* @param request - ListDataQualityScanRunsRequest
|
|
7225
|
+
* @returns ListDataQualityScanRunsResponse
|
|
6467
7226
|
*/
|
|
6468
|
-
async
|
|
7227
|
+
async listDataQualityScanRuns(request) {
|
|
6469
7228
|
let runtime = new $dara.RuntimeOptions({});
|
|
6470
|
-
return await this.
|
|
7229
|
+
return await this.listDataQualityScanRunsWithOptions(request, runtime);
|
|
6471
7230
|
}
|
|
6472
7231
|
/**
|
|
6473
|
-
*
|
|
7232
|
+
* 获取数据质量监控详情
|
|
6474
7233
|
*
|
|
6475
|
-
* @param request -
|
|
7234
|
+
* @param request - ListDataQualityScansRequest
|
|
6476
7235
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6477
|
-
* @returns
|
|
7236
|
+
* @returns ListDataQualityScansResponse
|
|
6478
7237
|
*/
|
|
6479
|
-
async
|
|
7238
|
+
async listDataQualityScansWithOptions(request, runtime) {
|
|
6480
7239
|
request.validate();
|
|
6481
|
-
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
|
+
}
|
|
6482
7259
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6483
7260
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6484
7261
|
});
|
|
6485
7262
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6486
|
-
action: "
|
|
7263
|
+
action: "ListDataQualityScans",
|
|
6487
7264
|
version: "2024-05-18",
|
|
6488
7265
|
protocol: "HTTPS",
|
|
6489
7266
|
pathname: "/",
|
|
6490
|
-
method: "
|
|
7267
|
+
method: "POST",
|
|
6491
7268
|
authType: "AK",
|
|
6492
7269
|
style: "RPC",
|
|
6493
7270
|
reqBodyType: "formData",
|
|
6494
7271
|
bodyType: "json",
|
|
6495
7272
|
});
|
|
6496
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
7273
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityScansResponse({}));
|
|
6497
7274
|
}
|
|
6498
7275
|
/**
|
|
6499
|
-
*
|
|
7276
|
+
* 获取数据质量监控详情
|
|
6500
7277
|
*
|
|
6501
|
-
* @param request -
|
|
6502
|
-
* @returns
|
|
7278
|
+
* @param request - ListDataQualityScansRequest
|
|
7279
|
+
* @returns ListDataQualityScansResponse
|
|
6503
7280
|
*/
|
|
6504
|
-
async
|
|
7281
|
+
async listDataQualityScans(request) {
|
|
6505
7282
|
let runtime = new $dara.RuntimeOptions({});
|
|
6506
|
-
return await this.
|
|
7283
|
+
return await this.listDataQualityScansWithOptions(request, runtime);
|
|
6507
7284
|
}
|
|
6508
7285
|
/**
|
|
6509
|
-
*
|
|
6510
|
-
*
|
|
6511
|
-
* @remarks
|
|
6512
|
-
* This API operation is available for all DataWorks editions.
|
|
7286
|
+
* 查询数据质量模板详情
|
|
6513
7287
|
*
|
|
6514
|
-
* @param request -
|
|
7288
|
+
* @param request - ListDataQualityTemplatesRequest
|
|
6515
7289
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
6516
|
-
* @returns
|
|
7290
|
+
* @returns ListDataQualityTemplatesResponse
|
|
6517
7291
|
*/
|
|
6518
|
-
async
|
|
7292
|
+
async listDataQualityTemplatesWithOptions(request, runtime) {
|
|
6519
7293
|
request.validate();
|
|
6520
|
-
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
|
+
}
|
|
6521
7310
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6522
7311
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6523
7312
|
});
|
|
6524
7313
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6525
|
-
action: "
|
|
7314
|
+
action: "ListDataQualityTemplates",
|
|
6526
7315
|
version: "2024-05-18",
|
|
6527
7316
|
protocol: "HTTPS",
|
|
6528
7317
|
pathname: "/",
|
|
6529
|
-
method: "
|
|
7318
|
+
method: "POST",
|
|
6530
7319
|
authType: "AK",
|
|
6531
7320
|
style: "RPC",
|
|
6532
7321
|
reqBodyType: "formData",
|
|
6533
7322
|
bodyType: "json",
|
|
6534
7323
|
});
|
|
6535
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
7324
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataQualityTemplatesResponse({}));
|
|
6536
7325
|
}
|
|
6537
7326
|
/**
|
|
6538
|
-
*
|
|
7327
|
+
* 查询数据质量模板详情
|
|
6539
7328
|
*
|
|
6540
|
-
* @
|
|
6541
|
-
*
|
|
6542
|
-
*
|
|
6543
|
-
* @param request - ListDataQualityRulesRequest
|
|
6544
|
-
* @returns ListDataQualityRulesResponse
|
|
7329
|
+
* @param request - ListDataQualityTemplatesRequest
|
|
7330
|
+
* @returns ListDataQualityTemplatesResponse
|
|
6545
7331
|
*/
|
|
6546
|
-
async
|
|
7332
|
+
async listDataQualityTemplates(request) {
|
|
6547
7333
|
let runtime = new $dara.RuntimeOptions({});
|
|
6548
|
-
return await this.
|
|
7334
|
+
return await this.listDataQualityTemplatesWithOptions(request, runtime);
|
|
6549
7335
|
}
|
|
6550
7336
|
/**
|
|
6551
7337
|
* Queries a list of sharing rules of a data source.
|
|
@@ -10122,6 +10908,65 @@ class Client extends openapi_core_1.default {
|
|
|
10122
10908
|
let runtime = new $dara.RuntimeOptions({});
|
|
10123
10909
|
return await this.updateDataAssetTagWithOptions(request, runtime);
|
|
10124
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
|
+
}
|
|
10125
10970
|
/**
|
|
10126
10971
|
* Updates a monitor.
|
|
10127
10972
|
*
|
|
@@ -10357,6 +11202,142 @@ class Client extends openapi_core_1.default {
|
|
|
10357
11202
|
let runtime = new $dara.RuntimeOptions({});
|
|
10358
11203
|
return await this.updateDataQualityRuleTemplateWithOptions(request, runtime);
|
|
10359
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
|
+
}
|
|
10360
11341
|
/**
|
|
10361
11342
|
* Modifies a data source by ID.
|
|
10362
11343
|
*
|