@alicloud/sddp20190103 1.0.3 → 1.0.6
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/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +99 -20
- package/dist/client.js +1444 -112
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +1739 -137
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
English | [简体中文](README-CN.md)
|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
# Alibaba Cloud Sddp SDK for NodeJS
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
If you use `npm` to manage your dependence, you can use the following command:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @alicloud/sddp20190103 -S
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Issues
|
|
14
|
+
[Opening an Issue](https://github.com/aliyun/alibabacloud-typescript-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
[Usage Document](https://github.com/aliyun/alibabacloud-typescript-sdk/blob/master/docs/Usage-EN.md#quick-examples)
|
|
18
|
+
|
|
19
|
+
## References
|
|
20
|
+
* [Latest Release](https://github.com/aliyun/alibabacloud-typescript-sdk/)
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
[Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
|
|
24
|
+
|
|
25
|
+
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
|
package/dist/client.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export declare class CreateConfigResponse extends $tea.Model {
|
|
|
50
50
|
export declare class CreateDataLimitRequest extends $tea.Model {
|
|
51
51
|
auditStatus?: number;
|
|
52
52
|
autoScan?: number;
|
|
53
|
+
enable?: number;
|
|
53
54
|
engineType?: string;
|
|
54
55
|
eventStatus?: number;
|
|
55
56
|
lang?: string;
|
|
@@ -155,6 +156,7 @@ export declare class CreateRuleResponse extends $tea.Model {
|
|
|
155
156
|
export declare class CreateScanTaskRequest extends $tea.Model {
|
|
156
157
|
dataLimitId?: number;
|
|
157
158
|
intervalDay?: number;
|
|
159
|
+
lang?: string;
|
|
158
160
|
ossScanPath?: string;
|
|
159
161
|
resourceType?: number;
|
|
160
162
|
runHour?: number;
|
|
@@ -201,6 +203,46 @@ export declare class CreateScanTaskResponse extends $tea.Model {
|
|
|
201
203
|
[key: string]: any;
|
|
202
204
|
});
|
|
203
205
|
}
|
|
206
|
+
export declare class CreateSlrRoleRequest extends $tea.Model {
|
|
207
|
+
lang?: string;
|
|
208
|
+
static names(): {
|
|
209
|
+
[key: string]: string;
|
|
210
|
+
};
|
|
211
|
+
static types(): {
|
|
212
|
+
[key: string]: any;
|
|
213
|
+
};
|
|
214
|
+
constructor(map?: {
|
|
215
|
+
[key: string]: any;
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
export declare class CreateSlrRoleResponseBody extends $tea.Model {
|
|
219
|
+
hasPermission?: boolean;
|
|
220
|
+
requestId?: string;
|
|
221
|
+
static names(): {
|
|
222
|
+
[key: string]: string;
|
|
223
|
+
};
|
|
224
|
+
static types(): {
|
|
225
|
+
[key: string]: any;
|
|
226
|
+
};
|
|
227
|
+
constructor(map?: {
|
|
228
|
+
[key: string]: any;
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
export declare class CreateSlrRoleResponse extends $tea.Model {
|
|
232
|
+
headers: {
|
|
233
|
+
[key: string]: string;
|
|
234
|
+
};
|
|
235
|
+
body: CreateSlrRoleResponseBody;
|
|
236
|
+
static names(): {
|
|
237
|
+
[key: string]: string;
|
|
238
|
+
};
|
|
239
|
+
static types(): {
|
|
240
|
+
[key: string]: any;
|
|
241
|
+
};
|
|
242
|
+
constructor(map?: {
|
|
243
|
+
[key: string]: any;
|
|
244
|
+
});
|
|
245
|
+
}
|
|
204
246
|
export declare class DeleteDataLimitRequest extends $tea.Model {
|
|
205
247
|
id?: number;
|
|
206
248
|
lang?: string;
|
|
@@ -283,12 +325,10 @@ export declare class DeleteRuleResponse extends $tea.Model {
|
|
|
283
325
|
}
|
|
284
326
|
export declare class DescribeCategoryTemplateRuleListRequest extends $tea.Model {
|
|
285
327
|
currentPage?: number;
|
|
286
|
-
customType?: number;
|
|
287
328
|
lang?: string;
|
|
288
329
|
pageSize?: number;
|
|
289
330
|
riskLevelId?: number;
|
|
290
331
|
status?: number;
|
|
291
|
-
templateId?: number;
|
|
292
332
|
static names(): {
|
|
293
333
|
[key: string]: string;
|
|
294
334
|
};
|
|
@@ -857,12 +897,17 @@ export declare class DescribeEventsResponse extends $tea.Model {
|
|
|
857
897
|
});
|
|
858
898
|
}
|
|
859
899
|
export declare class DescribeInstanceSourcesRequest extends $tea.Model {
|
|
900
|
+
auditStatus?: number;
|
|
901
|
+
authStatus?: number;
|
|
860
902
|
currentPage?: number;
|
|
861
903
|
engineType?: string;
|
|
862
904
|
instanceId?: string;
|
|
863
905
|
lang?: string;
|
|
864
906
|
pageSize?: number;
|
|
907
|
+
productCode?: string;
|
|
865
908
|
productId?: number;
|
|
909
|
+
searchKey?: string;
|
|
910
|
+
searchType?: string;
|
|
866
911
|
serviceRegionId?: string;
|
|
867
912
|
static names(): {
|
|
868
913
|
[key: string]: string;
|
|
@@ -1332,6 +1377,7 @@ export declare class DisableUserConfigResponse extends $tea.Model {
|
|
|
1332
1377
|
}
|
|
1333
1378
|
export declare class ExecDatamaskRequest extends $tea.Model {
|
|
1334
1379
|
data?: string;
|
|
1380
|
+
lang?: string;
|
|
1335
1381
|
templateId?: number;
|
|
1336
1382
|
static names(): {
|
|
1337
1383
|
[key: string]: string;
|
|
@@ -1585,6 +1631,46 @@ export declare class ModifyEventTypeStatusResponse extends $tea.Model {
|
|
|
1585
1631
|
[key: string]: any;
|
|
1586
1632
|
});
|
|
1587
1633
|
}
|
|
1634
|
+
export declare class ModifyReportTaskStatusRequest extends $tea.Model {
|
|
1635
|
+
lang?: string;
|
|
1636
|
+
reportTaskStatus?: number;
|
|
1637
|
+
static names(): {
|
|
1638
|
+
[key: string]: string;
|
|
1639
|
+
};
|
|
1640
|
+
static types(): {
|
|
1641
|
+
[key: string]: any;
|
|
1642
|
+
};
|
|
1643
|
+
constructor(map?: {
|
|
1644
|
+
[key: string]: any;
|
|
1645
|
+
});
|
|
1646
|
+
}
|
|
1647
|
+
export declare class ModifyReportTaskStatusResponseBody extends $tea.Model {
|
|
1648
|
+
requestId?: string;
|
|
1649
|
+
static names(): {
|
|
1650
|
+
[key: string]: string;
|
|
1651
|
+
};
|
|
1652
|
+
static types(): {
|
|
1653
|
+
[key: string]: any;
|
|
1654
|
+
};
|
|
1655
|
+
constructor(map?: {
|
|
1656
|
+
[key: string]: any;
|
|
1657
|
+
});
|
|
1658
|
+
}
|
|
1659
|
+
export declare class ModifyReportTaskStatusResponse extends $tea.Model {
|
|
1660
|
+
headers: {
|
|
1661
|
+
[key: string]: string;
|
|
1662
|
+
};
|
|
1663
|
+
body: ModifyReportTaskStatusResponseBody;
|
|
1664
|
+
static names(): {
|
|
1665
|
+
[key: string]: string;
|
|
1666
|
+
};
|
|
1667
|
+
static types(): {
|
|
1668
|
+
[key: string]: any;
|
|
1669
|
+
};
|
|
1670
|
+
constructor(map?: {
|
|
1671
|
+
[key: string]: any;
|
|
1672
|
+
});
|
|
1673
|
+
}
|
|
1588
1674
|
export declare class ModifyRuleRequest extends $tea.Model {
|
|
1589
1675
|
category?: number;
|
|
1590
1676
|
content?: string;
|
|
@@ -1717,7 +1803,6 @@ export declare class StopMaskingProcessResponse extends $tea.Model {
|
|
|
1717
1803
|
});
|
|
1718
1804
|
}
|
|
1719
1805
|
export declare class DescribeCategoryTemplateRuleListResponseBodyItems extends $tea.Model {
|
|
1720
|
-
customType?: number;
|
|
1721
1806
|
description?: string;
|
|
1722
1807
|
id?: number;
|
|
1723
1808
|
identificationRuleIds?: string;
|
|
@@ -1725,7 +1810,6 @@ export declare class DescribeCategoryTemplateRuleListResponseBodyItems extends $
|
|
|
1725
1810
|
name?: string;
|
|
1726
1811
|
riskLevelId?: number;
|
|
1727
1812
|
status?: number;
|
|
1728
|
-
templateId?: number;
|
|
1729
1813
|
static names(): {
|
|
1730
1814
|
[key: string]: string;
|
|
1731
1815
|
};
|
|
@@ -2004,8 +2088,8 @@ export declare class DescribeDataMaskingTasksResponseBodyItems extends $tea.Mode
|
|
|
2004
2088
|
});
|
|
2005
2089
|
}
|
|
2006
2090
|
export declare class DescribeEventDetailResponseBodyEventDetailChartData extends $tea.Model {
|
|
2007
|
-
x?: string;
|
|
2008
|
-
y?: string;
|
|
2091
|
+
x?: string[];
|
|
2092
|
+
y?: string[];
|
|
2009
2093
|
static names(): {
|
|
2010
2094
|
[key: string]: string;
|
|
2011
2095
|
};
|
|
@@ -2198,9 +2282,12 @@ export declare class DescribeInstanceSourcesResponseBodyItems extends $tea.Model
|
|
|
2198
2282
|
auditStatus?: number;
|
|
2199
2283
|
autoScan?: number;
|
|
2200
2284
|
canModifyUserName?: boolean;
|
|
2285
|
+
checkStatus?: number;
|
|
2286
|
+
datamaskStatus?: number;
|
|
2201
2287
|
dbName?: string;
|
|
2202
2288
|
enable?: number;
|
|
2203
2289
|
engineType?: string;
|
|
2290
|
+
errorMessage?: string;
|
|
2204
2291
|
gmtCreate?: number;
|
|
2205
2292
|
id?: number;
|
|
2206
2293
|
instanceDescription?: string;
|
|
@@ -2213,6 +2300,7 @@ export declare class DescribeInstanceSourcesResponseBodyItems extends $tea.Model
|
|
|
2213
2300
|
productId?: number;
|
|
2214
2301
|
regionId?: string;
|
|
2215
2302
|
regionName?: string;
|
|
2303
|
+
samplingSize?: number;
|
|
2216
2304
|
tenantId?: string;
|
|
2217
2305
|
tenantName?: string;
|
|
2218
2306
|
userName?: string;
|
|
@@ -2444,25 +2532,12 @@ export declare class DescribeTablesResponseBodyItems extends $tea.Model {
|
|
|
2444
2532
|
export declare class DescribeUserStatusResponseBodyUserStatus extends $tea.Model {
|
|
2445
2533
|
accessKeyId?: string;
|
|
2446
2534
|
authed?: boolean;
|
|
2447
|
-
buyed?: boolean;
|
|
2448
2535
|
chargeType?: string;
|
|
2449
|
-
dataMaskColumns?: number;
|
|
2450
|
-
dataMaskTasks?: number;
|
|
2451
|
-
datamaskColumns?: number;
|
|
2452
|
-
divulgeCount?: number;
|
|
2453
|
-
dlpTotalCount?: number;
|
|
2454
|
-
incSensitiveObjects?: number;
|
|
2455
2536
|
instanceId?: string;
|
|
2456
2537
|
instanceNum?: number;
|
|
2457
|
-
instanceStatus?: number;
|
|
2458
2538
|
labStatus?: number;
|
|
2459
|
-
|
|
2460
|
-
ossSize?: number;
|
|
2539
|
+
purchased?: boolean;
|
|
2461
2540
|
remainDays?: number;
|
|
2462
|
-
sensitiveObject?: number;
|
|
2463
|
-
sensitiveTable?: number;
|
|
2464
|
-
sensitiveTables?: number;
|
|
2465
|
-
totalDataMaskColumns?: number;
|
|
2466
2541
|
trail?: boolean;
|
|
2467
2542
|
useInstanceNum?: number;
|
|
2468
2543
|
useOssSize?: number;
|
|
@@ -2489,6 +2564,8 @@ export default class Client extends OpenApi {
|
|
|
2489
2564
|
createRule(request: CreateRuleRequest): Promise<CreateRuleResponse>;
|
|
2490
2565
|
createScanTaskWithOptions(request: CreateScanTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateScanTaskResponse>;
|
|
2491
2566
|
createScanTask(request: CreateScanTaskRequest): Promise<CreateScanTaskResponse>;
|
|
2567
|
+
createSlrRoleWithOptions(request: CreateSlrRoleRequest, runtime: $Util.RuntimeOptions): Promise<CreateSlrRoleResponse>;
|
|
2568
|
+
createSlrRole(request: CreateSlrRoleRequest): Promise<CreateSlrRoleResponse>;
|
|
2492
2569
|
deleteDataLimitWithOptions(request: DeleteDataLimitRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDataLimitResponse>;
|
|
2493
2570
|
deleteDataLimit(request: DeleteDataLimitRequest): Promise<DeleteDataLimitResponse>;
|
|
2494
2571
|
deleteRuleWithOptions(request: DeleteRuleRequest, runtime: $Util.RuntimeOptions): Promise<DeleteRuleResponse>;
|
|
@@ -2549,6 +2626,8 @@ export default class Client extends OpenApi {
|
|
|
2549
2626
|
modifyEventStatus(request: ModifyEventStatusRequest): Promise<ModifyEventStatusResponse>;
|
|
2550
2627
|
modifyEventTypeStatusWithOptions(request: ModifyEventTypeStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyEventTypeStatusResponse>;
|
|
2551
2628
|
modifyEventTypeStatus(request: ModifyEventTypeStatusRequest): Promise<ModifyEventTypeStatusResponse>;
|
|
2629
|
+
modifyReportTaskStatusWithOptions(request: ModifyReportTaskStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyReportTaskStatusResponse>;
|
|
2630
|
+
modifyReportTaskStatus(request: ModifyReportTaskStatusRequest): Promise<ModifyReportTaskStatusResponse>;
|
|
2552
2631
|
modifyRuleWithOptions(request: ModifyRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifyRuleResponse>;
|
|
2553
2632
|
modifyRule(request: ModifyRuleRequest): Promise<ModifyRuleResponse>;
|
|
2554
2633
|
modifyRuleStatusWithOptions(request: ModifyRuleStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyRuleStatusResponse>;
|