@alicloud/dms-enterprise20181101 1.27.0 → 1.28.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 +95 -0
- package/dist/client.js +196 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +241 -0
package/dist/client.d.ts
CHANGED
|
@@ -4756,6 +4756,51 @@ export declare class ModifyDataCorrectExecSQLResponse extends $tea.Model {
|
|
|
4756
4756
|
[key: string]: any;
|
|
4757
4757
|
});
|
|
4758
4758
|
}
|
|
4759
|
+
export declare class PauseDataCorrectSQLJobRequest extends $tea.Model {
|
|
4760
|
+
jobId?: number;
|
|
4761
|
+
orderId?: number;
|
|
4762
|
+
tid?: number;
|
|
4763
|
+
type?: string;
|
|
4764
|
+
static names(): {
|
|
4765
|
+
[key: string]: string;
|
|
4766
|
+
};
|
|
4767
|
+
static types(): {
|
|
4768
|
+
[key: string]: any;
|
|
4769
|
+
};
|
|
4770
|
+
constructor(map?: {
|
|
4771
|
+
[key: string]: any;
|
|
4772
|
+
});
|
|
4773
|
+
}
|
|
4774
|
+
export declare class PauseDataCorrectSQLJobResponseBody extends $tea.Model {
|
|
4775
|
+
errorCode?: string;
|
|
4776
|
+
errorMessage?: string;
|
|
4777
|
+
requestId?: string;
|
|
4778
|
+
success?: boolean;
|
|
4779
|
+
static names(): {
|
|
4780
|
+
[key: string]: string;
|
|
4781
|
+
};
|
|
4782
|
+
static types(): {
|
|
4783
|
+
[key: string]: any;
|
|
4784
|
+
};
|
|
4785
|
+
constructor(map?: {
|
|
4786
|
+
[key: string]: any;
|
|
4787
|
+
});
|
|
4788
|
+
}
|
|
4789
|
+
export declare class PauseDataCorrectSQLJobResponse extends $tea.Model {
|
|
4790
|
+
headers: {
|
|
4791
|
+
[key: string]: string;
|
|
4792
|
+
};
|
|
4793
|
+
body: PauseDataCorrectSQLJobResponseBody;
|
|
4794
|
+
static names(): {
|
|
4795
|
+
[key: string]: string;
|
|
4796
|
+
};
|
|
4797
|
+
static types(): {
|
|
4798
|
+
[key: string]: any;
|
|
4799
|
+
};
|
|
4800
|
+
constructor(map?: {
|
|
4801
|
+
[key: string]: any;
|
|
4802
|
+
});
|
|
4803
|
+
}
|
|
4759
4804
|
export declare class RegisterInstanceRequest extends $tea.Model {
|
|
4760
4805
|
dataLinkName?: string;
|
|
4761
4806
|
databasePassword?: string;
|
|
@@ -4865,6 +4910,51 @@ export declare class RegisterUserResponse extends $tea.Model {
|
|
|
4865
4910
|
[key: string]: any;
|
|
4866
4911
|
});
|
|
4867
4912
|
}
|
|
4913
|
+
export declare class RestartDataCorrectSQLJobRequest extends $tea.Model {
|
|
4914
|
+
jobId?: number;
|
|
4915
|
+
orderId?: number;
|
|
4916
|
+
tid?: number;
|
|
4917
|
+
type?: string;
|
|
4918
|
+
static names(): {
|
|
4919
|
+
[key: string]: string;
|
|
4920
|
+
};
|
|
4921
|
+
static types(): {
|
|
4922
|
+
[key: string]: any;
|
|
4923
|
+
};
|
|
4924
|
+
constructor(map?: {
|
|
4925
|
+
[key: string]: any;
|
|
4926
|
+
});
|
|
4927
|
+
}
|
|
4928
|
+
export declare class RestartDataCorrectSQLJobResponseBody extends $tea.Model {
|
|
4929
|
+
errorCode?: string;
|
|
4930
|
+
errorMessage?: string;
|
|
4931
|
+
requestId?: string;
|
|
4932
|
+
success?: boolean;
|
|
4933
|
+
static names(): {
|
|
4934
|
+
[key: string]: string;
|
|
4935
|
+
};
|
|
4936
|
+
static types(): {
|
|
4937
|
+
[key: string]: any;
|
|
4938
|
+
};
|
|
4939
|
+
constructor(map?: {
|
|
4940
|
+
[key: string]: any;
|
|
4941
|
+
});
|
|
4942
|
+
}
|
|
4943
|
+
export declare class RestartDataCorrectSQLJobResponse extends $tea.Model {
|
|
4944
|
+
headers: {
|
|
4945
|
+
[key: string]: string;
|
|
4946
|
+
};
|
|
4947
|
+
body: RestartDataCorrectSQLJobResponseBody;
|
|
4948
|
+
static names(): {
|
|
4949
|
+
[key: string]: string;
|
|
4950
|
+
};
|
|
4951
|
+
static types(): {
|
|
4952
|
+
[key: string]: any;
|
|
4953
|
+
};
|
|
4954
|
+
constructor(map?: {
|
|
4955
|
+
[key: string]: any;
|
|
4956
|
+
});
|
|
4957
|
+
}
|
|
4868
4958
|
export declare class RetryDataCorrectPreCheckRequest extends $tea.Model {
|
|
4869
4959
|
orderId?: number;
|
|
4870
4960
|
tid?: number;
|
|
@@ -7233,6 +7323,7 @@ export declare class ListDataCorrectPreCheckSQLResponseBodyPreCheckSQLList exten
|
|
|
7233
7323
|
SQLReviewQueryKey?: string;
|
|
7234
7324
|
sqlReviewStatus?: string;
|
|
7235
7325
|
sqlType?: string;
|
|
7326
|
+
tableNames?: string;
|
|
7236
7327
|
static names(): {
|
|
7237
7328
|
[key: string]: string;
|
|
7238
7329
|
};
|
|
@@ -8633,10 +8724,14 @@ export default class Client extends OpenApi {
|
|
|
8633
8724
|
listWorkFlowTemplates(request: ListWorkFlowTemplatesRequest): Promise<ListWorkFlowTemplatesResponse>;
|
|
8634
8725
|
modifyDataCorrectExecSQLWithOptions(request: ModifyDataCorrectExecSQLRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDataCorrectExecSQLResponse>;
|
|
8635
8726
|
modifyDataCorrectExecSQL(request: ModifyDataCorrectExecSQLRequest): Promise<ModifyDataCorrectExecSQLResponse>;
|
|
8727
|
+
pauseDataCorrectSQLJobWithOptions(request: PauseDataCorrectSQLJobRequest, runtime: $Util.RuntimeOptions): Promise<PauseDataCorrectSQLJobResponse>;
|
|
8728
|
+
pauseDataCorrectSQLJob(request: PauseDataCorrectSQLJobRequest): Promise<PauseDataCorrectSQLJobResponse>;
|
|
8636
8729
|
registerInstanceWithOptions(request: RegisterInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RegisterInstanceResponse>;
|
|
8637
8730
|
registerInstance(request: RegisterInstanceRequest): Promise<RegisterInstanceResponse>;
|
|
8638
8731
|
registerUserWithOptions(request: RegisterUserRequest, runtime: $Util.RuntimeOptions): Promise<RegisterUserResponse>;
|
|
8639
8732
|
registerUser(request: RegisterUserRequest): Promise<RegisterUserResponse>;
|
|
8733
|
+
restartDataCorrectSQLJobWithOptions(request: RestartDataCorrectSQLJobRequest, runtime: $Util.RuntimeOptions): Promise<RestartDataCorrectSQLJobResponse>;
|
|
8734
|
+
restartDataCorrectSQLJob(request: RestartDataCorrectSQLJobRequest): Promise<RestartDataCorrectSQLJobResponse>;
|
|
8640
8735
|
retryDataCorrectPreCheckWithOptions(request: RetryDataCorrectPreCheckRequest, runtime: $Util.RuntimeOptions): Promise<RetryDataCorrectPreCheckResponse>;
|
|
8641
8736
|
retryDataCorrectPreCheck(request: RetryDataCorrectPreCheckRequest): Promise<RetryDataCorrectPreCheckResponse>;
|
|
8642
8737
|
revokeUserPermissionWithOptions(request: RevokeUserPermissionRequest, runtime: $Util.RuntimeOptions): Promise<RevokeUserPermissionResponse>;
|
package/dist/client.js
CHANGED
|
@@ -6623,6 +6623,68 @@ class ModifyDataCorrectExecSQLResponse extends $tea.Model {
|
|
|
6623
6623
|
}
|
|
6624
6624
|
}
|
|
6625
6625
|
exports.ModifyDataCorrectExecSQLResponse = ModifyDataCorrectExecSQLResponse;
|
|
6626
|
+
class PauseDataCorrectSQLJobRequest extends $tea.Model {
|
|
6627
|
+
constructor(map) {
|
|
6628
|
+
super(map);
|
|
6629
|
+
}
|
|
6630
|
+
static names() {
|
|
6631
|
+
return {
|
|
6632
|
+
jobId: 'JobId',
|
|
6633
|
+
orderId: 'OrderId',
|
|
6634
|
+
tid: 'Tid',
|
|
6635
|
+
type: 'Type',
|
|
6636
|
+
};
|
|
6637
|
+
}
|
|
6638
|
+
static types() {
|
|
6639
|
+
return {
|
|
6640
|
+
jobId: 'number',
|
|
6641
|
+
orderId: 'number',
|
|
6642
|
+
tid: 'number',
|
|
6643
|
+
type: 'string',
|
|
6644
|
+
};
|
|
6645
|
+
}
|
|
6646
|
+
}
|
|
6647
|
+
exports.PauseDataCorrectSQLJobRequest = PauseDataCorrectSQLJobRequest;
|
|
6648
|
+
class PauseDataCorrectSQLJobResponseBody extends $tea.Model {
|
|
6649
|
+
constructor(map) {
|
|
6650
|
+
super(map);
|
|
6651
|
+
}
|
|
6652
|
+
static names() {
|
|
6653
|
+
return {
|
|
6654
|
+
errorCode: 'ErrorCode',
|
|
6655
|
+
errorMessage: 'ErrorMessage',
|
|
6656
|
+
requestId: 'RequestId',
|
|
6657
|
+
success: 'Success',
|
|
6658
|
+
};
|
|
6659
|
+
}
|
|
6660
|
+
static types() {
|
|
6661
|
+
return {
|
|
6662
|
+
errorCode: 'string',
|
|
6663
|
+
errorMessage: 'string',
|
|
6664
|
+
requestId: 'string',
|
|
6665
|
+
success: 'boolean',
|
|
6666
|
+
};
|
|
6667
|
+
}
|
|
6668
|
+
}
|
|
6669
|
+
exports.PauseDataCorrectSQLJobResponseBody = PauseDataCorrectSQLJobResponseBody;
|
|
6670
|
+
class PauseDataCorrectSQLJobResponse extends $tea.Model {
|
|
6671
|
+
constructor(map) {
|
|
6672
|
+
super(map);
|
|
6673
|
+
}
|
|
6674
|
+
static names() {
|
|
6675
|
+
return {
|
|
6676
|
+
headers: 'headers',
|
|
6677
|
+
body: 'body',
|
|
6678
|
+
};
|
|
6679
|
+
}
|
|
6680
|
+
static types() {
|
|
6681
|
+
return {
|
|
6682
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6683
|
+
body: PauseDataCorrectSQLJobResponseBody,
|
|
6684
|
+
};
|
|
6685
|
+
}
|
|
6686
|
+
}
|
|
6687
|
+
exports.PauseDataCorrectSQLJobResponse = PauseDataCorrectSQLJobResponse;
|
|
6626
6688
|
class RegisterInstanceRequest extends $tea.Model {
|
|
6627
6689
|
constructor(map) {
|
|
6628
6690
|
super(map);
|
|
@@ -6785,6 +6847,68 @@ class RegisterUserResponse extends $tea.Model {
|
|
|
6785
6847
|
}
|
|
6786
6848
|
}
|
|
6787
6849
|
exports.RegisterUserResponse = RegisterUserResponse;
|
|
6850
|
+
class RestartDataCorrectSQLJobRequest extends $tea.Model {
|
|
6851
|
+
constructor(map) {
|
|
6852
|
+
super(map);
|
|
6853
|
+
}
|
|
6854
|
+
static names() {
|
|
6855
|
+
return {
|
|
6856
|
+
jobId: 'JobId',
|
|
6857
|
+
orderId: 'OrderId',
|
|
6858
|
+
tid: 'Tid',
|
|
6859
|
+
type: 'Type',
|
|
6860
|
+
};
|
|
6861
|
+
}
|
|
6862
|
+
static types() {
|
|
6863
|
+
return {
|
|
6864
|
+
jobId: 'number',
|
|
6865
|
+
orderId: 'number',
|
|
6866
|
+
tid: 'number',
|
|
6867
|
+
type: 'string',
|
|
6868
|
+
};
|
|
6869
|
+
}
|
|
6870
|
+
}
|
|
6871
|
+
exports.RestartDataCorrectSQLJobRequest = RestartDataCorrectSQLJobRequest;
|
|
6872
|
+
class RestartDataCorrectSQLJobResponseBody extends $tea.Model {
|
|
6873
|
+
constructor(map) {
|
|
6874
|
+
super(map);
|
|
6875
|
+
}
|
|
6876
|
+
static names() {
|
|
6877
|
+
return {
|
|
6878
|
+
errorCode: 'ErrorCode',
|
|
6879
|
+
errorMessage: 'ErrorMessage',
|
|
6880
|
+
requestId: 'RequestId',
|
|
6881
|
+
success: 'Success',
|
|
6882
|
+
};
|
|
6883
|
+
}
|
|
6884
|
+
static types() {
|
|
6885
|
+
return {
|
|
6886
|
+
errorCode: 'string',
|
|
6887
|
+
errorMessage: 'string',
|
|
6888
|
+
requestId: 'string',
|
|
6889
|
+
success: 'boolean',
|
|
6890
|
+
};
|
|
6891
|
+
}
|
|
6892
|
+
}
|
|
6893
|
+
exports.RestartDataCorrectSQLJobResponseBody = RestartDataCorrectSQLJobResponseBody;
|
|
6894
|
+
class RestartDataCorrectSQLJobResponse extends $tea.Model {
|
|
6895
|
+
constructor(map) {
|
|
6896
|
+
super(map);
|
|
6897
|
+
}
|
|
6898
|
+
static names() {
|
|
6899
|
+
return {
|
|
6900
|
+
headers: 'headers',
|
|
6901
|
+
body: 'body',
|
|
6902
|
+
};
|
|
6903
|
+
}
|
|
6904
|
+
static types() {
|
|
6905
|
+
return {
|
|
6906
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6907
|
+
body: RestartDataCorrectSQLJobResponseBody,
|
|
6908
|
+
};
|
|
6909
|
+
}
|
|
6910
|
+
}
|
|
6911
|
+
exports.RestartDataCorrectSQLJobResponse = RestartDataCorrectSQLJobResponse;
|
|
6788
6912
|
class RetryDataCorrectPreCheckRequest extends $tea.Model {
|
|
6789
6913
|
constructor(map) {
|
|
6790
6914
|
super(map);
|
|
@@ -10287,6 +10411,7 @@ class ListDataCorrectPreCheckSQLResponseBodyPreCheckSQLList extends $tea.Model {
|
|
|
10287
10411
|
SQLReviewQueryKey: 'SQLReviewQueryKey',
|
|
10288
10412
|
sqlReviewStatus: 'SqlReviewStatus',
|
|
10289
10413
|
sqlType: 'SqlType',
|
|
10414
|
+
tableNames: 'TableNames',
|
|
10290
10415
|
};
|
|
10291
10416
|
}
|
|
10292
10417
|
static types() {
|
|
@@ -10297,6 +10422,7 @@ class ListDataCorrectPreCheckSQLResponseBodyPreCheckSQLList extends $tea.Model {
|
|
|
10297
10422
|
SQLReviewQueryKey: 'string',
|
|
10298
10423
|
sqlReviewStatus: 'string',
|
|
10299
10424
|
sqlType: 'string',
|
|
10425
|
+
tableNames: 'string',
|
|
10300
10426
|
};
|
|
10301
10427
|
}
|
|
10302
10428
|
}
|
|
@@ -15547,6 +15673,41 @@ class Client extends openapi_client_1.default {
|
|
|
15547
15673
|
let runtime = new $Util.RuntimeOptions({});
|
|
15548
15674
|
return await this.modifyDataCorrectExecSQLWithOptions(request, runtime);
|
|
15549
15675
|
}
|
|
15676
|
+
async pauseDataCorrectSQLJobWithOptions(request, runtime) {
|
|
15677
|
+
tea_util_1.default.validateModel(request);
|
|
15678
|
+
let query = {};
|
|
15679
|
+
if (!tea_util_1.default.isUnset(request.jobId)) {
|
|
15680
|
+
query["JobId"] = request.jobId;
|
|
15681
|
+
}
|
|
15682
|
+
if (!tea_util_1.default.isUnset(request.orderId)) {
|
|
15683
|
+
query["OrderId"] = request.orderId;
|
|
15684
|
+
}
|
|
15685
|
+
if (!tea_util_1.default.isUnset(request.tid)) {
|
|
15686
|
+
query["Tid"] = request.tid;
|
|
15687
|
+
}
|
|
15688
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
15689
|
+
query["Type"] = request.type;
|
|
15690
|
+
}
|
|
15691
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15692
|
+
query: openapi_util_1.default.query(query),
|
|
15693
|
+
});
|
|
15694
|
+
let params = new $OpenApi.Params({
|
|
15695
|
+
action: "PauseDataCorrectSQLJob",
|
|
15696
|
+
version: "2018-11-01",
|
|
15697
|
+
protocol: "HTTPS",
|
|
15698
|
+
pathname: "/",
|
|
15699
|
+
method: "POST",
|
|
15700
|
+
authType: "AK",
|
|
15701
|
+
style: "RPC",
|
|
15702
|
+
reqBodyType: "formData",
|
|
15703
|
+
bodyType: "json",
|
|
15704
|
+
});
|
|
15705
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PauseDataCorrectSQLJobResponse({}));
|
|
15706
|
+
}
|
|
15707
|
+
async pauseDataCorrectSQLJob(request) {
|
|
15708
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15709
|
+
return await this.pauseDataCorrectSQLJobWithOptions(request, runtime);
|
|
15710
|
+
}
|
|
15550
15711
|
async registerInstanceWithOptions(request, runtime) {
|
|
15551
15712
|
tea_util_1.default.validateModel(request);
|
|
15552
15713
|
let query = {};
|
|
@@ -15674,6 +15835,41 @@ class Client extends openapi_client_1.default {
|
|
|
15674
15835
|
let runtime = new $Util.RuntimeOptions({});
|
|
15675
15836
|
return await this.registerUserWithOptions(request, runtime);
|
|
15676
15837
|
}
|
|
15838
|
+
async restartDataCorrectSQLJobWithOptions(request, runtime) {
|
|
15839
|
+
tea_util_1.default.validateModel(request);
|
|
15840
|
+
let query = {};
|
|
15841
|
+
if (!tea_util_1.default.isUnset(request.jobId)) {
|
|
15842
|
+
query["JobId"] = request.jobId;
|
|
15843
|
+
}
|
|
15844
|
+
if (!tea_util_1.default.isUnset(request.orderId)) {
|
|
15845
|
+
query["OrderId"] = request.orderId;
|
|
15846
|
+
}
|
|
15847
|
+
if (!tea_util_1.default.isUnset(request.tid)) {
|
|
15848
|
+
query["Tid"] = request.tid;
|
|
15849
|
+
}
|
|
15850
|
+
if (!tea_util_1.default.isUnset(request.type)) {
|
|
15851
|
+
query["Type"] = request.type;
|
|
15852
|
+
}
|
|
15853
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15854
|
+
query: openapi_util_1.default.query(query),
|
|
15855
|
+
});
|
|
15856
|
+
let params = new $OpenApi.Params({
|
|
15857
|
+
action: "RestartDataCorrectSQLJob",
|
|
15858
|
+
version: "2018-11-01",
|
|
15859
|
+
protocol: "HTTPS",
|
|
15860
|
+
pathname: "/",
|
|
15861
|
+
method: "POST",
|
|
15862
|
+
authType: "AK",
|
|
15863
|
+
style: "RPC",
|
|
15864
|
+
reqBodyType: "formData",
|
|
15865
|
+
bodyType: "json",
|
|
15866
|
+
});
|
|
15867
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RestartDataCorrectSQLJobResponse({}));
|
|
15868
|
+
}
|
|
15869
|
+
async restartDataCorrectSQLJob(request) {
|
|
15870
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15871
|
+
return await this.restartDataCorrectSQLJobWithOptions(request, runtime);
|
|
15872
|
+
}
|
|
15677
15873
|
async retryDataCorrectPreCheckWithOptions(request, runtime) {
|
|
15678
15874
|
tea_util_1.default.validateModel(request);
|
|
15679
15875
|
let query = {};
|