@alicloud/dataworks-public20200518 4.4.3 → 4.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +49 -0
- package/dist/client.js +104 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +129 -0
package/dist/client.d.ts
CHANGED
|
@@ -9887,6 +9887,53 @@ export declare class RunTriggerNodeResponse extends $tea.Model {
|
|
|
9887
9887
|
[key: string]: any;
|
|
9888
9888
|
});
|
|
9889
9889
|
}
|
|
9890
|
+
export declare class SaveDataServiceApiTestResultRequest extends $tea.Model {
|
|
9891
|
+
apiId?: number;
|
|
9892
|
+
autoGenerate?: boolean;
|
|
9893
|
+
failResultSample?: string;
|
|
9894
|
+
projectId?: number;
|
|
9895
|
+
resultSample?: string;
|
|
9896
|
+
static names(): {
|
|
9897
|
+
[key: string]: string;
|
|
9898
|
+
};
|
|
9899
|
+
static types(): {
|
|
9900
|
+
[key: string]: any;
|
|
9901
|
+
};
|
|
9902
|
+
constructor(map?: {
|
|
9903
|
+
[key: string]: any;
|
|
9904
|
+
});
|
|
9905
|
+
}
|
|
9906
|
+
export declare class SaveDataServiceApiTestResultResponseBody extends $tea.Model {
|
|
9907
|
+
data?: boolean;
|
|
9908
|
+
httpStatusCode?: number;
|
|
9909
|
+
requestId?: string;
|
|
9910
|
+
success?: boolean;
|
|
9911
|
+
static names(): {
|
|
9912
|
+
[key: string]: string;
|
|
9913
|
+
};
|
|
9914
|
+
static types(): {
|
|
9915
|
+
[key: string]: any;
|
|
9916
|
+
};
|
|
9917
|
+
constructor(map?: {
|
|
9918
|
+
[key: string]: any;
|
|
9919
|
+
});
|
|
9920
|
+
}
|
|
9921
|
+
export declare class SaveDataServiceApiTestResultResponse extends $tea.Model {
|
|
9922
|
+
headers: {
|
|
9923
|
+
[key: string]: string;
|
|
9924
|
+
};
|
|
9925
|
+
statusCode: number;
|
|
9926
|
+
body: SaveDataServiceApiTestResultResponseBody;
|
|
9927
|
+
static names(): {
|
|
9928
|
+
[key: string]: string;
|
|
9929
|
+
};
|
|
9930
|
+
static types(): {
|
|
9931
|
+
[key: string]: any;
|
|
9932
|
+
};
|
|
9933
|
+
constructor(map?: {
|
|
9934
|
+
[key: string]: any;
|
|
9935
|
+
});
|
|
9936
|
+
}
|
|
9890
9937
|
export declare class ScanSensitiveDataRequest extends $tea.Model {
|
|
9891
9938
|
data?: string;
|
|
9892
9939
|
static names(): {
|
|
@@ -18933,6 +18980,8 @@ export default class Client extends OpenApi {
|
|
|
18933
18980
|
runSmokeTest(request: RunSmokeTestRequest): Promise<RunSmokeTestResponse>;
|
|
18934
18981
|
runTriggerNodeWithOptions(request: RunTriggerNodeRequest, runtime: $Util.RuntimeOptions): Promise<RunTriggerNodeResponse>;
|
|
18935
18982
|
runTriggerNode(request: RunTriggerNodeRequest): Promise<RunTriggerNodeResponse>;
|
|
18983
|
+
saveDataServiceApiTestResultWithOptions(request: SaveDataServiceApiTestResultRequest, runtime: $Util.RuntimeOptions): Promise<SaveDataServiceApiTestResultResponse>;
|
|
18984
|
+
saveDataServiceApiTestResult(request: SaveDataServiceApiTestResultRequest): Promise<SaveDataServiceApiTestResultResponse>;
|
|
18936
18985
|
scanSensitiveDataWithOptions(request: ScanSensitiveDataRequest, runtime: $Util.RuntimeOptions): Promise<ScanSensitiveDataResponse>;
|
|
18937
18986
|
scanSensitiveData(request: ScanSensitiveDataRequest): Promise<ScanSensitiveDataResponse>;
|
|
18938
18987
|
/**
|
package/dist/client.js
CHANGED
|
@@ -13901,6 +13901,72 @@ class RunTriggerNodeResponse extends $tea.Model {
|
|
|
13901
13901
|
}
|
|
13902
13902
|
}
|
|
13903
13903
|
exports.RunTriggerNodeResponse = RunTriggerNodeResponse;
|
|
13904
|
+
class SaveDataServiceApiTestResultRequest extends $tea.Model {
|
|
13905
|
+
constructor(map) {
|
|
13906
|
+
super(map);
|
|
13907
|
+
}
|
|
13908
|
+
static names() {
|
|
13909
|
+
return {
|
|
13910
|
+
apiId: 'ApiId',
|
|
13911
|
+
autoGenerate: 'AutoGenerate',
|
|
13912
|
+
failResultSample: 'FailResultSample',
|
|
13913
|
+
projectId: 'ProjectId',
|
|
13914
|
+
resultSample: 'ResultSample',
|
|
13915
|
+
};
|
|
13916
|
+
}
|
|
13917
|
+
static types() {
|
|
13918
|
+
return {
|
|
13919
|
+
apiId: 'number',
|
|
13920
|
+
autoGenerate: 'boolean',
|
|
13921
|
+
failResultSample: 'string',
|
|
13922
|
+
projectId: 'number',
|
|
13923
|
+
resultSample: 'string',
|
|
13924
|
+
};
|
|
13925
|
+
}
|
|
13926
|
+
}
|
|
13927
|
+
exports.SaveDataServiceApiTestResultRequest = SaveDataServiceApiTestResultRequest;
|
|
13928
|
+
class SaveDataServiceApiTestResultResponseBody extends $tea.Model {
|
|
13929
|
+
constructor(map) {
|
|
13930
|
+
super(map);
|
|
13931
|
+
}
|
|
13932
|
+
static names() {
|
|
13933
|
+
return {
|
|
13934
|
+
data: 'Data',
|
|
13935
|
+
httpStatusCode: 'HttpStatusCode',
|
|
13936
|
+
requestId: 'RequestId',
|
|
13937
|
+
success: 'Success',
|
|
13938
|
+
};
|
|
13939
|
+
}
|
|
13940
|
+
static types() {
|
|
13941
|
+
return {
|
|
13942
|
+
data: 'boolean',
|
|
13943
|
+
httpStatusCode: 'number',
|
|
13944
|
+
requestId: 'string',
|
|
13945
|
+
success: 'boolean',
|
|
13946
|
+
};
|
|
13947
|
+
}
|
|
13948
|
+
}
|
|
13949
|
+
exports.SaveDataServiceApiTestResultResponseBody = SaveDataServiceApiTestResultResponseBody;
|
|
13950
|
+
class SaveDataServiceApiTestResultResponse extends $tea.Model {
|
|
13951
|
+
constructor(map) {
|
|
13952
|
+
super(map);
|
|
13953
|
+
}
|
|
13954
|
+
static names() {
|
|
13955
|
+
return {
|
|
13956
|
+
headers: 'headers',
|
|
13957
|
+
statusCode: 'statusCode',
|
|
13958
|
+
body: 'body',
|
|
13959
|
+
};
|
|
13960
|
+
}
|
|
13961
|
+
static types() {
|
|
13962
|
+
return {
|
|
13963
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
13964
|
+
statusCode: 'number',
|
|
13965
|
+
body: SaveDataServiceApiTestResultResponseBody,
|
|
13966
|
+
};
|
|
13967
|
+
}
|
|
13968
|
+
}
|
|
13969
|
+
exports.SaveDataServiceApiTestResultResponse = SaveDataServiceApiTestResultResponse;
|
|
13904
13970
|
class ScanSensitiveDataRequest extends $tea.Model {
|
|
13905
13971
|
constructor(map) {
|
|
13906
13972
|
super(map);
|
|
@@ -34174,6 +34240,44 @@ class Client extends openapi_client_1.default {
|
|
|
34174
34240
|
let runtime = new $Util.RuntimeOptions({});
|
|
34175
34241
|
return await this.runTriggerNodeWithOptions(request, runtime);
|
|
34176
34242
|
}
|
|
34243
|
+
async saveDataServiceApiTestResultWithOptions(request, runtime) {
|
|
34244
|
+
tea_util_1.default.validateModel(request);
|
|
34245
|
+
let body = {};
|
|
34246
|
+
if (!tea_util_1.default.isUnset(request.apiId)) {
|
|
34247
|
+
body["ApiId"] = request.apiId;
|
|
34248
|
+
}
|
|
34249
|
+
if (!tea_util_1.default.isUnset(request.autoGenerate)) {
|
|
34250
|
+
body["AutoGenerate"] = request.autoGenerate;
|
|
34251
|
+
}
|
|
34252
|
+
if (!tea_util_1.default.isUnset(request.failResultSample)) {
|
|
34253
|
+
body["FailResultSample"] = request.failResultSample;
|
|
34254
|
+
}
|
|
34255
|
+
if (!tea_util_1.default.isUnset(request.projectId)) {
|
|
34256
|
+
body["ProjectId"] = request.projectId;
|
|
34257
|
+
}
|
|
34258
|
+
if (!tea_util_1.default.isUnset(request.resultSample)) {
|
|
34259
|
+
body["ResultSample"] = request.resultSample;
|
|
34260
|
+
}
|
|
34261
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
34262
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
34263
|
+
});
|
|
34264
|
+
let params = new $OpenApi.Params({
|
|
34265
|
+
action: "SaveDataServiceApiTestResult",
|
|
34266
|
+
version: "2020-05-18",
|
|
34267
|
+
protocol: "HTTPS",
|
|
34268
|
+
pathname: "/",
|
|
34269
|
+
method: "POST",
|
|
34270
|
+
authType: "AK",
|
|
34271
|
+
style: "RPC",
|
|
34272
|
+
reqBodyType: "formData",
|
|
34273
|
+
bodyType: "json",
|
|
34274
|
+
});
|
|
34275
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SaveDataServiceApiTestResultResponse({}));
|
|
34276
|
+
}
|
|
34277
|
+
async saveDataServiceApiTestResult(request) {
|
|
34278
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
34279
|
+
return await this.saveDataServiceApiTestResultWithOptions(request, runtime);
|
|
34280
|
+
}
|
|
34177
34281
|
async scanSensitiveDataWithOptions(request, runtime) {
|
|
34178
34282
|
tea_util_1.default.validateModel(request);
|
|
34179
34283
|
let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
|