@alicloud/cloudfw20171207 6.3.0 → 6.4.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.
Files changed (45) hide show
  1. package/dist/client.d.ts +45 -0
  2. package/dist/client.js +210 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeVpcFirewallDomainListRequest.d.ts +74 -0
  5. package/dist/models/DescribeVpcFirewallDomainListRequest.js +78 -0
  6. package/dist/models/DescribeVpcFirewallDomainListRequest.js.map +1 -0
  7. package/dist/models/DescribeVpcFirewallDomainListResponse.d.ts +19 -0
  8. package/dist/models/DescribeVpcFirewallDomainListResponse.js +69 -0
  9. package/dist/models/DescribeVpcFirewallDomainListResponse.js.map +1 -0
  10. package/dist/models/DescribeVpcFirewallDomainListResponseBody.d.ts +82 -0
  11. package/dist/models/DescribeVpcFirewallDomainListResponseBody.js +105 -0
  12. package/dist/models/DescribeVpcFirewallDomainListResponseBody.js.map +1 -0
  13. package/dist/models/DescribeVpcFirewallDomainRelationListRequest.d.ts +75 -0
  14. package/dist/models/DescribeVpcFirewallDomainRelationListRequest.js +83 -0
  15. package/dist/models/DescribeVpcFirewallDomainRelationListRequest.js.map +1 -0
  16. package/dist/models/DescribeVpcFirewallDomainRelationListResponse.d.ts +19 -0
  17. package/dist/models/DescribeVpcFirewallDomainRelationListResponse.js +69 -0
  18. package/dist/models/DescribeVpcFirewallDomainRelationListResponse.js.map +1 -0
  19. package/dist/models/DescribeVpcFirewallDomainRelationListResponseBody.d.ts +149 -0
  20. package/dist/models/DescribeVpcFirewallDomainRelationListResponseBody.js +144 -0
  21. package/dist/models/DescribeVpcFirewallDomainRelationListResponseBody.js.map +1 -0
  22. package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.d.ts +74 -0
  23. package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.js +78 -0
  24. package/dist/models/DescribeVpcFirewallTrafficAssetListRequest.js.map +1 -0
  25. package/dist/models/DescribeVpcFirewallTrafficAssetListResponse.d.ts +19 -0
  26. package/dist/models/DescribeVpcFirewallTrafficAssetListResponse.js +69 -0
  27. package/dist/models/DescribeVpcFirewallTrafficAssetListResponse.js.map +1 -0
  28. package/dist/models/DescribeVpcFirewallTrafficAssetListResponseBody.d.ts +66 -0
  29. package/dist/models/DescribeVpcFirewallTrafficAssetListResponseBody.js +94 -0
  30. package/dist/models/DescribeVpcFirewallTrafficAssetListResponseBody.js.map +1 -0
  31. package/dist/models/model.d.ts +13 -0
  32. package/dist/models/model.js +43 -17
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/client.ts +250 -0
  36. package/src/models/DescribeVpcFirewallDomainListRequest.ts +107 -0
  37. package/src/models/DescribeVpcFirewallDomainListResponse.ts +40 -0
  38. package/src/models/DescribeVpcFirewallDomainListResponseBody.ts +133 -0
  39. package/src/models/DescribeVpcFirewallDomainRelationListRequest.ts +113 -0
  40. package/src/models/DescribeVpcFirewallDomainRelationListResponse.ts +40 -0
  41. package/src/models/DescribeVpcFirewallDomainRelationListResponseBody.ts +230 -0
  42. package/src/models/DescribeVpcFirewallTrafficAssetListRequest.ts +107 -0
  43. package/src/models/DescribeVpcFirewallTrafficAssetListResponse.ts +40 -0
  44. package/src/models/DescribeVpcFirewallTrafficAssetListResponseBody.ts +106 -0
  45. package/src/models/model.ts +13 -0
@@ -0,0 +1,133 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVpcFirewallDomainListResponseBodyDataList extends $dara.Model {
6
+ applicationNameList?: string[];
7
+ /**
8
+ * @example
9
+ * Google
10
+ */
11
+ business?: string;
12
+ /**
13
+ * @example
14
+ * www.a.com
15
+ */
16
+ domain?: string;
17
+ /**
18
+ * @example
19
+ * Google
20
+ */
21
+ groupName?: string;
22
+ /**
23
+ * @example
24
+ * 3214
25
+ */
26
+ requestBytes?: number;
27
+ /**
28
+ * @example
29
+ * 4582
30
+ */
31
+ responseBytes?: number;
32
+ /**
33
+ * @example
34
+ * 12
35
+ */
36
+ sessionCount?: number;
37
+ /**
38
+ * @example
39
+ * 2
40
+ */
41
+ srcIpCount?: number;
42
+ /**
43
+ * @example
44
+ * 1
45
+ */
46
+ srcVpcCount?: number;
47
+ /**
48
+ * @example
49
+ * 8111126106
50
+ */
51
+ totalBytes?: number;
52
+ static names(): { [key: string]: string } {
53
+ return {
54
+ applicationNameList: 'ApplicationNameList',
55
+ business: 'Business',
56
+ domain: 'Domain',
57
+ groupName: 'GroupName',
58
+ requestBytes: 'RequestBytes',
59
+ responseBytes: 'ResponseBytes',
60
+ sessionCount: 'SessionCount',
61
+ srcIpCount: 'SrcIpCount',
62
+ srcVpcCount: 'SrcVpcCount',
63
+ totalBytes: 'TotalBytes',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ applicationNameList: { 'type': 'array', 'itemType': 'string' },
70
+ business: 'string',
71
+ domain: 'string',
72
+ groupName: 'string',
73
+ requestBytes: 'number',
74
+ responseBytes: 'number',
75
+ sessionCount: 'number',
76
+ srcIpCount: 'number',
77
+ srcVpcCount: 'number',
78
+ totalBytes: 'number',
79
+ };
80
+ }
81
+
82
+ validate() {
83
+ if(Array.isArray(this.applicationNameList)) {
84
+ $dara.Model.validateArray(this.applicationNameList);
85
+ }
86
+ super.validate();
87
+ }
88
+
89
+ constructor(map?: { [key: string]: any }) {
90
+ super(map);
91
+ }
92
+ }
93
+
94
+ export class DescribeVpcFirewallDomainListResponseBody extends $dara.Model {
95
+ dataList?: DescribeVpcFirewallDomainListResponseBodyDataList[];
96
+ /**
97
+ * @example
98
+ * 133173B9-8010-5DF5-8B93-********
99
+ */
100
+ requestId?: string;
101
+ /**
102
+ * @example
103
+ * 132
104
+ */
105
+ totalCount?: number;
106
+ static names(): { [key: string]: string } {
107
+ return {
108
+ dataList: 'DataList',
109
+ requestId: 'RequestId',
110
+ totalCount: 'TotalCount',
111
+ };
112
+ }
113
+
114
+ static types(): { [key: string]: any } {
115
+ return {
116
+ dataList: { 'type': 'array', 'itemType': DescribeVpcFirewallDomainListResponseBodyDataList },
117
+ requestId: 'string',
118
+ totalCount: 'number',
119
+ };
120
+ }
121
+
122
+ validate() {
123
+ if(Array.isArray(this.dataList)) {
124
+ $dara.Model.validateArray(this.dataList);
125
+ }
126
+ super.validate();
127
+ }
128
+
129
+ constructor(map?: { [key: string]: any }) {
130
+ super(map);
131
+ }
132
+ }
133
+
@@ -0,0 +1,113 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVpcFirewallDomainRelationListRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ currentPage?: string;
11
+ domainList?: string[];
12
+ /**
13
+ * @example
14
+ * 34.136.111.XXX
15
+ */
16
+ dstIP?: string;
17
+ /**
18
+ * @example
19
+ * vpc-bp10w5nb30r4jzfyc****
20
+ */
21
+ dstVpcId?: string;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * 1656750960
28
+ */
29
+ endTime?: string;
30
+ /**
31
+ * @example
32
+ * zh
33
+ */
34
+ lang?: string;
35
+ /**
36
+ * @example
37
+ * desc
38
+ */
39
+ order?: string;
40
+ /**
41
+ * @example
42
+ * 10
43
+ */
44
+ pageSize?: string;
45
+ /**
46
+ * @example
47
+ * TotalBytes
48
+ */
49
+ sort?: string;
50
+ /**
51
+ * @example
52
+ * 47.92.x.x
53
+ */
54
+ srcIP?: string;
55
+ /**
56
+ * @example
57
+ * vpc-t4nlt09olhpazpoeg****
58
+ */
59
+ srcVpcId?: string;
60
+ /**
61
+ * @remarks
62
+ * This parameter is required.
63
+ *
64
+ * @example
65
+ * 1656664560
66
+ */
67
+ startTime?: string;
68
+ static names(): { [key: string]: string } {
69
+ return {
70
+ currentPage: 'CurrentPage',
71
+ domainList: 'DomainList',
72
+ dstIP: 'DstIP',
73
+ dstVpcId: 'DstVpcId',
74
+ endTime: 'EndTime',
75
+ lang: 'Lang',
76
+ order: 'Order',
77
+ pageSize: 'PageSize',
78
+ sort: 'Sort',
79
+ srcIP: 'SrcIP',
80
+ srcVpcId: 'SrcVpcId',
81
+ startTime: 'StartTime',
82
+ };
83
+ }
84
+
85
+ static types(): { [key: string]: any } {
86
+ return {
87
+ currentPage: 'string',
88
+ domainList: { 'type': 'array', 'itemType': 'string' },
89
+ dstIP: 'string',
90
+ dstVpcId: 'string',
91
+ endTime: 'string',
92
+ lang: 'string',
93
+ order: 'string',
94
+ pageSize: 'string',
95
+ sort: 'string',
96
+ srcIP: 'string',
97
+ srcVpcId: 'string',
98
+ startTime: 'string',
99
+ };
100
+ }
101
+
102
+ validate() {
103
+ if(Array.isArray(this.domainList)) {
104
+ $dara.Model.validateArray(this.domainList);
105
+ }
106
+ super.validate();
107
+ }
108
+
109
+ constructor(map?: { [key: string]: any }) {
110
+ super(map);
111
+ }
112
+ }
113
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeVpcFirewallDomainRelationListResponseBody } from "./DescribeVpcFirewallDomainRelationListResponseBody";
4
+
5
+
6
+ export class DescribeVpcFirewallDomainRelationListResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeVpcFirewallDomainRelationListResponseBody;
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: DescribeVpcFirewallDomainRelationListResponseBody,
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,230 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVpcFirewallDomainRelationListResponseBodyDataList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * Google
9
+ */
10
+ business?: string;
11
+ /**
12
+ * @example
13
+ * www.example.com
14
+ */
15
+ domain?: string;
16
+ /**
17
+ * @example
18
+ * 192.0.XX.XX
19
+ */
20
+ dstIP?: string;
21
+ /**
22
+ * @example
23
+ * cn-beijing
24
+ */
25
+ dstRegionId?: string;
26
+ /**
27
+ * @example
28
+ * vpc-bp10w5nb30r4jzfyc****
29
+ */
30
+ dstVpcId?: string;
31
+ /**
32
+ * @example
33
+ * vpc-****
34
+ */
35
+ dstVpcName?: string;
36
+ /**
37
+ * @example
38
+ * 1767147003
39
+ */
40
+ firstTime?: number;
41
+ /**
42
+ * @example
43
+ * Google
44
+ */
45
+ groupName?: string;
46
+ /**
47
+ * @example
48
+ * 10
49
+ */
50
+ ipsHitCnt?: number;
51
+ /**
52
+ * @example
53
+ * 1767147003
54
+ */
55
+ lastTime?: number;
56
+ /**
57
+ * @example
58
+ * 10000
59
+ */
60
+ requestBytes?: number;
61
+ /**
62
+ * @example
63
+ * 10000
64
+ */
65
+ responseBytes?: number;
66
+ /**
67
+ * @example
68
+ * 27
69
+ */
70
+ sessionCount?: number;
71
+ /**
72
+ * @example
73
+ * 192.0.XX.XX
74
+ */
75
+ srcIP?: string;
76
+ /**
77
+ * @example
78
+ * cn-hangzhou
79
+ */
80
+ srcRegionId?: string;
81
+ /**
82
+ * @example
83
+ * vpc-t4nlt09olhpazpoeg****
84
+ */
85
+ srcVpcId?: string;
86
+ /**
87
+ * @example
88
+ * vpc-****
89
+ */
90
+ srcVpcName?: string;
91
+ /**
92
+ * @example
93
+ * 16287823
94
+ */
95
+ totalBytes?: number;
96
+ static names(): { [key: string]: string } {
97
+ return {
98
+ business: 'Business',
99
+ domain: 'Domain',
100
+ dstIP: 'DstIP',
101
+ dstRegionId: 'DstRegionId',
102
+ dstVpcId: 'DstVpcId',
103
+ dstVpcName: 'DstVpcName',
104
+ firstTime: 'FirstTime',
105
+ groupName: 'GroupName',
106
+ ipsHitCnt: 'IpsHitCnt',
107
+ lastTime: 'LastTime',
108
+ requestBytes: 'RequestBytes',
109
+ responseBytes: 'ResponseBytes',
110
+ sessionCount: 'SessionCount',
111
+ srcIP: 'SrcIP',
112
+ srcRegionId: 'SrcRegionId',
113
+ srcVpcId: 'SrcVpcId',
114
+ srcVpcName: 'SrcVpcName',
115
+ totalBytes: 'TotalBytes',
116
+ };
117
+ }
118
+
119
+ static types(): { [key: string]: any } {
120
+ return {
121
+ business: 'string',
122
+ domain: 'string',
123
+ dstIP: 'string',
124
+ dstRegionId: 'string',
125
+ dstVpcId: 'string',
126
+ dstVpcName: 'string',
127
+ firstTime: 'number',
128
+ groupName: 'string',
129
+ ipsHitCnt: 'number',
130
+ lastTime: 'number',
131
+ requestBytes: 'number',
132
+ responseBytes: 'number',
133
+ sessionCount: 'number',
134
+ srcIP: 'string',
135
+ srcRegionId: 'string',
136
+ srcVpcId: 'string',
137
+ srcVpcName: 'string',
138
+ totalBytes: 'number',
139
+ };
140
+ }
141
+
142
+ validate() {
143
+ super.validate();
144
+ }
145
+
146
+ constructor(map?: { [key: string]: any }) {
147
+ super(map);
148
+ }
149
+ }
150
+
151
+ export class DescribeVpcFirewallDomainRelationListResponseBodyDstVpcList extends $dara.Model {
152
+ /**
153
+ * @example
154
+ * vpc-bp10w5nb30r4jzfyc****
155
+ */
156
+ vpcId?: string;
157
+ /**
158
+ * @example
159
+ * vpc-****
160
+ */
161
+ vpcName?: string;
162
+ static names(): { [key: string]: string } {
163
+ return {
164
+ vpcId: 'VpcId',
165
+ vpcName: 'VpcName',
166
+ };
167
+ }
168
+
169
+ static types(): { [key: string]: any } {
170
+ return {
171
+ vpcId: 'string',
172
+ vpcName: 'string',
173
+ };
174
+ }
175
+
176
+ validate() {
177
+ super.validate();
178
+ }
179
+
180
+ constructor(map?: { [key: string]: any }) {
181
+ super(map);
182
+ }
183
+ }
184
+
185
+ export class DescribeVpcFirewallDomainRelationListResponseBody extends $dara.Model {
186
+ dataList?: DescribeVpcFirewallDomainRelationListResponseBodyDataList[];
187
+ dstVpcList?: DescribeVpcFirewallDomainRelationListResponseBodyDstVpcList[];
188
+ /**
189
+ * @example
190
+ * C5DDD596-1191-5F36-A504-8733045A****
191
+ */
192
+ requestId?: string;
193
+ /**
194
+ * @example
195
+ * 132
196
+ */
197
+ totalCount?: number;
198
+ static names(): { [key: string]: string } {
199
+ return {
200
+ dataList: 'DataList',
201
+ dstVpcList: 'DstVpcList',
202
+ requestId: 'RequestId',
203
+ totalCount: 'TotalCount',
204
+ };
205
+ }
206
+
207
+ static types(): { [key: string]: any } {
208
+ return {
209
+ dataList: { 'type': 'array', 'itemType': DescribeVpcFirewallDomainRelationListResponseBodyDataList },
210
+ dstVpcList: { 'type': 'array', 'itemType': DescribeVpcFirewallDomainRelationListResponseBodyDstVpcList },
211
+ requestId: 'string',
212
+ totalCount: 'number',
213
+ };
214
+ }
215
+
216
+ validate() {
217
+ if(Array.isArray(this.dataList)) {
218
+ $dara.Model.validateArray(this.dataList);
219
+ }
220
+ if(Array.isArray(this.dstVpcList)) {
221
+ $dara.Model.validateArray(this.dstVpcList);
222
+ }
223
+ super.validate();
224
+ }
225
+
226
+ constructor(map?: { [key: string]: any }) {
227
+ super(map);
228
+ }
229
+ }
230
+
@@ -0,0 +1,107 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVpcFirewallTrafficAssetListRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1
9
+ */
10
+ currentPage?: string;
11
+ /**
12
+ * @example
13
+ * www.****.com
14
+ */
15
+ domain?: string;
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * 1656750960
22
+ */
23
+ endTime?: string;
24
+ /**
25
+ * @example
26
+ * 47.92.x.x
27
+ */
28
+ IP?: string;
29
+ /**
30
+ * @example
31
+ * true
32
+ */
33
+ isAITraffic?: string;
34
+ /**
35
+ * @example
36
+ * zh
37
+ */
38
+ lang?: string;
39
+ /**
40
+ * @example
41
+ * SessionCount
42
+ */
43
+ order?: string;
44
+ /**
45
+ * @example
46
+ * 10
47
+ */
48
+ pageSize?: string;
49
+ /**
50
+ * @example
51
+ * desc
52
+ */
53
+ sort?: string;
54
+ /**
55
+ * @remarks
56
+ * This parameter is required.
57
+ *
58
+ * @example
59
+ * 1656664560
60
+ */
61
+ startTime?: string;
62
+ /**
63
+ * @example
64
+ * vpc-m5ewlqkuf7orclr1****
65
+ */
66
+ vpcId?: string;
67
+ static names(): { [key: string]: string } {
68
+ return {
69
+ currentPage: 'CurrentPage',
70
+ domain: 'Domain',
71
+ endTime: 'EndTime',
72
+ IP: 'IP',
73
+ isAITraffic: 'IsAITraffic',
74
+ lang: 'Lang',
75
+ order: 'Order',
76
+ pageSize: 'PageSize',
77
+ sort: 'Sort',
78
+ startTime: 'StartTime',
79
+ vpcId: 'VpcId',
80
+ };
81
+ }
82
+
83
+ static types(): { [key: string]: any } {
84
+ return {
85
+ currentPage: 'string',
86
+ domain: 'string',
87
+ endTime: 'string',
88
+ IP: 'string',
89
+ isAITraffic: 'string',
90
+ lang: 'string',
91
+ order: 'string',
92
+ pageSize: 'string',
93
+ sort: 'string',
94
+ startTime: 'string',
95
+ vpcId: 'string',
96
+ };
97
+ }
98
+
99
+ validate() {
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeVpcFirewallTrafficAssetListResponseBody } from "./DescribeVpcFirewallTrafficAssetListResponseBody";
4
+
5
+
6
+ export class DescribeVpcFirewallTrafficAssetListResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeVpcFirewallTrafficAssetListResponseBody;
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: DescribeVpcFirewallTrafficAssetListResponseBody,
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
+