@alicloud/apig20240327 11.2.0 → 11.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 (57) hide show
  1. package/dist/client.d.ts +82 -58
  2. package/dist/client.js +115 -58
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddGatewayQuotaRuleRequest.d.ts +20 -14
  5. package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
  6. package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +14 -9
  7. package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
  8. package/dist/models/GetDashboardRequest.d.ts +5 -5
  9. package/dist/models/GetDashboardResponseBody.d.ts +2 -2
  10. package/dist/models/GetDashboardShrinkRequest.d.ts +5 -5
  11. package/dist/models/GetGatewayQuotaRuleRequest.d.ts +4 -4
  12. package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +4 -4
  13. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +3 -3
  14. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +1 -1
  15. package/dist/models/HttpApiApiInfo.d.ts +1 -1
  16. package/dist/models/HttpApiApiInfoDeployCntMapValue.d.ts +1 -1
  17. package/dist/models/HttpRoute.d.ts +4 -1
  18. package/dist/models/HttpRoute.js.map +1 -1
  19. package/dist/models/ListConsumerGroupQuotaRulesRequest.d.ts +33 -0
  20. package/dist/models/ListConsumerGroupQuotaRulesRequest.js +64 -0
  21. package/dist/models/ListConsumerGroupQuotaRulesRequest.js.map +1 -0
  22. package/dist/models/ListConsumerGroupQuotaRulesResponse.d.ts +19 -0
  23. package/dist/models/ListConsumerGroupQuotaRulesResponse.js +69 -0
  24. package/dist/models/ListConsumerGroupQuotaRulesResponse.js.map +1 -0
  25. package/dist/models/ListConsumerGroupQuotaRulesResponseBody.d.ts +132 -0
  26. package/dist/models/ListConsumerGroupQuotaRulesResponseBody.js +134 -0
  27. package/dist/models/ListConsumerGroupQuotaRulesResponseBody.js.map +1 -0
  28. package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +9 -10
  29. package/dist/models/ResetGatewayQuotaRuleRequest.js.map +1 -1
  30. package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +16 -16
  31. package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +8 -8
  32. package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +12 -12
  33. package/dist/models/model.d.ts +5 -0
  34. package/dist/models/model.js +26 -16
  35. package/dist/models/model.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/client.ts +121 -58
  38. package/src/models/AddGatewayQuotaRuleRequest.ts +20 -14
  39. package/src/models/AddGatewayQuotaRuleResponseBody.ts +14 -9
  40. package/src/models/GetDashboardRequest.ts +5 -5
  41. package/src/models/GetDashboardResponseBody.ts +2 -2
  42. package/src/models/GetDashboardShrinkRequest.ts +5 -5
  43. package/src/models/GetGatewayQuotaRuleRequest.ts +4 -4
  44. package/src/models/GetGatewayQuotaRuleResponseBody.ts +4 -4
  45. package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +3 -3
  46. package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +1 -1
  47. package/src/models/HttpApiApiInfo.ts +1 -1
  48. package/src/models/HttpApiApiInfoDeployCntMapValue.ts +1 -1
  49. package/src/models/HttpRoute.ts +4 -1
  50. package/src/models/ListConsumerGroupQuotaRulesRequest.ts +52 -0
  51. package/src/models/ListConsumerGroupQuotaRulesResponse.ts +40 -0
  52. package/src/models/ListConsumerGroupQuotaRulesResponseBody.ts +203 -0
  53. package/src/models/ResetGatewayQuotaRuleRequest.ts +9 -10
  54. package/src/models/ResetGatewayQuotaRuleResponseBody.ts +16 -16
  55. package/src/models/UpdateGatewayQuotaRuleRequest.ts +8 -8
  56. package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +12 -12
  57. package/src/models/model.ts +5 -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.ListConsumerGroupQuotaRulesResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListConsumerGroupQuotaRulesResponseBody_1 = require("./ListConsumerGroupQuotaRulesResponseBody");
40
+ class ListConsumerGroupQuotaRulesResponse 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: ListConsumerGroupQuotaRulesResponseBody_1.ListConsumerGroupQuotaRulesResponseBody,
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.ListConsumerGroupQuotaRulesResponse = ListConsumerGroupQuotaRulesResponse;
69
+ //# sourceMappingURL=ListConsumerGroupQuotaRulesResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListConsumerGroupQuotaRulesResponse.js","sourceRoot":"","sources":["../../src/models/ListConsumerGroupQuotaRulesResponse.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,132 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListConsumerGroupQuotaRulesResponseBodyDataItems extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * gw-123456
6
+ */
7
+ gatewayId?: string;
8
+ /**
9
+ * @example
10
+ * prod-gateway
11
+ */
12
+ gatewayName?: string;
13
+ /**
14
+ * @example
15
+ * 30
16
+ */
17
+ periodMultiplier?: number;
18
+ /**
19
+ * @example
20
+ * week
21
+ */
22
+ periodType?: string;
23
+ /**
24
+ * @example
25
+ * token
26
+ */
27
+ quotaDimension?: string;
28
+ /**
29
+ * @example
30
+ * 1000
31
+ */
32
+ quotaLimit?: number;
33
+ /**
34
+ * @example
35
+ * rule-001
36
+ */
37
+ ruleId?: string;
38
+ /**
39
+ * @example
40
+ * daily-token-limit
41
+ */
42
+ ruleName?: string;
43
+ /**
44
+ * @example
45
+ * enabled
46
+ */
47
+ ruleStatus?: string;
48
+ /**
49
+ * @example
50
+ * UTC+8
51
+ */
52
+ timezone?: string;
53
+ /**
54
+ * @example
55
+ * calendar
56
+ */
57
+ windowAlignment?: string;
58
+ static names(): {
59
+ [key: string]: string;
60
+ };
61
+ static types(): {
62
+ [key: string]: any;
63
+ };
64
+ validate(): void;
65
+ constructor(map?: {
66
+ [key: string]: any;
67
+ });
68
+ }
69
+ export declare class ListConsumerGroupQuotaRulesResponseBodyData extends $dara.Model {
70
+ /**
71
+ * @example
72
+ * [{"ruleId":"rule-001"}]
73
+ */
74
+ items?: ListConsumerGroupQuotaRulesResponseBodyDataItems[];
75
+ /**
76
+ * @example
77
+ * 1
78
+ */
79
+ pageNumber?: number;
80
+ /**
81
+ * @example
82
+ * 10
83
+ */
84
+ pageSize?: number;
85
+ /**
86
+ * @example
87
+ * 100
88
+ */
89
+ totalSize?: number;
90
+ static names(): {
91
+ [key: string]: string;
92
+ };
93
+ static types(): {
94
+ [key: string]: any;
95
+ };
96
+ validate(): void;
97
+ constructor(map?: {
98
+ [key: string]: any;
99
+ });
100
+ }
101
+ export declare class ListConsumerGroupQuotaRulesResponseBody extends $dara.Model {
102
+ /**
103
+ * @example
104
+ * 200
105
+ */
106
+ code?: string;
107
+ /**
108
+ * @example
109
+ * {"totalSize":100}
110
+ */
111
+ data?: ListConsumerGroupQuotaRulesResponseBodyData;
112
+ /**
113
+ * @example
114
+ * success
115
+ */
116
+ message?: string;
117
+ /**
118
+ * @example
119
+ * 1234567890
120
+ */
121
+ requestId?: string;
122
+ static names(): {
123
+ [key: string]: string;
124
+ };
125
+ static types(): {
126
+ [key: string]: any;
127
+ };
128
+ validate(): void;
129
+ constructor(map?: {
130
+ [key: string]: any;
131
+ });
132
+ }
@@ -0,0 +1,134 @@
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.ListConsumerGroupQuotaRulesResponseBody = exports.ListConsumerGroupQuotaRulesResponseBodyData = exports.ListConsumerGroupQuotaRulesResponseBodyDataItems = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListConsumerGroupQuotaRulesResponseBodyDataItems extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ gatewayId: 'gatewayId',
43
+ gatewayName: 'gatewayName',
44
+ periodMultiplier: 'periodMultiplier',
45
+ periodType: 'periodType',
46
+ quotaDimension: 'quotaDimension',
47
+ quotaLimit: 'quotaLimit',
48
+ ruleId: 'ruleId',
49
+ ruleName: 'ruleName',
50
+ ruleStatus: 'ruleStatus',
51
+ timezone: 'timezone',
52
+ windowAlignment: 'windowAlignment',
53
+ };
54
+ }
55
+ static types() {
56
+ return {
57
+ gatewayId: 'string',
58
+ gatewayName: 'string',
59
+ periodMultiplier: 'number',
60
+ periodType: 'string',
61
+ quotaDimension: 'string',
62
+ quotaLimit: 'number',
63
+ ruleId: 'string',
64
+ ruleName: 'string',
65
+ ruleStatus: 'string',
66
+ timezone: 'string',
67
+ windowAlignment: 'string',
68
+ };
69
+ }
70
+ validate() {
71
+ super.validate();
72
+ }
73
+ constructor(map) {
74
+ super(map);
75
+ }
76
+ }
77
+ exports.ListConsumerGroupQuotaRulesResponseBodyDataItems = ListConsumerGroupQuotaRulesResponseBodyDataItems;
78
+ class ListConsumerGroupQuotaRulesResponseBodyData extends $dara.Model {
79
+ static names() {
80
+ return {
81
+ items: 'items',
82
+ pageNumber: 'pageNumber',
83
+ pageSize: 'pageSize',
84
+ totalSize: 'totalSize',
85
+ };
86
+ }
87
+ static types() {
88
+ return {
89
+ items: { 'type': 'array', 'itemType': ListConsumerGroupQuotaRulesResponseBodyDataItems },
90
+ pageNumber: 'number',
91
+ pageSize: 'number',
92
+ totalSize: 'number',
93
+ };
94
+ }
95
+ validate() {
96
+ if (Array.isArray(this.items)) {
97
+ $dara.Model.validateArray(this.items);
98
+ }
99
+ super.validate();
100
+ }
101
+ constructor(map) {
102
+ super(map);
103
+ }
104
+ }
105
+ exports.ListConsumerGroupQuotaRulesResponseBodyData = ListConsumerGroupQuotaRulesResponseBodyData;
106
+ class ListConsumerGroupQuotaRulesResponseBody extends $dara.Model {
107
+ static names() {
108
+ return {
109
+ code: 'code',
110
+ data: 'data',
111
+ message: 'message',
112
+ requestId: 'requestId',
113
+ };
114
+ }
115
+ static types() {
116
+ return {
117
+ code: 'string',
118
+ data: ListConsumerGroupQuotaRulesResponseBodyData,
119
+ message: 'string',
120
+ requestId: 'string',
121
+ };
122
+ }
123
+ validate() {
124
+ if (this.data && typeof this.data.validate === 'function') {
125
+ this.data.validate();
126
+ }
127
+ super.validate();
128
+ }
129
+ constructor(map) {
130
+ super(map);
131
+ }
132
+ }
133
+ exports.ListConsumerGroupQuotaRulesResponseBody = ListConsumerGroupQuotaRulesResponseBody;
134
+ //# sourceMappingURL=ListConsumerGroupQuotaRulesResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListConsumerGroupQuotaRulesResponseBody.js","sourceRoot":"","sources":["../../src/models/ListConsumerGroupQuotaRulesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gDAAiD,SAAQ,KAAK,CAAC,KAAK;IAwD/E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,gBAAgB,EAAE,QAAQ;YAC1B,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,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;AA/FD,4GA+FC;AAED,MAAa,2CAA4C,SAAQ,KAAK,CAAC,KAAK;IAqB1E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,gDAAgD,EAAE;YACxF,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;SACpB,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;AAjDD,kGAiDC;AAED,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAqBtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,2CAA2C;YACjD,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,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;AAjDD,0FAiDC"}
@@ -2,11 +2,11 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ResetGatewayQuotaRuleRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The conflict snapshot hash, used to prevent concurrent dirty overwrites when confirming an overwrite. Obtain this value from the response of a dryRun=true request.
5
+ * The conflict snapshot hash, used to prevent concurrent dirty overwrites when confirming an overwrite. Obtain this value from the response of a previous dryRun=true call.
6
6
  *
7
- * This parameter is not required in the following cases: no conflict exists, the request is a dry run (dryRun=true), or overwrite=false (overwrite not confirmed).
7
+ * You do not need to specify this parameter in the following cases: no conflicts exist, you are performing a dry run (dryRun=true), or you are not confirming an overwrite (overwrite=false).
8
8
  *
9
- * When dryRun=false and overwrite=true, if this parameter is not provided or the value has expired and does not match, the backend returns accepted=false with a new conflict preview. You must perform a dry run again to confirm the new conflict.
9
+ * When dryRun is set to false and overwrite is set to true, if this parameter is not specified or the value has expired and no longer matches, the backend returns accepted=false with a new conflict preview. You must perform the dry run again to confirm the new conflicts.
10
10
  *
11
11
  * @example
12
12
  * f8f44dc6cf369a017d56b7197eb4fb5ac4bbb6b09a92b9b41999541fxxxxxxxx
@@ -14,7 +14,7 @@ export declare class ResetGatewayQuotaRuleRequest extends $dara.Model {
14
14
  conflictHash?: string;
15
15
  /**
16
16
  * @remarks
17
- * Specifies whether to perform only a dry run without delivering the actual configuration. A dry run checks whether conflicting rules exist on the bound consumers. For example, a consumer that already has a calendar-day quota cannot have another calendar-day quota rule added.
17
+ * Specifies whether to perform only a dry run without persisting or applying the configuration. A dry run checks whether conflicting rules exist on the bound subjects. The same subject cannot have two calendar-period quotas with the same period. For example, a subject that already has a daily calendar quota cannot have another daily calendar quota rule added.
18
18
  *
19
19
  * @example
20
20
  * false
@@ -22,7 +22,7 @@ export declare class ResetGatewayQuotaRuleRequest extends $dara.Model {
22
22
  dryRun?: boolean;
23
23
  /**
24
24
  * @remarks
25
- * Specifies whether to allow overwriting on conflict. If overwriting is allowed, the conflicting subject (consumer) is unbound from the old rule and bound to the new rule.
25
+ * Specifies whether to allow overwriting when conflicts exist. If you allow overwriting, the conflicting subjects (consumers or consumer groups) are unbound from the old rule and bound to the new rule.
26
26
  *
27
27
  * @example
28
28
  * false
@@ -30,7 +30,7 @@ export declare class ResetGatewayQuotaRuleRequest extends $dara.Model {
30
30
  overwrite?: boolean;
31
31
  /**
32
32
  * @remarks
33
- * The period multiplier. Specifies how many periods elapse before the quota resets. Returned when the rule uses a custom period. Minimum value: 1. Maximum value: 60.
33
+ * The period multiplier, which specifies the number of periods after which the quota is reset. This parameter is returned when the rule uses a custom period. Minimum value: 1. Maximum value: 60.
34
34
  *
35
35
  * @example
36
36
  * 1
@@ -54,7 +54,7 @@ export declare class ResetGatewayQuotaRuleRequest extends $dara.Model {
54
54
  quotaLimit?: number;
55
55
  /**
56
56
  * @remarks
57
- * The time zone for the calendar period in UTC+x format.
57
+ * The time zone for the calendar period, in UTC+x format.
58
58
  *
59
59
  * @example
60
60
  * UTC+8
@@ -62,10 +62,9 @@ export declare class ResetGatewayQuotaRuleRequest extends $dara.Model {
62
62
  timezone?: string;
63
63
  /**
64
64
  * @remarks
65
- * The period type after the reset. Valid values:
66
- *
65
+ * The period alignment type after the reset. Valid values:
67
66
  * - calendar: calendar period.
68
- * - epoch: custom period. Custom periods are supported only on dedicated instances with version 2.1.19 or later.
67
+ * - epoch: custom period.
69
68
  *
70
69
  * @example
71
70
  * calendar
@@ -1 +1 @@
1
- {"version":3,"file":"ResetGatewayQuotaRuleRequest.js","sourceRoot":"","sources":["../../src/models/ResetGatewayQuotaRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAwE3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,SAAS;YACpB,gBAAgB,EAAE,QAAQ;YAC1B,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,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;AAzGD,oEAyGC"}
1
+ {"version":3,"file":"ResetGatewayQuotaRuleRequest.js","sourceRoot":"","sources":["../../src/models/ResetGatewayQuotaRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAuE3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,SAAS;YACpB,gBAAgB,EAAE,QAAQ;YAC1B,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,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;AAxGD,oEAwGC"}
@@ -2,11 +2,10 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ResetGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The period type of the existing conflicting rule on the consumer. Valid values:
6
- *
7
- * - day: daily.
8
- * - week: weekly.
9
- * - month: monthly.
5
+ * The period type of the existing conflicting rule on the subject. Valid values:
6
+ * - day: The period of the existing conflicting rule is daily.
7
+ * - week: The period of the existing conflicting rule is weekly.
8
+ * - month: The period of the existing conflicting rule is monthly.
10
9
  *
11
10
  * @example
12
11
  * week
@@ -14,10 +13,9 @@ export declare class ResetGatewayQuotaRuleResponseBodyDataConflictPreviewItems e
14
13
  conflictPeriodType?: string;
15
14
  /**
16
15
  * @remarks
17
- * The type of the existing conflicting rule on the consumer. Valid values:
18
- *
19
- * - calendar: the existing conflicting rule uses a calendar period.
20
- * - epoch: the existing conflicting rule uses a custom period.
16
+ * The type of the existing conflicting rule on the subject. Valid values:
17
+ * - calendar: The existing conflicting rule uses a calendar period.
18
+ * - epoch: The existing conflicting rule uses a custom period.
21
19
  *
22
20
  * @example
23
21
  * calendar
@@ -25,7 +23,7 @@ export declare class ResetGatewayQuotaRuleResponseBodyDataConflictPreviewItems e
25
23
  conflictType?: string;
26
24
  /**
27
25
  * @remarks
28
- * The consumer ID.
26
+ * The consumer ID. You can use subjectId instead.
29
27
  *
30
28
  * @example
31
29
  * cs-d82n1g6m1hkm3xxxxxxx
@@ -33,7 +31,7 @@ export declare class ResetGatewayQuotaRuleResponseBodyDataConflictPreviewItems e
33
31
  consumerId?: string;
34
32
  /**
35
33
  * @remarks
36
- * The consumer name.
34
+ * The consumer name. You can use subjectName instead.
37
35
  *
38
36
  * @example
39
37
  * consumer-a
@@ -57,7 +55,9 @@ export declare class ResetGatewayQuotaRuleResponseBodyDataConflictPreviewItems e
57
55
  subjectName?: string;
58
56
  /**
59
57
  * @remarks
60
- * The conflict subject type. Valid values: consumer and consumer_group.
58
+ * The type of the conflicting subject. Valid values:
59
+ * - consumer
60
+ * - consumer_group
61
61
  *
62
62
  * @example
63
63
  * consumer
@@ -85,7 +85,7 @@ export declare class ResetGatewayQuotaRuleResponseBodyDataConflictPreview extend
85
85
  conflictHash?: string;
86
86
  /**
87
87
  * @remarks
88
- * The list of conflicting subjects (consumers).
88
+ * The list of conflicting subjects.
89
89
  */
90
90
  items?: ResetGatewayQuotaRuleResponseBodyDataConflictPreviewItems[];
91
91
  /**
@@ -110,7 +110,7 @@ export declare class ResetGatewayQuotaRuleResponseBodyDataConflictPreview extend
110
110
  export declare class ResetGatewayQuotaRuleResponseBodyData extends $dara.Model {
111
111
  /**
112
112
  * @remarks
113
- * Indicates whether the write request is accepted by the system. A value of false typically indicates a retryable scenario such as an unconfirmed conflict overwrite.
113
+ * Indicates whether the write request is accepted by the system. A value of false typically indicates a retryable scenario, such as an unconfirmed conflict overwrite.
114
114
  *
115
115
  * @example
116
116
  * true
@@ -167,7 +167,7 @@ export declare class ResetGatewayQuotaRuleResponseBody extends $dara.Model {
167
167
  data?: ResetGatewayQuotaRuleResponseBodyData;
168
168
  /**
169
169
  * @remarks
170
- * The message content.
170
+ * The message.
171
171
  *
172
172
  * @example
173
173
  * Hello, World!
@@ -175,7 +175,7 @@ export declare class ResetGatewayQuotaRuleResponseBody extends $dara.Model {
175
175
  message?: string;
176
176
  /**
177
177
  * @remarks
178
- * The unique identifier of the request.
178
+ * The request ID.
179
179
  *
180
180
  * @example
181
181
  * 1234567890
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpdateGatewayQuotaRuleRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The list of subject (consumer) IDs to bind.
5
+ * The list of consumer principal IDs to bind.
6
6
  *
7
7
  * @example
8
8
  * cs-001,cs-002
@@ -10,11 +10,11 @@ export declare class UpdateGatewayQuotaRuleRequest extends $dara.Model {
10
10
  addIds?: string[];
11
11
  /**
12
12
  * @remarks
13
- * The conflict snapshot hash used to prevent concurrent dirty overwrites during confirmation. Obtain this value from the response of a prior dryRun=true call.
13
+ * The conflict snapshot hash, used to prevent concurrent dirty overwrites when confirming an overwrite. Obtain this value from the response of a prior dryRun=true call.
14
14
  *
15
- * This parameter is not required in the following cases: no conflict exists, the request is a dry run (dryRun=true), or overwrite is set to false.
15
+ * This parameter is not required in the following cases: no conflicts exist, the request is a dry run (dryRun=true), or overwrite is set to false.
16
16
  *
17
- * When dryRun=false and overwrite=true, if this parameter is missing or the value has expired and no longer matches, the backend returns accepted=false with a new conflict preview. You must perform a dry run again to confirm the new conflict.
17
+ * When dryRun is set to false and overwrite is set to true, if this parameter is missing or the value has expired and no longer matches, the backend returns accepted=false with a new conflict preview. Perform a dry run again to confirm the new conflicts.
18
18
  *
19
19
  * @example
20
20
  * f8f44dc6cf369a017d56b7197eb4fb5ac4bbb6b09a92b9b41999541f50xxxxxx
@@ -22,7 +22,7 @@ export declare class UpdateGatewayQuotaRuleRequest extends $dara.Model {
22
22
  conflictHash?: string;
23
23
  /**
24
24
  * @remarks
25
- * The list of consumer group IDs. This parameter is not supported currently.
25
+ * **[Deprecated]** The list of consumer group IDs.
26
26
  *
27
27
  * @example
28
28
  * group1,group2
@@ -32,7 +32,7 @@ export declare class UpdateGatewayQuotaRuleRequest extends $dara.Model {
32
32
  consumerGroupIds?: string[];
33
33
  /**
34
34
  * @remarks
35
- * Specifies whether to perform a dry run only without persisting or applying the configuration. A dry run checks whether conflicting rules exist on the bound consumers. The same consumer cannot have two quota rules with the same calendar period. For example, a consumer that already has a daily calendar quota cannot be assigned another daily calendar quota rule.
35
+ * Specifies whether to perform a dry run only without persisting or applying the configuration. A dry run checks whether conflicting rules exist on the bound consumer principals. The same consumer principal cannot have two calendar-period quotas with the same period. For example, a consumer principal that already has a daily calendar quota cannot be assigned another daily calendar quota rule.
36
36
  *
37
37
  * @example
38
38
  * true
@@ -40,7 +40,7 @@ export declare class UpdateGatewayQuotaRuleRequest extends $dara.Model {
40
40
  dryRun?: boolean;
41
41
  /**
42
42
  * @remarks
43
- * Specifies whether to allow overwriting on conflict. If overwriting is allowed, conflicting subjects (consumers) are unbound from the old rule and bound to the new rule.
43
+ * Specifies whether to allow overwriting when conflicts exist. If overwriting is allowed, conflicting principals (consumers or consumer groups) are unbound from the old rule and bound to the new rule.
44
44
  */
45
45
  overwrite?: boolean;
46
46
  /**
@@ -53,7 +53,7 @@ export declare class UpdateGatewayQuotaRuleRequest extends $dara.Model {
53
53
  quotaLimit?: number;
54
54
  /**
55
55
  * @remarks
56
- * The list of subject (consumer) IDs to unbind.
56
+ * The list of consumer principal IDs to unbind.
57
57
  *
58
58
  * @example
59
59
  * cs003,cs-004
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The period type of the existing conflicting rule on the consumer. Valid values: day (daily period), week (weekly period), and month (monthly period).
5
+ * The period type of the existing conflicting rule on the consumer principal. Valid values: day, week, and month, which indicate that the period of the conflicting rule is daily, weekly, or monthly.
6
6
  *
7
7
  * @example
8
8
  * week
@@ -10,7 +10,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
10
10
  conflictPeriodType?: string;
11
11
  /**
12
12
  * @remarks
13
- * The type of the existing conflicting rule on the consumer. Valid values: calendar (the conflicting rule uses a calendar period) and epoch (the conflicting rule uses a custom period).
13
+ * The type of the existing conflicting rule on the consumer principal. Valid values: calendar (the conflicting rule uses a calendar period) and epoch (the conflicting rule uses a custom period).
14
14
  *
15
15
  * @example
16
16
  * calendar
@@ -18,7 +18,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
18
18
  conflictType?: string;
19
19
  /**
20
20
  * @remarks
21
- * The consumer ID.
21
+ * The consumer ID. You can use subjectId instead.
22
22
  *
23
23
  * @example
24
24
  * cs-d82n1g6m1hkm375xxxxx
@@ -26,7 +26,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
26
26
  consumerId?: string;
27
27
  /**
28
28
  * @remarks
29
- * The consumer name.
29
+ * The consumer name. You can use subjectName instead.
30
30
  *
31
31
  * @example
32
32
  * consumer-a
@@ -34,7 +34,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
34
34
  consumerName?: string;
35
35
  /**
36
36
  * @remarks
37
- * The ID of the conflicting subject.
37
+ * The ID of the conflicting principal.
38
38
  *
39
39
  * @example
40
40
  * cs-xxx
@@ -42,7 +42,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
42
42
  subjectId?: string;
43
43
  /**
44
44
  * @remarks
45
- * The name of the conflicting subject.
45
+ * The name of the conflicting principal.
46
46
  *
47
47
  * @example
48
48
  * consumer-a
@@ -50,7 +50,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
50
50
  subjectName?: string;
51
51
  /**
52
52
  * @remarks
53
- * The type of the conflicting subject. Valid values: consumer and consumer_group.
53
+ * The type of the conflicting principal. Valid values: consumer and consumer_group.
54
54
  *
55
55
  * @example
56
56
  * consumer
@@ -70,7 +70,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
70
70
  export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreview extends $dara.Model {
71
71
  /**
72
72
  * @remarks
73
- * The conflict hash.
73
+ * The hash of the conflict snapshot.
74
74
  *
75
75
  * @example
76
76
  * f8f44dc6cf369a017d56b7197eb4fb5ac4bbb6b09a92b9b41999541f50xxxxxx
@@ -78,7 +78,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreview exten
78
78
  conflictHash?: string;
79
79
  /**
80
80
  * @remarks
81
- * The list of conflicting subjects (consumers).
81
+ * The list of conflicting principals (consumers or consumer groups).
82
82
  */
83
83
  items?: UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems[];
84
84
  /**
@@ -103,7 +103,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreview exten
103
103
  export declare class UpdateGatewayQuotaRuleResponseBodyData extends $dara.Model {
104
104
  /**
105
105
  * @remarks
106
- * Indicates whether the write request semantics are accepted by the system. A value of false typically indicates a retryable scenario such as an unconfirmed conflict overwrite.
106
+ * Indicates whether the write request is accepted by the system. A value of false typically indicates a retryable scenario such as an unconfirmed conflict overwrite.
107
107
  *
108
108
  * @example
109
109
  * true
@@ -116,7 +116,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyData extends $dara.Model
116
116
  conflictPreview?: UpdateGatewayQuotaRuleResponseBodyDataConflictPreview;
117
117
  /**
118
118
  * @remarks
119
- * Indicates whether this is a dry run.
119
+ * Indicates whether the request is a dry run.
120
120
  *
121
121
  * @example
122
122
  * true
@@ -152,7 +152,7 @@ export declare class UpdateGatewayQuotaRuleResponseBody extends $dara.Model {
152
152
  code?: string;
153
153
  /**
154
154
  * @remarks
155
- * The response data.
155
+ * The response data content.
156
156
  *
157
157
  * @example
158
158
  * {\\"key\\": \\"value\\"}