@alicloud/apig20240327 11.3.3 → 11.3.5

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 (40) hide show
  1. package/dist/client.d.ts +6 -6
  2. package/dist/client.js +14 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateHttpApiRequest.d.ts +25 -17
  5. package/dist/models/CreateHttpApiRequest.js +2 -0
  6. package/dist/models/CreateHttpApiRequest.js.map +1 -1
  7. package/dist/models/CreateHttpApiRouteRequest.d.ts +4 -4
  8. package/dist/models/CreateMigrationTaskRequest.d.ts +2 -0
  9. package/dist/models/CreateMigrationTaskRequest.js.map +1 -1
  10. package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +2 -3
  11. package/dist/models/GetConsumerAuthorizationRuleResponseBody.js.map +1 -1
  12. package/dist/models/GetDashboardRequest.d.ts +9 -6
  13. package/dist/models/GetDashboardRequest.js.map +1 -1
  14. package/dist/models/GetDashboardResponseBody.d.ts +2 -2
  15. package/dist/models/GetDashboardShrinkRequest.d.ts +9 -6
  16. package/dist/models/GetDashboardShrinkRequest.js.map +1 -1
  17. package/dist/models/GetHttpApiOperationResponseBody.d.ts +1 -1
  18. package/dist/models/HttpApiDeployConfig.d.ts +3 -3
  19. package/dist/models/ListHttpApisRequest.d.ts +9 -9
  20. package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +6 -6
  21. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +8 -10
  22. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.js.map +1 -1
  23. package/dist/models/UpdateHttpApiRequest.d.ts +14 -6
  24. package/dist/models/UpdateHttpApiRequest.js +2 -0
  25. package/dist/models/UpdateHttpApiRequest.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/client.ts +16 -6
  28. package/src/models/CreateHttpApiRequest.ts +27 -17
  29. package/src/models/CreateHttpApiRouteRequest.ts +4 -4
  30. package/src/models/CreateMigrationTaskRequest.ts +2 -0
  31. package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +2 -3
  32. package/src/models/GetDashboardRequest.ts +9 -6
  33. package/src/models/GetDashboardResponseBody.ts +2 -2
  34. package/src/models/GetDashboardShrinkRequest.ts +9 -6
  35. package/src/models/GetHttpApiOperationResponseBody.ts +1 -1
  36. package/src/models/HttpApiDeployConfig.ts +3 -3
  37. package/src/models/ListHttpApisRequest.ts +9 -9
  38. package/src/models/QueryConsumerAuthorizationRulesRequest.ts +6 -6
  39. package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +8 -10
  40. package/src/models/UpdateHttpApiRequest.ts +16 -6
@@ -13,7 +13,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
13
13
  apiNameLike?: string;
14
14
  /**
15
15
  * @remarks
16
- * The consumer group ID. If specified, the authorization rules of this consumer group are queried.
16
+ * The consumer group ID. If specified, the authorization rules of the consumer group are queried. At least one of the following parameters must be specified: resourceId, parentResourceId, consumerId, and consumerGroupId.
17
17
  *
18
18
  * @example
19
19
  * csg-8c13d2b4f8a1
@@ -29,7 +29,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
29
29
  consumerGroupNameLike?: string;
30
30
  /**
31
31
  * @remarks
32
- * The consumer ID.
32
+ * The consumer ID. At least one of the following parameters must be specified: resourceId, parentResourceId, consumerId, and consumerGroupId.
33
33
  *
34
34
  * @example
35
35
  * cs-ct21c16m1hkp64hk6qmg
@@ -77,7 +77,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
77
77
  pageSize?: number;
78
78
  /**
79
79
  * @remarks
80
- * The parent resource ID.
80
+ * The parent resource ID. At least one of the following parameters must be specified: resourceId, parentResourceId, consumerId, and consumerGroupId.
81
81
  *
82
82
  * @example
83
83
  * ha-cn-li942gy8p01
@@ -85,7 +85,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
85
85
  parentResourceId?: string;
86
86
  /**
87
87
  * @remarks
88
- * The principal type. Valid values: Consumer or ConsumerGroup.
88
+ * The principal type. Valid values: Consumer and ConsumerGroup.
89
89
  *
90
90
  * @example
91
91
  * ConsumerGroup
@@ -93,7 +93,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
93
93
  principalType?: string;
94
94
  /**
95
95
  * @remarks
96
- * The resource ID.
96
+ * The resource ID. At least one of the following parameters must be specified: resourceId, parentResourceId, consumerId, and consumerGroupId.
97
97
  *
98
98
  * @example
99
99
  * ha-cn-li942gy8p03
@@ -109,7 +109,7 @@ export class QueryConsumerAuthorizationRulesRequest extends $dara.Model {
109
109
  resourceType?: string;
110
110
  /**
111
111
  * @remarks
112
- * The service source types.
112
+ * The service source type.
113
113
  *
114
114
  * @example
115
115
  * K8S
@@ -12,7 +12,7 @@ import { HttpRoute } from "./HttpRoute";
12
12
  export class QueryConsumerAuthorizationRulesResponseBodyDataItemsResourceInfo extends $dara.Model {
13
13
  /**
14
14
  * @remarks
15
- * The operation information.
15
+ * The API operation information.
16
16
  */
17
17
  operationInfo?: HttpApiOperationInfo;
18
18
  /**
@@ -52,7 +52,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItemsResourceInfo ex
52
52
  export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.Model {
53
53
  /**
54
54
  * @remarks
55
- * The API information details.
55
+ * The API information.
56
56
  */
57
57
  apiInfo?: HttpApiApiInfo;
58
58
  /**
@@ -86,7 +86,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
86
86
  consumerId?: string;
87
87
  /**
88
88
  * @remarks
89
- * The consumer information details.
89
+ * The consumer information.
90
90
  */
91
91
  consumerInfo?: ConsumerInfo;
92
92
  /**
@@ -99,7 +99,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
99
99
  createTimestamp?: number;
100
100
  /**
101
101
  * @remarks
102
- * The publish status of the API in the current environment.
102
+ * The deployment status of the API in the current environment.
103
103
  *
104
104
  * @example
105
105
  * {}
@@ -112,9 +112,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
112
112
  environmentInfo?: EnvironmentInfo;
113
113
  /**
114
114
  * @remarks
115
- * The expiration mode. Valid values:
116
- * - LongTerm
117
- * - ShortTerm
115
+ * The expiration mode. Valid values: LongTerm and ShortTerm.
118
116
  *
119
117
  * @example
120
118
  * ShortTerm
@@ -143,7 +141,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
143
141
  gatewayInfo?: GatewayInfo;
144
142
  /**
145
143
  * @remarks
146
- * The principal type. Valid values: Consumer or ConsumerGroup.
144
+ * The principal type. Valid values: Consumer and ConsumerGroup.
147
145
  *
148
146
  * @example
149
147
  * ConsumerGroup
@@ -159,7 +157,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
159
157
  resourceId?: string;
160
158
  /**
161
159
  * @remarks
162
- * The resource information details.
160
+ * The resource information.
163
161
  */
164
162
  resourceInfo?: QueryConsumerAuthorizationRulesResponseBodyDataItemsResourceInfo;
165
163
  /**
@@ -254,7 +252,7 @@ export class QueryConsumerAuthorizationRulesResponseBodyDataItems extends $dara.
254
252
  export class QueryConsumerAuthorizationRulesResponseBodyData extends $dara.Model {
255
253
  /**
256
254
  * @remarks
257
- * The list of consumer rules.
255
+ * The list of consumer authorization rules.
258
256
  */
259
257
  items?: QueryConsumerAuthorizationRulesResponseBodyDataItems[];
260
258
  /**
@@ -16,7 +16,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
16
16
  environmentId?: string;
17
17
  /**
18
18
  * @remarks
19
- * The Ingress Class to listen on.
19
+ * The Ingress class to listen on.
20
20
  *
21
21
  * @example
22
22
  * mse
@@ -24,7 +24,7 @@ export class UpdateHttpApiRequestIngressConfig extends $dara.Model {
24
24
  ingressClass?: string;
25
25
  /**
26
26
  * @remarks
27
- * Specifies whether to update the address in the Ingress Status.
27
+ * Specifies whether to update the address in the Ingress status.
28
28
  *
29
29
  * @example
30
30
  * false
@@ -108,7 +108,7 @@ export class UpdateHttpApiRequest extends $dara.Model {
108
108
  deployConfigs?: HttpApiDeployConfig[];
109
109
  /**
110
110
  * @remarks
111
- * The description of the API.
111
+ * The API description.
112
112
  *
113
113
  * @example
114
114
  * Update API description
@@ -137,7 +137,7 @@ export class UpdateHttpApiRequest extends $dara.Model {
137
137
  ingressConfig?: UpdateHttpApiRequestIngressConfig;
138
138
  /**
139
139
  * @remarks
140
- * Specifies whether to only modify the configuration. If set to true, only the configuration is modified without triggering a redeployment.
140
+ * Specifies whether to only modify the configuration. If this parameter is set to true, only the configuration is modified without triggering redeployment.
141
141
  *
142
142
  * @example
143
143
  * true
@@ -158,12 +158,20 @@ export class UpdateHttpApiRequest extends $dara.Model {
158
158
  removeBasePathOnForward?: boolean;
159
159
  /**
160
160
  * @remarks
161
- * The versioning configuration of the API.
161
+ * The API versioning configuration.
162
162
  */
163
163
  versionConfig?: HttpApiVersionConfig;
164
164
  /**
165
165
  * @remarks
166
- * Specifies whether to perform only a dry run. If set to true, all synchronous validations identical to a real update are performed without updating any configurations or producing side effects. If not specified or set to false, the behavior is the same as the existing version.
166
+ * The idempotent request identifier. If you call this operation for the same HTTP API with the same clientToken value and request parameters, the result of the first successful call is returned.
167
+ *
168
+ * @example
169
+ * update-http-api-client-token-001
170
+ */
171
+ clientToken?: string;
172
+ /**
173
+ * @remarks
174
+ * Specifies whether to perform only a dry run. If this parameter is set to true, all synchronous validations identical to an actual update are performed, but no configurations are updated and no side effects are produced. If this parameter is not specified or is set to false, the behavior is the same as the existing version.
167
175
  */
168
176
  dryRun?: boolean;
169
177
  static names(): { [key: string]: string } {
@@ -181,6 +189,7 @@ export class UpdateHttpApiRequest extends $dara.Model {
181
189
  protocols: 'protocols',
182
190
  removeBasePathOnForward: 'removeBasePathOnForward',
183
191
  versionConfig: 'versionConfig',
192
+ clientToken: 'clientToken',
184
193
  dryRun: 'dryRun',
185
194
  };
186
195
  }
@@ -200,6 +209,7 @@ export class UpdateHttpApiRequest extends $dara.Model {
200
209
  protocols: { 'type': 'array', 'itemType': 'string' },
201
210
  removeBasePathOnForward: 'boolean',
202
211
  versionConfig: HttpApiVersionConfig,
212
+ clientToken: 'string',
203
213
  dryRun: 'boolean',
204
214
  };
205
215
  }