@alicloud/dts20200101 1.2.1 → 1.4.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 +193 -0
- package/dist/client.js +406 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +515 -0
package/dist/client.d.ts
CHANGED
|
@@ -982,6 +982,52 @@ export declare class CreateMigrationJobResponse extends $tea.Model {
|
|
|
982
982
|
[key: string]: any;
|
|
983
983
|
});
|
|
984
984
|
}
|
|
985
|
+
export declare class CreateReverseDtsJobRequest extends $tea.Model {
|
|
986
|
+
dtsJobId?: string;
|
|
987
|
+
static names(): {
|
|
988
|
+
[key: string]: string;
|
|
989
|
+
};
|
|
990
|
+
static types(): {
|
|
991
|
+
[key: string]: any;
|
|
992
|
+
};
|
|
993
|
+
constructor(map?: {
|
|
994
|
+
[key: string]: any;
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
export declare class CreateReverseDtsJobResponseBody extends $tea.Model {
|
|
998
|
+
dtsInstanceId?: string;
|
|
999
|
+
dtsJobId?: string;
|
|
1000
|
+
errCode?: string;
|
|
1001
|
+
errMessage?: string;
|
|
1002
|
+
httpStatusCode?: string;
|
|
1003
|
+
requestId?: string;
|
|
1004
|
+
success?: string;
|
|
1005
|
+
static names(): {
|
|
1006
|
+
[key: string]: string;
|
|
1007
|
+
};
|
|
1008
|
+
static types(): {
|
|
1009
|
+
[key: string]: any;
|
|
1010
|
+
};
|
|
1011
|
+
constructor(map?: {
|
|
1012
|
+
[key: string]: any;
|
|
1013
|
+
});
|
|
1014
|
+
}
|
|
1015
|
+
export declare class CreateReverseDtsJobResponse extends $tea.Model {
|
|
1016
|
+
headers: {
|
|
1017
|
+
[key: string]: string;
|
|
1018
|
+
};
|
|
1019
|
+
statusCode: number;
|
|
1020
|
+
body: CreateReverseDtsJobResponseBody;
|
|
1021
|
+
static names(): {
|
|
1022
|
+
[key: string]: string;
|
|
1023
|
+
};
|
|
1024
|
+
static types(): {
|
|
1025
|
+
[key: string]: any;
|
|
1026
|
+
};
|
|
1027
|
+
constructor(map?: {
|
|
1028
|
+
[key: string]: any;
|
|
1029
|
+
});
|
|
1030
|
+
}
|
|
985
1031
|
export declare class CreateSubscriptionInstanceRequest extends $tea.Model {
|
|
986
1032
|
sourceEndpoint?: CreateSubscriptionInstanceRequestSourceEndpoint;
|
|
987
1033
|
accountId?: string;
|
|
@@ -4011,6 +4057,7 @@ export declare class ModifyDtsJobRequest extends $tea.Model {
|
|
|
4011
4057
|
[key: string]: any;
|
|
4012
4058
|
};
|
|
4013
4059
|
dtsInstanceId?: string;
|
|
4060
|
+
dtsJobId?: string;
|
|
4014
4061
|
etlOperatorColumnReference?: string;
|
|
4015
4062
|
fileOssUrl?: string;
|
|
4016
4063
|
filterTableName?: string;
|
|
@@ -4037,6 +4084,7 @@ export declare class ModifyDtsJobAdvanceRequest extends $tea.Model {
|
|
|
4037
4084
|
[key: string]: any;
|
|
4038
4085
|
};
|
|
4039
4086
|
dtsInstanceId?: string;
|
|
4087
|
+
dtsJobId?: string;
|
|
4040
4088
|
etlOperatorColumnReference?: string;
|
|
4041
4089
|
fileOssUrlObject?: Readable;
|
|
4042
4090
|
filterTableName?: string;
|
|
@@ -4061,6 +4109,7 @@ export declare class ModifyDtsJobShrinkRequest extends $tea.Model {
|
|
|
4061
4109
|
dataSynchronization?: boolean;
|
|
4062
4110
|
dbListShrink?: string;
|
|
4063
4111
|
dtsInstanceId?: string;
|
|
4112
|
+
dtsJobId?: string;
|
|
4064
4113
|
etlOperatorColumnReference?: string;
|
|
4065
4114
|
fileOssUrl?: string;
|
|
4066
4115
|
filterTableName?: string;
|
|
@@ -4253,6 +4302,66 @@ export declare class ModifyDtsJobDuLimitResponse extends $tea.Model {
|
|
|
4253
4302
|
[key: string]: any;
|
|
4254
4303
|
});
|
|
4255
4304
|
}
|
|
4305
|
+
export declare class ModifyDtsJobEndpointRequest extends $tea.Model {
|
|
4306
|
+
aliyunUid?: string;
|
|
4307
|
+
database?: string;
|
|
4308
|
+
dryRun?: boolean;
|
|
4309
|
+
dtsInstanceId?: string;
|
|
4310
|
+
dtsJobId?: string;
|
|
4311
|
+
endpoint?: string;
|
|
4312
|
+
endpointInstanceId?: string;
|
|
4313
|
+
endpointInstanceType?: string;
|
|
4314
|
+
endpointIp?: string;
|
|
4315
|
+
endpointPort?: string;
|
|
4316
|
+
password?: string;
|
|
4317
|
+
regionId?: string;
|
|
4318
|
+
roleName?: string;
|
|
4319
|
+
shardPassword?: string;
|
|
4320
|
+
shardUsername?: string;
|
|
4321
|
+
synchronizationDirection?: string;
|
|
4322
|
+
username?: string;
|
|
4323
|
+
static names(): {
|
|
4324
|
+
[key: string]: string;
|
|
4325
|
+
};
|
|
4326
|
+
static types(): {
|
|
4327
|
+
[key: string]: any;
|
|
4328
|
+
};
|
|
4329
|
+
constructor(map?: {
|
|
4330
|
+
[key: string]: any;
|
|
4331
|
+
});
|
|
4332
|
+
}
|
|
4333
|
+
export declare class ModifyDtsJobEndpointResponseBody extends $tea.Model {
|
|
4334
|
+
errCode?: string;
|
|
4335
|
+
errMessage?: string;
|
|
4336
|
+
httpStatusCode?: string;
|
|
4337
|
+
requestId?: string;
|
|
4338
|
+
success?: boolean;
|
|
4339
|
+
static names(): {
|
|
4340
|
+
[key: string]: string;
|
|
4341
|
+
};
|
|
4342
|
+
static types(): {
|
|
4343
|
+
[key: string]: any;
|
|
4344
|
+
};
|
|
4345
|
+
constructor(map?: {
|
|
4346
|
+
[key: string]: any;
|
|
4347
|
+
});
|
|
4348
|
+
}
|
|
4349
|
+
export declare class ModifyDtsJobEndpointResponse extends $tea.Model {
|
|
4350
|
+
headers: {
|
|
4351
|
+
[key: string]: string;
|
|
4352
|
+
};
|
|
4353
|
+
statusCode: number;
|
|
4354
|
+
body: ModifyDtsJobEndpointResponseBody;
|
|
4355
|
+
static names(): {
|
|
4356
|
+
[key: string]: string;
|
|
4357
|
+
};
|
|
4358
|
+
static types(): {
|
|
4359
|
+
[key: string]: any;
|
|
4360
|
+
};
|
|
4361
|
+
constructor(map?: {
|
|
4362
|
+
[key: string]: any;
|
|
4363
|
+
});
|
|
4364
|
+
}
|
|
4256
4365
|
export declare class ModifyDtsJobNameRequest extends $tea.Model {
|
|
4257
4366
|
dtsJobId?: string;
|
|
4258
4367
|
dtsJobName?: string;
|
|
@@ -4986,6 +5095,50 @@ export declare class StartMigrationJobResponse extends $tea.Model {
|
|
|
4986
5095
|
[key: string]: any;
|
|
4987
5096
|
});
|
|
4988
5097
|
}
|
|
5098
|
+
export declare class StartReverseWriterRequest extends $tea.Model {
|
|
5099
|
+
checkPoint?: string;
|
|
5100
|
+
dtsJobId?: string;
|
|
5101
|
+
static names(): {
|
|
5102
|
+
[key: string]: string;
|
|
5103
|
+
};
|
|
5104
|
+
static types(): {
|
|
5105
|
+
[key: string]: any;
|
|
5106
|
+
};
|
|
5107
|
+
constructor(map?: {
|
|
5108
|
+
[key: string]: any;
|
|
5109
|
+
});
|
|
5110
|
+
}
|
|
5111
|
+
export declare class StartReverseWriterResponseBody extends $tea.Model {
|
|
5112
|
+
errCode?: string;
|
|
5113
|
+
errMessage?: string;
|
|
5114
|
+
requestId?: string;
|
|
5115
|
+
success?: string;
|
|
5116
|
+
static names(): {
|
|
5117
|
+
[key: string]: string;
|
|
5118
|
+
};
|
|
5119
|
+
static types(): {
|
|
5120
|
+
[key: string]: any;
|
|
5121
|
+
};
|
|
5122
|
+
constructor(map?: {
|
|
5123
|
+
[key: string]: any;
|
|
5124
|
+
});
|
|
5125
|
+
}
|
|
5126
|
+
export declare class StartReverseWriterResponse extends $tea.Model {
|
|
5127
|
+
headers: {
|
|
5128
|
+
[key: string]: string;
|
|
5129
|
+
};
|
|
5130
|
+
statusCode: number;
|
|
5131
|
+
body: StartReverseWriterResponseBody;
|
|
5132
|
+
static names(): {
|
|
5133
|
+
[key: string]: string;
|
|
5134
|
+
};
|
|
5135
|
+
static types(): {
|
|
5136
|
+
[key: string]: any;
|
|
5137
|
+
};
|
|
5138
|
+
constructor(map?: {
|
|
5139
|
+
[key: string]: any;
|
|
5140
|
+
});
|
|
5141
|
+
}
|
|
4989
5142
|
export declare class StartSubscriptionInstanceRequest extends $tea.Model {
|
|
4990
5143
|
accountId?: string;
|
|
4991
5144
|
ownerId?: string;
|
|
@@ -7845,9 +7998,41 @@ export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJobErrorDetails
|
|
|
7845
7998
|
[key: string]: any;
|
|
7846
7999
|
});
|
|
7847
8000
|
}
|
|
8001
|
+
export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus extends $tea.Model {
|
|
8002
|
+
errorMessage?: string;
|
|
8003
|
+
percent?: string;
|
|
8004
|
+
progress?: string;
|
|
8005
|
+
status?: string;
|
|
8006
|
+
static names(): {
|
|
8007
|
+
[key: string]: string;
|
|
8008
|
+
};
|
|
8009
|
+
static types(): {
|
|
8010
|
+
[key: string]: any;
|
|
8011
|
+
};
|
|
8012
|
+
constructor(map?: {
|
|
8013
|
+
[key: string]: any;
|
|
8014
|
+
});
|
|
8015
|
+
}
|
|
8016
|
+
export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus extends $tea.Model {
|
|
8017
|
+
errorMessage?: string;
|
|
8018
|
+
percent?: string;
|
|
8019
|
+
progress?: string;
|
|
8020
|
+
status?: string;
|
|
8021
|
+
static names(): {
|
|
8022
|
+
[key: string]: string;
|
|
8023
|
+
};
|
|
8024
|
+
static types(): {
|
|
8025
|
+
[key: string]: any;
|
|
8026
|
+
};
|
|
8027
|
+
constructor(map?: {
|
|
8028
|
+
[key: string]: any;
|
|
8029
|
+
});
|
|
8030
|
+
}
|
|
7848
8031
|
export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extends $tea.Model {
|
|
7849
8032
|
dataInitialization?: boolean;
|
|
7850
8033
|
dataSynchronization?: boolean;
|
|
8034
|
+
fullDataCheck?: boolean;
|
|
8035
|
+
incDataCheck?: boolean;
|
|
7851
8036
|
structureInitialization?: boolean;
|
|
7852
8037
|
static names(): {
|
|
7853
8038
|
[key: string]: string;
|
|
@@ -7959,6 +8144,8 @@ export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJob extends $te
|
|
|
7959
8144
|
errorMessage?: string;
|
|
7960
8145
|
etlSafeCheckpoint?: string;
|
|
7961
8146
|
expireTime?: string;
|
|
8147
|
+
fullDataCheckStatus?: DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus;
|
|
8148
|
+
incDataCheckStatus?: DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus;
|
|
7962
8149
|
memUsage?: string;
|
|
7963
8150
|
migrationMode?: DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode;
|
|
7964
8151
|
payType?: string;
|
|
@@ -10455,6 +10642,8 @@ export default class Client extends OpenApi {
|
|
|
10455
10642
|
* @return CreateMigrationJobResponse
|
|
10456
10643
|
*/
|
|
10457
10644
|
createMigrationJob(request: CreateMigrationJobRequest): Promise<CreateMigrationJobResponse>;
|
|
10645
|
+
createReverseDtsJobWithOptions(request: CreateReverseDtsJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateReverseDtsJobResponse>;
|
|
10646
|
+
createReverseDtsJob(request: CreateReverseDtsJobRequest): Promise<CreateReverseDtsJobResponse>;
|
|
10458
10647
|
/**
|
|
10459
10648
|
* Before you call this operation, make sure that you fully understand the billing methods and [pricing](https://www.alibabacloud.com/zh/product/data-transmission-service/pricing) of Data Transmission Service (DTS).
|
|
10460
10649
|
*
|
|
@@ -10817,6 +11006,8 @@ export default class Client extends OpenApi {
|
|
|
10817
11006
|
* @return ModifyDtsJobDuLimitResponse
|
|
10818
11007
|
*/
|
|
10819
11008
|
modifyDtsJobDuLimit(request: ModifyDtsJobDuLimitRequest): Promise<ModifyDtsJobDuLimitResponse>;
|
|
11009
|
+
modifyDtsJobEndpointWithOptions(request: ModifyDtsJobEndpointRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDtsJobEndpointResponse>;
|
|
11010
|
+
modifyDtsJobEndpoint(request: ModifyDtsJobEndpointRequest): Promise<ModifyDtsJobEndpointResponse>;
|
|
10820
11011
|
modifyDtsJobNameWithOptions(request: ModifyDtsJobNameRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDtsJobNameResponse>;
|
|
10821
11012
|
modifyDtsJobName(request: ModifyDtsJobNameRequest): Promise<ModifyDtsJobNameResponse>;
|
|
10822
11013
|
modifyDtsJobPasswordWithOptions(request: ModifyDtsJobPasswordRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDtsJobPasswordResponse>;
|
|
@@ -10931,6 +11122,8 @@ export default class Client extends OpenApi {
|
|
|
10931
11122
|
* @return StartMigrationJobResponse
|
|
10932
11123
|
*/
|
|
10933
11124
|
startMigrationJob(request: StartMigrationJobRequest): Promise<StartMigrationJobResponse>;
|
|
11125
|
+
startReverseWriterWithOptions(request: StartReverseWriterRequest, runtime: $Util.RuntimeOptions): Promise<StartReverseWriterResponse>;
|
|
11126
|
+
startReverseWriter(request: StartReverseWriterRequest): Promise<StartReverseWriterResponse>;
|
|
10934
11127
|
/**
|
|
10935
11128
|
* When you call this operation, the change tracking task must be in the NotStarted or Failed state.
|
|
10936
11129
|
*
|