@alicloud/sddp20190103 1.1.2 → 1.2.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
@@ -65,9 +65,9 @@ export class CreateConfigResponseBody extends $tea.Model {
65
65
  }
66
66
 
67
67
  export class CreateConfigResponse extends $tea.Model {
68
- headers: { [key: string]: string };
69
- statusCode: number;
70
- body: CreateConfigResponseBody;
68
+ headers?: { [key: string]: string };
69
+ statusCode?: number;
70
+ body?: CreateConfigResponseBody;
71
71
  static names(): { [key: string]: string } {
72
72
  return {
73
73
  headers: 'headers',
@@ -182,9 +182,9 @@ export class CreateDataLimitResponseBody extends $tea.Model {
182
182
  }
183
183
 
184
184
  export class CreateDataLimitResponse extends $tea.Model {
185
- headers: { [key: string]: string };
186
- statusCode: number;
187
- body: CreateDataLimitResponseBody;
185
+ headers?: { [key: string]: string };
186
+ statusCode?: number;
187
+ body?: CreateDataLimitResponseBody;
188
188
  static names(): { [key: string]: string } {
189
189
  return {
190
190
  headers: 'headers',
@@ -296,9 +296,9 @@ export class CreateRuleResponseBody extends $tea.Model {
296
296
  }
297
297
 
298
298
  export class CreateRuleResponse extends $tea.Model {
299
- headers: { [key: string]: string };
300
- statusCode: number;
301
- body: CreateRuleResponseBody;
299
+ headers?: { [key: string]: string };
300
+ statusCode?: number;
301
+ body?: CreateRuleResponseBody;
302
302
  static names(): { [key: string]: string } {
303
303
  return {
304
304
  headers: 'headers',
@@ -398,9 +398,9 @@ export class CreateScanTaskResponseBody extends $tea.Model {
398
398
  }
399
399
 
400
400
  export class CreateScanTaskResponse extends $tea.Model {
401
- headers: { [key: string]: string };
402
- statusCode: number;
403
- body: CreateScanTaskResponseBody;
401
+ headers?: { [key: string]: string };
402
+ statusCode?: number;
403
+ body?: CreateScanTaskResponseBody;
404
404
  static names(): { [key: string]: string } {
405
405
  return {
406
406
  headers: 'headers',
@@ -470,9 +470,9 @@ export class CreateSlrRoleResponseBody extends $tea.Model {
470
470
  }
471
471
 
472
472
  export class CreateSlrRoleResponse extends $tea.Model {
473
- headers: { [key: string]: string };
474
- statusCode: number;
475
- body: CreateSlrRoleResponseBody;
473
+ headers?: { [key: string]: string };
474
+ statusCode?: number;
475
+ body?: CreateSlrRoleResponseBody;
476
476
  static names(): { [key: string]: string } {
477
477
  return {
478
478
  headers: 'headers',
@@ -542,9 +542,9 @@ export class DeleteDataLimitResponseBody extends $tea.Model {
542
542
  }
543
543
 
544
544
  export class DeleteDataLimitResponse extends $tea.Model {
545
- headers: { [key: string]: string };
546
- statusCode: number;
547
- body: DeleteDataLimitResponseBody;
545
+ headers?: { [key: string]: string };
546
+ statusCode?: number;
547
+ body?: DeleteDataLimitResponseBody;
548
548
  static names(): { [key: string]: string } {
549
549
  return {
550
550
  headers: 'headers',
@@ -614,9 +614,9 @@ export class DeleteRuleResponseBody extends $tea.Model {
614
614
  }
615
615
 
616
616
  export class DeleteRuleResponse extends $tea.Model {
617
- headers: { [key: string]: string };
618
- statusCode: number;
619
- body: DeleteRuleResponseBody;
617
+ headers?: { [key: string]: string };
618
+ statusCode?: number;
619
+ body?: DeleteRuleResponseBody;
620
620
  static names(): { [key: string]: string } {
621
621
  return {
622
622
  headers: 'headers',
@@ -701,9 +701,9 @@ export class DescribeCategoryTemplateListResponseBody extends $tea.Model {
701
701
  }
702
702
 
703
703
  export class DescribeCategoryTemplateListResponse extends $tea.Model {
704
- headers: { [key: string]: string };
705
- statusCode: number;
706
- body: DescribeCategoryTemplateListResponseBody;
704
+ headers?: { [key: string]: string };
705
+ statusCode?: number;
706
+ body?: DescribeCategoryTemplateListResponseBody;
707
707
  static names(): { [key: string]: string } {
708
708
  return {
709
709
  headers: 'headers',
@@ -791,9 +791,9 @@ export class DescribeCategoryTemplateRuleListResponseBody extends $tea.Model {
791
791
  }
792
792
 
793
793
  export class DescribeCategoryTemplateRuleListResponse extends $tea.Model {
794
- headers: { [key: string]: string };
795
- statusCode: number;
796
- body: DescribeCategoryTemplateRuleListResponseBody;
794
+ headers?: { [key: string]: string };
795
+ statusCode?: number;
796
+ body?: DescribeCategoryTemplateRuleListResponseBody;
797
797
  static names(): { [key: string]: string } {
798
798
  return {
799
799
  headers: 'headers',
@@ -902,9 +902,9 @@ export class DescribeColumnsResponseBody extends $tea.Model {
902
902
  }
903
903
 
904
904
  export class DescribeColumnsResponse extends $tea.Model {
905
- headers: { [key: string]: string };
906
- statusCode: number;
907
- body: DescribeColumnsResponseBody;
905
+ headers?: { [key: string]: string };
906
+ statusCode?: number;
907
+ body?: DescribeColumnsResponseBody;
908
908
  static names(): { [key: string]: string } {
909
909
  return {
910
910
  headers: 'headers',
@@ -1013,9 +1013,9 @@ export class DescribeColumnsV2ResponseBody extends $tea.Model {
1013
1013
  }
1014
1014
 
1015
1015
  export class DescribeColumnsV2Response extends $tea.Model {
1016
- headers: { [key: string]: string };
1017
- statusCode: number;
1018
- body: DescribeColumnsV2ResponseBody;
1016
+ headers?: { [key: string]: string };
1017
+ statusCode?: number;
1018
+ body?: DescribeColumnsV2ResponseBody;
1019
1019
  static names(): { [key: string]: string } {
1020
1020
  return {
1021
1021
  headers: 'headers',
@@ -1079,9 +1079,9 @@ export class DescribeConfigsResponseBody extends $tea.Model {
1079
1079
  }
1080
1080
 
1081
1081
  export class DescribeConfigsResponse extends $tea.Model {
1082
- headers: { [key: string]: string };
1083
- statusCode: number;
1084
- body: DescribeConfigsResponseBody;
1082
+ headers?: { [key: string]: string };
1083
+ statusCode?: number;
1084
+ body?: DescribeConfigsResponseBody;
1085
1085
  static names(): { [key: string]: string } {
1086
1086
  return {
1087
1087
  headers: 'headers',
@@ -1172,9 +1172,9 @@ export class DescribeDataAssetsResponseBody extends $tea.Model {
1172
1172
  }
1173
1173
 
1174
1174
  export class DescribeDataAssetsResponse extends $tea.Model {
1175
- headers: { [key: string]: string };
1176
- statusCode: number;
1177
- body: DescribeDataAssetsResponseBody;
1175
+ headers?: { [key: string]: string };
1176
+ statusCode?: number;
1177
+ body?: DescribeDataAssetsResponseBody;
1178
1178
  static names(): { [key: string]: string } {
1179
1179
  return {
1180
1180
  headers: 'headers',
@@ -1247,9 +1247,9 @@ export class DescribeDataLimitDetailResponseBody extends $tea.Model {
1247
1247
  }
1248
1248
 
1249
1249
  export class DescribeDataLimitDetailResponse extends $tea.Model {
1250
- headers: { [key: string]: string };
1251
- statusCode: number;
1252
- body: DescribeDataLimitDetailResponseBody;
1250
+ headers?: { [key: string]: string };
1251
+ statusCode?: number;
1252
+ body?: DescribeDataLimitDetailResponseBody;
1253
1253
  static names(): { [key: string]: string } {
1254
1254
  return {
1255
1255
  headers: 'headers',
@@ -1322,9 +1322,9 @@ export class DescribeDataLimitSetResponseBody extends $tea.Model {
1322
1322
  }
1323
1323
 
1324
1324
  export class DescribeDataLimitSetResponse extends $tea.Model {
1325
- headers: { [key: string]: string };
1326
- statusCode: number;
1327
- body: DescribeDataLimitSetResponseBody;
1325
+ headers?: { [key: string]: string };
1326
+ statusCode?: number;
1327
+ body?: DescribeDataLimitSetResponseBody;
1328
1328
  static names(): { [key: string]: string } {
1329
1329
  return {
1330
1330
  headers: 'headers',
@@ -1436,9 +1436,9 @@ export class DescribeDataLimitsResponseBody extends $tea.Model {
1436
1436
  }
1437
1437
 
1438
1438
  export class DescribeDataLimitsResponse extends $tea.Model {
1439
- headers: { [key: string]: string };
1440
- statusCode: number;
1441
- body: DescribeDataLimitsResponseBody;
1439
+ headers?: { [key: string]: string };
1440
+ statusCode?: number;
1441
+ body?: DescribeDataLimitsResponseBody;
1442
1442
  static names(): { [key: string]: string } {
1443
1443
  return {
1444
1444
  headers: 'headers',
@@ -1541,9 +1541,9 @@ export class DescribeDataMaskingRunHistoryResponseBody extends $tea.Model {
1541
1541
  }
1542
1542
 
1543
1543
  export class DescribeDataMaskingRunHistoryResponse extends $tea.Model {
1544
- headers: { [key: string]: string };
1545
- statusCode: number;
1546
- body: DescribeDataMaskingRunHistoryResponseBody;
1544
+ headers?: { [key: string]: string };
1545
+ statusCode?: number;
1546
+ body?: DescribeDataMaskingRunHistoryResponseBody;
1547
1547
  static names(): { [key: string]: string } {
1548
1548
  return {
1549
1549
  headers: 'headers',
@@ -1634,9 +1634,9 @@ export class DescribeDataMaskingTasksResponseBody extends $tea.Model {
1634
1634
  }
1635
1635
 
1636
1636
  export class DescribeDataMaskingTasksResponse extends $tea.Model {
1637
- headers: { [key: string]: string };
1638
- statusCode: number;
1639
- body: DescribeDataMaskingTasksResponseBody;
1637
+ headers?: { [key: string]: string };
1638
+ statusCode?: number;
1639
+ body?: DescribeDataMaskingTasksResponseBody;
1640
1640
  static names(): { [key: string]: string } {
1641
1641
  return {
1642
1642
  headers: 'headers',
@@ -1727,9 +1727,9 @@ export class DescribeDataObjectColumnDetailResponseBody extends $tea.Model {
1727
1727
  }
1728
1728
 
1729
1729
  export class DescribeDataObjectColumnDetailResponse extends $tea.Model {
1730
- headers: { [key: string]: string };
1731
- statusCode: number;
1732
- body: DescribeDataObjectColumnDetailResponseBody;
1730
+ headers?: { [key: string]: string };
1731
+ statusCode?: number;
1732
+ body?: DescribeDataObjectColumnDetailResponseBody;
1733
1733
  static names(): { [key: string]: string } {
1734
1734
  return {
1735
1735
  headers: 'headers',
@@ -1820,9 +1820,9 @@ export class DescribeDataObjectColumnDetailV2ResponseBody extends $tea.Model {
1820
1820
  }
1821
1821
 
1822
1822
  export class DescribeDataObjectColumnDetailV2Response extends $tea.Model {
1823
- headers: { [key: string]: string };
1824
- statusCode: number;
1825
- body: DescribeDataObjectColumnDetailV2ResponseBody;
1823
+ headers?: { [key: string]: string };
1824
+ statusCode?: number;
1825
+ body?: DescribeDataObjectColumnDetailV2ResponseBody;
1826
1826
  static names(): { [key: string]: string } {
1827
1827
  return {
1828
1828
  headers: 'headers',
@@ -1940,9 +1940,9 @@ export class DescribeDataObjectsResponseBody extends $tea.Model {
1940
1940
  }
1941
1941
 
1942
1942
  export class DescribeDataObjectsResponse extends $tea.Model {
1943
- headers: { [key: string]: string };
1944
- statusCode: number;
1945
- body: DescribeDataObjectsResponseBody;
1943
+ headers?: { [key: string]: string };
1944
+ statusCode?: number;
1945
+ body?: DescribeDataObjectsResponseBody;
1946
1946
  static names(): { [key: string]: string } {
1947
1947
  return {
1948
1948
  headers: 'headers',
@@ -2006,9 +2006,9 @@ export class DescribeDocTypesResponseBody extends $tea.Model {
2006
2006
  }
2007
2007
 
2008
2008
  export class DescribeDocTypesResponse extends $tea.Model {
2009
- headers: { [key: string]: string };
2010
- statusCode: number;
2011
- body: DescribeDocTypesResponseBody;
2009
+ headers?: { [key: string]: string };
2010
+ statusCode?: number;
2011
+ body?: DescribeDocTypesResponseBody;
2012
2012
  static names(): { [key: string]: string } {
2013
2013
  return {
2014
2014
  headers: 'headers',
@@ -2075,9 +2075,9 @@ export class DescribeEventDetailResponseBody extends $tea.Model {
2075
2075
  }
2076
2076
 
2077
2077
  export class DescribeEventDetailResponse extends $tea.Model {
2078
- headers: { [key: string]: string };
2079
- statusCode: number;
2080
- body: DescribeEventDetailResponseBody;
2078
+ headers?: { [key: string]: string };
2079
+ statusCode?: number;
2080
+ body?: DescribeEventDetailResponseBody;
2081
2081
  static names(): { [key: string]: string } {
2082
2082
  return {
2083
2083
  headers: 'headers',
@@ -2153,9 +2153,9 @@ export class DescribeEventTypesResponseBody extends $tea.Model {
2153
2153
  }
2154
2154
 
2155
2155
  export class DescribeEventTypesResponse extends $tea.Model {
2156
- headers: { [key: string]: string };
2157
- statusCode: number;
2158
- body: DescribeEventTypesResponseBody;
2156
+ headers?: { [key: string]: string };
2157
+ statusCode?: number;
2158
+ body?: DescribeEventTypesResponseBody;
2159
2159
  static names(): { [key: string]: string } {
2160
2160
  return {
2161
2161
  headers: 'headers',
@@ -2193,6 +2193,7 @@ export class DescribeEventsRequest extends $tea.Model {
2193
2193
  typeCode?: string;
2194
2194
  userId?: number;
2195
2195
  userName?: string;
2196
+ warnLevel?: number;
2196
2197
  static names(): { [key: string]: string } {
2197
2198
  return {
2198
2199
  currentPage: 'CurrentPage',
@@ -2210,6 +2211,7 @@ export class DescribeEventsRequest extends $tea.Model {
2210
2211
  typeCode: 'TypeCode',
2211
2212
  userId: 'UserId',
2212
2213
  userName: 'UserName',
2214
+ warnLevel: 'WarnLevel',
2213
2215
  };
2214
2216
  }
2215
2217
 
@@ -2230,6 +2232,7 @@ export class DescribeEventsRequest extends $tea.Model {
2230
2232
  typeCode: 'string',
2231
2233
  userId: 'number',
2232
2234
  userName: 'string',
2235
+ warnLevel: 'number',
2233
2236
  };
2234
2237
  }
2235
2238
 
@@ -2270,9 +2273,9 @@ export class DescribeEventsResponseBody extends $tea.Model {
2270
2273
  }
2271
2274
 
2272
2275
  export class DescribeEventsResponse extends $tea.Model {
2273
- headers: { [key: string]: string };
2274
- statusCode: number;
2275
- body: DescribeEventsResponseBody;
2276
+ headers?: { [key: string]: string };
2277
+ statusCode?: number;
2278
+ body?: DescribeEventsResponseBody;
2276
2279
  static names(): { [key: string]: string } {
2277
2280
  return {
2278
2281
  headers: 'headers',
@@ -2381,9 +2384,9 @@ export class DescribeInstanceSourcesResponseBody extends $tea.Model {
2381
2384
  }
2382
2385
 
2383
2386
  export class DescribeInstanceSourcesResponse extends $tea.Model {
2384
- headers: { [key: string]: string };
2385
- statusCode: number;
2386
- body: DescribeInstanceSourcesResponseBody;
2387
+ headers?: { [key: string]: string };
2388
+ statusCode?: number;
2389
+ body?: DescribeInstanceSourcesResponseBody;
2387
2390
  static names(): { [key: string]: string } {
2388
2391
  return {
2389
2392
  headers: 'headers',
@@ -2483,9 +2486,9 @@ export class DescribeInstancesResponseBody extends $tea.Model {
2483
2486
  }
2484
2487
 
2485
2488
  export class DescribeInstancesResponse extends $tea.Model {
2486
- headers: { [key: string]: string };
2487
- statusCode: number;
2488
- body: DescribeInstancesResponseBody;
2489
+ headers?: { [key: string]: string };
2490
+ statusCode?: number;
2491
+ body?: DescribeInstancesResponseBody;
2489
2492
  static names(): { [key: string]: string } {
2490
2493
  return {
2491
2494
  headers: 'headers',
@@ -2552,9 +2555,9 @@ export class DescribeOssObjectDetailResponseBody extends $tea.Model {
2552
2555
  }
2553
2556
 
2554
2557
  export class DescribeOssObjectDetailResponse extends $tea.Model {
2555
- headers: { [key: string]: string };
2556
- statusCode: number;
2557
- body: DescribeOssObjectDetailResponseBody;
2558
+ headers?: { [key: string]: string };
2559
+ statusCode?: number;
2560
+ body?: DescribeOssObjectDetailResponseBody;
2558
2561
  static names(): { [key: string]: string } {
2559
2562
  return {
2560
2563
  headers: 'headers',
@@ -2621,9 +2624,9 @@ export class DescribeOssObjectDetailV2ResponseBody extends $tea.Model {
2621
2624
  }
2622
2625
 
2623
2626
  export class DescribeOssObjectDetailV2Response extends $tea.Model {
2624
- headers: { [key: string]: string };
2625
- statusCode: number;
2626
- body: DescribeOssObjectDetailV2ResponseBody;
2627
+ headers?: { [key: string]: string };
2628
+ statusCode?: number;
2629
+ body?: DescribeOssObjectDetailV2ResponseBody;
2627
2630
  static names(): { [key: string]: string } {
2628
2631
  return {
2629
2632
  headers: 'headers',
@@ -2729,9 +2732,9 @@ export class DescribeOssObjectsResponseBody extends $tea.Model {
2729
2732
  }
2730
2733
 
2731
2734
  export class DescribeOssObjectsResponse extends $tea.Model {
2732
- headers: { [key: string]: string };
2733
- statusCode: number;
2734
- body: DescribeOssObjectsResponseBody;
2735
+ headers?: { [key: string]: string };
2736
+ statusCode?: number;
2737
+ body?: DescribeOssObjectsResponseBody;
2735
2738
  static names(): { [key: string]: string } {
2736
2739
  return {
2737
2740
  headers: 'headers',
@@ -2825,9 +2828,9 @@ export class DescribePackagesResponseBody extends $tea.Model {
2825
2828
  }
2826
2829
 
2827
2830
  export class DescribePackagesResponse extends $tea.Model {
2828
- headers: { [key: string]: string };
2829
- statusCode: number;
2830
- body: DescribePackagesResponseBody;
2831
+ headers?: { [key: string]: string };
2832
+ statusCode?: number;
2833
+ body?: DescribePackagesResponseBody;
2831
2834
  static names(): { [key: string]: string } {
2832
2835
  return {
2833
2836
  headers: 'headers',
@@ -2849,6 +2852,111 @@ export class DescribePackagesResponse extends $tea.Model {
2849
2852
  }
2850
2853
  }
2851
2854
 
2855
+ export class DescribeParentInstanceRequest extends $tea.Model {
2856
+ authStatus?: number;
2857
+ checkStatus?: number;
2858
+ clusterStatus?: string;
2859
+ currentPage?: number;
2860
+ dbName?: string;
2861
+ engineType?: string;
2862
+ instanceId?: string;
2863
+ lang?: string;
2864
+ pageSize?: number;
2865
+ resourceType?: number;
2866
+ serviceRegionId?: string;
2867
+ static names(): { [key: string]: string } {
2868
+ return {
2869
+ authStatus: 'AuthStatus',
2870
+ checkStatus: 'CheckStatus',
2871
+ clusterStatus: 'ClusterStatus',
2872
+ currentPage: 'CurrentPage',
2873
+ dbName: 'DbName',
2874
+ engineType: 'EngineType',
2875
+ instanceId: 'InstanceId',
2876
+ lang: 'Lang',
2877
+ pageSize: 'PageSize',
2878
+ resourceType: 'ResourceType',
2879
+ serviceRegionId: 'ServiceRegionId',
2880
+ };
2881
+ }
2882
+
2883
+ static types(): { [key: string]: any } {
2884
+ return {
2885
+ authStatus: 'number',
2886
+ checkStatus: 'number',
2887
+ clusterStatus: 'string',
2888
+ currentPage: 'number',
2889
+ dbName: 'string',
2890
+ engineType: 'string',
2891
+ instanceId: 'string',
2892
+ lang: 'string',
2893
+ pageSize: 'number',
2894
+ resourceType: 'number',
2895
+ serviceRegionId: 'string',
2896
+ };
2897
+ }
2898
+
2899
+ constructor(map?: { [key: string]: any }) {
2900
+ super(map);
2901
+ }
2902
+ }
2903
+
2904
+ export class DescribeParentInstanceResponseBody extends $tea.Model {
2905
+ currentPage?: number;
2906
+ items?: DescribeParentInstanceResponseBodyItems[];
2907
+ pageSize?: number;
2908
+ requestId?: string;
2909
+ totalCount?: number;
2910
+ static names(): { [key: string]: string } {
2911
+ return {
2912
+ currentPage: 'CurrentPage',
2913
+ items: 'Items',
2914
+ pageSize: 'PageSize',
2915
+ requestId: 'RequestId',
2916
+ totalCount: 'TotalCount',
2917
+ };
2918
+ }
2919
+
2920
+ static types(): { [key: string]: any } {
2921
+ return {
2922
+ currentPage: 'number',
2923
+ items: { 'type': 'array', 'itemType': DescribeParentInstanceResponseBodyItems },
2924
+ pageSize: 'number',
2925
+ requestId: 'string',
2926
+ totalCount: 'number',
2927
+ };
2928
+ }
2929
+
2930
+ constructor(map?: { [key: string]: any }) {
2931
+ super(map);
2932
+ }
2933
+ }
2934
+
2935
+ export class DescribeParentInstanceResponse extends $tea.Model {
2936
+ headers?: { [key: string]: string };
2937
+ statusCode?: number;
2938
+ body?: DescribeParentInstanceResponseBody;
2939
+ static names(): { [key: string]: string } {
2940
+ return {
2941
+ headers: 'headers',
2942
+ statusCode: 'statusCode',
2943
+ body: 'body',
2944
+ };
2945
+ }
2946
+
2947
+ static types(): { [key: string]: any } {
2948
+ return {
2949
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2950
+ statusCode: 'number',
2951
+ body: DescribeParentInstanceResponseBody,
2952
+ };
2953
+ }
2954
+
2955
+ constructor(map?: { [key: string]: any }) {
2956
+ super(map);
2957
+ }
2958
+ }
2959
+
2852
2960
  export class DescribeRiskLevelsRequest extends $tea.Model {
2853
2961
  featureType?: number;
2854
2962
  lang?: string;
@@ -2897,9 +3005,9 @@ export class DescribeRiskLevelsResponseBody extends $tea.Model {
2897
3005
  }
2898
3006
 
2899
3007
  export class DescribeRiskLevelsResponse extends $tea.Model {
2900
- headers: { [key: string]: string };
2901
- statusCode: number;
2902
- body: DescribeRiskLevelsResponseBody;
3008
+ headers?: { [key: string]: string };
3009
+ statusCode?: number;
3010
+ body?: DescribeRiskLevelsResponseBody;
2903
3011
  static names(): { [key: string]: string } {
2904
3012
  return {
2905
3013
  headers: 'headers',
@@ -3023,9 +3131,9 @@ export class DescribeRulesResponseBody extends $tea.Model {
3023
3131
  }
3024
3132
 
3025
3133
  export class DescribeRulesResponse extends $tea.Model {
3026
- headers: { [key: string]: string };
3027
- statusCode: number;
3028
- body: DescribeRulesResponseBody;
3134
+ headers?: { [key: string]: string };
3135
+ statusCode?: number;
3136
+ body?: DescribeRulesResponseBody;
3029
3137
  static names(): { [key: string]: string } {
3030
3138
  return {
3031
3139
  headers: 'headers',
@@ -3131,9 +3239,9 @@ export class DescribeTablesResponseBody extends $tea.Model {
3131
3239
  }
3132
3240
 
3133
3241
  export class DescribeTablesResponse extends $tea.Model {
3134
- headers: { [key: string]: string };
3135
- statusCode: number;
3136
- body: DescribeTablesResponseBody;
3242
+ headers?: { [key: string]: string };
3243
+ statusCode?: number;
3244
+ body?: DescribeTablesResponseBody;
3137
3245
  static names(): { [key: string]: string } {
3138
3246
  return {
3139
3247
  headers: 'headers',
@@ -3203,9 +3311,9 @@ export class DescribeTemplateAllRulesResponseBody extends $tea.Model {
3203
3311
  }
3204
3312
 
3205
3313
  export class DescribeTemplateAllRulesResponse extends $tea.Model {
3206
- headers: { [key: string]: string };
3207
- statusCode: number;
3208
- body: DescribeTemplateAllRulesResponseBody;
3314
+ headers?: { [key: string]: string };
3315
+ statusCode?: number;
3316
+ body?: DescribeTemplateAllRulesResponseBody;
3209
3317
  static names(): { [key: string]: string } {
3210
3318
  return {
3211
3319
  headers: 'headers',
@@ -3272,9 +3380,9 @@ export class DescribeUserStatusResponseBody extends $tea.Model {
3272
3380
  }
3273
3381
 
3274
3382
  export class DescribeUserStatusResponse extends $tea.Model {
3275
- headers: { [key: string]: string };
3276
- statusCode: number;
3277
- body: DescribeUserStatusResponseBody;
3383
+ headers?: { [key: string]: string };
3384
+ statusCode?: number;
3385
+ body?: DescribeUserStatusResponseBody;
3278
3386
  static names(): { [key: string]: string } {
3279
3387
  return {
3280
3388
  headers: 'headers',
@@ -3341,9 +3449,9 @@ export class DisableUserConfigResponseBody extends $tea.Model {
3341
3449
  }
3342
3450
 
3343
3451
  export class DisableUserConfigResponse extends $tea.Model {
3344
- headers: { [key: string]: string };
3345
- statusCode: number;
3346
- body: DisableUserConfigResponseBody;
3452
+ headers?: { [key: string]: string };
3453
+ statusCode?: number;
3454
+ body?: DisableUserConfigResponseBody;
3347
3455
  static names(): { [key: string]: string } {
3348
3456
  return {
3349
3457
  headers: 'headers',
@@ -3416,9 +3524,9 @@ export class ExecDatamaskResponseBody extends $tea.Model {
3416
3524
  }
3417
3525
 
3418
3526
  export class ExecDatamaskResponse extends $tea.Model {
3419
- headers: { [key: string]: string };
3420
- statusCode: number;
3421
- body: ExecDatamaskResponseBody;
3527
+ headers?: { [key: string]: string };
3528
+ statusCode?: number;
3529
+ body?: ExecDatamaskResponseBody;
3422
3530
  static names(): { [key: string]: string } {
3423
3531
  return {
3424
3532
  headers: 'headers',
@@ -3482,9 +3590,9 @@ export class ManualTriggerMaskingProcessResponseBody extends $tea.Model {
3482
3590
  }
3483
3591
 
3484
3592
  export class ManualTriggerMaskingProcessResponse extends $tea.Model {
3485
- headers: { [key: string]: string };
3486
- statusCode: number;
3487
- body: ManualTriggerMaskingProcessResponseBody;
3593
+ headers?: { [key: string]: string };
3594
+ statusCode?: number;
3595
+ body?: ManualTriggerMaskingProcessResponseBody;
3488
3596
  static names(): { [key: string]: string } {
3489
3597
  return {
3490
3598
  headers: 'headers',
@@ -3593,9 +3701,9 @@ export class ModifyDataLimitResponseBody extends $tea.Model {
3593
3701
  }
3594
3702
 
3595
3703
  export class ModifyDataLimitResponse extends $tea.Model {
3596
- headers: { [key: string]: string };
3597
- statusCode: number;
3598
- body: ModifyDataLimitResponseBody;
3704
+ headers?: { [key: string]: string };
3705
+ statusCode?: number;
3706
+ body?: ModifyDataLimitResponseBody;
3599
3707
  static names(): { [key: string]: string } {
3600
3708
  return {
3601
3709
  headers: 'headers',
@@ -3662,9 +3770,9 @@ export class ModifyDefaultLevelResponseBody extends $tea.Model {
3662
3770
  }
3663
3771
 
3664
3772
  export class ModifyDefaultLevelResponse extends $tea.Model {
3665
- headers: { [key: string]: string };
3666
- statusCode: number;
3667
- body: ModifyDefaultLevelResponseBody;
3773
+ headers?: { [key: string]: string };
3774
+ statusCode?: number;
3775
+ body?: ModifyDefaultLevelResponseBody;
3668
3776
  static names(): { [key: string]: string } {
3669
3777
  return {
3670
3778
  headers: 'headers',
@@ -3737,9 +3845,9 @@ export class ModifyEventStatusResponseBody extends $tea.Model {
3737
3845
  }
3738
3846
 
3739
3847
  export class ModifyEventStatusResponse extends $tea.Model {
3740
- headers: { [key: string]: string };
3741
- statusCode: number;
3742
- body: ModifyEventStatusResponseBody;
3848
+ headers?: { [key: string]: string };
3849
+ statusCode?: number;
3850
+ body?: ModifyEventStatusResponseBody;
3743
3851
  static names(): { [key: string]: string } {
3744
3852
  return {
3745
3853
  headers: 'headers',
@@ -3806,9 +3914,9 @@ export class ModifyEventTypeStatusResponseBody extends $tea.Model {
3806
3914
  }
3807
3915
 
3808
3916
  export class ModifyEventTypeStatusResponse extends $tea.Model {
3809
- headers: { [key: string]: string };
3810
- statusCode: number;
3811
- body: ModifyEventTypeStatusResponseBody;
3917
+ headers?: { [key: string]: string };
3918
+ statusCode?: number;
3919
+ body?: ModifyEventTypeStatusResponseBody;
3812
3920
  static names(): { [key: string]: string } {
3813
3921
  return {
3814
3922
  headers: 'headers',
@@ -3875,9 +3983,9 @@ export class ModifyReportTaskStatusResponseBody extends $tea.Model {
3875
3983
  }
3876
3984
 
3877
3985
  export class ModifyReportTaskStatusResponse extends $tea.Model {
3878
- headers: { [key: string]: string };
3879
- statusCode: number;
3880
- body: ModifyReportTaskStatusResponseBody;
3986
+ headers?: { [key: string]: string };
3987
+ statusCode?: number;
3988
+ body?: ModifyReportTaskStatusResponseBody;
3881
3989
  static names(): { [key: string]: string } {
3882
3990
  return {
3883
3991
  headers: 'headers',
@@ -3971,9 +4079,9 @@ export class ModifyRuleResponseBody extends $tea.Model {
3971
4079
  }
3972
4080
 
3973
4081
  export class ModifyRuleResponse extends $tea.Model {
3974
- headers: { [key: string]: string };
3975
- statusCode: number;
3976
- body: ModifyRuleResponseBody;
4082
+ headers?: { [key: string]: string };
4083
+ statusCode?: number;
4084
+ body?: ModifyRuleResponseBody;
3977
4085
  static names(): { [key: string]: string } {
3978
4086
  return {
3979
4087
  headers: 'headers',
@@ -4046,9 +4154,9 @@ export class ModifyRuleStatusResponseBody extends $tea.Model {
4046
4154
  }
4047
4155
 
4048
4156
  export class ModifyRuleStatusResponse extends $tea.Model {
4049
- headers: { [key: string]: string };
4050
- statusCode: number;
4051
- body: ModifyRuleStatusResponseBody;
4157
+ headers?: { [key: string]: string };
4158
+ statusCode?: number;
4159
+ body?: ModifyRuleStatusResponseBody;
4052
4160
  static names(): { [key: string]: string } {
4053
4161
  return {
4054
4162
  headers: 'headers',
@@ -4112,9 +4220,9 @@ export class StopMaskingProcessResponseBody extends $tea.Model {
4112
4220
  }
4113
4221
 
4114
4222
  export class StopMaskingProcessResponse extends $tea.Model {
4115
- headers: { [key: string]: string };
4116
- statusCode: number;
4117
- body: StopMaskingProcessResponseBody;
4223
+ headers?: { [key: string]: string };
4224
+ statusCode?: number;
4225
+ body?: StopMaskingProcessResponseBody;
4118
4226
  static names(): { [key: string]: string } {
4119
4227
  return {
4120
4228
  headers: 'headers',
@@ -6159,6 +6267,73 @@ export class DescribePackagesResponseBodyItems extends $tea.Model {
6159
6267
  }
6160
6268
  }
6161
6269
 
6270
+ export class DescribeParentInstanceResponseBodyItems extends $tea.Model {
6271
+ auditStatus?: number;
6272
+ authStatus?: number;
6273
+ clusterStatus?: string;
6274
+ connectNode?: string;
6275
+ dbNum?: string;
6276
+ engineType?: string;
6277
+ instanceDescription?: string;
6278
+ instanceId?: string;
6279
+ instanceSize?: number;
6280
+ localName?: string;
6281
+ parentId?: string;
6282
+ resourceType?: string;
6283
+ supportConnectNodes?: string;
6284
+ tenantId?: string;
6285
+ tenantName?: string;
6286
+ unConnectDbCount?: string;
6287
+ unSupportOneClickAuthReason?: string;
6288
+ static names(): { [key: string]: string } {
6289
+ return {
6290
+ auditStatus: 'AuditStatus',
6291
+ authStatus: 'AuthStatus',
6292
+ clusterStatus: 'ClusterStatus',
6293
+ connectNode: 'ConnectNode',
6294
+ dbNum: 'DbNum',
6295
+ engineType: 'EngineType',
6296
+ instanceDescription: 'InstanceDescription',
6297
+ instanceId: 'InstanceId',
6298
+ instanceSize: 'InstanceSize',
6299
+ localName: 'LocalName',
6300
+ parentId: 'ParentId',
6301
+ resourceType: 'ResourceType',
6302
+ supportConnectNodes: 'SupportConnectNodes',
6303
+ tenantId: 'TenantId',
6304
+ tenantName: 'TenantName',
6305
+ unConnectDbCount: 'UnConnectDbCount',
6306
+ unSupportOneClickAuthReason: 'UnSupportOneClickAuthReason',
6307
+ };
6308
+ }
6309
+
6310
+ static types(): { [key: string]: any } {
6311
+ return {
6312
+ auditStatus: 'number',
6313
+ authStatus: 'number',
6314
+ clusterStatus: 'string',
6315
+ connectNode: 'string',
6316
+ dbNum: 'string',
6317
+ engineType: 'string',
6318
+ instanceDescription: 'string',
6319
+ instanceId: 'string',
6320
+ instanceSize: 'number',
6321
+ localName: 'string',
6322
+ parentId: 'string',
6323
+ resourceType: 'string',
6324
+ supportConnectNodes: 'string',
6325
+ tenantId: 'string',
6326
+ tenantName: 'string',
6327
+ unConnectDbCount: 'string',
6328
+ unSupportOneClickAuthReason: 'string',
6329
+ };
6330
+ }
6331
+
6332
+ constructor(map?: { [key: string]: any }) {
6333
+ super(map);
6334
+ }
6335
+ }
6336
+
6162
6337
  export class DescribeRiskLevelsResponseBodyRiskLevelList extends $tea.Model {
6163
6338
  description?: string;
6164
6339
  id?: number;
@@ -7130,8 +7305,10 @@ export default class Client extends OpenApi {
7130
7305
 
7131
7306
  /**
7132
7307
  * You can call this operation to query the data in columns of a table that may contain sensitive data. This helps you analyze sensitive data.
7133
- * # Limits
7134
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
7308
+ * ## [](#)Precautions
7309
+ * The DescribeColumns operation is changed to DescribeColumnsV2. We recommend that you call the DescribeColumnsV2 operation when you develop your applications.
7310
+ * ## [](#qps)Limits
7311
+ * Each Alibaba Cloud account can call this operation up to 10 times per second. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
7135
7312
  *
7136
7313
  * @param request DescribeColumnsRequest
7137
7314
  * @param runtime runtime options for this request RuntimeOptions
@@ -7211,8 +7388,10 @@ export default class Client extends OpenApi {
7211
7388
 
7212
7389
  /**
7213
7390
  * You can call this operation to query the data in columns of a table that may contain sensitive data. This helps you analyze sensitive data.
7214
- * # Limits
7215
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
7391
+ * ## [](#)Precautions
7392
+ * The DescribeColumns operation is changed to DescribeColumnsV2. We recommend that you call the DescribeColumnsV2 operation when you develop your applications.
7393
+ * ## [](#qps)Limits
7394
+ * Each Alibaba Cloud account can call this operation up to 10 times per second. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
7216
7395
  *
7217
7396
  * @param request DescribeColumnsRequest
7218
7397
  * @return DescribeColumnsResponse
@@ -8091,6 +8270,10 @@ export default class Client extends OpenApi {
8091
8270
  query["UserName"] = request.userName;
8092
8271
  }
8093
8272
 
8273
+ if (!Util.isUnset(request.warnLevel)) {
8274
+ query["WarnLevel"] = request.warnLevel;
8275
+ }
8276
+
8094
8277
  let req = new $OpenApi.OpenApiRequest({
8095
8278
  query: OpenApiUtil.query(query),
8096
8279
  });
@@ -8298,9 +8481,11 @@ export default class Client extends OpenApi {
8298
8481
  }
8299
8482
 
8300
8483
  /**
8301
- * You can call this operation to query the details of an OSS object. This helps you locate sensitive data detected in OSS.
8302
- * ## Limits
8303
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
8484
+ * You can call this operation to query the details of an Object Storage Service (OSS) object. This helps you locate sensitive data detected in OSS.
8485
+ * ## [](#)Precautions
8486
+ * The DescribeOssObjectDetail operation is chagned to DescribeOssObjectDetailV2. We recommend that you call the DescribeOssObjectDetailV2 operation when you develop your applications.
8487
+ * ## [](#qps)Limits
8488
+ * Each Alibaba Cloud account can call this operation up to 10 times per second. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
8304
8489
  *
8305
8490
  * @param request DescribeOssObjectDetailRequest
8306
8491
  * @param runtime runtime options for this request RuntimeOptions
@@ -8335,9 +8520,11 @@ export default class Client extends OpenApi {
8335
8520
  }
8336
8521
 
8337
8522
  /**
8338
- * You can call this operation to query the details of an OSS object. This helps you locate sensitive data detected in OSS.
8339
- * ## Limits
8340
- * You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
8523
+ * You can call this operation to query the details of an Object Storage Service (OSS) object. This helps you locate sensitive data detected in OSS.
8524
+ * ## [](#)Precautions
8525
+ * The DescribeOssObjectDetail operation is chagned to DescribeOssObjectDetailV2. We recommend that you call the DescribeOssObjectDetailV2 operation when you develop your applications.
8526
+ * ## [](#qps)Limits
8527
+ * Each Alibaba Cloud account can call this operation up to 10 times per second. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
8341
8528
  *
8342
8529
  * @param request DescribeOssObjectDetailRequest
8343
8530
  * @return DescribeOssObjectDetailResponse
@@ -8527,6 +8714,75 @@ export default class Client extends OpenApi {
8527
8714
  return await this.describePackagesWithOptions(request, runtime);
8528
8715
  }
8529
8716
 
8717
+ async describeParentInstanceWithOptions(request: DescribeParentInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeParentInstanceResponse> {
8718
+ Util.validateModel(request);
8719
+ let query = { };
8720
+ if (!Util.isUnset(request.authStatus)) {
8721
+ query["AuthStatus"] = request.authStatus;
8722
+ }
8723
+
8724
+ if (!Util.isUnset(request.checkStatus)) {
8725
+ query["CheckStatus"] = request.checkStatus;
8726
+ }
8727
+
8728
+ if (!Util.isUnset(request.clusterStatus)) {
8729
+ query["ClusterStatus"] = request.clusterStatus;
8730
+ }
8731
+
8732
+ if (!Util.isUnset(request.currentPage)) {
8733
+ query["CurrentPage"] = request.currentPage;
8734
+ }
8735
+
8736
+ if (!Util.isUnset(request.dbName)) {
8737
+ query["DbName"] = request.dbName;
8738
+ }
8739
+
8740
+ if (!Util.isUnset(request.engineType)) {
8741
+ query["EngineType"] = request.engineType;
8742
+ }
8743
+
8744
+ if (!Util.isUnset(request.instanceId)) {
8745
+ query["InstanceId"] = request.instanceId;
8746
+ }
8747
+
8748
+ if (!Util.isUnset(request.lang)) {
8749
+ query["Lang"] = request.lang;
8750
+ }
8751
+
8752
+ if (!Util.isUnset(request.pageSize)) {
8753
+ query["PageSize"] = request.pageSize;
8754
+ }
8755
+
8756
+ if (!Util.isUnset(request.resourceType)) {
8757
+ query["ResourceType"] = request.resourceType;
8758
+ }
8759
+
8760
+ if (!Util.isUnset(request.serviceRegionId)) {
8761
+ query["ServiceRegionId"] = request.serviceRegionId;
8762
+ }
8763
+
8764
+ let req = new $OpenApi.OpenApiRequest({
8765
+ query: OpenApiUtil.query(query),
8766
+ });
8767
+ let params = new $OpenApi.Params({
8768
+ action: "DescribeParentInstance",
8769
+ version: "2019-01-03",
8770
+ protocol: "HTTPS",
8771
+ pathname: "/",
8772
+ method: "POST",
8773
+ authType: "AK",
8774
+ style: "RPC",
8775
+ reqBodyType: "formData",
8776
+ bodyType: "json",
8777
+ });
8778
+ return $tea.cast<DescribeParentInstanceResponse>(await this.callApi(params, req, runtime), new DescribeParentInstanceResponse({}));
8779
+ }
8780
+
8781
+ async describeParentInstance(request: DescribeParentInstanceRequest): Promise<DescribeParentInstanceResponse> {
8782
+ let runtime = new $Util.RuntimeOptions({ });
8783
+ return await this.describeParentInstanceWithOptions(request, runtime);
8784
+ }
8785
+
8530
8786
  /**
8531
8787
  * You can call this operation to query the sensitivity levels that are defined in the current rule template provided by DSC. This helps you learn about the number of times that each sensitivity level is referenced in the rule template and the highest sensitivity level.
8532
8788
  * # Limits