@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.
- package/dist/client.d.ts +82 -58
- package/dist/client.js +115 -58
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleRequest.d.ts +20 -14
- package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +14 -9
- package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/GetDashboardRequest.d.ts +5 -5
- package/dist/models/GetDashboardResponseBody.d.ts +2 -2
- package/dist/models/GetDashboardShrinkRequest.d.ts +5 -5
- package/dist/models/GetGatewayQuotaRuleRequest.d.ts +4 -4
- package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +4 -4
- package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +3 -3
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +1 -1
- package/dist/models/HttpApiApiInfo.d.ts +1 -1
- package/dist/models/HttpApiApiInfoDeployCntMapValue.d.ts +1 -1
- package/dist/models/HttpRoute.d.ts +4 -1
- package/dist/models/HttpRoute.js.map +1 -1
- package/dist/models/ListConsumerGroupQuotaRulesRequest.d.ts +33 -0
- package/dist/models/ListConsumerGroupQuotaRulesRequest.js +64 -0
- package/dist/models/ListConsumerGroupQuotaRulesRequest.js.map +1 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponse.d.ts +19 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponse.js +69 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponse.js.map +1 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponseBody.d.ts +132 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponseBody.js +134 -0
- package/dist/models/ListConsumerGroupQuotaRulesResponseBody.js.map +1 -0
- package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +9 -10
- package/dist/models/ResetGatewayQuotaRuleRequest.js.map +1 -1
- package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +16 -16
- package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +8 -8
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +12 -12
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +26 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +121 -58
- package/src/models/AddGatewayQuotaRuleRequest.ts +20 -14
- package/src/models/AddGatewayQuotaRuleResponseBody.ts +14 -9
- package/src/models/GetDashboardRequest.ts +5 -5
- package/src/models/GetDashboardResponseBody.ts +2 -2
- package/src/models/GetDashboardShrinkRequest.ts +5 -5
- package/src/models/GetGatewayQuotaRuleRequest.ts +4 -4
- package/src/models/GetGatewayQuotaRuleResponseBody.ts +4 -4
- package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +3 -3
- package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +1 -1
- package/src/models/HttpApiApiInfo.ts +1 -1
- package/src/models/HttpApiApiInfoDeployCntMapValue.ts +1 -1
- package/src/models/HttpRoute.ts +4 -1
- package/src/models/ListConsumerGroupQuotaRulesRequest.ts +52 -0
- package/src/models/ListConsumerGroupQuotaRulesResponse.ts +40 -0
- package/src/models/ListConsumerGroupQuotaRulesResponseBody.ts +203 -0
- package/src/models/ResetGatewayQuotaRuleRequest.ts +9 -10
- package/src/models/ResetGatewayQuotaRuleResponseBody.ts +16 -16
- package/src/models/UpdateGatewayQuotaRuleRequest.ts +8 -8
- package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +12 -12
- package/src/models/model.ts +5 -0
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The period type of the existing conflicting rule on the consumer. Valid values: day
|
|
8
|
+
* 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.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* week
|
|
@@ -13,7 +13,7 @@ export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends
|
|
|
13
13
|
conflictPeriodType?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* 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).
|
|
16
|
+
* 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).
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* calendar
|
|
@@ -21,7 +21,7 @@ export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends
|
|
|
21
21
|
conflictType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The consumer ID.
|
|
24
|
+
* The consumer ID. You can use subjectId instead.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* cs-d82n1g6m1hkm375xxxxx
|
|
@@ -29,7 +29,7 @@ export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends
|
|
|
29
29
|
consumerId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The consumer name.
|
|
32
|
+
* The consumer name. You can use subjectName instead.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* consumer-a
|
|
@@ -37,7 +37,7 @@ export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends
|
|
|
37
37
|
consumerName?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The ID of the conflicting
|
|
40
|
+
* The ID of the conflicting principal.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* cs-xxx
|
|
@@ -45,7 +45,7 @@ export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends
|
|
|
45
45
|
subjectId?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The name of the conflicting
|
|
48
|
+
* The name of the conflicting principal.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* consumer-a
|
|
@@ -53,7 +53,7 @@ export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends
|
|
|
53
53
|
subjectName?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The type of the conflicting
|
|
56
|
+
* The type of the conflicting principal. Valid values: consumer and consumer_group.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* consumer
|
|
@@ -95,7 +95,7 @@ export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends
|
|
|
95
95
|
export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreview extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The conflict
|
|
98
|
+
* The hash of the conflict snapshot.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* f8f44dc6cf369a017d56b7197eb4fb5ac4bbb6b09a92b9b41999541f50xxxxxx
|
|
@@ -103,7 +103,7 @@ export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreview extends $dara
|
|
|
103
103
|
conflictHash?: string;
|
|
104
104
|
/**
|
|
105
105
|
* @remarks
|
|
106
|
-
* The list of conflicting
|
|
106
|
+
* The list of conflicting principals (consumers or consumer groups).
|
|
107
107
|
*/
|
|
108
108
|
items?: UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems[];
|
|
109
109
|
/**
|
|
@@ -145,7 +145,7 @@ export class UpdateGatewayQuotaRuleResponseBodyDataConflictPreview extends $dara
|
|
|
145
145
|
export class UpdateGatewayQuotaRuleResponseBodyData extends $dara.Model {
|
|
146
146
|
/**
|
|
147
147
|
* @remarks
|
|
148
|
-
* Indicates whether the write request
|
|
148
|
+
* 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.
|
|
149
149
|
*
|
|
150
150
|
* @example
|
|
151
151
|
* true
|
|
@@ -158,7 +158,7 @@ export class UpdateGatewayQuotaRuleResponseBodyData extends $dara.Model {
|
|
|
158
158
|
conflictPreview?: UpdateGatewayQuotaRuleResponseBodyDataConflictPreview;
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
* Indicates whether
|
|
161
|
+
* Indicates whether the request is a dry run.
|
|
162
162
|
*
|
|
163
163
|
* @example
|
|
164
164
|
* true
|
|
@@ -213,7 +213,7 @@ export class UpdateGatewayQuotaRuleResponseBody extends $dara.Model {
|
|
|
213
213
|
code?: string;
|
|
214
214
|
/**
|
|
215
215
|
* @remarks
|
|
216
|
-
* The response data.
|
|
216
|
+
* The response data content.
|
|
217
217
|
*
|
|
218
218
|
* @example
|
|
219
219
|
* {\\"key\\": \\"value\\"}
|
package/src/models/model.ts
CHANGED
|
@@ -302,6 +302,8 @@ export { ListConsumerAuthorizationRulesResponseBodyDataItems } from './ListConsu
|
|
|
302
302
|
export { ListConsumerAuthorizationRulesResponseBodyData } from './ListConsumerAuthorizationRulesResponseBody';
|
|
303
303
|
export { ListConsumerGroupConsumersResponseBodyDataItems } from './ListConsumerGroupConsumersResponseBody';
|
|
304
304
|
export { ListConsumerGroupConsumersResponseBodyData } from './ListConsumerGroupConsumersResponseBody';
|
|
305
|
+
export { ListConsumerGroupQuotaRulesResponseBodyDataItems } from './ListConsumerGroupQuotaRulesResponseBody';
|
|
306
|
+
export { ListConsumerGroupQuotaRulesResponseBodyData } from './ListConsumerGroupQuotaRulesResponseBody';
|
|
305
307
|
export { ListConsumerGroupsResponseBodyDataItems } from './ListConsumerGroupsResponseBody';
|
|
306
308
|
export { ListConsumerGroupsResponseBodyData } from './ListConsumerGroupsResponseBody';
|
|
307
309
|
export { ListConsumerQuotaRulesResponseBodyDataItems } from './ListConsumerQuotaRulesResponseBody';
|
|
@@ -828,6 +830,9 @@ export { ListConsumerAuthorizationRulesResponse } from './ListConsumerAuthorizat
|
|
|
828
830
|
export { ListConsumerGroupConsumersRequest } from './ListConsumerGroupConsumersRequest';
|
|
829
831
|
export { ListConsumerGroupConsumersResponseBody } from './ListConsumerGroupConsumersResponseBody';
|
|
830
832
|
export { ListConsumerGroupConsumersResponse } from './ListConsumerGroupConsumersResponse';
|
|
833
|
+
export { ListConsumerGroupQuotaRulesRequest } from './ListConsumerGroupQuotaRulesRequest';
|
|
834
|
+
export { ListConsumerGroupQuotaRulesResponseBody } from './ListConsumerGroupQuotaRulesResponseBody';
|
|
835
|
+
export { ListConsumerGroupQuotaRulesResponse } from './ListConsumerGroupQuotaRulesResponse';
|
|
831
836
|
export { ListConsumerGroupsRequest } from './ListConsumerGroupsRequest';
|
|
832
837
|
export { ListConsumerGroupsResponseBody } from './ListConsumerGroupsResponseBody';
|
|
833
838
|
export { ListConsumerGroupsResponse } from './ListConsumerGroupsResponse';
|