@alicloud/apig20240327 7.2.0 → 7.2.2

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 (104) hide show
  1. package/dist/client.d.ts +26 -32
  2. package/dist/client.js +63 -33
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDomainRequest.d.ts +14 -22
  5. package/dist/models/CreateDomainRequest.js +2 -0
  6. package/dist/models/CreateDomainRequest.js.map +1 -1
  7. package/dist/models/CreateDomainResponseBody.d.ts +4 -4
  8. package/dist/models/DescribeRegionsResponseBody.d.ts +31 -0
  9. package/dist/models/DescribeRegionsResponseBody.js +49 -1
  10. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  11. package/dist/models/DomainInfo.d.ts +8 -17
  12. package/dist/models/DomainInfo.js +2 -0
  13. package/dist/models/DomainInfo.js.map +1 -1
  14. package/dist/models/GatewayInfo.d.ts +9 -4
  15. package/dist/models/GatewayInfo.js +2 -0
  16. package/dist/models/GatewayInfo.js.map +1 -1
  17. package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +8 -6
  18. package/dist/models/GetConsumerAuthorizationRuleResponseBody.js.map +1 -1
  19. package/dist/models/GetDomainResponseBody.d.ts +28 -39
  20. package/dist/models/GetDomainResponseBody.js +2 -0
  21. package/dist/models/GetDomainResponseBody.js.map +1 -1
  22. package/dist/models/GetEnvironmentRequest.d.ts +2 -2
  23. package/dist/models/GetEnvironmentResponseBody.d.ts +16 -16
  24. package/dist/models/GetHttpApiRouteResponseBody.d.ts +2 -2
  25. package/dist/models/GetPluginAttachmentResponseBody.d.ts +12 -12
  26. package/dist/models/GetSourceResponseBody.d.ts +27 -17
  27. package/dist/models/GetSourceResponseBody.js +4 -0
  28. package/dist/models/GetSourceResponseBody.js.map +1 -1
  29. package/dist/models/HttpApiApiInfo.d.ts +5 -0
  30. package/dist/models/HttpApiApiInfo.js +2 -0
  31. package/dist/models/HttpApiApiInfo.js.map +1 -1
  32. package/dist/models/HttpRoute.d.ts +5 -0
  33. package/dist/models/HttpRoute.js +2 -0
  34. package/dist/models/HttpRoute.js.map +1 -1
  35. package/dist/models/ImportHttpApiRequest.d.ts +16 -17
  36. package/dist/models/ImportHttpApiRequest.js.map +1 -1
  37. package/dist/models/ImportHttpApiResponseBody.d.ts +17 -21
  38. package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
  39. package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +2 -2
  40. package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +17 -17
  41. package/dist/models/ListDomainsRequest.d.ts +10 -5
  42. package/dist/models/ListDomainsRequest.js +2 -0
  43. package/dist/models/ListDomainsRequest.js.map +1 -1
  44. package/dist/models/ListDomainsResponseBody.d.ts +7 -7
  45. package/dist/models/ListEnvironmentsRequest.d.ts +8 -8
  46. package/dist/models/ListEnvironmentsResponseBody.d.ts +8 -8
  47. package/dist/models/ListHttpApiRoutesRequest.d.ts +11 -11
  48. package/dist/models/ListHttpApiRoutesResponseBody.d.ts +4 -4
  49. package/dist/models/ListSslCertsRequest.d.ts +2 -2
  50. package/dist/models/ListSslCertsResponseBody.d.ts +7 -7
  51. package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +4 -4
  52. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +25 -25
  53. package/dist/models/TransportCertificateInfo.d.ts +24 -0
  54. package/dist/models/TransportCertificateInfo.js +84 -0
  55. package/dist/models/TransportCertificateInfo.js.map +1 -0
  56. package/dist/models/TransportEncryptionInfo.d.ts +19 -0
  57. package/dist/models/TransportEncryptionInfo.js +70 -0
  58. package/dist/models/TransportEncryptionInfo.js.map +1 -0
  59. package/dist/models/UpdateDomainRequest.d.ts +15 -18
  60. package/dist/models/UpdateDomainRequest.js +2 -0
  61. package/dist/models/UpdateDomainRequest.js.map +1 -1
  62. package/dist/models/UpdateDomainResponseBody.d.ts +5 -5
  63. package/dist/models/UpdateHttpApiOperationRequest.d.ts +1 -1
  64. package/dist/models/UpdateHttpApiOperationResponseBody.d.ts +2 -2
  65. package/dist/models/model.d.ts +4 -0
  66. package/dist/models/model.js +24 -16
  67. package/dist/models/model.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/client.ts +66 -33
  70. package/src/models/CreateDomainRequest.ts +16 -22
  71. package/src/models/CreateDomainResponseBody.ts +4 -4
  72. package/src/models/DescribeRegionsResponseBody.ts +61 -0
  73. package/src/models/DomainInfo.ts +10 -17
  74. package/src/models/GatewayInfo.ts +11 -4
  75. package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +8 -6
  76. package/src/models/GetDomainResponseBody.ts +30 -39
  77. package/src/models/GetEnvironmentRequest.ts +2 -2
  78. package/src/models/GetEnvironmentResponseBody.ts +16 -16
  79. package/src/models/GetHttpApiRouteResponseBody.ts +2 -2
  80. package/src/models/GetPluginAttachmentResponseBody.ts +12 -12
  81. package/src/models/GetSourceResponseBody.ts +31 -17
  82. package/src/models/HttpApiApiInfo.ts +7 -0
  83. package/src/models/HttpRoute.ts +7 -0
  84. package/src/models/ImportHttpApiRequest.ts +16 -17
  85. package/src/models/ImportHttpApiResponseBody.ts +17 -21
  86. package/src/models/ListConsumerAuthorizationRulesRequest.ts +2 -2
  87. package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +17 -17
  88. package/src/models/ListDomainsRequest.ts +12 -5
  89. package/src/models/ListDomainsResponseBody.ts +7 -7
  90. package/src/models/ListEnvironmentsRequest.ts +8 -8
  91. package/src/models/ListEnvironmentsResponseBody.ts +8 -8
  92. package/src/models/ListHttpApiRoutesRequest.ts +11 -11
  93. package/src/models/ListHttpApiRoutesResponseBody.ts +4 -4
  94. package/src/models/ListSslCertsRequest.ts +2 -2
  95. package/src/models/ListSslCertsResponseBody.ts +7 -7
  96. package/src/models/QueryConsumerAuthorizationRulesRequest.ts +4 -4
  97. package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +25 -25
  98. package/src/models/TransportCertificateInfo.ts +63 -0
  99. package/src/models/TransportEncryptionInfo.ts +43 -0
  100. package/src/models/UpdateDomainRequest.ts +17 -18
  101. package/src/models/UpdateDomainResponseBody.ts +5 -5
  102. package/src/models/UpdateHttpApiOperationRequest.ts +1 -1
  103. package/src/models/UpdateHttpApiOperationResponseBody.ts +2 -2
  104. package/src/models/model.ts +4 -0
@@ -10,7 +10,7 @@ import { ResourceInfo } from "./ResourceInfo";
10
10
  export class GetPluginAttachmentResponseBodyData extends $dara.Model {
11
11
  /**
12
12
  * @remarks
13
- * Indicates whether the plug-in is enabled.
13
+ * Indicates whether the plugin attachment is enabled.
14
14
  *
15
15
  * @example
16
16
  * true
@@ -18,22 +18,22 @@ export class GetPluginAttachmentResponseBodyData extends $dara.Model {
18
18
  enable?: boolean;
19
19
  /**
20
20
  * @remarks
21
- * The environment information.
21
+ * The environment context.
22
22
  */
23
23
  environmentInfo?: EnvironmentInfo;
24
24
  /**
25
25
  * @remarks
26
- * The instance information.
26
+ * The gateway information.
27
27
  */
28
28
  gatewayInfo?: GatewayInfo;
29
29
  /**
30
30
  * @remarks
31
- * The information about the parent resource to which the plug-in is attached.
31
+ * The parent attachment resource information.
32
32
  */
33
33
  parentResourceInfo?: ParentResourceInfo;
34
34
  /**
35
35
  * @remarks
36
- * The attachment ID.
36
+ * The plugin attachment ID.
37
37
  *
38
38
  * @example
39
39
  * pa-d05f1tmm1hku195dd8j0
@@ -41,12 +41,12 @@ export class GetPluginAttachmentResponseBodyData extends $dara.Model {
41
41
  pluginAttachmentId?: string;
42
42
  /**
43
43
  * @remarks
44
- * The plug-in type information.
44
+ * The plugin type information.
45
45
  */
46
46
  pluginClassInfo?: PluginClassInfo;
47
47
  /**
48
48
  * @remarks
49
- * The Base64-encoded configurations of the plug-in.
49
+ * The Base64-encoded content of the original plugin configuration.
50
50
  *
51
51
  * @example
52
52
  * cHJlcGVuZDoKLSByb2xlOiBzeXN0ZW0KICBjb250ZW50OiDor7fkvb/nlKjoi7Hor63lm57nrZTpl67popgKYXBwZW5kOgotIHJvbGU6IHVzZXIKICBjb250ZW50OiDmr4/mrKHlm57nrZTlrozpl67popjvvIzlsJ3or5Xov5vooYzlj43pl64K
@@ -54,7 +54,7 @@ export class GetPluginAttachmentResponseBodyData extends $dara.Model {
54
54
  pluginConfig?: string;
55
55
  /**
56
56
  * @remarks
57
- * The plug-in ID.
57
+ * The plugin ID.
58
58
  *
59
59
  * @example
60
60
  * pl-cvo8ub6m1hkvgv03r3k0
@@ -62,7 +62,7 @@ export class GetPluginAttachmentResponseBodyData extends $dara.Model {
62
62
  pluginId?: string;
63
63
  /**
64
64
  * @remarks
65
- * The resource information.
65
+ * The list of attachment resource information.
66
66
  */
67
67
  resourceInfos?: ResourceInfo[];
68
68
  static names(): { [key: string]: string } {
@@ -120,7 +120,7 @@ export class GetPluginAttachmentResponseBodyData extends $dara.Model {
120
120
  export class GetPluginAttachmentResponseBody extends $dara.Model {
121
121
  /**
122
122
  * @remarks
123
- * The status code.
123
+ * The response status code.
124
124
  *
125
125
  * @example
126
126
  * Ok
@@ -128,12 +128,12 @@ export class GetPluginAttachmentResponseBody extends $dara.Model {
128
128
  code?: string;
129
129
  /**
130
130
  * @remarks
131
- * The response payload.
131
+ * The response data.
132
132
  */
133
133
  data?: GetPluginAttachmentResponseBodyData;
134
134
  /**
135
135
  * @remarks
136
- * The status message.
136
+ * The response message.
137
137
  *
138
138
  * @example
139
139
  * success
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetSourceResponseBodyDataK8SSourceInfo extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the Container Service for Kubernetes (ACK) cluster.
8
+ * Container Service cluster ID.
9
9
  *
10
10
  * @example
11
11
  * c2d290b2d8b5d4935864cace5f0173f31
@@ -35,7 +35,7 @@ export class GetSourceResponseBodyDataK8SSourceInfo extends $dara.Model {
35
35
  export class GetSourceResponseBodyDataNacosSourceInfo extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The endpoint of the Nacos instance.
38
+ * Nacos instance access address.
39
39
  *
40
40
  * @example
41
41
  * mse
@@ -43,7 +43,7 @@ export class GetSourceResponseBodyDataNacosSourceInfo extends $dara.Model {
43
43
  address?: string;
44
44
  /**
45
45
  * @remarks
46
- * The cluster ID.
46
+ * Cluster ID.
47
47
  *
48
48
  * @example
49
49
  * fluss-cn-w7k4hann601
@@ -51,7 +51,7 @@ export class GetSourceResponseBodyDataNacosSourceInfo extends $dara.Model {
51
51
  clusterId?: string;
52
52
  /**
53
53
  * @remarks
54
- * The Nacos instance ID.
54
+ * Nacos instance ID.
55
55
  *
56
56
  * @example
57
57
  * hgprecn-cn-cfn47q7oh001
@@ -83,9 +83,19 @@ export class GetSourceResponseBodyDataNacosSourceInfo extends $dara.Model {
83
83
  }
84
84
 
85
85
  export class GetSourceResponseBodyData extends $dara.Model {
86
+ /**
87
+ * @example
88
+ * Association completed
89
+ */
90
+ associationReason?: string;
91
+ /**
92
+ * @example
93
+ * ASSOCIATED
94
+ */
95
+ associationStatus?: string;
86
96
  /**
87
97
  * @remarks
88
- * The creation timestamp.
98
+ * Creation timestamp.
89
99
  *
90
100
  * @example
91
101
  * 1719386834548
@@ -93,7 +103,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
93
103
  createTimestamp?: number;
94
104
  /**
95
105
  * @remarks
96
- * The gateway ID.
106
+ * Gateway ID.
97
107
  *
98
108
  * @example
99
109
  * gw-cq2vundlhtg***
@@ -101,17 +111,17 @@ export class GetSourceResponseBodyData extends $dara.Model {
101
111
  gatewayId?: string;
102
112
  /**
103
113
  * @remarks
104
- * Kubernetes source information.
114
+ * K8s source information.
105
115
  */
106
116
  k8SSourceInfo?: GetSourceResponseBodyDataK8SSourceInfo;
107
117
  /**
108
118
  * @remarks
109
- * The source information when the source type is MSE_NACOS.
119
+ * MSE Nacos source information.
110
120
  */
111
121
  nacosSourceInfo?: GetSourceResponseBodyDataNacosSourceInfo;
112
122
  /**
113
123
  * @remarks
114
- * The name.
124
+ * Name.
115
125
  *
116
126
  * @example
117
127
  * import-test
@@ -119,7 +129,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
119
129
  name?: string;
120
130
  /**
121
131
  * @remarks
122
- * The resource group ID.
132
+ * Resource group ID.
123
133
  *
124
134
  * @example
125
135
  * rg-aekz4us4iruleja
@@ -127,7 +137,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
127
137
  resourceGroupId?: string;
128
138
  /**
129
139
  * @remarks
130
- * The source ID.
140
+ * Source ID.
131
141
  *
132
142
  * @example
133
143
  * src-crdddallhtgt***
@@ -135,7 +145,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
135
145
  sourceId?: string;
136
146
  /**
137
147
  * @remarks
138
- * The type.
148
+ * Type.
139
149
  *
140
150
  * @example
141
151
  * K8S
@@ -143,7 +153,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
143
153
  type?: string;
144
154
  /**
145
155
  * @remarks
146
- * The update timestamp.
156
+ * Update timestamp.
147
157
  *
148
158
  * @example
149
159
  * 1719386834548
@@ -151,6 +161,8 @@ export class GetSourceResponseBodyData extends $dara.Model {
151
161
  updateTimestamp?: number;
152
162
  static names(): { [key: string]: string } {
153
163
  return {
164
+ associationReason: 'associationReason',
165
+ associationStatus: 'associationStatus',
154
166
  createTimestamp: 'createTimestamp',
155
167
  gatewayId: 'gatewayId',
156
168
  k8SSourceInfo: 'k8SSourceInfo',
@@ -165,6 +177,8 @@ export class GetSourceResponseBodyData extends $dara.Model {
165
177
 
166
178
  static types(): { [key: string]: any } {
167
179
  return {
180
+ associationReason: 'string',
181
+ associationStatus: 'string',
168
182
  createTimestamp: 'number',
169
183
  gatewayId: 'string',
170
184
  k8SSourceInfo: GetSourceResponseBodyDataK8SSourceInfo,
@@ -195,7 +209,7 @@ export class GetSourceResponseBodyData extends $dara.Model {
195
209
  export class GetSourceResponseBody extends $dara.Model {
196
210
  /**
197
211
  * @remarks
198
- * The status code.
212
+ * Response status code.
199
213
  *
200
214
  * @example
201
215
  * Ok
@@ -203,12 +217,12 @@ export class GetSourceResponseBody extends $dara.Model {
203
217
  code?: string;
204
218
  /**
205
219
  * @remarks
206
- * The response data.
220
+ * Response data.
207
221
  */
208
222
  data?: GetSourceResponseBodyData;
209
223
  /**
210
224
  * @remarks
211
- * The response message.
225
+ * Response message.
212
226
  *
213
227
  * @example
214
228
  * success
@@ -216,7 +230,7 @@ export class GetSourceResponseBody extends $dara.Model {
216
230
  message?: string;
217
231
  /**
218
232
  * @remarks
219
- * Id of the request
233
+ * ID of the request
220
234
  *
221
235
  * @example
222
236
  * DE10E3C0-A676-5169-812D-6610AACBFAFF
@@ -9,6 +9,11 @@ import { HttpApiBackendMatchConditions } from "./HttpApiBackendMatchConditions";
9
9
 
10
10
 
11
11
  export class HttpApiApiInfoEnvironmentsGatewayInfo extends $dara.Model {
12
+ /**
13
+ * @example
14
+ * MultiTenantServerless
15
+ */
16
+ gatewayEdition?: string;
12
17
  /**
13
18
  * @remarks
14
19
  * The instance ID.
@@ -27,6 +32,7 @@ export class HttpApiApiInfoEnvironmentsGatewayInfo extends $dara.Model {
27
32
  name?: string;
28
33
  static names(): { [key: string]: string } {
29
34
  return {
35
+ gatewayEdition: 'gatewayEdition',
30
36
  gatewayId: 'gatewayId',
31
37
  name: 'name',
32
38
  };
@@ -34,6 +40,7 @@ export class HttpApiApiInfoEnvironmentsGatewayInfo extends $dara.Model {
34
40
 
35
41
  static types(): { [key: string]: any } {
36
42
  return {
43
+ gatewayEdition: 'string',
37
44
  gatewayId: 'string',
38
45
  name: 'string',
39
46
  };
@@ -55,6 +55,11 @@ export class HttpRouteDomainInfos extends $dara.Model {
55
55
  }
56
56
 
57
57
  export class HttpRouteEnvironmentInfoGatewayInfo extends $dara.Model {
58
+ /**
59
+ * @example
60
+ * MultiTenantServerless
61
+ */
62
+ gatewayEdition?: string;
58
63
  /**
59
64
  * @remarks
60
65
  * The gateway ID
@@ -73,6 +78,7 @@ export class HttpRouteEnvironmentInfoGatewayInfo extends $dara.Model {
73
78
  name?: string;
74
79
  static names(): { [key: string]: string } {
75
80
  return {
81
+ gatewayEdition: 'gatewayEdition',
76
82
  gatewayId: 'gatewayId',
77
83
  name: 'name',
78
84
  };
@@ -80,6 +86,7 @@ export class HttpRouteEnvironmentInfoGatewayInfo extends $dara.Model {
80
86
 
81
87
  static types(): { [key: string]: any } {
82
88
  return {
89
+ gatewayEdition: 'string',
83
90
  gatewayId: 'string',
84
91
  name: 'string',
85
92
  };
@@ -7,7 +7,7 @@ import { HttpApiVersionConfig } from "./HttpApiVersionConfig";
7
7
  export class ImportHttpApiRequestSpecOssConfig extends $dara.Model {
8
8
  /**
9
9
  * @remarks
10
- * The name of the OSS bucket that contains the API definition file.
10
+ * The bucket name.
11
11
  *
12
12
  * @example
13
13
  * gms-service-prod
@@ -15,7 +15,7 @@ export class ImportHttpApiRequestSpecOssConfig extends $dara.Model {
15
15
  bucketName?: string;
16
16
  /**
17
17
  * @remarks
18
- * The object key (file path) of the API definition file within the bucket.
18
+ * The full path of the file.
19
19
  *
20
20
  * @example
21
21
  * /test/swagger.json
@@ -23,7 +23,7 @@ export class ImportHttpApiRequestSpecOssConfig extends $dara.Model {
23
23
  objectKey?: string;
24
24
  /**
25
25
  * @remarks
26
- * The ID of the region where the OSS bucket is located.
26
+ * The region ID.
27
27
  *
28
28
  * @example
29
29
  * cn-shanghai
@@ -62,7 +62,7 @@ export class ImportHttpApiRequest extends $dara.Model {
62
62
  deployConfigs?: HttpApiDeployConfig[];
63
63
  /**
64
64
  * @remarks
65
- * The description of the API to import. If omitted, the description is taken from the API definition. The maximum length is 255 bytes.
65
+ * The description of the imported API. If this parameter is not specified, the description is extracted from the API definition. Maximum length: 255 bytes.
66
66
  *
67
67
  * @example
68
68
  * 测试专用API
@@ -70,7 +70,7 @@ export class ImportHttpApiRequest extends $dara.Model {
70
70
  description?: string;
71
71
  /**
72
72
  * @remarks
73
- * Indicates whether to perform a dry run. If `true`, the system validates the request but does not import the API.
73
+ * Specifies whether to perform a dry run. If this parameter is enabled, only validation is performed without the actual import.
74
74
  *
75
75
  * @example
76
76
  * false
@@ -94,7 +94,7 @@ export class ImportHttpApiRequest extends $dara.Model {
94
94
  mcpRouteId?: string;
95
95
  /**
96
96
  * @remarks
97
- * The name of the API to import. If omitted, the name is taken from the API definition file. If an API with the same name and versioning configuration already exists, the import acts as an update based on the specified `strategy`.
97
+ * The name of the imported API. If this parameter is not specified, the name is extracted from the API definition file. If an API with the same name and version configuration already exists, this import updates the existing API definition based on the strategy parameter.
98
98
  *
99
99
  * @example
100
100
  * import-test
@@ -110,7 +110,7 @@ export class ImportHttpApiRequest extends $dara.Model {
110
110
  resourceGroupId?: string;
111
111
  /**
112
112
  * @remarks
113
- * The Base64-encoded API definition. It supports OpenAPI Specification (OAS) 2.0 and 3.0 and can be in either YAML or JSON format. This parameter takes precedence over `specFileUrl`. If the file size is larger than 10 MB, use the `specFileUrl` parameter.
113
+ * The Base64-encoded API definition. OAS 2.0 and OAS 3.0 specifications are supported in YAML or JSON format. This parameter takes priority over the specFileUrl parameter. If the file size exceeds 10 MB, use the specFileUrl parameter instead.
114
114
  *
115
115
  * @example
116
116
  * b3BlbmFwaTogMy4wLjAKaW5mbzoKICAgIHRpdGxlOiBkZW1vCiAgICBkZXNjcmlwdGlvbjogdGhpc2lzZGVtbwogICAgdmVyc2lvbjogIiIKcGF0aHM6CiAgICAvdXNlci97dXNlcklkfToKICAgICAgICBnZXQ6CiAgICAgICAgICAgIHN1bW1hcnk6IOiOt+WPlueUqOaIt+S/oeaBrwogICAgICAgICAgICBkZXNjcmlwdGlvbjog6I635Y+W55So5oi35L+h5oGvCiAgICAgICAgICAgIG9wZXJhdGlvbklkOiBHZXRVc2VySW5mbwogICAgICAgICAgICByZXNwb25zZXM6CiAgICAgICAgICAgICAgICAiMjAwIjoKICAgICAgICAgICAgICAgICAgICBkZXNjcmlwdGlvbjog5oiQ5YqfCiAgICAgICAgICAgICAgICAgICAgY29udGVudDoKICAgICAgICAgICAgICAgICAgICAgICAgYXBwbGljYXRpb24vanNvbjtjaGFyc2V0PXV0Zi04OgogICAgICAgICAgICAgICAgICAgICAgICAgICAgc2NoZW1hOiBudWxsCnNlcnZlcnM6CiAgICAtIHVybDogaHR0cDovL2FwaS5leGFtcGxlLmNvbS92MQo=
@@ -118,23 +118,22 @@ export class ImportHttpApiRequest extends $dara.Model {
118
118
  specContentBase64?: string;
119
119
  /**
120
120
  * @remarks
121
- * The URL of the API definition file stored in OSS. The URL must be accessible from the public network or be an internal OSS endpoint in the same region. For OSS objects that are not publicly readable, use a presigned URL. For details, see [Download a file by using a presigned URL](https://help.aliyun.com/document_detail/39607.html).
121
+ * The download URL of the API definition file. The URL must be accessible over the public network or be an internal network OSS download URL in the same region. The URL must have download permissions. For OSS files that are not publicly readable, refer to References [Download objects using presigned URLs](https://help.aliyun.com/document_detail/39607.html) and provide a URL with download permissions. Only API definition files stored in OSS are supported.
122
122
  */
123
123
  specFileUrl?: string;
124
124
  /**
125
125
  * @remarks
126
- * Configuration for fetching the API definition from an OSS bucket.
126
+ * The OSS configuration.
127
127
  */
128
128
  specOssConfig?: ImportHttpApiRequestSpecOssConfig;
129
129
  /**
130
130
  * @remarks
131
- * The update strategy to apply when an API with the same name and versioning configuration already exists.
131
+ * The update strategy to use when the imported API has the same name and version management configuration as an existing API. Valid values:
132
+ * - SpecOnly: uses the imported file as the single source of truth.
133
+ * - SpecFirst: prioritizes the imported file. New operations are added and existing operations are updated. Operations not mentioned in the file remain unchanged.
134
+ * - ExistFirst: prioritizes the existing API. Only new operations are added. Existing operations are not updated.
132
135
  *
133
- * - `SpecOnly`: Overwrites the existing API completely with the imported definition.
134
- *
135
- * - `SpecFirst`: Updates existing APIs and creates new ones based on the imported definition. Existing APIs not included in the import file are unaffected.
136
- *
137
- * - `ExistFirst`: Creates new APIs from the imported definition but does not modify any existing APIs. This is the default strategy.
136
+ * Default value: ExistFirst.
138
137
  *
139
138
  * @example
140
139
  * ExistFirst
@@ -142,7 +141,7 @@ export class ImportHttpApiRequest extends $dara.Model {
142
141
  strategy?: string;
143
142
  /**
144
143
  * @remarks
145
- * If you specify this parameter, the import updates the specified API instead of creating a new one or searching for an existing API by name and versioning configuration. The target API must be an HTTP API.
144
+ * The ID of the target HTTP API. If this parameter is specified, this import updates the specified API instead of creating a new one or searching for an existing API by name and version management configuration. The target API must be of the REST type.
146
145
  *
147
146
  * @example
148
147
  * api-xxxx
@@ -150,7 +149,7 @@ export class ImportHttpApiRequest extends $dara.Model {
150
149
  targetHttpApiId?: string;
151
150
  /**
152
151
  * @remarks
153
- * The versioning configuration for the API. If an existing API matches the specified name (and version, if enabled), this import updates that API.
152
+ * The API version configuration. If version configuration is enabled and an API with the same version number and name already exists, this import is treated as an update. If version configuration is not enabled and an API with the same name already exists, this import is treated as an update.
154
153
  */
155
154
  versionConfig?: HttpApiVersionConfig;
156
155
  withGatewayExtension?: boolean;
@@ -6,7 +6,7 @@ import { HttpApiApiInfo } from "./HttpApiApiInfo";
6
6
  export class ImportHttpApiResponseBodyDataDryRunInfoFailureComponents extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The reason for the dry run failure.
9
+ * The error message.
10
10
  *
11
11
  * @example
12
12
  * 数据结构定义有误。
@@ -46,7 +46,7 @@ export class ImportHttpApiResponseBodyDataDryRunInfoFailureComponents extends $d
46
46
  export class ImportHttpApiResponseBodyDataDryRunInfoFailureOperations extends $dara.Model {
47
47
  /**
48
48
  * @remarks
49
- * The reason for the dry run failure.
49
+ * The error message.
50
50
  *
51
51
  * @example
52
52
  * 缺少响应定义。
@@ -122,11 +122,9 @@ export class ImportHttpApiResponseBodyDataDryRunInfoFailureRoutes extends $dara.
122
122
  export class ImportHttpApiResponseBodyDataDryRunInfoSuccessComponents extends $dara.Model {
123
123
  /**
124
124
  * @remarks
125
- * Indicates whether the data structure will be created or updated.
126
- *
127
- * - `Create`: Creates a new data structure.
128
- *
129
- * - `Update`: Updates an existing data structure.
125
+ * The action to be performed after the dry run. Valid values:
126
+ * - Create: create.
127
+ * - Update: update.
130
128
  *
131
129
  * @example
132
130
  * Create
@@ -166,11 +164,9 @@ export class ImportHttpApiResponseBodyDataDryRunInfoSuccessComponents extends $d
166
164
  export class ImportHttpApiResponseBodyDataDryRunInfoSuccessOperations extends $dara.Model {
167
165
  /**
168
166
  * @remarks
169
- * Indicates whether the operation creates or updates a resource.
170
- *
171
- * - `Create`: Creates a new resource.
172
- *
173
- * - `Update`: Updates an existing resource.
167
+ * The action to be performed after the dry run. Valid values:
168
+ * - Create: create.
169
+ * - Update: update.
174
170
  *
175
171
  * @example
176
172
  * Create
@@ -256,40 +252,40 @@ export class ImportHttpApiResponseBodyDataDryRunInfoSuccessRoutes extends $dara.
256
252
  export class ImportHttpApiResponseBodyDataDryRunInfo extends $dara.Model {
257
253
  /**
258
254
  * @remarks
259
- * Global error messages. If this list is not empty, the API import fails.
255
+ * The error messages. If error messages are not empty, the API cannot be imported.
260
256
  */
261
257
  errorMessages?: string[];
262
258
  /**
263
259
  * @remarks
264
- * Details of the existing API. If this field is populated, the import operation updates this API.
260
+ * The information about the existing API. If this field is not empty, the import updates this API.
265
261
  */
266
262
  existHttpApiInfo?: HttpApiApiInfo;
267
263
  /**
268
264
  * @remarks
269
- * Data structures that failed the dry run.
265
+ * The list of data structures that failed the dry run.
270
266
  */
271
267
  failureComponents?: ImportHttpApiResponseBodyDataDryRunInfoFailureComponents[];
272
268
  /**
273
269
  * @remarks
274
- * Operations that failed the dry run.
270
+ * The list of operations that failed the dry run.
275
271
  */
276
272
  failureOperations?: ImportHttpApiResponseBodyDataDryRunInfoFailureOperations[];
277
273
  failureRoutes?: ImportHttpApiResponseBodyDataDryRunInfoFailureRoutes[];
278
274
  mcpToolsDefinition?: string;
279
275
  /**
280
276
  * @remarks
281
- * Data structures that passed the dry run.
277
+ * The list of data structures that passed the dry run.
282
278
  */
283
279
  successComponents?: ImportHttpApiResponseBodyDataDryRunInfoSuccessComponents[];
284
280
  /**
285
281
  * @remarks
286
- * Operations that passed the dry run.
282
+ * The list of operations that passed the dry run.
287
283
  */
288
284
  successOperations?: ImportHttpApiResponseBodyDataDryRunInfoSuccessOperations[];
289
285
  successRoutes?: ImportHttpApiResponseBodyDataDryRunInfoSuccessRoutes[];
290
286
  /**
291
287
  * @remarks
292
- * Global warning messages. If this list is not empty, some operations or data structures might not be imported.
288
+ * The warning messages. If warning messages are not empty, some operations or data structures may not be imported.
293
289
  */
294
290
  warningMessages?: string[];
295
291
  static names(): { [key: string]: string } {
@@ -361,7 +357,7 @@ export class ImportHttpApiResponseBodyDataDryRunInfo extends $dara.Model {
361
357
  export class ImportHttpApiResponseBodyData extends $dara.Model {
362
358
  /**
363
359
  * @remarks
364
- * The results of the dry run.
360
+ * The dry run result.
365
361
  */
366
362
  dryRunInfo?: ImportHttpApiResponseBodyDataDryRunInfo;
367
363
  /**
@@ -419,7 +415,7 @@ export class ImportHttpApiResponseBody extends $dara.Model {
419
415
  code?: string;
420
416
  /**
421
417
  * @remarks
422
- * Details of the imported API.
418
+ * The API information.
423
419
  */
424
420
  data?: ImportHttpApiResponseBodyData;
425
421
  /**
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListConsumerAuthorizationRulesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * API name for fuzzy search.
8
+ * The fuzzy match parameter for the API name.
9
9
  *
10
10
  * @example
11
11
  * qwen3
@@ -21,7 +21,7 @@ export class ListConsumerAuthorizationRulesRequest extends $dara.Model {
21
21
  pageNumber?: number;
22
22
  /**
23
23
  * @remarks
24
- * The number of entries returned on each page. If you do not specify this parameter, the default value is 10.
24
+ * The page size. Default value: 10.
25
25
  *
26
26
  * @example
27
27
  * 10