@alicloud/waf-openapi20211001 6.1.1 → 6.3.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 +165 -0
- package/dist/client.js +573 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddAddressRequest.d.ts +39 -0
- package/dist/models/AddAddressRequest.js +67 -0
- package/dist/models/AddAddressRequest.js.map +1 -0
- package/dist/models/AddAddressResponse.d.ts +19 -0
- package/dist/models/AddAddressResponse.js +69 -0
- package/dist/models/AddAddressResponse.js.map +1 -0
- package/dist/models/AddAddressResponseBody.d.ts +18 -0
- package/dist/models/AddAddressResponseBody.js +58 -0
- package/dist/models/AddAddressResponseBody.js.map +1 -0
- package/dist/models/ClearAddressRequest.d.ts +34 -0
- package/dist/models/ClearAddressRequest.js +62 -0
- package/dist/models/ClearAddressRequest.js.map +1 -0
- package/dist/models/ClearAddressResponse.d.ts +19 -0
- package/dist/models/ClearAddressResponse.js +69 -0
- package/dist/models/ClearAddressResponse.js.map +1 -0
- package/dist/models/ClearAddressResponseBody.d.ts +18 -0
- package/dist/models/ClearAddressResponseBody.js +58 -0
- package/dist/models/ClearAddressResponseBody.js.map +1 -0
- package/dist/models/DeleteAddressRequest.d.ts +39 -0
- package/dist/models/DeleteAddressRequest.js +67 -0
- package/dist/models/DeleteAddressRequest.js.map +1 -0
- package/dist/models/DeleteAddressResponse.d.ts +19 -0
- package/dist/models/DeleteAddressResponse.js +69 -0
- package/dist/models/DeleteAddressResponse.js.map +1 -0
- package/dist/models/DeleteAddressResponseBody.d.ts +18 -0
- package/dist/models/DeleteAddressResponseBody.js +58 -0
- package/dist/models/DeleteAddressResponseBody.js.map +1 -0
- package/dist/models/DescribeAddressesRequest.d.ts +51 -0
- package/dist/models/DescribeAddressesRequest.js +70 -0
- package/dist/models/DescribeAddressesRequest.js.map +1 -0
- package/dist/models/DescribeAddressesResponse.d.ts +19 -0
- package/dist/models/DescribeAddressesResponse.js +69 -0
- package/dist/models/DescribeAddressesResponse.js.map +1 -0
- package/dist/models/DescribeAddressesResponseBody.d.ts +61 -0
- package/dist/models/DescribeAddressesResponseBody.js +92 -0
- package/dist/models/DescribeAddressesResponseBody.js.map +1 -0
- package/dist/models/DescribeAlarmBannerRequest.d.ts +31 -0
- package/dist/models/DescribeAlarmBannerRequest.js +62 -0
- package/dist/models/DescribeAlarmBannerRequest.js.map +1 -0
- package/dist/models/DescribeAlarmBannerResponse.d.ts +19 -0
- package/dist/models/DescribeAlarmBannerResponse.js +69 -0
- package/dist/models/DescribeAlarmBannerResponse.js.map +1 -0
- package/dist/models/DescribeAlarmBannerResponseBody.d.ts +51 -0
- package/dist/models/DescribeAlarmBannerResponseBody.js +88 -0
- package/dist/models/DescribeAlarmBannerResponseBody.js.map +1 -0
- package/dist/models/DescribeAlarmListRequest.d.ts +31 -0
- package/dist/models/DescribeAlarmListRequest.js +62 -0
- package/dist/models/DescribeAlarmListRequest.js.map +1 -0
- package/dist/models/DescribeAlarmListResponse.d.ts +19 -0
- package/dist/models/DescribeAlarmListResponse.js +69 -0
- package/dist/models/DescribeAlarmListResponse.js.map +1 -0
- package/dist/models/DescribeAlarmListResponseBody.d.ts +66 -0
- package/dist/models/DescribeAlarmListResponseBody.js +94 -0
- package/dist/models/DescribeAlarmListResponseBody.js.map +1 -0
- package/dist/models/DescribeApisecExamplesRequest.d.ts +70 -0
- package/dist/models/DescribeApisecExamplesRequest.js +84 -0
- package/dist/models/DescribeApisecExamplesRequest.js.map +1 -0
- package/dist/models/DescribeApisecExamplesResponse.d.ts +19 -0
- package/dist/models/DescribeApisecExamplesResponse.js +69 -0
- package/dist/models/DescribeApisecExamplesResponse.js.map +1 -0
- package/dist/models/DescribeApisecExamplesResponseBody.d.ts +109 -0
- package/dist/models/DescribeApisecExamplesResponseBody.js +154 -0
- package/dist/models/DescribeApisecExamplesResponseBody.js.map +1 -0
- package/dist/models/DescribeBotAppKeyRequest.d.ts +36 -0
- package/dist/models/DescribeBotAppKeyRequest.js +64 -0
- package/dist/models/DescribeBotAppKeyRequest.js.map +1 -0
- package/dist/models/DescribeBotAppKeyResponse.d.ts +19 -0
- package/dist/models/DescribeBotAppKeyResponse.js +69 -0
- package/dist/models/DescribeBotAppKeyResponse.js.map +1 -0
- package/dist/models/DescribeBotAppKeyResponseBody.d.ts +26 -0
- package/dist/models/DescribeBotAppKeyResponseBody.js +60 -0
- package/dist/models/DescribeBotAppKeyResponseBody.js.map +1 -0
- package/dist/models/DescribeRelatedDefenseRulesRequest.d.ts +65 -0
- package/dist/models/DescribeRelatedDefenseRulesRequest.js +72 -0
- package/dist/models/DescribeRelatedDefenseRulesRequest.js.map +1 -0
- package/dist/models/DescribeRelatedDefenseRulesResponse.d.ts +19 -0
- package/dist/models/DescribeRelatedDefenseRulesResponse.js +69 -0
- package/dist/models/DescribeRelatedDefenseRulesResponse.js.map +1 -0
- package/dist/models/DescribeRelatedDefenseRulesResponseBody.d.ts +71 -0
- package/dist/models/DescribeRelatedDefenseRulesResponseBody.js +96 -0
- package/dist/models/DescribeRelatedDefenseRulesResponseBody.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailRequest.d.ts +39 -0
- package/dist/models/DescribeThreatEventDetailRequest.js +64 -0
- package/dist/models/DescribeThreatEventDetailRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventDetailResponse.js +69 -0
- package/dist/models/DescribeThreatEventDetailResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.d.ts +91 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.js +104 -0
- package/dist/models/DescribeThreatEventDetailResponseBody.js.map +1 -0
- package/dist/models/DescribeThreatEventRequest.d.ts +62 -0
- package/dist/models/DescribeThreatEventRequest.js +72 -0
- package/dist/models/DescribeThreatEventRequest.js.map +1 -0
- package/dist/models/DescribeThreatEventResponse.d.ts +19 -0
- package/dist/models/DescribeThreatEventResponse.js +69 -0
- package/dist/models/DescribeThreatEventResponse.js.map +1 -0
- package/dist/models/DescribeThreatEventResponseBody.d.ts +71 -0
- package/dist/models/DescribeThreatEventResponseBody.js +96 -0
- package/dist/models/DescribeThreatEventResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +42 -0
- package/dist/models/model.js +103 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +693 -39
- package/src/models/AddAddressRequest.ts +61 -0
- package/src/models/AddAddressResponse.ts +40 -0
- package/src/models/AddAddressResponseBody.ts +31 -0
- package/src/models/ClearAddressRequest.ts +51 -0
- package/src/models/ClearAddressResponse.ts +40 -0
- package/src/models/ClearAddressResponseBody.ts +31 -0
- package/src/models/DeleteAddressRequest.ts +61 -0
- package/src/models/DeleteAddressResponse.ts +40 -0
- package/src/models/DeleteAddressResponseBody.ts +31 -0
- package/src/models/DescribeAddressesRequest.ts +76 -0
- package/src/models/DescribeAddressesResponse.ts +40 -0
- package/src/models/DescribeAddressesResponseBody.ts +99 -0
- package/src/models/DescribeAlarmBannerRequest.ts +48 -0
- package/src/models/DescribeAlarmBannerResponse.ts +40 -0
- package/src/models/DescribeAlarmBannerResponseBody.ts +85 -0
- package/src/models/DescribeAlarmListRequest.ts +48 -0
- package/src/models/DescribeAlarmListResponse.ts +40 -0
- package/src/models/DescribeAlarmListResponseBody.ts +106 -0
- package/src/models/DescribeApisecExamplesRequest.ts +109 -0
- package/src/models/DescribeApisecExamplesResponse.ts +40 -0
- package/src/models/DescribeApisecExamplesResponseBody.ts +191 -0
- package/src/models/DescribeBotAppKeyRequest.ts +55 -0
- package/src/models/DescribeBotAppKeyResponse.ts +40 -0
- package/src/models/DescribeBotAppKeyResponseBody.ts +41 -0
- package/src/models/DescribeRelatedDefenseRulesRequest.ts +92 -0
- package/src/models/DescribeRelatedDefenseRulesResponse.ts +40 -0
- package/src/models/DescribeRelatedDefenseRulesResponseBody.ts +113 -0
- package/src/models/DescribeThreatEventDetailRequest.ts +58 -0
- package/src/models/DescribeThreatEventDetailResponse.ts +40 -0
- package/src/models/DescribeThreatEventDetailResponseBody.ts +141 -0
- package/src/models/DescribeThreatEventRequest.ts +89 -0
- package/src/models/DescribeThreatEventResponse.ts +40 -0
- package/src/models/DescribeThreatEventResponseBody.ts +113 -0
- package/src/models/model.ts +42 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeAlarmBannerResponseBodyBannerStatus extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 4count
|
|
9
|
+
*/
|
|
10
|
+
cause?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 9008
|
|
14
|
+
*/
|
|
15
|
+
count?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* true
|
|
19
|
+
*/
|
|
20
|
+
status?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* sandbox
|
|
24
|
+
*/
|
|
25
|
+
type?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
cause: 'Cause',
|
|
29
|
+
count: 'Count',
|
|
30
|
+
status: 'Status',
|
|
31
|
+
type: 'Type',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
cause: 'string',
|
|
38
|
+
count: 'number',
|
|
39
|
+
status: 'boolean',
|
|
40
|
+
type: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class DescribeAlarmBannerResponseBody extends $dara.Model {
|
|
54
|
+
bannerStatus?: DescribeAlarmBannerResponseBodyBannerStatus;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* 5555DC36-0CF2-5AA3-B1C7-D6BD8****
|
|
58
|
+
*/
|
|
59
|
+
requestId?: string;
|
|
60
|
+
static names(): { [key: string]: string } {
|
|
61
|
+
return {
|
|
62
|
+
bannerStatus: 'BannerStatus',
|
|
63
|
+
requestId: 'RequestId',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
bannerStatus: DescribeAlarmBannerResponseBodyBannerStatus,
|
|
70
|
+
requestId: 'string',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
validate() {
|
|
75
|
+
if(this.bannerStatus && typeof (this.bannerStatus as any).validate === 'function') {
|
|
76
|
+
(this.bannerStatus as any).validate();
|
|
77
|
+
}
|
|
78
|
+
super.validate();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
constructor(map?: { [key: string]: any }) {
|
|
82
|
+
super(map);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeAlarmListRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_v2_public_cn-pe33e****
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* rg-aek2ipnu***
|
|
22
|
+
*/
|
|
23
|
+
resourceManagerResourceGroupId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
instanceId: 'InstanceId',
|
|
27
|
+
regionId: 'RegionId',
|
|
28
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
instanceId: 'string',
|
|
35
|
+
regionId: 'string',
|
|
36
|
+
resourceManagerResourceGroupId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeAlarmListResponseBody } from "./DescribeAlarmListResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeAlarmListResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeAlarmListResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeAlarmListResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeAlarmListResponseBodyAlarms extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 4count
|
|
9
|
+
*/
|
|
10
|
+
cause?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1605600798
|
|
14
|
+
*/
|
|
15
|
+
endTime?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 12000
|
|
19
|
+
*/
|
|
20
|
+
maxQps?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 10000
|
|
24
|
+
*/
|
|
25
|
+
spec?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 1605600767
|
|
29
|
+
*/
|
|
30
|
+
startTime?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 1
|
|
34
|
+
*/
|
|
35
|
+
status?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* qps
|
|
39
|
+
*/
|
|
40
|
+
type?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
cause: 'Cause',
|
|
44
|
+
endTime: 'EndTime',
|
|
45
|
+
maxQps: 'MaxQps',
|
|
46
|
+
spec: 'Spec',
|
|
47
|
+
startTime: 'StartTime',
|
|
48
|
+
status: 'Status',
|
|
49
|
+
type: 'Type',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
cause: 'string',
|
|
56
|
+
endTime: 'number',
|
|
57
|
+
maxQps: 'number',
|
|
58
|
+
spec: 'number',
|
|
59
|
+
startTime: 'number',
|
|
60
|
+
status: 'number',
|
|
61
|
+
type: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class DescribeAlarmListResponseBody extends $dara.Model {
|
|
75
|
+
alarms?: DescribeAlarmListResponseBodyAlarms[];
|
|
76
|
+
/**
|
|
77
|
+
* @example
|
|
78
|
+
* 8D8EBFB7-E1EB-5236-952A-092EDC72***
|
|
79
|
+
*/
|
|
80
|
+
requestId?: string;
|
|
81
|
+
static names(): { [key: string]: string } {
|
|
82
|
+
return {
|
|
83
|
+
alarms: 'Alarms',
|
|
84
|
+
requestId: 'RequestId',
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
static types(): { [key: string]: any } {
|
|
89
|
+
return {
|
|
90
|
+
alarms: { 'type': 'array', 'itemType': DescribeAlarmListResponseBodyAlarms },
|
|
91
|
+
requestId: 'string',
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
validate() {
|
|
96
|
+
if(Array.isArray(this.alarms)) {
|
|
97
|
+
$dara.Model.validateArray(this.alarms);
|
|
98
|
+
}
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
constructor(map?: { [key: string]: any }) {
|
|
103
|
+
super(map);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeApisecExamplesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* LackOfSpeedLimit
|
|
9
|
+
*/
|
|
10
|
+
abnormalTag?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 867ade***24ee6e205b8da82b8f84
|
|
17
|
+
*/
|
|
18
|
+
apiId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 176
|
|
22
|
+
*/
|
|
23
|
+
clusterId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* sensitive
|
|
27
|
+
*/
|
|
28
|
+
exampleType?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* This parameter is required.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* waf_elasticity-cn-0xldbqtm005
|
|
35
|
+
*/
|
|
36
|
+
instanceId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* 5
|
|
40
|
+
*/
|
|
41
|
+
maxResults?: number;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* AAAAAGBgV9tolsLfijC4wam2htS*****D/46H3X2wIS
|
|
45
|
+
*/
|
|
46
|
+
nextToken?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* cn-hangzhou
|
|
50
|
+
*/
|
|
51
|
+
regionId?: string;
|
|
52
|
+
requestSensitiveTypeList?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* rg-acfm***q
|
|
56
|
+
*/
|
|
57
|
+
resourceManagerResourceGroupId?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* LackOfSpeedLimit
|
|
61
|
+
*/
|
|
62
|
+
responseSensitiveTypeList?: string[];
|
|
63
|
+
static names(): { [key: string]: string } {
|
|
64
|
+
return {
|
|
65
|
+
abnormalTag: 'AbnormalTag',
|
|
66
|
+
apiId: 'ApiId',
|
|
67
|
+
clusterId: 'ClusterId',
|
|
68
|
+
exampleType: 'ExampleType',
|
|
69
|
+
instanceId: 'InstanceId',
|
|
70
|
+
maxResults: 'MaxResults',
|
|
71
|
+
nextToken: 'NextToken',
|
|
72
|
+
regionId: 'RegionId',
|
|
73
|
+
requestSensitiveTypeList: 'RequestSensitiveTypeList',
|
|
74
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
75
|
+
responseSensitiveTypeList: 'ResponseSensitiveTypeList',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
static types(): { [key: string]: any } {
|
|
80
|
+
return {
|
|
81
|
+
abnormalTag: 'string',
|
|
82
|
+
apiId: 'string',
|
|
83
|
+
clusterId: 'string',
|
|
84
|
+
exampleType: 'string',
|
|
85
|
+
instanceId: 'string',
|
|
86
|
+
maxResults: 'number',
|
|
87
|
+
nextToken: 'string',
|
|
88
|
+
regionId: 'string',
|
|
89
|
+
requestSensitiveTypeList: { 'type': 'array', 'itemType': 'string' },
|
|
90
|
+
resourceManagerResourceGroupId: 'string',
|
|
91
|
+
responseSensitiveTypeList: { 'type': 'array', 'itemType': 'string' },
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
validate() {
|
|
96
|
+
if(Array.isArray(this.requestSensitiveTypeList)) {
|
|
97
|
+
$dara.Model.validateArray(this.requestSensitiveTypeList);
|
|
98
|
+
}
|
|
99
|
+
if(Array.isArray(this.responseSensitiveTypeList)) {
|
|
100
|
+
$dara.Model.validateArray(this.responseSensitiveTypeList);
|
|
101
|
+
}
|
|
102
|
+
super.validate();
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
constructor(map?: { [key: string]: any }) {
|
|
106
|
+
super(map);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeApisecExamplesResponseBody } from "./DescribeApisecExamplesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeApisecExamplesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeApisecExamplesResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeApisecExamplesResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeApisecExamplesResponseBodyExamplesRequestSensitiveData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1000
|
|
9
|
+
*/
|
|
10
|
+
sensitiveCode?: string;
|
|
11
|
+
sensitiveDataList?: string[];
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
sensitiveCode: 'SensitiveCode',
|
|
15
|
+
sensitiveDataList: 'SensitiveDataList',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
sensitiveCode: 'string',
|
|
22
|
+
sensitiveDataList: { 'type': 'array', 'itemType': 'string' },
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(Array.isArray(this.sensitiveDataList)) {
|
|
28
|
+
$dara.Model.validateArray(this.sensitiveDataList);
|
|
29
|
+
}
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export class DescribeApisecExamplesResponseBodyExamplesResponseSensitiveData extends $dara.Model {
|
|
39
|
+
/**
|
|
40
|
+
* @example
|
|
41
|
+
* 1000
|
|
42
|
+
*/
|
|
43
|
+
sensitiveCode?: string;
|
|
44
|
+
sensitiveDataList?: string[];
|
|
45
|
+
static names(): { [key: string]: string } {
|
|
46
|
+
return {
|
|
47
|
+
sensitiveCode: 'SensitiveCode',
|
|
48
|
+
sensitiveDataList: 'SensitiveDataList',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static types(): { [key: string]: any } {
|
|
53
|
+
return {
|
|
54
|
+
sensitiveCode: 'string',
|
|
55
|
+
sensitiveDataList: { 'type': 'array', 'itemType': 'string' },
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
validate() {
|
|
60
|
+
if(Array.isArray(this.sensitiveDataList)) {
|
|
61
|
+
$dara.Model.validateArray(this.sensitiveDataList);
|
|
62
|
+
}
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
constructor(map?: { [key: string]: any }) {
|
|
67
|
+
super(map);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export class DescribeApisecExamplesResponseBodyExamples extends $dara.Model {
|
|
72
|
+
/**
|
|
73
|
+
* @example
|
|
74
|
+
* http://www.test.com/api/v1/hello.php?token=TkJGQw
|
|
75
|
+
*/
|
|
76
|
+
apiUrl?: string;
|
|
77
|
+
pocPayload?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @example
|
|
80
|
+
* http
|
|
81
|
+
*/
|
|
82
|
+
protocol?: string;
|
|
83
|
+
request?: string;
|
|
84
|
+
requestSensitiveData?: DescribeApisecExamplesResponseBodyExamplesRequestSensitiveData[];
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* {
|
|
88
|
+
* "header": {
|
|
89
|
+
* "Connection": "keep-alive",
|
|
90
|
+
* "Content-Encoding": "gzip",
|
|
91
|
+
* "Content-Type": "text/html; charset=UTF-8"
|
|
92
|
+
* },
|
|
93
|
+
* "body": "xxxx",
|
|
94
|
+
* "status": 200
|
|
95
|
+
* }
|
|
96
|
+
*/
|
|
97
|
+
response?: string;
|
|
98
|
+
responseSensitiveData?: DescribeApisecExamplesResponseBodyExamplesResponseSensitiveData[];
|
|
99
|
+
static names(): { [key: string]: string } {
|
|
100
|
+
return {
|
|
101
|
+
apiUrl: 'ApiUrl',
|
|
102
|
+
pocPayload: 'PocPayload',
|
|
103
|
+
protocol: 'Protocol',
|
|
104
|
+
request: 'Request',
|
|
105
|
+
requestSensitiveData: 'RequestSensitiveData',
|
|
106
|
+
response: 'Response',
|
|
107
|
+
responseSensitiveData: 'ResponseSensitiveData',
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
static types(): { [key: string]: any } {
|
|
112
|
+
return {
|
|
113
|
+
apiUrl: 'string',
|
|
114
|
+
pocPayload: 'string',
|
|
115
|
+
protocol: 'string',
|
|
116
|
+
request: 'string',
|
|
117
|
+
requestSensitiveData: { 'type': 'array', 'itemType': DescribeApisecExamplesResponseBodyExamplesRequestSensitiveData },
|
|
118
|
+
response: 'string',
|
|
119
|
+
responseSensitiveData: { 'type': 'array', 'itemType': DescribeApisecExamplesResponseBodyExamplesResponseSensitiveData },
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
validate() {
|
|
124
|
+
if(Array.isArray(this.requestSensitiveData)) {
|
|
125
|
+
$dara.Model.validateArray(this.requestSensitiveData);
|
|
126
|
+
}
|
|
127
|
+
if(Array.isArray(this.responseSensitiveData)) {
|
|
128
|
+
$dara.Model.validateArray(this.responseSensitiveData);
|
|
129
|
+
}
|
|
130
|
+
super.validate();
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
constructor(map?: { [key: string]: any }) {
|
|
134
|
+
super(map);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export class DescribeApisecExamplesResponseBody extends $dara.Model {
|
|
139
|
+
examples?: DescribeApisecExamplesResponseBodyExamples[];
|
|
140
|
+
/**
|
|
141
|
+
* @example
|
|
142
|
+
* 5
|
|
143
|
+
*/
|
|
144
|
+
maxResults?: number;
|
|
145
|
+
/**
|
|
146
|
+
* @example
|
|
147
|
+
* AAAAAGBgV9tolsLfijC4wam2htS*****D/46H3X2wIS
|
|
148
|
+
*/
|
|
149
|
+
nextToken?: string;
|
|
150
|
+
/**
|
|
151
|
+
* @example
|
|
152
|
+
* D7861F61-5B61-46CE-A47C-6B19160D5EB0
|
|
153
|
+
*/
|
|
154
|
+
requestId?: string;
|
|
155
|
+
/**
|
|
156
|
+
* @example
|
|
157
|
+
* 5
|
|
158
|
+
*/
|
|
159
|
+
totalCount?: number;
|
|
160
|
+
static names(): { [key: string]: string } {
|
|
161
|
+
return {
|
|
162
|
+
examples: 'Examples',
|
|
163
|
+
maxResults: 'MaxResults',
|
|
164
|
+
nextToken: 'NextToken',
|
|
165
|
+
requestId: 'RequestId',
|
|
166
|
+
totalCount: 'TotalCount',
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
static types(): { [key: string]: any } {
|
|
171
|
+
return {
|
|
172
|
+
examples: { 'type': 'array', 'itemType': DescribeApisecExamplesResponseBodyExamples },
|
|
173
|
+
maxResults: 'number',
|
|
174
|
+
nextToken: 'string',
|
|
175
|
+
requestId: 'string',
|
|
176
|
+
totalCount: 'number',
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
validate() {
|
|
181
|
+
if(Array.isArray(this.examples)) {
|
|
182
|
+
$dara.Model.validateArray(this.examples);
|
|
183
|
+
}
|
|
184
|
+
super.validate();
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
constructor(map?: { [key: string]: any }) {
|
|
188
|
+
super(map);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeBotAppKeyRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* waf_v3prepaid_public_cn-5v23u******
|
|
12
|
+
*/
|
|
13
|
+
instanceId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 1
|
|
17
|
+
*/
|
|
18
|
+
keyVersion?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* cn-hangzhou
|
|
22
|
+
*/
|
|
23
|
+
regionId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* rg-aek2uo27badl***
|
|
27
|
+
*/
|
|
28
|
+
resourceManagerResourceGroupId?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
instanceId: 'InstanceId',
|
|
32
|
+
keyVersion: 'KeyVersion',
|
|
33
|
+
regionId: 'RegionId',
|
|
34
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
instanceId: 'string',
|
|
41
|
+
keyVersion: 'string',
|
|
42
|
+
regionId: 'string',
|
|
43
|
+
resourceManagerResourceGroupId: 'string',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeBotAppKeyResponseBody } from "./DescribeBotAppKeyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeBotAppKeyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeBotAppKeyResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DescribeBotAppKeyResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|