@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
@@ -7,51 +7,10 @@ import { UpdateDIJobRequestJobSettingsRuntimeSettings } from "./UpdateDijobReque
7
7
 
8
8
 
9
9
  export class UpdateDIJobRequestJobSettings extends $dara.Model {
10
- /**
11
- * @remarks
12
- * The channel control settings for the synchronization task. You can configure special channel control settings for the following synchronization links: data synchronization between Hologres data sources and data synchronization from Hologres to Kafka.
13
- *
14
- * 1. Holo2Kafka
15
- *
16
- * * Example: {"destinationChannelSettings":{"kafkaClientProperties":[{"key":"linger.ms","value":"100"}],"keyColumns":["col3"],"writeMode":"canal"}}
17
- * * kafkaClientProperties: the parameters related to a Kafka producer, which are used when you read data from a Kafka data source.
18
- * * keyColumns: the names of Kafka columns to which you want to write data.
19
- * * writeMode: the writing format. Valid values: json and canal.
20
- *
21
- * 2. Holo2Holo
22
- *
23
- * * Example: {"destinationChannelSettings":{"conflictMode":"replace","dynamicColumnAction":"replay","writeMode":"replay"}}
24
- * * conflictMode: the policy used to handle a conflict that occurs during data writing to Hologres. Valid values: replace and ignore.
25
- * * writeMode: the mode in which you want to write data to Hologres. Valid values: replay and insert.
26
- * * dynamicColumnAction: the mode in which you want to write data to dynamic columns in a Hologres table. Valid values: replay, insert, and ignore.
27
- *
28
- * @example
29
- * {"structInfo":"MANAGED","storageType":"TEXTFILE","writeMode":"APPEND","partitionColumns":[{"columnName":"pt","columnType":"STRING","comment":""}],"fieldDelimiter":""}
30
- */
31
10
  channelSettings?: string;
32
- /**
33
- * @remarks
34
- * The data type mappings between source fields and destination fields.
35
- *
36
- * > "ColumnDataTypeSettings":[ { "SourceDataType":"Bigint", "DestinationDataType":"Text" } ]
37
- */
38
11
  columnDataTypeSettings?: UpdateDIJobRequestJobSettingsColumnDataTypeSettings[];
39
- /**
40
- * @remarks
41
- * The settings for periodic scheduling.
42
- */
43
12
  cycleScheduleSettings?: UpdateDIJobRequestJobSettingsCycleScheduleSettings;
44
- /**
45
- * @remarks
46
- * The processing settings for DDL messages.
47
- *
48
- * > "DDLHandlingSettings":[ { "Type":"Insert", "Action":"Normal" } ]
49
- */
50
13
  ddlHandlingSettings?: UpdateDIJobRequestJobSettingsDdlHandlingSettings[];
51
- /**
52
- * @remarks
53
- * The runtime settings.
54
- */
55
14
  runtimeSettings?: UpdateDIJobRequestJobSettingsRuntimeSettings[];
56
15
  static names(): { [key: string]: string } {
57
16
  return {
@@ -3,21 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateDIJobRequestJobSettingsColumnDataTypeSettings 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,13 +3,6 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateDIJobRequestJobSettingsCycleScheduleSettings extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The scheduling parameters.
9
- *
10
- * @example
11
- * bizdate=$bizdate
12
- */
13
6
  scheduleParameters?: string;
14
7
  static names(): { [key: string]: string } {
15
8
  return {
@@ -3,33 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateDIJobRequestJobSettingsDdlHandlingSettings 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 UpdateDIJobRequestJobSettingsRuntimeSettings 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 { UpdateDIJobRequestResourceSettingsScheduleResourceSettings } from "./Up
6
6
 
7
7
 
8
8
  export class UpdateDIJobRequestResourceSettings extends $dara.Model {
9
- /**
10
- * @remarks
11
- * The resource used for batch synchronization.
12
- */
13
9
  offlineResourceSettings?: UpdateDIJobRequestResourceSettingsOfflineResourceSettings;
14
- /**
15
- * @remarks
16
- * The resource used for real-time synchronization.
17
- */
18
10
  realtimeResourceSettings?: UpdateDIJobRequestResourceSettingsRealtimeResourceSettings;
19
- /**
20
- * @remarks
21
- * The resource used for scheduling.
22
- */
23
11
  scheduleResourceSettings?: UpdateDIJobRequestResourceSettingsScheduleResourceSettings;
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 UpdateDIJobRequestResourceSettingsOfflineResourceSettings 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 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 UpdateDIJobRequestResourceSettingsRealtimeResourceSettings 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 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 UpdateDIJobRequestResourceSettingsScheduleResourceSettings 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 used for batch synchronization.
17
- *
18
- * @example
19
- * S_res_group_235454102432001_1721021993437
20
- */
21
7
  resourceGroupIdentifier?: string;
22
8
  static names(): { [key: string]: string } {
23
9
  return {
@@ -5,15 +5,7 @@ import { UpdateDIJobRequestTableMappingsTransformationRules } from "./UpdateDijo
5
5
 
6
6
 
7
7
  export class UpdateDIJobRequestTableMappings extends $dara.Model {
8
- /**
9
- * @remarks
10
- * The list of rules that you want to use to select synchronization objects in the source.
11
- */
12
8
  sourceObjectSelectionRules?: UpdateDIJobRequestTableMappingsSourceObjectSelectionRules[];
13
- /**
14
- * @remarks
15
- * The transformation rules that you want to apply to the synchronization objects selected from the source.
16
- */
17
9
  transformationRules?: UpdateDIJobRequestTableMappingsTransformationRules[];
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 UpdateDIJobRequestTableMappingsSourceObjectSelectionRules 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,38 +3,8 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateDIJobRequestTableMappingsTransformationRules extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The action type. Valid values:
9
- *
10
- * * DefinePrimaryKey
11
- * * Rename
12
- * * AddColumn
13
- * * HandleDml
14
- *
15
- * @example
16
- * Rename
17
- */
18
6
  ruleActionType?: string;
19
- /**
20
- * @remarks
21
- * 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.
22
- *
23
- * @example
24
- * rename_rule_1
25
- */
26
7
  ruleName?: string;
27
- /**
28
- * @remarks
29
- * The type of the object on which you want to perform the action. Valid values:
30
- *
31
- * * Table
32
- * * Schema
33
- * * Database
34
- *
35
- * @example
36
- * Table
37
- */
38
8
  ruleTargetType?: string;
39
9
  static names(): { [key: string]: string } {
40
10
  return {
@@ -3,92 +3,9 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateDIJobRequestTransformationRules 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 {
@@ -4,22 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UpdateDIJobShrinkRequest extends $dara.Model {
6
6
  /**
7
- * @remarks
8
- * This parameter is deprecated. Use the Id parameter instead.
9
- *
10
- * @example
11
- * 11588
12
- *
13
7
  * @deprecated
14
8
  */
15
9
  DIJobId?: number;
16
- /**
17
- * @remarks
18
- * The description of the synchronization task.
19
- *
20
- * @example
21
- * The description of the synchronization task.
22
- */
23
10
  description?: string;
24
11
  /**
25
12
  * @remarks
@@ -29,39 +16,10 @@ export class UpdateDIJobShrinkRequest extends $dara.Model {
29
16
  * 11588
30
17
  */
31
18
  id?: number;
32
- /**
33
- * @remarks
34
- * 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.
35
- */
36
19
  jobSettingsShrink?: string;
37
- /**
38
- * @remarks
39
- * 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.
40
- *
41
- * You must configure this parameter to specify the DataWorks workspace to which the operation is applied.
42
- *
43
- * @example
44
- * 10000
45
- */
46
20
  projectId?: number;
47
- /**
48
- * @remarks
49
- * The resource settings.
50
- */
51
21
  resourceSettingsShrink?: string;
52
- /**
53
- * @remarks
54
- * 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.
55
- *
56
- * > [ { "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" } ] } ]
57
- */
58
22
  tableMappingsShrink?: string;
59
- /**
60
- * @remarks
61
- * The list of transformation rules for objects involved in the synchronization task.
62
- *
63
- * > [ { "RuleName":"my_database_rename_rule", "RuleActionType":"Rename", "RuleTargetType":"Schema", "RuleExpression":"{"expression":"${srcDatasoureName}_${srcDatabaseName}"}" } ]
64
- */
65
23
  transformationRulesShrink?: string;
66
24
  static names(): { [key: string]: string } {
67
25
  return {