@alicloud/esa20240910 2.36.1 → 2.38.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 +201 -0
- package/dist/client.js +525 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateUserWafRulesetRequest.d.ts +62 -0
- package/dist/models/CreateUserWafRulesetRequest.js +80 -0
- package/dist/models/CreateUserWafRulesetRequest.js.map +1 -0
- package/dist/models/CreateUserWafRulesetResponse.d.ts +19 -0
- package/dist/models/CreateUserWafRulesetResponse.js +69 -0
- package/dist/models/CreateUserWafRulesetResponse.js.map +1 -0
- package/dist/models/CreateUserWafRulesetResponseBody.d.ts +24 -0
- package/dist/models/CreateUserWafRulesetResponseBody.js +65 -0
- package/dist/models/CreateUserWafRulesetResponseBody.js.map +1 -0
- package/dist/models/CreateUserWafRulesetShrinkRequest.d.ts +60 -0
- package/dist/models/CreateUserWafRulesetShrinkRequest.js +72 -0
- package/dist/models/CreateUserWafRulesetShrinkRequest.js.map +1 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleRequest.d.ts +37 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleRequest.js +62 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleRequest.js.map +1 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleResponse.d.ts +19 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleResponse.js +69 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleResponse.js.map +1 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.d.ts +36 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.js +64 -0
- package/dist/models/DeleteHttpDdoSintelligentRuleResponseBody.js.map +1 -0
- package/dist/models/DeleteUserWafRulesetRequest.d.ts +29 -0
- package/dist/models/DeleteUserWafRulesetRequest.js +60 -0
- package/dist/models/DeleteUserWafRulesetRequest.js.map +1 -0
- package/dist/models/DeleteUserWafRulesetResponse.d.ts +19 -0
- package/dist/models/DeleteUserWafRulesetResponse.js +69 -0
- package/dist/models/DeleteUserWafRulesetResponse.js.map +1 -0
- package/dist/models/DeleteUserWafRulesetResponseBody.d.ts +18 -0
- package/dist/models/DeleteUserWafRulesetResponseBody.js +58 -0
- package/dist/models/DeleteUserWafRulesetResponseBody.js.map +1 -0
- package/dist/models/GetRoutineAccessTokenRequest.d.ts +21 -0
- package/dist/models/GetRoutineAccessTokenRequest.js +58 -0
- package/dist/models/GetRoutineAccessTokenRequest.js.map +1 -0
- package/dist/models/GetRoutineAccessTokenResponse.d.ts +19 -0
- package/dist/models/GetRoutineAccessTokenResponse.js +69 -0
- package/dist/models/GetRoutineAccessTokenResponse.js.map +1 -0
- package/dist/models/GetRoutineAccessTokenResponseBody.d.ts +23 -0
- package/dist/models/GetRoutineAccessTokenResponseBody.js +60 -0
- package/dist/models/GetRoutineAccessTokenResponseBody.js.map +1 -0
- package/dist/models/GetUserWafRulesetRequest.d.ts +29 -0
- package/dist/models/GetUserWafRulesetRequest.js +60 -0
- package/dist/models/GetUserWafRulesetRequest.js.map +1 -0
- package/dist/models/GetUserWafRulesetResponse.d.ts +19 -0
- package/dist/models/GetUserWafRulesetResponse.js +69 -0
- package/dist/models/GetUserWafRulesetResponse.js.map +1 -0
- package/dist/models/GetUserWafRulesetResponseBody.d.ts +165 -0
- package/dist/models/GetUserWafRulesetResponseBody.js +163 -0
- package/dist/models/GetUserWafRulesetResponseBody.js.map +1 -0
- package/dist/models/ListUserWafRulesetsRequest.d.ts +64 -0
- package/dist/models/ListUserWafRulesetsRequest.js +92 -0
- package/dist/models/ListUserWafRulesetsRequest.js.map +1 -0
- package/dist/models/ListUserWafRulesetsResponse.d.ts +19 -0
- package/dist/models/ListUserWafRulesetsResponse.js +69 -0
- package/dist/models/ListUserWafRulesetsResponse.js.map +1 -0
- package/dist/models/ListUserWafRulesetsResponseBody.d.ts +84 -0
- package/dist/models/ListUserWafRulesetsResponseBody.js +100 -0
- package/dist/models/ListUserWafRulesetsResponseBody.js.map +1 -0
- package/dist/models/ListUserWafRulesetsShrinkRequest.d.ts +41 -0
- package/dist/models/ListUserWafRulesetsShrinkRequest.js +66 -0
- package/dist/models/ListUserWafRulesetsShrinkRequest.js.map +1 -0
- package/dist/models/SetHttpDdoSattackRuleActionRequest.d.ts +37 -0
- package/dist/models/SetHttpDdoSattackRuleActionRequest.js +62 -0
- package/dist/models/SetHttpDdoSattackRuleActionRequest.js.map +1 -0
- package/dist/models/SetHttpDdoSattackRuleActionResponse.d.ts +19 -0
- package/dist/models/SetHttpDdoSattackRuleActionResponse.js +69 -0
- package/dist/models/SetHttpDdoSattackRuleActionResponse.js.map +1 -0
- package/dist/models/SetHttpDdoSattackRuleActionResponseBody.d.ts +21 -0
- package/dist/models/SetHttpDdoSattackRuleActionResponseBody.js +58 -0
- package/dist/models/SetHttpDdoSattackRuleActionResponseBody.js.map +1 -0
- package/dist/models/SetHttpDdoSattackRuleStatusRequest.d.ts +37 -0
- package/dist/models/SetHttpDdoSattackRuleStatusRequest.js +62 -0
- package/dist/models/SetHttpDdoSattackRuleStatusRequest.js.map +1 -0
- package/dist/models/SetHttpDdoSattackRuleStatusResponse.d.ts +19 -0
- package/dist/models/SetHttpDdoSattackRuleStatusResponse.js +69 -0
- package/dist/models/SetHttpDdoSattackRuleStatusResponse.js.map +1 -0
- package/dist/models/SetHttpDdoSattackRuleStatusResponseBody.d.ts +21 -0
- package/dist/models/SetHttpDdoSattackRuleStatusResponseBody.js +58 -0
- package/dist/models/SetHttpDdoSattackRuleStatusResponseBody.js.map +1 -0
- package/dist/models/UpdateUserWafRulesetRequest.d.ts +68 -0
- package/dist/models/UpdateUserWafRulesetRequest.js +82 -0
- package/dist/models/UpdateUserWafRulesetRequest.js.map +1 -0
- package/dist/models/UpdateUserWafRulesetResponse.d.ts +19 -0
- package/dist/models/UpdateUserWafRulesetResponse.js +69 -0
- package/dist/models/UpdateUserWafRulesetResponse.js.map +1 -0
- package/dist/models/UpdateUserWafRulesetResponseBody.d.ts +18 -0
- package/dist/models/UpdateUserWafRulesetResponseBody.js +58 -0
- package/dist/models/UpdateUserWafRulesetResponseBody.js.map +1 -0
- package/dist/models/UpdateUserWafRulesetShrinkRequest.d.ts +66 -0
- package/dist/models/UpdateUserWafRulesetShrinkRequest.js +74 -0
- package/dist/models/UpdateUserWafRulesetShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +34 -0
- package/dist/models/model.js +95 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +584 -0
- package/src/models/CreateUserWafRulesetRequest.ts +95 -0
- package/src/models/CreateUserWafRulesetResponse.ts +40 -0
- package/src/models/CreateUserWafRulesetResponseBody.ts +44 -0
- package/src/models/CreateUserWafRulesetShrinkRequest.ts +87 -0
- package/src/models/DeleteHttpDdoSintelligentRuleRequest.ts +54 -0
- package/src/models/DeleteHttpDdoSintelligentRuleResponse.ts +40 -0
- package/src/models/DeleteHttpDdoSintelligentRuleResponseBody.ts +55 -0
- package/src/models/DeleteUserWafRulesetRequest.ts +44 -0
- package/src/models/DeleteUserWafRulesetResponse.ts +40 -0
- package/src/models/DeleteUserWafRulesetResponseBody.ts +31 -0
- package/src/models/GetRoutineAccessTokenRequest.ts +34 -0
- package/src/models/GetRoutineAccessTokenResponse.ts +40 -0
- package/src/models/GetRoutineAccessTokenResponseBody.ts +38 -0
- package/src/models/GetUserWafRulesetRequest.ts +44 -0
- package/src/models/GetUserWafRulesetResponse.ts +40 -0
- package/src/models/GetUserWafRulesetResponseBody.ts +263 -0
- package/src/models/ListUserWafRulesetsRequest.ts +102 -0
- package/src/models/ListUserWafRulesetsResponse.ts +40 -0
- package/src/models/ListUserWafRulesetsResponseBody.ts +130 -0
- package/src/models/ListUserWafRulesetsShrinkRequest.ts +62 -0
- package/src/models/SetHttpDdoSattackRuleActionRequest.ts +54 -0
- package/src/models/SetHttpDdoSattackRuleActionResponse.ts +40 -0
- package/src/models/SetHttpDdoSattackRuleActionResponseBody.ts +34 -0
- package/src/models/SetHttpDdoSattackRuleStatusRequest.ts +54 -0
- package/src/models/SetHttpDdoSattackRuleStatusResponse.ts +40 -0
- package/src/models/SetHttpDdoSattackRuleStatusResponseBody.ts +34 -0
- package/src/models/UpdateUserWafRulesetRequest.ts +103 -0
- package/src/models/UpdateUserWafRulesetResponse.ts +40 -0
- package/src/models/UpdateUserWafRulesetResponseBody.ts +31 -0
- package/src/models/UpdateUserWafRulesetShrinkRequest.ts +95 -0
- package/src/models/model.ts +34 -0
|
@@ -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.ListUserWafRulesetsResponse = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const ListUserWafRulesetsResponseBody_1 = require("./ListUserWafRulesetsResponseBody");
|
|
40
|
+
class ListUserWafRulesetsResponse 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: ListUserWafRulesetsResponseBody_1.ListUserWafRulesetsResponseBody,
|
|
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.ListUserWafRulesetsResponse = ListUserWafRulesetsResponse;
|
|
69
|
+
//# sourceMappingURL=ListUserWafRulesetsResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListUserWafRulesetsResponse.js","sourceRoot":"","sources":["../../src/models/ListUserWafRulesetsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uFAAoF;AAGpF,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAI1D,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,iEAA+B;SACtC,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,kEAiCC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListUserWafRulesetsResponseBodyRulesets extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* example
|
|
6
|
+
*/
|
|
7
|
+
description?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* 10000001
|
|
11
|
+
*/
|
|
12
|
+
id?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* example
|
|
16
|
+
*/
|
|
17
|
+
name?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* http_custom
|
|
21
|
+
*/
|
|
22
|
+
phase?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* 1
|
|
26
|
+
*/
|
|
27
|
+
position?: number;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* on
|
|
31
|
+
*/
|
|
32
|
+
status?: string;
|
|
33
|
+
static names(): {
|
|
34
|
+
[key: string]: string;
|
|
35
|
+
};
|
|
36
|
+
static types(): {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
};
|
|
39
|
+
validate(): void;
|
|
40
|
+
constructor(map?: {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
export declare class ListUserWafRulesetsResponseBody extends $dara.Model {
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* 10
|
|
48
|
+
*/
|
|
49
|
+
instanceUsage?: number;
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* 1
|
|
53
|
+
*/
|
|
54
|
+
pageNumber?: number;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* 20
|
|
58
|
+
*/
|
|
59
|
+
pageSize?: number;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* Id of the request
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* 36af3fcc-43d0-441c-86b1-428951dc8225
|
|
66
|
+
*/
|
|
67
|
+
requestId?: string;
|
|
68
|
+
rulesets?: ListUserWafRulesetsResponseBodyRulesets[];
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* 5
|
|
72
|
+
*/
|
|
73
|
+
totalCount?: number;
|
|
74
|
+
static names(): {
|
|
75
|
+
[key: string]: string;
|
|
76
|
+
};
|
|
77
|
+
static types(): {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
};
|
|
80
|
+
validate(): void;
|
|
81
|
+
constructor(map?: {
|
|
82
|
+
[key: string]: any;
|
|
83
|
+
});
|
|
84
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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.ListUserWafRulesetsResponseBody = exports.ListUserWafRulesetsResponseBodyRulesets = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListUserWafRulesetsResponseBodyRulesets extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
description: 'Description',
|
|
43
|
+
id: 'Id',
|
|
44
|
+
name: 'Name',
|
|
45
|
+
phase: 'Phase',
|
|
46
|
+
position: 'Position',
|
|
47
|
+
status: 'Status',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
static types() {
|
|
51
|
+
return {
|
|
52
|
+
description: 'string',
|
|
53
|
+
id: 'number',
|
|
54
|
+
name: 'string',
|
|
55
|
+
phase: 'string',
|
|
56
|
+
position: 'number',
|
|
57
|
+
status: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
constructor(map) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.ListUserWafRulesetsResponseBodyRulesets = ListUserWafRulesetsResponseBodyRulesets;
|
|
68
|
+
class ListUserWafRulesetsResponseBody extends $dara.Model {
|
|
69
|
+
static names() {
|
|
70
|
+
return {
|
|
71
|
+
instanceUsage: 'InstanceUsage',
|
|
72
|
+
pageNumber: 'PageNumber',
|
|
73
|
+
pageSize: 'PageSize',
|
|
74
|
+
requestId: 'RequestId',
|
|
75
|
+
rulesets: 'Rulesets',
|
|
76
|
+
totalCount: 'TotalCount',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
static types() {
|
|
80
|
+
return {
|
|
81
|
+
instanceUsage: 'number',
|
|
82
|
+
pageNumber: 'number',
|
|
83
|
+
pageSize: 'number',
|
|
84
|
+
requestId: 'string',
|
|
85
|
+
rulesets: { 'type': 'array', 'itemType': ListUserWafRulesetsResponseBodyRulesets },
|
|
86
|
+
totalCount: 'number',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
validate() {
|
|
90
|
+
if (Array.isArray(this.rulesets)) {
|
|
91
|
+
$dara.Model.validateArray(this.rulesets);
|
|
92
|
+
}
|
|
93
|
+
super.validate();
|
|
94
|
+
}
|
|
95
|
+
constructor(map) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.ListUserWafRulesetsResponseBody = ListUserWafRulesetsResponseBody;
|
|
100
|
+
//# sourceMappingURL=ListUserWafRulesetsResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListUserWafRulesetsResponseBody.js","sourceRoot":"","sources":["../../src/models/ListUserWafRulesetsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IA+BtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,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;AA5DD,0FA4DC;AAED,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IA8B9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,uCAAuC,EAAE;YAClF,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;YAChC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9DD,0EA8DC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListUserWafRulesetsShrinkRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* This parameter is required.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* esa-xxxxxxx
|
|
9
|
+
*/
|
|
10
|
+
instanceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
pageNumber?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 20
|
|
19
|
+
*/
|
|
20
|
+
pageSize?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* http_bot
|
|
24
|
+
*/
|
|
25
|
+
phase?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 1
|
|
29
|
+
*/
|
|
30
|
+
queryArgsShrink?: string;
|
|
31
|
+
static names(): {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
static types(): {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
validate(): void;
|
|
38
|
+
constructor(map?: {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
});
|
|
41
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.ListUserWafRulesetsShrinkRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListUserWafRulesetsShrinkRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
instanceId: 'InstanceId',
|
|
43
|
+
pageNumber: 'PageNumber',
|
|
44
|
+
pageSize: 'PageSize',
|
|
45
|
+
phase: 'Phase',
|
|
46
|
+
queryArgsShrink: 'QueryArgs',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
static types() {
|
|
50
|
+
return {
|
|
51
|
+
instanceId: 'string',
|
|
52
|
+
pageNumber: 'number',
|
|
53
|
+
pageSize: 'number',
|
|
54
|
+
phase: 'string',
|
|
55
|
+
queryArgsShrink: 'string',
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.ListUserWafRulesetsShrinkRequest = ListUserWafRulesetsShrinkRequest;
|
|
66
|
+
//# sourceMappingURL=ListUserWafRulesetsShrinkRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListUserWafRulesetsShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ListUserWafRulesetsShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IA6B/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,OAAO;YACd,eAAe,EAAE,WAAW;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;YACf,eAAe,EAAE,QAAQ;SAC1B,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;AAxDD,4EAwDC"}
|
|
@@ -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"}
|