@alicloud/dts20200101 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -16,6 +16,8 @@ export declare class ConfigureDtsJobRequest extends $tea.Model {
16
16
  delayNotice?: boolean;
17
17
  delayPhone?: string;
18
18
  delayRuleTime?: number;
19
+ destCaCertificateOssUrl?: string;
20
+ destCaCertificatePassword?: string;
19
21
  destinationEndpointDataBaseName?: string;
20
22
  destinationEndpointEngineName?: string;
21
23
  destinationEndpointIP?: string;
@@ -53,6 +55,8 @@ export declare class ConfigureDtsJobRequest extends $tea.Model {
53
55
  sourceEndpointRole?: string;
54
56
  sourceEndpointUserName?: string;
55
57
  sourceEndpointVSwitchID?: string;
58
+ srcCaCertificateOssUrl?: string;
59
+ srcCaCertificatePassword?: string;
56
60
  structureInitialization?: boolean;
57
61
  synchronizationDirection?: string;
58
62
  static names(): {
@@ -75,6 +79,8 @@ export declare class ConfigureDtsJobAdvanceRequest extends $tea.Model {
75
79
  delayNotice?: boolean;
76
80
  delayPhone?: string;
77
81
  delayRuleTime?: number;
82
+ destCaCertificateOssUrl?: string;
83
+ destCaCertificatePassword?: string;
78
84
  destinationEndpointDataBaseName?: string;
79
85
  destinationEndpointEngineName?: string;
80
86
  destinationEndpointIP?: string;
@@ -112,6 +118,8 @@ export declare class ConfigureDtsJobAdvanceRequest extends $tea.Model {
112
118
  sourceEndpointRole?: string;
113
119
  sourceEndpointUserName?: string;
114
120
  sourceEndpointVSwitchID?: string;
121
+ srcCaCertificateOssUrl?: string;
122
+ srcCaCertificatePassword?: string;
115
123
  structureInitialization?: boolean;
116
124
  synchronizationDirection?: string;
117
125
  static names(): {
@@ -974,6 +982,52 @@ export declare class CreateMigrationJobResponse extends $tea.Model {
974
982
  [key: string]: any;
975
983
  });
976
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
+ }
977
1031
  export declare class CreateSubscriptionInstanceRequest extends $tea.Model {
978
1032
  sourceEndpoint?: CreateSubscriptionInstanceRequestSourceEndpoint;
979
1033
  accountId?: string;
@@ -4003,6 +4057,7 @@ export declare class ModifyDtsJobRequest extends $tea.Model {
4003
4057
  [key: string]: any;
4004
4058
  };
4005
4059
  dtsInstanceId?: string;
4060
+ dtsJobId?: string;
4006
4061
  etlOperatorColumnReference?: string;
4007
4062
  fileOssUrl?: string;
4008
4063
  filterTableName?: string;
@@ -4029,6 +4084,7 @@ export declare class ModifyDtsJobAdvanceRequest extends $tea.Model {
4029
4084
  [key: string]: any;
4030
4085
  };
4031
4086
  dtsInstanceId?: string;
4087
+ dtsJobId?: string;
4032
4088
  etlOperatorColumnReference?: string;
4033
4089
  fileOssUrlObject?: Readable;
4034
4090
  filterTableName?: string;
@@ -4053,6 +4109,7 @@ export declare class ModifyDtsJobShrinkRequest extends $tea.Model {
4053
4109
  dataSynchronization?: boolean;
4054
4110
  dbListShrink?: string;
4055
4111
  dtsInstanceId?: string;
4112
+ dtsJobId?: string;
4056
4113
  etlOperatorColumnReference?: string;
4057
4114
  fileOssUrl?: string;
4058
4115
  filterTableName?: string;
@@ -4978,6 +5035,50 @@ export declare class StartMigrationJobResponse extends $tea.Model {
4978
5035
  [key: string]: any;
4979
5036
  });
4980
5037
  }
5038
+ export declare class StartReverseWriterRequest extends $tea.Model {
5039
+ checkPoint?: string;
5040
+ dtsJobId?: string;
5041
+ static names(): {
5042
+ [key: string]: string;
5043
+ };
5044
+ static types(): {
5045
+ [key: string]: any;
5046
+ };
5047
+ constructor(map?: {
5048
+ [key: string]: any;
5049
+ });
5050
+ }
5051
+ export declare class StartReverseWriterResponseBody extends $tea.Model {
5052
+ errCode?: string;
5053
+ errMessage?: string;
5054
+ requestId?: string;
5055
+ success?: string;
5056
+ static names(): {
5057
+ [key: string]: string;
5058
+ };
5059
+ static types(): {
5060
+ [key: string]: any;
5061
+ };
5062
+ constructor(map?: {
5063
+ [key: string]: any;
5064
+ });
5065
+ }
5066
+ export declare class StartReverseWriterResponse extends $tea.Model {
5067
+ headers: {
5068
+ [key: string]: string;
5069
+ };
5070
+ statusCode: number;
5071
+ body: StartReverseWriterResponseBody;
5072
+ static names(): {
5073
+ [key: string]: string;
5074
+ };
5075
+ static types(): {
5076
+ [key: string]: any;
5077
+ };
5078
+ constructor(map?: {
5079
+ [key: string]: any;
5080
+ });
5081
+ }
4981
5082
  export declare class StartSubscriptionInstanceRequest extends $tea.Model {
4982
5083
  accountId?: string;
4983
5084
  ownerId?: string;
@@ -7837,9 +7938,41 @@ export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJobErrorDetails
7837
7938
  [key: string]: any;
7838
7939
  });
7839
7940
  }
7941
+ export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus extends $tea.Model {
7942
+ errorMessage?: string;
7943
+ percent?: string;
7944
+ progress?: string;
7945
+ status?: string;
7946
+ static names(): {
7947
+ [key: string]: string;
7948
+ };
7949
+ static types(): {
7950
+ [key: string]: any;
7951
+ };
7952
+ constructor(map?: {
7953
+ [key: string]: any;
7954
+ });
7955
+ }
7956
+ export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus extends $tea.Model {
7957
+ errorMessage?: string;
7958
+ percent?: string;
7959
+ progress?: string;
7960
+ status?: string;
7961
+ static names(): {
7962
+ [key: string]: string;
7963
+ };
7964
+ static types(): {
7965
+ [key: string]: any;
7966
+ };
7967
+ constructor(map?: {
7968
+ [key: string]: any;
7969
+ });
7970
+ }
7840
7971
  export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extends $tea.Model {
7841
7972
  dataInitialization?: boolean;
7842
7973
  dataSynchronization?: boolean;
7974
+ fullDataCheck?: boolean;
7975
+ incDataCheck?: boolean;
7843
7976
  structureInitialization?: boolean;
7844
7977
  static names(): {
7845
7978
  [key: string]: string;
@@ -7951,6 +8084,8 @@ export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJob extends $te
7951
8084
  errorMessage?: string;
7952
8085
  etlSafeCheckpoint?: string;
7953
8086
  expireTime?: string;
8087
+ fullDataCheckStatus?: DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus;
8088
+ incDataCheckStatus?: DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus;
7954
8089
  memUsage?: string;
7955
8090
  migrationMode?: DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode;
7956
8091
  payType?: string;
@@ -10447,6 +10582,8 @@ export default class Client extends OpenApi {
10447
10582
  * @return CreateMigrationJobResponse
10448
10583
  */
10449
10584
  createMigrationJob(request: CreateMigrationJobRequest): Promise<CreateMigrationJobResponse>;
10585
+ createReverseDtsJobWithOptions(request: CreateReverseDtsJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateReverseDtsJobResponse>;
10586
+ createReverseDtsJob(request: CreateReverseDtsJobRequest): Promise<CreateReverseDtsJobResponse>;
10450
10587
  /**
10451
10588
  * 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).
10452
10589
  *
@@ -10923,6 +11060,8 @@ export default class Client extends OpenApi {
10923
11060
  * @return StartMigrationJobResponse
10924
11061
  */
10925
11062
  startMigrationJob(request: StartMigrationJobRequest): Promise<StartMigrationJobResponse>;
11063
+ startReverseWriterWithOptions(request: StartReverseWriterRequest, runtime: $Util.RuntimeOptions): Promise<StartReverseWriterResponse>;
11064
+ startReverseWriter(request: StartReverseWriterRequest): Promise<StartReverseWriterResponse>;
10926
11065
  /**
10927
11066
  * When you call this operation, the change tracking task must be in the NotStarted or Failed state.
10928
11067
  *
package/dist/client.js CHANGED
@@ -38,6 +38,8 @@ class ConfigureDtsJobRequest extends $tea.Model {
38
38
  delayNotice: 'DelayNotice',
39
39
  delayPhone: 'DelayPhone',
40
40
  delayRuleTime: 'DelayRuleTime',
41
+ destCaCertificateOssUrl: 'DestCaCertificateOssUrl',
42
+ destCaCertificatePassword: 'DestCaCertificatePassword',
41
43
  destinationEndpointDataBaseName: 'DestinationEndpointDataBaseName',
42
44
  destinationEndpointEngineName: 'DestinationEndpointEngineName',
43
45
  destinationEndpointIP: 'DestinationEndpointIP',
@@ -75,6 +77,8 @@ class ConfigureDtsJobRequest extends $tea.Model {
75
77
  sourceEndpointRole: 'SourceEndpointRole',
76
78
  sourceEndpointUserName: 'SourceEndpointUserName',
77
79
  sourceEndpointVSwitchID: 'SourceEndpointVSwitchID',
80
+ srcCaCertificateOssUrl: 'SrcCaCertificateOssUrl',
81
+ srcCaCertificatePassword: 'SrcCaCertificatePassword',
78
82
  structureInitialization: 'StructureInitialization',
79
83
  synchronizationDirection: 'SynchronizationDirection',
80
84
  };
@@ -90,6 +94,8 @@ class ConfigureDtsJobRequest extends $tea.Model {
90
94
  delayNotice: 'boolean',
91
95
  delayPhone: 'string',
92
96
  delayRuleTime: 'number',
97
+ destCaCertificateOssUrl: 'string',
98
+ destCaCertificatePassword: 'string',
93
99
  destinationEndpointDataBaseName: 'string',
94
100
  destinationEndpointEngineName: 'string',
95
101
  destinationEndpointIP: 'string',
@@ -127,6 +133,8 @@ class ConfigureDtsJobRequest extends $tea.Model {
127
133
  sourceEndpointRole: 'string',
128
134
  sourceEndpointUserName: 'string',
129
135
  sourceEndpointVSwitchID: 'string',
136
+ srcCaCertificateOssUrl: 'string',
137
+ srcCaCertificatePassword: 'string',
130
138
  structureInitialization: 'boolean',
131
139
  synchronizationDirection: 'string',
132
140
  };
@@ -148,6 +156,8 @@ class ConfigureDtsJobAdvanceRequest extends $tea.Model {
148
156
  delayNotice: 'DelayNotice',
149
157
  delayPhone: 'DelayPhone',
150
158
  delayRuleTime: 'DelayRuleTime',
159
+ destCaCertificateOssUrl: 'DestCaCertificateOssUrl',
160
+ destCaCertificatePassword: 'DestCaCertificatePassword',
151
161
  destinationEndpointDataBaseName: 'DestinationEndpointDataBaseName',
152
162
  destinationEndpointEngineName: 'DestinationEndpointEngineName',
153
163
  destinationEndpointIP: 'DestinationEndpointIP',
@@ -185,6 +195,8 @@ class ConfigureDtsJobAdvanceRequest extends $tea.Model {
185
195
  sourceEndpointRole: 'SourceEndpointRole',
186
196
  sourceEndpointUserName: 'SourceEndpointUserName',
187
197
  sourceEndpointVSwitchID: 'SourceEndpointVSwitchID',
198
+ srcCaCertificateOssUrl: 'SrcCaCertificateOssUrl',
199
+ srcCaCertificatePassword: 'SrcCaCertificatePassword',
188
200
  structureInitialization: 'StructureInitialization',
189
201
  synchronizationDirection: 'SynchronizationDirection',
190
202
  };
@@ -200,6 +212,8 @@ class ConfigureDtsJobAdvanceRequest extends $tea.Model {
200
212
  delayNotice: 'boolean',
201
213
  delayPhone: 'string',
202
214
  delayRuleTime: 'number',
215
+ destCaCertificateOssUrl: 'string',
216
+ destCaCertificatePassword: 'string',
203
217
  destinationEndpointDataBaseName: 'string',
204
218
  destinationEndpointEngineName: 'string',
205
219
  destinationEndpointIP: 'string',
@@ -237,6 +251,8 @@ class ConfigureDtsJobAdvanceRequest extends $tea.Model {
237
251
  sourceEndpointRole: 'string',
238
252
  sourceEndpointUserName: 'string',
239
253
  sourceEndpointVSwitchID: 'string',
254
+ srcCaCertificateOssUrl: 'string',
255
+ srcCaCertificatePassword: 'string',
240
256
  structureInitialization: 'boolean',
241
257
  synchronizationDirection: 'string',
242
258
  };
@@ -1503,6 +1519,70 @@ class CreateMigrationJobResponse extends $tea.Model {
1503
1519
  }
1504
1520
  }
1505
1521
  exports.CreateMigrationJobResponse = CreateMigrationJobResponse;
1522
+ class CreateReverseDtsJobRequest extends $tea.Model {
1523
+ constructor(map) {
1524
+ super(map);
1525
+ }
1526
+ static names() {
1527
+ return {
1528
+ dtsJobId: 'DtsJobId',
1529
+ };
1530
+ }
1531
+ static types() {
1532
+ return {
1533
+ dtsJobId: 'string',
1534
+ };
1535
+ }
1536
+ }
1537
+ exports.CreateReverseDtsJobRequest = CreateReverseDtsJobRequest;
1538
+ class CreateReverseDtsJobResponseBody extends $tea.Model {
1539
+ constructor(map) {
1540
+ super(map);
1541
+ }
1542
+ static names() {
1543
+ return {
1544
+ dtsInstanceId: 'DtsInstanceId',
1545
+ dtsJobId: 'DtsJobId',
1546
+ errCode: 'ErrCode',
1547
+ errMessage: 'ErrMessage',
1548
+ httpStatusCode: 'HttpStatusCode',
1549
+ requestId: 'RequestId',
1550
+ success: 'Success',
1551
+ };
1552
+ }
1553
+ static types() {
1554
+ return {
1555
+ dtsInstanceId: 'string',
1556
+ dtsJobId: 'string',
1557
+ errCode: 'string',
1558
+ errMessage: 'string',
1559
+ httpStatusCode: 'string',
1560
+ requestId: 'string',
1561
+ success: 'string',
1562
+ };
1563
+ }
1564
+ }
1565
+ exports.CreateReverseDtsJobResponseBody = CreateReverseDtsJobResponseBody;
1566
+ class CreateReverseDtsJobResponse extends $tea.Model {
1567
+ constructor(map) {
1568
+ super(map);
1569
+ }
1570
+ static names() {
1571
+ return {
1572
+ headers: 'headers',
1573
+ statusCode: 'statusCode',
1574
+ body: 'body',
1575
+ };
1576
+ }
1577
+ static types() {
1578
+ return {
1579
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1580
+ statusCode: 'number',
1581
+ body: CreateReverseDtsJobResponseBody,
1582
+ };
1583
+ }
1584
+ }
1585
+ exports.CreateReverseDtsJobResponse = CreateReverseDtsJobResponse;
1506
1586
  class CreateSubscriptionInstanceRequest extends $tea.Model {
1507
1587
  constructor(map) {
1508
1588
  super(map);
@@ -5992,6 +6072,7 @@ class ModifyDtsJobRequest extends $tea.Model {
5992
6072
  dataSynchronization: 'DataSynchronization',
5993
6073
  dbList: 'DbList',
5994
6074
  dtsInstanceId: 'DtsInstanceId',
6075
+ dtsJobId: 'DtsJobId',
5995
6076
  etlOperatorColumnReference: 'EtlOperatorColumnReference',
5996
6077
  fileOssUrl: 'FileOssUrl',
5997
6078
  filterTableName: 'FilterTableName',
@@ -6009,6 +6090,7 @@ class ModifyDtsJobRequest extends $tea.Model {
6009
6090
  dataSynchronization: 'boolean',
6010
6091
  dbList: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6011
6092
  dtsInstanceId: 'string',
6093
+ dtsJobId: 'string',
6012
6094
  etlOperatorColumnReference: 'string',
6013
6095
  fileOssUrl: 'string',
6014
6096
  filterTableName: 'string',
@@ -6032,6 +6114,7 @@ class ModifyDtsJobAdvanceRequest extends $tea.Model {
6032
6114
  dataSynchronization: 'DataSynchronization',
6033
6115
  dbList: 'DbList',
6034
6116
  dtsInstanceId: 'DtsInstanceId',
6117
+ dtsJobId: 'DtsJobId',
6035
6118
  etlOperatorColumnReference: 'EtlOperatorColumnReference',
6036
6119
  fileOssUrlObject: 'FileOssUrl',
6037
6120
  filterTableName: 'FilterTableName',
@@ -6049,6 +6132,7 @@ class ModifyDtsJobAdvanceRequest extends $tea.Model {
6049
6132
  dataSynchronization: 'boolean',
6050
6133
  dbList: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6051
6134
  dtsInstanceId: 'string',
6135
+ dtsJobId: 'string',
6052
6136
  etlOperatorColumnReference: 'string',
6053
6137
  fileOssUrlObject: 'Readable',
6054
6138
  filterTableName: 'string',
@@ -6072,6 +6156,7 @@ class ModifyDtsJobShrinkRequest extends $tea.Model {
6072
6156
  dataSynchronization: 'DataSynchronization',
6073
6157
  dbListShrink: 'DbList',
6074
6158
  dtsInstanceId: 'DtsInstanceId',
6159
+ dtsJobId: 'DtsJobId',
6075
6160
  etlOperatorColumnReference: 'EtlOperatorColumnReference',
6076
6161
  fileOssUrl: 'FileOssUrl',
6077
6162
  filterTableName: 'FilterTableName',
@@ -6089,6 +6174,7 @@ class ModifyDtsJobShrinkRequest extends $tea.Model {
6089
6174
  dataSynchronization: 'boolean',
6090
6175
  dbListShrink: 'string',
6091
6176
  dtsInstanceId: 'string',
6177
+ dtsJobId: 'string',
6092
6178
  etlOperatorColumnReference: 'string',
6093
6179
  fileOssUrl: 'string',
6094
6180
  filterTableName: 'string',
@@ -7391,6 +7477,66 @@ class StartMigrationJobResponse extends $tea.Model {
7391
7477
  }
7392
7478
  }
7393
7479
  exports.StartMigrationJobResponse = StartMigrationJobResponse;
7480
+ class StartReverseWriterRequest extends $tea.Model {
7481
+ constructor(map) {
7482
+ super(map);
7483
+ }
7484
+ static names() {
7485
+ return {
7486
+ checkPoint: 'CheckPoint',
7487
+ dtsJobId: 'DtsJobId',
7488
+ };
7489
+ }
7490
+ static types() {
7491
+ return {
7492
+ checkPoint: 'string',
7493
+ dtsJobId: 'string',
7494
+ };
7495
+ }
7496
+ }
7497
+ exports.StartReverseWriterRequest = StartReverseWriterRequest;
7498
+ class StartReverseWriterResponseBody extends $tea.Model {
7499
+ constructor(map) {
7500
+ super(map);
7501
+ }
7502
+ static names() {
7503
+ return {
7504
+ errCode: 'ErrCode',
7505
+ errMessage: 'ErrMessage',
7506
+ requestId: 'RequestId',
7507
+ success: 'Success',
7508
+ };
7509
+ }
7510
+ static types() {
7511
+ return {
7512
+ errCode: 'string',
7513
+ errMessage: 'string',
7514
+ requestId: 'string',
7515
+ success: 'string',
7516
+ };
7517
+ }
7518
+ }
7519
+ exports.StartReverseWriterResponseBody = StartReverseWriterResponseBody;
7520
+ class StartReverseWriterResponse extends $tea.Model {
7521
+ constructor(map) {
7522
+ super(map);
7523
+ }
7524
+ static names() {
7525
+ return {
7526
+ headers: 'headers',
7527
+ statusCode: 'statusCode',
7528
+ body: 'body',
7529
+ };
7530
+ }
7531
+ static types() {
7532
+ return {
7533
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7534
+ statusCode: 'number',
7535
+ body: StartReverseWriterResponseBody,
7536
+ };
7537
+ }
7538
+ }
7539
+ exports.StartReverseWriterResponse = StartReverseWriterResponse;
7394
7540
  class StartSubscriptionInstanceRequest extends $tea.Model {
7395
7541
  constructor(map) {
7396
7542
  super(map);
@@ -11737,6 +11883,50 @@ class DescribeDtsJobsResponseBodyDtsJobListReverseJobErrorDetails extends $tea.M
11737
11883
  }
11738
11884
  }
11739
11885
  exports.DescribeDtsJobsResponseBodyDtsJobListReverseJobErrorDetails = DescribeDtsJobsResponseBodyDtsJobListReverseJobErrorDetails;
11886
+ class DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus extends $tea.Model {
11887
+ constructor(map) {
11888
+ super(map);
11889
+ }
11890
+ static names() {
11891
+ return {
11892
+ errorMessage: 'ErrorMessage',
11893
+ percent: 'Percent',
11894
+ progress: 'Progress',
11895
+ status: 'Status',
11896
+ };
11897
+ }
11898
+ static types() {
11899
+ return {
11900
+ errorMessage: 'string',
11901
+ percent: 'string',
11902
+ progress: 'string',
11903
+ status: 'string',
11904
+ };
11905
+ }
11906
+ }
11907
+ exports.DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus = DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus;
11908
+ class DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus extends $tea.Model {
11909
+ constructor(map) {
11910
+ super(map);
11911
+ }
11912
+ static names() {
11913
+ return {
11914
+ errorMessage: 'ErrorMessage',
11915
+ percent: 'Percent',
11916
+ progress: 'Progress',
11917
+ status: 'Status',
11918
+ };
11919
+ }
11920
+ static types() {
11921
+ return {
11922
+ errorMessage: 'string',
11923
+ percent: 'string',
11924
+ progress: 'string',
11925
+ status: 'string',
11926
+ };
11927
+ }
11928
+ }
11929
+ exports.DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus = DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus;
11740
11930
  class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extends $tea.Model {
11741
11931
  constructor(map) {
11742
11932
  super(map);
@@ -11745,6 +11935,8 @@ class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extends $tea.
11745
11935
  return {
11746
11936
  dataInitialization: 'DataInitialization',
11747
11937
  dataSynchronization: 'DataSynchronization',
11938
+ fullDataCheck: 'FullDataCheck',
11939
+ incDataCheck: 'IncDataCheck',
11748
11940
  structureInitialization: 'StructureInitialization',
11749
11941
  };
11750
11942
  }
@@ -11752,6 +11944,8 @@ class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extends $tea.
11752
11944
  return {
11753
11945
  dataInitialization: 'boolean',
11754
11946
  dataSynchronization: 'boolean',
11947
+ fullDataCheck: 'boolean',
11948
+ incDataCheck: 'boolean',
11755
11949
  structureInitialization: 'boolean',
11756
11950
  };
11757
11951
  }
@@ -11902,6 +12096,8 @@ class DescribeDtsJobsResponseBodyDtsJobListReverseJob extends $tea.Model {
11902
12096
  errorMessage: 'ErrorMessage',
11903
12097
  etlSafeCheckpoint: 'EtlSafeCheckpoint',
11904
12098
  expireTime: 'ExpireTime',
12099
+ fullDataCheckStatus: 'FullDataCheckStatus',
12100
+ incDataCheckStatus: 'IncDataCheckStatus',
11905
12101
  memUsage: 'MemUsage',
11906
12102
  migrationMode: 'MigrationMode',
11907
12103
  payType: 'PayType',
@@ -11934,6 +12130,8 @@ class DescribeDtsJobsResponseBodyDtsJobListReverseJob extends $tea.Model {
11934
12130
  errorMessage: 'string',
11935
12131
  etlSafeCheckpoint: 'string',
11936
12132
  expireTime: 'string',
12133
+ fullDataCheckStatus: DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus,
12134
+ incDataCheckStatus: DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus,
11937
12135
  memUsage: 'string',
11938
12136
  migrationMode: DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode,
11939
12137
  payType: 'string',
@@ -15568,6 +15766,12 @@ class Client extends openapi_client_1.default {
15568
15766
  if (!tea_util_1.default.isUnset(request.delayRuleTime)) {
15569
15767
  query["DelayRuleTime"] = request.delayRuleTime;
15570
15768
  }
15769
+ if (!tea_util_1.default.isUnset(request.destCaCertificateOssUrl)) {
15770
+ query["DestCaCertificateOssUrl"] = request.destCaCertificateOssUrl;
15771
+ }
15772
+ if (!tea_util_1.default.isUnset(request.destCaCertificatePassword)) {
15773
+ query["DestCaCertificatePassword"] = request.destCaCertificatePassword;
15774
+ }
15571
15775
  if (!tea_util_1.default.isUnset(request.destinationEndpointDataBaseName)) {
15572
15776
  query["DestinationEndpointDataBaseName"] = request.destinationEndpointDataBaseName;
15573
15777
  }
@@ -15676,6 +15880,12 @@ class Client extends openapi_client_1.default {
15676
15880
  if (!tea_util_1.default.isUnset(request.sourceEndpointVSwitchID)) {
15677
15881
  query["SourceEndpointVSwitchID"] = request.sourceEndpointVSwitchID;
15678
15882
  }
15883
+ if (!tea_util_1.default.isUnset(request.srcCaCertificateOssUrl)) {
15884
+ query["SrcCaCertificateOssUrl"] = request.srcCaCertificateOssUrl;
15885
+ }
15886
+ if (!tea_util_1.default.isUnset(request.srcCaCertificatePassword)) {
15887
+ query["SrcCaCertificatePassword"] = request.srcCaCertificatePassword;
15888
+ }
15679
15889
  if (!tea_util_1.default.isUnset(request.structureInitialization)) {
15680
15890
  query["StructureInitialization"] = request.structureInitialization;
15681
15891
  }
@@ -16754,6 +16964,32 @@ class Client extends openapi_client_1.default {
16754
16964
  let runtime = new $Util.RuntimeOptions({});
16755
16965
  return await this.createMigrationJobWithOptions(request, runtime);
16756
16966
  }
16967
+ async createReverseDtsJobWithOptions(request, runtime) {
16968
+ tea_util_1.default.validateModel(request);
16969
+ let query = {};
16970
+ if (!tea_util_1.default.isUnset(request.dtsJobId)) {
16971
+ query["DtsJobId"] = request.dtsJobId;
16972
+ }
16973
+ let req = new $OpenApi.OpenApiRequest({
16974
+ query: openapi_util_1.default.query(query),
16975
+ });
16976
+ let params = new $OpenApi.Params({
16977
+ action: "CreateReverseDtsJob",
16978
+ version: "2020-01-01",
16979
+ protocol: "HTTPS",
16980
+ pathname: "/",
16981
+ method: "POST",
16982
+ authType: "AK",
16983
+ style: "RPC",
16984
+ reqBodyType: "formData",
16985
+ bodyType: "json",
16986
+ });
16987
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateReverseDtsJobResponse({}));
16988
+ }
16989
+ async createReverseDtsJob(request) {
16990
+ let runtime = new $Util.RuntimeOptions({});
16991
+ return await this.createReverseDtsJobWithOptions(request, runtime);
16992
+ }
16757
16993
  /**
16758
16994
  * 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).
16759
16995
  *
@@ -19349,6 +19585,9 @@ class Client extends openapi_client_1.default {
19349
19585
  if (!tea_util_1.default.isUnset(request.dtsInstanceId)) {
19350
19586
  query["DtsInstanceId"] = request.dtsInstanceId;
19351
19587
  }
19588
+ if (!tea_util_1.default.isUnset(request.dtsJobId)) {
19589
+ query["DtsJobId"] = request.dtsJobId;
19590
+ }
19352
19591
  if (!tea_util_1.default.isUnset(request.fileOssUrl)) {
19353
19592
  query["FileOssUrl"] = request.fileOssUrl;
19354
19593
  }
@@ -20217,6 +20456,35 @@ class Client extends openapi_client_1.default {
20217
20456
  let runtime = new $Util.RuntimeOptions({});
20218
20457
  return await this.startMigrationJobWithOptions(request, runtime);
20219
20458
  }
20459
+ async startReverseWriterWithOptions(request, runtime) {
20460
+ tea_util_1.default.validateModel(request);
20461
+ let query = {};
20462
+ if (!tea_util_1.default.isUnset(request.checkPoint)) {
20463
+ query["CheckPoint"] = request.checkPoint;
20464
+ }
20465
+ if (!tea_util_1.default.isUnset(request.dtsJobId)) {
20466
+ query["DtsJobId"] = request.dtsJobId;
20467
+ }
20468
+ let req = new $OpenApi.OpenApiRequest({
20469
+ query: openapi_util_1.default.query(query),
20470
+ });
20471
+ let params = new $OpenApi.Params({
20472
+ action: "StartReverseWriter",
20473
+ version: "2020-01-01",
20474
+ protocol: "HTTPS",
20475
+ pathname: "/",
20476
+ method: "POST",
20477
+ authType: "AK",
20478
+ style: "RPC",
20479
+ reqBodyType: "formData",
20480
+ bodyType: "json",
20481
+ });
20482
+ return $tea.cast(await this.callApi(params, req, runtime), new StartReverseWriterResponse({}));
20483
+ }
20484
+ async startReverseWriter(request) {
20485
+ let runtime = new $Util.RuntimeOptions({});
20486
+ return await this.startReverseWriterWithOptions(request, runtime);
20487
+ }
20220
20488
  /**
20221
20489
  * When you call this operation, the change tracking task must be in the NotStarted or Failed state.
20222
20490
  *