@alicloud/sddp20190103 1.1.3 → 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/dist/client.d.ts +225 -141
- package/dist/client.js +199 -2
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +382 -141
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
|
|
69
|
-
statusCode
|
|
70
|
-
body
|
|
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
|
|
186
|
-
statusCode
|
|
187
|
-
body
|
|
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
|
|
300
|
-
statusCode
|
|
301
|
-
body
|
|
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
|
|
402
|
-
statusCode
|
|
403
|
-
body
|
|
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
|
|
474
|
-
statusCode
|
|
475
|
-
body
|
|
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
|
|
546
|
-
statusCode
|
|
547
|
-
body
|
|
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
|
|
618
|
-
statusCode
|
|
619
|
-
body
|
|
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
|
|
705
|
-
statusCode
|
|
706
|
-
body
|
|
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
|
|
795
|
-
statusCode
|
|
796
|
-
body
|
|
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
|
|
906
|
-
statusCode
|
|
907
|
-
body
|
|
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
|
|
1017
|
-
statusCode
|
|
1018
|
-
body
|
|
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
|
|
1083
|
-
statusCode
|
|
1084
|
-
body
|
|
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
|
|
1176
|
-
statusCode
|
|
1177
|
-
body
|
|
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
|
|
1251
|
-
statusCode
|
|
1252
|
-
body
|
|
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
|
|
1326
|
-
statusCode
|
|
1327
|
-
body
|
|
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
|
|
1440
|
-
statusCode
|
|
1441
|
-
body
|
|
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
|
|
1545
|
-
statusCode
|
|
1546
|
-
body
|
|
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
|
|
1638
|
-
statusCode
|
|
1639
|
-
body
|
|
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
|
|
1731
|
-
statusCode
|
|
1732
|
-
body
|
|
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
|
|
1824
|
-
statusCode
|
|
1825
|
-
body
|
|
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
|
|
1944
|
-
statusCode
|
|
1945
|
-
body
|
|
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
|
|
2010
|
-
statusCode
|
|
2011
|
-
body
|
|
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
|
|
2079
|
-
statusCode
|
|
2080
|
-
body
|
|
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
|
|
2157
|
-
statusCode
|
|
2158
|
-
body
|
|
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',
|
|
@@ -2273,9 +2273,9 @@ export class DescribeEventsResponseBody extends $tea.Model {
|
|
|
2273
2273
|
}
|
|
2274
2274
|
|
|
2275
2275
|
export class DescribeEventsResponse extends $tea.Model {
|
|
2276
|
-
headers
|
|
2277
|
-
statusCode
|
|
2278
|
-
body
|
|
2276
|
+
headers?: { [key: string]: string };
|
|
2277
|
+
statusCode?: number;
|
|
2278
|
+
body?: DescribeEventsResponseBody;
|
|
2279
2279
|
static names(): { [key: string]: string } {
|
|
2280
2280
|
return {
|
|
2281
2281
|
headers: 'headers',
|
|
@@ -2384,9 +2384,9 @@ export class DescribeInstanceSourcesResponseBody extends $tea.Model {
|
|
|
2384
2384
|
}
|
|
2385
2385
|
|
|
2386
2386
|
export class DescribeInstanceSourcesResponse extends $tea.Model {
|
|
2387
|
-
headers
|
|
2388
|
-
statusCode
|
|
2389
|
-
body
|
|
2387
|
+
headers?: { [key: string]: string };
|
|
2388
|
+
statusCode?: number;
|
|
2389
|
+
body?: DescribeInstanceSourcesResponseBody;
|
|
2390
2390
|
static names(): { [key: string]: string } {
|
|
2391
2391
|
return {
|
|
2392
2392
|
headers: 'headers',
|
|
@@ -2486,9 +2486,9 @@ export class DescribeInstancesResponseBody extends $tea.Model {
|
|
|
2486
2486
|
}
|
|
2487
2487
|
|
|
2488
2488
|
export class DescribeInstancesResponse extends $tea.Model {
|
|
2489
|
-
headers
|
|
2490
|
-
statusCode
|
|
2491
|
-
body
|
|
2489
|
+
headers?: { [key: string]: string };
|
|
2490
|
+
statusCode?: number;
|
|
2491
|
+
body?: DescribeInstancesResponseBody;
|
|
2492
2492
|
static names(): { [key: string]: string } {
|
|
2493
2493
|
return {
|
|
2494
2494
|
headers: 'headers',
|
|
@@ -2555,9 +2555,9 @@ export class DescribeOssObjectDetailResponseBody extends $tea.Model {
|
|
|
2555
2555
|
}
|
|
2556
2556
|
|
|
2557
2557
|
export class DescribeOssObjectDetailResponse extends $tea.Model {
|
|
2558
|
-
headers
|
|
2559
|
-
statusCode
|
|
2560
|
-
body
|
|
2558
|
+
headers?: { [key: string]: string };
|
|
2559
|
+
statusCode?: number;
|
|
2560
|
+
body?: DescribeOssObjectDetailResponseBody;
|
|
2561
2561
|
static names(): { [key: string]: string } {
|
|
2562
2562
|
return {
|
|
2563
2563
|
headers: 'headers',
|
|
@@ -2624,9 +2624,9 @@ export class DescribeOssObjectDetailV2ResponseBody extends $tea.Model {
|
|
|
2624
2624
|
}
|
|
2625
2625
|
|
|
2626
2626
|
export class DescribeOssObjectDetailV2Response extends $tea.Model {
|
|
2627
|
-
headers
|
|
2628
|
-
statusCode
|
|
2629
|
-
body
|
|
2627
|
+
headers?: { [key: string]: string };
|
|
2628
|
+
statusCode?: number;
|
|
2629
|
+
body?: DescribeOssObjectDetailV2ResponseBody;
|
|
2630
2630
|
static names(): { [key: string]: string } {
|
|
2631
2631
|
return {
|
|
2632
2632
|
headers: 'headers',
|
|
@@ -2732,9 +2732,9 @@ export class DescribeOssObjectsResponseBody extends $tea.Model {
|
|
|
2732
2732
|
}
|
|
2733
2733
|
|
|
2734
2734
|
export class DescribeOssObjectsResponse extends $tea.Model {
|
|
2735
|
-
headers
|
|
2736
|
-
statusCode
|
|
2737
|
-
body
|
|
2735
|
+
headers?: { [key: string]: string };
|
|
2736
|
+
statusCode?: number;
|
|
2737
|
+
body?: DescribeOssObjectsResponseBody;
|
|
2738
2738
|
static names(): { [key: string]: string } {
|
|
2739
2739
|
return {
|
|
2740
2740
|
headers: 'headers',
|
|
@@ -2828,9 +2828,9 @@ export class DescribePackagesResponseBody extends $tea.Model {
|
|
|
2828
2828
|
}
|
|
2829
2829
|
|
|
2830
2830
|
export class DescribePackagesResponse extends $tea.Model {
|
|
2831
|
-
headers
|
|
2832
|
-
statusCode
|
|
2833
|
-
body
|
|
2831
|
+
headers?: { [key: string]: string };
|
|
2832
|
+
statusCode?: number;
|
|
2833
|
+
body?: DescribePackagesResponseBody;
|
|
2834
2834
|
static names(): { [key: string]: string } {
|
|
2835
2835
|
return {
|
|
2836
2836
|
headers: 'headers',
|
|
@@ -2852,6 +2852,111 @@ export class DescribePackagesResponse extends $tea.Model {
|
|
|
2852
2852
|
}
|
|
2853
2853
|
}
|
|
2854
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
|
+
|
|
2855
2960
|
export class DescribeRiskLevelsRequest extends $tea.Model {
|
|
2856
2961
|
featureType?: number;
|
|
2857
2962
|
lang?: string;
|
|
@@ -2900,9 +3005,9 @@ export class DescribeRiskLevelsResponseBody extends $tea.Model {
|
|
|
2900
3005
|
}
|
|
2901
3006
|
|
|
2902
3007
|
export class DescribeRiskLevelsResponse extends $tea.Model {
|
|
2903
|
-
headers
|
|
2904
|
-
statusCode
|
|
2905
|
-
body
|
|
3008
|
+
headers?: { [key: string]: string };
|
|
3009
|
+
statusCode?: number;
|
|
3010
|
+
body?: DescribeRiskLevelsResponseBody;
|
|
2906
3011
|
static names(): { [key: string]: string } {
|
|
2907
3012
|
return {
|
|
2908
3013
|
headers: 'headers',
|
|
@@ -3026,9 +3131,9 @@ export class DescribeRulesResponseBody extends $tea.Model {
|
|
|
3026
3131
|
}
|
|
3027
3132
|
|
|
3028
3133
|
export class DescribeRulesResponse extends $tea.Model {
|
|
3029
|
-
headers
|
|
3030
|
-
statusCode
|
|
3031
|
-
body
|
|
3134
|
+
headers?: { [key: string]: string };
|
|
3135
|
+
statusCode?: number;
|
|
3136
|
+
body?: DescribeRulesResponseBody;
|
|
3032
3137
|
static names(): { [key: string]: string } {
|
|
3033
3138
|
return {
|
|
3034
3139
|
headers: 'headers',
|
|
@@ -3134,9 +3239,9 @@ export class DescribeTablesResponseBody extends $tea.Model {
|
|
|
3134
3239
|
}
|
|
3135
3240
|
|
|
3136
3241
|
export class DescribeTablesResponse extends $tea.Model {
|
|
3137
|
-
headers
|
|
3138
|
-
statusCode
|
|
3139
|
-
body
|
|
3242
|
+
headers?: { [key: string]: string };
|
|
3243
|
+
statusCode?: number;
|
|
3244
|
+
body?: DescribeTablesResponseBody;
|
|
3140
3245
|
static names(): { [key: string]: string } {
|
|
3141
3246
|
return {
|
|
3142
3247
|
headers: 'headers',
|
|
@@ -3206,9 +3311,9 @@ export class DescribeTemplateAllRulesResponseBody extends $tea.Model {
|
|
|
3206
3311
|
}
|
|
3207
3312
|
|
|
3208
3313
|
export class DescribeTemplateAllRulesResponse extends $tea.Model {
|
|
3209
|
-
headers
|
|
3210
|
-
statusCode
|
|
3211
|
-
body
|
|
3314
|
+
headers?: { [key: string]: string };
|
|
3315
|
+
statusCode?: number;
|
|
3316
|
+
body?: DescribeTemplateAllRulesResponseBody;
|
|
3212
3317
|
static names(): { [key: string]: string } {
|
|
3213
3318
|
return {
|
|
3214
3319
|
headers: 'headers',
|
|
@@ -3275,9 +3380,9 @@ export class DescribeUserStatusResponseBody extends $tea.Model {
|
|
|
3275
3380
|
}
|
|
3276
3381
|
|
|
3277
3382
|
export class DescribeUserStatusResponse extends $tea.Model {
|
|
3278
|
-
headers
|
|
3279
|
-
statusCode
|
|
3280
|
-
body
|
|
3383
|
+
headers?: { [key: string]: string };
|
|
3384
|
+
statusCode?: number;
|
|
3385
|
+
body?: DescribeUserStatusResponseBody;
|
|
3281
3386
|
static names(): { [key: string]: string } {
|
|
3282
3387
|
return {
|
|
3283
3388
|
headers: 'headers',
|
|
@@ -3344,9 +3449,9 @@ export class DisableUserConfigResponseBody extends $tea.Model {
|
|
|
3344
3449
|
}
|
|
3345
3450
|
|
|
3346
3451
|
export class DisableUserConfigResponse extends $tea.Model {
|
|
3347
|
-
headers
|
|
3348
|
-
statusCode
|
|
3349
|
-
body
|
|
3452
|
+
headers?: { [key: string]: string };
|
|
3453
|
+
statusCode?: number;
|
|
3454
|
+
body?: DisableUserConfigResponseBody;
|
|
3350
3455
|
static names(): { [key: string]: string } {
|
|
3351
3456
|
return {
|
|
3352
3457
|
headers: 'headers',
|
|
@@ -3419,9 +3524,9 @@ export class ExecDatamaskResponseBody extends $tea.Model {
|
|
|
3419
3524
|
}
|
|
3420
3525
|
|
|
3421
3526
|
export class ExecDatamaskResponse extends $tea.Model {
|
|
3422
|
-
headers
|
|
3423
|
-
statusCode
|
|
3424
|
-
body
|
|
3527
|
+
headers?: { [key: string]: string };
|
|
3528
|
+
statusCode?: number;
|
|
3529
|
+
body?: ExecDatamaskResponseBody;
|
|
3425
3530
|
static names(): { [key: string]: string } {
|
|
3426
3531
|
return {
|
|
3427
3532
|
headers: 'headers',
|
|
@@ -3485,9 +3590,9 @@ export class ManualTriggerMaskingProcessResponseBody extends $tea.Model {
|
|
|
3485
3590
|
}
|
|
3486
3591
|
|
|
3487
3592
|
export class ManualTriggerMaskingProcessResponse extends $tea.Model {
|
|
3488
|
-
headers
|
|
3489
|
-
statusCode
|
|
3490
|
-
body
|
|
3593
|
+
headers?: { [key: string]: string };
|
|
3594
|
+
statusCode?: number;
|
|
3595
|
+
body?: ManualTriggerMaskingProcessResponseBody;
|
|
3491
3596
|
static names(): { [key: string]: string } {
|
|
3492
3597
|
return {
|
|
3493
3598
|
headers: 'headers',
|
|
@@ -3596,9 +3701,9 @@ export class ModifyDataLimitResponseBody extends $tea.Model {
|
|
|
3596
3701
|
}
|
|
3597
3702
|
|
|
3598
3703
|
export class ModifyDataLimitResponse extends $tea.Model {
|
|
3599
|
-
headers
|
|
3600
|
-
statusCode
|
|
3601
|
-
body
|
|
3704
|
+
headers?: { [key: string]: string };
|
|
3705
|
+
statusCode?: number;
|
|
3706
|
+
body?: ModifyDataLimitResponseBody;
|
|
3602
3707
|
static names(): { [key: string]: string } {
|
|
3603
3708
|
return {
|
|
3604
3709
|
headers: 'headers',
|
|
@@ -3665,9 +3770,9 @@ export class ModifyDefaultLevelResponseBody extends $tea.Model {
|
|
|
3665
3770
|
}
|
|
3666
3771
|
|
|
3667
3772
|
export class ModifyDefaultLevelResponse extends $tea.Model {
|
|
3668
|
-
headers
|
|
3669
|
-
statusCode
|
|
3670
|
-
body
|
|
3773
|
+
headers?: { [key: string]: string };
|
|
3774
|
+
statusCode?: number;
|
|
3775
|
+
body?: ModifyDefaultLevelResponseBody;
|
|
3671
3776
|
static names(): { [key: string]: string } {
|
|
3672
3777
|
return {
|
|
3673
3778
|
headers: 'headers',
|
|
@@ -3740,9 +3845,9 @@ export class ModifyEventStatusResponseBody extends $tea.Model {
|
|
|
3740
3845
|
}
|
|
3741
3846
|
|
|
3742
3847
|
export class ModifyEventStatusResponse extends $tea.Model {
|
|
3743
|
-
headers
|
|
3744
|
-
statusCode
|
|
3745
|
-
body
|
|
3848
|
+
headers?: { [key: string]: string };
|
|
3849
|
+
statusCode?: number;
|
|
3850
|
+
body?: ModifyEventStatusResponseBody;
|
|
3746
3851
|
static names(): { [key: string]: string } {
|
|
3747
3852
|
return {
|
|
3748
3853
|
headers: 'headers',
|
|
@@ -3809,9 +3914,9 @@ export class ModifyEventTypeStatusResponseBody extends $tea.Model {
|
|
|
3809
3914
|
}
|
|
3810
3915
|
|
|
3811
3916
|
export class ModifyEventTypeStatusResponse extends $tea.Model {
|
|
3812
|
-
headers
|
|
3813
|
-
statusCode
|
|
3814
|
-
body
|
|
3917
|
+
headers?: { [key: string]: string };
|
|
3918
|
+
statusCode?: number;
|
|
3919
|
+
body?: ModifyEventTypeStatusResponseBody;
|
|
3815
3920
|
static names(): { [key: string]: string } {
|
|
3816
3921
|
return {
|
|
3817
3922
|
headers: 'headers',
|
|
@@ -3878,9 +3983,9 @@ export class ModifyReportTaskStatusResponseBody extends $tea.Model {
|
|
|
3878
3983
|
}
|
|
3879
3984
|
|
|
3880
3985
|
export class ModifyReportTaskStatusResponse extends $tea.Model {
|
|
3881
|
-
headers
|
|
3882
|
-
statusCode
|
|
3883
|
-
body
|
|
3986
|
+
headers?: { [key: string]: string };
|
|
3987
|
+
statusCode?: number;
|
|
3988
|
+
body?: ModifyReportTaskStatusResponseBody;
|
|
3884
3989
|
static names(): { [key: string]: string } {
|
|
3885
3990
|
return {
|
|
3886
3991
|
headers: 'headers',
|
|
@@ -3974,9 +4079,9 @@ export class ModifyRuleResponseBody extends $tea.Model {
|
|
|
3974
4079
|
}
|
|
3975
4080
|
|
|
3976
4081
|
export class ModifyRuleResponse extends $tea.Model {
|
|
3977
|
-
headers
|
|
3978
|
-
statusCode
|
|
3979
|
-
body
|
|
4082
|
+
headers?: { [key: string]: string };
|
|
4083
|
+
statusCode?: number;
|
|
4084
|
+
body?: ModifyRuleResponseBody;
|
|
3980
4085
|
static names(): { [key: string]: string } {
|
|
3981
4086
|
return {
|
|
3982
4087
|
headers: 'headers',
|
|
@@ -4049,9 +4154,9 @@ export class ModifyRuleStatusResponseBody extends $tea.Model {
|
|
|
4049
4154
|
}
|
|
4050
4155
|
|
|
4051
4156
|
export class ModifyRuleStatusResponse extends $tea.Model {
|
|
4052
|
-
headers
|
|
4053
|
-
statusCode
|
|
4054
|
-
body
|
|
4157
|
+
headers?: { [key: string]: string };
|
|
4158
|
+
statusCode?: number;
|
|
4159
|
+
body?: ModifyRuleStatusResponseBody;
|
|
4055
4160
|
static names(): { [key: string]: string } {
|
|
4056
4161
|
return {
|
|
4057
4162
|
headers: 'headers',
|
|
@@ -4115,9 +4220,9 @@ export class StopMaskingProcessResponseBody extends $tea.Model {
|
|
|
4115
4220
|
}
|
|
4116
4221
|
|
|
4117
4222
|
export class StopMaskingProcessResponse extends $tea.Model {
|
|
4118
|
-
headers
|
|
4119
|
-
statusCode
|
|
4120
|
-
body
|
|
4223
|
+
headers?: { [key: string]: string };
|
|
4224
|
+
statusCode?: number;
|
|
4225
|
+
body?: StopMaskingProcessResponseBody;
|
|
4121
4226
|
static names(): { [key: string]: string } {
|
|
4122
4227
|
return {
|
|
4123
4228
|
headers: 'headers',
|
|
@@ -6162,6 +6267,73 @@ export class DescribePackagesResponseBodyItems extends $tea.Model {
|
|
|
6162
6267
|
}
|
|
6163
6268
|
}
|
|
6164
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
|
+
|
|
6165
6337
|
export class DescribeRiskLevelsResponseBodyRiskLevelList extends $tea.Model {
|
|
6166
6338
|
description?: string;
|
|
6167
6339
|
id?: number;
|
|
@@ -8542,6 +8714,75 @@ export default class Client extends OpenApi {
|
|
|
8542
8714
|
return await this.describePackagesWithOptions(request, runtime);
|
|
8543
8715
|
}
|
|
8544
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
|
+
|
|
8545
8786
|
/**
|
|
8546
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.
|
|
8547
8788
|
* # Limits
|