@alicloud/dataworks-public20200518 5.3.0 → 5.4.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/src/client.ts CHANGED
@@ -6823,6 +6823,103 @@ export class DesensitizeDataResponse extends $tea.Model {
6823
6823
  }
6824
6824
  }
6825
6825
 
6826
+ export class DsgDesensPlanAddOrUpdateRequest extends $tea.Model {
6827
+ desensRules?: DsgDesensPlanAddOrUpdateRequestDesensRules[];
6828
+ static names(): { [key: string]: string } {
6829
+ return {
6830
+ desensRules: 'DesensRules',
6831
+ };
6832
+ }
6833
+
6834
+ static types(): { [key: string]: any } {
6835
+ return {
6836
+ desensRules: { 'type': 'array', 'itemType': DsgDesensPlanAddOrUpdateRequestDesensRules },
6837
+ };
6838
+ }
6839
+
6840
+ constructor(map?: { [key: string]: any }) {
6841
+ super(map);
6842
+ }
6843
+ }
6844
+
6845
+ export class DsgDesensPlanAddOrUpdateShrinkRequest extends $tea.Model {
6846
+ desensRulesShrink?: string;
6847
+ static names(): { [key: string]: string } {
6848
+ return {
6849
+ desensRulesShrink: 'DesensRules',
6850
+ };
6851
+ }
6852
+
6853
+ static types(): { [key: string]: any } {
6854
+ return {
6855
+ desensRulesShrink: 'string',
6856
+ };
6857
+ }
6858
+
6859
+ constructor(map?: { [key: string]: any }) {
6860
+ super(map);
6861
+ }
6862
+ }
6863
+
6864
+ export class DsgDesensPlanAddOrUpdateResponseBody extends $tea.Model {
6865
+ data?: boolean;
6866
+ errorCode?: string;
6867
+ errorMessage?: string;
6868
+ httpStatusCode?: number;
6869
+ requestId?: string;
6870
+ success?: boolean;
6871
+ static names(): { [key: string]: string } {
6872
+ return {
6873
+ data: 'Data',
6874
+ errorCode: 'ErrorCode',
6875
+ errorMessage: 'ErrorMessage',
6876
+ httpStatusCode: 'HttpStatusCode',
6877
+ requestId: 'RequestId',
6878
+ success: 'Success',
6879
+ };
6880
+ }
6881
+
6882
+ static types(): { [key: string]: any } {
6883
+ return {
6884
+ data: 'boolean',
6885
+ errorCode: 'string',
6886
+ errorMessage: 'string',
6887
+ httpStatusCode: 'number',
6888
+ requestId: 'string',
6889
+ success: 'boolean',
6890
+ };
6891
+ }
6892
+
6893
+ constructor(map?: { [key: string]: any }) {
6894
+ super(map);
6895
+ }
6896
+ }
6897
+
6898
+ export class DsgDesensPlanAddOrUpdateResponse extends $tea.Model {
6899
+ headers?: { [key: string]: string };
6900
+ statusCode?: number;
6901
+ body?: DsgDesensPlanAddOrUpdateResponseBody;
6902
+ static names(): { [key: string]: string } {
6903
+ return {
6904
+ headers: 'headers',
6905
+ statusCode: 'statusCode',
6906
+ body: 'body',
6907
+ };
6908
+ }
6909
+
6910
+ static types(): { [key: string]: any } {
6911
+ return {
6912
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6913
+ statusCode: 'number',
6914
+ body: DsgDesensPlanAddOrUpdateResponseBody,
6915
+ };
6916
+ }
6917
+
6918
+ constructor(map?: { [key: string]: any }) {
6919
+ super(map);
6920
+ }
6921
+ }
6922
+
6826
6923
  export class DsgDesensPlanDeleteRequest extends $tea.Model {
6827
6924
  ids?: number[];
6828
6925
  sceneCode?: string;
@@ -7610,6 +7707,181 @@ export class DsgSceneAddOrUpdateSceneResponse extends $tea.Model {
7610
7707
  }
7611
7708
  }
7612
7709
 
7710
+ export class DsgSceneQuerySceneListByNameRequest extends $tea.Model {
7711
+ sceneName?: string;
7712
+ static names(): { [key: string]: string } {
7713
+ return {
7714
+ sceneName: 'SceneName',
7715
+ };
7716
+ }
7717
+
7718
+ static types(): { [key: string]: any } {
7719
+ return {
7720
+ sceneName: 'string',
7721
+ };
7722
+ }
7723
+
7724
+ constructor(map?: { [key: string]: any }) {
7725
+ super(map);
7726
+ }
7727
+ }
7728
+
7729
+ export class DsgSceneQuerySceneListByNameResponseBody extends $tea.Model {
7730
+ data?: DsgSceneQuerySceneListByNameResponseBodyData[];
7731
+ errorCode?: string;
7732
+ errorMessage?: string;
7733
+ httpStatusCode?: number;
7734
+ requestId?: string;
7735
+ success?: boolean;
7736
+ static names(): { [key: string]: string } {
7737
+ return {
7738
+ data: 'Data',
7739
+ errorCode: 'ErrorCode',
7740
+ errorMessage: 'ErrorMessage',
7741
+ httpStatusCode: 'HttpStatusCode',
7742
+ requestId: 'RequestId',
7743
+ success: 'Success',
7744
+ };
7745
+ }
7746
+
7747
+ static types(): { [key: string]: any } {
7748
+ return {
7749
+ data: { 'type': 'array', 'itemType': DsgSceneQuerySceneListByNameResponseBodyData },
7750
+ errorCode: 'string',
7751
+ errorMessage: 'string',
7752
+ httpStatusCode: 'number',
7753
+ requestId: 'string',
7754
+ success: 'boolean',
7755
+ };
7756
+ }
7757
+
7758
+ constructor(map?: { [key: string]: any }) {
7759
+ super(map);
7760
+ }
7761
+ }
7762
+
7763
+ export class DsgSceneQuerySceneListByNameResponse extends $tea.Model {
7764
+ headers?: { [key: string]: string };
7765
+ statusCode?: number;
7766
+ body?: DsgSceneQuerySceneListByNameResponseBody;
7767
+ static names(): { [key: string]: string } {
7768
+ return {
7769
+ headers: 'headers',
7770
+ statusCode: 'statusCode',
7771
+ body: 'body',
7772
+ };
7773
+ }
7774
+
7775
+ static types(): { [key: string]: any } {
7776
+ return {
7777
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7778
+ statusCode: 'number',
7779
+ body: DsgSceneQuerySceneListByNameResponseBody,
7780
+ };
7781
+ }
7782
+
7783
+ constructor(map?: { [key: string]: any }) {
7784
+ super(map);
7785
+ }
7786
+ }
7787
+
7788
+ export class DsgScenedDeleteSceneRequest extends $tea.Model {
7789
+ ids?: number[];
7790
+ static names(): { [key: string]: string } {
7791
+ return {
7792
+ ids: 'Ids',
7793
+ };
7794
+ }
7795
+
7796
+ static types(): { [key: string]: any } {
7797
+ return {
7798
+ ids: { 'type': 'array', 'itemType': 'number' },
7799
+ };
7800
+ }
7801
+
7802
+ constructor(map?: { [key: string]: any }) {
7803
+ super(map);
7804
+ }
7805
+ }
7806
+
7807
+ export class DsgScenedDeleteSceneShrinkRequest extends $tea.Model {
7808
+ idsShrink?: string;
7809
+ static names(): { [key: string]: string } {
7810
+ return {
7811
+ idsShrink: 'Ids',
7812
+ };
7813
+ }
7814
+
7815
+ static types(): { [key: string]: any } {
7816
+ return {
7817
+ idsShrink: 'string',
7818
+ };
7819
+ }
7820
+
7821
+ constructor(map?: { [key: string]: any }) {
7822
+ super(map);
7823
+ }
7824
+ }
7825
+
7826
+ export class DsgScenedDeleteSceneResponseBody extends $tea.Model {
7827
+ data?: boolean;
7828
+ errorCode?: string;
7829
+ errorMessage?: string;
7830
+ httpStatusCode?: number;
7831
+ requestId?: string;
7832
+ success?: boolean;
7833
+ static names(): { [key: string]: string } {
7834
+ return {
7835
+ data: 'Data',
7836
+ errorCode: 'ErrorCode',
7837
+ errorMessage: 'ErrorMessage',
7838
+ httpStatusCode: 'HttpStatusCode',
7839
+ requestId: 'RequestId',
7840
+ success: 'Success',
7841
+ };
7842
+ }
7843
+
7844
+ static types(): { [key: string]: any } {
7845
+ return {
7846
+ data: 'boolean',
7847
+ errorCode: 'string',
7848
+ errorMessage: 'string',
7849
+ httpStatusCode: 'number',
7850
+ requestId: 'string',
7851
+ success: 'boolean',
7852
+ };
7853
+ }
7854
+
7855
+ constructor(map?: { [key: string]: any }) {
7856
+ super(map);
7857
+ }
7858
+ }
7859
+
7860
+ export class DsgScenedDeleteSceneResponse extends $tea.Model {
7861
+ headers?: { [key: string]: string };
7862
+ statusCode?: number;
7863
+ body?: DsgScenedDeleteSceneResponseBody;
7864
+ static names(): { [key: string]: string } {
7865
+ return {
7866
+ headers: 'headers',
7867
+ statusCode: 'statusCode',
7868
+ body: 'body',
7869
+ };
7870
+ }
7871
+
7872
+ static types(): { [key: string]: any } {
7873
+ return {
7874
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7875
+ statusCode: 'number',
7876
+ body: DsgScenedDeleteSceneResponseBody,
7877
+ };
7878
+ }
7879
+
7880
+ constructor(map?: { [key: string]: any }) {
7881
+ super(map);
7882
+ }
7883
+ }
7884
+
7613
7885
  export class DsgStopSensIdentifyRequest extends $tea.Model {
7614
7886
  jobId?: number;
7615
7887
  tenantId?: string;
@@ -8112,6 +8384,200 @@ export class DsgUserGroupQueryUserListResponse extends $tea.Model {
8112
8384
  }
8113
8385
  }
8114
8386
 
8387
+ export class DsgWhiteListAddOrUpdateRequest extends $tea.Model {
8388
+ whiteLists?: DsgWhiteListAddOrUpdateRequestWhiteLists[];
8389
+ static names(): { [key: string]: string } {
8390
+ return {
8391
+ whiteLists: 'WhiteLists',
8392
+ };
8393
+ }
8394
+
8395
+ static types(): { [key: string]: any } {
8396
+ return {
8397
+ whiteLists: { 'type': 'array', 'itemType': DsgWhiteListAddOrUpdateRequestWhiteLists },
8398
+ };
8399
+ }
8400
+
8401
+ constructor(map?: { [key: string]: any }) {
8402
+ super(map);
8403
+ }
8404
+ }
8405
+
8406
+ export class DsgWhiteListAddOrUpdateShrinkRequest extends $tea.Model {
8407
+ whiteListsShrink?: string;
8408
+ static names(): { [key: string]: string } {
8409
+ return {
8410
+ whiteListsShrink: 'WhiteLists',
8411
+ };
8412
+ }
8413
+
8414
+ static types(): { [key: string]: any } {
8415
+ return {
8416
+ whiteListsShrink: 'string',
8417
+ };
8418
+ }
8419
+
8420
+ constructor(map?: { [key: string]: any }) {
8421
+ super(map);
8422
+ }
8423
+ }
8424
+
8425
+ export class DsgWhiteListAddOrUpdateResponseBody extends $tea.Model {
8426
+ data?: boolean;
8427
+ errorCode?: string;
8428
+ errorMessage?: string;
8429
+ httpStatusCode?: number;
8430
+ requestId?: string;
8431
+ success?: boolean;
8432
+ static names(): { [key: string]: string } {
8433
+ return {
8434
+ data: 'Data',
8435
+ errorCode: 'ErrorCode',
8436
+ errorMessage: 'ErrorMessage',
8437
+ httpStatusCode: 'HttpStatusCode',
8438
+ requestId: 'RequestId',
8439
+ success: 'Success',
8440
+ };
8441
+ }
8442
+
8443
+ static types(): { [key: string]: any } {
8444
+ return {
8445
+ data: 'boolean',
8446
+ errorCode: 'string',
8447
+ errorMessage: 'string',
8448
+ httpStatusCode: 'number',
8449
+ requestId: 'string',
8450
+ success: 'boolean',
8451
+ };
8452
+ }
8453
+
8454
+ constructor(map?: { [key: string]: any }) {
8455
+ super(map);
8456
+ }
8457
+ }
8458
+
8459
+ export class DsgWhiteListAddOrUpdateResponse extends $tea.Model {
8460
+ headers?: { [key: string]: string };
8461
+ statusCode?: number;
8462
+ body?: DsgWhiteListAddOrUpdateResponseBody;
8463
+ static names(): { [key: string]: string } {
8464
+ return {
8465
+ headers: 'headers',
8466
+ statusCode: 'statusCode',
8467
+ body: 'body',
8468
+ };
8469
+ }
8470
+
8471
+ static types(): { [key: string]: any } {
8472
+ return {
8473
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8474
+ statusCode: 'number',
8475
+ body: DsgWhiteListAddOrUpdateResponseBody,
8476
+ };
8477
+ }
8478
+
8479
+ constructor(map?: { [key: string]: any }) {
8480
+ super(map);
8481
+ }
8482
+ }
8483
+
8484
+ export class DsgWhiteListDeleteListRequest extends $tea.Model {
8485
+ ids?: number[];
8486
+ static names(): { [key: string]: string } {
8487
+ return {
8488
+ ids: 'Ids',
8489
+ };
8490
+ }
8491
+
8492
+ static types(): { [key: string]: any } {
8493
+ return {
8494
+ ids: { 'type': 'array', 'itemType': 'number' },
8495
+ };
8496
+ }
8497
+
8498
+ constructor(map?: { [key: string]: any }) {
8499
+ super(map);
8500
+ }
8501
+ }
8502
+
8503
+ export class DsgWhiteListDeleteListShrinkRequest extends $tea.Model {
8504
+ idsShrink?: string;
8505
+ static names(): { [key: string]: string } {
8506
+ return {
8507
+ idsShrink: 'Ids',
8508
+ };
8509
+ }
8510
+
8511
+ static types(): { [key: string]: any } {
8512
+ return {
8513
+ idsShrink: 'string',
8514
+ };
8515
+ }
8516
+
8517
+ constructor(map?: { [key: string]: any }) {
8518
+ super(map);
8519
+ }
8520
+ }
8521
+
8522
+ export class DsgWhiteListDeleteListResponseBody extends $tea.Model {
8523
+ data?: boolean;
8524
+ errorCode?: string;
8525
+ errorMessage?: string;
8526
+ httpStatusCode?: number;
8527
+ requestId?: string;
8528
+ success?: boolean;
8529
+ static names(): { [key: string]: string } {
8530
+ return {
8531
+ data: 'Data',
8532
+ errorCode: 'ErrorCode',
8533
+ errorMessage: 'ErrorMessage',
8534
+ httpStatusCode: 'HttpStatusCode',
8535
+ requestId: 'RequestId',
8536
+ success: 'Success',
8537
+ };
8538
+ }
8539
+
8540
+ static types(): { [key: string]: any } {
8541
+ return {
8542
+ data: 'boolean',
8543
+ errorCode: 'string',
8544
+ errorMessage: 'string',
8545
+ httpStatusCode: 'number',
8546
+ requestId: 'string',
8547
+ success: 'boolean',
8548
+ };
8549
+ }
8550
+
8551
+ constructor(map?: { [key: string]: any }) {
8552
+ super(map);
8553
+ }
8554
+ }
8555
+
8556
+ export class DsgWhiteListDeleteListResponse extends $tea.Model {
8557
+ headers?: { [key: string]: string };
8558
+ statusCode?: number;
8559
+ body?: DsgWhiteListDeleteListResponseBody;
8560
+ static names(): { [key: string]: string } {
8561
+ return {
8562
+ headers: 'headers',
8563
+ statusCode: 'statusCode',
8564
+ body: 'body',
8565
+ };
8566
+ }
8567
+
8568
+ static types(): { [key: string]: any } {
8569
+ return {
8570
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8571
+ statusCode: 'number',
8572
+ body: DsgWhiteListDeleteListResponseBody,
8573
+ };
8574
+ }
8575
+
8576
+ constructor(map?: { [key: string]: any }) {
8577
+ super(map);
8578
+ }
8579
+ }
8580
+
8115
8581
  export class DsgWhiteListQueryListRequest extends $tea.Model {
8116
8582
  dataType?: string;
8117
8583
  pageNumber?: number;
@@ -27000,26 +27466,70 @@ export class DeleteDISyncTaskResponseBodyData extends $tea.Model {
27000
27466
  }
27001
27467
  }
27002
27468
 
27003
- export class DeleteTableResponseBodyTaskInfo extends $tea.Model {
27004
- content?: string;
27005
- nextTaskId?: string;
27006
- status?: string;
27007
- taskId?: string;
27469
+ export class DeleteTableResponseBodyTaskInfo extends $tea.Model {
27470
+ content?: string;
27471
+ nextTaskId?: string;
27472
+ status?: string;
27473
+ taskId?: string;
27474
+ static names(): { [key: string]: string } {
27475
+ return {
27476
+ content: 'Content',
27477
+ nextTaskId: 'NextTaskId',
27478
+ status: 'Status',
27479
+ taskId: 'TaskId',
27480
+ };
27481
+ }
27482
+
27483
+ static types(): { [key: string]: any } {
27484
+ return {
27485
+ content: 'string',
27486
+ nextTaskId: 'string',
27487
+ status: 'string',
27488
+ taskId: 'string',
27489
+ };
27490
+ }
27491
+
27492
+ constructor(map?: { [key: string]: any }) {
27493
+ super(map);
27494
+ }
27495
+ }
27496
+
27497
+ export class DeployDISyncTaskResponseBodyData extends $tea.Model {
27498
+ message?: string;
27499
+ status?: string;
27500
+ static names(): { [key: string]: string } {
27501
+ return {
27502
+ message: 'Message',
27503
+ status: 'Status',
27504
+ };
27505
+ }
27506
+
27507
+ static types(): { [key: string]: any } {
27508
+ return {
27509
+ message: 'string',
27510
+ status: 'string',
27511
+ };
27512
+ }
27513
+
27514
+ constructor(map?: { [key: string]: any }) {
27515
+ super(map);
27516
+ }
27517
+ }
27518
+
27519
+ export class DsgDesensPlanAddOrUpdateRequestDesensRulesDesensPlan extends $tea.Model {
27520
+ desensPlanType?: string;
27521
+ extParam?: { [key: string]: any };
27008
27522
  static names(): { [key: string]: string } {
27009
27523
  return {
27010
- content: 'Content',
27011
- nextTaskId: 'NextTaskId',
27012
- status: 'Status',
27013
- taskId: 'TaskId',
27524
+ desensPlanType: 'DesensPlanType',
27525
+ extParam: 'ExtParam',
27014
27526
  };
27015
27527
  }
27016
27528
 
27017
27529
  static types(): { [key: string]: any } {
27018
27530
  return {
27019
- content: 'string',
27020
- nextTaskId: 'string',
27021
- status: 'string',
27022
- taskId: 'string',
27531
+ desensPlanType: 'string',
27532
+ extParam: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
27023
27533
  };
27024
27534
  }
27025
27535
 
@@ -27028,20 +27538,38 @@ export class DeleteTableResponseBodyTaskInfo extends $tea.Model {
27028
27538
  }
27029
27539
  }
27030
27540
 
27031
- export class DeployDISyncTaskResponseBodyData extends $tea.Model {
27032
- message?: string;
27033
- status?: string;
27541
+ export class DsgDesensPlanAddOrUpdateRequestDesensRules extends $tea.Model {
27542
+ checkWatermark?: boolean;
27543
+ dataType?: string;
27544
+ desensPlan?: DsgDesensPlanAddOrUpdateRequestDesensRulesDesensPlan;
27545
+ id?: number;
27546
+ owner?: string;
27547
+ ruleName?: string;
27548
+ sceneIds?: number[];
27549
+ status?: number;
27034
27550
  static names(): { [key: string]: string } {
27035
27551
  return {
27036
- message: 'Message',
27552
+ checkWatermark: 'CheckWatermark',
27553
+ dataType: 'DataType',
27554
+ desensPlan: 'DesensPlan',
27555
+ id: 'Id',
27556
+ owner: 'Owner',
27557
+ ruleName: 'RuleName',
27558
+ sceneIds: 'SceneIds',
27037
27559
  status: 'Status',
27038
27560
  };
27039
27561
  }
27040
27562
 
27041
27563
  static types(): { [key: string]: any } {
27042
27564
  return {
27043
- message: 'string',
27044
- status: 'string',
27565
+ checkWatermark: 'boolean',
27566
+ dataType: 'string',
27567
+ desensPlan: DsgDesensPlanAddOrUpdateRequestDesensRulesDesensPlan,
27568
+ id: 'number',
27569
+ owner: 'string',
27570
+ ruleName: 'string',
27571
+ sceneIds: { 'type': 'array', 'itemType': 'number' },
27572
+ status: 'number',
27045
27573
  };
27046
27574
  }
27047
27575
 
@@ -27301,6 +27829,71 @@ export class DsgSceneAddOrUpdateSceneRequestScenes extends $tea.Model {
27301
27829
  }
27302
27830
  }
27303
27831
 
27832
+ export class DsgSceneQuerySceneListByNameResponseBodyDataProjects extends $tea.Model {
27833
+ clusterId?: string;
27834
+ dbType?: string;
27835
+ projectName?: string;
27836
+ static names(): { [key: string]: string } {
27837
+ return {
27838
+ clusterId: 'ClusterId',
27839
+ dbType: 'DbType',
27840
+ projectName: 'ProjectName',
27841
+ };
27842
+ }
27843
+
27844
+ static types(): { [key: string]: any } {
27845
+ return {
27846
+ clusterId: 'string',
27847
+ dbType: 'string',
27848
+ projectName: 'string',
27849
+ };
27850
+ }
27851
+
27852
+ constructor(map?: { [key: string]: any }) {
27853
+ super(map);
27854
+ }
27855
+ }
27856
+
27857
+ export class DsgSceneQuerySceneListByNameResponseBodyData extends $tea.Model {
27858
+ children?: any[];
27859
+ desc?: string;
27860
+ id?: number;
27861
+ projects?: DsgSceneQuerySceneListByNameResponseBodyDataProjects[];
27862
+ sceneCode?: string;
27863
+ sceneLevel?: number;
27864
+ sceneName?: string;
27865
+ userGroups?: string;
27866
+ static names(): { [key: string]: string } {
27867
+ return {
27868
+ children: 'Children',
27869
+ desc: 'Desc',
27870
+ id: 'Id',
27871
+ projects: 'Projects',
27872
+ sceneCode: 'SceneCode',
27873
+ sceneLevel: 'SceneLevel',
27874
+ sceneName: 'SceneName',
27875
+ userGroups: 'UserGroups',
27876
+ };
27877
+ }
27878
+
27879
+ static types(): { [key: string]: any } {
27880
+ return {
27881
+ children: { 'type': 'array', 'itemType': 'any' },
27882
+ desc: 'string',
27883
+ id: 'number',
27884
+ projects: { 'type': 'array', 'itemType': DsgSceneQuerySceneListByNameResponseBodyDataProjects },
27885
+ sceneCode: 'string',
27886
+ sceneLevel: 'number',
27887
+ sceneName: 'string',
27888
+ userGroups: 'string',
27889
+ };
27890
+ }
27891
+
27892
+ constructor(map?: { [key: string]: any }) {
27893
+ super(map);
27894
+ }
27895
+ }
27896
+
27304
27897
  export class DsgUserGroupAddOrUpdateRequestUserGroups extends $tea.Model {
27305
27898
  accounts?: string[];
27306
27899
  id?: number;
@@ -27428,6 +28021,37 @@ export class DsgUserGroupQueryUserListResponseBodyData extends $tea.Model {
27428
28021
  }
27429
28022
  }
27430
28023
 
28024
+ export class DsgWhiteListAddOrUpdateRequestWhiteLists extends $tea.Model {
28025
+ endTime?: string;
28026
+ id?: number;
28027
+ ruleId?: number;
28028
+ startTime?: string;
28029
+ userGroupIds?: number[];
28030
+ static names(): { [key: string]: string } {
28031
+ return {
28032
+ endTime: 'EndTime',
28033
+ id: 'Id',
28034
+ ruleId: 'RuleId',
28035
+ startTime: 'StartTime',
28036
+ userGroupIds: 'UserGroupIds',
28037
+ };
28038
+ }
28039
+
28040
+ static types(): { [key: string]: any } {
28041
+ return {
28042
+ endTime: 'string',
28043
+ id: 'number',
28044
+ ruleId: 'number',
28045
+ startTime: 'string',
28046
+ userGroupIds: { 'type': 'array', 'itemType': 'number' },
28047
+ };
28048
+ }
28049
+
28050
+ constructor(map?: { [key: string]: any }) {
28051
+ super(map);
28052
+ }
28053
+ }
28054
+
27431
28055
  export class DsgWhiteListQueryListResponseBodyPageDataData extends $tea.Model {
27432
28056
  endTime?: string;
27433
28057
  gmtCreate?: string;
@@ -45323,6 +45947,54 @@ export default class Client extends OpenApi {
45323
45947
  return await this.desensitizeDataWithOptions(request, runtime);
45324
45948
  }
45325
45949
 
45950
+ /**
45951
+ * @summary 新增或编辑脱敏规则
45952
+ *
45953
+ * @param tmpReq DsgDesensPlanAddOrUpdateRequest
45954
+ * @param runtime runtime options for this request RuntimeOptions
45955
+ * @return DsgDesensPlanAddOrUpdateResponse
45956
+ */
45957
+ async dsgDesensPlanAddOrUpdateWithOptions(tmpReq: DsgDesensPlanAddOrUpdateRequest, runtime: $Util.RuntimeOptions): Promise<DsgDesensPlanAddOrUpdateResponse> {
45958
+ Util.validateModel(tmpReq);
45959
+ let request = new DsgDesensPlanAddOrUpdateShrinkRequest({ });
45960
+ OpenApiUtil.convert(tmpReq, request);
45961
+ if (!Util.isUnset(tmpReq.desensRules)) {
45962
+ request.desensRulesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.desensRules, "DesensRules", "json");
45963
+ }
45964
+
45965
+ let query = { };
45966
+ if (!Util.isUnset(request.desensRulesShrink)) {
45967
+ query["DesensRules"] = request.desensRulesShrink;
45968
+ }
45969
+
45970
+ let req = new $OpenApi.OpenApiRequest({
45971
+ query: OpenApiUtil.query(query),
45972
+ });
45973
+ let params = new $OpenApi.Params({
45974
+ action: "DsgDesensPlanAddOrUpdate",
45975
+ version: "2020-05-18",
45976
+ protocol: "HTTPS",
45977
+ pathname: "/",
45978
+ method: "POST",
45979
+ authType: "AK",
45980
+ style: "RPC",
45981
+ reqBodyType: "formData",
45982
+ bodyType: "json",
45983
+ });
45984
+ return $tea.cast<DsgDesensPlanAddOrUpdateResponse>(await this.callApi(params, req, runtime), new DsgDesensPlanAddOrUpdateResponse({}));
45985
+ }
45986
+
45987
+ /**
45988
+ * @summary 新增或编辑脱敏规则
45989
+ *
45990
+ * @param request DsgDesensPlanAddOrUpdateRequest
45991
+ * @return DsgDesensPlanAddOrUpdateResponse
45992
+ */
45993
+ async dsgDesensPlanAddOrUpdate(request: DsgDesensPlanAddOrUpdateRequest): Promise<DsgDesensPlanAddOrUpdateResponse> {
45994
+ let runtime = new $Util.RuntimeOptions({ });
45995
+ return await this.dsgDesensPlanAddOrUpdateWithOptions(request, runtime);
45996
+ }
45997
+
45326
45998
  /**
45327
45999
  * @summary 删除脱敏规则
45328
46000
  *
@@ -45739,6 +46411,92 @@ export default class Client extends OpenApi {
45739
46411
  return await this.dsgSceneAddOrUpdateSceneWithOptions(request, runtime);
45740
46412
  }
45741
46413
 
46414
+ /**
46415
+ * @summary 查询场景列表
46416
+ *
46417
+ * @param request DsgSceneQuerySceneListByNameRequest
46418
+ * @param runtime runtime options for this request RuntimeOptions
46419
+ * @return DsgSceneQuerySceneListByNameResponse
46420
+ */
46421
+ async dsgSceneQuerySceneListByNameWithOptions(request: DsgSceneQuerySceneListByNameRequest, runtime: $Util.RuntimeOptions): Promise<DsgSceneQuerySceneListByNameResponse> {
46422
+ Util.validateModel(request);
46423
+ let query = OpenApiUtil.query(Util.toMap(request));
46424
+ let req = new $OpenApi.OpenApiRequest({
46425
+ query: OpenApiUtil.query(query),
46426
+ });
46427
+ let params = new $OpenApi.Params({
46428
+ action: "DsgSceneQuerySceneListByName",
46429
+ version: "2020-05-18",
46430
+ protocol: "HTTPS",
46431
+ pathname: "/",
46432
+ method: "GET",
46433
+ authType: "AK",
46434
+ style: "RPC",
46435
+ reqBodyType: "formData",
46436
+ bodyType: "json",
46437
+ });
46438
+ return $tea.cast<DsgSceneQuerySceneListByNameResponse>(await this.callApi(params, req, runtime), new DsgSceneQuerySceneListByNameResponse({}));
46439
+ }
46440
+
46441
+ /**
46442
+ * @summary 查询场景列表
46443
+ *
46444
+ * @param request DsgSceneQuerySceneListByNameRequest
46445
+ * @return DsgSceneQuerySceneListByNameResponse
46446
+ */
46447
+ async dsgSceneQuerySceneListByName(request: DsgSceneQuerySceneListByNameRequest): Promise<DsgSceneQuerySceneListByNameResponse> {
46448
+ let runtime = new $Util.RuntimeOptions({ });
46449
+ return await this.dsgSceneQuerySceneListByNameWithOptions(request, runtime);
46450
+ }
46451
+
46452
+ /**
46453
+ * @summary 删除二级场景
46454
+ *
46455
+ * @param tmpReq DsgScenedDeleteSceneRequest
46456
+ * @param runtime runtime options for this request RuntimeOptions
46457
+ * @return DsgScenedDeleteSceneResponse
46458
+ */
46459
+ async dsgScenedDeleteSceneWithOptions(tmpReq: DsgScenedDeleteSceneRequest, runtime: $Util.RuntimeOptions): Promise<DsgScenedDeleteSceneResponse> {
46460
+ Util.validateModel(tmpReq);
46461
+ let request = new DsgScenedDeleteSceneShrinkRequest({ });
46462
+ OpenApiUtil.convert(tmpReq, request);
46463
+ if (!Util.isUnset(tmpReq.ids)) {
46464
+ request.idsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ids, "Ids", "json");
46465
+ }
46466
+
46467
+ let query = { };
46468
+ if (!Util.isUnset(request.idsShrink)) {
46469
+ query["Ids"] = request.idsShrink;
46470
+ }
46471
+
46472
+ let req = new $OpenApi.OpenApiRequest({
46473
+ query: OpenApiUtil.query(query),
46474
+ });
46475
+ let params = new $OpenApi.Params({
46476
+ action: "DsgScenedDeleteScene",
46477
+ version: "2020-05-18",
46478
+ protocol: "HTTPS",
46479
+ pathname: "/",
46480
+ method: "POST",
46481
+ authType: "AK",
46482
+ style: "RPC",
46483
+ reqBodyType: "formData",
46484
+ bodyType: "json",
46485
+ });
46486
+ return $tea.cast<DsgScenedDeleteSceneResponse>(await this.callApi(params, req, runtime), new DsgScenedDeleteSceneResponse({}));
46487
+ }
46488
+
46489
+ /**
46490
+ * @summary 删除二级场景
46491
+ *
46492
+ * @param request DsgScenedDeleteSceneRequest
46493
+ * @return DsgScenedDeleteSceneResponse
46494
+ */
46495
+ async dsgScenedDeleteScene(request: DsgScenedDeleteSceneRequest): Promise<DsgScenedDeleteSceneResponse> {
46496
+ let runtime = new $Util.RuntimeOptions({ });
46497
+ return await this.dsgScenedDeleteSceneWithOptions(request, runtime);
46498
+ }
46499
+
45742
46500
  /**
45743
46501
  * @summary 识别任务停止
45744
46502
  *
@@ -45986,6 +46744,102 @@ export default class Client extends OpenApi {
45986
46744
  return await this.dsgUserGroupQueryUserListWithOptions(runtime);
45987
46745
  }
45988
46746
 
46747
+ /**
46748
+ * @summary 新增或编辑脱敏白名单
46749
+ *
46750
+ * @param tmpReq DsgWhiteListAddOrUpdateRequest
46751
+ * @param runtime runtime options for this request RuntimeOptions
46752
+ * @return DsgWhiteListAddOrUpdateResponse
46753
+ */
46754
+ async dsgWhiteListAddOrUpdateWithOptions(tmpReq: DsgWhiteListAddOrUpdateRequest, runtime: $Util.RuntimeOptions): Promise<DsgWhiteListAddOrUpdateResponse> {
46755
+ Util.validateModel(tmpReq);
46756
+ let request = new DsgWhiteListAddOrUpdateShrinkRequest({ });
46757
+ OpenApiUtil.convert(tmpReq, request);
46758
+ if (!Util.isUnset(tmpReq.whiteLists)) {
46759
+ request.whiteListsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.whiteLists, "WhiteLists", "json");
46760
+ }
46761
+
46762
+ let query = { };
46763
+ if (!Util.isUnset(request.whiteListsShrink)) {
46764
+ query["WhiteLists"] = request.whiteListsShrink;
46765
+ }
46766
+
46767
+ let req = new $OpenApi.OpenApiRequest({
46768
+ query: OpenApiUtil.query(query),
46769
+ });
46770
+ let params = new $OpenApi.Params({
46771
+ action: "DsgWhiteListAddOrUpdate",
46772
+ version: "2020-05-18",
46773
+ protocol: "HTTPS",
46774
+ pathname: "/",
46775
+ method: "POST",
46776
+ authType: "AK",
46777
+ style: "RPC",
46778
+ reqBodyType: "formData",
46779
+ bodyType: "json",
46780
+ });
46781
+ return $tea.cast<DsgWhiteListAddOrUpdateResponse>(await this.callApi(params, req, runtime), new DsgWhiteListAddOrUpdateResponse({}));
46782
+ }
46783
+
46784
+ /**
46785
+ * @summary 新增或编辑脱敏白名单
46786
+ *
46787
+ * @param request DsgWhiteListAddOrUpdateRequest
46788
+ * @return DsgWhiteListAddOrUpdateResponse
46789
+ */
46790
+ async dsgWhiteListAddOrUpdate(request: DsgWhiteListAddOrUpdateRequest): Promise<DsgWhiteListAddOrUpdateResponse> {
46791
+ let runtime = new $Util.RuntimeOptions({ });
46792
+ return await this.dsgWhiteListAddOrUpdateWithOptions(request, runtime);
46793
+ }
46794
+
46795
+ /**
46796
+ * @summary 删除脱敏白名单
46797
+ *
46798
+ * @param tmpReq DsgWhiteListDeleteListRequest
46799
+ * @param runtime runtime options for this request RuntimeOptions
46800
+ * @return DsgWhiteListDeleteListResponse
46801
+ */
46802
+ async dsgWhiteListDeleteListWithOptions(tmpReq: DsgWhiteListDeleteListRequest, runtime: $Util.RuntimeOptions): Promise<DsgWhiteListDeleteListResponse> {
46803
+ Util.validateModel(tmpReq);
46804
+ let request = new DsgWhiteListDeleteListShrinkRequest({ });
46805
+ OpenApiUtil.convert(tmpReq, request);
46806
+ if (!Util.isUnset(tmpReq.ids)) {
46807
+ request.idsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ids, "Ids", "json");
46808
+ }
46809
+
46810
+ let query = { };
46811
+ if (!Util.isUnset(request.idsShrink)) {
46812
+ query["Ids"] = request.idsShrink;
46813
+ }
46814
+
46815
+ let req = new $OpenApi.OpenApiRequest({
46816
+ query: OpenApiUtil.query(query),
46817
+ });
46818
+ let params = new $OpenApi.Params({
46819
+ action: "DsgWhiteListDeleteList",
46820
+ version: "2020-05-18",
46821
+ protocol: "HTTPS",
46822
+ pathname: "/",
46823
+ method: "POST",
46824
+ authType: "AK",
46825
+ style: "RPC",
46826
+ reqBodyType: "formData",
46827
+ bodyType: "json",
46828
+ });
46829
+ return $tea.cast<DsgWhiteListDeleteListResponse>(await this.callApi(params, req, runtime), new DsgWhiteListDeleteListResponse({}));
46830
+ }
46831
+
46832
+ /**
46833
+ * @summary 删除脱敏白名单
46834
+ *
46835
+ * @param request DsgWhiteListDeleteListRequest
46836
+ * @return DsgWhiteListDeleteListResponse
46837
+ */
46838
+ async dsgWhiteListDeleteList(request: DsgWhiteListDeleteListRequest): Promise<DsgWhiteListDeleteListResponse> {
46839
+ let runtime = new $Util.RuntimeOptions({ });
46840
+ return await this.dsgWhiteListDeleteListWithOptions(request, runtime);
46841
+ }
46842
+
45989
46843
  /**
45990
46844
  * @summary 查询脱敏白名单
45991
46845
  *