@alicloud/esa20240910 2.36.1 → 2.37.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 +135 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DeleteHttpDdoSintelligentRuleRequest.d.ts +37 -0
  5. package/dist/models/DeleteHttpDdoSintelligentRuleRequest.js +62 -0
  6. package/dist/models/DeleteHttpDdoSintelligentRuleRequest.js.map +1 -0
  7. package/dist/models/DeleteHttpDdoSintelligentRuleResponse.d.ts +19 -0
  8. package/dist/models/DeleteHttpDdoSintelligentRuleResponse.js +69 -0
  9. package/dist/models/DeleteHttpDdoSintelligentRuleResponse.js.map +1 -0
  10. package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.d.ts +36 -0
  11. package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.js +64 -0
  12. package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.js.map +1 -0
  13. package/dist/models/SetHttpDdoSattackRuleActionRequest.d.ts +37 -0
  14. package/dist/models/SetHttpDdoSattackRuleActionRequest.js +62 -0
  15. package/dist/models/SetHttpDdoSattackRuleActionRequest.js.map +1 -0
  16. package/dist/models/SetHttpDdoSattackRuleActionResponse.d.ts +19 -0
  17. package/dist/models/SetHttpDdoSattackRuleActionResponse.js +69 -0
  18. package/dist/models/SetHttpDdoSattackRuleActionResponse.js.map +1 -0
  19. package/dist/models/SetHttpDdoSattackRuleActionResponseBody.d.ts +21 -0
  20. package/dist/models/SetHttpDdoSattackRuleActionResponseBody.js +58 -0
  21. package/dist/models/SetHttpDdoSattackRuleActionResponseBody.js.map +1 -0
  22. package/dist/models/SetHttpDdoSattackRuleStatusRequest.d.ts +37 -0
  23. package/dist/models/SetHttpDdoSattackRuleStatusRequest.js +62 -0
  24. package/dist/models/SetHttpDdoSattackRuleStatusRequest.js.map +1 -0
  25. package/dist/models/SetHttpDdoSattackRuleStatusResponse.d.ts +19 -0
  26. package/dist/models/SetHttpDdoSattackRuleStatusResponse.js +69 -0
  27. package/dist/models/SetHttpDdoSattackRuleStatusResponse.js.map +1 -0
  28. package/dist/models/SetHttpDdoSattackRuleStatusResponseBody.d.ts +21 -0
  29. package/dist/models/SetHttpDdoSattackRuleStatusResponseBody.js +58 -0
  30. package/dist/models/SetHttpDdoSattackRuleStatusResponseBody.js.map +1 -0
  31. package/dist/models/model.d.ts +9 -0
  32. package/dist/models/model.js +37 -19
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/client.ts +150 -0
  36. package/src/models/DeleteHttpDdoSintelligentRuleRequest.ts +54 -0
  37. package/src/models/DeleteHttpDdoSintelligentRuleResponse.ts +40 -0
  38. package/src/models/DeleteHttpDdoSintelligentRuleResponseBody.ts +55 -0
  39. package/src/models/SetHttpDdoSattackRuleActionRequest.ts +54 -0
  40. package/src/models/SetHttpDdoSattackRuleActionResponse.ts +40 -0
  41. package/src/models/SetHttpDdoSattackRuleActionResponseBody.ts +34 -0
  42. package/src/models/SetHttpDdoSattackRuleStatusRequest.ts +54 -0
  43. package/src/models/SetHttpDdoSattackRuleStatusResponse.ts +40 -0
  44. package/src/models/SetHttpDdoSattackRuleStatusResponseBody.ts +34 -0
  45. package/src/models/model.ts +9 -0
@@ -0,0 +1,37 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteHttpDDoSIntelligentRuleRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * www.example.com
9
+ */
10
+ recordName?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * 20928021
17
+ */
18
+ ruleId?: number;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * 123456****
25
+ */
26
+ siteId?: number;
27
+ static names(): {
28
+ [key: string]: string;
29
+ };
30
+ static types(): {
31
+ [key: string]: any;
32
+ };
33
+ validate(): void;
34
+ constructor(map?: {
35
+ [key: string]: any;
36
+ });
37
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteHttpDDoSIntelligentRuleRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteHttpDDoSIntelligentRuleRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ recordName: 'RecordName',
43
+ ruleId: 'RuleId',
44
+ siteId: 'SiteId',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ recordName: 'string',
50
+ ruleId: 'number',
51
+ siteId: 'number',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.DeleteHttpDDoSIntelligentRuleRequest = DeleteHttpDDoSIntelligentRuleRequest;
62
+ //# sourceMappingURL=DeleteHttpDdoSintelligentRuleRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteHttpDdoSintelligentRuleRequest.js","sourceRoot":"","sources":["../../src/models/DeleteHttpDdoSintelligentRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oCAAqC,SAAQ,KAAK,CAAC,KAAK;IAyBnE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,oFAgDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DeleteHttpDDoSIntelligentRuleResponseBody } from "./DeleteHttpDdoSintelligentRuleResponseBody";
3
+ export declare class DeleteHttpDDoSIntelligentRuleResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DeleteHttpDDoSIntelligentRuleResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteHttpDDoSIntelligentRuleResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DeleteHttpDdoSintelligentRuleResponseBody_1 = require("./DeleteHttpDdoSintelligentRuleResponseBody");
40
+ class DeleteHttpDDoSIntelligentRuleResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DeleteHttpDdoSintelligentRuleResponseBody_1.DeleteHttpDDoSIntelligentRuleResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DeleteHttpDDoSIntelligentRuleResponse = DeleteHttpDDoSIntelligentRuleResponse;
69
+ //# sourceMappingURL=DeleteHttpDdoSintelligentRuleResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteHttpDdoSintelligentRuleResponse.js","sourceRoot":"","sources":["../../src/models/DeleteHttpDdoSintelligentRuleResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2GAAwG;AAGxG,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAIpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,qFAAyC;SAChD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,sFAiCC"}
@@ -0,0 +1,36 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DeleteHttpDDoSIntelligentRuleResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * www.example.com
6
+ */
7
+ recordName?: string;
8
+ /**
9
+ * @remarks
10
+ * Id of the request
11
+ *
12
+ * @example
13
+ * 15C66C7B-671A-4297-9187-2C4477247A74
14
+ */
15
+ requestId?: string;
16
+ /**
17
+ * @example
18
+ * 20757864
19
+ */
20
+ ruleId?: number;
21
+ /**
22
+ * @example
23
+ * 123456****
24
+ */
25
+ siteId?: number;
26
+ static names(): {
27
+ [key: string]: string;
28
+ };
29
+ static types(): {
30
+ [key: string]: any;
31
+ };
32
+ validate(): void;
33
+ constructor(map?: {
34
+ [key: string]: any;
35
+ });
36
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DeleteHttpDDoSIntelligentRuleResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DeleteHttpDDoSIntelligentRuleResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ recordName: 'RecordName',
43
+ requestId: 'RequestId',
44
+ ruleId: 'RuleId',
45
+ siteId: 'SiteId',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ recordName: 'string',
51
+ requestId: 'string',
52
+ ruleId: 'number',
53
+ siteId: 'number',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.DeleteHttpDDoSIntelligentRuleResponseBody = DeleteHttpDDoSIntelligentRuleResponseBody;
64
+ //# sourceMappingURL=DeleteHttpDdoSintelligentRuleResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteHttpDdoSintelligentRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteHttpDdoSintelligentRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yCAA0C,SAAQ,KAAK,CAAC,KAAK;IAwBxE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjDD,8FAiDC"}
@@ -0,0 +1,37 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class SetHttpDDoSAttackRuleActionRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * js
9
+ */
10
+ ruleAction?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * 100000
17
+ */
18
+ ruleIds?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * 123456****
25
+ */
26
+ siteId?: number;
27
+ static names(): {
28
+ [key: string]: string;
29
+ };
30
+ static types(): {
31
+ [key: string]: any;
32
+ };
33
+ validate(): void;
34
+ constructor(map?: {
35
+ [key: string]: any;
36
+ });
37
+ }
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.SetHttpDDoSAttackRuleActionRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class SetHttpDDoSAttackRuleActionRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ ruleAction: 'RuleAction',
43
+ ruleIds: 'RuleIds',
44
+ siteId: 'SiteId',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ ruleAction: 'string',
50
+ ruleIds: 'string',
51
+ siteId: 'number',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.SetHttpDDoSAttackRuleActionRequest = SetHttpDDoSAttackRuleActionRequest;
62
+ //# sourceMappingURL=SetHttpDdoSattackRuleActionRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetHttpDdoSattackRuleActionRequest.js","sourceRoot":"","sources":["../../src/models/SetHttpDdoSattackRuleActionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAyBjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,gFAgDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { SetHttpDDoSAttackRuleActionResponseBody } from "./SetHttpDdoSattackRuleActionResponseBody";
3
+ export declare class SetHttpDDoSAttackRuleActionResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: SetHttpDDoSAttackRuleActionResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.SetHttpDDoSAttackRuleActionResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const SetHttpDdoSattackRuleActionResponseBody_1 = require("./SetHttpDdoSattackRuleActionResponseBody");
40
+ class SetHttpDDoSAttackRuleActionResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: SetHttpDdoSattackRuleActionResponseBody_1.SetHttpDDoSAttackRuleActionResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.SetHttpDDoSAttackRuleActionResponse = SetHttpDDoSAttackRuleActionResponse;
69
+ //# sourceMappingURL=SetHttpDdoSattackRuleActionResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetHttpDdoSattackRuleActionResponse.js","sourceRoot":"","sources":["../../src/models/SetHttpDdoSattackRuleActionResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uGAAoG;AAGpG,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAIlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iFAAuC;SAC9C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kFAiCC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class SetHttpDDoSAttackRuleActionResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * Id of the request
6
+ *
7
+ * @example
8
+ * C370DAF1-C838-4288-A1A0-9A87633D2***
9
+ */
10
+ requestId?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.SetHttpDDoSAttackRuleActionResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class SetHttpDDoSAttackRuleActionResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.SetHttpDDoSAttackRuleActionResponseBody = SetHttpDDoSAttackRuleActionResponseBody;
58
+ //# sourceMappingURL=SetHttpDdoSattackRuleActionResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetHttpDdoSattackRuleActionResponseBody.js","sourceRoot":"","sources":["../../src/models/SetHttpDdoSattackRuleActionResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAStE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,0FA4BC"}
@@ -0,0 +1,37 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class SetHttpDDoSAttackRuleStatusRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * This parameter is required.
6
+ *
7
+ * @example
8
+ * 87570
9
+ */
10
+ ruleIds?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * 123456****
17
+ */
18
+ siteId?: number;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * on
25
+ */
26
+ status?: string;
27
+ static names(): {
28
+ [key: string]: string;
29
+ };
30
+ static types(): {
31
+ [key: string]: any;
32
+ };
33
+ validate(): void;
34
+ constructor(map?: {
35
+ [key: string]: any;
36
+ });
37
+ }