@alicloud/dts20200101 1.8.0 → 1.8.2

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.
Files changed (94) hide show
  1. package/dist/client.d.ts +28 -30
  2. package/dist/client.js +31 -30
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ConfigureSubscriptionInstanceRequest.d.ts +4 -0
  5. package/dist/models/ConfigureSubscriptionInstanceRequest.js.map +1 -1
  6. package/dist/models/ConfigureSynchronizationJobReplicatorCompareRequest.d.ts +7 -0
  7. package/dist/models/ConfigureSynchronizationJobReplicatorCompareRequest.js.map +1 -1
  8. package/dist/models/ConfigureSynchronizationJobRequest.d.ts +7 -0
  9. package/dist/models/ConfigureSynchronizationJobRequest.js.map +1 -1
  10. package/dist/models/CreateDtsInstanceRequest.d.ts +1 -0
  11. package/dist/models/CreateDtsInstanceRequest.js +2 -0
  12. package/dist/models/CreateDtsInstanceRequest.js.map +1 -1
  13. package/dist/models/CreateSynchronizationJobRequest.d.ts +7 -0
  14. package/dist/models/CreateSynchronizationJobRequest.js.map +1 -1
  15. package/dist/models/DescribeConsumerGroupResponseBody.d.ts +0 -50
  16. package/dist/models/DescribeConsumerGroupResponseBody.js.map +1 -1
  17. package/dist/models/DescribeDtsJobDetailResponseBody.d.ts +3 -0
  18. package/dist/models/DescribeDtsJobDetailResponseBody.js +6 -0
  19. package/dist/models/DescribeDtsJobDetailResponseBody.js.map +1 -1
  20. package/dist/models/DescribeEndpointSwitchStatusRequest.d.ts +7 -0
  21. package/dist/models/DescribeEndpointSwitchStatusRequest.js.map +1 -1
  22. package/dist/models/DescribeGadInstancesResponseBody.d.ts +0 -52
  23. package/dist/models/DescribeGadInstancesResponseBody.js.map +1 -1
  24. package/dist/models/DescribeMigrationJobDetailResponseBody.d.ts +0 -227
  25. package/dist/models/DescribeMigrationJobDetailResponseBody.js.map +1 -1
  26. package/dist/models/DescribeMigrationJobStatusResponseBody.d.ts +0 -39
  27. package/dist/models/DescribeMigrationJobStatusResponseBody.js.map +1 -1
  28. package/dist/models/DescribeMigrationJobsResponseBody.d.ts +0 -391
  29. package/dist/models/DescribeMigrationJobsResponseBody.js.map +1 -1
  30. package/dist/models/DescribePreCheckCreateGadOrderResultResponseBody.d.ts +0 -12
  31. package/dist/models/DescribePreCheckCreateGadOrderResultResponseBody.js.map +1 -1
  32. package/dist/models/DescribeSubscriptionInstanceAlertRequest.d.ts +7 -0
  33. package/dist/models/DescribeSubscriptionInstanceAlertRequest.js.map +1 -1
  34. package/dist/models/DescribeSubscriptionInstanceStatusResponseBody.d.ts +0 -25
  35. package/dist/models/DescribeSubscriptionInstanceStatusResponseBody.js.map +1 -1
  36. package/dist/models/DescribeSubscriptionInstancesResponseBody.d.ts +0 -212
  37. package/dist/models/DescribeSubscriptionInstancesResponseBody.js.map +1 -1
  38. package/dist/models/ListDedicatedClusterResponseBody.d.ts +0 -153
  39. package/dist/models/ListDedicatedClusterResponseBody.js.map +1 -1
  40. package/dist/models/ListTagResourcesResponseBody.d.ts +0 -32
  41. package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
  42. package/dist/models/ModifyConsumerGroupPasswordRequest.d.ts +7 -0
  43. package/dist/models/ModifyConsumerGroupPasswordRequest.js.map +1 -1
  44. package/dist/models/ModifyConsumptionTimestampRequest.d.ts +7 -0
  45. package/dist/models/ModifyConsumptionTimestampRequest.js.map +1 -1
  46. package/dist/models/ModifySubscriptionObjectRequest.d.ts +7 -0
  47. package/dist/models/ModifySubscriptionObjectRequest.js.map +1 -1
  48. package/dist/models/ModifySynchronizationObjectRequest.d.ts +12 -0
  49. package/dist/models/ModifySynchronizationObjectRequest.js.map +1 -1
  50. package/dist/models/ResetSynchronizationJobRequest.d.ts +7 -0
  51. package/dist/models/ResetSynchronizationJobRequest.js.map +1 -1
  52. package/dist/models/ShieldPrecheckRequest.d.ts +7 -0
  53. package/dist/models/ShieldPrecheckRequest.js.map +1 -1
  54. package/dist/models/StartMigrationJobRequest.d.ts +7 -0
  55. package/dist/models/StartMigrationJobRequest.js.map +1 -1
  56. package/dist/models/StartSynchronizationJobRequest.d.ts +7 -0
  57. package/dist/models/StartSynchronizationJobRequest.js.map +1 -1
  58. package/dist/models/StopMigrationJobRequest.d.ts +7 -0
  59. package/dist/models/StopMigrationJobRequest.js.map +1 -1
  60. package/dist/models/SuspendSynchronizationJobRequest.d.ts +7 -0
  61. package/dist/models/SuspendSynchronizationJobRequest.js.map +1 -1
  62. package/dist/models/SwitchSynchronizationEndpointRequest.d.ts +7 -0
  63. package/dist/models/SwitchSynchronizationEndpointRequest.js.map +1 -1
  64. package/package.json +1 -1
  65. package/src/client.ts +32 -30
  66. package/src/models/ConfigureSubscriptionInstanceRequest.ts +4 -0
  67. package/src/models/ConfigureSynchronizationJobReplicatorCompareRequest.ts +7 -0
  68. package/src/models/ConfigureSynchronizationJobRequest.ts +7 -0
  69. package/src/models/CreateDtsInstanceRequest.ts +3 -0
  70. package/src/models/CreateSynchronizationJobRequest.ts +7 -0
  71. package/src/models/DescribeConsumerGroupResponseBody.ts +0 -50
  72. package/src/models/DescribeDtsJobDetailResponseBody.ts +9 -0
  73. package/src/models/DescribeEndpointSwitchStatusRequest.ts +7 -0
  74. package/src/models/DescribeGadInstancesResponseBody.ts +0 -52
  75. package/src/models/DescribeMigrationJobDetailResponseBody.ts +0 -227
  76. package/src/models/DescribeMigrationJobStatusResponseBody.ts +0 -39
  77. package/src/models/DescribeMigrationJobsResponseBody.ts +0 -391
  78. package/src/models/DescribePreCheckCreateGadOrderResultResponseBody.ts +0 -12
  79. package/src/models/DescribeSubscriptionInstanceAlertRequest.ts +7 -0
  80. package/src/models/DescribeSubscriptionInstanceStatusResponseBody.ts +0 -25
  81. package/src/models/DescribeSubscriptionInstancesResponseBody.ts +0 -212
  82. package/src/models/ListDedicatedClusterResponseBody.ts +0 -153
  83. package/src/models/ListTagResourcesResponseBody.ts +0 -32
  84. package/src/models/ModifyConsumerGroupPasswordRequest.ts +7 -0
  85. package/src/models/ModifyConsumptionTimestampRequest.ts +7 -0
  86. package/src/models/ModifySubscriptionObjectRequest.ts +7 -0
  87. package/src/models/ModifySynchronizationObjectRequest.ts +12 -0
  88. package/src/models/ResetSynchronizationJobRequest.ts +7 -0
  89. package/src/models/ShieldPrecheckRequest.ts +7 -0
  90. package/src/models/StartMigrationJobRequest.ts +7 -0
  91. package/src/models/StartSynchronizationJobRequest.ts +7 -0
  92. package/src/models/StopMigrationJobRequest.ts +7 -0
  93. package/src/models/SuspendSynchronizationJobRequest.ts +7 -0
  94. package/src/models/SwitchSynchronizationEndpointRequest.ts +7 -0
@@ -3,71 +3,19 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeGadInstancesResponseBodyInstancesInstances extends $dara.Model {
6
- /**
7
- * @example
8
- * 2024-05-29 23:55:58
9
- */
10
6
  createTime?: number;
11
- /**
12
- * @example
13
- * MySQL
14
- */
15
7
  dbEngineType?: string;
16
- /**
17
- * @example
18
- * 2
19
- */
20
8
  dbInstanceCount?: number;
21
- /**
22
- * @example
23
- * rg-a76s8afa****
24
- */
25
9
  instanceId?: string;
26
- /**
27
- * @example
28
- * test
29
- */
30
10
  instanceName?: string;
31
- /**
32
- * @example
33
- * cn-hangzhou
34
- */
35
11
  instanceRegion?: string;
36
- /**
37
- * @example
38
- * DR
39
- */
40
12
  instanceType?: string;
41
- /**
42
- * @example
43
- * rm-sadfasfa****
44
- */
45
13
  masterDbInstanceId?: string;
46
- /**
47
- * @example
48
- * test
49
- */
50
14
  masterDbInstanceName?: string;
51
- /**
52
- * @example
53
- * cn-hangzhou
54
- */
55
15
  masterDbInstanceRegion?: string;
56
- /**
57
- * @example
58
- * cn-hangzhou
59
- */
60
16
  masterDbInstanceZoneId?: string;
61
17
  masterEngineArchType?: number;
62
- /**
63
- * @example
64
- * rg-aekzq276dmnaxqa
65
- */
66
18
  resourceGroupId?: string;
67
- /**
68
- * @example
69
- * running
70
- */
71
19
  status?: string;
72
20
  static names(): { [key: string]: string } {
73
21
  return {
@@ -3,74 +3,13 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeMigrationJobDetailResponseBodyDataInitializationDetailListDataInitializationDetail extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The status of full data migration. Valid values:
9
- *
10
- * - **NotStarted**: Full data migration is not started.
11
- * - **Migrating**: Full data migration is in progress.
12
- * - **Failed**: Full data migration failed.
13
- * - **Finished**: Full data migration is completed.
14
- *
15
- * @example
16
- * dtstestdata
17
- */
18
6
  destinationOwnerDBName?: string;
19
- /**
20
- * @remarks
21
- * The page number of the returned page.
22
- *
23
- * @example
24
- * java.lang.NumberFormatException: For input string: ""
25
- */
26
7
  errorMessage?: string;
27
- /**
28
- * @remarks
29
- * The details of full data migration.
30
- *
31
- * @example
32
- * 200001
33
- */
34
8
  finishRowNum?: string;
35
- /**
36
- * @remarks
37
- * The name of the database to which the migration object in the source instance belongs.
38
- *
39
- * @example
40
- * 0.0
41
- */
42
9
  migrationTime?: string;
43
- /**
44
- * @remarks
45
- * Indicates whether the call was successful.
46
- *
47
- * @example
48
- * dtstestdata
49
- */
50
10
  sourceOwnerDBName?: string;
51
- /**
52
- * @remarks
53
- * The total number of entries that are returned.
54
- *
55
- * @example
56
- * Finished
57
- */
58
11
  status?: string;
59
- /**
60
- * @remarks
61
- * The error message returned if the call failed.
62
- *
63
- * @example
64
- * customer
65
- */
66
12
  tableName?: string;
67
- /**
68
- * @remarks
69
- * The table name.
70
- *
71
- * @example
72
- * 201477
73
- */
74
13
  totalRowNum?: string;
75
14
  static names(): { [key: string]: string } {
76
15
  return {
@@ -134,50 +73,10 @@ export class DescribeMigrationJobDetailResponseBodyDataInitializationDetailList
134
73
  }
135
74
 
136
75
  export class DescribeMigrationJobDetailResponseBodyDataSynchronizationDetailListDataSynchronizationDetail extends $dara.Model {
137
- /**
138
- * @remarks
139
- * The status of incremental data migration. Valid values:
140
- *
141
- * * **NotStarted**: Incremental data migration is not started.
142
- * * **Migrating**: Incremental data migration is in progress.
143
- * * **Failed**: Incremental data migration failed.
144
- * * **Finished**: Incremental data migration is completed.
145
- *
146
- * @example
147
- * dtstestdata
148
- */
149
76
  destinationOwnerDBName?: string;
150
- /**
151
- * @remarks
152
- * The total number of records that are supposed to be migrated by the task.
153
- *
154
- * @example
155
- * The details of incremental data migration.
156
- */
157
77
  errorMessage?: string;
158
- /**
159
- * @remarks
160
- * The time taken by full data migration.
161
- *
162
- * @example
163
- * dtstestdata
164
- */
165
78
  sourceOwnerDBName?: string;
166
- /**
167
- * @remarks
168
- * The number of records that have been migrated.
169
- *
170
- * @example
171
- * Migrating
172
- */
173
79
  status?: string;
174
- /**
175
- * @remarks
176
- * The name of the database to which the migration object in the destination instance belongs.
177
- *
178
- * @example
179
- * customer
180
- */
181
80
  tableName?: string;
182
81
  static names(): { [key: string]: string } {
183
82
  return {
@@ -235,68 +134,12 @@ export class DescribeMigrationJobDetailResponseBodyDataSynchronizationDetailList
235
134
  }
236
135
 
237
136
  export class DescribeMigrationJobDetailResponseBodyStructureInitializationDetailListStructureInitializationDetailConstraintListStructureInitializationDetail extends $dara.Model {
238
- /**
239
- * @remarks
240
- * The status of constraint creation. Valid values:
241
- *
242
- * - **NotStarted**
243
- * - **Migrating**
244
- * - **Failed**
245
- * - **Finished**
246
- *
247
- * @example
248
- * dtstestdata
249
- */
250
137
  destinationOwnerDBName?: string;
251
- /**
252
- * @remarks
253
- * The constraints of the migration object, such as indexes and foreign keys.
254
- *
255
- * > This parameter is returned only if the **ObjectType** parameter is set to **Table** and the migration object has constraints.
256
- *
257
- * @example
258
- * DTS-1020042 Execute sql error sql: ERROR: type "geometry" does not exist;
259
- */
260
138
  errorMessage?: string;
261
- /**
262
- * @remarks
263
- * The name of the database to which the migration object in the destination instance belongs.
264
- *
265
- * @example
266
- * CREATE SEQUENCE "public"."collections_id_seq" MINVALUE 1 MAXVALUE 9223372036854775807 START 249 INCREMENT BY 1 ;
267
- */
268
139
  objectDefinition?: string;
269
- /**
270
- * @remarks
271
- * The name of the database to which the migration object in the source instance belongs.
272
- *
273
- * @example
274
- * customer
275
- */
276
140
  objectName?: string;
277
- /**
278
- * @remarks
279
- * The name of migration object.
280
- *
281
- * @example
282
- * Table
283
- */
284
141
  objectType?: string;
285
- /**
286
- * @remarks
287
- * The error message returned if schema migration failed.
288
- *
289
- * @example
290
- * dtstestdata
291
- */
292
142
  sourceOwnerDBName?: string;
293
- /**
294
- * @remarks
295
- * The type of the migration object. Valid values: **Table**, **Constraint**, **Index**, **View**, **Materialize View**, **Type**, **Synonym**, **Trigger**, **Function**, **Procedure**, **Package**, **Default**, **Rule**, **PlanGuide**, and **Sequence**.
296
- *
297
- * @example
298
- * Finished
299
- */
300
143
  status?: string;
301
144
  static names(): { [key: string]: string } {
302
145
  return {
@@ -358,71 +201,13 @@ export class DescribeMigrationJobDetailResponseBodyStructureInitializationDetail
358
201
  }
359
202
 
360
203
  export class DescribeMigrationJobDetailResponseBodyStructureInitializationDetailListStructureInitializationDetail extends $dara.Model {
361
- /**
362
- * @remarks
363
- * The schema of the migration object.
364
- */
365
204
  constraintList?: DescribeMigrationJobDetailResponseBodyStructureInitializationDetailListStructureInitializationDetailConstraintList;
366
- /**
367
- * @remarks
368
- * The status of schema migration. Valid values:
369
- *
370
- * - **NotStarted**: Schema migration is not started.
371
- * - **Migrating**: Schema migration is in progress.
372
- * - **Failed**: Schema migration failed.
373
- * - **Finished**: Schema migration is completed.
374
- *
375
- * @example
376
- * dtstestdata
377
- */
378
205
  destinationOwnerDBName?: string;
379
- /**
380
- * @remarks
381
- * The details of schema migration.
382
- *
383
- * @example
384
- * DTS-1020042 Execute sql error sql: DTS-1020042 Execute sql error sql: ERROR: column \\"id\\" named in key does not exist
385
- */
386
206
  errorMessage?: string;
387
- /**
388
- * @remarks
389
- * The task has failed for too long and cannot be restored
390
- *
391
- * @example
392
- * CREATE TABLE `dtstestdata`.`customer` (\\n`runoob_id` int(10) unsigned auto_increment COMMENT \\"\\" NOT NULL , \\n`runoob_title` varchar(100) CHARSET `utf8` COLLATE `utf8_general_ci` COMMENT \\"\\" NOT NULL , \\n`runoob_author1216` varchar(40) CHARSET `utf8` COLLATE `utf8_general_ci` COMMENT \\"\\" NOT NULL , \\n`submission_date1216` date COMMENT \\"\\" NULL \\n, PRIMARY KEY (`runoob_id`)) engine=InnoDB AUTO_INCREMENT=200001 DEFAULT CHARSET=`utf8` DEFAULT COLLATE `utf8_general_ci` ROW_FORMAT= Dynamic comment = \\"\\" ;\\n
393
- */
394
207
  objectDefinition?: string;
395
- /**
396
- * @remarks
397
- * The name of the database to which the migration object in the source instance belongs.
398
- *
399
- * @example
400
- * customer
401
- */
402
208
  objectName?: string;
403
- /**
404
- * @remarks
405
- * The name of the database to which the migration object in the destination instance belongs.
406
- *
407
- * @example
408
- * Table
409
- */
410
209
  objectType?: string;
411
- /**
412
- * @remarks
413
- * The error message returned if incremental data migration failed.
414
- *
415
- * @example
416
- * dtstestdata
417
- */
418
210
  sourceOwnerDBName?: string;
419
- /**
420
- * @remarks
421
- * The table name.
422
- *
423
- * @example
424
- * Finished
425
- */
426
211
  status?: string;
427
212
  static names(): { [key: string]: string } {
428
213
  return {
@@ -489,15 +274,7 @@ export class DescribeMigrationJobDetailResponseBodyStructureInitializationDetail
489
274
  }
490
275
 
491
276
  export class DescribeMigrationJobDetailResponseBody extends $dara.Model {
492
- /**
493
- * @remarks
494
- * The maximum number of data migration instances that can be displayed on one page.
495
- */
496
277
  dataInitializationDetailList?: DescribeMigrationJobDetailResponseBodyDataInitializationDetailList;
497
- /**
498
- * @remarks
499
- * The error message returned if full data migration failed.
500
- */
501
278
  dataSynchronizationDetailList?: DescribeMigrationJobDetailResponseBodyDataSynchronizationDetailList;
502
279
  /**
503
280
  * @remarks
@@ -551,10 +328,6 @@ export class DescribeMigrationJobDetailResponseBody extends $dara.Model {
551
328
  * 0AE3CD0B-4148-426F-A90E-952467CC****
552
329
  */
553
330
  requestId?: string;
554
- /**
555
- * @remarks
556
- * The name of the database to which the migration object in the source instance belongs.
557
- */
558
331
  structureInitializationDetailList?: DescribeMigrationJobDetailResponseBodyStructureInitializationDetailList;
559
332
  /**
560
333
  * @remarks
@@ -305,44 +305,9 @@ export class DescribeMigrationJobStatusResponseBodyMigrationMode extends $dara.M
305
305
  }
306
306
 
307
307
  export class DescribeMigrationJobStatusResponseBodyPrecheckStatusDetailCheckItem extends $dara.Model {
308
- /**
309
- * @remarks
310
- * The precheck result. Valid values:
311
- *
312
- * * **Success**: The task passed the precheck.
313
- * * **Failed**: The task failed to pass the precheck.
314
- *
315
- * @example
316
- * Success
317
- */
318
308
  checkStatus?: string;
319
- /**
320
- * @remarks
321
- * The error message returned if the task failed to pass the precheck.
322
- *
323
- * > This parameter is returned only if the return value of the **CheckStatus** parameter is **Failed**.
324
- *
325
- * @example
326
- * Original error: Access denied for user \\"dtstest\\"@\\"100.104.***.**\\" (using password: YES)
327
- */
328
309
  errorMessage?: string;
329
- /**
330
- * @remarks
331
- * The name of the precheck item.
332
- *
333
- * @example
334
- * CHECK_CONN_SRC
335
- */
336
310
  itemName?: string;
337
- /**
338
- * @remarks
339
- * The method to fix the precheck failure.
340
- *
341
- * > This parameter is returned only if the return value of the **CheckStatus** parameter is **Failed**.
342
- *
343
- * @example
344
- * CHECK_ERROR_DEST_CONN_REPAIR2
345
- */
346
311
  repairMethod?: string;
347
312
  static names(): { [key: string]: string } {
348
313
  return {
@@ -398,10 +363,6 @@ export class DescribeMigrationJobStatusResponseBodyPrecheckStatusDetail extends
398
363
  }
399
364
 
400
365
  export class DescribeMigrationJobStatusResponseBodyPrecheckStatus extends $dara.Model {
401
- /**
402
- * @remarks
403
- * The result of each precheck item.
404
- */
405
366
  detail?: DescribeMigrationJobStatusResponseBodyPrecheckStatusDetail;
406
367
  /**
407
368
  * @remarks