@alicloud/sddp20190103 1.0.10 → 1.1.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 +118 -0
- package/dist/client.js +223 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +272 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/sddp20190103",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.7",
|
|
24
24
|
"@alicloud/openapi-client": "^0.4.4",
|
|
25
|
-
"@alicloud/openapi-util": "^0.3.
|
|
25
|
+
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
package/src/client.ts
CHANGED
|
@@ -1787,7 +1787,10 @@ export class DescribeDataObjectColumnDetailV2Response extends $tea.Model {
|
|
|
1787
1787
|
export class DescribeDataObjectsRequest extends $tea.Model {
|
|
1788
1788
|
currentPage?: number;
|
|
1789
1789
|
domainId?: number;
|
|
1790
|
+
fileType?: number;
|
|
1791
|
+
instanceId?: string;
|
|
1790
1792
|
lang?: string;
|
|
1793
|
+
modelIds?: string;
|
|
1791
1794
|
modelTagIds?: string;
|
|
1792
1795
|
pageSize?: number;
|
|
1793
1796
|
parentCategoryIds?: string;
|
|
@@ -1800,7 +1803,10 @@ export class DescribeDataObjectsRequest extends $tea.Model {
|
|
|
1800
1803
|
return {
|
|
1801
1804
|
currentPage: 'CurrentPage',
|
|
1802
1805
|
domainId: 'DomainId',
|
|
1806
|
+
fileType: 'FileType',
|
|
1807
|
+
instanceId: 'InstanceId',
|
|
1803
1808
|
lang: 'Lang',
|
|
1809
|
+
modelIds: 'ModelIds',
|
|
1804
1810
|
modelTagIds: 'ModelTagIds',
|
|
1805
1811
|
pageSize: 'PageSize',
|
|
1806
1812
|
parentCategoryIds: 'ParentCategoryIds',
|
|
@@ -1816,7 +1822,10 @@ export class DescribeDataObjectsRequest extends $tea.Model {
|
|
|
1816
1822
|
return {
|
|
1817
1823
|
currentPage: 'number',
|
|
1818
1824
|
domainId: 'number',
|
|
1825
|
+
fileType: 'number',
|
|
1826
|
+
instanceId: 'string',
|
|
1819
1827
|
lang: 'string',
|
|
1828
|
+
modelIds: 'string',
|
|
1820
1829
|
modelTagIds: 'string',
|
|
1821
1830
|
pageSize: 'number',
|
|
1822
1831
|
parentCategoryIds: 'string',
|
|
@@ -1889,6 +1898,72 @@ export class DescribeDataObjectsResponse extends $tea.Model {
|
|
|
1889
1898
|
}
|
|
1890
1899
|
}
|
|
1891
1900
|
|
|
1901
|
+
export class DescribeDocTypesRequest extends $tea.Model {
|
|
1902
|
+
lang?: string;
|
|
1903
|
+
static names(): { [key: string]: string } {
|
|
1904
|
+
return {
|
|
1905
|
+
lang: 'Lang',
|
|
1906
|
+
};
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
static types(): { [key: string]: any } {
|
|
1910
|
+
return {
|
|
1911
|
+
lang: 'string',
|
|
1912
|
+
};
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
constructor(map?: { [key: string]: any }) {
|
|
1916
|
+
super(map);
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
export class DescribeDocTypesResponseBody extends $tea.Model {
|
|
1921
|
+
docTypeList?: DescribeDocTypesResponseBodyDocTypeList[];
|
|
1922
|
+
requestId?: string;
|
|
1923
|
+
static names(): { [key: string]: string } {
|
|
1924
|
+
return {
|
|
1925
|
+
docTypeList: 'DocTypeList',
|
|
1926
|
+
requestId: 'RequestId',
|
|
1927
|
+
};
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
static types(): { [key: string]: any } {
|
|
1931
|
+
return {
|
|
1932
|
+
docTypeList: { 'type': 'array', 'itemType': DescribeDocTypesResponseBodyDocTypeList },
|
|
1933
|
+
requestId: 'string',
|
|
1934
|
+
};
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
constructor(map?: { [key: string]: any }) {
|
|
1938
|
+
super(map);
|
|
1939
|
+
}
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
export class DescribeDocTypesResponse extends $tea.Model {
|
|
1943
|
+
headers: { [key: string]: string };
|
|
1944
|
+
statusCode: number;
|
|
1945
|
+
body: DescribeDocTypesResponseBody;
|
|
1946
|
+
static names(): { [key: string]: string } {
|
|
1947
|
+
return {
|
|
1948
|
+
headers: 'headers',
|
|
1949
|
+
statusCode: 'statusCode',
|
|
1950
|
+
body: 'body',
|
|
1951
|
+
};
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
static types(): { [key: string]: any } {
|
|
1955
|
+
return {
|
|
1956
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1957
|
+
statusCode: 'number',
|
|
1958
|
+
body: DescribeDocTypesResponseBody,
|
|
1959
|
+
};
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
constructor(map?: { [key: string]: any }) {
|
|
1963
|
+
super(map);
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1892
1967
|
export class DescribeEventDetailRequest extends $tea.Model {
|
|
1893
1968
|
id?: number;
|
|
1894
1969
|
lang?: string;
|
|
@@ -2784,6 +2859,7 @@ export class DescribeRulesRequest extends $tea.Model {
|
|
|
2784
2859
|
riskLevelId?: number;
|
|
2785
2860
|
ruleType?: number;
|
|
2786
2861
|
status?: number;
|
|
2862
|
+
supportForm?: number;
|
|
2787
2863
|
warnLevel?: number;
|
|
2788
2864
|
static names(): { [key: string]: string } {
|
|
2789
2865
|
return {
|
|
@@ -2802,6 +2878,7 @@ export class DescribeRulesRequest extends $tea.Model {
|
|
|
2802
2878
|
riskLevelId: 'RiskLevelId',
|
|
2803
2879
|
ruleType: 'RuleType',
|
|
2804
2880
|
status: 'Status',
|
|
2881
|
+
supportForm: 'SupportForm',
|
|
2805
2882
|
warnLevel: 'WarnLevel',
|
|
2806
2883
|
};
|
|
2807
2884
|
}
|
|
@@ -2823,6 +2900,7 @@ export class DescribeRulesRequest extends $tea.Model {
|
|
|
2823
2900
|
riskLevelId: 'number',
|
|
2824
2901
|
ruleType: 'number',
|
|
2825
2902
|
status: 'number',
|
|
2903
|
+
supportForm: 'number',
|
|
2826
2904
|
warnLevel: 'number',
|
|
2827
2905
|
};
|
|
2828
2906
|
}
|
|
@@ -2996,6 +3074,75 @@ export class DescribeTablesResponse extends $tea.Model {
|
|
|
2996
3074
|
}
|
|
2997
3075
|
}
|
|
2998
3076
|
|
|
3077
|
+
export class DescribeTemplateAllRulesRequest extends $tea.Model {
|
|
3078
|
+
lang?: string;
|
|
3079
|
+
templateId?: number;
|
|
3080
|
+
static names(): { [key: string]: string } {
|
|
3081
|
+
return {
|
|
3082
|
+
lang: 'Lang',
|
|
3083
|
+
templateId: 'TemplateId',
|
|
3084
|
+
};
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
static types(): { [key: string]: any } {
|
|
3088
|
+
return {
|
|
3089
|
+
lang: 'string',
|
|
3090
|
+
templateId: 'number',
|
|
3091
|
+
};
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
constructor(map?: { [key: string]: any }) {
|
|
3095
|
+
super(map);
|
|
3096
|
+
}
|
|
3097
|
+
}
|
|
3098
|
+
|
|
3099
|
+
export class DescribeTemplateAllRulesResponseBody extends $tea.Model {
|
|
3100
|
+
requestId?: string;
|
|
3101
|
+
ruleList?: DescribeTemplateAllRulesResponseBodyRuleList[];
|
|
3102
|
+
static names(): { [key: string]: string } {
|
|
3103
|
+
return {
|
|
3104
|
+
requestId: 'RequestId',
|
|
3105
|
+
ruleList: 'RuleList',
|
|
3106
|
+
};
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
static types(): { [key: string]: any } {
|
|
3110
|
+
return {
|
|
3111
|
+
requestId: 'string',
|
|
3112
|
+
ruleList: { 'type': 'array', 'itemType': DescribeTemplateAllRulesResponseBodyRuleList },
|
|
3113
|
+
};
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
constructor(map?: { [key: string]: any }) {
|
|
3117
|
+
super(map);
|
|
3118
|
+
}
|
|
3119
|
+
}
|
|
3120
|
+
|
|
3121
|
+
export class DescribeTemplateAllRulesResponse extends $tea.Model {
|
|
3122
|
+
headers: { [key: string]: string };
|
|
3123
|
+
statusCode: number;
|
|
3124
|
+
body: DescribeTemplateAllRulesResponseBody;
|
|
3125
|
+
static names(): { [key: string]: string } {
|
|
3126
|
+
return {
|
|
3127
|
+
headers: 'headers',
|
|
3128
|
+
statusCode: 'statusCode',
|
|
3129
|
+
body: 'body',
|
|
3130
|
+
};
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
static types(): { [key: string]: any } {
|
|
3134
|
+
return {
|
|
3135
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3136
|
+
statusCode: 'number',
|
|
3137
|
+
body: DescribeTemplateAllRulesResponseBody,
|
|
3138
|
+
};
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
constructor(map?: { [key: string]: any }) {
|
|
3142
|
+
super(map);
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
|
|
2999
3146
|
export class DescribeUserStatusRequest extends $tea.Model {
|
|
3000
3147
|
lang?: string;
|
|
3001
3148
|
static names(): { [key: string]: string } {
|
|
@@ -4975,6 +5122,31 @@ export class DescribeDataObjectsResponseBodyItems extends $tea.Model {
|
|
|
4975
5122
|
}
|
|
4976
5123
|
}
|
|
4977
5124
|
|
|
5125
|
+
export class DescribeDocTypesResponseBodyDocTypeList extends $tea.Model {
|
|
5126
|
+
code?: number;
|
|
5127
|
+
id?: number;
|
|
5128
|
+
name?: string;
|
|
5129
|
+
static names(): { [key: string]: string } {
|
|
5130
|
+
return {
|
|
5131
|
+
code: 'Code',
|
|
5132
|
+
id: 'Id',
|
|
5133
|
+
name: 'Name',
|
|
5134
|
+
};
|
|
5135
|
+
}
|
|
5136
|
+
|
|
5137
|
+
static types(): { [key: string]: any } {
|
|
5138
|
+
return {
|
|
5139
|
+
code: 'number',
|
|
5140
|
+
id: 'number',
|
|
5141
|
+
name: 'string',
|
|
5142
|
+
};
|
|
5143
|
+
}
|
|
5144
|
+
|
|
5145
|
+
constructor(map?: { [key: string]: any }) {
|
|
5146
|
+
super(map);
|
|
5147
|
+
}
|
|
5148
|
+
}
|
|
5149
|
+
|
|
4978
5150
|
export class DescribeEventDetailResponseBodyEventDetailChartData extends $tea.Model {
|
|
4979
5151
|
x?: string[];
|
|
4980
5152
|
y?: string[];
|
|
@@ -6090,6 +6262,28 @@ export class DescribeTablesResponseBodyItems extends $tea.Model {
|
|
|
6090
6262
|
}
|
|
6091
6263
|
}
|
|
6092
6264
|
|
|
6265
|
+
export class DescribeTemplateAllRulesResponseBodyRuleList extends $tea.Model {
|
|
6266
|
+
id?: number;
|
|
6267
|
+
name?: string;
|
|
6268
|
+
static names(): { [key: string]: string } {
|
|
6269
|
+
return {
|
|
6270
|
+
id: 'Id',
|
|
6271
|
+
name: 'Name',
|
|
6272
|
+
};
|
|
6273
|
+
}
|
|
6274
|
+
|
|
6275
|
+
static types(): { [key: string]: any } {
|
|
6276
|
+
return {
|
|
6277
|
+
id: 'number',
|
|
6278
|
+
name: 'string',
|
|
6279
|
+
};
|
|
6280
|
+
}
|
|
6281
|
+
|
|
6282
|
+
constructor(map?: { [key: string]: any }) {
|
|
6283
|
+
super(map);
|
|
6284
|
+
}
|
|
6285
|
+
}
|
|
6286
|
+
|
|
6093
6287
|
export class DescribeUserStatusResponseBodyUserStatus extends $tea.Model {
|
|
6094
6288
|
accessKeyId?: string;
|
|
6095
6289
|
auditClosable?: boolean;
|
|
@@ -7443,10 +7637,22 @@ export default class Client extends OpenApi {
|
|
|
7443
7637
|
query["DomainId"] = request.domainId;
|
|
7444
7638
|
}
|
|
7445
7639
|
|
|
7640
|
+
if (!Util.isUnset(request.fileType)) {
|
|
7641
|
+
query["FileType"] = request.fileType;
|
|
7642
|
+
}
|
|
7643
|
+
|
|
7644
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
7645
|
+
query["InstanceId"] = request.instanceId;
|
|
7646
|
+
}
|
|
7647
|
+
|
|
7446
7648
|
if (!Util.isUnset(request.lang)) {
|
|
7447
7649
|
query["Lang"] = request.lang;
|
|
7448
7650
|
}
|
|
7449
7651
|
|
|
7652
|
+
if (!Util.isUnset(request.modelIds)) {
|
|
7653
|
+
query["ModelIds"] = request.modelIds;
|
|
7654
|
+
}
|
|
7655
|
+
|
|
7450
7656
|
if (!Util.isUnset(request.modelTagIds)) {
|
|
7451
7657
|
query["ModelTagIds"] = request.modelTagIds;
|
|
7452
7658
|
}
|
|
@@ -7501,6 +7707,35 @@ export default class Client extends OpenApi {
|
|
|
7501
7707
|
return await this.describeDataObjectsWithOptions(request, runtime);
|
|
7502
7708
|
}
|
|
7503
7709
|
|
|
7710
|
+
async describeDocTypesWithOptions(request: DescribeDocTypesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDocTypesResponse> {
|
|
7711
|
+
Util.validateModel(request);
|
|
7712
|
+
let query = { };
|
|
7713
|
+
if (!Util.isUnset(request.lang)) {
|
|
7714
|
+
query["Lang"] = request.lang;
|
|
7715
|
+
}
|
|
7716
|
+
|
|
7717
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7718
|
+
query: OpenApiUtil.query(query),
|
|
7719
|
+
});
|
|
7720
|
+
let params = new $OpenApi.Params({
|
|
7721
|
+
action: "DescribeDocTypes",
|
|
7722
|
+
version: "2019-01-03",
|
|
7723
|
+
protocol: "HTTPS",
|
|
7724
|
+
pathname: "/",
|
|
7725
|
+
method: "POST",
|
|
7726
|
+
authType: "AK",
|
|
7727
|
+
style: "RPC",
|
|
7728
|
+
reqBodyType: "formData",
|
|
7729
|
+
bodyType: "json",
|
|
7730
|
+
});
|
|
7731
|
+
return $tea.cast<DescribeDocTypesResponse>(await this.callApi(params, req, runtime), new DescribeDocTypesResponse({}));
|
|
7732
|
+
}
|
|
7733
|
+
|
|
7734
|
+
async describeDocTypes(request: DescribeDocTypesRequest): Promise<DescribeDocTypesResponse> {
|
|
7735
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7736
|
+
return await this.describeDocTypesWithOptions(request, runtime);
|
|
7737
|
+
}
|
|
7738
|
+
|
|
7504
7739
|
async describeEventDetailWithOptions(request: DescribeEventDetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeEventDetailResponse> {
|
|
7505
7740
|
Util.validateModel(request);
|
|
7506
7741
|
let query = { };
|
|
@@ -8188,6 +8423,10 @@ export default class Client extends OpenApi {
|
|
|
8188
8423
|
query["Status"] = request.status;
|
|
8189
8424
|
}
|
|
8190
8425
|
|
|
8426
|
+
if (!Util.isUnset(request.supportForm)) {
|
|
8427
|
+
query["SupportForm"] = request.supportForm;
|
|
8428
|
+
}
|
|
8429
|
+
|
|
8191
8430
|
if (!Util.isUnset(request.warnLevel)) {
|
|
8192
8431
|
query["WarnLevel"] = request.warnLevel;
|
|
8193
8432
|
}
|
|
@@ -8304,6 +8543,39 @@ export default class Client extends OpenApi {
|
|
|
8304
8543
|
return await this.describeTablesWithOptions(request, runtime);
|
|
8305
8544
|
}
|
|
8306
8545
|
|
|
8546
|
+
async describeTemplateAllRulesWithOptions(request: DescribeTemplateAllRulesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTemplateAllRulesResponse> {
|
|
8547
|
+
Util.validateModel(request);
|
|
8548
|
+
let query = { };
|
|
8549
|
+
if (!Util.isUnset(request.lang)) {
|
|
8550
|
+
query["Lang"] = request.lang;
|
|
8551
|
+
}
|
|
8552
|
+
|
|
8553
|
+
if (!Util.isUnset(request.templateId)) {
|
|
8554
|
+
query["TemplateId"] = request.templateId;
|
|
8555
|
+
}
|
|
8556
|
+
|
|
8557
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8558
|
+
query: OpenApiUtil.query(query),
|
|
8559
|
+
});
|
|
8560
|
+
let params = new $OpenApi.Params({
|
|
8561
|
+
action: "DescribeTemplateAllRules",
|
|
8562
|
+
version: "2019-01-03",
|
|
8563
|
+
protocol: "HTTPS",
|
|
8564
|
+
pathname: "/",
|
|
8565
|
+
method: "POST",
|
|
8566
|
+
authType: "AK",
|
|
8567
|
+
style: "RPC",
|
|
8568
|
+
reqBodyType: "formData",
|
|
8569
|
+
bodyType: "json",
|
|
8570
|
+
});
|
|
8571
|
+
return $tea.cast<DescribeTemplateAllRulesResponse>(await this.callApi(params, req, runtime), new DescribeTemplateAllRulesResponse({}));
|
|
8572
|
+
}
|
|
8573
|
+
|
|
8574
|
+
async describeTemplateAllRules(request: DescribeTemplateAllRulesRequest): Promise<DescribeTemplateAllRulesResponse> {
|
|
8575
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8576
|
+
return await this.describeTemplateAllRulesWithOptions(request, runtime);
|
|
8577
|
+
}
|
|
8578
|
+
|
|
8307
8579
|
/**
|
|
8308
8580
|
* You can call this operation to query the information about the current account. This helps you get familiar with your account that accesses Data Security Center (DSC).
|
|
8309
8581
|
* # Limits
|