@alicloud/dataworks-public20200518 4.4.1 → 4.4.3
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 +435 -0
- package/dist/client.js +508 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +545 -0
package/src/client.ts
CHANGED
|
@@ -1370,8 +1370,10 @@ export class CreateDataServiceApiRequest extends $tea.Model {
|
|
|
1370
1370
|
protocols?: string;
|
|
1371
1371
|
registrationDetails?: string;
|
|
1372
1372
|
requestMethod?: number;
|
|
1373
|
+
resourceGroupId?: number;
|
|
1373
1374
|
responseContentType?: number;
|
|
1374
1375
|
scriptDetails?: string;
|
|
1376
|
+
sqlMode?: number;
|
|
1375
1377
|
tenantId?: number;
|
|
1376
1378
|
timeout?: number;
|
|
1377
1379
|
visibleRange?: number;
|
|
@@ -1388,8 +1390,10 @@ export class CreateDataServiceApiRequest extends $tea.Model {
|
|
|
1388
1390
|
protocols: 'Protocols',
|
|
1389
1391
|
registrationDetails: 'RegistrationDetails',
|
|
1390
1392
|
requestMethod: 'RequestMethod',
|
|
1393
|
+
resourceGroupId: 'ResourceGroupId',
|
|
1391
1394
|
responseContentType: 'ResponseContentType',
|
|
1392
1395
|
scriptDetails: 'ScriptDetails',
|
|
1396
|
+
sqlMode: 'SqlMode',
|
|
1393
1397
|
tenantId: 'TenantId',
|
|
1394
1398
|
timeout: 'Timeout',
|
|
1395
1399
|
visibleRange: 'VisibleRange',
|
|
@@ -1409,8 +1413,10 @@ export class CreateDataServiceApiRequest extends $tea.Model {
|
|
|
1409
1413
|
protocols: 'string',
|
|
1410
1414
|
registrationDetails: 'string',
|
|
1411
1415
|
requestMethod: 'number',
|
|
1416
|
+
resourceGroupId: 'number',
|
|
1412
1417
|
responseContentType: 'number',
|
|
1413
1418
|
scriptDetails: 'string',
|
|
1419
|
+
sqlMode: 'number',
|
|
1414
1420
|
tenantId: 'number',
|
|
1415
1421
|
timeout: 'number',
|
|
1416
1422
|
visibleRange: 'number',
|
|
@@ -16537,10 +16543,12 @@ export class ListTopicsResponse extends $tea.Model {
|
|
|
16537
16543
|
export class MountDirectoryRequest extends $tea.Model {
|
|
16538
16544
|
targetId?: string;
|
|
16539
16545
|
targetType?: string;
|
|
16546
|
+
targetUserId?: string;
|
|
16540
16547
|
static names(): { [key: string]: string } {
|
|
16541
16548
|
return {
|
|
16542
16549
|
targetId: 'TargetId',
|
|
16543
16550
|
targetType: 'TargetType',
|
|
16551
|
+
targetUserId: 'TargetUserId',
|
|
16544
16552
|
};
|
|
16545
16553
|
}
|
|
16546
16554
|
|
|
@@ -16548,6 +16556,7 @@ export class MountDirectoryRequest extends $tea.Model {
|
|
|
16548
16556
|
return {
|
|
16549
16557
|
targetId: 'string',
|
|
16550
16558
|
targetType: 'string',
|
|
16559
|
+
targetUserId: 'string',
|
|
16551
16560
|
};
|
|
16552
16561
|
}
|
|
16553
16562
|
|
|
@@ -18394,6 +18403,87 @@ export class StopInstanceResponse extends $tea.Model {
|
|
|
18394
18403
|
}
|
|
18395
18404
|
}
|
|
18396
18405
|
|
|
18406
|
+
export class SubmitDataServiceApiRequest extends $tea.Model {
|
|
18407
|
+
apiId?: number;
|
|
18408
|
+
projectId?: number;
|
|
18409
|
+
tenantId?: number;
|
|
18410
|
+
static names(): { [key: string]: string } {
|
|
18411
|
+
return {
|
|
18412
|
+
apiId: 'ApiId',
|
|
18413
|
+
projectId: 'ProjectId',
|
|
18414
|
+
tenantId: 'TenantId',
|
|
18415
|
+
};
|
|
18416
|
+
}
|
|
18417
|
+
|
|
18418
|
+
static types(): { [key: string]: any } {
|
|
18419
|
+
return {
|
|
18420
|
+
apiId: 'number',
|
|
18421
|
+
projectId: 'number',
|
|
18422
|
+
tenantId: 'number',
|
|
18423
|
+
};
|
|
18424
|
+
}
|
|
18425
|
+
|
|
18426
|
+
constructor(map?: { [key: string]: any }) {
|
|
18427
|
+
super(map);
|
|
18428
|
+
}
|
|
18429
|
+
}
|
|
18430
|
+
|
|
18431
|
+
export class SubmitDataServiceApiResponseBody extends $tea.Model {
|
|
18432
|
+
data?: boolean;
|
|
18433
|
+
errorCode?: string;
|
|
18434
|
+
httpStatusCode?: number;
|
|
18435
|
+
requestId?: string;
|
|
18436
|
+
success?: boolean;
|
|
18437
|
+
static names(): { [key: string]: string } {
|
|
18438
|
+
return {
|
|
18439
|
+
data: 'Data',
|
|
18440
|
+
errorCode: 'ErrorCode',
|
|
18441
|
+
httpStatusCode: 'HttpStatusCode',
|
|
18442
|
+
requestId: 'RequestId',
|
|
18443
|
+
success: 'Success',
|
|
18444
|
+
};
|
|
18445
|
+
}
|
|
18446
|
+
|
|
18447
|
+
static types(): { [key: string]: any } {
|
|
18448
|
+
return {
|
|
18449
|
+
data: 'boolean',
|
|
18450
|
+
errorCode: 'string',
|
|
18451
|
+
httpStatusCode: 'number',
|
|
18452
|
+
requestId: 'string',
|
|
18453
|
+
success: 'boolean',
|
|
18454
|
+
};
|
|
18455
|
+
}
|
|
18456
|
+
|
|
18457
|
+
constructor(map?: { [key: string]: any }) {
|
|
18458
|
+
super(map);
|
|
18459
|
+
}
|
|
18460
|
+
}
|
|
18461
|
+
|
|
18462
|
+
export class SubmitDataServiceApiResponse extends $tea.Model {
|
|
18463
|
+
headers: { [key: string]: string };
|
|
18464
|
+
statusCode: number;
|
|
18465
|
+
body: SubmitDataServiceApiResponseBody;
|
|
18466
|
+
static names(): { [key: string]: string } {
|
|
18467
|
+
return {
|
|
18468
|
+
headers: 'headers',
|
|
18469
|
+
statusCode: 'statusCode',
|
|
18470
|
+
body: 'body',
|
|
18471
|
+
};
|
|
18472
|
+
}
|
|
18473
|
+
|
|
18474
|
+
static types(): { [key: string]: any } {
|
|
18475
|
+
return {
|
|
18476
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18477
|
+
statusCode: 'number',
|
|
18478
|
+
body: SubmitDataServiceApiResponseBody,
|
|
18479
|
+
};
|
|
18480
|
+
}
|
|
18481
|
+
|
|
18482
|
+
constructor(map?: { [key: string]: any }) {
|
|
18483
|
+
super(map);
|
|
18484
|
+
}
|
|
18485
|
+
}
|
|
18486
|
+
|
|
18397
18487
|
export class SubmitFileRequest extends $tea.Model {
|
|
18398
18488
|
comment?: string;
|
|
18399
18489
|
fileId?: number;
|
|
@@ -18934,10 +19024,12 @@ export class TopTenErrorTimesInstanceResponse extends $tea.Model {
|
|
|
18934
19024
|
export class UmountDirectoryRequest extends $tea.Model {
|
|
18935
19025
|
targetId?: string;
|
|
18936
19026
|
targetType?: string;
|
|
19027
|
+
targetUserId?: string;
|
|
18937
19028
|
static names(): { [key: string]: string } {
|
|
18938
19029
|
return {
|
|
18939
19030
|
targetId: 'TargetId',
|
|
18940
19031
|
targetType: 'TargetType',
|
|
19032
|
+
targetUserId: 'TargetUserId',
|
|
18941
19033
|
};
|
|
18942
19034
|
}
|
|
18943
19035
|
|
|
@@ -18945,6 +19037,7 @@ export class UmountDirectoryRequest extends $tea.Model {
|
|
|
18945
19037
|
return {
|
|
18946
19038
|
targetId: 'string',
|
|
18947
19039
|
targetType: 'string',
|
|
19040
|
+
targetUserId: 'string',
|
|
18948
19041
|
};
|
|
18949
19042
|
}
|
|
18950
19043
|
|
|
@@ -19528,6 +19621,7 @@ export class UpdateDataServiceApiRequest extends $tea.Model {
|
|
|
19528
19621
|
protocols?: string;
|
|
19529
19622
|
registrationDetails?: string;
|
|
19530
19623
|
requestMethod?: number;
|
|
19624
|
+
resourceGroupId?: number;
|
|
19531
19625
|
responseContentType?: number;
|
|
19532
19626
|
scriptDetails?: string;
|
|
19533
19627
|
tenantId?: number;
|
|
@@ -19543,6 +19637,7 @@ export class UpdateDataServiceApiRequest extends $tea.Model {
|
|
|
19543
19637
|
protocols: 'Protocols',
|
|
19544
19638
|
registrationDetails: 'RegistrationDetails',
|
|
19545
19639
|
requestMethod: 'RequestMethod',
|
|
19640
|
+
resourceGroupId: 'ResourceGroupId',
|
|
19546
19641
|
responseContentType: 'ResponseContentType',
|
|
19547
19642
|
scriptDetails: 'ScriptDetails',
|
|
19548
19643
|
tenantId: 'TenantId',
|
|
@@ -19561,6 +19656,7 @@ export class UpdateDataServiceApiRequest extends $tea.Model {
|
|
|
19561
19656
|
protocols: 'string',
|
|
19562
19657
|
registrationDetails: 'string',
|
|
19563
19658
|
requestMethod: 'number',
|
|
19659
|
+
resourceGroupId: 'number',
|
|
19564
19660
|
responseContentType: 'number',
|
|
19565
19661
|
scriptDetails: 'string',
|
|
19566
19662
|
tenantId: 'number',
|
|
@@ -25706,11 +25802,13 @@ export class GetMetaTableIntroWikiResponseBodyData extends $tea.Model {
|
|
|
25706
25802
|
|
|
25707
25803
|
export class GetMetaTableLineageResponseBodyDataDataEntityList extends $tea.Model {
|
|
25708
25804
|
createTimestamp?: number;
|
|
25805
|
+
databaseName?: string;
|
|
25709
25806
|
tableGuid?: string;
|
|
25710
25807
|
tableName?: string;
|
|
25711
25808
|
static names(): { [key: string]: string } {
|
|
25712
25809
|
return {
|
|
25713
25810
|
createTimestamp: 'CreateTimestamp',
|
|
25811
|
+
databaseName: 'DatabaseName',
|
|
25714
25812
|
tableGuid: 'TableGuid',
|
|
25715
25813
|
tableName: 'TableName',
|
|
25716
25814
|
};
|
|
@@ -25719,6 +25817,7 @@ export class GetMetaTableLineageResponseBodyDataDataEntityList extends $tea.Mode
|
|
|
25719
25817
|
static types(): { [key: string]: any } {
|
|
25720
25818
|
return {
|
|
25721
25819
|
createTimestamp: 'number',
|
|
25820
|
+
databaseName: 'string',
|
|
25722
25821
|
tableGuid: 'string',
|
|
25723
25822
|
tableName: 'string',
|
|
25724
25823
|
};
|
|
@@ -26119,6 +26218,7 @@ export class GetNodeResponseBodyData extends $tea.Model {
|
|
|
26119
26218
|
description?: string;
|
|
26120
26219
|
dqcDescription?: string;
|
|
26121
26220
|
dqcType?: number;
|
|
26221
|
+
fileType?: number;
|
|
26122
26222
|
nodeId?: number;
|
|
26123
26223
|
nodeName?: string;
|
|
26124
26224
|
ownerId?: string;
|
|
@@ -26129,6 +26229,7 @@ export class GetNodeResponseBodyData extends $tea.Model {
|
|
|
26129
26229
|
relatedFlowId?: number;
|
|
26130
26230
|
repeatInterval?: number;
|
|
26131
26231
|
repeatability?: string;
|
|
26232
|
+
resGroupIdentifier?: string;
|
|
26132
26233
|
resGroupName?: string;
|
|
26133
26234
|
schedulerType?: string;
|
|
26134
26235
|
static names(): { [key: string]: string } {
|
|
@@ -26140,6 +26241,7 @@ export class GetNodeResponseBodyData extends $tea.Model {
|
|
|
26140
26241
|
description: 'Description',
|
|
26141
26242
|
dqcDescription: 'DqcDescription',
|
|
26142
26243
|
dqcType: 'DqcType',
|
|
26244
|
+
fileType: 'FileType',
|
|
26143
26245
|
nodeId: 'NodeId',
|
|
26144
26246
|
nodeName: 'NodeName',
|
|
26145
26247
|
ownerId: 'OwnerId',
|
|
@@ -26150,6 +26252,7 @@ export class GetNodeResponseBodyData extends $tea.Model {
|
|
|
26150
26252
|
relatedFlowId: 'RelatedFlowId',
|
|
26151
26253
|
repeatInterval: 'RepeatInterval',
|
|
26152
26254
|
repeatability: 'Repeatability',
|
|
26255
|
+
resGroupIdentifier: 'ResGroupIdentifier',
|
|
26153
26256
|
resGroupName: 'ResGroupName',
|
|
26154
26257
|
schedulerType: 'SchedulerType',
|
|
26155
26258
|
};
|
|
@@ -26164,6 +26267,7 @@ export class GetNodeResponseBodyData extends $tea.Model {
|
|
|
26164
26267
|
description: 'string',
|
|
26165
26268
|
dqcDescription: 'string',
|
|
26166
26269
|
dqcType: 'number',
|
|
26270
|
+
fileType: 'number',
|
|
26167
26271
|
nodeId: 'number',
|
|
26168
26272
|
nodeName: 'string',
|
|
26169
26273
|
ownerId: 'string',
|
|
@@ -26174,6 +26278,7 @@ export class GetNodeResponseBodyData extends $tea.Model {
|
|
|
26174
26278
|
relatedFlowId: 'number',
|
|
26175
26279
|
repeatInterval: 'number',
|
|
26176
26280
|
repeatability: 'string',
|
|
26281
|
+
resGroupIdentifier: 'string',
|
|
26177
26282
|
resGroupName: 'string',
|
|
26178
26283
|
schedulerType: 'string',
|
|
26179
26284
|
};
|
|
@@ -30907,6 +31012,7 @@ export class ListNodesResponseBodyDataNodes extends $tea.Model {
|
|
|
30907
31012
|
description?: string;
|
|
30908
31013
|
dqcDescription?: string;
|
|
30909
31014
|
dqcType?: number;
|
|
31015
|
+
fileType?: number;
|
|
30910
31016
|
nodeId?: number;
|
|
30911
31017
|
nodeName?: string;
|
|
30912
31018
|
ownerId?: string;
|
|
@@ -30917,6 +31023,7 @@ export class ListNodesResponseBodyDataNodes extends $tea.Model {
|
|
|
30917
31023
|
relatedFlowId?: number;
|
|
30918
31024
|
repeatInterval?: number;
|
|
30919
31025
|
repeatability?: boolean;
|
|
31026
|
+
resGroupIdentifier?: string;
|
|
30920
31027
|
resGroupName?: string;
|
|
30921
31028
|
schedulerType?: string;
|
|
30922
31029
|
static names(): { [key: string]: string } {
|
|
@@ -30928,6 +31035,7 @@ export class ListNodesResponseBodyDataNodes extends $tea.Model {
|
|
|
30928
31035
|
description: 'Description',
|
|
30929
31036
|
dqcDescription: 'DqcDescription',
|
|
30930
31037
|
dqcType: 'DqcType',
|
|
31038
|
+
fileType: 'FileType',
|
|
30931
31039
|
nodeId: 'NodeId',
|
|
30932
31040
|
nodeName: 'NodeName',
|
|
30933
31041
|
ownerId: 'OwnerId',
|
|
@@ -30938,6 +31046,7 @@ export class ListNodesResponseBodyDataNodes extends $tea.Model {
|
|
|
30938
31046
|
relatedFlowId: 'RelatedFlowId',
|
|
30939
31047
|
repeatInterval: 'RepeatInterval',
|
|
30940
31048
|
repeatability: 'Repeatability',
|
|
31049
|
+
resGroupIdentifier: 'ResGroupIdentifier',
|
|
30941
31050
|
resGroupName: 'ResGroupName',
|
|
30942
31051
|
schedulerType: 'SchedulerType',
|
|
30943
31052
|
};
|
|
@@ -30952,6 +31061,7 @@ export class ListNodesResponseBodyDataNodes extends $tea.Model {
|
|
|
30952
31061
|
description: 'string',
|
|
30953
31062
|
dqcDescription: 'string',
|
|
30954
31063
|
dqcType: 'number',
|
|
31064
|
+
fileType: 'number',
|
|
30955
31065
|
nodeId: 'number',
|
|
30956
31066
|
nodeName: 'string',
|
|
30957
31067
|
ownerId: 'string',
|
|
@@ -30962,6 +31072,7 @@ export class ListNodesResponseBodyDataNodes extends $tea.Model {
|
|
|
30962
31072
|
relatedFlowId: 'number',
|
|
30963
31073
|
repeatInterval: 'number',
|
|
30964
31074
|
repeatability: 'boolean',
|
|
31075
|
+
resGroupIdentifier: 'string',
|
|
30965
31076
|
resGroupName: 'string',
|
|
30966
31077
|
schedulerType: 'string',
|
|
30967
31078
|
};
|
|
@@ -33561,6 +33672,13 @@ export default class Client extends OpenApi {
|
|
|
33561
33672
|
return await this.addMetaCollectionEntityWithOptions(request, runtime);
|
|
33562
33673
|
}
|
|
33563
33674
|
|
|
33675
|
+
/**
|
|
33676
|
+
* For more information about how to add your Alibaba Cloud account or a RAM user as a member of a DataWorks workspace, see [Add a member to a DataWorks workspace](~~136941~~).
|
|
33677
|
+
*
|
|
33678
|
+
* @param request AddProjectMemberToRoleRequest
|
|
33679
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
33680
|
+
* @return AddProjectMemberToRoleResponse
|
|
33681
|
+
*/
|
|
33564
33682
|
async addProjectMemberToRoleWithOptions(request: AddProjectMemberToRoleRequest, runtime: $Util.RuntimeOptions): Promise<AddProjectMemberToRoleResponse> {
|
|
33565
33683
|
Util.validateModel(request);
|
|
33566
33684
|
let query = { };
|
|
@@ -33597,6 +33715,12 @@ export default class Client extends OpenApi {
|
|
|
33597
33715
|
return $tea.cast<AddProjectMemberToRoleResponse>(await this.callApi(params, req, runtime), new AddProjectMemberToRoleResponse({}));
|
|
33598
33716
|
}
|
|
33599
33717
|
|
|
33718
|
+
/**
|
|
33719
|
+
* For more information about how to add your Alibaba Cloud account or a RAM user as a member of a DataWorks workspace, see [Add a member to a DataWorks workspace](~~136941~~).
|
|
33720
|
+
*
|
|
33721
|
+
* @param request AddProjectMemberToRoleRequest
|
|
33722
|
+
* @return AddProjectMemberToRoleResponse
|
|
33723
|
+
*/
|
|
33600
33724
|
async addProjectMemberToRole(request: AddProjectMemberToRoleRequest): Promise<AddProjectMemberToRoleResponse> {
|
|
33601
33725
|
let runtime = new $Util.RuntimeOptions({ });
|
|
33602
33726
|
return await this.addProjectMemberToRoleWithOptions(request, runtime);
|
|
@@ -34014,6 +34138,13 @@ export default class Client extends OpenApi {
|
|
|
34014
34138
|
return await this.createConnectionWithOptions(request, runtime);
|
|
34015
34139
|
}
|
|
34016
34140
|
|
|
34141
|
+
/**
|
|
34142
|
+
* DataWorks allows you to use only the CreateDISyncTask operation to create a batch synchronization node in Data Integration. To create a real-time synchronization node or a synchronization solution, you must first call the [GenerateDISyncTaskConfigForCreating](~~383463~~) operation to generate the ID of an asynchronous thread and call the [QueryDISyncTaskConfigProcessResult](~~383465~~) operation to obtain the asynchronously generated parameters based on the ID. Then, you can call the CreateDISyncTask operation and use the parameters as request parameters to create a real-time synchronization node or a synchronization solution in Data Integration.
|
|
34143
|
+
*
|
|
34144
|
+
* @param request CreateDISyncTaskRequest
|
|
34145
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34146
|
+
* @return CreateDISyncTaskResponse
|
|
34147
|
+
*/
|
|
34017
34148
|
async createDISyncTaskWithOptions(request: CreateDISyncTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateDISyncTaskResponse> {
|
|
34018
34149
|
Util.validateModel(request);
|
|
34019
34150
|
let query = { };
|
|
@@ -34058,6 +34189,12 @@ export default class Client extends OpenApi {
|
|
|
34058
34189
|
return $tea.cast<CreateDISyncTaskResponse>(await this.callApi(params, req, runtime), new CreateDISyncTaskResponse({}));
|
|
34059
34190
|
}
|
|
34060
34191
|
|
|
34192
|
+
/**
|
|
34193
|
+
* DataWorks allows you to use only the CreateDISyncTask operation to create a batch synchronization node in Data Integration. To create a real-time synchronization node or a synchronization solution, you must first call the [GenerateDISyncTaskConfigForCreating](~~383463~~) operation to generate the ID of an asynchronous thread and call the [QueryDISyncTaskConfigProcessResult](~~383465~~) operation to obtain the asynchronously generated parameters based on the ID. Then, you can call the CreateDISyncTask operation and use the parameters as request parameters to create a real-time synchronization node or a synchronization solution in Data Integration.
|
|
34194
|
+
*
|
|
34195
|
+
* @param request CreateDISyncTaskRequest
|
|
34196
|
+
* @return CreateDISyncTaskResponse
|
|
34197
|
+
*/
|
|
34061
34198
|
async createDISyncTask(request: CreateDISyncTaskRequest): Promise<CreateDISyncTaskResponse> {
|
|
34062
34199
|
let runtime = new $Util.RuntimeOptions({ });
|
|
34063
34200
|
return await this.createDISyncTaskWithOptions(request, runtime);
|
|
@@ -34250,6 +34387,10 @@ export default class Client extends OpenApi {
|
|
|
34250
34387
|
body["RequestMethod"] = request.requestMethod;
|
|
34251
34388
|
}
|
|
34252
34389
|
|
|
34390
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
34391
|
+
body["ResourceGroupId"] = request.resourceGroupId;
|
|
34392
|
+
}
|
|
34393
|
+
|
|
34253
34394
|
if (!Util.isUnset(request.responseContentType)) {
|
|
34254
34395
|
body["ResponseContentType"] = request.responseContentType;
|
|
34255
34396
|
}
|
|
@@ -34258,6 +34399,10 @@ export default class Client extends OpenApi {
|
|
|
34258
34399
|
body["ScriptDetails"] = request.scriptDetails;
|
|
34259
34400
|
}
|
|
34260
34401
|
|
|
34402
|
+
if (!Util.isUnset(request.sqlMode)) {
|
|
34403
|
+
body["SqlMode"] = request.sqlMode;
|
|
34404
|
+
}
|
|
34405
|
+
|
|
34261
34406
|
if (!Util.isUnset(request.tenantId)) {
|
|
34262
34407
|
body["TenantId"] = request.tenantId;
|
|
34263
34408
|
}
|
|
@@ -34711,6 +34856,27 @@ export default class Client extends OpenApi {
|
|
|
34711
34856
|
return await this.createFolderWithOptions(request, runtime);
|
|
34712
34857
|
}
|
|
34713
34858
|
|
|
34859
|
+
/**
|
|
34860
|
+
* The import package must be uploaded. Example of the upload method:
|
|
34861
|
+
* Config config = new Config();
|
|
34862
|
+
* config.setAccessKeyId(accessId);
|
|
34863
|
+
* config.setAccessKeySecret(accessKey);
|
|
34864
|
+
* config.setEndpoint(popEndpoint);
|
|
34865
|
+
* config.setRegionId(regionId);
|
|
34866
|
+
* Client client = new Client(config);
|
|
34867
|
+
* CreateImportMigrationAdvanceRequest request = new CreateImportMigrationAdvanceRequest();
|
|
34868
|
+
* request.setName("test_migration_api\\_" + System.currentTimeMillis());
|
|
34869
|
+
* request.setProjectId(123456L);
|
|
34870
|
+
* request.setPackageType("DATAWORKS_MODEL");
|
|
34871
|
+
* request.setPackageFileObject(new FileInputStream("/home/admin/Downloads/test.zip"));
|
|
34872
|
+
* RuntimeOptions runtime = new RuntimeOptions();
|
|
34873
|
+
* CreateImportMigrationResponse response = client.createImportMigrationAdvance(request, runtime);
|
|
34874
|
+
* ...
|
|
34875
|
+
*
|
|
34876
|
+
* @param request CreateImportMigrationRequest
|
|
34877
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
34878
|
+
* @return CreateImportMigrationResponse
|
|
34879
|
+
*/
|
|
34714
34880
|
async createImportMigrationWithOptions(request: CreateImportMigrationRequest, runtime: $Util.RuntimeOptions): Promise<CreateImportMigrationResponse> {
|
|
34715
34881
|
Util.validateModel(request);
|
|
34716
34882
|
let body : {[key: string ]: any} = { };
|
|
@@ -34767,6 +34933,26 @@ export default class Client extends OpenApi {
|
|
|
34767
34933
|
return $tea.cast<CreateImportMigrationResponse>(await this.callApi(params, req, runtime), new CreateImportMigrationResponse({}));
|
|
34768
34934
|
}
|
|
34769
34935
|
|
|
34936
|
+
/**
|
|
34937
|
+
* The import package must be uploaded. Example of the upload method:
|
|
34938
|
+
* Config config = new Config();
|
|
34939
|
+
* config.setAccessKeyId(accessId);
|
|
34940
|
+
* config.setAccessKeySecret(accessKey);
|
|
34941
|
+
* config.setEndpoint(popEndpoint);
|
|
34942
|
+
* config.setRegionId(regionId);
|
|
34943
|
+
* Client client = new Client(config);
|
|
34944
|
+
* CreateImportMigrationAdvanceRequest request = new CreateImportMigrationAdvanceRequest();
|
|
34945
|
+
* request.setName("test_migration_api\\_" + System.currentTimeMillis());
|
|
34946
|
+
* request.setProjectId(123456L);
|
|
34947
|
+
* request.setPackageType("DATAWORKS_MODEL");
|
|
34948
|
+
* request.setPackageFileObject(new FileInputStream("/home/admin/Downloads/test.zip"));
|
|
34949
|
+
* RuntimeOptions runtime = new RuntimeOptions();
|
|
34950
|
+
* CreateImportMigrationResponse response = client.createImportMigrationAdvance(request, runtime);
|
|
34951
|
+
* ...
|
|
34952
|
+
*
|
|
34953
|
+
* @param request CreateImportMigrationRequest
|
|
34954
|
+
* @return CreateImportMigrationResponse
|
|
34955
|
+
*/
|
|
34770
34956
|
async createImportMigration(request: CreateImportMigrationRequest): Promise<CreateImportMigrationResponse> {
|
|
34771
34957
|
let runtime = new $Util.RuntimeOptions({ });
|
|
34772
34958
|
return await this.createImportMigrationWithOptions(request, runtime);
|
|
@@ -34955,6 +35141,13 @@ export default class Client extends OpenApi {
|
|
|
34955
35141
|
return await this.createMetaCategoryWithOptions(request, runtime);
|
|
34956
35142
|
}
|
|
34957
35143
|
|
|
35144
|
+
/**
|
|
35145
|
+
* Collections are classified into various types. The names of collections of the same type must be different.
|
|
35146
|
+
*
|
|
35147
|
+
* @param request CreateMetaCollectionRequest
|
|
35148
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
35149
|
+
* @return CreateMetaCollectionResponse
|
|
35150
|
+
*/
|
|
34958
35151
|
async createMetaCollectionWithOptions(request: CreateMetaCollectionRequest, runtime: $Util.RuntimeOptions): Promise<CreateMetaCollectionResponse> {
|
|
34959
35152
|
Util.validateModel(request);
|
|
34960
35153
|
let query = { };
|
|
@@ -34991,6 +35184,12 @@ export default class Client extends OpenApi {
|
|
|
34991
35184
|
return $tea.cast<CreateMetaCollectionResponse>(await this.callApi(params, req, runtime), new CreateMetaCollectionResponse({}));
|
|
34992
35185
|
}
|
|
34993
35186
|
|
|
35187
|
+
/**
|
|
35188
|
+
* Collections are classified into various types. The names of collections of the same type must be different.
|
|
35189
|
+
*
|
|
35190
|
+
* @param request CreateMetaCollectionRequest
|
|
35191
|
+
* @return CreateMetaCollectionResponse
|
|
35192
|
+
*/
|
|
34994
35193
|
async createMetaCollection(request: CreateMetaCollectionRequest): Promise<CreateMetaCollectionResponse> {
|
|
34995
35194
|
let runtime = new $Util.RuntimeOptions({ });
|
|
34996
35195
|
return await this.createMetaCollectionWithOptions(request, runtime);
|
|
@@ -36207,6 +36406,13 @@ export default class Client extends OpenApi {
|
|
|
36207
36406
|
return await this.deleteQualityEntityWithOptions(request, runtime);
|
|
36208
36407
|
}
|
|
36209
36408
|
|
|
36409
|
+
/**
|
|
36410
|
+
* In Data Quality, you must configure monitoring rules based on a partition filter expression. Data Quality uses these rules to detect changes in source data and dirty data generated during the process of extract, transformation, load (ETL). Thereby, Data Quality automatically blocks the nodes that involve dirty data to stop dirty data from spreading downstream. This prevents nodes from producing unexpected dirty data that affects normal use and business decisions. You can go to the Manage Subscriptions page to add subscribers for a partition filter expression. When the monitoring rule described by the partition filter expression is triggered, the subscribers can receive notifications and troubleshoot errors in a timely manner. For more information, see [Configure monitoring rules for MaxCompute](~~73690~~).
|
|
36411
|
+
*
|
|
36412
|
+
* @param request DeleteQualityFollowerRequest
|
|
36413
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
36414
|
+
* @return DeleteQualityFollowerResponse
|
|
36415
|
+
*/
|
|
36210
36416
|
async deleteQualityFollowerWithOptions(request: DeleteQualityFollowerRequest, runtime: $Util.RuntimeOptions): Promise<DeleteQualityFollowerResponse> {
|
|
36211
36417
|
Util.validateModel(request);
|
|
36212
36418
|
let body : {[key: string ]: any} = { };
|
|
@@ -36235,6 +36441,12 @@ export default class Client extends OpenApi {
|
|
|
36235
36441
|
return $tea.cast<DeleteQualityFollowerResponse>(await this.callApi(params, req, runtime), new DeleteQualityFollowerResponse({}));
|
|
36236
36442
|
}
|
|
36237
36443
|
|
|
36444
|
+
/**
|
|
36445
|
+
* In Data Quality, you must configure monitoring rules based on a partition filter expression. Data Quality uses these rules to detect changes in source data and dirty data generated during the process of extract, transformation, load (ETL). Thereby, Data Quality automatically blocks the nodes that involve dirty data to stop dirty data from spreading downstream. This prevents nodes from producing unexpected dirty data that affects normal use and business decisions. You can go to the Manage Subscriptions page to add subscribers for a partition filter expression. When the monitoring rule described by the partition filter expression is triggered, the subscribers can receive notifications and troubleshoot errors in a timely manner. For more information, see [Configure monitoring rules for MaxCompute](~~73690~~).
|
|
36446
|
+
*
|
|
36447
|
+
* @param request DeleteQualityFollowerRequest
|
|
36448
|
+
* @return DeleteQualityFollowerResponse
|
|
36449
|
+
*/
|
|
36238
36450
|
async deleteQualityFollower(request: DeleteQualityFollowerRequest): Promise<DeleteQualityFollowerResponse> {
|
|
36239
36451
|
let runtime = new $Util.RuntimeOptions({ });
|
|
36240
36452
|
return await this.deleteQualityFollowerWithOptions(request, runtime);
|
|
@@ -36647,6 +36859,14 @@ export default class Client extends OpenApi {
|
|
|
36647
36859
|
return await this.exportDataSourcesWithOptions(request, runtime);
|
|
36648
36860
|
}
|
|
36649
36861
|
|
|
36862
|
+
/**
|
|
36863
|
+
* DataWorks allows you to use only the [CreateDISyncTask](~~278725~~) operation to create a batch synchronization node in Data Integration. To create a real-time synchronization node or a synchronization solution, you must first call the [GenerateDISyncTaskConfigForCreating](~~383463~~) operation to generate the ID of an asynchronous thread and call the [QueryDISyncTaskConfigProcessResult](~~383465~~) operation to obtain the asynchronously generated parameters based on the ID. Then, you can call the [CreateDISyncTask](~~278725~~) operation and use the parameters as request parameters to create a real-time synchronization node or a synchronization solution in Data Integration.
|
|
36864
|
+
* DataWorks allows you to create real-time synchronization nodes and synchronization solutions in Data Integration only in asynchronous mode.
|
|
36865
|
+
*
|
|
36866
|
+
* @param request GenerateDISyncTaskConfigForCreatingRequest
|
|
36867
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
36868
|
+
* @return GenerateDISyncTaskConfigForCreatingResponse
|
|
36869
|
+
*/
|
|
36650
36870
|
async generateDISyncTaskConfigForCreatingWithOptions(request: GenerateDISyncTaskConfigForCreatingRequest, runtime: $Util.RuntimeOptions): Promise<GenerateDISyncTaskConfigForCreatingResponse> {
|
|
36651
36871
|
Util.validateModel(request);
|
|
36652
36872
|
let query = { };
|
|
@@ -36683,11 +36903,25 @@ export default class Client extends OpenApi {
|
|
|
36683
36903
|
return $tea.cast<GenerateDISyncTaskConfigForCreatingResponse>(await this.callApi(params, req, runtime), new GenerateDISyncTaskConfigForCreatingResponse({}));
|
|
36684
36904
|
}
|
|
36685
36905
|
|
|
36906
|
+
/**
|
|
36907
|
+
* DataWorks allows you to use only the [CreateDISyncTask](~~278725~~) operation to create a batch synchronization node in Data Integration. To create a real-time synchronization node or a synchronization solution, you must first call the [GenerateDISyncTaskConfigForCreating](~~383463~~) operation to generate the ID of an asynchronous thread and call the [QueryDISyncTaskConfigProcessResult](~~383465~~) operation to obtain the asynchronously generated parameters based on the ID. Then, you can call the [CreateDISyncTask](~~278725~~) operation and use the parameters as request parameters to create a real-time synchronization node or a synchronization solution in Data Integration.
|
|
36908
|
+
* DataWorks allows you to create real-time synchronization nodes and synchronization solutions in Data Integration only in asynchronous mode.
|
|
36909
|
+
*
|
|
36910
|
+
* @param request GenerateDISyncTaskConfigForCreatingRequest
|
|
36911
|
+
* @return GenerateDISyncTaskConfigForCreatingResponse
|
|
36912
|
+
*/
|
|
36686
36913
|
async generateDISyncTaskConfigForCreating(request: GenerateDISyncTaskConfigForCreatingRequest): Promise<GenerateDISyncTaskConfigForCreatingResponse> {
|
|
36687
36914
|
let runtime = new $Util.RuntimeOptions({ });
|
|
36688
36915
|
return await this.generateDISyncTaskConfigForCreatingWithOptions(request, runtime);
|
|
36689
36916
|
}
|
|
36690
36917
|
|
|
36918
|
+
/**
|
|
36919
|
+
* DataWorks allows you to use only the [UpdateDISyncTask](~~289109~~) operation to update a batch synchronization node in Data Integration. To update a real-time synchronization node or a synchronization solution, you must first call the GenerateDISyncTaskConfigForUpdating operation to generate the ID of an asynchronous thread and call the [QueryDISyncTaskConfigProcessResult](~~383465~~) operation to obtain the asynchronously generated parameters based on the ID. Then, you can call the UpdateDISyncTask operation and use the parameters as request parameters to update a real-time synchronization node or a synchronization solution in Data Integration. DataWorks allows you to update real-time synchronization nodes and synchronization solutions in Data Integration only in asynchronous mode.
|
|
36920
|
+
*
|
|
36921
|
+
* @param request GenerateDISyncTaskConfigForUpdatingRequest
|
|
36922
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
36923
|
+
* @return GenerateDISyncTaskConfigForUpdatingResponse
|
|
36924
|
+
*/
|
|
36691
36925
|
async generateDISyncTaskConfigForUpdatingWithOptions(request: GenerateDISyncTaskConfigForUpdatingRequest, runtime: $Util.RuntimeOptions): Promise<GenerateDISyncTaskConfigForUpdatingResponse> {
|
|
36692
36926
|
Util.validateModel(request);
|
|
36693
36927
|
let query = { };
|
|
@@ -36728,6 +36962,12 @@ export default class Client extends OpenApi {
|
|
|
36728
36962
|
return $tea.cast<GenerateDISyncTaskConfigForUpdatingResponse>(await this.callApi(params, req, runtime), new GenerateDISyncTaskConfigForUpdatingResponse({}));
|
|
36729
36963
|
}
|
|
36730
36964
|
|
|
36965
|
+
/**
|
|
36966
|
+
* DataWorks allows you to use only the [UpdateDISyncTask](~~289109~~) operation to update a batch synchronization node in Data Integration. To update a real-time synchronization node or a synchronization solution, you must first call the GenerateDISyncTaskConfigForUpdating operation to generate the ID of an asynchronous thread and call the [QueryDISyncTaskConfigProcessResult](~~383465~~) operation to obtain the asynchronously generated parameters based on the ID. Then, you can call the UpdateDISyncTask operation and use the parameters as request parameters to update a real-time synchronization node or a synchronization solution in Data Integration. DataWorks allows you to update real-time synchronization nodes and synchronization solutions in Data Integration only in asynchronous mode.
|
|
36967
|
+
*
|
|
36968
|
+
* @param request GenerateDISyncTaskConfigForUpdatingRequest
|
|
36969
|
+
* @return GenerateDISyncTaskConfigForUpdatingResponse
|
|
36970
|
+
*/
|
|
36731
36971
|
async generateDISyncTaskConfigForUpdating(request: GenerateDISyncTaskConfigForUpdatingRequest): Promise<GenerateDISyncTaskConfigForUpdatingResponse> {
|
|
36732
36972
|
let runtime = new $Util.RuntimeOptions({ });
|
|
36733
36973
|
return await this.generateDISyncTaskConfigForUpdatingWithOptions(request, runtime);
|
|
@@ -37005,6 +37245,22 @@ export default class Client extends OpenApi {
|
|
|
37005
37245
|
return await this.getDISyncTaskWithOptions(request, runtime);
|
|
37006
37246
|
}
|
|
37007
37247
|
|
|
37248
|
+
/**
|
|
37249
|
+
* Supported DAG types:
|
|
37250
|
+
* * MANUAL: the DAG for a manually triggered workflow.
|
|
37251
|
+
* * SMOKE_TEST: the DAG for a smoke testing workflow.
|
|
37252
|
+
* * SUPPLY_DATA: the DAG for a data backfill instance.
|
|
37253
|
+
* * BUSINESS_PROCESS_DAG: the DAG for a one-time workflow.
|
|
37254
|
+
* Supported DAG states:
|
|
37255
|
+
* * CREATED: The DAG is created.
|
|
37256
|
+
* * RUNNING: The DAG is running.
|
|
37257
|
+
* * FAILURE: The DAG fails to run.
|
|
37258
|
+
* * SUCCESS: The DAG successfully runs.
|
|
37259
|
+
*
|
|
37260
|
+
* @param request GetDagRequest
|
|
37261
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
37262
|
+
* @return GetDagResponse
|
|
37263
|
+
*/
|
|
37008
37264
|
async getDagWithOptions(request: GetDagRequest, runtime: $Util.RuntimeOptions): Promise<GetDagResponse> {
|
|
37009
37265
|
Util.validateModel(request);
|
|
37010
37266
|
let body : {[key: string ]: any} = { };
|
|
@@ -37033,6 +37289,21 @@ export default class Client extends OpenApi {
|
|
|
37033
37289
|
return $tea.cast<GetDagResponse>(await this.callApi(params, req, runtime), new GetDagResponse({}));
|
|
37034
37290
|
}
|
|
37035
37291
|
|
|
37292
|
+
/**
|
|
37293
|
+
* Supported DAG types:
|
|
37294
|
+
* * MANUAL: the DAG for a manually triggered workflow.
|
|
37295
|
+
* * SMOKE_TEST: the DAG for a smoke testing workflow.
|
|
37296
|
+
* * SUPPLY_DATA: the DAG for a data backfill instance.
|
|
37297
|
+
* * BUSINESS_PROCESS_DAG: the DAG for a one-time workflow.
|
|
37298
|
+
* Supported DAG states:
|
|
37299
|
+
* * CREATED: The DAG is created.
|
|
37300
|
+
* * RUNNING: The DAG is running.
|
|
37301
|
+
* * FAILURE: The DAG fails to run.
|
|
37302
|
+
* * SUCCESS: The DAG successfully runs.
|
|
37303
|
+
*
|
|
37304
|
+
* @param request GetDagRequest
|
|
37305
|
+
* @return GetDagResponse
|
|
37306
|
+
*/
|
|
37036
37307
|
async getDag(request: GetDagRequest): Promise<GetDagResponse> {
|
|
37037
37308
|
let runtime = new $Util.RuntimeOptions({ });
|
|
37038
37309
|
return await this.getDagWithOptions(request, runtime);
|
|
@@ -37725,6 +37996,13 @@ export default class Client extends OpenApi {
|
|
|
37725
37996
|
return await this.getInstanceErrorRankWithOptions(request, runtime);
|
|
37726
37997
|
}
|
|
37727
37998
|
|
|
37999
|
+
/**
|
|
38000
|
+
* You may not obtain the instance logs that were generated more than seven days ago.
|
|
38001
|
+
*
|
|
38002
|
+
* @param request GetInstanceLogRequest
|
|
38003
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
38004
|
+
* @return GetInstanceLogResponse
|
|
38005
|
+
*/
|
|
37728
38006
|
async getInstanceLogWithOptions(request: GetInstanceLogRequest, runtime: $Util.RuntimeOptions): Promise<GetInstanceLogResponse> {
|
|
37729
38007
|
Util.validateModel(request);
|
|
37730
38008
|
let body : {[key: string ]: any} = { };
|
|
@@ -37757,6 +38035,12 @@ export default class Client extends OpenApi {
|
|
|
37757
38035
|
return $tea.cast<GetInstanceLogResponse>(await this.callApi(params, req, runtime), new GetInstanceLogResponse({}));
|
|
37758
38036
|
}
|
|
37759
38037
|
|
|
38038
|
+
/**
|
|
38039
|
+
* You may not obtain the instance logs that were generated more than seven days ago.
|
|
38040
|
+
*
|
|
38041
|
+
* @param request GetInstanceLogRequest
|
|
38042
|
+
* @return GetInstanceLogResponse
|
|
38043
|
+
*/
|
|
37760
38044
|
async getInstanceLog(request: GetInstanceLogRequest): Promise<GetInstanceLogResponse> {
|
|
37761
38045
|
let runtime = new $Util.RuntimeOptions({ });
|
|
37762
38046
|
return await this.getInstanceLogWithOptions(request, runtime);
|
|
@@ -38038,6 +38322,13 @@ export default class Client extends OpenApi {
|
|
|
38038
38322
|
return await this.getMetaColumnLineageWithOptions(request, runtime);
|
|
38039
38323
|
}
|
|
38040
38324
|
|
|
38325
|
+
/**
|
|
38326
|
+
* You can call this operation to query only the basic metadata information about a MaxCompute or E-MapReduce (EMR) compute engine instance.
|
|
38327
|
+
*
|
|
38328
|
+
* @param request GetMetaDBInfoRequest
|
|
38329
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
38330
|
+
* @return GetMetaDBInfoResponse
|
|
38331
|
+
*/
|
|
38041
38332
|
async getMetaDBInfoWithOptions(request: GetMetaDBInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetMetaDBInfoResponse> {
|
|
38042
38333
|
Util.validateModel(request);
|
|
38043
38334
|
let query = OpenApiUtil.query(Util.toMap(request));
|
|
@@ -38058,6 +38349,12 @@ export default class Client extends OpenApi {
|
|
|
38058
38349
|
return $tea.cast<GetMetaDBInfoResponse>(await this.callApi(params, req, runtime), new GetMetaDBInfoResponse({}));
|
|
38059
38350
|
}
|
|
38060
38351
|
|
|
38352
|
+
/**
|
|
38353
|
+
* You can call this operation to query only the basic metadata information about a MaxCompute or E-MapReduce (EMR) compute engine instance.
|
|
38354
|
+
*
|
|
38355
|
+
* @param request GetMetaDBInfoRequest
|
|
38356
|
+
* @return GetMetaDBInfoResponse
|
|
38357
|
+
*/
|
|
38061
38358
|
async getMetaDBInfo(request: GetMetaDBInfoRequest): Promise<GetMetaDBInfoResponse> {
|
|
38062
38359
|
let runtime = new $Util.RuntimeOptions({ });
|
|
38063
38360
|
return await this.getMetaDBInfoWithOptions(request, runtime);
|
|
@@ -38417,6 +38714,13 @@ export default class Client extends OpenApi {
|
|
|
38417
38714
|
return await this.getMetaTableOutputWithOptions(request, runtime);
|
|
38418
38715
|
}
|
|
38419
38716
|
|
|
38717
|
+
/**
|
|
38718
|
+
* You can call this operation to query only the partitions of a metatable in a MaxCompute or E-MapReduce (EMR) compute engine instance.
|
|
38719
|
+
*
|
|
38720
|
+
* @param tmpReq GetMetaTablePartitionRequest
|
|
38721
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
38722
|
+
* @return GetMetaTablePartitionResponse
|
|
38723
|
+
*/
|
|
38420
38724
|
async getMetaTablePartitionWithOptions(tmpReq: GetMetaTablePartitionRequest, runtime: $Util.RuntimeOptions): Promise<GetMetaTablePartitionResponse> {
|
|
38421
38725
|
Util.validateModel(tmpReq);
|
|
38422
38726
|
let request = new GetMetaTablePartitionShrinkRequest({ });
|
|
@@ -38475,6 +38779,12 @@ export default class Client extends OpenApi {
|
|
|
38475
38779
|
return $tea.cast<GetMetaTablePartitionResponse>(await this.callApi(params, req, runtime), new GetMetaTablePartitionResponse({}));
|
|
38476
38780
|
}
|
|
38477
38781
|
|
|
38782
|
+
/**
|
|
38783
|
+
* You can call this operation to query only the partitions of a metatable in a MaxCompute or E-MapReduce (EMR) compute engine instance.
|
|
38784
|
+
*
|
|
38785
|
+
* @param request GetMetaTablePartitionRequest
|
|
38786
|
+
* @return GetMetaTablePartitionResponse
|
|
38787
|
+
*/
|
|
38478
38788
|
async getMetaTablePartition(request: GetMetaTablePartitionRequest): Promise<GetMetaTablePartitionResponse> {
|
|
38479
38789
|
let runtime = new $Util.RuntimeOptions({ });
|
|
38480
38790
|
return await this.getMetaTablePartitionWithOptions(request, runtime);
|
|
@@ -39321,6 +39631,15 @@ export default class Client extends OpenApi {
|
|
|
39321
39631
|
return await this.getTopicInfluenceWithOptions(request, runtime);
|
|
39322
39632
|
}
|
|
39323
39633
|
|
|
39634
|
+
/**
|
|
39635
|
+
* You can import self-managed data sources or data sources that are exported from other Dataworks workspaces to a specified DataWorks workspace.
|
|
39636
|
+
* * To import a self-managed data source to DataWorks, the data source type must be supported by DataWorks. For more information about the types of data sources supported by DataWorks, see [Supported data stores](~~181656~~).
|
|
39637
|
+
* * For more information about how to export data sources from DataWorks workspaces to on-premises devices, see [ExportDataSources](~~279570~~).
|
|
39638
|
+
*
|
|
39639
|
+
* @param request ImportDataSourcesRequest
|
|
39640
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
39641
|
+
* @return ImportDataSourcesResponse
|
|
39642
|
+
*/
|
|
39324
39643
|
async importDataSourcesWithOptions(request: ImportDataSourcesRequest, runtime: $Util.RuntimeOptions): Promise<ImportDataSourcesResponse> {
|
|
39325
39644
|
Util.validateModel(request);
|
|
39326
39645
|
let query = { };
|
|
@@ -39349,6 +39668,14 @@ export default class Client extends OpenApi {
|
|
|
39349
39668
|
return $tea.cast<ImportDataSourcesResponse>(await this.callApi(params, req, runtime), new ImportDataSourcesResponse({}));
|
|
39350
39669
|
}
|
|
39351
39670
|
|
|
39671
|
+
/**
|
|
39672
|
+
* You can import self-managed data sources or data sources that are exported from other Dataworks workspaces to a specified DataWorks workspace.
|
|
39673
|
+
* * To import a self-managed data source to DataWorks, the data source type must be supported by DataWorks. For more information about the types of data sources supported by DataWorks, see [Supported data stores](~~181656~~).
|
|
39674
|
+
* * For more information about how to export data sources from DataWorks workspaces to on-premises devices, see [ExportDataSources](~~279570~~).
|
|
39675
|
+
*
|
|
39676
|
+
* @param request ImportDataSourcesRequest
|
|
39677
|
+
* @return ImportDataSourcesResponse
|
|
39678
|
+
*/
|
|
39352
39679
|
async importDataSources(request: ImportDataSourcesRequest): Promise<ImportDataSourcesResponse> {
|
|
39353
39680
|
let runtime = new $Util.RuntimeOptions({ });
|
|
39354
39681
|
return await this.importDataSourcesWithOptions(request, runtime);
|
|
@@ -39728,6 +40055,13 @@ export default class Client extends OpenApi {
|
|
|
39728
40055
|
return await this.listConnectionsWithOptions(request, runtime);
|
|
39729
40056
|
}
|
|
39730
40057
|
|
|
40058
|
+
/**
|
|
40059
|
+
* DataWorks allows you to set the default global configuration for only the processing rules of DDL messages in sync solutions. After you configure the **processing rules of DDL messages** in sync solutions, the configuration is set as the default global configuration and applies to all real-time sync nodes. You can also modify the **processing rules of DDL messages** based on your business requirements. For more information, see [Sync solutions](~~199008~~).
|
|
40060
|
+
*
|
|
40061
|
+
* @param request ListDIProjectConfigRequest
|
|
40062
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
40063
|
+
* @return ListDIProjectConfigResponse
|
|
40064
|
+
*/
|
|
39731
40065
|
async listDIProjectConfigWithOptions(request: ListDIProjectConfigRequest, runtime: $Util.RuntimeOptions): Promise<ListDIProjectConfigResponse> {
|
|
39732
40066
|
Util.validateModel(request);
|
|
39733
40067
|
let query = { };
|
|
@@ -39760,11 +40094,33 @@ export default class Client extends OpenApi {
|
|
|
39760
40094
|
return $tea.cast<ListDIProjectConfigResponse>(await this.callApi(params, req, runtime), new ListDIProjectConfigResponse({}));
|
|
39761
40095
|
}
|
|
39762
40096
|
|
|
40097
|
+
/**
|
|
40098
|
+
* DataWorks allows you to set the default global configuration for only the processing rules of DDL messages in sync solutions. After you configure the **processing rules of DDL messages** in sync solutions, the configuration is set as the default global configuration and applies to all real-time sync nodes. You can also modify the **processing rules of DDL messages** based on your business requirements. For more information, see [Sync solutions](~~199008~~).
|
|
40099
|
+
*
|
|
40100
|
+
* @param request ListDIProjectConfigRequest
|
|
40101
|
+
* @return ListDIProjectConfigResponse
|
|
40102
|
+
*/
|
|
39763
40103
|
async listDIProjectConfig(request: ListDIProjectConfigRequest): Promise<ListDIProjectConfigResponse> {
|
|
39764
40104
|
let runtime = new $Util.RuntimeOptions({ });
|
|
39765
40105
|
return await this.listDIProjectConfigWithOptions(request, runtime);
|
|
39766
40106
|
}
|
|
39767
40107
|
|
|
40108
|
+
/**
|
|
40109
|
+
* Supported DAG types:
|
|
40110
|
+
* * MANUAL: the DAG for a manually triggered workflow.
|
|
40111
|
+
* * SMOKE_TEST: the DAG for a smoke testing workflow.
|
|
40112
|
+
* * SUPPLY_DATA: the DAG for a data backfill instance.
|
|
40113
|
+
* * BUSINESS_PROCESS_DAG: the DAG for a one-time workflow.
|
|
40114
|
+
* Supported DAG states:
|
|
40115
|
+
* * CREATED: The DAG is created.
|
|
40116
|
+
* * RUNNING: The DAG is running.
|
|
40117
|
+
* * FAILURE: The DAG fails to run.
|
|
40118
|
+
* * SUCCESS: The DAG successfully runs.
|
|
40119
|
+
*
|
|
40120
|
+
* @param request ListDagsRequest
|
|
40121
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
40122
|
+
* @return ListDagsResponse
|
|
40123
|
+
*/
|
|
39768
40124
|
async listDagsWithOptions(request: ListDagsRequest, runtime: $Util.RuntimeOptions): Promise<ListDagsResponse> {
|
|
39769
40125
|
Util.validateModel(request);
|
|
39770
40126
|
let body : {[key: string ]: any} = { };
|
|
@@ -39793,6 +40149,21 @@ export default class Client extends OpenApi {
|
|
|
39793
40149
|
return $tea.cast<ListDagsResponse>(await this.callApi(params, req, runtime), new ListDagsResponse({}));
|
|
39794
40150
|
}
|
|
39795
40151
|
|
|
40152
|
+
/**
|
|
40153
|
+
* Supported DAG types:
|
|
40154
|
+
* * MANUAL: the DAG for a manually triggered workflow.
|
|
40155
|
+
* * SMOKE_TEST: the DAG for a smoke testing workflow.
|
|
40156
|
+
* * SUPPLY_DATA: the DAG for a data backfill instance.
|
|
40157
|
+
* * BUSINESS_PROCESS_DAG: the DAG for a one-time workflow.
|
|
40158
|
+
* Supported DAG states:
|
|
40159
|
+
* * CREATED: The DAG is created.
|
|
40160
|
+
* * RUNNING: The DAG is running.
|
|
40161
|
+
* * FAILURE: The DAG fails to run.
|
|
40162
|
+
* * SUCCESS: The DAG successfully runs.
|
|
40163
|
+
*
|
|
40164
|
+
* @param request ListDagsRequest
|
|
40165
|
+
* @return ListDagsResponse
|
|
40166
|
+
*/
|
|
39796
40167
|
async listDags(request: ListDagsRequest): Promise<ListDagsResponse> {
|
|
39797
40168
|
let runtime = new $Util.RuntimeOptions({ });
|
|
39798
40169
|
return await this.listDagsWithOptions(request, runtime);
|
|
@@ -40808,6 +41179,13 @@ export default class Client extends OpenApi {
|
|
|
40808
41179
|
return await this.listMetaCollectionEntitiesWithOptions(request, runtime);
|
|
40809
41180
|
}
|
|
40810
41181
|
|
|
41182
|
+
/**
|
|
41183
|
+
* The type can be ALBUM or ALBUM_CATEGORY. ALBUM indicates data albums. ALBUM_CATEGORY indicates categories.
|
|
41184
|
+
*
|
|
41185
|
+
* @param request ListMetaCollectionsRequest
|
|
41186
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
41187
|
+
* @return ListMetaCollectionsResponse
|
|
41188
|
+
*/
|
|
40811
41189
|
async listMetaCollectionsWithOptions(request: ListMetaCollectionsRequest, runtime: $Util.RuntimeOptions): Promise<ListMetaCollectionsResponse> {
|
|
40812
41190
|
Util.validateModel(request);
|
|
40813
41191
|
let query = { };
|
|
@@ -40864,6 +41242,12 @@ export default class Client extends OpenApi {
|
|
|
40864
41242
|
return $tea.cast<ListMetaCollectionsResponse>(await this.callApi(params, req, runtime), new ListMetaCollectionsResponse({}));
|
|
40865
41243
|
}
|
|
40866
41244
|
|
|
41245
|
+
/**
|
|
41246
|
+
* The type can be ALBUM or ALBUM_CATEGORY. ALBUM indicates data albums. ALBUM_CATEGORY indicates categories.
|
|
41247
|
+
*
|
|
41248
|
+
* @param request ListMetaCollectionsRequest
|
|
41249
|
+
* @return ListMetaCollectionsResponse
|
|
41250
|
+
*/
|
|
40867
41251
|
async listMetaCollections(request: ListMetaCollectionsRequest): Promise<ListMetaCollectionsResponse> {
|
|
40868
41252
|
let runtime = new $Util.RuntimeOptions({ });
|
|
40869
41253
|
return await this.listMetaCollectionsWithOptions(request, runtime);
|
|
@@ -41264,6 +41648,13 @@ export default class Client extends OpenApi {
|
|
|
41264
41648
|
return await this.listProgramTypeCountWithOptions(request, runtime);
|
|
41265
41649
|
}
|
|
41266
41650
|
|
|
41651
|
+
/**
|
|
41652
|
+
* For example, an Alibaba Cloud account can assume the developer, O&M engineer, or workspace administrator role in a workspace. For more information, see [Manage members and roles](~~136941~~).
|
|
41653
|
+
*
|
|
41654
|
+
* @param request ListProjectIdsRequest
|
|
41655
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
41656
|
+
* @return ListProjectIdsResponse
|
|
41657
|
+
*/
|
|
41267
41658
|
async listProjectIdsWithOptions(request: ListProjectIdsRequest, runtime: $Util.RuntimeOptions): Promise<ListProjectIdsResponse> {
|
|
41268
41659
|
Util.validateModel(request);
|
|
41269
41660
|
let query = { };
|
|
@@ -41288,6 +41679,12 @@ export default class Client extends OpenApi {
|
|
|
41288
41679
|
return $tea.cast<ListProjectIdsResponse>(await this.callApi(params, req, runtime), new ListProjectIdsResponse({}));
|
|
41289
41680
|
}
|
|
41290
41681
|
|
|
41682
|
+
/**
|
|
41683
|
+
* For example, an Alibaba Cloud account can assume the developer, O&M engineer, or workspace administrator role in a workspace. For more information, see [Manage members and roles](~~136941~~).
|
|
41684
|
+
*
|
|
41685
|
+
* @param request ListProjectIdsRequest
|
|
41686
|
+
* @return ListProjectIdsResponse
|
|
41687
|
+
*/
|
|
41291
41688
|
async listProjectIds(request: ListProjectIdsRequest): Promise<ListProjectIdsResponse> {
|
|
41292
41689
|
let runtime = new $Util.RuntimeOptions({ });
|
|
41293
41690
|
return await this.listProjectIdsWithOptions(request, runtime);
|
|
@@ -41948,6 +42345,10 @@ export default class Client extends OpenApi {
|
|
|
41948
42345
|
body["TargetType"] = request.targetType;
|
|
41949
42346
|
}
|
|
41950
42347
|
|
|
42348
|
+
if (!Util.isUnset(request.targetUserId)) {
|
|
42349
|
+
body["TargetUserId"] = request.targetUserId;
|
|
42350
|
+
}
|
|
42351
|
+
|
|
41951
42352
|
let req = new $OpenApi.OpenApiRequest({
|
|
41952
42353
|
body: OpenApiUtil.parseToMap(body),
|
|
41953
42354
|
});
|
|
@@ -42040,6 +42441,14 @@ export default class Client extends OpenApi {
|
|
|
42040
42441
|
return await this.publishDataServiceApiWithOptions(request, runtime);
|
|
42041
42442
|
}
|
|
42042
42443
|
|
|
42444
|
+
/**
|
|
42445
|
+
* DataWorks allows you to call only the [CreateDISyncTask](~~278725~~) or [UpdateDISyncTask](~~289109~~) operation to create or update a batch synchronization node in Data Integration. To create or update a real-time synchronization node or a synchronization solution, you must first call the GenerateDISyncTaskConfigForCreating or GenerateDISyncTaskConfigForUpdating operation to generate the ID of an asynchronous thread and call the [QueryDISyncTaskConfigProcessResult](~~383465~~) operation to obtain the asynchronously generated parameters based on the ID. Then, you can call the CreateDISyncTask or UpdateDISyncTask operation and use the parameters as request parameters to create or update a real-time synchronization node or a synchronization solution.
|
|
42446
|
+
* DataWorks allows you to create or update real-time synchronization nodes and synchronization solutions in Data Integration only in asynchronous mode.
|
|
42447
|
+
*
|
|
42448
|
+
* @param request QueryDISyncTaskConfigProcessResultRequest
|
|
42449
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
42450
|
+
* @return QueryDISyncTaskConfigProcessResultResponse
|
|
42451
|
+
*/
|
|
42043
42452
|
async queryDISyncTaskConfigProcessResultWithOptions(request: QueryDISyncTaskConfigProcessResultRequest, runtime: $Util.RuntimeOptions): Promise<QueryDISyncTaskConfigProcessResultResponse> {
|
|
42044
42453
|
Util.validateModel(request);
|
|
42045
42454
|
let query = { };
|
|
@@ -42072,11 +42481,28 @@ export default class Client extends OpenApi {
|
|
|
42072
42481
|
return $tea.cast<QueryDISyncTaskConfigProcessResultResponse>(await this.callApi(params, req, runtime), new QueryDISyncTaskConfigProcessResultResponse({}));
|
|
42073
42482
|
}
|
|
42074
42483
|
|
|
42484
|
+
/**
|
|
42485
|
+
* DataWorks allows you to call only the [CreateDISyncTask](~~278725~~) or [UpdateDISyncTask](~~289109~~) operation to create or update a batch synchronization node in Data Integration. To create or update a real-time synchronization node or a synchronization solution, you must first call the GenerateDISyncTaskConfigForCreating or GenerateDISyncTaskConfigForUpdating operation to generate the ID of an asynchronous thread and call the [QueryDISyncTaskConfigProcessResult](~~383465~~) operation to obtain the asynchronously generated parameters based on the ID. Then, you can call the CreateDISyncTask or UpdateDISyncTask operation and use the parameters as request parameters to create or update a real-time synchronization node or a synchronization solution.
|
|
42486
|
+
* DataWorks allows you to create or update real-time synchronization nodes and synchronization solutions in Data Integration only in asynchronous mode.
|
|
42487
|
+
*
|
|
42488
|
+
* @param request QueryDISyncTaskConfigProcessResultRequest
|
|
42489
|
+
* @return QueryDISyncTaskConfigProcessResultResponse
|
|
42490
|
+
*/
|
|
42075
42491
|
async queryDISyncTaskConfigProcessResult(request: QueryDISyncTaskConfigProcessResultRequest): Promise<QueryDISyncTaskConfigProcessResultResponse> {
|
|
42076
42492
|
let runtime = new $Util.RuntimeOptions({ });
|
|
42077
42493
|
return await this.queryDISyncTaskConfigProcessResultWithOptions(request, runtime);
|
|
42078
42494
|
}
|
|
42079
42495
|
|
|
42496
|
+
/**
|
|
42497
|
+
* * You must use FML statements to query information about the data modeling engine when you call this operation.
|
|
42498
|
+
* * The information about the data modeling engine can be queried by page, except for data layers, business processes, and data domains. You can add an offset to the end of an FML statement.
|
|
42499
|
+
* The num LIMIT num statement specifies the offset when the information about the data modeling engine is queried, and the number of pages to return each time. The offset value must be a multiple of the number of pages.
|
|
42500
|
+
* * A maximum of 1,000 entries can be returned each time you call the operation.
|
|
42501
|
+
*
|
|
42502
|
+
* @param request QueryPublicModelEngineRequest
|
|
42503
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
42504
|
+
* @return QueryPublicModelEngineResponse
|
|
42505
|
+
*/
|
|
42080
42506
|
async queryPublicModelEngineWithOptions(request: QueryPublicModelEngineRequest, runtime: $Util.RuntimeOptions): Promise<QueryPublicModelEngineResponse> {
|
|
42081
42507
|
Util.validateModel(request);
|
|
42082
42508
|
let body : {[key: string ]: any} = { };
|
|
@@ -42105,6 +42531,15 @@ export default class Client extends OpenApi {
|
|
|
42105
42531
|
return $tea.cast<QueryPublicModelEngineResponse>(await this.callApi(params, req, runtime), new QueryPublicModelEngineResponse({}));
|
|
42106
42532
|
}
|
|
42107
42533
|
|
|
42534
|
+
/**
|
|
42535
|
+
* * You must use FML statements to query information about the data modeling engine when you call this operation.
|
|
42536
|
+
* * The information about the data modeling engine can be queried by page, except for data layers, business processes, and data domains. You can add an offset to the end of an FML statement.
|
|
42537
|
+
* The num LIMIT num statement specifies the offset when the information about the data modeling engine is queried, and the number of pages to return each time. The offset value must be a multiple of the number of pages.
|
|
42538
|
+
* * A maximum of 1,000 entries can be returned each time you call the operation.
|
|
42539
|
+
*
|
|
42540
|
+
* @param request QueryPublicModelEngineRequest
|
|
42541
|
+
* @return QueryPublicModelEngineResponse
|
|
42542
|
+
*/
|
|
42108
42543
|
async queryPublicModelEngine(request: QueryPublicModelEngineRequest): Promise<QueryPublicModelEngineResponse> {
|
|
42109
42544
|
let runtime = new $Util.RuntimeOptions({ });
|
|
42110
42545
|
return await this.queryPublicModelEngineWithOptions(request, runtime);
|
|
@@ -42311,6 +42746,13 @@ export default class Client extends OpenApi {
|
|
|
42311
42746
|
return await this.revokeTablePermissionWithOptions(request, runtime);
|
|
42312
42747
|
}
|
|
42313
42748
|
|
|
42749
|
+
/**
|
|
42750
|
+
* For more information about data backfill, see [Backfill data](~~137937~~).
|
|
42751
|
+
*
|
|
42752
|
+
* @param request RunCycleDagNodesRequest
|
|
42753
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
42754
|
+
* @return RunCycleDagNodesResponse
|
|
42755
|
+
*/
|
|
42314
42756
|
async runCycleDagNodesWithOptions(request: RunCycleDagNodesRequest, runtime: $Util.RuntimeOptions): Promise<RunCycleDagNodesResponse> {
|
|
42315
42757
|
Util.validateModel(request);
|
|
42316
42758
|
let body : {[key: string ]: any} = { };
|
|
@@ -42379,6 +42821,12 @@ export default class Client extends OpenApi {
|
|
|
42379
42821
|
return $tea.cast<RunCycleDagNodesResponse>(await this.callApi(params, req, runtime), new RunCycleDagNodesResponse({}));
|
|
42380
42822
|
}
|
|
42381
42823
|
|
|
42824
|
+
/**
|
|
42825
|
+
* For more information about data backfill, see [Backfill data](~~137937~~).
|
|
42826
|
+
*
|
|
42827
|
+
* @param request RunCycleDagNodesRequest
|
|
42828
|
+
* @return RunCycleDagNodesResponse
|
|
42829
|
+
*/
|
|
42382
42830
|
async runCycleDagNodes(request: RunCycleDagNodesRequest): Promise<RunCycleDagNodesResponse> {
|
|
42383
42831
|
let runtime = new $Util.RuntimeOptions({ });
|
|
42384
42832
|
return await this.runCycleDagNodesWithOptions(request, runtime);
|
|
@@ -42556,6 +43004,13 @@ export default class Client extends OpenApi {
|
|
|
42556
43004
|
return await this.scanSensitiveDataWithOptions(request, runtime);
|
|
42557
43005
|
}
|
|
42558
43006
|
|
|
43007
|
+
/**
|
|
43008
|
+
* You can call this operation to query only metatables in a MaxCompute or E-MapReduce (EMR) compute engine instance.
|
|
43009
|
+
*
|
|
43010
|
+
* @param request SearchMetaTablesRequest
|
|
43011
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
43012
|
+
* @return SearchMetaTablesResponse
|
|
43013
|
+
*/
|
|
42559
43014
|
async searchMetaTablesWithOptions(request: SearchMetaTablesRequest, runtime: $Util.RuntimeOptions): Promise<SearchMetaTablesResponse> {
|
|
42560
43015
|
Util.validateModel(request);
|
|
42561
43016
|
let query = { };
|
|
@@ -42608,6 +43063,12 @@ export default class Client extends OpenApi {
|
|
|
42608
43063
|
return $tea.cast<SearchMetaTablesResponse>(await this.callApi(params, req, runtime), new SearchMetaTablesResponse({}));
|
|
42609
43064
|
}
|
|
42610
43065
|
|
|
43066
|
+
/**
|
|
43067
|
+
* You can call this operation to query only metatables in a MaxCompute or E-MapReduce (EMR) compute engine instance.
|
|
43068
|
+
*
|
|
43069
|
+
* @param request SearchMetaTablesRequest
|
|
43070
|
+
* @return SearchMetaTablesResponse
|
|
43071
|
+
*/
|
|
42611
43072
|
async searchMetaTables(request: SearchMetaTablesRequest): Promise<SearchMetaTablesResponse> {
|
|
42612
43073
|
let runtime = new $Util.RuntimeOptions({ });
|
|
42613
43074
|
return await this.searchMetaTablesWithOptions(request, runtime);
|
|
@@ -42898,6 +43359,43 @@ export default class Client extends OpenApi {
|
|
|
42898
43359
|
return await this.stopInstanceWithOptions(request, runtime);
|
|
42899
43360
|
}
|
|
42900
43361
|
|
|
43362
|
+
async submitDataServiceApiWithOptions(request: SubmitDataServiceApiRequest, runtime: $Util.RuntimeOptions): Promise<SubmitDataServiceApiResponse> {
|
|
43363
|
+
Util.validateModel(request);
|
|
43364
|
+
let body : {[key: string ]: any} = { };
|
|
43365
|
+
if (!Util.isUnset(request.apiId)) {
|
|
43366
|
+
body["ApiId"] = request.apiId;
|
|
43367
|
+
}
|
|
43368
|
+
|
|
43369
|
+
if (!Util.isUnset(request.projectId)) {
|
|
43370
|
+
body["ProjectId"] = request.projectId;
|
|
43371
|
+
}
|
|
43372
|
+
|
|
43373
|
+
if (!Util.isUnset(request.tenantId)) {
|
|
43374
|
+
body["TenantId"] = request.tenantId;
|
|
43375
|
+
}
|
|
43376
|
+
|
|
43377
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
43378
|
+
body: OpenApiUtil.parseToMap(body),
|
|
43379
|
+
});
|
|
43380
|
+
let params = new $OpenApi.Params({
|
|
43381
|
+
action: "SubmitDataServiceApi",
|
|
43382
|
+
version: "2020-05-18",
|
|
43383
|
+
protocol: "HTTPS",
|
|
43384
|
+
pathname: "/",
|
|
43385
|
+
method: "POST",
|
|
43386
|
+
authType: "AK",
|
|
43387
|
+
style: "RPC",
|
|
43388
|
+
reqBodyType: "formData",
|
|
43389
|
+
bodyType: "json",
|
|
43390
|
+
});
|
|
43391
|
+
return $tea.cast<SubmitDataServiceApiResponse>(await this.callApi(params, req, runtime), new SubmitDataServiceApiResponse({}));
|
|
43392
|
+
}
|
|
43393
|
+
|
|
43394
|
+
async submitDataServiceApi(request: SubmitDataServiceApiRequest): Promise<SubmitDataServiceApiResponse> {
|
|
43395
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
43396
|
+
return await this.submitDataServiceApiWithOptions(request, runtime);
|
|
43397
|
+
}
|
|
43398
|
+
|
|
42901
43399
|
async submitFileWithOptions(request: SubmitFileRequest, runtime: $Util.RuntimeOptions): Promise<SubmitFileResponse> {
|
|
42902
43400
|
Util.validateModel(request);
|
|
42903
43401
|
let body : {[key: string ]: any} = { };
|
|
@@ -43174,6 +43672,10 @@ export default class Client extends OpenApi {
|
|
|
43174
43672
|
body["TargetType"] = request.targetType;
|
|
43175
43673
|
}
|
|
43176
43674
|
|
|
43675
|
+
if (!Util.isUnset(request.targetUserId)) {
|
|
43676
|
+
body["TargetUserId"] = request.targetUserId;
|
|
43677
|
+
}
|
|
43678
|
+
|
|
43177
43679
|
let req = new $OpenApi.OpenApiRequest({
|
|
43178
43680
|
body: OpenApiUtil.parseToMap(body),
|
|
43179
43681
|
});
|
|
@@ -43392,6 +43894,13 @@ export default class Client extends OpenApi {
|
|
|
43392
43894
|
return await this.updateConnectionWithOptions(request, runtime);
|
|
43393
43895
|
}
|
|
43394
43896
|
|
|
43897
|
+
/**
|
|
43898
|
+
* DataWorks allows you to specify a default global configuration only for the processing rules of DDL messages in synchronization solutions. After you configure the **processing rules of DDL messages** in synchronization solutions, the configuration is used as the default global configuration and applies to all real-time synchronization nodes in the solutions. You can modify the **processing rules of DDL messages** based on your business requirements. For more information about how to configure a synchronization solution, see [Synchronization solutions](~~199008~~).
|
|
43899
|
+
*
|
|
43900
|
+
* @param request UpdateDIProjectConfigRequest
|
|
43901
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
43902
|
+
* @return UpdateDIProjectConfigResponse
|
|
43903
|
+
*/
|
|
43395
43904
|
async updateDIProjectConfigWithOptions(request: UpdateDIProjectConfigRequest, runtime: $Util.RuntimeOptions): Promise<UpdateDIProjectConfigResponse> {
|
|
43396
43905
|
Util.validateModel(request);
|
|
43397
43906
|
let query = { };
|
|
@@ -43428,6 +43937,12 @@ export default class Client extends OpenApi {
|
|
|
43428
43937
|
return $tea.cast<UpdateDIProjectConfigResponse>(await this.callApi(params, req, runtime), new UpdateDIProjectConfigResponse({}));
|
|
43429
43938
|
}
|
|
43430
43939
|
|
|
43940
|
+
/**
|
|
43941
|
+
* DataWorks allows you to specify a default global configuration only for the processing rules of DDL messages in synchronization solutions. After you configure the **processing rules of DDL messages** in synchronization solutions, the configuration is used as the default global configuration and applies to all real-time synchronization nodes in the solutions. You can modify the **processing rules of DDL messages** based on your business requirements. For more information about how to configure a synchronization solution, see [Synchronization solutions](~~199008~~).
|
|
43942
|
+
*
|
|
43943
|
+
* @param request UpdateDIProjectConfigRequest
|
|
43944
|
+
* @return UpdateDIProjectConfigResponse
|
|
43945
|
+
*/
|
|
43431
43946
|
async updateDIProjectConfig(request: UpdateDIProjectConfigRequest): Promise<UpdateDIProjectConfigResponse> {
|
|
43432
43947
|
let runtime = new $Util.RuntimeOptions({ });
|
|
43433
43948
|
return await this.updateDIProjectConfigWithOptions(request, runtime);
|
|
@@ -43509,6 +44024,10 @@ export default class Client extends OpenApi {
|
|
|
43509
44024
|
body["RequestMethod"] = request.requestMethod;
|
|
43510
44025
|
}
|
|
43511
44026
|
|
|
44027
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
44028
|
+
body["ResourceGroupId"] = request.resourceGroupId;
|
|
44029
|
+
}
|
|
44030
|
+
|
|
43512
44031
|
if (!Util.isUnset(request.responseContentType)) {
|
|
43513
44032
|
body["ResponseContentType"] = request.responseContentType;
|
|
43514
44033
|
}
|
|
@@ -43600,6 +44119,13 @@ export default class Client extends OpenApi {
|
|
|
43600
44119
|
return await this.updateDataSourceWithOptions(request, runtime);
|
|
43601
44120
|
}
|
|
43602
44121
|
|
|
44122
|
+
/**
|
|
44123
|
+
* When you debug or call this operation, you must specify new values for the specified parameters to ensure that the values are different from the original configurations of the file. For example, if the original value of a parameter is A, you must change the value of this parameter to B before you commit the node. If you set the parameter to A, an exception that indicates invalid data occurs.
|
|
44124
|
+
*
|
|
44125
|
+
* @param request UpdateFileRequest
|
|
44126
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
44127
|
+
* @return UpdateFileResponse
|
|
44128
|
+
*/
|
|
43603
44129
|
async updateFileWithOptions(request: UpdateFileRequest, runtime: $Util.RuntimeOptions): Promise<UpdateFileResponse> {
|
|
43604
44130
|
Util.validateModel(request);
|
|
43605
44131
|
let body : {[key: string ]: any} = { };
|
|
@@ -43736,6 +44262,12 @@ export default class Client extends OpenApi {
|
|
|
43736
44262
|
return $tea.cast<UpdateFileResponse>(await this.callApi(params, req, runtime), new UpdateFileResponse({}));
|
|
43737
44263
|
}
|
|
43738
44264
|
|
|
44265
|
+
/**
|
|
44266
|
+
* When you debug or call this operation, you must specify new values for the specified parameters to ensure that the values are different from the original configurations of the file. For example, if the original value of a parameter is A, you must change the value of this parameter to B before you commit the node. If you set the parameter to A, an exception that indicates invalid data occurs.
|
|
44267
|
+
*
|
|
44268
|
+
* @param request UpdateFileRequest
|
|
44269
|
+
* @return UpdateFileResponse
|
|
44270
|
+
*/
|
|
43739
44271
|
async updateFile(request: UpdateFileRequest): Promise<UpdateFileResponse> {
|
|
43740
44272
|
let runtime = new $Util.RuntimeOptions({ });
|
|
43741
44273
|
return await this.updateFileWithOptions(request, runtime);
|
|
@@ -43860,6 +44392,13 @@ export default class Client extends OpenApi {
|
|
|
43860
44392
|
return await this.updateMetaCategoryWithOptions(request, runtime);
|
|
43861
44393
|
}
|
|
43862
44394
|
|
|
44395
|
+
/**
|
|
44396
|
+
* Only the name and comment of a collection can be updated.
|
|
44397
|
+
*
|
|
44398
|
+
* @param request UpdateMetaCollectionRequest
|
|
44399
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
44400
|
+
* @return UpdateMetaCollectionResponse
|
|
44401
|
+
*/
|
|
43863
44402
|
async updateMetaCollectionWithOptions(request: UpdateMetaCollectionRequest, runtime: $Util.RuntimeOptions): Promise<UpdateMetaCollectionResponse> {
|
|
43864
44403
|
Util.validateModel(request);
|
|
43865
44404
|
let query = { };
|
|
@@ -43892,6 +44431,12 @@ export default class Client extends OpenApi {
|
|
|
43892
44431
|
return $tea.cast<UpdateMetaCollectionResponse>(await this.callApi(params, req, runtime), new UpdateMetaCollectionResponse({}));
|
|
43893
44432
|
}
|
|
43894
44433
|
|
|
44434
|
+
/**
|
|
44435
|
+
* Only the name and comment of a collection can be updated.
|
|
44436
|
+
*
|
|
44437
|
+
* @param request UpdateMetaCollectionRequest
|
|
44438
|
+
* @return UpdateMetaCollectionResponse
|
|
44439
|
+
*/
|
|
43895
44440
|
async updateMetaCollection(request: UpdateMetaCollectionRequest): Promise<UpdateMetaCollectionResponse> {
|
|
43896
44441
|
let runtime = new $Util.RuntimeOptions({ });
|
|
43897
44442
|
return await this.updateMetaCollectionWithOptions(request, runtime);
|