@alicloud/waf-openapi20211001 6.5.1 → 6.6.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 (59) hide show
  1. package/dist/client.d.ts +45 -0
  2. package/dist/client.js +156 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeBaseRuleChangeLogRequest.d.ts +46 -0
  5. package/dist/models/DescribeBaseRuleChangeLogRequest.js +68 -0
  6. package/dist/models/DescribeBaseRuleChangeLogRequest.js.map +1 -0
  7. package/dist/models/DescribeBaseRuleChangeLogResponse.d.ts +19 -0
  8. package/dist/models/DescribeBaseRuleChangeLogResponse.js +69 -0
  9. package/dist/models/DescribeBaseRuleChangeLogResponse.js.map +1 -0
  10. package/dist/models/DescribeBaseRuleChangeLogResponseBody.d.ts +61 -0
  11. package/dist/models/DescribeBaseRuleChangeLogResponseBody.js +92 -0
  12. package/dist/models/DescribeBaseRuleChangeLogResponseBody.js.map +1 -0
  13. package/dist/models/DescribeDefenseResourceRequest.d.ts +0 -2
  14. package/dist/models/DescribeDefenseResourceRequest.js.map +1 -1
  15. package/dist/models/DescribeDefenseResourceResponseBody.d.ts +1 -0
  16. package/dist/models/DescribeDefenseResourceResponseBody.js +2 -0
  17. package/dist/models/DescribeDefenseResourceResponseBody.js.map +1 -1
  18. package/dist/models/DescribeDefenseResourcesRequest.d.ts +0 -2
  19. package/dist/models/DescribeDefenseResourcesRequest.js.map +1 -1
  20. package/dist/models/DescribeDefenseResourcesResponseBody.d.ts +1 -0
  21. package/dist/models/DescribeDefenseResourcesResponseBody.js +2 -0
  22. package/dist/models/DescribeDefenseResourcesResponseBody.js.map +1 -1
  23. package/dist/models/DescribeElasticBillsRequest.d.ts +57 -0
  24. package/dist/models/DescribeElasticBillsRequest.js +66 -0
  25. package/dist/models/DescribeElasticBillsRequest.js.map +1 -0
  26. package/dist/models/DescribeElasticBillsResponse.d.ts +19 -0
  27. package/dist/models/DescribeElasticBillsResponse.js +69 -0
  28. package/dist/models/DescribeElasticBillsResponse.js.map +1 -0
  29. package/dist/models/DescribeElasticBillsResponseBody.d.ts +86 -0
  30. package/dist/models/DescribeElasticBillsResponseBody.js +92 -0
  31. package/dist/models/DescribeElasticBillsResponseBody.js.map +1 -0
  32. package/dist/models/DescribePrepayDailyBillsRequest.d.ts +60 -0
  33. package/dist/models/DescribePrepayDailyBillsRequest.js +66 -0
  34. package/dist/models/DescribePrepayDailyBillsRequest.js.map +1 -0
  35. package/dist/models/DescribePrepayDailyBillsResponse.d.ts +19 -0
  36. package/dist/models/DescribePrepayDailyBillsResponse.js +69 -0
  37. package/dist/models/DescribePrepayDailyBillsResponse.js.map +1 -0
  38. package/dist/models/DescribePrepayDailyBillsResponseBody.d.ts +146 -0
  39. package/dist/models/DescribePrepayDailyBillsResponseBody.js +109 -0
  40. package/dist/models/DescribePrepayDailyBillsResponseBody.js.map +1 -0
  41. package/dist/models/model.d.ts +12 -0
  42. package/dist/models/model.js +43 -19
  43. package/dist/models/model.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/client.ts +178 -0
  46. package/src/models/DescribeBaseRuleChangeLogRequest.ts +69 -0
  47. package/src/models/DescribeBaseRuleChangeLogResponse.ts +40 -0
  48. package/src/models/DescribeBaseRuleChangeLogResponseBody.ts +99 -0
  49. package/src/models/DescribeDefenseResourceRequest.ts +0 -2
  50. package/src/models/DescribeDefenseResourceResponseBody.ts +3 -0
  51. package/src/models/DescribeDefenseResourcesRequest.ts +0 -2
  52. package/src/models/DescribeDefenseResourcesResponseBody.ts +3 -0
  53. package/src/models/DescribeElasticBillsRequest.ts +78 -0
  54. package/src/models/DescribeElasticBillsResponse.ts +40 -0
  55. package/src/models/DescribeElasticBillsResponseBody.ts +124 -0
  56. package/src/models/DescribePrepayDailyBillsRequest.ts +81 -0
  57. package/src/models/DescribePrepayDailyBillsResponse.ts +40 -0
  58. package/src/models/DescribePrepayDailyBillsResponseBody.ts +201 -0
  59. package/src/models/model.ts +12 -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.DescribeElasticBillsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeElasticBillsResponseBody_1 = require("./DescribeElasticBillsResponseBody");
40
+ class DescribeElasticBillsResponse 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: DescribeElasticBillsResponseBody_1.DescribeElasticBillsResponseBody,
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.DescribeElasticBillsResponse = DescribeElasticBillsResponse;
69
+ //# sourceMappingURL=DescribeElasticBillsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeElasticBillsResponse.js","sourceRoot":"","sources":["../../src/models/DescribeElasticBillsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yFAAsF;AAGtF,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAI3D,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,mEAAgC;SACvC,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,oEAiCC"}
@@ -0,0 +1,86 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeElasticBillsResponseBodyBills extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The total number of SeCUs.
6
+ *
7
+ * @example
8
+ * 2
9
+ */
10
+ cu?: number;
11
+ /**
12
+ * @remarks
13
+ * The billing end time. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
14
+ *
15
+ * @example
16
+ * 1717084800000
17
+ */
18
+ endTime?: number;
19
+ /**
20
+ * @remarks
21
+ * The SeCUs generated by the features that you configure.
22
+ *
23
+ * @example
24
+ * 1
25
+ */
26
+ functionCu?: number;
27
+ /**
28
+ * @remarks
29
+ * The billing start time. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
30
+ *
31
+ * @example
32
+ * 1665484616000
33
+ */
34
+ startTime?: number;
35
+ /**
36
+ * @remarks
37
+ * The SeCUs generated by traffic processing.
38
+ *
39
+ * @example
40
+ * 1
41
+ */
42
+ trafficCu?: number;
43
+ static names(): {
44
+ [key: string]: string;
45
+ };
46
+ static types(): {
47
+ [key: string]: any;
48
+ };
49
+ validate(): void;
50
+ constructor(map?: {
51
+ [key: string]: any;
52
+ });
53
+ }
54
+ export declare class DescribeElasticBillsResponseBody extends $dara.Model {
55
+ /**
56
+ * @remarks
57
+ * The pay-as-you-go bills.
58
+ */
59
+ bills?: DescribeElasticBillsResponseBodyBills[];
60
+ /**
61
+ * @remarks
62
+ * The ID of the request.
63
+ *
64
+ * @example
65
+ * 6FBF08CB-8691-5B65-BBF8-***
66
+ */
67
+ requestId?: string;
68
+ /**
69
+ * @remarks
70
+ * The total number of entries returned.
71
+ *
72
+ * @example
73
+ * 1
74
+ */
75
+ totalCount?: number;
76
+ static names(): {
77
+ [key: string]: string;
78
+ };
79
+ static types(): {
80
+ [key: string]: any;
81
+ };
82
+ validate(): void;
83
+ constructor(map?: {
84
+ [key: string]: any;
85
+ });
86
+ }
@@ -0,0 +1,92 @@
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.DescribeElasticBillsResponseBody = exports.DescribeElasticBillsResponseBodyBills = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeElasticBillsResponseBodyBills extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ cu: 'Cu',
43
+ endTime: 'EndTime',
44
+ functionCu: 'FunctionCu',
45
+ startTime: 'StartTime',
46
+ trafficCu: 'TrafficCu',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ cu: 'number',
52
+ endTime: 'number',
53
+ functionCu: 'number',
54
+ startTime: 'number',
55
+ trafficCu: 'number',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.DescribeElasticBillsResponseBodyBills = DescribeElasticBillsResponseBodyBills;
66
+ class DescribeElasticBillsResponseBody extends $dara.Model {
67
+ static names() {
68
+ return {
69
+ bills: 'Bills',
70
+ requestId: 'RequestId',
71
+ totalCount: 'TotalCount',
72
+ };
73
+ }
74
+ static types() {
75
+ return {
76
+ bills: { 'type': 'array', 'itemType': DescribeElasticBillsResponseBodyBills },
77
+ requestId: 'string',
78
+ totalCount: 'number',
79
+ };
80
+ }
81
+ validate() {
82
+ if (Array.isArray(this.bills)) {
83
+ $dara.Model.validateArray(this.bills);
84
+ }
85
+ super.validate();
86
+ }
87
+ constructor(map) {
88
+ super(map);
89
+ }
90
+ }
91
+ exports.DescribeElasticBillsResponseBody = DescribeElasticBillsResponseBody;
92
+ //# sourceMappingURL=DescribeElasticBillsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeElasticBillsResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeElasticBillsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAyCpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,IAAI;YACR,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,QAAQ;YACZ,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,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;AApED,sFAoEC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAsB/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,qCAAqC,EAAE;YAC7E,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,4EAgDC"}
@@ -0,0 +1,60 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribePrepayDailyBillsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The ID of the WAF instance.
6
+ *
7
+ * > You can call the [DescribePayInfo](https://help.aliyun.com/document_detail/86651.html) operation to query the ID of your WAF instance.
8
+ *
9
+ * This parameter is required.
10
+ *
11
+ * @example
12
+ * waf_v3prepaid_public_cn-***
13
+ */
14
+ instanceId?: string;
15
+ /**
16
+ * @remarks
17
+ * The page number. Default value: **1**.
18
+ *
19
+ * @example
20
+ * 1
21
+ */
22
+ pageNumber?: number;
23
+ /**
24
+ * @remarks
25
+ * The number of entries per page. Default value: **10**.
26
+ *
27
+ * @example
28
+ * 10
29
+ */
30
+ pageSize?: number;
31
+ /**
32
+ * @remarks
33
+ * The region ID of the WAF instance. Valid values:
34
+ *
35
+ * * **cn-hangzhou**: Chinese mainland.
36
+ * * **ap-southeast-1**: outside the Chinese mainland.
37
+ *
38
+ * @example
39
+ * cn-hangzhou
40
+ */
41
+ regionId?: string;
42
+ /**
43
+ * @remarks
44
+ * The ID of the Alibaba Cloud resource group.
45
+ *
46
+ * @example
47
+ * rg-acfm***q
48
+ */
49
+ resourceManagerResourceGroupId?: string;
50
+ static names(): {
51
+ [key: string]: string;
52
+ };
53
+ static types(): {
54
+ [key: string]: any;
55
+ };
56
+ validate(): void;
57
+ constructor(map?: {
58
+ [key: string]: any;
59
+ });
60
+ }
@@ -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.DescribePrepayDailyBillsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribePrepayDailyBillsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ instanceId: 'InstanceId',
43
+ pageNumber: 'PageNumber',
44
+ pageSize: 'PageSize',
45
+ regionId: 'RegionId',
46
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ instanceId: 'string',
52
+ pageNumber: 'number',
53
+ pageSize: 'number',
54
+ regionId: 'string',
55
+ resourceManagerResourceGroupId: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.DescribePrepayDailyBillsRequest = DescribePrepayDailyBillsRequest;
66
+ //# sourceMappingURL=DescribePrepayDailyBillsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePrepayDailyBillsRequest.js","sourceRoot":"","sources":["../../src/models/DescribePrepayDailyBillsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAgD9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,8BAA8B,EAAE,gCAAgC;SACjE,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,8BAA8B,EAAE,QAAQ;SACzC,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;AA3ED,0EA2EC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribePrepayDailyBillsResponseBody } from "./DescribePrepayDailyBillsResponseBody";
3
+ export declare class DescribePrepayDailyBillsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribePrepayDailyBillsResponseBody;
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.DescribePrepayDailyBillsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribePrepayDailyBillsResponseBody_1 = require("./DescribePrepayDailyBillsResponseBody");
40
+ class DescribePrepayDailyBillsResponse 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: DescribePrepayDailyBillsResponseBody_1.DescribePrepayDailyBillsResponseBody,
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.DescribePrepayDailyBillsResponse = DescribePrepayDailyBillsResponse;
69
+ //# sourceMappingURL=DescribePrepayDailyBillsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePrepayDailyBillsResponse.js","sourceRoot":"","sources":["../../src/models/DescribePrepayDailyBillsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iGAA8F;AAG9F,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAI/D,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,2EAAoC;SAC3C,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,4EAiCC"}
@@ -0,0 +1,146 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribePrepayDailyBillsResponseBodyBills extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The burstable QPS of the WAF instance.
6
+ *
7
+ * @example
8
+ * 100
9
+ */
10
+ elasticQpsSetValue?: number;
11
+ /**
12
+ * @remarks
13
+ * The billing end time. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
14
+ *
15
+ * @example
16
+ * 1687591200
17
+ */
18
+ endTime?: number;
19
+ /**
20
+ * @remarks
21
+ * The status of QPS usage within the current period of time. Valid values:
22
+ *
23
+ * * **0**: normal.
24
+ * * **1**: excess.
25
+ * * **2**: sandbox.
26
+ *
27
+ * @example
28
+ * 0
29
+ */
30
+ exceedStatus?: number;
31
+ /**
32
+ * @remarks
33
+ * The peak QPS within the current period of time.
34
+ *
35
+ * @example
36
+ * 600
37
+ */
38
+ maxQps?: number;
39
+ /**
40
+ * @remarks
41
+ * The unit price in the bill. The price is measured in CNY for bills at the China site (aliyun.com) and in USD for bills at the international site (alibabacloud.com).
42
+ *
43
+ * @example
44
+ * 0.25
45
+ */
46
+ price?: number;
47
+ /**
48
+ * @remarks
49
+ * The extended QPS of the WAF instance.
50
+ *
51
+ * @example
52
+ * 10
53
+ */
54
+ qps?: number;
55
+ /**
56
+ * @remarks
57
+ * The default QPS of the WAF instance.
58
+ *
59
+ * @example
60
+ * 10
61
+ */
62
+ qpsVersion?: number;
63
+ /**
64
+ * @remarks
65
+ * Indicates whether risk identification is enabled. Valid values:
66
+ *
67
+ * * **true**
68
+ * * **false**
69
+ *
70
+ * @example
71
+ * true
72
+ */
73
+ riskControl?: boolean;
74
+ /**
75
+ * @remarks
76
+ * The number of times that risk identification is performed.
77
+ *
78
+ * @example
79
+ * 100
80
+ */
81
+ riskTraffic?: number;
82
+ /**
83
+ * @remarks
84
+ * The billing start time. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
85
+ *
86
+ * @example
87
+ * 1687822980
88
+ */
89
+ startTime?: number;
90
+ /**
91
+ * @remarks
92
+ * The actual QPS in total.
93
+ *
94
+ * @example
95
+ * 0
96
+ */
97
+ total?: number;
98
+ /**
99
+ * @remarks
100
+ * The billing types.
101
+ */
102
+ type?: string[];
103
+ static names(): {
104
+ [key: string]: string;
105
+ };
106
+ static types(): {
107
+ [key: string]: any;
108
+ };
109
+ validate(): void;
110
+ constructor(map?: {
111
+ [key: string]: any;
112
+ });
113
+ }
114
+ export declare class DescribePrepayDailyBillsResponseBody extends $dara.Model {
115
+ /**
116
+ * @remarks
117
+ * The bills of the burstable QPS (pay-as-you-go) feature.
118
+ */
119
+ bills?: DescribePrepayDailyBillsResponseBodyBills[];
120
+ /**
121
+ * @remarks
122
+ * The request ID.
123
+ *
124
+ * @example
125
+ * EC10C9EA-A367-52D5-***-***
126
+ */
127
+ requestId?: string;
128
+ /**
129
+ * @remarks
130
+ * The total number of entries returned.
131
+ *
132
+ * @example
133
+ * 10
134
+ */
135
+ totalCount?: number;
136
+ static names(): {
137
+ [key: string]: string;
138
+ };
139
+ static types(): {
140
+ [key: string]: any;
141
+ };
142
+ validate(): void;
143
+ constructor(map?: {
144
+ [key: string]: any;
145
+ });
146
+ }