@alicloud/dataworks-public20200518 4.6.0 → 4.7.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.js CHANGED
@@ -995,6 +995,214 @@ class CreateConnectionResponse extends $tea.Model {
995
995
  }
996
996
  }
997
997
  exports.CreateConnectionResponse = CreateConnectionResponse;
998
+ class CreateDIAlarmRuleRequest extends $tea.Model {
999
+ constructor(map) {
1000
+ super(map);
1001
+ }
1002
+ static names() {
1003
+ return {
1004
+ DIJobId: 'DIJobId',
1005
+ description: 'Description',
1006
+ enabled: 'Enabled',
1007
+ metricType: 'MetricType',
1008
+ notificationSettings: 'NotificationSettings',
1009
+ triggerConditions: 'TriggerConditions',
1010
+ };
1011
+ }
1012
+ static types() {
1013
+ return {
1014
+ DIJobId: 'number',
1015
+ description: 'string',
1016
+ enabled: 'boolean',
1017
+ metricType: 'string',
1018
+ notificationSettings: CreateDIAlarmRuleRequestNotificationSettings,
1019
+ triggerConditions: { 'type': 'array', 'itemType': CreateDIAlarmRuleRequestTriggerConditions },
1020
+ };
1021
+ }
1022
+ }
1023
+ exports.CreateDIAlarmRuleRequest = CreateDIAlarmRuleRequest;
1024
+ class CreateDIAlarmRuleShrinkRequest extends $tea.Model {
1025
+ constructor(map) {
1026
+ super(map);
1027
+ }
1028
+ static names() {
1029
+ return {
1030
+ DIJobId: 'DIJobId',
1031
+ description: 'Description',
1032
+ enabled: 'Enabled',
1033
+ metricType: 'MetricType',
1034
+ notificationSettingsShrink: 'NotificationSettings',
1035
+ triggerConditionsShrink: 'TriggerConditions',
1036
+ };
1037
+ }
1038
+ static types() {
1039
+ return {
1040
+ DIJobId: 'number',
1041
+ description: 'string',
1042
+ enabled: 'boolean',
1043
+ metricType: 'string',
1044
+ notificationSettingsShrink: 'string',
1045
+ triggerConditionsShrink: 'string',
1046
+ };
1047
+ }
1048
+ }
1049
+ exports.CreateDIAlarmRuleShrinkRequest = CreateDIAlarmRuleShrinkRequest;
1050
+ class CreateDIAlarmRuleResponseBody extends $tea.Model {
1051
+ constructor(map) {
1052
+ super(map);
1053
+ }
1054
+ static names() {
1055
+ return {
1056
+ DIAlarmRuleId: 'DIAlarmRuleId',
1057
+ requestId: 'RequestId',
1058
+ };
1059
+ }
1060
+ static types() {
1061
+ return {
1062
+ DIAlarmRuleId: 'number',
1063
+ requestId: 'string',
1064
+ };
1065
+ }
1066
+ }
1067
+ exports.CreateDIAlarmRuleResponseBody = CreateDIAlarmRuleResponseBody;
1068
+ class CreateDIAlarmRuleResponse extends $tea.Model {
1069
+ constructor(map) {
1070
+ super(map);
1071
+ }
1072
+ static names() {
1073
+ return {
1074
+ headers: 'headers',
1075
+ statusCode: 'statusCode',
1076
+ body: 'body',
1077
+ };
1078
+ }
1079
+ static types() {
1080
+ return {
1081
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1082
+ statusCode: 'number',
1083
+ body: CreateDIAlarmRuleResponseBody,
1084
+ };
1085
+ }
1086
+ }
1087
+ exports.CreateDIAlarmRuleResponse = CreateDIAlarmRuleResponse;
1088
+ class CreateDIJobRequest extends $tea.Model {
1089
+ constructor(map) {
1090
+ super(map);
1091
+ }
1092
+ static names() {
1093
+ return {
1094
+ description: 'Description',
1095
+ destinationDataSourceSettings: 'DestinationDataSourceSettings',
1096
+ destinationDataSourceType: 'DestinationDataSourceType',
1097
+ jobName: 'JobName',
1098
+ jobSettings: 'JobSettings',
1099
+ migrationType: 'MigrationType',
1100
+ projectId: 'ProjectId',
1101
+ resourceSettings: 'ResourceSettings',
1102
+ sourceDataSourceSettings: 'SourceDataSourceSettings',
1103
+ sourceDataSourceType: 'SourceDataSourceType',
1104
+ systemDebug: 'SystemDebug',
1105
+ tableMappings: 'TableMappings',
1106
+ transformationRules: 'TransformationRules',
1107
+ };
1108
+ }
1109
+ static types() {
1110
+ return {
1111
+ description: 'string',
1112
+ destinationDataSourceSettings: { 'type': 'array', 'itemType': CreateDIJobRequestDestinationDataSourceSettings },
1113
+ destinationDataSourceType: 'string',
1114
+ jobName: 'string',
1115
+ jobSettings: CreateDIJobRequestJobSettings,
1116
+ migrationType: 'string',
1117
+ projectId: 'number',
1118
+ resourceSettings: CreateDIJobRequestResourceSettings,
1119
+ sourceDataSourceSettings: { 'type': 'array', 'itemType': CreateDIJobRequestSourceDataSourceSettings },
1120
+ sourceDataSourceType: 'string',
1121
+ systemDebug: 'string',
1122
+ tableMappings: { 'type': 'array', 'itemType': CreateDIJobRequestTableMappings },
1123
+ transformationRules: { 'type': 'array', 'itemType': CreateDIJobRequestTransformationRules },
1124
+ };
1125
+ }
1126
+ }
1127
+ exports.CreateDIJobRequest = CreateDIJobRequest;
1128
+ class CreateDIJobShrinkRequest extends $tea.Model {
1129
+ constructor(map) {
1130
+ super(map);
1131
+ }
1132
+ static names() {
1133
+ return {
1134
+ description: 'Description',
1135
+ destinationDataSourceSettingsShrink: 'DestinationDataSourceSettings',
1136
+ destinationDataSourceType: 'DestinationDataSourceType',
1137
+ jobName: 'JobName',
1138
+ jobSettingsShrink: 'JobSettings',
1139
+ migrationType: 'MigrationType',
1140
+ projectId: 'ProjectId',
1141
+ resourceSettingsShrink: 'ResourceSettings',
1142
+ sourceDataSourceSettingsShrink: 'SourceDataSourceSettings',
1143
+ sourceDataSourceType: 'SourceDataSourceType',
1144
+ systemDebug: 'SystemDebug',
1145
+ tableMappingsShrink: 'TableMappings',
1146
+ transformationRulesShrink: 'TransformationRules',
1147
+ };
1148
+ }
1149
+ static types() {
1150
+ return {
1151
+ description: 'string',
1152
+ destinationDataSourceSettingsShrink: 'string',
1153
+ destinationDataSourceType: 'string',
1154
+ jobName: 'string',
1155
+ jobSettingsShrink: 'string',
1156
+ migrationType: 'string',
1157
+ projectId: 'number',
1158
+ resourceSettingsShrink: 'string',
1159
+ sourceDataSourceSettingsShrink: 'string',
1160
+ sourceDataSourceType: 'string',
1161
+ systemDebug: 'string',
1162
+ tableMappingsShrink: 'string',
1163
+ transformationRulesShrink: 'string',
1164
+ };
1165
+ }
1166
+ }
1167
+ exports.CreateDIJobShrinkRequest = CreateDIJobShrinkRequest;
1168
+ class CreateDIJobResponseBody extends $tea.Model {
1169
+ constructor(map) {
1170
+ super(map);
1171
+ }
1172
+ static names() {
1173
+ return {
1174
+ DIJobId: 'DIJobId',
1175
+ requestId: 'RequestId',
1176
+ };
1177
+ }
1178
+ static types() {
1179
+ return {
1180
+ DIJobId: 'number',
1181
+ requestId: 'string',
1182
+ };
1183
+ }
1184
+ }
1185
+ exports.CreateDIJobResponseBody = CreateDIJobResponseBody;
1186
+ class CreateDIJobResponse extends $tea.Model {
1187
+ constructor(map) {
1188
+ super(map);
1189
+ }
1190
+ static names() {
1191
+ return {
1192
+ headers: 'headers',
1193
+ statusCode: 'statusCode',
1194
+ body: 'body',
1195
+ };
1196
+ }
1197
+ static types() {
1198
+ return {
1199
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1200
+ statusCode: 'number',
1201
+ body: CreateDIJobResponseBody,
1202
+ };
1203
+ }
1204
+ }
1205
+ exports.CreateDIJobResponse = CreateDIJobResponse;
998
1206
  class CreateDISyncTaskRequest extends $tea.Model {
999
1207
  constructor(map) {
1000
1208
  super(map);
@@ -3281,6 +3489,110 @@ class DeleteConnectionResponse extends $tea.Model {
3281
3489
  }
3282
3490
  }
3283
3491
  exports.DeleteConnectionResponse = DeleteConnectionResponse;
3492
+ class DeleteDIAlarmRuleRequest extends $tea.Model {
3493
+ constructor(map) {
3494
+ super(map);
3495
+ }
3496
+ static names() {
3497
+ return {
3498
+ DIAlarmRuleId: 'DIAlarmRuleId',
3499
+ };
3500
+ }
3501
+ static types() {
3502
+ return {
3503
+ DIAlarmRuleId: 'number',
3504
+ };
3505
+ }
3506
+ }
3507
+ exports.DeleteDIAlarmRuleRequest = DeleteDIAlarmRuleRequest;
3508
+ class DeleteDIAlarmRuleResponseBody extends $tea.Model {
3509
+ constructor(map) {
3510
+ super(map);
3511
+ }
3512
+ static names() {
3513
+ return {
3514
+ requestId: 'RequestId',
3515
+ };
3516
+ }
3517
+ static types() {
3518
+ return {
3519
+ requestId: 'string',
3520
+ };
3521
+ }
3522
+ }
3523
+ exports.DeleteDIAlarmRuleResponseBody = DeleteDIAlarmRuleResponseBody;
3524
+ class DeleteDIAlarmRuleResponse extends $tea.Model {
3525
+ constructor(map) {
3526
+ super(map);
3527
+ }
3528
+ static names() {
3529
+ return {
3530
+ headers: 'headers',
3531
+ statusCode: 'statusCode',
3532
+ body: 'body',
3533
+ };
3534
+ }
3535
+ static types() {
3536
+ return {
3537
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3538
+ statusCode: 'number',
3539
+ body: DeleteDIAlarmRuleResponseBody,
3540
+ };
3541
+ }
3542
+ }
3543
+ exports.DeleteDIAlarmRuleResponse = DeleteDIAlarmRuleResponse;
3544
+ class DeleteDIJobRequest extends $tea.Model {
3545
+ constructor(map) {
3546
+ super(map);
3547
+ }
3548
+ static names() {
3549
+ return {
3550
+ DIJobId: 'DIJobId',
3551
+ };
3552
+ }
3553
+ static types() {
3554
+ return {
3555
+ DIJobId: 'number',
3556
+ };
3557
+ }
3558
+ }
3559
+ exports.DeleteDIJobRequest = DeleteDIJobRequest;
3560
+ class DeleteDIJobResponseBody extends $tea.Model {
3561
+ constructor(map) {
3562
+ super(map);
3563
+ }
3564
+ static names() {
3565
+ return {
3566
+ requestId: 'RequestId',
3567
+ };
3568
+ }
3569
+ static types() {
3570
+ return {
3571
+ requestId: 'string',
3572
+ };
3573
+ }
3574
+ }
3575
+ exports.DeleteDIJobResponseBody = DeleteDIJobResponseBody;
3576
+ class DeleteDIJobResponse extends $tea.Model {
3577
+ constructor(map) {
3578
+ super(map);
3579
+ }
3580
+ static names() {
3581
+ return {
3582
+ headers: 'headers',
3583
+ statusCode: 'statusCode',
3584
+ body: 'body',
3585
+ };
3586
+ }
3587
+ static types() {
3588
+ return {
3589
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3590
+ statusCode: 'number',
3591
+ body: DeleteDIJobResponseBody,
3592
+ };
3593
+ }
3594
+ }
3595
+ exports.DeleteDIJobResponse = DeleteDIJobResponse;
3284
3596
  class DeleteDISyncTaskRequest extends $tea.Model {
3285
3597
  constructor(map) {
3286
3598
  super(map);
@@ -5375,6 +5687,116 @@ class GetDDLJobStatusResponse extends $tea.Model {
5375
5687
  }
5376
5688
  }
5377
5689
  exports.GetDDLJobStatusResponse = GetDDLJobStatusResponse;
5690
+ class GetDIAlarmRuleRequest extends $tea.Model {
5691
+ constructor(map) {
5692
+ super(map);
5693
+ }
5694
+ static names() {
5695
+ return {
5696
+ DIAlarmRuleId: 'DIAlarmRuleId',
5697
+ };
5698
+ }
5699
+ static types() {
5700
+ return {
5701
+ DIAlarmRuleId: 'number',
5702
+ };
5703
+ }
5704
+ }
5705
+ exports.GetDIAlarmRuleRequest = GetDIAlarmRuleRequest;
5706
+ class GetDIAlarmRuleResponseBody extends $tea.Model {
5707
+ constructor(map) {
5708
+ super(map);
5709
+ }
5710
+ static names() {
5711
+ return {
5712
+ DIAlarmRule: 'DIAlarmRule',
5713
+ requestId: 'RequestId',
5714
+ };
5715
+ }
5716
+ static types() {
5717
+ return {
5718
+ DIAlarmRule: GetDIAlarmRuleResponseBodyDIAlarmRule,
5719
+ requestId: 'string',
5720
+ };
5721
+ }
5722
+ }
5723
+ exports.GetDIAlarmRuleResponseBody = GetDIAlarmRuleResponseBody;
5724
+ class GetDIAlarmRuleResponse extends $tea.Model {
5725
+ constructor(map) {
5726
+ super(map);
5727
+ }
5728
+ static names() {
5729
+ return {
5730
+ headers: 'headers',
5731
+ statusCode: 'statusCode',
5732
+ body: 'body',
5733
+ };
5734
+ }
5735
+ static types() {
5736
+ return {
5737
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5738
+ statusCode: 'number',
5739
+ body: GetDIAlarmRuleResponseBody,
5740
+ };
5741
+ }
5742
+ }
5743
+ exports.GetDIAlarmRuleResponse = GetDIAlarmRuleResponse;
5744
+ class GetDIJobRequest extends $tea.Model {
5745
+ constructor(map) {
5746
+ super(map);
5747
+ }
5748
+ static names() {
5749
+ return {
5750
+ DIJobId: 'DIJobId',
5751
+ withDetails: 'WithDetails',
5752
+ };
5753
+ }
5754
+ static types() {
5755
+ return {
5756
+ DIJobId: 'number',
5757
+ withDetails: 'boolean',
5758
+ };
5759
+ }
5760
+ }
5761
+ exports.GetDIJobRequest = GetDIJobRequest;
5762
+ class GetDIJobResponseBody extends $tea.Model {
5763
+ constructor(map) {
5764
+ super(map);
5765
+ }
5766
+ static names() {
5767
+ return {
5768
+ data: 'Data',
5769
+ requestId: 'RequestId',
5770
+ };
5771
+ }
5772
+ static types() {
5773
+ return {
5774
+ data: GetDIJobResponseBodyData,
5775
+ requestId: 'string',
5776
+ };
5777
+ }
5778
+ }
5779
+ exports.GetDIJobResponseBody = GetDIJobResponseBody;
5780
+ class GetDIJobResponse extends $tea.Model {
5781
+ constructor(map) {
5782
+ super(map);
5783
+ }
5784
+ static names() {
5785
+ return {
5786
+ headers: 'headers',
5787
+ statusCode: 'statusCode',
5788
+ body: 'body',
5789
+ };
5790
+ }
5791
+ static types() {
5792
+ return {
5793
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5794
+ statusCode: 'number',
5795
+ body: GetDIJobResponseBody,
5796
+ };
5797
+ }
5798
+ }
5799
+ exports.GetDIJobResponse = GetDIJobResponse;
5378
5800
  class GetDISyncInstanceInfoRequest extends $tea.Model {
5379
5801
  constructor(map) {
5380
5802
  super(map);
@@ -9981,6 +10403,128 @@ class ListConnectionsResponse extends $tea.Model {
9981
10403
  }
9982
10404
  }
9983
10405
  exports.ListConnectionsResponse = ListConnectionsResponse;
10406
+ class ListDIAlarmRulesRequest extends $tea.Model {
10407
+ constructor(map) {
10408
+ super(map);
10409
+ }
10410
+ static names() {
10411
+ return {
10412
+ DIJobId: 'DIJobId',
10413
+ pageNumber: 'PageNumber',
10414
+ pageSize: 'PageSize',
10415
+ };
10416
+ }
10417
+ static types() {
10418
+ return {
10419
+ DIJobId: 'number',
10420
+ pageNumber: 'number',
10421
+ pageSize: 'number',
10422
+ };
10423
+ }
10424
+ }
10425
+ exports.ListDIAlarmRulesRequest = ListDIAlarmRulesRequest;
10426
+ class ListDIAlarmRulesResponseBody extends $tea.Model {
10427
+ constructor(map) {
10428
+ super(map);
10429
+ }
10430
+ static names() {
10431
+ return {
10432
+ DIAlarmRulePaging: 'DIAlarmRulePaging',
10433
+ requestId: 'RequestId',
10434
+ };
10435
+ }
10436
+ static types() {
10437
+ return {
10438
+ DIAlarmRulePaging: ListDIAlarmRulesResponseBodyDIAlarmRulePaging,
10439
+ requestId: 'string',
10440
+ };
10441
+ }
10442
+ }
10443
+ exports.ListDIAlarmRulesResponseBody = ListDIAlarmRulesResponseBody;
10444
+ class ListDIAlarmRulesResponse extends $tea.Model {
10445
+ constructor(map) {
10446
+ super(map);
10447
+ }
10448
+ static names() {
10449
+ return {
10450
+ headers: 'headers',
10451
+ statusCode: 'statusCode',
10452
+ body: 'body',
10453
+ };
10454
+ }
10455
+ static types() {
10456
+ return {
10457
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10458
+ statusCode: 'number',
10459
+ body: ListDIAlarmRulesResponseBody,
10460
+ };
10461
+ }
10462
+ }
10463
+ exports.ListDIAlarmRulesResponse = ListDIAlarmRulesResponse;
10464
+ class ListDIJobsRequest extends $tea.Model {
10465
+ constructor(map) {
10466
+ super(map);
10467
+ }
10468
+ static names() {
10469
+ return {
10470
+ destinationDataSourceType: 'DestinationDataSourceType',
10471
+ jobName: 'JobName',
10472
+ pageNumber: 'PageNumber',
10473
+ pageSize: 'PageSize',
10474
+ projectId: 'ProjectId',
10475
+ sourceDataSourceType: 'SourceDataSourceType',
10476
+ };
10477
+ }
10478
+ static types() {
10479
+ return {
10480
+ destinationDataSourceType: 'string',
10481
+ jobName: 'string',
10482
+ pageNumber: 'number',
10483
+ pageSize: 'number',
10484
+ projectId: 'number',
10485
+ sourceDataSourceType: 'string',
10486
+ };
10487
+ }
10488
+ }
10489
+ exports.ListDIJobsRequest = ListDIJobsRequest;
10490
+ class ListDIJobsResponseBody extends $tea.Model {
10491
+ constructor(map) {
10492
+ super(map);
10493
+ }
10494
+ static names() {
10495
+ return {
10496
+ DIJobPaging: 'DIJobPaging',
10497
+ requestId: 'RequestId',
10498
+ };
10499
+ }
10500
+ static types() {
10501
+ return {
10502
+ DIJobPaging: ListDIJobsResponseBodyDIJobPaging,
10503
+ requestId: 'string',
10504
+ };
10505
+ }
10506
+ }
10507
+ exports.ListDIJobsResponseBody = ListDIJobsResponseBody;
10508
+ class ListDIJobsResponse extends $tea.Model {
10509
+ constructor(map) {
10510
+ super(map);
10511
+ }
10512
+ static names() {
10513
+ return {
10514
+ headers: 'headers',
10515
+ statusCode: 'statusCode',
10516
+ body: 'body',
10517
+ };
10518
+ }
10519
+ static types() {
10520
+ return {
10521
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
10522
+ statusCode: 'number',
10523
+ body: ListDIJobsResponseBody,
10524
+ };
10525
+ }
10526
+ }
10527
+ exports.ListDIJobsResponse = ListDIJobsResponse;
9984
10528
  class ListDIProjectConfigRequest extends $tea.Model {
9985
10529
  constructor(map) {
9986
10530
  super(map);
@@ -15103,113 +15647,63 @@ class SetSuccessInstanceResponse extends $tea.Model {
15103
15647
  }
15104
15648
  }
15105
15649
  exports.SetSuccessInstanceResponse = SetSuccessInstanceResponse;
15106
- class StartDISyncInstanceRequest extends $tea.Model {
15107
- constructor(map) {
15108
- super(map);
15109
- }
15110
- static names() {
15111
- return {
15112
- fileId: 'FileId',
15113
- projectId: 'ProjectId',
15114
- startParam: 'StartParam',
15115
- taskType: 'TaskType',
15116
- };
15117
- }
15118
- static types() {
15119
- return {
15120
- fileId: 'number',
15121
- projectId: 'number',
15122
- startParam: 'string',
15123
- taskType: 'string',
15124
- };
15125
- }
15126
- }
15127
- exports.StartDISyncInstanceRequest = StartDISyncInstanceRequest;
15128
- class StartDISyncInstanceResponseBody extends $tea.Model {
15129
- constructor(map) {
15130
- super(map);
15131
- }
15132
- static names() {
15133
- return {
15134
- data: 'Data',
15135
- requestId: 'RequestId',
15136
- success: 'Success',
15137
- };
15138
- }
15139
- static types() {
15140
- return {
15141
- data: StartDISyncInstanceResponseBodyData,
15142
- requestId: 'string',
15143
- success: 'boolean',
15144
- };
15145
- }
15146
- }
15147
- exports.StartDISyncInstanceResponseBody = StartDISyncInstanceResponseBody;
15148
- class StartDISyncInstanceResponse extends $tea.Model {
15650
+ class StartDIJobRequest extends $tea.Model {
15149
15651
  constructor(map) {
15150
15652
  super(map);
15151
15653
  }
15152
15654
  static names() {
15153
15655
  return {
15154
- headers: 'headers',
15155
- statusCode: 'statusCode',
15156
- body: 'body',
15656
+ DIJobId: 'DIJobId',
15657
+ forceToRerun: 'ForceToRerun',
15658
+ realtimeStartSettings: 'RealtimeStartSettings',
15157
15659
  };
15158
15660
  }
15159
15661
  static types() {
15160
15662
  return {
15161
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15162
- statusCode: 'number',
15163
- body: StartDISyncInstanceResponseBody,
15663
+ DIJobId: 'number',
15664
+ forceToRerun: 'boolean',
15665
+ realtimeStartSettings: StartDIJobRequestRealtimeStartSettings,
15164
15666
  };
15165
15667
  }
15166
15668
  }
15167
- exports.StartDISyncInstanceResponse = StartDISyncInstanceResponse;
15168
- class StartMigrationRequest extends $tea.Model {
15669
+ exports.StartDIJobRequest = StartDIJobRequest;
15670
+ class StartDIJobShrinkRequest extends $tea.Model {
15169
15671
  constructor(map) {
15170
15672
  super(map);
15171
15673
  }
15172
15674
  static names() {
15173
15675
  return {
15174
- migrationId: 'MigrationId',
15175
- projectId: 'ProjectId',
15676
+ DIJobId: 'DIJobId',
15677
+ forceToRerun: 'ForceToRerun',
15678
+ realtimeStartSettingsShrink: 'RealtimeStartSettings',
15176
15679
  };
15177
15680
  }
15178
15681
  static types() {
15179
15682
  return {
15180
- migrationId: 'number',
15181
- projectId: 'number',
15683
+ DIJobId: 'number',
15684
+ forceToRerun: 'boolean',
15685
+ realtimeStartSettingsShrink: 'string',
15182
15686
  };
15183
15687
  }
15184
15688
  }
15185
- exports.StartMigrationRequest = StartMigrationRequest;
15186
- class StartMigrationResponseBody extends $tea.Model {
15689
+ exports.StartDIJobShrinkRequest = StartDIJobShrinkRequest;
15690
+ class StartDIJobResponseBody extends $tea.Model {
15187
15691
  constructor(map) {
15188
15692
  super(map);
15189
15693
  }
15190
15694
  static names() {
15191
15695
  return {
15192
- data: 'Data',
15193
- errorCode: 'ErrorCode',
15194
- errorMessage: 'ErrorMessage',
15195
- httpStatusCode: 'HttpStatusCode',
15196
15696
  requestId: 'RequestId',
15197
- success: 'Success',
15198
15697
  };
15199
15698
  }
15200
15699
  static types() {
15201
15700
  return {
15202
- data: 'boolean',
15203
- errorCode: 'string',
15204
- errorMessage: 'string',
15205
- httpStatusCode: 'number',
15206
15701
  requestId: 'string',
15207
- success: 'boolean',
15208
15702
  };
15209
15703
  }
15210
15704
  }
15211
- exports.StartMigrationResponseBody = StartMigrationResponseBody;
15212
- class StartMigrationResponse extends $tea.Model {
15705
+ exports.StartDIJobResponseBody = StartDIJobResponseBody;
15706
+ class StartDIJobResponse extends $tea.Model {
15213
15707
  constructor(map) {
15214
15708
  super(map);
15215
15709
  }
@@ -15224,12 +15718,12 @@ class StartMigrationResponse extends $tea.Model {
15224
15718
  return {
15225
15719
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15226
15720
  statusCode: 'number',
15227
- body: StartMigrationResponseBody,
15721
+ body: StartDIJobResponseBody,
15228
15722
  };
15229
15723
  }
15230
15724
  }
15231
- exports.StartMigrationResponse = StartMigrationResponse;
15232
- class StopDISyncInstanceRequest extends $tea.Model {
15725
+ exports.StartDIJobResponse = StartDIJobResponse;
15726
+ class StartDISyncInstanceRequest extends $tea.Model {
15233
15727
  constructor(map) {
15234
15728
  super(map);
15235
15729
  }
@@ -15237,6 +15731,7 @@ class StopDISyncInstanceRequest extends $tea.Model {
15237
15731
  return {
15238
15732
  fileId: 'FileId',
15239
15733
  projectId: 'ProjectId',
15734
+ startParam: 'StartParam',
15240
15735
  taskType: 'TaskType',
15241
15736
  };
15242
15737
  }
@@ -15244,12 +15739,13 @@ class StopDISyncInstanceRequest extends $tea.Model {
15244
15739
  return {
15245
15740
  fileId: 'number',
15246
15741
  projectId: 'number',
15742
+ startParam: 'string',
15247
15743
  taskType: 'string',
15248
15744
  };
15249
15745
  }
15250
15746
  }
15251
- exports.StopDISyncInstanceRequest = StopDISyncInstanceRequest;
15252
- class StopDISyncInstanceResponseBody extends $tea.Model {
15747
+ exports.StartDISyncInstanceRequest = StartDISyncInstanceRequest;
15748
+ class StartDISyncInstanceResponseBody extends $tea.Model {
15253
15749
  constructor(map) {
15254
15750
  super(map);
15255
15751
  }
@@ -15262,14 +15758,14 @@ class StopDISyncInstanceResponseBody extends $tea.Model {
15262
15758
  }
15263
15759
  static types() {
15264
15760
  return {
15265
- data: StopDISyncInstanceResponseBodyData,
15761
+ data: StartDISyncInstanceResponseBodyData,
15266
15762
  requestId: 'string',
15267
15763
  success: 'boolean',
15268
15764
  };
15269
15765
  }
15270
15766
  }
15271
- exports.StopDISyncInstanceResponseBody = StopDISyncInstanceResponseBody;
15272
- class StopDISyncInstanceResponse extends $tea.Model {
15767
+ exports.StartDISyncInstanceResponseBody = StartDISyncInstanceResponseBody;
15768
+ class StartDISyncInstanceResponse extends $tea.Model {
15273
15769
  constructor(map) {
15274
15770
  super(map);
15275
15771
  }
@@ -15284,30 +15780,30 @@ class StopDISyncInstanceResponse extends $tea.Model {
15284
15780
  return {
15285
15781
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15286
15782
  statusCode: 'number',
15287
- body: StopDISyncInstanceResponseBody,
15783
+ body: StartDISyncInstanceResponseBody,
15288
15784
  };
15289
15785
  }
15290
15786
  }
15291
- exports.StopDISyncInstanceResponse = StopDISyncInstanceResponse;
15292
- class StopInstanceRequest extends $tea.Model {
15787
+ exports.StartDISyncInstanceResponse = StartDISyncInstanceResponse;
15788
+ class StartMigrationRequest extends $tea.Model {
15293
15789
  constructor(map) {
15294
15790
  super(map);
15295
15791
  }
15296
15792
  static names() {
15297
15793
  return {
15298
- instanceId: 'InstanceId',
15299
- projectEnv: 'ProjectEnv',
15794
+ migrationId: 'MigrationId',
15795
+ projectId: 'ProjectId',
15300
15796
  };
15301
15797
  }
15302
15798
  static types() {
15303
15799
  return {
15304
- instanceId: 'number',
15305
- projectEnv: 'string',
15800
+ migrationId: 'number',
15801
+ projectId: 'number',
15306
15802
  };
15307
15803
  }
15308
15804
  }
15309
- exports.StopInstanceRequest = StopInstanceRequest;
15310
- class StopInstanceResponseBody extends $tea.Model {
15805
+ exports.StartMigrationRequest = StartMigrationRequest;
15806
+ class StartMigrationResponseBody extends $tea.Model {
15311
15807
  constructor(map) {
15312
15808
  super(map);
15313
15809
  }
@@ -15332,8 +15828,8 @@ class StopInstanceResponseBody extends $tea.Model {
15332
15828
  };
15333
15829
  }
15334
15830
  }
15335
- exports.StopInstanceResponseBody = StopInstanceResponseBody;
15336
- class StopInstanceResponse extends $tea.Model {
15831
+ exports.StartMigrationResponseBody = StartMigrationResponseBody;
15832
+ class StartMigrationResponse extends $tea.Model {
15337
15833
  constructor(map) {
15338
15834
  super(map);
15339
15835
  }
@@ -15348,56 +15844,44 @@ class StopInstanceResponse extends $tea.Model {
15348
15844
  return {
15349
15845
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15350
15846
  statusCode: 'number',
15351
- body: StopInstanceResponseBody,
15847
+ body: StartMigrationResponseBody,
15352
15848
  };
15353
15849
  }
15354
15850
  }
15355
- exports.StopInstanceResponse = StopInstanceResponse;
15356
- class SubmitDataServiceApiRequest extends $tea.Model {
15851
+ exports.StartMigrationResponse = StartMigrationResponse;
15852
+ class StopDIJobRequest extends $tea.Model {
15357
15853
  constructor(map) {
15358
15854
  super(map);
15359
15855
  }
15360
15856
  static names() {
15361
15857
  return {
15362
- apiId: 'ApiId',
15363
- projectId: 'ProjectId',
15364
- tenantId: 'TenantId',
15858
+ DIJobId: 'DIJobId',
15365
15859
  };
15366
15860
  }
15367
15861
  static types() {
15368
15862
  return {
15369
- apiId: 'number',
15370
- projectId: 'number',
15371
- tenantId: 'number',
15863
+ DIJobId: 'number',
15372
15864
  };
15373
15865
  }
15374
15866
  }
15375
- exports.SubmitDataServiceApiRequest = SubmitDataServiceApiRequest;
15376
- class SubmitDataServiceApiResponseBody extends $tea.Model {
15867
+ exports.StopDIJobRequest = StopDIJobRequest;
15868
+ class StopDIJobResponseBody extends $tea.Model {
15377
15869
  constructor(map) {
15378
15870
  super(map);
15379
15871
  }
15380
15872
  static names() {
15381
15873
  return {
15382
- data: 'Data',
15383
- errorCode: 'ErrorCode',
15384
- httpStatusCode: 'HttpStatusCode',
15385
15874
  requestId: 'RequestId',
15386
- success: 'Success',
15387
15875
  };
15388
15876
  }
15389
15877
  static types() {
15390
15878
  return {
15391
- data: 'boolean',
15392
- errorCode: 'string',
15393
- httpStatusCode: 'number',
15394
15879
  requestId: 'string',
15395
- success: 'boolean',
15396
15880
  };
15397
15881
  }
15398
15882
  }
15399
- exports.SubmitDataServiceApiResponseBody = SubmitDataServiceApiResponseBody;
15400
- class SubmitDataServiceApiResponse extends $tea.Model {
15883
+ exports.StopDIJobResponseBody = StopDIJobResponseBody;
15884
+ class StopDIJobResponse extends $tea.Model {
15401
15885
  constructor(map) {
15402
15886
  super(map);
15403
15887
  }
@@ -15412,62 +15896,52 @@ class SubmitDataServiceApiResponse extends $tea.Model {
15412
15896
  return {
15413
15897
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15414
15898
  statusCode: 'number',
15415
- body: SubmitDataServiceApiResponseBody,
15899
+ body: StopDIJobResponseBody,
15416
15900
  };
15417
15901
  }
15418
15902
  }
15419
- exports.SubmitDataServiceApiResponse = SubmitDataServiceApiResponse;
15420
- class SubmitFileRequest extends $tea.Model {
15903
+ exports.StopDIJobResponse = StopDIJobResponse;
15904
+ class StopDISyncInstanceRequest extends $tea.Model {
15421
15905
  constructor(map) {
15422
15906
  super(map);
15423
15907
  }
15424
15908
  static names() {
15425
15909
  return {
15426
- comment: 'Comment',
15427
15910
  fileId: 'FileId',
15428
15911
  projectId: 'ProjectId',
15429
- projectIdentifier: 'ProjectIdentifier',
15430
- skipAllDeployFileExtensions: 'SkipAllDeployFileExtensions',
15912
+ taskType: 'TaskType',
15431
15913
  };
15432
15914
  }
15433
15915
  static types() {
15434
15916
  return {
15435
- comment: 'string',
15436
15917
  fileId: 'number',
15437
15918
  projectId: 'number',
15438
- projectIdentifier: 'string',
15439
- skipAllDeployFileExtensions: 'boolean',
15919
+ taskType: 'string',
15440
15920
  };
15441
15921
  }
15442
15922
  }
15443
- exports.SubmitFileRequest = SubmitFileRequest;
15444
- class SubmitFileResponseBody extends $tea.Model {
15923
+ exports.StopDISyncInstanceRequest = StopDISyncInstanceRequest;
15924
+ class StopDISyncInstanceResponseBody extends $tea.Model {
15445
15925
  constructor(map) {
15446
15926
  super(map);
15447
15927
  }
15448
15928
  static names() {
15449
15929
  return {
15450
15930
  data: 'Data',
15451
- errorCode: 'ErrorCode',
15452
- errorMessage: 'ErrorMessage',
15453
- httpStatusCode: 'HttpStatusCode',
15454
15931
  requestId: 'RequestId',
15455
15932
  success: 'Success',
15456
15933
  };
15457
15934
  }
15458
15935
  static types() {
15459
15936
  return {
15460
- data: 'number',
15461
- errorCode: 'string',
15462
- errorMessage: 'string',
15463
- httpStatusCode: 'number',
15937
+ data: StopDISyncInstanceResponseBodyData,
15464
15938
  requestId: 'string',
15465
15939
  success: 'boolean',
15466
15940
  };
15467
15941
  }
15468
15942
  }
15469
- exports.SubmitFileResponseBody = SubmitFileResponseBody;
15470
- class SubmitFileResponse extends $tea.Model {
15943
+ exports.StopDISyncInstanceResponseBody = StopDISyncInstanceResponseBody;
15944
+ class StopDISyncInstanceResponse extends $tea.Model {
15471
15945
  constructor(map) {
15472
15946
  super(map);
15473
15947
  }
@@ -15482,12 +15956,12 @@ class SubmitFileResponse extends $tea.Model {
15482
15956
  return {
15483
15957
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15484
15958
  statusCode: 'number',
15485
- body: SubmitFileResponseBody,
15959
+ body: StopDISyncInstanceResponseBody,
15486
15960
  };
15487
15961
  }
15488
15962
  }
15489
- exports.SubmitFileResponse = SubmitFileResponse;
15490
- class SuspendInstanceRequest extends $tea.Model {
15963
+ exports.StopDISyncInstanceResponse = StopDISyncInstanceResponse;
15964
+ class StopInstanceRequest extends $tea.Model {
15491
15965
  constructor(map) {
15492
15966
  super(map);
15493
15967
  }
@@ -15504,8 +15978,206 @@ class SuspendInstanceRequest extends $tea.Model {
15504
15978
  };
15505
15979
  }
15506
15980
  }
15507
- exports.SuspendInstanceRequest = SuspendInstanceRequest;
15508
- class SuspendInstanceResponseBody extends $tea.Model {
15981
+ exports.StopInstanceRequest = StopInstanceRequest;
15982
+ class StopInstanceResponseBody extends $tea.Model {
15983
+ constructor(map) {
15984
+ super(map);
15985
+ }
15986
+ static names() {
15987
+ return {
15988
+ data: 'Data',
15989
+ errorCode: 'ErrorCode',
15990
+ errorMessage: 'ErrorMessage',
15991
+ httpStatusCode: 'HttpStatusCode',
15992
+ requestId: 'RequestId',
15993
+ success: 'Success',
15994
+ };
15995
+ }
15996
+ static types() {
15997
+ return {
15998
+ data: 'boolean',
15999
+ errorCode: 'string',
16000
+ errorMessage: 'string',
16001
+ httpStatusCode: 'number',
16002
+ requestId: 'string',
16003
+ success: 'boolean',
16004
+ };
16005
+ }
16006
+ }
16007
+ exports.StopInstanceResponseBody = StopInstanceResponseBody;
16008
+ class StopInstanceResponse extends $tea.Model {
16009
+ constructor(map) {
16010
+ super(map);
16011
+ }
16012
+ static names() {
16013
+ return {
16014
+ headers: 'headers',
16015
+ statusCode: 'statusCode',
16016
+ body: 'body',
16017
+ };
16018
+ }
16019
+ static types() {
16020
+ return {
16021
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16022
+ statusCode: 'number',
16023
+ body: StopInstanceResponseBody,
16024
+ };
16025
+ }
16026
+ }
16027
+ exports.StopInstanceResponse = StopInstanceResponse;
16028
+ class SubmitDataServiceApiRequest extends $tea.Model {
16029
+ constructor(map) {
16030
+ super(map);
16031
+ }
16032
+ static names() {
16033
+ return {
16034
+ apiId: 'ApiId',
16035
+ projectId: 'ProjectId',
16036
+ tenantId: 'TenantId',
16037
+ };
16038
+ }
16039
+ static types() {
16040
+ return {
16041
+ apiId: 'number',
16042
+ projectId: 'number',
16043
+ tenantId: 'number',
16044
+ };
16045
+ }
16046
+ }
16047
+ exports.SubmitDataServiceApiRequest = SubmitDataServiceApiRequest;
16048
+ class SubmitDataServiceApiResponseBody extends $tea.Model {
16049
+ constructor(map) {
16050
+ super(map);
16051
+ }
16052
+ static names() {
16053
+ return {
16054
+ data: 'Data',
16055
+ errorCode: 'ErrorCode',
16056
+ httpStatusCode: 'HttpStatusCode',
16057
+ requestId: 'RequestId',
16058
+ success: 'Success',
16059
+ };
16060
+ }
16061
+ static types() {
16062
+ return {
16063
+ data: 'boolean',
16064
+ errorCode: 'string',
16065
+ httpStatusCode: 'number',
16066
+ requestId: 'string',
16067
+ success: 'boolean',
16068
+ };
16069
+ }
16070
+ }
16071
+ exports.SubmitDataServiceApiResponseBody = SubmitDataServiceApiResponseBody;
16072
+ class SubmitDataServiceApiResponse extends $tea.Model {
16073
+ constructor(map) {
16074
+ super(map);
16075
+ }
16076
+ static names() {
16077
+ return {
16078
+ headers: 'headers',
16079
+ statusCode: 'statusCode',
16080
+ body: 'body',
16081
+ };
16082
+ }
16083
+ static types() {
16084
+ return {
16085
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16086
+ statusCode: 'number',
16087
+ body: SubmitDataServiceApiResponseBody,
16088
+ };
16089
+ }
16090
+ }
16091
+ exports.SubmitDataServiceApiResponse = SubmitDataServiceApiResponse;
16092
+ class SubmitFileRequest extends $tea.Model {
16093
+ constructor(map) {
16094
+ super(map);
16095
+ }
16096
+ static names() {
16097
+ return {
16098
+ comment: 'Comment',
16099
+ fileId: 'FileId',
16100
+ projectId: 'ProjectId',
16101
+ projectIdentifier: 'ProjectIdentifier',
16102
+ skipAllDeployFileExtensions: 'SkipAllDeployFileExtensions',
16103
+ };
16104
+ }
16105
+ static types() {
16106
+ return {
16107
+ comment: 'string',
16108
+ fileId: 'number',
16109
+ projectId: 'number',
16110
+ projectIdentifier: 'string',
16111
+ skipAllDeployFileExtensions: 'boolean',
16112
+ };
16113
+ }
16114
+ }
16115
+ exports.SubmitFileRequest = SubmitFileRequest;
16116
+ class SubmitFileResponseBody extends $tea.Model {
16117
+ constructor(map) {
16118
+ super(map);
16119
+ }
16120
+ static names() {
16121
+ return {
16122
+ data: 'Data',
16123
+ errorCode: 'ErrorCode',
16124
+ errorMessage: 'ErrorMessage',
16125
+ httpStatusCode: 'HttpStatusCode',
16126
+ requestId: 'RequestId',
16127
+ success: 'Success',
16128
+ };
16129
+ }
16130
+ static types() {
16131
+ return {
16132
+ data: 'number',
16133
+ errorCode: 'string',
16134
+ errorMessage: 'string',
16135
+ httpStatusCode: 'number',
16136
+ requestId: 'string',
16137
+ success: 'boolean',
16138
+ };
16139
+ }
16140
+ }
16141
+ exports.SubmitFileResponseBody = SubmitFileResponseBody;
16142
+ class SubmitFileResponse extends $tea.Model {
16143
+ constructor(map) {
16144
+ super(map);
16145
+ }
16146
+ static names() {
16147
+ return {
16148
+ headers: 'headers',
16149
+ statusCode: 'statusCode',
16150
+ body: 'body',
16151
+ };
16152
+ }
16153
+ static types() {
16154
+ return {
16155
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16156
+ statusCode: 'number',
16157
+ body: SubmitFileResponseBody,
16158
+ };
16159
+ }
16160
+ }
16161
+ exports.SubmitFileResponse = SubmitFileResponse;
16162
+ class SuspendInstanceRequest extends $tea.Model {
16163
+ constructor(map) {
16164
+ super(map);
16165
+ }
16166
+ static names() {
16167
+ return {
16168
+ instanceId: 'InstanceId',
16169
+ projectEnv: 'ProjectEnv',
16170
+ };
16171
+ }
16172
+ static types() {
16173
+ return {
16174
+ instanceId: 'number',
16175
+ projectEnv: 'string',
16176
+ };
16177
+ }
16178
+ }
16179
+ exports.SuspendInstanceRequest = SuspendInstanceRequest;
16180
+ class SuspendInstanceResponseBody extends $tea.Model {
15509
16181
  constructor(map) {
15510
16182
  super(map);
15511
16183
  }
@@ -16173,6 +16845,182 @@ class UpdateConnectionResponse extends $tea.Model {
16173
16845
  }
16174
16846
  }
16175
16847
  exports.UpdateConnectionResponse = UpdateConnectionResponse;
16848
+ class UpdateDIAlarmRuleRequest extends $tea.Model {
16849
+ constructor(map) {
16850
+ super(map);
16851
+ }
16852
+ static names() {
16853
+ return {
16854
+ DIAlarmRuleId: 'DIAlarmRuleId',
16855
+ description: 'Description',
16856
+ enabled: 'Enabled',
16857
+ metricType: 'MetricType',
16858
+ notificationSettings: 'NotificationSettings',
16859
+ triggerConditions: 'TriggerConditions',
16860
+ };
16861
+ }
16862
+ static types() {
16863
+ return {
16864
+ DIAlarmRuleId: 'number',
16865
+ description: 'string',
16866
+ enabled: 'boolean',
16867
+ metricType: 'string',
16868
+ notificationSettings: UpdateDIAlarmRuleRequestNotificationSettings,
16869
+ triggerConditions: { 'type': 'array', 'itemType': UpdateDIAlarmRuleRequestTriggerConditions },
16870
+ };
16871
+ }
16872
+ }
16873
+ exports.UpdateDIAlarmRuleRequest = UpdateDIAlarmRuleRequest;
16874
+ class UpdateDIAlarmRuleShrinkRequest extends $tea.Model {
16875
+ constructor(map) {
16876
+ super(map);
16877
+ }
16878
+ static names() {
16879
+ return {
16880
+ DIAlarmRuleId: 'DIAlarmRuleId',
16881
+ description: 'Description',
16882
+ enabled: 'Enabled',
16883
+ metricType: 'MetricType',
16884
+ notificationSettingsShrink: 'NotificationSettings',
16885
+ triggerConditionsShrink: 'TriggerConditions',
16886
+ };
16887
+ }
16888
+ static types() {
16889
+ return {
16890
+ DIAlarmRuleId: 'number',
16891
+ description: 'string',
16892
+ enabled: 'boolean',
16893
+ metricType: 'string',
16894
+ notificationSettingsShrink: 'string',
16895
+ triggerConditionsShrink: 'string',
16896
+ };
16897
+ }
16898
+ }
16899
+ exports.UpdateDIAlarmRuleShrinkRequest = UpdateDIAlarmRuleShrinkRequest;
16900
+ class UpdateDIAlarmRuleResponseBody extends $tea.Model {
16901
+ constructor(map) {
16902
+ super(map);
16903
+ }
16904
+ static names() {
16905
+ return {
16906
+ requestId: 'RequestId',
16907
+ };
16908
+ }
16909
+ static types() {
16910
+ return {
16911
+ requestId: 'string',
16912
+ };
16913
+ }
16914
+ }
16915
+ exports.UpdateDIAlarmRuleResponseBody = UpdateDIAlarmRuleResponseBody;
16916
+ class UpdateDIAlarmRuleResponse extends $tea.Model {
16917
+ constructor(map) {
16918
+ super(map);
16919
+ }
16920
+ static names() {
16921
+ return {
16922
+ headers: 'headers',
16923
+ statusCode: 'statusCode',
16924
+ body: 'body',
16925
+ };
16926
+ }
16927
+ static types() {
16928
+ return {
16929
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16930
+ statusCode: 'number',
16931
+ body: UpdateDIAlarmRuleResponseBody,
16932
+ };
16933
+ }
16934
+ }
16935
+ exports.UpdateDIAlarmRuleResponse = UpdateDIAlarmRuleResponse;
16936
+ class UpdateDIJobRequest extends $tea.Model {
16937
+ constructor(map) {
16938
+ super(map);
16939
+ }
16940
+ static names() {
16941
+ return {
16942
+ DIJobId: 'DIJobId',
16943
+ description: 'Description',
16944
+ jobSettings: 'JobSettings',
16945
+ resourceSettings: 'ResourceSettings',
16946
+ tableMappings: 'TableMappings',
16947
+ transformationRules: 'TransformationRules',
16948
+ };
16949
+ }
16950
+ static types() {
16951
+ return {
16952
+ DIJobId: 'number',
16953
+ description: 'string',
16954
+ jobSettings: UpdateDIJobRequestJobSettings,
16955
+ resourceSettings: UpdateDIJobRequestResourceSettings,
16956
+ tableMappings: { 'type': 'array', 'itemType': UpdateDIJobRequestTableMappings },
16957
+ transformationRules: { 'type': 'array', 'itemType': UpdateDIJobRequestTransformationRules },
16958
+ };
16959
+ }
16960
+ }
16961
+ exports.UpdateDIJobRequest = UpdateDIJobRequest;
16962
+ class UpdateDIJobShrinkRequest extends $tea.Model {
16963
+ constructor(map) {
16964
+ super(map);
16965
+ }
16966
+ static names() {
16967
+ return {
16968
+ DIJobId: 'DIJobId',
16969
+ description: 'Description',
16970
+ jobSettingsShrink: 'JobSettings',
16971
+ resourceSettingsShrink: 'ResourceSettings',
16972
+ tableMappingsShrink: 'TableMappings',
16973
+ transformationRulesShrink: 'TransformationRules',
16974
+ };
16975
+ }
16976
+ static types() {
16977
+ return {
16978
+ DIJobId: 'number',
16979
+ description: 'string',
16980
+ jobSettingsShrink: 'string',
16981
+ resourceSettingsShrink: 'string',
16982
+ tableMappingsShrink: 'string',
16983
+ transformationRulesShrink: 'string',
16984
+ };
16985
+ }
16986
+ }
16987
+ exports.UpdateDIJobShrinkRequest = UpdateDIJobShrinkRequest;
16988
+ class UpdateDIJobResponseBody extends $tea.Model {
16989
+ constructor(map) {
16990
+ super(map);
16991
+ }
16992
+ static names() {
16993
+ return {
16994
+ requestId: 'RequestId',
16995
+ };
16996
+ }
16997
+ static types() {
16998
+ return {
16999
+ requestId: 'string',
17000
+ };
17001
+ }
17002
+ }
17003
+ exports.UpdateDIJobResponseBody = UpdateDIJobResponseBody;
17004
+ class UpdateDIJobResponse extends $tea.Model {
17005
+ constructor(map) {
17006
+ super(map);
17007
+ }
17008
+ static names() {
17009
+ return {
17010
+ headers: 'headers',
17011
+ statusCode: 'statusCode',
17012
+ body: 'body',
17013
+ };
17014
+ }
17015
+ static types() {
17016
+ return {
17017
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
17018
+ statusCode: 'number',
17019
+ body: UpdateDIJobResponseBody,
17020
+ };
17021
+ }
17022
+ }
17023
+ exports.UpdateDIJobResponse = UpdateDIJobResponse;
16176
17024
  class UpdateDIProjectConfigRequest extends $tea.Model {
16177
17025
  constructor(map) {
16178
17026
  super(map);
@@ -17847,6 +18695,320 @@ class CreateBaselineRequestOvertimeSettings extends $tea.Model {
17847
18695
  }
17848
18696
  }
17849
18697
  exports.CreateBaselineRequestOvertimeSettings = CreateBaselineRequestOvertimeSettings;
18698
+ class CreateDIAlarmRuleRequestNotificationSettingsNotificationChannels extends $tea.Model {
18699
+ constructor(map) {
18700
+ super(map);
18701
+ }
18702
+ static names() {
18703
+ return {
18704
+ channels: 'Channels',
18705
+ severity: 'Severity',
18706
+ };
18707
+ }
18708
+ static types() {
18709
+ return {
18710
+ channels: { 'type': 'array', 'itemType': 'string' },
18711
+ severity: 'string',
18712
+ };
18713
+ }
18714
+ }
18715
+ exports.CreateDIAlarmRuleRequestNotificationSettingsNotificationChannels = CreateDIAlarmRuleRequestNotificationSettingsNotificationChannels;
18716
+ class CreateDIAlarmRuleRequestNotificationSettingsNotificationReceivers extends $tea.Model {
18717
+ constructor(map) {
18718
+ super(map);
18719
+ }
18720
+ static names() {
18721
+ return {
18722
+ receiverType: 'ReceiverType',
18723
+ receiverValues: 'ReceiverValues',
18724
+ };
18725
+ }
18726
+ static types() {
18727
+ return {
18728
+ receiverType: 'string',
18729
+ receiverValues: { 'type': 'array', 'itemType': 'string' },
18730
+ };
18731
+ }
18732
+ }
18733
+ exports.CreateDIAlarmRuleRequestNotificationSettingsNotificationReceivers = CreateDIAlarmRuleRequestNotificationSettingsNotificationReceivers;
18734
+ class CreateDIAlarmRuleRequestNotificationSettings extends $tea.Model {
18735
+ constructor(map) {
18736
+ super(map);
18737
+ }
18738
+ static names() {
18739
+ return {
18740
+ inhibitionInterval: 'InhibitionInterval',
18741
+ notificationChannels: 'NotificationChannels',
18742
+ notificationReceivers: 'NotificationReceivers',
18743
+ };
18744
+ }
18745
+ static types() {
18746
+ return {
18747
+ inhibitionInterval: 'number',
18748
+ notificationChannels: { 'type': 'array', 'itemType': CreateDIAlarmRuleRequestNotificationSettingsNotificationChannels },
18749
+ notificationReceivers: { 'type': 'array', 'itemType': CreateDIAlarmRuleRequestNotificationSettingsNotificationReceivers },
18750
+ };
18751
+ }
18752
+ }
18753
+ exports.CreateDIAlarmRuleRequestNotificationSettings = CreateDIAlarmRuleRequestNotificationSettings;
18754
+ class CreateDIAlarmRuleRequestTriggerConditions extends $tea.Model {
18755
+ constructor(map) {
18756
+ super(map);
18757
+ }
18758
+ static names() {
18759
+ return {
18760
+ duration: 'Duration',
18761
+ severity: 'Severity',
18762
+ threshold: 'Threshold',
18763
+ };
18764
+ }
18765
+ static types() {
18766
+ return {
18767
+ duration: 'number',
18768
+ severity: 'string',
18769
+ threshold: 'number',
18770
+ };
18771
+ }
18772
+ }
18773
+ exports.CreateDIAlarmRuleRequestTriggerConditions = CreateDIAlarmRuleRequestTriggerConditions;
18774
+ class CreateDIJobRequestDestinationDataSourceSettings extends $tea.Model {
18775
+ constructor(map) {
18776
+ super(map);
18777
+ }
18778
+ static names() {
18779
+ return {
18780
+ dataSourceName: 'DataSourceName',
18781
+ dataSourceProperties: 'DataSourceProperties',
18782
+ };
18783
+ }
18784
+ static types() {
18785
+ return {
18786
+ dataSourceName: 'string',
18787
+ dataSourceProperties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18788
+ };
18789
+ }
18790
+ }
18791
+ exports.CreateDIJobRequestDestinationDataSourceSettings = CreateDIJobRequestDestinationDataSourceSettings;
18792
+ class CreateDIJobRequestJobSettingsColumnDataTypeSettings extends $tea.Model {
18793
+ constructor(map) {
18794
+ super(map);
18795
+ }
18796
+ static names() {
18797
+ return {
18798
+ destinationDataType: 'DestinationDataType',
18799
+ sourceDataType: 'SourceDataType',
18800
+ };
18801
+ }
18802
+ static types() {
18803
+ return {
18804
+ destinationDataType: 'string',
18805
+ sourceDataType: 'string',
18806
+ };
18807
+ }
18808
+ }
18809
+ exports.CreateDIJobRequestJobSettingsColumnDataTypeSettings = CreateDIJobRequestJobSettingsColumnDataTypeSettings;
18810
+ class CreateDIJobRequestJobSettingsDdlHandlingSettings extends $tea.Model {
18811
+ constructor(map) {
18812
+ super(map);
18813
+ }
18814
+ static names() {
18815
+ return {
18816
+ action: 'Action',
18817
+ type: 'Type',
18818
+ };
18819
+ }
18820
+ static types() {
18821
+ return {
18822
+ action: 'string',
18823
+ type: 'string',
18824
+ };
18825
+ }
18826
+ }
18827
+ exports.CreateDIJobRequestJobSettingsDdlHandlingSettings = CreateDIJobRequestJobSettingsDdlHandlingSettings;
18828
+ class CreateDIJobRequestJobSettingsRuntimeSettings extends $tea.Model {
18829
+ constructor(map) {
18830
+ super(map);
18831
+ }
18832
+ static names() {
18833
+ return {
18834
+ name: 'Name',
18835
+ value: 'Value',
18836
+ };
18837
+ }
18838
+ static types() {
18839
+ return {
18840
+ name: 'string',
18841
+ value: 'string',
18842
+ };
18843
+ }
18844
+ }
18845
+ exports.CreateDIJobRequestJobSettingsRuntimeSettings = CreateDIJobRequestJobSettingsRuntimeSettings;
18846
+ class CreateDIJobRequestJobSettings extends $tea.Model {
18847
+ constructor(map) {
18848
+ super(map);
18849
+ }
18850
+ static names() {
18851
+ return {
18852
+ columnDataTypeSettings: 'ColumnDataTypeSettings',
18853
+ ddlHandlingSettings: 'DdlHandlingSettings',
18854
+ runtimeSettings: 'RuntimeSettings',
18855
+ };
18856
+ }
18857
+ static types() {
18858
+ return {
18859
+ columnDataTypeSettings: { 'type': 'array', 'itemType': CreateDIJobRequestJobSettingsColumnDataTypeSettings },
18860
+ ddlHandlingSettings: { 'type': 'array', 'itemType': CreateDIJobRequestJobSettingsDdlHandlingSettings },
18861
+ runtimeSettings: { 'type': 'array', 'itemType': CreateDIJobRequestJobSettingsRuntimeSettings },
18862
+ };
18863
+ }
18864
+ }
18865
+ exports.CreateDIJobRequestJobSettings = CreateDIJobRequestJobSettings;
18866
+ class CreateDIJobRequestResourceSettingsOfflineResourceSettings extends $tea.Model {
18867
+ constructor(map) {
18868
+ super(map);
18869
+ }
18870
+ static names() {
18871
+ return {
18872
+ resourceGroupIdentifier: 'ResourceGroupIdentifier',
18873
+ };
18874
+ }
18875
+ static types() {
18876
+ return {
18877
+ resourceGroupIdentifier: 'string',
18878
+ };
18879
+ }
18880
+ }
18881
+ exports.CreateDIJobRequestResourceSettingsOfflineResourceSettings = CreateDIJobRequestResourceSettingsOfflineResourceSettings;
18882
+ class CreateDIJobRequestResourceSettingsRealtimeResourceSettings extends $tea.Model {
18883
+ constructor(map) {
18884
+ super(map);
18885
+ }
18886
+ static names() {
18887
+ return {
18888
+ resourceGroupIdentifier: 'ResourceGroupIdentifier',
18889
+ };
18890
+ }
18891
+ static types() {
18892
+ return {
18893
+ resourceGroupIdentifier: 'string',
18894
+ };
18895
+ }
18896
+ }
18897
+ exports.CreateDIJobRequestResourceSettingsRealtimeResourceSettings = CreateDIJobRequestResourceSettingsRealtimeResourceSettings;
18898
+ class CreateDIJobRequestResourceSettings extends $tea.Model {
18899
+ constructor(map) {
18900
+ super(map);
18901
+ }
18902
+ static names() {
18903
+ return {
18904
+ offlineResourceSettings: 'OfflineResourceSettings',
18905
+ realtimeResourceSettings: 'RealtimeResourceSettings',
18906
+ };
18907
+ }
18908
+ static types() {
18909
+ return {
18910
+ offlineResourceSettings: CreateDIJobRequestResourceSettingsOfflineResourceSettings,
18911
+ realtimeResourceSettings: CreateDIJobRequestResourceSettingsRealtimeResourceSettings,
18912
+ };
18913
+ }
18914
+ }
18915
+ exports.CreateDIJobRequestResourceSettings = CreateDIJobRequestResourceSettings;
18916
+ class CreateDIJobRequestSourceDataSourceSettings extends $tea.Model {
18917
+ constructor(map) {
18918
+ super(map);
18919
+ }
18920
+ static names() {
18921
+ return {
18922
+ dataSourceName: 'DataSourceName',
18923
+ dataSourceProperties: 'DataSourceProperties',
18924
+ };
18925
+ }
18926
+ static types() {
18927
+ return {
18928
+ dataSourceName: 'string',
18929
+ dataSourceProperties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18930
+ };
18931
+ }
18932
+ }
18933
+ exports.CreateDIJobRequestSourceDataSourceSettings = CreateDIJobRequestSourceDataSourceSettings;
18934
+ class CreateDIJobRequestTableMappingsSourceObjectSelectionRules extends $tea.Model {
18935
+ constructor(map) {
18936
+ super(map);
18937
+ }
18938
+ static names() {
18939
+ return {
18940
+ expression: 'Expression',
18941
+ objectType: 'ObjectType',
18942
+ };
18943
+ }
18944
+ static types() {
18945
+ return {
18946
+ expression: 'string',
18947
+ objectType: 'string',
18948
+ };
18949
+ }
18950
+ }
18951
+ exports.CreateDIJobRequestTableMappingsSourceObjectSelectionRules = CreateDIJobRequestTableMappingsSourceObjectSelectionRules;
18952
+ class CreateDIJobRequestTableMappingsTransformationRules extends $tea.Model {
18953
+ constructor(map) {
18954
+ super(map);
18955
+ }
18956
+ static names() {
18957
+ return {
18958
+ ruleActionType: 'RuleActionType',
18959
+ ruleName: 'RuleName',
18960
+ ruleTargetType: 'RuleTargetType',
18961
+ };
18962
+ }
18963
+ static types() {
18964
+ return {
18965
+ ruleActionType: 'string',
18966
+ ruleName: 'string',
18967
+ ruleTargetType: 'string',
18968
+ };
18969
+ }
18970
+ }
18971
+ exports.CreateDIJobRequestTableMappingsTransformationRules = CreateDIJobRequestTableMappingsTransformationRules;
18972
+ class CreateDIJobRequestTableMappings extends $tea.Model {
18973
+ constructor(map) {
18974
+ super(map);
18975
+ }
18976
+ static names() {
18977
+ return {
18978
+ sourceObjectSelectionRules: 'SourceObjectSelectionRules',
18979
+ transformationRules: 'TransformationRules',
18980
+ };
18981
+ }
18982
+ static types() {
18983
+ return {
18984
+ sourceObjectSelectionRules: { 'type': 'array', 'itemType': CreateDIJobRequestTableMappingsSourceObjectSelectionRules },
18985
+ transformationRules: { 'type': 'array', 'itemType': CreateDIJobRequestTableMappingsTransformationRules },
18986
+ };
18987
+ }
18988
+ }
18989
+ exports.CreateDIJobRequestTableMappings = CreateDIJobRequestTableMappings;
18990
+ class CreateDIJobRequestTransformationRules extends $tea.Model {
18991
+ constructor(map) {
18992
+ super(map);
18993
+ }
18994
+ static names() {
18995
+ return {
18996
+ ruleActionType: 'RuleActionType',
18997
+ ruleExpression: 'RuleExpression',
18998
+ ruleName: 'RuleName',
18999
+ ruleTargetType: 'RuleTargetType',
19000
+ };
19001
+ }
19002
+ static types() {
19003
+ return {
19004
+ ruleActionType: 'string',
19005
+ ruleExpression: 'string',
19006
+ ruleName: 'string',
19007
+ ruleTargetType: 'string',
19008
+ };
19009
+ }
19010
+ }
19011
+ exports.CreateDIJobRequestTransformationRules = CreateDIJobRequestTransformationRules;
17850
19012
  class CreateDISyncTaskResponseBodyData extends $tea.Model {
17851
19013
  constructor(map) {
17852
19014
  super(map);
@@ -18551,6 +19713,414 @@ class GetDDLJobStatusResponseBodyData extends $tea.Model {
18551
19713
  }
18552
19714
  }
18553
19715
  exports.GetDDLJobStatusResponseBodyData = GetDDLJobStatusResponseBodyData;
19716
+ class GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationChannels extends $tea.Model {
19717
+ constructor(map) {
19718
+ super(map);
19719
+ }
19720
+ static names() {
19721
+ return {
19722
+ channels: 'Channels',
19723
+ severity: 'Severity',
19724
+ };
19725
+ }
19726
+ static types() {
19727
+ return {
19728
+ channels: { 'type': 'array', 'itemType': 'string' },
19729
+ severity: 'string',
19730
+ };
19731
+ }
19732
+ }
19733
+ exports.GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationChannels = GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationChannels;
19734
+ class GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationReceivers extends $tea.Model {
19735
+ constructor(map) {
19736
+ super(map);
19737
+ }
19738
+ static names() {
19739
+ return {
19740
+ receiverType: 'ReceiverType',
19741
+ receiverValues: 'ReceiverValues',
19742
+ };
19743
+ }
19744
+ static types() {
19745
+ return {
19746
+ receiverType: 'string',
19747
+ receiverValues: { 'type': 'array', 'itemType': 'string' },
19748
+ };
19749
+ }
19750
+ }
19751
+ exports.GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationReceivers = GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationReceivers;
19752
+ class GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettings extends $tea.Model {
19753
+ constructor(map) {
19754
+ super(map);
19755
+ }
19756
+ static names() {
19757
+ return {
19758
+ inhibitionInterval: 'InhibitionInterval',
19759
+ notificationChannels: 'NotificationChannels',
19760
+ notificationReceivers: 'NotificationReceivers',
19761
+ };
19762
+ }
19763
+ static types() {
19764
+ return {
19765
+ inhibitionInterval: 'number',
19766
+ notificationChannels: { 'type': 'array', 'itemType': GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationChannels },
19767
+ notificationReceivers: { 'type': 'array', 'itemType': GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettingsNotificationReceivers },
19768
+ };
19769
+ }
19770
+ }
19771
+ exports.GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettings = GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettings;
19772
+ class GetDIAlarmRuleResponseBodyDIAlarmRuleTriggerConditions extends $tea.Model {
19773
+ constructor(map) {
19774
+ super(map);
19775
+ }
19776
+ static names() {
19777
+ return {
19778
+ duration: 'Duration',
19779
+ severity: 'Severity',
19780
+ threshold: 'Threshold',
19781
+ };
19782
+ }
19783
+ static types() {
19784
+ return {
19785
+ duration: 'number',
19786
+ severity: 'string',
19787
+ threshold: 'number',
19788
+ };
19789
+ }
19790
+ }
19791
+ exports.GetDIAlarmRuleResponseBodyDIAlarmRuleTriggerConditions = GetDIAlarmRuleResponseBodyDIAlarmRuleTriggerConditions;
19792
+ class GetDIAlarmRuleResponseBodyDIAlarmRule extends $tea.Model {
19793
+ constructor(map) {
19794
+ super(map);
19795
+ }
19796
+ static names() {
19797
+ return {
19798
+ createdTime: 'CreatedTime',
19799
+ createdUid: 'CreatedUid',
19800
+ DIAlarmRuleId: 'DIAlarmRuleId',
19801
+ DIJobId: 'DIJobId',
19802
+ description: 'Description',
19803
+ enabled: 'Enabled',
19804
+ metricType: 'MetricType',
19805
+ notificationSettings: 'NotificationSettings',
19806
+ triggerConditions: 'TriggerConditions',
19807
+ updatedTime: 'UpdatedTime',
19808
+ updatedUid: 'UpdatedUid',
19809
+ };
19810
+ }
19811
+ static types() {
19812
+ return {
19813
+ createdTime: 'number',
19814
+ createdUid: 'string',
19815
+ DIAlarmRuleId: 'number',
19816
+ DIJobId: 'number',
19817
+ description: 'string',
19818
+ enabled: 'boolean',
19819
+ metricType: 'string',
19820
+ notificationSettings: GetDIAlarmRuleResponseBodyDIAlarmRuleNotificationSettings,
19821
+ triggerConditions: { 'type': 'array', 'itemType': GetDIAlarmRuleResponseBodyDIAlarmRuleTriggerConditions },
19822
+ updatedTime: 'number',
19823
+ updatedUid: 'string',
19824
+ };
19825
+ }
19826
+ }
19827
+ exports.GetDIAlarmRuleResponseBodyDIAlarmRule = GetDIAlarmRuleResponseBodyDIAlarmRule;
19828
+ class GetDIJobResponseBodyDataDestinationDataSourceSettings extends $tea.Model {
19829
+ constructor(map) {
19830
+ super(map);
19831
+ }
19832
+ static names() {
19833
+ return {
19834
+ dataSourceName: 'DataSourceName',
19835
+ dataSourceProperties: 'DataSourceProperties',
19836
+ };
19837
+ }
19838
+ static types() {
19839
+ return {
19840
+ dataSourceName: 'string',
19841
+ dataSourceProperties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19842
+ };
19843
+ }
19844
+ }
19845
+ exports.GetDIJobResponseBodyDataDestinationDataSourceSettings = GetDIJobResponseBodyDataDestinationDataSourceSettings;
19846
+ class GetDIJobResponseBodyDataJobSettingsColumnDataTypeSettings extends $tea.Model {
19847
+ constructor(map) {
19848
+ super(map);
19849
+ }
19850
+ static names() {
19851
+ return {
19852
+ destinationDataType: 'DestinationDataType',
19853
+ sourceDataType: 'SourceDataType',
19854
+ };
19855
+ }
19856
+ static types() {
19857
+ return {
19858
+ destinationDataType: 'string',
19859
+ sourceDataType: 'string',
19860
+ };
19861
+ }
19862
+ }
19863
+ exports.GetDIJobResponseBodyDataJobSettingsColumnDataTypeSettings = GetDIJobResponseBodyDataJobSettingsColumnDataTypeSettings;
19864
+ class GetDIJobResponseBodyDataJobSettingsDdlHandlingSettings extends $tea.Model {
19865
+ constructor(map) {
19866
+ super(map);
19867
+ }
19868
+ static names() {
19869
+ return {
19870
+ action: 'Action',
19871
+ type: 'Type',
19872
+ };
19873
+ }
19874
+ static types() {
19875
+ return {
19876
+ action: 'string',
19877
+ type: 'string',
19878
+ };
19879
+ }
19880
+ }
19881
+ exports.GetDIJobResponseBodyDataJobSettingsDdlHandlingSettings = GetDIJobResponseBodyDataJobSettingsDdlHandlingSettings;
19882
+ class GetDIJobResponseBodyDataJobSettingsRuntimeSettings extends $tea.Model {
19883
+ constructor(map) {
19884
+ super(map);
19885
+ }
19886
+ static names() {
19887
+ return {
19888
+ name: 'Name',
19889
+ value: 'Value',
19890
+ };
19891
+ }
19892
+ static types() {
19893
+ return {
19894
+ name: 'string',
19895
+ value: 'string',
19896
+ };
19897
+ }
19898
+ }
19899
+ exports.GetDIJobResponseBodyDataJobSettingsRuntimeSettings = GetDIJobResponseBodyDataJobSettingsRuntimeSettings;
19900
+ class GetDIJobResponseBodyDataJobSettings extends $tea.Model {
19901
+ constructor(map) {
19902
+ super(map);
19903
+ }
19904
+ static names() {
19905
+ return {
19906
+ columnDataTypeSettings: 'ColumnDataTypeSettings',
19907
+ ddlHandlingSettings: 'DdlHandlingSettings',
19908
+ runtimeSettings: 'RuntimeSettings',
19909
+ };
19910
+ }
19911
+ static types() {
19912
+ return {
19913
+ columnDataTypeSettings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataJobSettingsColumnDataTypeSettings },
19914
+ ddlHandlingSettings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataJobSettingsDdlHandlingSettings },
19915
+ runtimeSettings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataJobSettingsRuntimeSettings },
19916
+ };
19917
+ }
19918
+ }
19919
+ exports.GetDIJobResponseBodyDataJobSettings = GetDIJobResponseBodyDataJobSettings;
19920
+ class GetDIJobResponseBodyDataResourceSettingsOfflineResourceSettings extends $tea.Model {
19921
+ constructor(map) {
19922
+ super(map);
19923
+ }
19924
+ static names() {
19925
+ return {
19926
+ resourceGroupIdentifier: 'ResourceGroupIdentifier',
19927
+ };
19928
+ }
19929
+ static types() {
19930
+ return {
19931
+ resourceGroupIdentifier: 'string',
19932
+ };
19933
+ }
19934
+ }
19935
+ exports.GetDIJobResponseBodyDataResourceSettingsOfflineResourceSettings = GetDIJobResponseBodyDataResourceSettingsOfflineResourceSettings;
19936
+ class GetDIJobResponseBodyDataResourceSettingsRealtimeResourceSettings extends $tea.Model {
19937
+ constructor(map) {
19938
+ super(map);
19939
+ }
19940
+ static names() {
19941
+ return {
19942
+ resourceGroupIdentifier: 'ResourceGroupIdentifier',
19943
+ };
19944
+ }
19945
+ static types() {
19946
+ return {
19947
+ resourceGroupIdentifier: 'string',
19948
+ };
19949
+ }
19950
+ }
19951
+ exports.GetDIJobResponseBodyDataResourceSettingsRealtimeResourceSettings = GetDIJobResponseBodyDataResourceSettingsRealtimeResourceSettings;
19952
+ class GetDIJobResponseBodyDataResourceSettings extends $tea.Model {
19953
+ constructor(map) {
19954
+ super(map);
19955
+ }
19956
+ static names() {
19957
+ return {
19958
+ offlineResourceSettings: 'OfflineResourceSettings',
19959
+ realtimeResourceSettings: 'RealtimeResourceSettings',
19960
+ };
19961
+ }
19962
+ static types() {
19963
+ return {
19964
+ offlineResourceSettings: GetDIJobResponseBodyDataResourceSettingsOfflineResourceSettings,
19965
+ realtimeResourceSettings: GetDIJobResponseBodyDataResourceSettingsRealtimeResourceSettings,
19966
+ };
19967
+ }
19968
+ }
19969
+ exports.GetDIJobResponseBodyDataResourceSettings = GetDIJobResponseBodyDataResourceSettings;
19970
+ class GetDIJobResponseBodyDataSourceDataSourceSettings extends $tea.Model {
19971
+ constructor(map) {
19972
+ super(map);
19973
+ }
19974
+ static names() {
19975
+ return {
19976
+ dataSourceName: 'DataSourceName',
19977
+ dataSourceProperties: 'DataSourceProperties',
19978
+ };
19979
+ }
19980
+ static types() {
19981
+ return {
19982
+ dataSourceName: 'string',
19983
+ dataSourceProperties: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19984
+ };
19985
+ }
19986
+ }
19987
+ exports.GetDIJobResponseBodyDataSourceDataSourceSettings = GetDIJobResponseBodyDataSourceDataSourceSettings;
19988
+ class GetDIJobResponseBodyDataTableMappingsSourceObjectSelectionRules extends $tea.Model {
19989
+ constructor(map) {
19990
+ super(map);
19991
+ }
19992
+ static names() {
19993
+ return {
19994
+ expression: 'Expression',
19995
+ objectType: 'ObjectType',
19996
+ };
19997
+ }
19998
+ static types() {
19999
+ return {
20000
+ expression: 'string',
20001
+ objectType: 'string',
20002
+ };
20003
+ }
20004
+ }
20005
+ exports.GetDIJobResponseBodyDataTableMappingsSourceObjectSelectionRules = GetDIJobResponseBodyDataTableMappingsSourceObjectSelectionRules;
20006
+ class GetDIJobResponseBodyDataTableMappingsTransformationRules extends $tea.Model {
20007
+ constructor(map) {
20008
+ super(map);
20009
+ }
20010
+ static names() {
20011
+ return {
20012
+ ruleActionType: 'RuleActionType',
20013
+ ruleName: 'RuleName',
20014
+ ruleTargetType: 'RuleTargetType',
20015
+ };
20016
+ }
20017
+ static types() {
20018
+ return {
20019
+ ruleActionType: 'string',
20020
+ ruleName: 'string',
20021
+ ruleTargetType: 'string',
20022
+ };
20023
+ }
20024
+ }
20025
+ exports.GetDIJobResponseBodyDataTableMappingsTransformationRules = GetDIJobResponseBodyDataTableMappingsTransformationRules;
20026
+ class GetDIJobResponseBodyDataTableMappings extends $tea.Model {
20027
+ constructor(map) {
20028
+ super(map);
20029
+ }
20030
+ static names() {
20031
+ return {
20032
+ sourceObjectSelectionRules: 'SourceObjectSelectionRules',
20033
+ transformationRules: 'TransformationRules',
20034
+ };
20035
+ }
20036
+ static types() {
20037
+ return {
20038
+ sourceObjectSelectionRules: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataTableMappingsSourceObjectSelectionRules },
20039
+ transformationRules: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataTableMappingsTransformationRules },
20040
+ };
20041
+ }
20042
+ }
20043
+ exports.GetDIJobResponseBodyDataTableMappings = GetDIJobResponseBodyDataTableMappings;
20044
+ class GetDIJobResponseBodyDataTransformationRules extends $tea.Model {
20045
+ constructor(map) {
20046
+ super(map);
20047
+ }
20048
+ static names() {
20049
+ return {
20050
+ ruleActionType: 'RuleActionType',
20051
+ ruleExpression: 'RuleExpression',
20052
+ ruleName: 'RuleName',
20053
+ ruleTargetType: 'RuleTargetType',
20054
+ };
20055
+ }
20056
+ static types() {
20057
+ return {
20058
+ ruleActionType: 'string',
20059
+ ruleExpression: 'string',
20060
+ ruleName: 'string',
20061
+ ruleTargetType: 'string',
20062
+ };
20063
+ }
20064
+ }
20065
+ exports.GetDIJobResponseBodyDataTransformationRules = GetDIJobResponseBodyDataTransformationRules;
20066
+ class GetDIJobResponseBodyData extends $tea.Model {
20067
+ constructor(map) {
20068
+ super(map);
20069
+ }
20070
+ static names() {
20071
+ return {
20072
+ createdTime: 'CreatedTime',
20073
+ createdUid: 'CreatedUid',
20074
+ DIJobId: 'DIJobId',
20075
+ description: 'Description',
20076
+ destinationDataSourceSettings: 'DestinationDataSourceSettings',
20077
+ destinationDataSourceType: 'DestinationDataSourceType',
20078
+ errorMessage: 'ErrorMessage',
20079
+ jobName: 'JobName',
20080
+ jobSettings: 'JobSettings',
20081
+ jobStatus: 'JobStatus',
20082
+ migrationType: 'MigrationType',
20083
+ projectId: 'ProjectId',
20084
+ resourceSettings: 'ResourceSettings',
20085
+ runStats: 'RunStats',
20086
+ sourceDataSourceSettings: 'SourceDataSourceSettings',
20087
+ sourceDataSourceType: 'SourceDataSourceType',
20088
+ startedTime: 'StartedTime',
20089
+ startedUid: 'StartedUid',
20090
+ tableMappings: 'TableMappings',
20091
+ transformationRules: 'TransformationRules',
20092
+ updatedTime: 'UpdatedTime',
20093
+ updatedUid: 'UpdatedUid',
20094
+ };
20095
+ }
20096
+ static types() {
20097
+ return {
20098
+ createdTime: 'number',
20099
+ createdUid: 'string',
20100
+ DIJobId: 'number',
20101
+ description: 'string',
20102
+ destinationDataSourceSettings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataDestinationDataSourceSettings },
20103
+ destinationDataSourceType: 'string',
20104
+ errorMessage: 'string',
20105
+ jobName: 'string',
20106
+ jobSettings: GetDIJobResponseBodyDataJobSettings,
20107
+ jobStatus: 'string',
20108
+ migrationType: 'string',
20109
+ projectId: 'number',
20110
+ resourceSettings: GetDIJobResponseBodyDataResourceSettings,
20111
+ runStats: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
20112
+ sourceDataSourceSettings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataSourceDataSourceSettings },
20113
+ sourceDataSourceType: 'string',
20114
+ startedTime: 'number',
20115
+ startedUid: 'string',
20116
+ tableMappings: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataTableMappings },
20117
+ transformationRules: { 'type': 'array', 'itemType': GetDIJobResponseBodyDataTransformationRules },
20118
+ updatedTime: 'number',
20119
+ updatedUid: 'string',
20120
+ };
20121
+ }
20122
+ }
20123
+ exports.GetDIJobResponseBodyData = GetDIJobResponseBodyData;
18554
20124
  class GetDISyncInstanceInfoResponseBodyDataSolutionInfoStepDetail extends $tea.Model {
18555
20125
  constructor(map) {
18556
20126
  super(map);
@@ -22899,6 +24469,182 @@ class ListConnectionsResponseBodyData extends $tea.Model {
22899
24469
  }
22900
24470
  }
22901
24471
  exports.ListConnectionsResponseBodyData = ListConnectionsResponseBodyData;
24472
+ class ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationChannels extends $tea.Model {
24473
+ constructor(map) {
24474
+ super(map);
24475
+ }
24476
+ static names() {
24477
+ return {
24478
+ channels: 'Channels',
24479
+ severity: 'Severity',
24480
+ };
24481
+ }
24482
+ static types() {
24483
+ return {
24484
+ channels: { 'type': 'array', 'itemType': 'string' },
24485
+ severity: 'string',
24486
+ };
24487
+ }
24488
+ }
24489
+ exports.ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationChannels = ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationChannels;
24490
+ class ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationReceivers extends $tea.Model {
24491
+ constructor(map) {
24492
+ super(map);
24493
+ }
24494
+ static names() {
24495
+ return {
24496
+ receiverType: 'ReceiverType',
24497
+ receiverValues: 'ReceiverValues',
24498
+ };
24499
+ }
24500
+ static types() {
24501
+ return {
24502
+ receiverType: 'string',
24503
+ receiverValues: { 'type': 'array', 'itemType': 'string' },
24504
+ };
24505
+ }
24506
+ }
24507
+ exports.ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationReceivers = ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationReceivers;
24508
+ class ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettings extends $tea.Model {
24509
+ constructor(map) {
24510
+ super(map);
24511
+ }
24512
+ static names() {
24513
+ return {
24514
+ inhibitionInterval: 'InhibitionInterval',
24515
+ notificationChannels: 'NotificationChannels',
24516
+ notificationReceivers: 'NotificationReceivers',
24517
+ };
24518
+ }
24519
+ static types() {
24520
+ return {
24521
+ inhibitionInterval: 'number',
24522
+ notificationChannels: { 'type': 'array', 'itemType': ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationChannels },
24523
+ notificationReceivers: { 'type': 'array', 'itemType': ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettingsNotificationReceivers },
24524
+ };
24525
+ }
24526
+ }
24527
+ exports.ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettings = ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettings;
24528
+ class ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesTriggerConditions extends $tea.Model {
24529
+ constructor(map) {
24530
+ super(map);
24531
+ }
24532
+ static names() {
24533
+ return {
24534
+ duration: 'Duration',
24535
+ severity: 'Severity',
24536
+ threshold: 'Threshold',
24537
+ };
24538
+ }
24539
+ static types() {
24540
+ return {
24541
+ duration: 'number',
24542
+ severity: 'string',
24543
+ threshold: 'number',
24544
+ };
24545
+ }
24546
+ }
24547
+ exports.ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesTriggerConditions = ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesTriggerConditions;
24548
+ class ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRules extends $tea.Model {
24549
+ constructor(map) {
24550
+ super(map);
24551
+ }
24552
+ static names() {
24553
+ return {
24554
+ DIAlarmRuleId: 'DIAlarmRuleId',
24555
+ DIJobId: 'DIJobId',
24556
+ description: 'Description',
24557
+ enabled: 'Enabled',
24558
+ metricType: 'MetricType',
24559
+ notificationSettings: 'NotificationSettings',
24560
+ triggerConditions: 'TriggerConditions',
24561
+ };
24562
+ }
24563
+ static types() {
24564
+ return {
24565
+ DIAlarmRuleId: 'number',
24566
+ DIJobId: 'number',
24567
+ description: 'string',
24568
+ enabled: 'boolean',
24569
+ metricType: 'string',
24570
+ notificationSettings: ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesNotificationSettings,
24571
+ triggerConditions: { 'type': 'array', 'itemType': ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRulesTriggerConditions },
24572
+ };
24573
+ }
24574
+ }
24575
+ exports.ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRules = ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRules;
24576
+ class ListDIAlarmRulesResponseBodyDIAlarmRulePaging extends $tea.Model {
24577
+ constructor(map) {
24578
+ super(map);
24579
+ }
24580
+ static names() {
24581
+ return {
24582
+ DIJobAlarmRules: 'DIJobAlarmRules',
24583
+ pageNumber: 'PageNumber',
24584
+ pageSize: 'PageSize',
24585
+ totalCount: 'TotalCount',
24586
+ };
24587
+ }
24588
+ static types() {
24589
+ return {
24590
+ DIJobAlarmRules: { 'type': 'array', 'itemType': ListDIAlarmRulesResponseBodyDIAlarmRulePagingDIJobAlarmRules },
24591
+ pageNumber: 'number',
24592
+ pageSize: 'number',
24593
+ totalCount: 'number',
24594
+ };
24595
+ }
24596
+ }
24597
+ exports.ListDIAlarmRulesResponseBodyDIAlarmRulePaging = ListDIAlarmRulesResponseBodyDIAlarmRulePaging;
24598
+ class ListDIJobsResponseBodyDIJobPagingDIJobs extends $tea.Model {
24599
+ constructor(map) {
24600
+ super(map);
24601
+ }
24602
+ static names() {
24603
+ return {
24604
+ DIJobId: 'DIJobId',
24605
+ destinationDataSourceType: 'DestinationDataSourceType',
24606
+ jobName: 'JobName',
24607
+ jobStatus: 'JobStatus',
24608
+ migrationType: 'MigrationType',
24609
+ projectId: 'ProjectId',
24610
+ sourceDataSourceType: 'SourceDataSourceType',
24611
+ };
24612
+ }
24613
+ static types() {
24614
+ return {
24615
+ DIJobId: 'number',
24616
+ destinationDataSourceType: 'string',
24617
+ jobName: 'string',
24618
+ jobStatus: 'string',
24619
+ migrationType: 'string',
24620
+ projectId: 'number',
24621
+ sourceDataSourceType: 'string',
24622
+ };
24623
+ }
24624
+ }
24625
+ exports.ListDIJobsResponseBodyDIJobPagingDIJobs = ListDIJobsResponseBodyDIJobPagingDIJobs;
24626
+ class ListDIJobsResponseBodyDIJobPaging extends $tea.Model {
24627
+ constructor(map) {
24628
+ super(map);
24629
+ }
24630
+ static names() {
24631
+ return {
24632
+ DIJobs: 'DIJobs',
24633
+ pageNumber: 'PageNumber',
24634
+ pageSize: 'PageSize',
24635
+ totalCount: 'TotalCount',
24636
+ };
24637
+ }
24638
+ static types() {
24639
+ return {
24640
+ DIJobs: { 'type': 'array', 'itemType': ListDIJobsResponseBodyDIJobPagingDIJobs },
24641
+ pageNumber: 'number',
24642
+ pageSize: 'number',
24643
+ totalCount: 'number',
24644
+ };
24645
+ }
24646
+ }
24647
+ exports.ListDIJobsResponseBodyDIJobPaging = ListDIJobsResponseBodyDIJobPaging;
22902
24648
  class ListDIProjectConfigResponseBodyData extends $tea.Model {
22903
24649
  constructor(map) {
22904
24650
  super(map);
@@ -26541,6 +28287,42 @@ class SetDataSourceShareResponseBodyData extends $tea.Model {
26541
28287
  }
26542
28288
  }
26543
28289
  exports.SetDataSourceShareResponseBodyData = SetDataSourceShareResponseBodyData;
28290
+ class StartDIJobRequestRealtimeStartSettingsFailoverSettings extends $tea.Model {
28291
+ constructor(map) {
28292
+ super(map);
28293
+ }
28294
+ static names() {
28295
+ return {
28296
+ interval: 'Interval',
28297
+ upperLimit: 'UpperLimit',
28298
+ };
28299
+ }
28300
+ static types() {
28301
+ return {
28302
+ interval: 'number',
28303
+ upperLimit: 'number',
28304
+ };
28305
+ }
28306
+ }
28307
+ exports.StartDIJobRequestRealtimeStartSettingsFailoverSettings = StartDIJobRequestRealtimeStartSettingsFailoverSettings;
28308
+ class StartDIJobRequestRealtimeStartSettings extends $tea.Model {
28309
+ constructor(map) {
28310
+ super(map);
28311
+ }
28312
+ static names() {
28313
+ return {
28314
+ failoverSettings: 'FailoverSettings',
28315
+ startTime: 'StartTime',
28316
+ };
28317
+ }
28318
+ static types() {
28319
+ return {
28320
+ failoverSettings: StartDIJobRequestRealtimeStartSettingsFailoverSettings,
28321
+ startTime: 'number',
28322
+ };
28323
+ }
28324
+ }
28325
+ exports.StartDIJobRequestRealtimeStartSettings = StartDIJobRequestRealtimeStartSettings;
26544
28326
  class StartDISyncInstanceResponseBodyData extends $tea.Model {
26545
28327
  constructor(map) {
26546
28328
  super(map);
@@ -26865,6 +28647,284 @@ class UpdateBaselineRequestOvertimeSettings extends $tea.Model {
26865
28647
  }
26866
28648
  }
26867
28649
  exports.UpdateBaselineRequestOvertimeSettings = UpdateBaselineRequestOvertimeSettings;
28650
+ class UpdateDIAlarmRuleRequestNotificationSettingsNotificationChannels extends $tea.Model {
28651
+ constructor(map) {
28652
+ super(map);
28653
+ }
28654
+ static names() {
28655
+ return {
28656
+ channels: 'Channels',
28657
+ severity: 'Severity',
28658
+ };
28659
+ }
28660
+ static types() {
28661
+ return {
28662
+ channels: { 'type': 'array', 'itemType': 'string' },
28663
+ severity: 'string',
28664
+ };
28665
+ }
28666
+ }
28667
+ exports.UpdateDIAlarmRuleRequestNotificationSettingsNotificationChannels = UpdateDIAlarmRuleRequestNotificationSettingsNotificationChannels;
28668
+ class UpdateDIAlarmRuleRequestNotificationSettingsNotificationReceivers extends $tea.Model {
28669
+ constructor(map) {
28670
+ super(map);
28671
+ }
28672
+ static names() {
28673
+ return {
28674
+ receiverType: 'ReceiverType',
28675
+ receiverValues: 'ReceiverValues',
28676
+ };
28677
+ }
28678
+ static types() {
28679
+ return {
28680
+ receiverType: 'string',
28681
+ receiverValues: { 'type': 'array', 'itemType': 'string' },
28682
+ };
28683
+ }
28684
+ }
28685
+ exports.UpdateDIAlarmRuleRequestNotificationSettingsNotificationReceivers = UpdateDIAlarmRuleRequestNotificationSettingsNotificationReceivers;
28686
+ class UpdateDIAlarmRuleRequestNotificationSettings extends $tea.Model {
28687
+ constructor(map) {
28688
+ super(map);
28689
+ }
28690
+ static names() {
28691
+ return {
28692
+ inhibitionInterval: 'InhibitionInterval',
28693
+ notificationChannels: 'NotificationChannels',
28694
+ notificationReceivers: 'NotificationReceivers',
28695
+ };
28696
+ }
28697
+ static types() {
28698
+ return {
28699
+ inhibitionInterval: 'number',
28700
+ notificationChannels: { 'type': 'array', 'itemType': UpdateDIAlarmRuleRequestNotificationSettingsNotificationChannels },
28701
+ notificationReceivers: { 'type': 'array', 'itemType': UpdateDIAlarmRuleRequestNotificationSettingsNotificationReceivers },
28702
+ };
28703
+ }
28704
+ }
28705
+ exports.UpdateDIAlarmRuleRequestNotificationSettings = UpdateDIAlarmRuleRequestNotificationSettings;
28706
+ class UpdateDIAlarmRuleRequestTriggerConditions extends $tea.Model {
28707
+ constructor(map) {
28708
+ super(map);
28709
+ }
28710
+ static names() {
28711
+ return {
28712
+ duration: 'Duration',
28713
+ severity: 'Severity',
28714
+ threshold: 'Threshold',
28715
+ };
28716
+ }
28717
+ static types() {
28718
+ return {
28719
+ duration: 'number',
28720
+ severity: 'string',
28721
+ threshold: 'number',
28722
+ };
28723
+ }
28724
+ }
28725
+ exports.UpdateDIAlarmRuleRequestTriggerConditions = UpdateDIAlarmRuleRequestTriggerConditions;
28726
+ class UpdateDIJobRequestJobSettingsColumnDataTypeSettings extends $tea.Model {
28727
+ constructor(map) {
28728
+ super(map);
28729
+ }
28730
+ static names() {
28731
+ return {
28732
+ destinationDataType: 'DestinationDataType',
28733
+ sourceDataType: 'SourceDataType',
28734
+ };
28735
+ }
28736
+ static types() {
28737
+ return {
28738
+ destinationDataType: 'string',
28739
+ sourceDataType: 'string',
28740
+ };
28741
+ }
28742
+ }
28743
+ exports.UpdateDIJobRequestJobSettingsColumnDataTypeSettings = UpdateDIJobRequestJobSettingsColumnDataTypeSettings;
28744
+ class UpdateDIJobRequestJobSettingsDdlHandlingSettings extends $tea.Model {
28745
+ constructor(map) {
28746
+ super(map);
28747
+ }
28748
+ static names() {
28749
+ return {
28750
+ action: 'Action',
28751
+ type: 'Type',
28752
+ };
28753
+ }
28754
+ static types() {
28755
+ return {
28756
+ action: 'string',
28757
+ type: 'string',
28758
+ };
28759
+ }
28760
+ }
28761
+ exports.UpdateDIJobRequestJobSettingsDdlHandlingSettings = UpdateDIJobRequestJobSettingsDdlHandlingSettings;
28762
+ class UpdateDIJobRequestJobSettingsRuntimeSettings extends $tea.Model {
28763
+ constructor(map) {
28764
+ super(map);
28765
+ }
28766
+ static names() {
28767
+ return {
28768
+ name: 'Name',
28769
+ value: 'Value',
28770
+ };
28771
+ }
28772
+ static types() {
28773
+ return {
28774
+ name: 'string',
28775
+ value: 'string',
28776
+ };
28777
+ }
28778
+ }
28779
+ exports.UpdateDIJobRequestJobSettingsRuntimeSettings = UpdateDIJobRequestJobSettingsRuntimeSettings;
28780
+ class UpdateDIJobRequestJobSettings extends $tea.Model {
28781
+ constructor(map) {
28782
+ super(map);
28783
+ }
28784
+ static names() {
28785
+ return {
28786
+ columnDataTypeSettings: 'ColumnDataTypeSettings',
28787
+ ddlHandlingSettings: 'DdlHandlingSettings',
28788
+ runtimeSettings: 'RuntimeSettings',
28789
+ };
28790
+ }
28791
+ static types() {
28792
+ return {
28793
+ columnDataTypeSettings: { 'type': 'array', 'itemType': UpdateDIJobRequestJobSettingsColumnDataTypeSettings },
28794
+ ddlHandlingSettings: { 'type': 'array', 'itemType': UpdateDIJobRequestJobSettingsDdlHandlingSettings },
28795
+ runtimeSettings: { 'type': 'array', 'itemType': UpdateDIJobRequestJobSettingsRuntimeSettings },
28796
+ };
28797
+ }
28798
+ }
28799
+ exports.UpdateDIJobRequestJobSettings = UpdateDIJobRequestJobSettings;
28800
+ class UpdateDIJobRequestResourceSettingsOfflineResourceSettings extends $tea.Model {
28801
+ constructor(map) {
28802
+ super(map);
28803
+ }
28804
+ static names() {
28805
+ return {
28806
+ resourceGroupIdentifier: 'ResourceGroupIdentifier',
28807
+ };
28808
+ }
28809
+ static types() {
28810
+ return {
28811
+ resourceGroupIdentifier: 'string',
28812
+ };
28813
+ }
28814
+ }
28815
+ exports.UpdateDIJobRequestResourceSettingsOfflineResourceSettings = UpdateDIJobRequestResourceSettingsOfflineResourceSettings;
28816
+ class UpdateDIJobRequestResourceSettingsRealtimeResourceSettings extends $tea.Model {
28817
+ constructor(map) {
28818
+ super(map);
28819
+ }
28820
+ static names() {
28821
+ return {
28822
+ resourceGroupIdentifier: 'ResourceGroupIdentifier',
28823
+ };
28824
+ }
28825
+ static types() {
28826
+ return {
28827
+ resourceGroupIdentifier: 'string',
28828
+ };
28829
+ }
28830
+ }
28831
+ exports.UpdateDIJobRequestResourceSettingsRealtimeResourceSettings = UpdateDIJobRequestResourceSettingsRealtimeResourceSettings;
28832
+ class UpdateDIJobRequestResourceSettings extends $tea.Model {
28833
+ constructor(map) {
28834
+ super(map);
28835
+ }
28836
+ static names() {
28837
+ return {
28838
+ offlineResourceSettings: 'OfflineResourceSettings',
28839
+ realtimeResourceSettings: 'RealtimeResourceSettings',
28840
+ };
28841
+ }
28842
+ static types() {
28843
+ return {
28844
+ offlineResourceSettings: UpdateDIJobRequestResourceSettingsOfflineResourceSettings,
28845
+ realtimeResourceSettings: UpdateDIJobRequestResourceSettingsRealtimeResourceSettings,
28846
+ };
28847
+ }
28848
+ }
28849
+ exports.UpdateDIJobRequestResourceSettings = UpdateDIJobRequestResourceSettings;
28850
+ class UpdateDIJobRequestTableMappingsSourceObjectSelectionRules extends $tea.Model {
28851
+ constructor(map) {
28852
+ super(map);
28853
+ }
28854
+ static names() {
28855
+ return {
28856
+ expression: 'Expression',
28857
+ objectType: 'ObjectType',
28858
+ };
28859
+ }
28860
+ static types() {
28861
+ return {
28862
+ expression: 'string',
28863
+ objectType: 'string',
28864
+ };
28865
+ }
28866
+ }
28867
+ exports.UpdateDIJobRequestTableMappingsSourceObjectSelectionRules = UpdateDIJobRequestTableMappingsSourceObjectSelectionRules;
28868
+ class UpdateDIJobRequestTableMappingsTransformationRules extends $tea.Model {
28869
+ constructor(map) {
28870
+ super(map);
28871
+ }
28872
+ static names() {
28873
+ return {
28874
+ ruleActionType: 'RuleActionType',
28875
+ ruleName: 'RuleName',
28876
+ ruleTargetType: 'RuleTargetType',
28877
+ };
28878
+ }
28879
+ static types() {
28880
+ return {
28881
+ ruleActionType: 'string',
28882
+ ruleName: 'string',
28883
+ ruleTargetType: 'string',
28884
+ };
28885
+ }
28886
+ }
28887
+ exports.UpdateDIJobRequestTableMappingsTransformationRules = UpdateDIJobRequestTableMappingsTransformationRules;
28888
+ class UpdateDIJobRequestTableMappings extends $tea.Model {
28889
+ constructor(map) {
28890
+ super(map);
28891
+ }
28892
+ static names() {
28893
+ return {
28894
+ sourceObjectSelectionRules: 'SourceObjectSelectionRules',
28895
+ transformationRules: 'TransformationRules',
28896
+ };
28897
+ }
28898
+ static types() {
28899
+ return {
28900
+ sourceObjectSelectionRules: { 'type': 'array', 'itemType': UpdateDIJobRequestTableMappingsSourceObjectSelectionRules },
28901
+ transformationRules: { 'type': 'array', 'itemType': UpdateDIJobRequestTableMappingsTransformationRules },
28902
+ };
28903
+ }
28904
+ }
28905
+ exports.UpdateDIJobRequestTableMappings = UpdateDIJobRequestTableMappings;
28906
+ class UpdateDIJobRequestTransformationRules extends $tea.Model {
28907
+ constructor(map) {
28908
+ super(map);
28909
+ }
28910
+ static names() {
28911
+ return {
28912
+ ruleActionType: 'RuleActionType',
28913
+ ruleExpression: 'RuleExpression',
28914
+ ruleName: 'RuleName',
28915
+ ruleTargetType: 'RuleTargetType',
28916
+ };
28917
+ }
28918
+ static types() {
28919
+ return {
28920
+ ruleActionType: 'string',
28921
+ ruleExpression: 'string',
28922
+ ruleName: 'string',
28923
+ ruleTargetType: 'string',
28924
+ };
28925
+ }
28926
+ }
28927
+ exports.UpdateDIJobRequestTransformationRules = UpdateDIJobRequestTransformationRules;
26868
28928
  class UpdateDIProjectConfigResponseBodyData extends $tea.Model {
26869
28929
  constructor(map) {
26870
28930
  super(map);
@@ -27551,6 +29611,139 @@ class Client extends openapi_client_1.default {
27551
29611
  let runtime = new $Util.RuntimeOptions({});
27552
29612
  return await this.createConnectionWithOptions(request, runtime);
27553
29613
  }
29614
+ async createDIAlarmRuleWithOptions(tmpReq, runtime) {
29615
+ tea_util_1.default.validateModel(tmpReq);
29616
+ let request = new CreateDIAlarmRuleShrinkRequest({});
29617
+ openapi_util_1.default.convert(tmpReq, request);
29618
+ if (!tea_util_1.default.isUnset(tmpReq.notificationSettings)) {
29619
+ request.notificationSettingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.notificationSettings, "NotificationSettings", "json");
29620
+ }
29621
+ if (!tea_util_1.default.isUnset(tmpReq.triggerConditions)) {
29622
+ request.triggerConditionsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.triggerConditions, "TriggerConditions", "json");
29623
+ }
29624
+ let body = {};
29625
+ if (!tea_util_1.default.isUnset(request.DIJobId)) {
29626
+ body["DIJobId"] = request.DIJobId;
29627
+ }
29628
+ if (!tea_util_1.default.isUnset(request.description)) {
29629
+ body["Description"] = request.description;
29630
+ }
29631
+ if (!tea_util_1.default.isUnset(request.enabled)) {
29632
+ body["Enabled"] = request.enabled;
29633
+ }
29634
+ if (!tea_util_1.default.isUnset(request.metricType)) {
29635
+ body["MetricType"] = request.metricType;
29636
+ }
29637
+ if (!tea_util_1.default.isUnset(request.notificationSettingsShrink)) {
29638
+ body["NotificationSettings"] = request.notificationSettingsShrink;
29639
+ }
29640
+ if (!tea_util_1.default.isUnset(request.triggerConditionsShrink)) {
29641
+ body["TriggerConditions"] = request.triggerConditionsShrink;
29642
+ }
29643
+ let req = new $OpenApi.OpenApiRequest({
29644
+ body: openapi_util_1.default.parseToMap(body),
29645
+ });
29646
+ let params = new $OpenApi.Params({
29647
+ action: "CreateDIAlarmRule",
29648
+ version: "2020-05-18",
29649
+ protocol: "HTTPS",
29650
+ pathname: "/",
29651
+ method: "POST",
29652
+ authType: "AK",
29653
+ style: "RPC",
29654
+ reqBodyType: "formData",
29655
+ bodyType: "json",
29656
+ });
29657
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateDIAlarmRuleResponse({}));
29658
+ }
29659
+ async createDIAlarmRule(request) {
29660
+ let runtime = new $Util.RuntimeOptions({});
29661
+ return await this.createDIAlarmRuleWithOptions(request, runtime);
29662
+ }
29663
+ async createDIJobWithOptions(tmpReq, runtime) {
29664
+ tea_util_1.default.validateModel(tmpReq);
29665
+ let request = new CreateDIJobShrinkRequest({});
29666
+ openapi_util_1.default.convert(tmpReq, request);
29667
+ if (!tea_util_1.default.isUnset(tmpReq.destinationDataSourceSettings)) {
29668
+ request.destinationDataSourceSettingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.destinationDataSourceSettings, "DestinationDataSourceSettings", "json");
29669
+ }
29670
+ if (!tea_util_1.default.isUnset(tmpReq.jobSettings)) {
29671
+ request.jobSettingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.jobSettings, "JobSettings", "json");
29672
+ }
29673
+ if (!tea_util_1.default.isUnset(tmpReq.resourceSettings)) {
29674
+ request.resourceSettingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.resourceSettings, "ResourceSettings", "json");
29675
+ }
29676
+ if (!tea_util_1.default.isUnset(tmpReq.sourceDataSourceSettings)) {
29677
+ request.sourceDataSourceSettingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.sourceDataSourceSettings, "SourceDataSourceSettings", "json");
29678
+ }
29679
+ if (!tea_util_1.default.isUnset(tmpReq.tableMappings)) {
29680
+ request.tableMappingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tableMappings, "TableMappings", "json");
29681
+ }
29682
+ if (!tea_util_1.default.isUnset(tmpReq.transformationRules)) {
29683
+ request.transformationRulesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.transformationRules, "TransformationRules", "json");
29684
+ }
29685
+ let query = {};
29686
+ if (!tea_util_1.default.isUnset(request.systemDebug)) {
29687
+ query["SystemDebug"] = request.systemDebug;
29688
+ }
29689
+ let body = {};
29690
+ if (!tea_util_1.default.isUnset(request.description)) {
29691
+ body["Description"] = request.description;
29692
+ }
29693
+ if (!tea_util_1.default.isUnset(request.destinationDataSourceSettingsShrink)) {
29694
+ body["DestinationDataSourceSettings"] = request.destinationDataSourceSettingsShrink;
29695
+ }
29696
+ if (!tea_util_1.default.isUnset(request.destinationDataSourceType)) {
29697
+ body["DestinationDataSourceType"] = request.destinationDataSourceType;
29698
+ }
29699
+ if (!tea_util_1.default.isUnset(request.jobName)) {
29700
+ body["JobName"] = request.jobName;
29701
+ }
29702
+ if (!tea_util_1.default.isUnset(request.jobSettingsShrink)) {
29703
+ body["JobSettings"] = request.jobSettingsShrink;
29704
+ }
29705
+ if (!tea_util_1.default.isUnset(request.migrationType)) {
29706
+ body["MigrationType"] = request.migrationType;
29707
+ }
29708
+ if (!tea_util_1.default.isUnset(request.projectId)) {
29709
+ body["ProjectId"] = request.projectId;
29710
+ }
29711
+ if (!tea_util_1.default.isUnset(request.resourceSettingsShrink)) {
29712
+ body["ResourceSettings"] = request.resourceSettingsShrink;
29713
+ }
29714
+ if (!tea_util_1.default.isUnset(request.sourceDataSourceSettingsShrink)) {
29715
+ body["SourceDataSourceSettings"] = request.sourceDataSourceSettingsShrink;
29716
+ }
29717
+ if (!tea_util_1.default.isUnset(request.sourceDataSourceType)) {
29718
+ body["SourceDataSourceType"] = request.sourceDataSourceType;
29719
+ }
29720
+ if (!tea_util_1.default.isUnset(request.tableMappingsShrink)) {
29721
+ body["TableMappings"] = request.tableMappingsShrink;
29722
+ }
29723
+ if (!tea_util_1.default.isUnset(request.transformationRulesShrink)) {
29724
+ body["TransformationRules"] = request.transformationRulesShrink;
29725
+ }
29726
+ let req = new $OpenApi.OpenApiRequest({
29727
+ query: openapi_util_1.default.query(query),
29728
+ body: openapi_util_1.default.parseToMap(body),
29729
+ });
29730
+ let params = new $OpenApi.Params({
29731
+ action: "CreateDIJob",
29732
+ version: "2020-05-18",
29733
+ protocol: "HTTPS",
29734
+ pathname: "/",
29735
+ method: "POST",
29736
+ authType: "AK",
29737
+ style: "RPC",
29738
+ reqBodyType: "formData",
29739
+ bodyType: "json",
29740
+ });
29741
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateDIJobResponse({}));
29742
+ }
29743
+ async createDIJob(request) {
29744
+ let runtime = new $Util.RuntimeOptions({});
29745
+ return await this.createDIJobWithOptions(request, runtime);
29746
+ }
27554
29747
  /**
27555
29748
  * DataWorks allows you to use only the CreateDISyncTask operation to create a batch synchronization node in Data Integration. To create a real-time synchronization node or a synchronization solution, you must first call the [GenerateDISyncTaskConfigForCreating](~~383463~~) operation to generate the ID of an asynchronous thread and call the [QueryDISyncTaskConfigProcessResult](~~383465~~) operation to obtain the asynchronously generated parameters based on the ID. Then, you can call the CreateDISyncTask operation and use the parameters as request parameters to create a real-time synchronization node or a synchronization solution in Data Integration.
27556
29749
  *
@@ -29268,6 +31461,58 @@ class Client extends openapi_client_1.default {
29268
31461
  let runtime = new $Util.RuntimeOptions({});
29269
31462
  return await this.deleteConnectionWithOptions(request, runtime);
29270
31463
  }
31464
+ async deleteDIAlarmRuleWithOptions(request, runtime) {
31465
+ tea_util_1.default.validateModel(request);
31466
+ let body = {};
31467
+ if (!tea_util_1.default.isUnset(request.DIAlarmRuleId)) {
31468
+ body["DIAlarmRuleId"] = request.DIAlarmRuleId;
31469
+ }
31470
+ let req = new $OpenApi.OpenApiRequest({
31471
+ body: openapi_util_1.default.parseToMap(body),
31472
+ });
31473
+ let params = new $OpenApi.Params({
31474
+ action: "DeleteDIAlarmRule",
31475
+ version: "2020-05-18",
31476
+ protocol: "HTTPS",
31477
+ pathname: "/",
31478
+ method: "POST",
31479
+ authType: "AK",
31480
+ style: "RPC",
31481
+ reqBodyType: "formData",
31482
+ bodyType: "json",
31483
+ });
31484
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteDIAlarmRuleResponse({}));
31485
+ }
31486
+ async deleteDIAlarmRule(request) {
31487
+ let runtime = new $Util.RuntimeOptions({});
31488
+ return await this.deleteDIAlarmRuleWithOptions(request, runtime);
31489
+ }
31490
+ async deleteDIJobWithOptions(request, runtime) {
31491
+ tea_util_1.default.validateModel(request);
31492
+ let body = {};
31493
+ if (!tea_util_1.default.isUnset(request.DIJobId)) {
31494
+ body["DIJobId"] = request.DIJobId;
31495
+ }
31496
+ let req = new $OpenApi.OpenApiRequest({
31497
+ body: openapi_util_1.default.parseToMap(body),
31498
+ });
31499
+ let params = new $OpenApi.Params({
31500
+ action: "DeleteDIJob",
31501
+ version: "2020-05-18",
31502
+ protocol: "HTTPS",
31503
+ pathname: "/",
31504
+ method: "POST",
31505
+ authType: "AK",
31506
+ style: "RPC",
31507
+ reqBodyType: "formData",
31508
+ bodyType: "json",
31509
+ });
31510
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteDIJobResponse({}));
31511
+ }
31512
+ async deleteDIJob(request) {
31513
+ let runtime = new $Util.RuntimeOptions({});
31514
+ return await this.deleteDIJobWithOptions(request, runtime);
31515
+ }
29271
31516
  async deleteDISyncTaskWithOptions(request, runtime) {
29272
31517
  tea_util_1.default.validateModel(request);
29273
31518
  let query = {};
@@ -30333,6 +32578,61 @@ class Client extends openapi_client_1.default {
30333
32578
  let runtime = new $Util.RuntimeOptions({});
30334
32579
  return await this.getDDLJobStatusWithOptions(request, runtime);
30335
32580
  }
32581
+ async getDIAlarmRuleWithOptions(request, runtime) {
32582
+ tea_util_1.default.validateModel(request);
32583
+ let body = {};
32584
+ if (!tea_util_1.default.isUnset(request.DIAlarmRuleId)) {
32585
+ body["DIAlarmRuleId"] = request.DIAlarmRuleId;
32586
+ }
32587
+ let req = new $OpenApi.OpenApiRequest({
32588
+ body: openapi_util_1.default.parseToMap(body),
32589
+ });
32590
+ let params = new $OpenApi.Params({
32591
+ action: "GetDIAlarmRule",
32592
+ version: "2020-05-18",
32593
+ protocol: "HTTPS",
32594
+ pathname: "/",
32595
+ method: "POST",
32596
+ authType: "AK",
32597
+ style: "RPC",
32598
+ reqBodyType: "formData",
32599
+ bodyType: "json",
32600
+ });
32601
+ return $tea.cast(await this.callApi(params, req, runtime), new GetDIAlarmRuleResponse({}));
32602
+ }
32603
+ async getDIAlarmRule(request) {
32604
+ let runtime = new $Util.RuntimeOptions({});
32605
+ return await this.getDIAlarmRuleWithOptions(request, runtime);
32606
+ }
32607
+ async getDIJobWithOptions(request, runtime) {
32608
+ tea_util_1.default.validateModel(request);
32609
+ let body = {};
32610
+ if (!tea_util_1.default.isUnset(request.DIJobId)) {
32611
+ body["DIJobId"] = request.DIJobId;
32612
+ }
32613
+ if (!tea_util_1.default.isUnset(request.withDetails)) {
32614
+ body["WithDetails"] = request.withDetails;
32615
+ }
32616
+ let req = new $OpenApi.OpenApiRequest({
32617
+ body: openapi_util_1.default.parseToMap(body),
32618
+ });
32619
+ let params = new $OpenApi.Params({
32620
+ action: "GetDIJob",
32621
+ version: "2020-05-18",
32622
+ protocol: "HTTPS",
32623
+ pathname: "/",
32624
+ method: "POST",
32625
+ authType: "AK",
32626
+ style: "RPC",
32627
+ reqBodyType: "formData",
32628
+ bodyType: "json",
32629
+ });
32630
+ return $tea.cast(await this.callApi(params, req, runtime), new GetDIJobResponse({}));
32631
+ }
32632
+ async getDIJob(request) {
32633
+ let runtime = new $Util.RuntimeOptions({});
32634
+ return await this.getDIJobWithOptions(request, runtime);
32635
+ }
30336
32636
  async getDISyncInstanceInfoWithOptions(request, runtime) {
30337
32637
  tea_util_1.default.validateModel(request);
30338
32638
  let query = {};
@@ -32878,6 +35178,79 @@ class Client extends openapi_client_1.default {
32878
35178
  let runtime = new $Util.RuntimeOptions({});
32879
35179
  return await this.listConnectionsWithOptions(request, runtime);
32880
35180
  }
35181
+ async listDIAlarmRulesWithOptions(request, runtime) {
35182
+ tea_util_1.default.validateModel(request);
35183
+ let body = {};
35184
+ if (!tea_util_1.default.isUnset(request.DIJobId)) {
35185
+ body["DIJobId"] = request.DIJobId;
35186
+ }
35187
+ if (!tea_util_1.default.isUnset(request.pageNumber)) {
35188
+ body["PageNumber"] = request.pageNumber;
35189
+ }
35190
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
35191
+ body["PageSize"] = request.pageSize;
35192
+ }
35193
+ let req = new $OpenApi.OpenApiRequest({
35194
+ body: openapi_util_1.default.parseToMap(body),
35195
+ });
35196
+ let params = new $OpenApi.Params({
35197
+ action: "ListDIAlarmRules",
35198
+ version: "2020-05-18",
35199
+ protocol: "HTTPS",
35200
+ pathname: "/",
35201
+ method: "POST",
35202
+ authType: "AK",
35203
+ style: "RPC",
35204
+ reqBodyType: "formData",
35205
+ bodyType: "json",
35206
+ });
35207
+ return $tea.cast(await this.callApi(params, req, runtime), new ListDIAlarmRulesResponse({}));
35208
+ }
35209
+ async listDIAlarmRules(request) {
35210
+ let runtime = new $Util.RuntimeOptions({});
35211
+ return await this.listDIAlarmRulesWithOptions(request, runtime);
35212
+ }
35213
+ async listDIJobsWithOptions(request, runtime) {
35214
+ tea_util_1.default.validateModel(request);
35215
+ let body = {};
35216
+ if (!tea_util_1.default.isUnset(request.destinationDataSourceType)) {
35217
+ body["DestinationDataSourceType"] = request.destinationDataSourceType;
35218
+ }
35219
+ if (!tea_util_1.default.isUnset(request.jobName)) {
35220
+ body["JobName"] = request.jobName;
35221
+ }
35222
+ if (!tea_util_1.default.isUnset(request.pageNumber)) {
35223
+ body["PageNumber"] = request.pageNumber;
35224
+ }
35225
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
35226
+ body["PageSize"] = request.pageSize;
35227
+ }
35228
+ if (!tea_util_1.default.isUnset(request.projectId)) {
35229
+ body["ProjectId"] = request.projectId;
35230
+ }
35231
+ if (!tea_util_1.default.isUnset(request.sourceDataSourceType)) {
35232
+ body["SourceDataSourceType"] = request.sourceDataSourceType;
35233
+ }
35234
+ let req = new $OpenApi.OpenApiRequest({
35235
+ body: openapi_util_1.default.parseToMap(body),
35236
+ });
35237
+ let params = new $OpenApi.Params({
35238
+ action: "ListDIJobs",
35239
+ version: "2020-05-18",
35240
+ protocol: "HTTPS",
35241
+ pathname: "/",
35242
+ method: "POST",
35243
+ authType: "AK",
35244
+ style: "RPC",
35245
+ reqBodyType: "formData",
35246
+ bodyType: "json",
35247
+ });
35248
+ return $tea.cast(await this.callApi(params, req, runtime), new ListDIJobsResponse({}));
35249
+ }
35250
+ async listDIJobs(request) {
35251
+ let runtime = new $Util.RuntimeOptions({});
35252
+ return await this.listDIJobsWithOptions(request, runtime);
35253
+ }
32881
35254
  /**
32882
35255
  * DataWorks allows you to set the default global configuration for only the processing rules of DDL messages in sync solutions. After you configure the **processing rules of DDL messages** in sync solutions, the configuration is set as the default global configuration and applies to all real-time sync nodes. You can also modify the **processing rules of DDL messages** based on your business requirements. For more information, see [Sync solutions](~~199008~~).
32883
35256
  *
@@ -35812,6 +38185,43 @@ class Client extends openapi_client_1.default {
35812
38185
  let runtime = new $Util.RuntimeOptions({});
35813
38186
  return await this.setSuccessInstanceWithOptions(request, runtime);
35814
38187
  }
38188
+ async startDIJobWithOptions(tmpReq, runtime) {
38189
+ tea_util_1.default.validateModel(tmpReq);
38190
+ let request = new StartDIJobShrinkRequest({});
38191
+ openapi_util_1.default.convert(tmpReq, request);
38192
+ if (!tea_util_1.default.isUnset(tmpReq.realtimeStartSettings)) {
38193
+ request.realtimeStartSettingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.realtimeStartSettings, "RealtimeStartSettings", "json");
38194
+ }
38195
+ let body = {};
38196
+ if (!tea_util_1.default.isUnset(request.DIJobId)) {
38197
+ body["DIJobId"] = request.DIJobId;
38198
+ }
38199
+ if (!tea_util_1.default.isUnset(request.forceToRerun)) {
38200
+ body["ForceToRerun"] = request.forceToRerun;
38201
+ }
38202
+ if (!tea_util_1.default.isUnset(request.realtimeStartSettingsShrink)) {
38203
+ body["RealtimeStartSettings"] = request.realtimeStartSettingsShrink;
38204
+ }
38205
+ let req = new $OpenApi.OpenApiRequest({
38206
+ body: openapi_util_1.default.parseToMap(body),
38207
+ });
38208
+ let params = new $OpenApi.Params({
38209
+ action: "StartDIJob",
38210
+ version: "2020-05-18",
38211
+ protocol: "HTTPS",
38212
+ pathname: "/",
38213
+ method: "POST",
38214
+ authType: "AK",
38215
+ style: "RPC",
38216
+ reqBodyType: "formData",
38217
+ bodyType: "json",
38218
+ });
38219
+ return $tea.cast(await this.callApi(params, req, runtime), new StartDIJobResponse({}));
38220
+ }
38221
+ async startDIJob(request) {
38222
+ let runtime = new $Util.RuntimeOptions({});
38223
+ return await this.startDIJobWithOptions(request, runtime);
38224
+ }
35815
38225
  async startDISyncInstanceWithOptions(request, runtime) {
35816
38226
  tea_util_1.default.validateModel(request);
35817
38227
  let query = {};
@@ -35876,6 +38286,32 @@ class Client extends openapi_client_1.default {
35876
38286
  let runtime = new $Util.RuntimeOptions({});
35877
38287
  return await this.startMigrationWithOptions(request, runtime);
35878
38288
  }
38289
+ async stopDIJobWithOptions(request, runtime) {
38290
+ tea_util_1.default.validateModel(request);
38291
+ let body = {};
38292
+ if (!tea_util_1.default.isUnset(request.DIJobId)) {
38293
+ body["DIJobId"] = request.DIJobId;
38294
+ }
38295
+ let req = new $OpenApi.OpenApiRequest({
38296
+ body: openapi_util_1.default.parseToMap(body),
38297
+ });
38298
+ let params = new $OpenApi.Params({
38299
+ action: "StopDIJob",
38300
+ version: "2020-05-18",
38301
+ protocol: "HTTPS",
38302
+ pathname: "/",
38303
+ method: "POST",
38304
+ authType: "AK",
38305
+ style: "RPC",
38306
+ reqBodyType: "formData",
38307
+ bodyType: "json",
38308
+ });
38309
+ return $tea.cast(await this.callApi(params, req, runtime), new StopDIJobResponse({}));
38310
+ }
38311
+ async stopDIJob(request) {
38312
+ let runtime = new $Util.RuntimeOptions({});
38313
+ return await this.stopDIJobWithOptions(request, runtime);
38314
+ }
35879
38315
  async stopDISyncInstanceWithOptions(request, runtime) {
35880
38316
  tea_util_1.default.validateModel(request);
35881
38317
  let query = {};
@@ -36394,6 +38830,110 @@ class Client extends openapi_client_1.default {
36394
38830
  let runtime = new $Util.RuntimeOptions({});
36395
38831
  return await this.updateConnectionWithOptions(request, runtime);
36396
38832
  }
38833
+ async updateDIAlarmRuleWithOptions(tmpReq, runtime) {
38834
+ tea_util_1.default.validateModel(tmpReq);
38835
+ let request = new UpdateDIAlarmRuleShrinkRequest({});
38836
+ openapi_util_1.default.convert(tmpReq, request);
38837
+ if (!tea_util_1.default.isUnset(tmpReq.notificationSettings)) {
38838
+ request.notificationSettingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.notificationSettings, "NotificationSettings", "json");
38839
+ }
38840
+ if (!tea_util_1.default.isUnset(tmpReq.triggerConditions)) {
38841
+ request.triggerConditionsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.triggerConditions, "TriggerConditions", "json");
38842
+ }
38843
+ let body = {};
38844
+ if (!tea_util_1.default.isUnset(request.DIAlarmRuleId)) {
38845
+ body["DIAlarmRuleId"] = request.DIAlarmRuleId;
38846
+ }
38847
+ if (!tea_util_1.default.isUnset(request.description)) {
38848
+ body["Description"] = request.description;
38849
+ }
38850
+ if (!tea_util_1.default.isUnset(request.enabled)) {
38851
+ body["Enabled"] = request.enabled;
38852
+ }
38853
+ if (!tea_util_1.default.isUnset(request.metricType)) {
38854
+ body["MetricType"] = request.metricType;
38855
+ }
38856
+ if (!tea_util_1.default.isUnset(request.notificationSettingsShrink)) {
38857
+ body["NotificationSettings"] = request.notificationSettingsShrink;
38858
+ }
38859
+ if (!tea_util_1.default.isUnset(request.triggerConditionsShrink)) {
38860
+ body["TriggerConditions"] = request.triggerConditionsShrink;
38861
+ }
38862
+ let req = new $OpenApi.OpenApiRequest({
38863
+ body: openapi_util_1.default.parseToMap(body),
38864
+ });
38865
+ let params = new $OpenApi.Params({
38866
+ action: "UpdateDIAlarmRule",
38867
+ version: "2020-05-18",
38868
+ protocol: "HTTPS",
38869
+ pathname: "/",
38870
+ method: "POST",
38871
+ authType: "AK",
38872
+ style: "RPC",
38873
+ reqBodyType: "formData",
38874
+ bodyType: "json",
38875
+ });
38876
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateDIAlarmRuleResponse({}));
38877
+ }
38878
+ async updateDIAlarmRule(request) {
38879
+ let runtime = new $Util.RuntimeOptions({});
38880
+ return await this.updateDIAlarmRuleWithOptions(request, runtime);
38881
+ }
38882
+ async updateDIJobWithOptions(tmpReq, runtime) {
38883
+ tea_util_1.default.validateModel(tmpReq);
38884
+ let request = new UpdateDIJobShrinkRequest({});
38885
+ openapi_util_1.default.convert(tmpReq, request);
38886
+ if (!tea_util_1.default.isUnset(tmpReq.jobSettings)) {
38887
+ request.jobSettingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.jobSettings, "JobSettings", "json");
38888
+ }
38889
+ if (!tea_util_1.default.isUnset(tmpReq.resourceSettings)) {
38890
+ request.resourceSettingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.resourceSettings, "ResourceSettings", "json");
38891
+ }
38892
+ if (!tea_util_1.default.isUnset(tmpReq.tableMappings)) {
38893
+ request.tableMappingsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tableMappings, "TableMappings", "json");
38894
+ }
38895
+ if (!tea_util_1.default.isUnset(tmpReq.transformationRules)) {
38896
+ request.transformationRulesShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.transformationRules, "TransformationRules", "json");
38897
+ }
38898
+ let body = {};
38899
+ if (!tea_util_1.default.isUnset(request.DIJobId)) {
38900
+ body["DIJobId"] = request.DIJobId;
38901
+ }
38902
+ if (!tea_util_1.default.isUnset(request.description)) {
38903
+ body["Description"] = request.description;
38904
+ }
38905
+ if (!tea_util_1.default.isUnset(request.jobSettingsShrink)) {
38906
+ body["JobSettings"] = request.jobSettingsShrink;
38907
+ }
38908
+ if (!tea_util_1.default.isUnset(request.resourceSettingsShrink)) {
38909
+ body["ResourceSettings"] = request.resourceSettingsShrink;
38910
+ }
38911
+ if (!tea_util_1.default.isUnset(request.tableMappingsShrink)) {
38912
+ body["TableMappings"] = request.tableMappingsShrink;
38913
+ }
38914
+ if (!tea_util_1.default.isUnset(request.transformationRulesShrink)) {
38915
+ body["TransformationRules"] = request.transformationRulesShrink;
38916
+ }
38917
+ let req = new $OpenApi.OpenApiRequest({
38918
+ body: openapi_util_1.default.parseToMap(body),
38919
+ });
38920
+ let params = new $OpenApi.Params({
38921
+ action: "UpdateDIJob",
38922
+ version: "2020-05-18",
38923
+ protocol: "HTTPS",
38924
+ pathname: "/",
38925
+ method: "POST",
38926
+ authType: "AK",
38927
+ style: "RPC",
38928
+ reqBodyType: "formData",
38929
+ bodyType: "json",
38930
+ });
38931
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateDIJobResponse({}));
38932
+ }
38933
+ async updateDIJob(request) {
38934
+ let runtime = new $Util.RuntimeOptions({});
38935
+ return await this.updateDIJobWithOptions(request, runtime);
38936
+ }
36397
38937
  /**
36398
38938
  * The operation that you want to perform. Set the value to **UpdateDIProjectConfig**.
36399
38939
  *