@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.
Files changed (141) hide show
  1. package/dist/client.d.ts +165 -0
  2. package/dist/client.js +573 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAddressRequest.d.ts +39 -0
  5. package/dist/models/AddAddressRequest.js +67 -0
  6. package/dist/models/AddAddressRequest.js.map +1 -0
  7. package/dist/models/AddAddressResponse.d.ts +19 -0
  8. package/dist/models/AddAddressResponse.js +69 -0
  9. package/dist/models/AddAddressResponse.js.map +1 -0
  10. package/dist/models/AddAddressResponseBody.d.ts +18 -0
  11. package/dist/models/AddAddressResponseBody.js +58 -0
  12. package/dist/models/AddAddressResponseBody.js.map +1 -0
  13. package/dist/models/ClearAddressRequest.d.ts +34 -0
  14. package/dist/models/ClearAddressRequest.js +62 -0
  15. package/dist/models/ClearAddressRequest.js.map +1 -0
  16. package/dist/models/ClearAddressResponse.d.ts +19 -0
  17. package/dist/models/ClearAddressResponse.js +69 -0
  18. package/dist/models/ClearAddressResponse.js.map +1 -0
  19. package/dist/models/ClearAddressResponseBody.d.ts +18 -0
  20. package/dist/models/ClearAddressResponseBody.js +58 -0
  21. package/dist/models/ClearAddressResponseBody.js.map +1 -0
  22. package/dist/models/DeleteAddressRequest.d.ts +39 -0
  23. package/dist/models/DeleteAddressRequest.js +67 -0
  24. package/dist/models/DeleteAddressRequest.js.map +1 -0
  25. package/dist/models/DeleteAddressResponse.d.ts +19 -0
  26. package/dist/models/DeleteAddressResponse.js +69 -0
  27. package/dist/models/DeleteAddressResponse.js.map +1 -0
  28. package/dist/models/DeleteAddressResponseBody.d.ts +18 -0
  29. package/dist/models/DeleteAddressResponseBody.js +58 -0
  30. package/dist/models/DeleteAddressResponseBody.js.map +1 -0
  31. package/dist/models/DescribeAddressesRequest.d.ts +51 -0
  32. package/dist/models/DescribeAddressesRequest.js +70 -0
  33. package/dist/models/DescribeAddressesRequest.js.map +1 -0
  34. package/dist/models/DescribeAddressesResponse.d.ts +19 -0
  35. package/dist/models/DescribeAddressesResponse.js +69 -0
  36. package/dist/models/DescribeAddressesResponse.js.map +1 -0
  37. package/dist/models/DescribeAddressesResponseBody.d.ts +61 -0
  38. package/dist/models/DescribeAddressesResponseBody.js +92 -0
  39. package/dist/models/DescribeAddressesResponseBody.js.map +1 -0
  40. package/dist/models/DescribeAlarmBannerRequest.d.ts +31 -0
  41. package/dist/models/DescribeAlarmBannerRequest.js +62 -0
  42. package/dist/models/DescribeAlarmBannerRequest.js.map +1 -0
  43. package/dist/models/DescribeAlarmBannerResponse.d.ts +19 -0
  44. package/dist/models/DescribeAlarmBannerResponse.js +69 -0
  45. package/dist/models/DescribeAlarmBannerResponse.js.map +1 -0
  46. package/dist/models/DescribeAlarmBannerResponseBody.d.ts +51 -0
  47. package/dist/models/DescribeAlarmBannerResponseBody.js +88 -0
  48. package/dist/models/DescribeAlarmBannerResponseBody.js.map +1 -0
  49. package/dist/models/DescribeAlarmListRequest.d.ts +31 -0
  50. package/dist/models/DescribeAlarmListRequest.js +62 -0
  51. package/dist/models/DescribeAlarmListRequest.js.map +1 -0
  52. package/dist/models/DescribeAlarmListResponse.d.ts +19 -0
  53. package/dist/models/DescribeAlarmListResponse.js +69 -0
  54. package/dist/models/DescribeAlarmListResponse.js.map +1 -0
  55. package/dist/models/DescribeAlarmListResponseBody.d.ts +66 -0
  56. package/dist/models/DescribeAlarmListResponseBody.js +94 -0
  57. package/dist/models/DescribeAlarmListResponseBody.js.map +1 -0
  58. package/dist/models/DescribeApisecExamplesRequest.d.ts +70 -0
  59. package/dist/models/DescribeApisecExamplesRequest.js +84 -0
  60. package/dist/models/DescribeApisecExamplesRequest.js.map +1 -0
  61. package/dist/models/DescribeApisecExamplesResponse.d.ts +19 -0
  62. package/dist/models/DescribeApisecExamplesResponse.js +69 -0
  63. package/dist/models/DescribeApisecExamplesResponse.js.map +1 -0
  64. package/dist/models/DescribeApisecExamplesResponseBody.d.ts +109 -0
  65. package/dist/models/DescribeApisecExamplesResponseBody.js +154 -0
  66. package/dist/models/DescribeApisecExamplesResponseBody.js.map +1 -0
  67. package/dist/models/DescribeBotAppKeyRequest.d.ts +36 -0
  68. package/dist/models/DescribeBotAppKeyRequest.js +64 -0
  69. package/dist/models/DescribeBotAppKeyRequest.js.map +1 -0
  70. package/dist/models/DescribeBotAppKeyResponse.d.ts +19 -0
  71. package/dist/models/DescribeBotAppKeyResponse.js +69 -0
  72. package/dist/models/DescribeBotAppKeyResponse.js.map +1 -0
  73. package/dist/models/DescribeBotAppKeyResponseBody.d.ts +26 -0
  74. package/dist/models/DescribeBotAppKeyResponseBody.js +60 -0
  75. package/dist/models/DescribeBotAppKeyResponseBody.js.map +1 -0
  76. package/dist/models/DescribeRelatedDefenseRulesRequest.d.ts +65 -0
  77. package/dist/models/DescribeRelatedDefenseRulesRequest.js +72 -0
  78. package/dist/models/DescribeRelatedDefenseRulesRequest.js.map +1 -0
  79. package/dist/models/DescribeRelatedDefenseRulesResponse.d.ts +19 -0
  80. package/dist/models/DescribeRelatedDefenseRulesResponse.js +69 -0
  81. package/dist/models/DescribeRelatedDefenseRulesResponse.js.map +1 -0
  82. package/dist/models/DescribeRelatedDefenseRulesResponseBody.d.ts +71 -0
  83. package/dist/models/DescribeRelatedDefenseRulesResponseBody.js +96 -0
  84. package/dist/models/DescribeRelatedDefenseRulesResponseBody.js.map +1 -0
  85. package/dist/models/DescribeThreatEventDetailRequest.d.ts +39 -0
  86. package/dist/models/DescribeThreatEventDetailRequest.js +64 -0
  87. package/dist/models/DescribeThreatEventDetailRequest.js.map +1 -0
  88. package/dist/models/DescribeThreatEventDetailResponse.d.ts +19 -0
  89. package/dist/models/DescribeThreatEventDetailResponse.js +69 -0
  90. package/dist/models/DescribeThreatEventDetailResponse.js.map +1 -0
  91. package/dist/models/DescribeThreatEventDetailResponseBody.d.ts +91 -0
  92. package/dist/models/DescribeThreatEventDetailResponseBody.js +104 -0
  93. package/dist/models/DescribeThreatEventDetailResponseBody.js.map +1 -0
  94. package/dist/models/DescribeThreatEventRequest.d.ts +62 -0
  95. package/dist/models/DescribeThreatEventRequest.js +72 -0
  96. package/dist/models/DescribeThreatEventRequest.js.map +1 -0
  97. package/dist/models/DescribeThreatEventResponse.d.ts +19 -0
  98. package/dist/models/DescribeThreatEventResponse.js +69 -0
  99. package/dist/models/DescribeThreatEventResponse.js.map +1 -0
  100. package/dist/models/DescribeThreatEventResponseBody.d.ts +71 -0
  101. package/dist/models/DescribeThreatEventResponseBody.js +96 -0
  102. package/dist/models/DescribeThreatEventResponseBody.js.map +1 -0
  103. package/dist/models/model.d.ts +42 -0
  104. package/dist/models/model.js +103 -18
  105. package/dist/models/model.js.map +1 -1
  106. package/package.json +1 -1
  107. package/src/client.ts +693 -39
  108. package/src/models/AddAddressRequest.ts +61 -0
  109. package/src/models/AddAddressResponse.ts +40 -0
  110. package/src/models/AddAddressResponseBody.ts +31 -0
  111. package/src/models/ClearAddressRequest.ts +51 -0
  112. package/src/models/ClearAddressResponse.ts +40 -0
  113. package/src/models/ClearAddressResponseBody.ts +31 -0
  114. package/src/models/DeleteAddressRequest.ts +61 -0
  115. package/src/models/DeleteAddressResponse.ts +40 -0
  116. package/src/models/DeleteAddressResponseBody.ts +31 -0
  117. package/src/models/DescribeAddressesRequest.ts +76 -0
  118. package/src/models/DescribeAddressesResponse.ts +40 -0
  119. package/src/models/DescribeAddressesResponseBody.ts +99 -0
  120. package/src/models/DescribeAlarmBannerRequest.ts +48 -0
  121. package/src/models/DescribeAlarmBannerResponse.ts +40 -0
  122. package/src/models/DescribeAlarmBannerResponseBody.ts +85 -0
  123. package/src/models/DescribeAlarmListRequest.ts +48 -0
  124. package/src/models/DescribeAlarmListResponse.ts +40 -0
  125. package/src/models/DescribeAlarmListResponseBody.ts +106 -0
  126. package/src/models/DescribeApisecExamplesRequest.ts +109 -0
  127. package/src/models/DescribeApisecExamplesResponse.ts +40 -0
  128. package/src/models/DescribeApisecExamplesResponseBody.ts +191 -0
  129. package/src/models/DescribeBotAppKeyRequest.ts +55 -0
  130. package/src/models/DescribeBotAppKeyResponse.ts +40 -0
  131. package/src/models/DescribeBotAppKeyResponseBody.ts +41 -0
  132. package/src/models/DescribeRelatedDefenseRulesRequest.ts +92 -0
  133. package/src/models/DescribeRelatedDefenseRulesResponse.ts +40 -0
  134. package/src/models/DescribeRelatedDefenseRulesResponseBody.ts +113 -0
  135. package/src/models/DescribeThreatEventDetailRequest.ts +58 -0
  136. package/src/models/DescribeThreatEventDetailResponse.ts +40 -0
  137. package/src/models/DescribeThreatEventDetailResponseBody.ts +141 -0
  138. package/src/models/DescribeThreatEventRequest.ts +89 -0
  139. package/src/models/DescribeThreatEventResponse.ts +40 -0
  140. package/src/models/DescribeThreatEventResponseBody.ts +113 -0
  141. package/src/models/model.ts +42 -0
@@ -0,0 +1,61 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class AddAddressRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ addressList?: string[];
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * waf_cdnsdf3****
17
+ */
18
+ instanceId?: string;
19
+ /**
20
+ * @example
21
+ * rg-acfm***q
22
+ */
23
+ resourceManagerResourceGroupId?: string;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * 12345678
30
+ */
31
+ ruleId?: number;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ addressList: 'AddressList',
35
+ instanceId: 'InstanceId',
36
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
37
+ ruleId: 'RuleId',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ addressList: { 'type': 'array', 'itemType': 'string' },
44
+ instanceId: 'string',
45
+ resourceManagerResourceGroupId: 'string',
46
+ ruleId: 'number',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ if(Array.isArray(this.addressList)) {
52
+ $dara.Model.validateArray(this.addressList);
53
+ }
54
+ super.validate();
55
+ }
56
+
57
+ constructor(map?: { [key: string]: any }) {
58
+ super(map);
59
+ }
60
+ }
61
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { AddAddressResponseBody } from "./AddAddressResponseBody";
4
+
5
+
6
+ export class AddAddressResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: AddAddressResponseBody;
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: AddAddressResponseBody,
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,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class AddAddressResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 2EFCFE18-78F8-5079-B312-07***48B
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ClearAddressRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * waf-cn-7mz****hw0u
12
+ */
13
+ instanceId?: string;
14
+ /**
15
+ * @example
16
+ * rg-acfm***q
17
+ */
18
+ resourceManagerResourceGroupId?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * 12345678
25
+ */
26
+ ruleId?: number;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ instanceId: 'InstanceId',
30
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
31
+ ruleId: 'RuleId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ instanceId: 'string',
38
+ resourceManagerResourceGroupId: 'string',
39
+ ruleId: 'number',
40
+ };
41
+ }
42
+
43
+ validate() {
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ClearAddressResponseBody } from "./ClearAddressResponseBody";
4
+
5
+
6
+ export class ClearAddressResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ClearAddressResponseBody;
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: ClearAddressResponseBody,
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,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ClearAddressResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 276D7566-31C9-4192-9DD1-51B10D*****
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,61 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteAddressRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ addressList?: string[];
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * waf_v2_public_cn-wwo36****0i
17
+ */
18
+ instanceId?: string;
19
+ /**
20
+ * @example
21
+ * rg-acfm***q
22
+ */
23
+ resourceManagerResourceGroupId?: string;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * 12345678
30
+ */
31
+ ruleId?: number;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ addressList: 'AddressList',
35
+ instanceId: 'InstanceId',
36
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
37
+ ruleId: 'RuleId',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ addressList: { 'type': 'array', 'itemType': 'string' },
44
+ instanceId: 'string',
45
+ resourceManagerResourceGroupId: 'string',
46
+ ruleId: 'number',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ if(Array.isArray(this.addressList)) {
52
+ $dara.Model.validateArray(this.addressList);
53
+ }
54
+ super.validate();
55
+ }
56
+
57
+ constructor(map?: { [key: string]: any }) {
58
+ super(map);
59
+ }
60
+ }
61
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteAddressResponseBody } from "./DeleteAddressResponseBody";
4
+
5
+
6
+ export class DeleteAddressResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteAddressResponseBody;
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: DeleteAddressResponseBody,
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,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteAddressResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * C33EB3D5-AF96-43CA-9C7E-37A8****6A1E
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,76 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeAddressesRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1.2.3.3
9
+ */
10
+ addressLike?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * waf_elasticity-cn-0xldbqt****
17
+ */
18
+ instanceId?: string;
19
+ /**
20
+ * @example
21
+ * 20
22
+ */
23
+ maxResults?: number;
24
+ /**
25
+ * @example
26
+ * AAAAAGBgV9tolsLfijC4wam2htS*****D/46H3X2wIS
27
+ */
28
+ nextToken?: string;
29
+ /**
30
+ * @example
31
+ * cn-hangzhou
32
+ */
33
+ regionId?: string;
34
+ /**
35
+ * @example
36
+ * rg-acfm4gh****wela
37
+ */
38
+ resourceManagerResourceGroupId?: string;
39
+ /**
40
+ * @example
41
+ * 12345678
42
+ */
43
+ ruleId?: number;
44
+ static names(): { [key: string]: string } {
45
+ return {
46
+ addressLike: 'AddressLike',
47
+ instanceId: 'InstanceId',
48
+ maxResults: 'MaxResults',
49
+ nextToken: 'NextToken',
50
+ regionId: 'RegionId',
51
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
52
+ ruleId: 'RuleId',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ addressLike: 'string',
59
+ instanceId: 'string',
60
+ maxResults: 'number',
61
+ nextToken: 'string',
62
+ regionId: 'string',
63
+ resourceManagerResourceGroupId: 'string',
64
+ ruleId: 'number',
65
+ };
66
+ }
67
+
68
+ validate() {
69
+ super.validate();
70
+ }
71
+
72
+ constructor(map?: { [key: string]: any }) {
73
+ super(map);
74
+ }
75
+ }
76
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeAddressesResponseBody } from "./DescribeAddressesResponseBody";
4
+
5
+
6
+ export class DescribeAddressesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeAddressesResponseBody;
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: DescribeAddressesResponseBody,
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,99 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeAddressesResponseBodyAddressList extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1.1.1.1
9
+ */
10
+ address?: string;
11
+ /**
12
+ * @example
13
+ * 1760408233000
14
+ */
15
+ gmtModified?: number;
16
+ /**
17
+ * @example
18
+ * 12345678
19
+ */
20
+ ruleId?: number;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ address: 'Address',
24
+ gmtModified: 'GmtModified',
25
+ ruleId: 'RuleId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ address: 'string',
32
+ gmtModified: 'number',
33
+ ruleId: 'number',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
46
+ export class DescribeAddressesResponseBody extends $dara.Model {
47
+ addressList?: DescribeAddressesResponseBodyAddressList[];
48
+ /**
49
+ * @example
50
+ * 20
51
+ */
52
+ maxResults?: number;
53
+ /**
54
+ * @example
55
+ * AAAAAGBgV9tolsLfijC4wam2htS*****D/46H3X2wIS
56
+ */
57
+ nextToken?: string;
58
+ /**
59
+ * @example
60
+ * 8D8EBFB7-E1EB-5236-952A-092EDC72***
61
+ */
62
+ requestId?: string;
63
+ /**
64
+ * @example
65
+ * 10
66
+ */
67
+ totalCount?: number;
68
+ static names(): { [key: string]: string } {
69
+ return {
70
+ addressList: 'AddressList',
71
+ maxResults: 'MaxResults',
72
+ nextToken: 'NextToken',
73
+ requestId: 'RequestId',
74
+ totalCount: 'TotalCount',
75
+ };
76
+ }
77
+
78
+ static types(): { [key: string]: any } {
79
+ return {
80
+ addressList: { 'type': 'array', 'itemType': DescribeAddressesResponseBodyAddressList },
81
+ maxResults: 'number',
82
+ nextToken: 'string',
83
+ requestId: 'string',
84
+ totalCount: 'number',
85
+ };
86
+ }
87
+
88
+ validate() {
89
+ if(Array.isArray(this.addressList)) {
90
+ $dara.Model.validateArray(this.addressList);
91
+ }
92
+ super.validate();
93
+ }
94
+
95
+ constructor(map?: { [key: string]: any }) {
96
+ super(map);
97
+ }
98
+ }
99
+
@@ -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 DescribeAlarmBannerRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * waf_v3prepaid_public_cn-kf74****
12
+ */
13
+ instanceId?: string;
14
+ /**
15
+ * @example
16
+ * cn-hangzhou
17
+ */
18
+ regionId?: string;
19
+ /**
20
+ * @example
21
+ * rg-aek2zerdgm****
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 { DescribeAlarmBannerResponseBody } from "./DescribeAlarmBannerResponseBody";
4
+
5
+
6
+ export class DescribeAlarmBannerResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeAlarmBannerResponseBody;
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: DescribeAlarmBannerResponseBody,
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
+