@alicloud/dataworks-public20240518 7.2.1 → 7.2.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 (103) hide show
  1. package/dist/client.js +73 -5
  2. package/dist/client.js.map +1 -1
  3. package/dist/models/CreateDijobRequest.d.ts +0 -81
  4. package/dist/models/CreateDijobRequest.js.map +1 -1
  5. package/dist/models/CreateDijobRequestDestinationDataSourceSettings.d.ts +0 -7
  6. package/dist/models/CreateDijobRequestDestinationDataSourceSettings.js.map +1 -1
  7. package/dist/models/CreateDijobRequestJobSettings.d.ts +0 -41
  8. package/dist/models/CreateDijobRequestJobSettings.js.map +1 -1
  9. package/dist/models/CreateDijobRequestJobSettingsColumnDataTypeSettings.d.ts +0 -14
  10. package/dist/models/CreateDijobRequestJobSettingsColumnDataTypeSettings.js.map +1 -1
  11. package/dist/models/CreateDijobRequestJobSettingsCycleScheduleSettings.d.ts +0 -17
  12. package/dist/models/CreateDijobRequestJobSettingsCycleScheduleSettings.js.map +1 -1
  13. package/dist/models/CreateDijobRequestJobSettingsDdlHandlingSettings.d.ts +0 -26
  14. package/dist/models/CreateDijobRequestJobSettingsDdlHandlingSettings.js.map +1 -1
  15. package/dist/models/CreateDijobRequestJobSettingsRuntimeSettings.d.ts +0 -23
  16. package/dist/models/CreateDijobRequestJobSettingsRuntimeSettings.js.map +1 -1
  17. package/dist/models/CreateDijobRequestResourceSettings.d.ts +0 -12
  18. package/dist/models/CreateDijobRequestResourceSettings.js.map +1 -1
  19. package/dist/models/CreateDijobRequestResourceSettingsOfflineResourceSettings.d.ts +0 -14
  20. package/dist/models/CreateDijobRequestResourceSettingsOfflineResourceSettings.js.map +1 -1
  21. package/dist/models/CreateDijobRequestResourceSettingsRealtimeResourceSettings.d.ts +0 -14
  22. package/dist/models/CreateDijobRequestResourceSettingsRealtimeResourceSettings.js.map +1 -1
  23. package/dist/models/CreateDijobRequestResourceSettingsScheduleResourceSettings.d.ts +0 -14
  24. package/dist/models/CreateDijobRequestResourceSettingsScheduleResourceSettings.js.map +1 -1
  25. package/dist/models/CreateDijobRequestSourceDataSourceSettings.d.ts +0 -11
  26. package/dist/models/CreateDijobRequestSourceDataSourceSettings.js.map +1 -1
  27. package/dist/models/CreateDijobRequestSourceDataSourceSettingsDataSourceProperties.d.ts +0 -14
  28. package/dist/models/CreateDijobRequestSourceDataSourceSettingsDataSourceProperties.js.map +1 -1
  29. package/dist/models/CreateDijobRequestTableMappings.d.ts +0 -8
  30. package/dist/models/CreateDijobRequestTableMappings.js.map +1 -1
  31. package/dist/models/CreateDijobRequestTableMappingsSourceObjectSelectionRules.d.ts +0 -32
  32. package/dist/models/CreateDijobRequestTableMappingsSourceObjectSelectionRules.js.map +1 -1
  33. package/dist/models/CreateDijobRequestTableMappingsTransformationRules.d.ts +0 -34
  34. package/dist/models/CreateDijobRequestTableMappingsTransformationRules.js.map +1 -1
  35. package/dist/models/CreateDijobRequestTransformationRules.d.ts +0 -83
  36. package/dist/models/CreateDijobRequestTransformationRules.js.map +1 -1
  37. package/dist/models/CreateDijobShrinkRequest.d.ts +0 -81
  38. package/dist/models/CreateDijobShrinkRequest.js.map +1 -1
  39. package/dist/models/UpdateDijobRequest.d.ts +0 -42
  40. package/dist/models/UpdateDijobRequest.js.map +1 -1
  41. package/dist/models/UpdateDijobRequestJobSettings.d.ts +0 -41
  42. package/dist/models/UpdateDijobRequestJobSettings.js.map +1 -1
  43. package/dist/models/UpdateDijobRequestJobSettingsColumnDataTypeSettings.d.ts +0 -14
  44. package/dist/models/UpdateDijobRequestJobSettingsColumnDataTypeSettings.js.map +1 -1
  45. package/dist/models/UpdateDijobRequestJobSettingsCycleScheduleSettings.d.ts +0 -7
  46. package/dist/models/UpdateDijobRequestJobSettingsCycleScheduleSettings.js.map +1 -1
  47. package/dist/models/UpdateDijobRequestJobSettingsDdlHandlingSettings.d.ts +0 -26
  48. package/dist/models/UpdateDijobRequestJobSettingsDdlHandlingSettings.js.map +1 -1
  49. package/dist/models/UpdateDijobRequestJobSettingsRuntimeSettings.d.ts +0 -23
  50. package/dist/models/UpdateDijobRequestJobSettingsRuntimeSettings.js.map +1 -1
  51. package/dist/models/UpdateDijobRequestResourceSettings.d.ts +0 -12
  52. package/dist/models/UpdateDijobRequestResourceSettings.js.map +1 -1
  53. package/dist/models/UpdateDijobRequestResourceSettingsOfflineResourceSettings.d.ts +0 -14
  54. package/dist/models/UpdateDijobRequestResourceSettingsOfflineResourceSettings.js.map +1 -1
  55. package/dist/models/UpdateDijobRequestResourceSettingsRealtimeResourceSettings.d.ts +0 -14
  56. package/dist/models/UpdateDijobRequestResourceSettingsRealtimeResourceSettings.js.map +1 -1
  57. package/dist/models/UpdateDijobRequestResourceSettingsScheduleResourceSettings.d.ts +0 -14
  58. package/dist/models/UpdateDijobRequestResourceSettingsScheduleResourceSettings.js.map +1 -1
  59. package/dist/models/UpdateDijobRequestTableMappings.d.ts +0 -8
  60. package/dist/models/UpdateDijobRequestTableMappings.js.map +1 -1
  61. package/dist/models/UpdateDijobRequestTableMappingsSourceObjectSelectionRules.d.ts +0 -32
  62. package/dist/models/UpdateDijobRequestTableMappingsSourceObjectSelectionRules.js.map +1 -1
  63. package/dist/models/UpdateDijobRequestTableMappingsTransformationRules.d.ts +0 -30
  64. package/dist/models/UpdateDijobRequestTableMappingsTransformationRules.js.map +1 -1
  65. package/dist/models/UpdateDijobRequestTransformationRules.d.ts +0 -83
  66. package/dist/models/UpdateDijobRequestTransformationRules.js.map +1 -1
  67. package/dist/models/UpdateDijobShrinkRequest.d.ts +0 -42
  68. package/dist/models/UpdateDijobShrinkRequest.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/client.ts +95 -5
  71. package/src/models/CreateDijobRequest.ts +0 -81
  72. package/src/models/CreateDijobRequestDestinationDataSourceSettings.ts +0 -7
  73. package/src/models/CreateDijobRequestJobSettings.ts +0 -41
  74. package/src/models/CreateDijobRequestJobSettingsColumnDataTypeSettings.ts +0 -14
  75. package/src/models/CreateDijobRequestJobSettingsCycleScheduleSettings.ts +0 -17
  76. package/src/models/CreateDijobRequestJobSettingsDdlHandlingSettings.ts +0 -26
  77. package/src/models/CreateDijobRequestJobSettingsRuntimeSettings.ts +0 -23
  78. package/src/models/CreateDijobRequestResourceSettings.ts +0 -12
  79. package/src/models/CreateDijobRequestResourceSettingsOfflineResourceSettings.ts +0 -14
  80. package/src/models/CreateDijobRequestResourceSettingsRealtimeResourceSettings.ts +0 -14
  81. package/src/models/CreateDijobRequestResourceSettingsScheduleResourceSettings.ts +0 -14
  82. package/src/models/CreateDijobRequestSourceDataSourceSettings.ts +0 -11
  83. package/src/models/CreateDijobRequestSourceDataSourceSettingsDataSourceProperties.ts +0 -14
  84. package/src/models/CreateDijobRequestTableMappings.ts +0 -8
  85. package/src/models/CreateDijobRequestTableMappingsSourceObjectSelectionRules.ts +0 -32
  86. package/src/models/CreateDijobRequestTableMappingsTransformationRules.ts +0 -34
  87. package/src/models/CreateDijobRequestTransformationRules.ts +0 -83
  88. package/src/models/CreateDijobShrinkRequest.ts +0 -81
  89. package/src/models/UpdateDijobRequest.ts +0 -42
  90. package/src/models/UpdateDijobRequestJobSettings.ts +0 -41
  91. package/src/models/UpdateDijobRequestJobSettingsColumnDataTypeSettings.ts +0 -14
  92. package/src/models/UpdateDijobRequestJobSettingsCycleScheduleSettings.ts +0 -7
  93. package/src/models/UpdateDijobRequestJobSettingsDdlHandlingSettings.ts +0 -26
  94. package/src/models/UpdateDijobRequestJobSettingsRuntimeSettings.ts +0 -23
  95. package/src/models/UpdateDijobRequestResourceSettings.ts +0 -12
  96. package/src/models/UpdateDijobRequestResourceSettingsOfflineResourceSettings.ts +0 -14
  97. package/src/models/UpdateDijobRequestResourceSettingsRealtimeResourceSettings.ts +0 -14
  98. package/src/models/UpdateDijobRequestResourceSettingsScheduleResourceSettings.ts +0 -14
  99. package/src/models/UpdateDijobRequestTableMappings.ts +0 -8
  100. package/src/models/UpdateDijobRequestTableMappingsSourceObjectSelectionRules.ts +0 -32
  101. package/src/models/UpdateDijobRequestTableMappingsTransformationRules.ts +0 -30
  102. package/src/models/UpdateDijobRequestTransformationRules.ts +0 -83
  103. package/src/models/UpdateDijobShrinkRequest.ts +0 -42
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestJobSettingsColumnDataTypeSettings extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The data type of the destination field. Valid values: bigint, boolean, string, text, datetime, timestamp, decimal, and binary. Different types of data sources support different data types.
9
- *
10
- * @example
11
- * text
12
- */
13
6
  destinationDataType?: string;
14
- /**
15
- * @remarks
16
- * The data type of the source field. Valid values: Valid values: bigint, boolean, string, text, datetime, timestamp, decimal, and binary. Different types of data sources support different data types.
17
- *
18
- * @example
19
- * bigint
20
- */
21
7
  sourceDataType?: string;
22
8
  static names(): { [key: string]: string } {
23
9
  return {
@@ -3,24 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestJobSettingsCycleScheduleSettings extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The synchronization type that requires periodic scheduling. Valid values:
9
- *
10
- * * Full: full synchronization
11
- * * OfflineIncremental: batch incremental synchronization
12
- *
13
- * @example
14
- * Full
15
- */
16
6
  cycleMigrationType?: string;
17
- /**
18
- * @remarks
19
- * The scheduling parameters.
20
- *
21
- * @example
22
- * bizdate=$bizdate
23
- */
24
7
  scheduleParameters?: string;
25
8
  static names(): { [key: string]: string } {
26
9
  return {
@@ -3,33 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestJobSettingsDdlHandlingSettings extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The processing policy. Valid values:
9
- *
10
- * * Ignore: ignores a DDL message.
11
- * * Critical: reports an error for a DDL message.
12
- * * Normal: normally processes a DDL message.
13
- *
14
- * @example
15
- * Critical
16
- */
17
6
  action?: string;
18
- /**
19
- * @remarks
20
- * The type of the DDL operation. Valid values:
21
- *
22
- * * RenameColumn
23
- * * ModifyColumn
24
- * * CreateTable
25
- * * TruncateTable
26
- * * DropTable
27
- * * DropColumn
28
- * * AddColumn
29
- *
30
- * @example
31
- * AddColumn
32
- */
33
7
  type?: string;
34
8
  static names(): { [key: string]: string } {
35
9
  return {
@@ -3,30 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestJobSettingsRuntimeSettings extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The name of the configuration item. Valid values:
9
- *
10
- * * src.offline.datasource.max.connection: specifies the maximum number of connections that are allowed for reading data from the source of a batch synchronization task.
11
- * * dst.offline.truncate: specifies whether to clear the destination table before data writing.
12
- * * runtime.offline.speed.limit.enable: specifies whether throttling is enabled for a batch synchronization task.
13
- * * runtime.offline.concurrent: specifies the maximum number of parallel threads that are allowed for a batch synchronization task.
14
- * * runtime.enable.auto.create.schema: specifies whether schemas are automatically created in the destination of a synchronization task.
15
- * * runtime.realtime.concurrent: specifies the maximum number of parallel threads that are allowed for a real-time synchronization task.
16
- * * runtime.realtime.failover.minute.dataxcdc: specifies the maximum waiting duration before a synchronization task retries the next restart if the previous restart fails after failover occurs. Unit: minutes.
17
- * * runtime.realtime.failover.times.dataxcdc: specifies the maximum number of failures that are allowed for restarting a synchronization task after failovers occur.
18
- *
19
- * @example
20
- * runtime.offline.concurrent
21
- */
22
6
  name?: string;
23
- /**
24
- * @remarks
25
- * The value of the configuration item.
26
- *
27
- * @example
28
- * 1
29
- */
30
7
  value?: string;
31
8
  static names(): { [key: string]: string } {
32
9
  return {
@@ -6,20 +6,8 @@ import { CreateDIJobRequestResourceSettingsScheduleResourceSettings } from "./Cr
6
6
 
7
7
 
8
8
  export class CreateDIJobRequestResourceSettings extends $dara.Model {
9
- /**
10
- * @remarks
11
- * The resource settings for batch synchronization.
12
- */
13
9
  offlineResourceSettings?: CreateDIJobRequestResourceSettingsOfflineResourceSettings;
14
- /**
15
- * @remarks
16
- * The resource settings for real-time synchronization.
17
- */
18
10
  realtimeResourceSettings?: CreateDIJobRequestResourceSettingsRealtimeResourceSettings;
19
- /**
20
- * @remarks
21
- * The resource settings for scheduling.
22
- */
23
11
  scheduleResourceSettings?: CreateDIJobRequestResourceSettingsScheduleResourceSettings;
24
12
  static names(): { [key: string]: string } {
25
13
  return {
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestResourceSettingsOfflineResourceSettings extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The number of compute units (CUs) in the resource group for Data Integration that are used for batch synchronization.
9
- *
10
- * @example
11
- * 2.0
12
- */
13
6
  requestedCu?: number;
14
- /**
15
- * @remarks
16
- * The name of the resource group for Data Integration that are used for batch synchronization.
17
- *
18
- * @example
19
- * S_res_group_111_222
20
- */
21
7
  resourceGroupIdentifier?: string;
22
8
  static names(): { [key: string]: string } {
23
9
  return {
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestResourceSettingsRealtimeResourceSettings extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The number of CUs in the resource group for Data Integration that are used for real-time synchronization.
9
- *
10
- * @example
11
- * 2.0
12
- */
13
6
  requestedCu?: number;
14
- /**
15
- * @remarks
16
- * The name of the resource group for Data Integration that are used for real-time synchronization.
17
- *
18
- * @example
19
- * S_res_group_111_222
20
- */
21
7
  resourceGroupIdentifier?: string;
22
8
  static names(): { [key: string]: string } {
23
9
  return {
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestResourceSettingsScheduleResourceSettings extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The number of CUs in the resource group for scheduling that are used for batch synchronization.
9
- *
10
- * @example
11
- * 2.0
12
- */
13
6
  requestedCu?: number;
14
- /**
15
- * @remarks
16
- * The name of the resource group for scheduling that is used for batch synchronization.
17
- *
18
- * @example
19
- * S_res_group_235454102432001_1579085295030
20
- */
21
7
  resourceGroupIdentifier?: string;
22
8
  static names(): { [key: string]: string } {
23
9
  return {
@@ -4,18 +4,7 @@ import { CreateDIJobRequestSourceDataSourceSettingsDataSourceProperties } from "
4
4
 
5
5
 
6
6
  export class CreateDIJobRequestSourceDataSourceSettings extends $dara.Model {
7
- /**
8
- * @remarks
9
- * The name of the data source.
10
- *
11
- * @example
12
- * mysql_datasource_1
13
- */
14
7
  dataSourceName?: string;
15
- /**
16
- * @remarks
17
- * The properties of the data source.
18
- */
19
8
  dataSourceProperties?: CreateDIJobRequestSourceDataSourceSettingsDataSourceProperties;
20
9
  static names(): { [key: string]: string } {
21
10
  return {
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestSourceDataSourceSettingsDataSourceProperties extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The encoding format of the database.
9
- *
10
- * @example
11
- * UTF-8
12
- */
13
6
  encoding?: string;
14
- /**
15
- * @remarks
16
- * The time zone.
17
- *
18
- * @example
19
- * GMT+8
20
- */
21
7
  timezone?: string;
22
8
  static names(): { [key: string]: string } {
23
9
  return {
@@ -5,15 +5,7 @@ import { CreateDIJobRequestTableMappingsTransformationRules } from "./CreateDijo
5
5
 
6
6
 
7
7
  export class CreateDIJobRequestTableMappings extends $dara.Model {
8
- /**
9
- * @remarks
10
- * The list of rules used to select synchronization objects in the source.
11
- */
12
8
  sourceObjectSelectionRules?: CreateDIJobRequestTableMappingsSourceObjectSelectionRules[];
13
- /**
14
- * @remarks
15
- * The list of transformation rules that you want to apply to the synchronization objects selected from the source. Each entry in the list defines a transformation rule.
16
- */
17
9
  transformationRules?: CreateDIJobRequestTableMappingsTransformationRules[];
18
10
  static names(): { [key: string]: string } {
19
11
  return {
@@ -3,41 +3,9 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestTableMappingsSourceObjectSelectionRules extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The operation that is performed to select objects. Valid values: Include and Exclude.
9
- *
10
- * @example
11
- * Include
12
- */
13
6
  action?: string;
14
- /**
15
- * @remarks
16
- * The expression.
17
- *
18
- * @example
19
- * mysql_table_1
20
- */
21
7
  expression?: string;
22
- /**
23
- * @remarks
24
- * The expression type. Valid values: Exact and Regex.
25
- *
26
- * @example
27
- * Exact
28
- */
29
8
  expressionType?: string;
30
- /**
31
- * @remarks
32
- * The object type. Valid values:
33
- *
34
- * * Table
35
- * * Schema
36
- * * Database
37
- *
38
- * @example
39
- * Table
40
- */
41
9
  objectType?: string;
42
10
  static names(): { [key: string]: string } {
43
11
  return {
@@ -3,42 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestTableMappingsTransformationRules extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The action type. Valid values:
9
- *
10
- * * DefinePrimaryKey
11
- * * Rename
12
- * * AddColumn
13
- * * HandleDml
14
- * * DefineIncrementalCondition
15
- * * DefineCycleScheduleSettings
16
- * * DefineRuntimeSettings
17
- * * DefinePartitionKey
18
- *
19
- * @example
20
- * Rename
21
- */
22
6
  ruleActionType?: string;
23
- /**
24
- * @remarks
25
- * The name of the rule. If the values of the RuleActionType parameter and the RuleTargetType parameter are the same for multiple transformation rules, you must make sure that the transformation rule names are unique.
26
- *
27
- * @example
28
- * rename_rule_1
29
- */
30
7
  ruleName?: string;
31
- /**
32
- * @remarks
33
- * The type of the object on which you want to perform the action. Valid values:
34
- *
35
- * * Table
36
- * * Schema
37
- * * Database
38
- *
39
- * @example
40
- * Table
41
- */
42
8
  ruleTargetType?: string;
43
9
  static names(): { [key: string]: string } {
44
10
  return {
@@ -3,92 +3,9 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobRequestTransformationRules extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The action type. Valid values:
9
- *
10
- * * DefinePrimaryKey
11
- * * Rename
12
- * * AddColumn
13
- * * HandleDml
14
- * * DefineIncrementalCondition
15
- * * DefineCycleScheduleSettings
16
- * * DefinePartitionKey
17
- *
18
- * @example
19
- * Rename
20
- */
21
6
  ruleActionType?: string;
22
- /**
23
- * @remarks
24
- * The expression of the rule. The expression must be a JSON string.
25
- *
26
- * 1. Example of a renaming rule
27
- *
28
- * * Example: {"expression":"${srcDatasourceName}_${srcDatabaseName}_0922" }
29
- * * expression: the expression of the renaming rule. You can use the following variables in an expression: ${srcDatasourceName}, ${srcDatabaseName}, and ${srcTableName}. ${srcDatasourceName} specifies the name of the source. ${srcDatabaseName} specifies the name of a source database. ${srcTableName} specifies the name of a source table.
30
- *
31
- * 2. Example of a column addition rule
32
- *
33
- * * Example: {"columns":[{"columnName":"my_add_column","columnValueType":"Constant","columnValue":"123"}]}
34
- * * If you do not configure such a rule, no fields are added to the destination and no values are assigned by default.
35
- * * columnName: the name of the field that is added.
36
- * * columnValueType: the value type of the field. Valid values: Constant and Variable.
37
- * * columnValue: the value of the field. If the columnValueType parameter is set to Constant, set the columnValue parameter to a constant of the STRING data type. If the columnValueType parameter is set to Variable, set the columnValue parameter to a built-in variable. The following built-in variables are supported: EXECUTE_TIME (LONG data type), DB_NAME_SRC (STRING data type), DATASOURCE_NAME_SRC (STRING data type), TABLE_NAME_SRC (STRING data type), DB_NAME_DEST (STRING data type), DATASOURCE_NAME_DEST (STRING data type), TABLE_NAME_DEST (STRING data type), and DB_NAME_SRC_TRANSED (STRING data type). EXECUTE_TIME specifies the execution time. DB_NAME_SRC specifies the name of a source database. DATASOURCE_NAME_SRC specifies the name of the source. TABLE_NAME_SRC specifies the name of a source table. DB_NAME_DEST specifies the name of a destination database. DATASOURCE_NAME_DEST specifies the name of the destination. TABLE_NAME_DEST specifies the name of a destination table. DB_NAME_SRC_TRANSED specifies the database name obtained after a transformation.
38
- *
39
- * 3. Example of a rule used to specify primary key fields for a destination table
40
- *
41
- * * Example: {"columns":["ukcolumn1","ukcolumn2"]}
42
- * * If you do not configure such a rule, the primary key fields in the mapped source table are used for the destination table by default.
43
- * * If the destination table is an existing table, Data Integration does not modify the schema of the destination table. If the specified primary key fields do not exist in the destination table, an error is reported when the synchronization task starts to run.
44
- * * If the destination table is automatically created by the system, Data Integration automatically creates the schema of the destination table. The schema contains the primary key fields that you specify. If the specified primary key fields do not exist in the destination table, an error is reported when the synchronization task starts to run.
45
- *
46
- * 4. Example of a rule used to process DML messages
47
- *
48
- * * Example: {"dmlPolicies":[{"dmlType":"Delete","dmlAction":"Filter","filterCondition":"id > 1"}]}
49
- * * If you do not configure such a rule, the default processing policy for messages generated for insert, update, and delete operations is Normal.
50
- * * dmlType: the DML operation. Valid values: Insert, Update, and Delete.
51
- * * dmlAction: the processing policy for DML messages. Valid values: Normal, Ignore, Filter, and LogicalDelete. Filter indicates conditional processing. You can set the dmlAction parameter to Filter only when the dmlType parameter is set to Update or Delete.
52
- * * filterCondition: the condition used to filter DML messages. This parameter is required only when the dmlAction parameter is set to Filter.
53
- *
54
- * 5. Example of a rule used to perform incremental synchronization
55
- *
56
- * * Example: {"where":"id > 0"}
57
- * * You can configure such a rule to perform incremental synchronization.
58
- *
59
- * 6. Example of a rule used to configure scheduling parameters for an auto triggered task
60
- *
61
- * * Example: {"cronExpress":" \\* \\* \\* \\* \\* \\*", "cycleType":"1"}
62
- * * You can configure such a rule to configure scheduling parameters for an auto triggered task.
63
- *
64
- * 7. Example of a rule used to specify a partition key
65
- *
66
- * * Example: {"columns":["id"]}
67
- * * You can configure such a rule to specify a partition key.
68
- *
69
- * @example
70
- * {"expression":"${srcDatasoureName}_${srcDatabaseName}"}
71
- */
72
7
  ruleExpression?: string;
73
- /**
74
- * @remarks
75
- * The name of the rule. If the values of the RuleActionType parameter and the RuleTargetType parameter are the same for multiple transformation rules, you must make sure that the transformation rule names are unique.
76
- *
77
- * @example
78
- * rename_rule_1
79
- */
80
8
  ruleName?: string;
81
- /**
82
- * @remarks
83
- * The type of the object on which you want to perform the action. Valid values:
84
- *
85
- * * Table
86
- * * Schema
87
- * * Database
88
- *
89
- * @example
90
- * Table
91
- */
92
9
  ruleTargetType?: string;
93
10
  static names(): { [key: string]: string } {
94
11
  return {
@@ -3,131 +3,50 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateDIJobShrinkRequest extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The description of the synchronization task.
9
- *
10
- * @example
11
- * The description of the synchronization task.
12
- */
13
6
  description?: string;
14
7
  /**
15
8
  * @remarks
16
- * The settings of the destination. Only a single destination is supported.
17
- *
18
9
  * This parameter is required.
19
10
  */
20
11
  destinationDataSourceSettingsShrink?: string;
21
12
  /**
22
13
  * @remarks
23
- * The destination type. Valid values: Hologres, OSS-HDFS, OSS, MaxCompute, LogHub, StarRocks, DataHub, AnalyticDB for MySQL, Kafka, and Hive.
24
- *
25
14
  * This parameter is required.
26
- *
27
- * @example
28
- * Hologres
29
15
  */
30
16
  destinationDataSourceType?: string;
31
17
  /**
32
- * @remarks
33
- * This parameter is deprecated and is replaced by the Name parameter.
34
- *
35
- * @example
36
- * mysql_to_holo_sync_8772
37
- *
38
18
  * @deprecated
39
19
  */
40
20
  jobName?: string;
41
- /**
42
- * @remarks
43
- * The settings for the dimension of the synchronization task. The settings include processing policies for DDL messages, policies for data type mappings between source fields and destination fields, and runtime parameters of the synchronization task.
44
- */
45
21
  jobSettingsShrink?: string;
46
- /**
47
- * @remarks
48
- * The type of the task. This parameter is optional. Valid values:
49
- *
50
- * * DatabaseRealtimeMigration: A real-time synchronization task used to synchronize only full data, only incremental data, or full and incremental data in multiple tables of multiple databases at the source.
51
- * * DatabaseOfflineMigration: A batch synchronization task used to synchronize only full data, only incremental data, or full and incremental data in multiple tables of multiple databases at the source.
52
- * * SingleTableRealtimeMigration: A real-time synchronization task used to synchronize only data in single table at the source.
53
- *
54
- * @example
55
- * DatabaseRealtimeMigration
56
- */
57
22
  jobType?: string;
58
23
  /**
59
24
  * @remarks
60
- * The synchronization type. Valid values:
61
- *
62
- * * FullAndRealtimeIncremental: full synchronization and real-time incremental synchronization of data in an entire database
63
- * * RealtimeIncremental: real-time incremental synchronization of data in a single table
64
- * * Full: full batch synchronization of data in an entire database
65
- * * OfflineIncremental: batch incremental synchronization of data in an entire database
66
- * * FullAndOfflineIncremental: full synchronization and batch incremental synchronization of data in an entire database
67
- *
68
25
  * This parameter is required.
69
- *
70
- * @example
71
- * FullAndRealtimeIncremental
72
26
  */
73
27
  migrationType?: string;
74
- /**
75
- * @remarks
76
- * The name of the synchronization task.
77
- *
78
- * @example
79
- * mysql_to_holo_sync_8772
80
- */
81
28
  name?: string;
82
- /**
83
- * @remarks
84
- * The DataWorks workspace ID. You can log on to the [DataWorks console](https://workbench.data.aliyun.com/console) and go to the Workspace page to query the ID.
85
- *
86
- * You must configure this parameter to specify the DataWorks workspace to which the API operation is applied.
87
- *
88
- * @example
89
- * 10000
90
- */
91
29
  projectId?: number;
92
30
  /**
93
31
  * @remarks
94
- * The resource settings.
95
- *
96
32
  * This parameter is required.
97
33
  */
98
34
  resourceSettingsShrink?: string;
99
35
  /**
100
36
  * @remarks
101
- * The settings of the source. Only a single source is supported.
102
- *
103
37
  * This parameter is required.
104
38
  */
105
39
  sourceDataSourceSettingsShrink?: string;
106
40
  /**
107
41
  * @remarks
108
- * The source type. Valid values: PolarDB, MySQL, Kafka, LogHub, Hologres, Oracle, OceanBase, MongoDB, Redshift, Hive, SQL Server, Doris, and ClickHouse.
109
- *
110
42
  * This parameter is required.
111
- *
112
- * @example
113
- * MySQL
114
43
  */
115
44
  sourceDataSourceType?: string;
116
45
  /**
117
46
  * @remarks
118
- * The list of mappings between rules used to select synchronization objects in the source and transformation rules applied to the selected synchronization objects. Each entry in the list displays a mapping between a rule used to select synchronization objects and a transformation rule applied to the selected synchronization objects.
119
- *
120
- * > [ { "SourceObjectSelectionRules":[ { "ObjectType":"Database", "Action":"Include", "ExpressionType":"Exact", "Expression":"biz_db" }, { "ObjectType":"Schema", "Action":"Include", "ExpressionType":"Exact", "Expression":"s1" }, { "ObjectType":"Table", "Action":"Include", "ExpressionType":"Exact", "Expression":"table1" } ], "TransformationRuleNames":[ { "RuleName":"my_database_rename_rule", "RuleActionType":"Rename", "RuleTargetType":"Schema" } ] } ]
121
- *
122
47
  * This parameter is required.
123
48
  */
124
49
  tableMappingsShrink?: string;
125
- /**
126
- * @remarks
127
- * The list of transformation rules for objects involved in the synchronization task.
128
- *
129
- * > [ { "RuleName":"my_database_rename_rule", "RuleActionType":"Rename", "RuleTargetType":"Schema", "RuleExpression":"{"expression":"${srcDatasoureName}_${srcDatabaseName}"}" } ]
130
- */
131
50
  transformationRulesShrink?: string;
132
51
  static names(): { [key: string]: string } {
133
52
  return {
@@ -8,22 +8,9 @@ import { UpdateDIJobRequestTransformationRules } from "./UpdateDijobRequestTrans
8
8
 
9
9
  export class UpdateDIJobRequest extends $dara.Model {
10
10
  /**
11
- * @remarks
12
- * This parameter is deprecated. Use the Id parameter instead.
13
- *
14
- * @example
15
- * 11588
16
- *
17
11
  * @deprecated
18
12
  */
19
13
  DIJobId?: number;
20
- /**
21
- * @remarks
22
- * The description of the synchronization task.
23
- *
24
- * @example
25
- * The description of the synchronization task.
26
- */
27
14
  description?: string;
28
15
  /**
29
16
  * @remarks
@@ -33,39 +20,10 @@ export class UpdateDIJobRequest extends $dara.Model {
33
20
  * 11588
34
21
  */
35
22
  id?: number;
36
- /**
37
- * @remarks
38
- * The settings for the dimension of the synchronization task. The settings include processing policies for DDL messages, policies for data type mappings between source fields and destination fields, and runtime parameters of the synchronization task.
39
- */
40
23
  jobSettings?: UpdateDIJobRequestJobSettings;
41
- /**
42
- * @remarks
43
- * The ID of the DataWorks workspace. You can log on to the [DataWorks console](https://workbench.data.aliyun.com/console) and go to the Workspace page to obtain the workspace ID.
44
- *
45
- * You must configure this parameter to specify the DataWorks workspace to which the operation is applied.
46
- *
47
- * @example
48
- * 10000
49
- */
50
24
  projectId?: number;
51
- /**
52
- * @remarks
53
- * The resource settings.
54
- */
55
25
  resourceSettings?: UpdateDIJobRequestResourceSettings;
56
- /**
57
- * @remarks
58
- * The list of mappings between rules used to select synchronization objects in the source and transformation rules applied to the selected synchronization objects. Each entry in the list displays a mapping between a rule used to select synchronization objects and a transformation rule applied to the selected synchronization objects.
59
- *
60
- * > [ { "SourceObjectSelectionRules":[ { "ObjectType":"Database", "Action":"Include", "ExpressionType":"Exact", "Expression":"biz_db" }, { "ObjectType":"Schema", "Action":"Include", "ExpressionType":"Exact", "Expression":"s1" }, { "ObjectType":"Table", "Action":"Include", "ExpressionType":"Exact", "Expression":"table1" } ], "TransformationRuleNames":[ { "RuleName":"my_database_rename_rule", "RuleActionType":"Rename", "RuleTargetType":"Schema" } ] } ]
61
- */
62
26
  tableMappings?: UpdateDIJobRequestTableMappings[];
63
- /**
64
- * @remarks
65
- * The list of transformation rules for objects involved in the synchronization task.
66
- *
67
- * > [ { "RuleName":"my_database_rename_rule", "RuleActionType":"Rename", "RuleTargetType":"Schema", "RuleExpression":"{"expression":"${srcDatasoureName}_${srcDatabaseName}"}" } ]
68
- */
69
27
  transformationRules?: UpdateDIJobRequestTransformationRules[];
70
28
  static names(): { [key: string]: string } {
71
29
  return {