@alicloud/dms-enterprise20181101 1.30.0 → 1.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -2586,6 +2586,50 @@ export declare class DeleteScenarioResponse extends $tea.Model {
2586
2586
  [key: string]: any;
2587
2587
  });
2588
2588
  }
2589
+ export declare class DeleteStandardGroupRequest extends $tea.Model {
2590
+ groupId?: number;
2591
+ tid?: number;
2592
+ static names(): {
2593
+ [key: string]: string;
2594
+ };
2595
+ static types(): {
2596
+ [key: string]: any;
2597
+ };
2598
+ constructor(map?: {
2599
+ [key: string]: any;
2600
+ });
2601
+ }
2602
+ export declare class DeleteStandardGroupResponseBody extends $tea.Model {
2603
+ errorCode?: string;
2604
+ errorMessage?: string;
2605
+ requestId?: string;
2606
+ success?: boolean;
2607
+ static names(): {
2608
+ [key: string]: string;
2609
+ };
2610
+ static types(): {
2611
+ [key: string]: any;
2612
+ };
2613
+ constructor(map?: {
2614
+ [key: string]: any;
2615
+ });
2616
+ }
2617
+ export declare class DeleteStandardGroupResponse extends $tea.Model {
2618
+ headers: {
2619
+ [key: string]: string;
2620
+ };
2621
+ statusCode: number;
2622
+ body: DeleteStandardGroupResponseBody;
2623
+ static names(): {
2624
+ [key: string]: string;
2625
+ };
2626
+ static types(): {
2627
+ [key: string]: any;
2628
+ };
2629
+ constructor(map?: {
2630
+ [key: string]: any;
2631
+ });
2632
+ }
2589
2633
  export declare class DeleteTaskRequest extends $tea.Model {
2590
2634
  nodeId?: string;
2591
2635
  tid?: number;
@@ -5230,6 +5274,51 @@ export declare class GetSQLReviewOptimizeDetailResponse extends $tea.Model {
5230
5274
  [key: string]: any;
5231
5275
  });
5232
5276
  }
5277
+ export declare class GetStandardGroupRequest extends $tea.Model {
5278
+ groupId?: number;
5279
+ tid?: number;
5280
+ static names(): {
5281
+ [key: string]: string;
5282
+ };
5283
+ static types(): {
5284
+ [key: string]: any;
5285
+ };
5286
+ constructor(map?: {
5287
+ [key: string]: any;
5288
+ });
5289
+ }
5290
+ export declare class GetStandardGroupResponseBody extends $tea.Model {
5291
+ errorCode?: string;
5292
+ errorMessage?: string;
5293
+ requestId?: string;
5294
+ standardGroup?: GetStandardGroupResponseBodyStandardGroup;
5295
+ success?: boolean;
5296
+ static names(): {
5297
+ [key: string]: string;
5298
+ };
5299
+ static types(): {
5300
+ [key: string]: any;
5301
+ };
5302
+ constructor(map?: {
5303
+ [key: string]: any;
5304
+ });
5305
+ }
5306
+ export declare class GetStandardGroupResponse extends $tea.Model {
5307
+ headers: {
5308
+ [key: string]: string;
5309
+ };
5310
+ statusCode: number;
5311
+ body: GetStandardGroupResponseBody;
5312
+ static names(): {
5313
+ [key: string]: string;
5314
+ };
5315
+ static types(): {
5316
+ [key: string]: any;
5317
+ };
5318
+ constructor(map?: {
5319
+ [key: string]: any;
5320
+ });
5321
+ }
5233
5322
  export declare class GetStructSyncExecSqlDetailRequest extends $tea.Model {
5234
5323
  orderId?: number;
5235
5324
  pageNumber?: number;
@@ -10089,6 +10178,53 @@ export declare class UpdateScenarioResponse extends $tea.Model {
10089
10178
  [key: string]: any;
10090
10179
  });
10091
10180
  }
10181
+ export declare class UpdateStandardGroupRequest extends $tea.Model {
10182
+ description?: string;
10183
+ groupId?: number;
10184
+ groupName?: string;
10185
+ tid?: number;
10186
+ static names(): {
10187
+ [key: string]: string;
10188
+ };
10189
+ static types(): {
10190
+ [key: string]: any;
10191
+ };
10192
+ constructor(map?: {
10193
+ [key: string]: any;
10194
+ });
10195
+ }
10196
+ export declare class UpdateStandardGroupResponseBody extends $tea.Model {
10197
+ errorCode?: string;
10198
+ errorMessage?: string;
10199
+ requestId?: string;
10200
+ standardGroup?: UpdateStandardGroupResponseBodyStandardGroup;
10201
+ success?: boolean;
10202
+ static names(): {
10203
+ [key: string]: string;
10204
+ };
10205
+ static types(): {
10206
+ [key: string]: any;
10207
+ };
10208
+ constructor(map?: {
10209
+ [key: string]: any;
10210
+ });
10211
+ }
10212
+ export declare class UpdateStandardGroupResponse extends $tea.Model {
10213
+ headers: {
10214
+ [key: string]: string;
10215
+ };
10216
+ statusCode: number;
10217
+ body: UpdateStandardGroupResponseBody;
10218
+ static names(): {
10219
+ [key: string]: string;
10220
+ };
10221
+ static types(): {
10222
+ [key: string]: any;
10223
+ };
10224
+ constructor(map?: {
10225
+ [key: string]: any;
10226
+ });
10227
+ }
10092
10228
  export declare class UpdateTaskConfigRequest extends $tea.Model {
10093
10229
  nodeConfig?: string;
10094
10230
  nodeId?: string;
@@ -11297,6 +11433,7 @@ export declare class CreateProcCorrectOrderRequestParamDbItemList extends $tea.M
11297
11433
  export declare class CreateProcCorrectOrderRequestParam extends $tea.Model {
11298
11434
  classify?: string;
11299
11435
  dbItemList?: CreateProcCorrectOrderRequestParamDbItemList[];
11436
+ execMode?: string;
11300
11437
  execSQL?: string;
11301
11438
  rollbackAttachmentName?: string;
11302
11439
  rollbackSQL?: string;
@@ -11328,6 +11465,7 @@ export declare class CreateSQLReviewOrderRequestParam extends $tea.Model {
11328
11465
  export declare class CreateStandardGroupResponseBodyStandardGroup extends $tea.Model {
11329
11466
  dbType?: string;
11330
11467
  description?: string;
11468
+ groupId?: number;
11331
11469
  groupMode?: string;
11332
11470
  groupName?: string;
11333
11471
  lastMenderId?: number;
@@ -13079,6 +13217,23 @@ export declare class GetSQLReviewOptimizeDetailResponseBodyOptimizeDetail extend
13079
13217
  [key: string]: any;
13080
13218
  });
13081
13219
  }
13220
+ export declare class GetStandardGroupResponseBodyStandardGroup extends $tea.Model {
13221
+ dbType?: string;
13222
+ description?: string;
13223
+ groupId?: number;
13224
+ groupMode?: string;
13225
+ groupName?: string;
13226
+ lastMenderId?: number;
13227
+ static names(): {
13228
+ [key: string]: string;
13229
+ };
13230
+ static types(): {
13231
+ [key: string]: any;
13232
+ };
13233
+ constructor(map?: {
13234
+ [key: string]: any;
13235
+ });
13236
+ }
13082
13237
  export declare class GetStructSyncExecSqlDetailResponseBodyStructSyncExecSqlDetail extends $tea.Model {
13083
13238
  execSql?: string;
13084
13239
  totalSqlCount?: number;
@@ -15771,6 +15926,23 @@ export declare class UpdateSLARulesRequestSlaRuleList extends $tea.Model {
15771
15926
  [key: string]: any;
15772
15927
  });
15773
15928
  }
15929
+ export declare class UpdateStandardGroupResponseBodyStandardGroup extends $tea.Model {
15930
+ dbType?: string;
15931
+ description?: string;
15932
+ groupId?: number;
15933
+ groupMode?: string;
15934
+ groupName?: string;
15935
+ lastMenderId?: number;
15936
+ static names(): {
15937
+ [key: string]: string;
15938
+ };
15939
+ static types(): {
15940
+ [key: string]: any;
15941
+ };
15942
+ constructor(map?: {
15943
+ [key: string]: any;
15944
+ });
15945
+ }
15774
15946
  export declare class UpdateTaskFlowConstantsRequestDagConstants extends $tea.Model {
15775
15947
  key?: string;
15776
15948
  value?: string;
@@ -16209,6 +16381,8 @@ export default class Client extends OpenApi {
16209
16381
  * @return DeleteScenarioResponse
16210
16382
  */
16211
16383
  deleteScenario(request: DeleteScenarioRequest): Promise<DeleteScenarioResponse>;
16384
+ deleteStandardGroupWithOptions(request: DeleteStandardGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteStandardGroupResponse>;
16385
+ deleteStandardGroup(request: DeleteStandardGroupRequest): Promise<DeleteStandardGroupResponse>;
16212
16386
  deleteTaskWithOptions(request: DeleteTaskRequest, runtime: $Util.RuntimeOptions): Promise<DeleteTaskResponse>;
16213
16387
  deleteTask(request: DeleteTaskRequest): Promise<DeleteTaskResponse>;
16214
16388
  deleteTaskFlowWithOptions(request: DeleteTaskFlowRequest, runtime: $Util.RuntimeOptions): Promise<DeleteTaskFlowResponse>;
@@ -16563,6 +16737,8 @@ export default class Client extends OpenApi {
16563
16737
  * @return GetSQLReviewOptimizeDetailResponse
16564
16738
  */
16565
16739
  getSQLReviewOptimizeDetail(request: GetSQLReviewOptimizeDetailRequest): Promise<GetSQLReviewOptimizeDetailResponse>;
16740
+ getStandardGroupWithOptions(request: GetStandardGroupRequest, runtime: $Util.RuntimeOptions): Promise<GetStandardGroupResponse>;
16741
+ getStandardGroup(request: GetStandardGroupRequest): Promise<GetStandardGroupResponse>;
16566
16742
  getStructSyncExecSqlDetailWithOptions(request: GetStructSyncExecSqlDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetStructSyncExecSqlDetailResponse>;
16567
16743
  getStructSyncExecSqlDetail(request: GetStructSyncExecSqlDetailRequest): Promise<GetStructSyncExecSqlDetailResponse>;
16568
16744
  getStructSyncJobAnalyzeResultWithOptions(request: GetStructSyncJobAnalyzeResultRequest, runtime: $Util.RuntimeOptions): Promise<GetStructSyncJobAnalyzeResultResponse>;
@@ -17014,6 +17190,8 @@ export default class Client extends OpenApi {
17014
17190
  updateSLARules(request: UpdateSLARulesRequest): Promise<UpdateSLARulesResponse>;
17015
17191
  updateScenarioWithOptions(request: UpdateScenarioRequest, runtime: $Util.RuntimeOptions): Promise<UpdateScenarioResponse>;
17016
17192
  updateScenario(request: UpdateScenarioRequest): Promise<UpdateScenarioResponse>;
17193
+ updateStandardGroupWithOptions(request: UpdateStandardGroupRequest, runtime: $Util.RuntimeOptions): Promise<UpdateStandardGroupResponse>;
17194
+ updateStandardGroup(request: UpdateStandardGroupRequest): Promise<UpdateStandardGroupResponse>;
17017
17195
  /**
17018
17196
  * You can call this operation to configure a failed task or rerun a task.
17019
17197
  *
package/dist/client.js CHANGED
@@ -3699,6 +3699,66 @@ class DeleteScenarioResponse extends $tea.Model {
3699
3699
  }
3700
3700
  }
3701
3701
  exports.DeleteScenarioResponse = DeleteScenarioResponse;
3702
+ class DeleteStandardGroupRequest extends $tea.Model {
3703
+ constructor(map) {
3704
+ super(map);
3705
+ }
3706
+ static names() {
3707
+ return {
3708
+ groupId: 'GroupId',
3709
+ tid: 'Tid',
3710
+ };
3711
+ }
3712
+ static types() {
3713
+ return {
3714
+ groupId: 'number',
3715
+ tid: 'number',
3716
+ };
3717
+ }
3718
+ }
3719
+ exports.DeleteStandardGroupRequest = DeleteStandardGroupRequest;
3720
+ class DeleteStandardGroupResponseBody extends $tea.Model {
3721
+ constructor(map) {
3722
+ super(map);
3723
+ }
3724
+ static names() {
3725
+ return {
3726
+ errorCode: 'ErrorCode',
3727
+ errorMessage: 'ErrorMessage',
3728
+ requestId: 'RequestId',
3729
+ success: 'Success',
3730
+ };
3731
+ }
3732
+ static types() {
3733
+ return {
3734
+ errorCode: 'string',
3735
+ errorMessage: 'string',
3736
+ requestId: 'string',
3737
+ success: 'boolean',
3738
+ };
3739
+ }
3740
+ }
3741
+ exports.DeleteStandardGroupResponseBody = DeleteStandardGroupResponseBody;
3742
+ class DeleteStandardGroupResponse extends $tea.Model {
3743
+ constructor(map) {
3744
+ super(map);
3745
+ }
3746
+ static names() {
3747
+ return {
3748
+ headers: 'headers',
3749
+ statusCode: 'statusCode',
3750
+ body: 'body',
3751
+ };
3752
+ }
3753
+ static types() {
3754
+ return {
3755
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3756
+ statusCode: 'number',
3757
+ body: DeleteStandardGroupResponseBody,
3758
+ };
3759
+ }
3760
+ }
3761
+ exports.DeleteStandardGroupResponse = DeleteStandardGroupResponse;
3702
3762
  class DeleteTaskRequest extends $tea.Model {
3703
3763
  constructor(map) {
3704
3764
  super(map);
@@ -7367,6 +7427,68 @@ class GetSQLReviewOptimizeDetailResponse extends $tea.Model {
7367
7427
  }
7368
7428
  }
7369
7429
  exports.GetSQLReviewOptimizeDetailResponse = GetSQLReviewOptimizeDetailResponse;
7430
+ class GetStandardGroupRequest extends $tea.Model {
7431
+ constructor(map) {
7432
+ super(map);
7433
+ }
7434
+ static names() {
7435
+ return {
7436
+ groupId: 'GroupId',
7437
+ tid: 'Tid',
7438
+ };
7439
+ }
7440
+ static types() {
7441
+ return {
7442
+ groupId: 'number',
7443
+ tid: 'number',
7444
+ };
7445
+ }
7446
+ }
7447
+ exports.GetStandardGroupRequest = GetStandardGroupRequest;
7448
+ class GetStandardGroupResponseBody extends $tea.Model {
7449
+ constructor(map) {
7450
+ super(map);
7451
+ }
7452
+ static names() {
7453
+ return {
7454
+ errorCode: 'ErrorCode',
7455
+ errorMessage: 'ErrorMessage',
7456
+ requestId: 'RequestId',
7457
+ standardGroup: 'StandardGroup',
7458
+ success: 'Success',
7459
+ };
7460
+ }
7461
+ static types() {
7462
+ return {
7463
+ errorCode: 'string',
7464
+ errorMessage: 'string',
7465
+ requestId: 'string',
7466
+ standardGroup: GetStandardGroupResponseBodyStandardGroup,
7467
+ success: 'boolean',
7468
+ };
7469
+ }
7470
+ }
7471
+ exports.GetStandardGroupResponseBody = GetStandardGroupResponseBody;
7472
+ class GetStandardGroupResponse extends $tea.Model {
7473
+ constructor(map) {
7474
+ super(map);
7475
+ }
7476
+ static names() {
7477
+ return {
7478
+ headers: 'headers',
7479
+ statusCode: 'statusCode',
7480
+ body: 'body',
7481
+ };
7482
+ }
7483
+ static types() {
7484
+ return {
7485
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7486
+ statusCode: 'number',
7487
+ body: GetStandardGroupResponseBody,
7488
+ };
7489
+ }
7490
+ }
7491
+ exports.GetStandardGroupResponse = GetStandardGroupResponse;
7370
7492
  class GetStructSyncExecSqlDetailRequest extends $tea.Model {
7371
7493
  constructor(map) {
7372
7494
  super(map);
@@ -14225,6 +14347,72 @@ class UpdateScenarioResponse extends $tea.Model {
14225
14347
  }
14226
14348
  }
14227
14349
  exports.UpdateScenarioResponse = UpdateScenarioResponse;
14350
+ class UpdateStandardGroupRequest extends $tea.Model {
14351
+ constructor(map) {
14352
+ super(map);
14353
+ }
14354
+ static names() {
14355
+ return {
14356
+ description: 'Description',
14357
+ groupId: 'GroupId',
14358
+ groupName: 'GroupName',
14359
+ tid: 'Tid',
14360
+ };
14361
+ }
14362
+ static types() {
14363
+ return {
14364
+ description: 'string',
14365
+ groupId: 'number',
14366
+ groupName: 'string',
14367
+ tid: 'number',
14368
+ };
14369
+ }
14370
+ }
14371
+ exports.UpdateStandardGroupRequest = UpdateStandardGroupRequest;
14372
+ class UpdateStandardGroupResponseBody extends $tea.Model {
14373
+ constructor(map) {
14374
+ super(map);
14375
+ }
14376
+ static names() {
14377
+ return {
14378
+ errorCode: 'ErrorCode',
14379
+ errorMessage: 'ErrorMessage',
14380
+ requestId: 'RequestId',
14381
+ standardGroup: 'StandardGroup',
14382
+ success: 'Success',
14383
+ };
14384
+ }
14385
+ static types() {
14386
+ return {
14387
+ errorCode: 'string',
14388
+ errorMessage: 'string',
14389
+ requestId: 'string',
14390
+ standardGroup: UpdateStandardGroupResponseBodyStandardGroup,
14391
+ success: 'boolean',
14392
+ };
14393
+ }
14394
+ }
14395
+ exports.UpdateStandardGroupResponseBody = UpdateStandardGroupResponseBody;
14396
+ class UpdateStandardGroupResponse extends $tea.Model {
14397
+ constructor(map) {
14398
+ super(map);
14399
+ }
14400
+ static names() {
14401
+ return {
14402
+ headers: 'headers',
14403
+ statusCode: 'statusCode',
14404
+ body: 'body',
14405
+ };
14406
+ }
14407
+ static types() {
14408
+ return {
14409
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
14410
+ statusCode: 'number',
14411
+ body: UpdateStandardGroupResponseBody,
14412
+ };
14413
+ }
14414
+ }
14415
+ exports.UpdateStandardGroupResponse = UpdateStandardGroupResponse;
14228
14416
  class UpdateTaskConfigRequest extends $tea.Model {
14229
14417
  constructor(map) {
14230
14418
  super(map);
@@ -15947,6 +16135,7 @@ class CreateProcCorrectOrderRequestParam extends $tea.Model {
15947
16135
  return {
15948
16136
  classify: 'Classify',
15949
16137
  dbItemList: 'DbItemList',
16138
+ execMode: 'ExecMode',
15950
16139
  execSQL: 'ExecSQL',
15951
16140
  rollbackAttachmentName: 'RollbackAttachmentName',
15952
16141
  rollbackSQL: 'RollbackSQL',
@@ -15957,6 +16146,7 @@ class CreateProcCorrectOrderRequestParam extends $tea.Model {
15957
16146
  return {
15958
16147
  classify: 'string',
15959
16148
  dbItemList: { 'type': 'array', 'itemType': CreateProcCorrectOrderRequestParamDbItemList },
16149
+ execMode: 'string',
15960
16150
  execSQL: 'string',
15961
16151
  rollbackAttachmentName: 'string',
15962
16152
  rollbackSQL: 'string',
@@ -15993,6 +16183,7 @@ class CreateStandardGroupResponseBodyStandardGroup extends $tea.Model {
15993
16183
  return {
15994
16184
  dbType: 'DbType',
15995
16185
  description: 'Description',
16186
+ groupId: 'GroupId',
15996
16187
  groupMode: 'GroupMode',
15997
16188
  groupName: 'GroupName',
15998
16189
  lastMenderId: 'LastMenderId',
@@ -16002,6 +16193,7 @@ class CreateStandardGroupResponseBodyStandardGroup extends $tea.Model {
16002
16193
  return {
16003
16194
  dbType: 'string',
16004
16195
  description: 'string',
16196
+ groupId: 'number',
16005
16197
  groupMode: 'string',
16006
16198
  groupName: 'string',
16007
16199
  lastMenderId: 'number',
@@ -18637,6 +18829,32 @@ class GetSQLReviewOptimizeDetailResponseBodyOptimizeDetail extends $tea.Model {
18637
18829
  }
18638
18830
  }
18639
18831
  exports.GetSQLReviewOptimizeDetailResponseBodyOptimizeDetail = GetSQLReviewOptimizeDetailResponseBodyOptimizeDetail;
18832
+ class GetStandardGroupResponseBodyStandardGroup extends $tea.Model {
18833
+ constructor(map) {
18834
+ super(map);
18835
+ }
18836
+ static names() {
18837
+ return {
18838
+ dbType: 'DbType',
18839
+ description: 'Description',
18840
+ groupId: 'GroupId',
18841
+ groupMode: 'GroupMode',
18842
+ groupName: 'GroupName',
18843
+ lastMenderId: 'LastMenderId',
18844
+ };
18845
+ }
18846
+ static types() {
18847
+ return {
18848
+ dbType: 'string',
18849
+ description: 'string',
18850
+ groupId: 'number',
18851
+ groupMode: 'string',
18852
+ groupName: 'string',
18853
+ lastMenderId: 'number',
18854
+ };
18855
+ }
18856
+ }
18857
+ exports.GetStandardGroupResponseBodyStandardGroup = GetStandardGroupResponseBodyStandardGroup;
18640
18858
  class GetStructSyncExecSqlDetailResponseBodyStructSyncExecSqlDetail extends $tea.Model {
18641
18859
  constructor(map) {
18642
18860
  super(map);
@@ -22653,6 +22871,32 @@ class UpdateSLARulesRequestSlaRuleList extends $tea.Model {
22653
22871
  }
22654
22872
  }
22655
22873
  exports.UpdateSLARulesRequestSlaRuleList = UpdateSLARulesRequestSlaRuleList;
22874
+ class UpdateStandardGroupResponseBodyStandardGroup extends $tea.Model {
22875
+ constructor(map) {
22876
+ super(map);
22877
+ }
22878
+ static names() {
22879
+ return {
22880
+ dbType: 'DbType',
22881
+ description: 'Description',
22882
+ groupId: 'GroupId',
22883
+ groupMode: 'GroupMode',
22884
+ groupName: 'GroupName',
22885
+ lastMenderId: 'LastMenderId',
22886
+ };
22887
+ }
22888
+ static types() {
22889
+ return {
22890
+ dbType: 'string',
22891
+ description: 'string',
22892
+ groupId: 'number',
22893
+ groupMode: 'string',
22894
+ groupName: 'string',
22895
+ lastMenderId: 'number',
22896
+ };
22897
+ }
22898
+ }
22899
+ exports.UpdateStandardGroupResponseBodyStandardGroup = UpdateStandardGroupResponseBodyStandardGroup;
22656
22900
  class UpdateTaskFlowConstantsRequestDagConstants extends $tea.Model {
22657
22901
  constructor(map) {
22658
22902
  super(map);
@@ -24808,6 +25052,35 @@ class Client extends openapi_client_1.default {
24808
25052
  let runtime = new $Util.RuntimeOptions({});
24809
25053
  return await this.deleteScenarioWithOptions(request, runtime);
24810
25054
  }
25055
+ async deleteStandardGroupWithOptions(request, runtime) {
25056
+ tea_util_1.default.validateModel(request);
25057
+ let query = {};
25058
+ if (!tea_util_1.default.isUnset(request.groupId)) {
25059
+ query["GroupId"] = request.groupId;
25060
+ }
25061
+ if (!tea_util_1.default.isUnset(request.tid)) {
25062
+ query["Tid"] = request.tid;
25063
+ }
25064
+ let req = new $OpenApi.OpenApiRequest({
25065
+ query: openapi_util_1.default.query(query),
25066
+ });
25067
+ let params = new $OpenApi.Params({
25068
+ action: "DeleteStandardGroup",
25069
+ version: "2018-11-01",
25070
+ protocol: "HTTPS",
25071
+ pathname: "/",
25072
+ method: "POST",
25073
+ authType: "AK",
25074
+ style: "RPC",
25075
+ reqBodyType: "formData",
25076
+ bodyType: "json",
25077
+ });
25078
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteStandardGroupResponse({}));
25079
+ }
25080
+ async deleteStandardGroup(request) {
25081
+ let runtime = new $Util.RuntimeOptions({});
25082
+ return await this.deleteStandardGroupWithOptions(request, runtime);
25083
+ }
24811
25084
  async deleteTaskWithOptions(request, runtime) {
24812
25085
  tea_util_1.default.validateModel(request);
24813
25086
  let query = {};
@@ -26805,6 +27078,35 @@ class Client extends openapi_client_1.default {
26805
27078
  let runtime = new $Util.RuntimeOptions({});
26806
27079
  return await this.getSQLReviewOptimizeDetailWithOptions(request, runtime);
26807
27080
  }
27081
+ async getStandardGroupWithOptions(request, runtime) {
27082
+ tea_util_1.default.validateModel(request);
27083
+ let query = {};
27084
+ if (!tea_util_1.default.isUnset(request.groupId)) {
27085
+ query["GroupId"] = request.groupId;
27086
+ }
27087
+ if (!tea_util_1.default.isUnset(request.tid)) {
27088
+ query["Tid"] = request.tid;
27089
+ }
27090
+ let req = new $OpenApi.OpenApiRequest({
27091
+ query: openapi_util_1.default.query(query),
27092
+ });
27093
+ let params = new $OpenApi.Params({
27094
+ action: "GetStandardGroup",
27095
+ version: "2018-11-01",
27096
+ protocol: "HTTPS",
27097
+ pathname: "/",
27098
+ method: "POST",
27099
+ authType: "AK",
27100
+ style: "RPC",
27101
+ reqBodyType: "formData",
27102
+ bodyType: "json",
27103
+ });
27104
+ return $tea.cast(await this.callApi(params, req, runtime), new GetStandardGroupResponse({}));
27105
+ }
27106
+ async getStandardGroup(request) {
27107
+ let runtime = new $Util.RuntimeOptions({});
27108
+ return await this.getStandardGroupWithOptions(request, runtime);
27109
+ }
26808
27110
  async getStructSyncExecSqlDetailWithOptions(request, runtime) {
26809
27111
  tea_util_1.default.validateModel(request);
26810
27112
  let query = {};
@@ -30738,6 +31040,41 @@ class Client extends openapi_client_1.default {
30738
31040
  let runtime = new $Util.RuntimeOptions({});
30739
31041
  return await this.updateScenarioWithOptions(request, runtime);
30740
31042
  }
31043
+ async updateStandardGroupWithOptions(request, runtime) {
31044
+ tea_util_1.default.validateModel(request);
31045
+ let query = {};
31046
+ if (!tea_util_1.default.isUnset(request.description)) {
31047
+ query["Description"] = request.description;
31048
+ }
31049
+ if (!tea_util_1.default.isUnset(request.groupId)) {
31050
+ query["GroupId"] = request.groupId;
31051
+ }
31052
+ if (!tea_util_1.default.isUnset(request.groupName)) {
31053
+ query["GroupName"] = request.groupName;
31054
+ }
31055
+ if (!tea_util_1.default.isUnset(request.tid)) {
31056
+ query["Tid"] = request.tid;
31057
+ }
31058
+ let req = new $OpenApi.OpenApiRequest({
31059
+ query: openapi_util_1.default.query(query),
31060
+ });
31061
+ let params = new $OpenApi.Params({
31062
+ action: "UpdateStandardGroup",
31063
+ version: "2018-11-01",
31064
+ protocol: "HTTPS",
31065
+ pathname: "/",
31066
+ method: "POST",
31067
+ authType: "AK",
31068
+ style: "RPC",
31069
+ reqBodyType: "formData",
31070
+ bodyType: "json",
31071
+ });
31072
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateStandardGroupResponse({}));
31073
+ }
31074
+ async updateStandardGroup(request) {
31075
+ let runtime = new $Util.RuntimeOptions({});
31076
+ return await this.updateStandardGroupWithOptions(request, runtime);
31077
+ }
30741
31078
  /**
30742
31079
  * You can call this operation to configure a failed task or rerun a task.
30743
31080
  *