@alicloud/dts20200101 1.2.1 → 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
@@ -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;
@@ -4986,6 +5035,50 @@ export declare class StartMigrationJobResponse extends $tea.Model {
4986
5035
  [key: string]: any;
4987
5036
  });
4988
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
+ }
4989
5082
  export declare class StartSubscriptionInstanceRequest extends $tea.Model {
4990
5083
  accountId?: string;
4991
5084
  ownerId?: string;
@@ -7845,9 +7938,41 @@ export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJobErrorDetails
7845
7938
  [key: string]: any;
7846
7939
  });
7847
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
+ }
7848
7971
  export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extends $tea.Model {
7849
7972
  dataInitialization?: boolean;
7850
7973
  dataSynchronization?: boolean;
7974
+ fullDataCheck?: boolean;
7975
+ incDataCheck?: boolean;
7851
7976
  structureInitialization?: boolean;
7852
7977
  static names(): {
7853
7978
  [key: string]: string;
@@ -7959,6 +8084,8 @@ export declare class DescribeDtsJobsResponseBodyDtsJobListReverseJob extends $te
7959
8084
  errorMessage?: string;
7960
8085
  etlSafeCheckpoint?: string;
7961
8086
  expireTime?: string;
8087
+ fullDataCheckStatus?: DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus;
8088
+ incDataCheckStatus?: DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus;
7962
8089
  memUsage?: string;
7963
8090
  migrationMode?: DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode;
7964
8091
  payType?: string;
@@ -10455,6 +10582,8 @@ export default class Client extends OpenApi {
10455
10582
  * @return CreateMigrationJobResponse
10456
10583
  */
10457
10584
  createMigrationJob(request: CreateMigrationJobRequest): Promise<CreateMigrationJobResponse>;
10585
+ createReverseDtsJobWithOptions(request: CreateReverseDtsJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateReverseDtsJobResponse>;
10586
+ createReverseDtsJob(request: CreateReverseDtsJobRequest): Promise<CreateReverseDtsJobResponse>;
10458
10587
  /**
10459
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).
10460
10589
  *
@@ -10931,6 +11060,8 @@ export default class Client extends OpenApi {
10931
11060
  * @return StartMigrationJobResponse
10932
11061
  */
10933
11062
  startMigrationJob(request: StartMigrationJobRequest): Promise<StartMigrationJobResponse>;
11063
+ startReverseWriterWithOptions(request: StartReverseWriterRequest, runtime: $Util.RuntimeOptions): Promise<StartReverseWriterResponse>;
11064
+ startReverseWriter(request: StartReverseWriterRequest): Promise<StartReverseWriterResponse>;
10934
11065
  /**
10935
11066
  * When you call this operation, the change tracking task must be in the NotStarted or Failed state.
10936
11067
  *
package/dist/client.js CHANGED
@@ -1519,6 +1519,70 @@ class CreateMigrationJobResponse extends $tea.Model {
1519
1519
  }
1520
1520
  }
1521
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;
1522
1586
  class CreateSubscriptionInstanceRequest extends $tea.Model {
1523
1587
  constructor(map) {
1524
1588
  super(map);
@@ -6008,6 +6072,7 @@ class ModifyDtsJobRequest extends $tea.Model {
6008
6072
  dataSynchronization: 'DataSynchronization',
6009
6073
  dbList: 'DbList',
6010
6074
  dtsInstanceId: 'DtsInstanceId',
6075
+ dtsJobId: 'DtsJobId',
6011
6076
  etlOperatorColumnReference: 'EtlOperatorColumnReference',
6012
6077
  fileOssUrl: 'FileOssUrl',
6013
6078
  filterTableName: 'FilterTableName',
@@ -6025,6 +6090,7 @@ class ModifyDtsJobRequest extends $tea.Model {
6025
6090
  dataSynchronization: 'boolean',
6026
6091
  dbList: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6027
6092
  dtsInstanceId: 'string',
6093
+ dtsJobId: 'string',
6028
6094
  etlOperatorColumnReference: 'string',
6029
6095
  fileOssUrl: 'string',
6030
6096
  filterTableName: 'string',
@@ -6048,6 +6114,7 @@ class ModifyDtsJobAdvanceRequest extends $tea.Model {
6048
6114
  dataSynchronization: 'DataSynchronization',
6049
6115
  dbList: 'DbList',
6050
6116
  dtsInstanceId: 'DtsInstanceId',
6117
+ dtsJobId: 'DtsJobId',
6051
6118
  etlOperatorColumnReference: 'EtlOperatorColumnReference',
6052
6119
  fileOssUrlObject: 'FileOssUrl',
6053
6120
  filterTableName: 'FilterTableName',
@@ -6065,6 +6132,7 @@ class ModifyDtsJobAdvanceRequest extends $tea.Model {
6065
6132
  dataSynchronization: 'boolean',
6066
6133
  dbList: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6067
6134
  dtsInstanceId: 'string',
6135
+ dtsJobId: 'string',
6068
6136
  etlOperatorColumnReference: 'string',
6069
6137
  fileOssUrlObject: 'Readable',
6070
6138
  filterTableName: 'string',
@@ -6088,6 +6156,7 @@ class ModifyDtsJobShrinkRequest extends $tea.Model {
6088
6156
  dataSynchronization: 'DataSynchronization',
6089
6157
  dbListShrink: 'DbList',
6090
6158
  dtsInstanceId: 'DtsInstanceId',
6159
+ dtsJobId: 'DtsJobId',
6091
6160
  etlOperatorColumnReference: 'EtlOperatorColumnReference',
6092
6161
  fileOssUrl: 'FileOssUrl',
6093
6162
  filterTableName: 'FilterTableName',
@@ -6105,6 +6174,7 @@ class ModifyDtsJobShrinkRequest extends $tea.Model {
6105
6174
  dataSynchronization: 'boolean',
6106
6175
  dbListShrink: 'string',
6107
6176
  dtsInstanceId: 'string',
6177
+ dtsJobId: 'string',
6108
6178
  etlOperatorColumnReference: 'string',
6109
6179
  fileOssUrl: 'string',
6110
6180
  filterTableName: 'string',
@@ -7407,6 +7477,66 @@ class StartMigrationJobResponse extends $tea.Model {
7407
7477
  }
7408
7478
  }
7409
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;
7410
7540
  class StartSubscriptionInstanceRequest extends $tea.Model {
7411
7541
  constructor(map) {
7412
7542
  super(map);
@@ -11753,6 +11883,50 @@ class DescribeDtsJobsResponseBodyDtsJobListReverseJobErrorDetails extends $tea.M
11753
11883
  }
11754
11884
  }
11755
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;
11756
11930
  class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extends $tea.Model {
11757
11931
  constructor(map) {
11758
11932
  super(map);
@@ -11761,6 +11935,8 @@ class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extends $tea.
11761
11935
  return {
11762
11936
  dataInitialization: 'DataInitialization',
11763
11937
  dataSynchronization: 'DataSynchronization',
11938
+ fullDataCheck: 'FullDataCheck',
11939
+ incDataCheck: 'IncDataCheck',
11764
11940
  structureInitialization: 'StructureInitialization',
11765
11941
  };
11766
11942
  }
@@ -11768,6 +11944,8 @@ class DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode extends $tea.
11768
11944
  return {
11769
11945
  dataInitialization: 'boolean',
11770
11946
  dataSynchronization: 'boolean',
11947
+ fullDataCheck: 'boolean',
11948
+ incDataCheck: 'boolean',
11771
11949
  structureInitialization: 'boolean',
11772
11950
  };
11773
11951
  }
@@ -11918,6 +12096,8 @@ class DescribeDtsJobsResponseBodyDtsJobListReverseJob extends $tea.Model {
11918
12096
  errorMessage: 'ErrorMessage',
11919
12097
  etlSafeCheckpoint: 'EtlSafeCheckpoint',
11920
12098
  expireTime: 'ExpireTime',
12099
+ fullDataCheckStatus: 'FullDataCheckStatus',
12100
+ incDataCheckStatus: 'IncDataCheckStatus',
11921
12101
  memUsage: 'MemUsage',
11922
12102
  migrationMode: 'MigrationMode',
11923
12103
  payType: 'PayType',
@@ -11950,6 +12130,8 @@ class DescribeDtsJobsResponseBodyDtsJobListReverseJob extends $tea.Model {
11950
12130
  errorMessage: 'string',
11951
12131
  etlSafeCheckpoint: 'string',
11952
12132
  expireTime: 'string',
12133
+ fullDataCheckStatus: DescribeDtsJobsResponseBodyDtsJobListReverseJobFullDataCheckStatus,
12134
+ incDataCheckStatus: DescribeDtsJobsResponseBodyDtsJobListReverseJobIncDataCheckStatus,
11953
12135
  memUsage: 'string',
11954
12136
  migrationMode: DescribeDtsJobsResponseBodyDtsJobListReverseJobMigrationMode,
11955
12137
  payType: 'string',
@@ -16782,6 +16964,32 @@ class Client extends openapi_client_1.default {
16782
16964
  let runtime = new $Util.RuntimeOptions({});
16783
16965
  return await this.createMigrationJobWithOptions(request, runtime);
16784
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
+ }
16785
16993
  /**
16786
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).
16787
16995
  *
@@ -19377,6 +19585,9 @@ class Client extends openapi_client_1.default {
19377
19585
  if (!tea_util_1.default.isUnset(request.dtsInstanceId)) {
19378
19586
  query["DtsInstanceId"] = request.dtsInstanceId;
19379
19587
  }
19588
+ if (!tea_util_1.default.isUnset(request.dtsJobId)) {
19589
+ query["DtsJobId"] = request.dtsJobId;
19590
+ }
19380
19591
  if (!tea_util_1.default.isUnset(request.fileOssUrl)) {
19381
19592
  query["FileOssUrl"] = request.fileOssUrl;
19382
19593
  }
@@ -20245,6 +20456,35 @@ class Client extends openapi_client_1.default {
20245
20456
  let runtime = new $Util.RuntimeOptions({});
20246
20457
  return await this.startMigrationJobWithOptions(request, runtime);
20247
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
+ }
20248
20488
  /**
20249
20489
  * When you call this operation, the change tracking task must be in the NotStarted or Failed state.
20250
20490
  *