tencentcloud-sdk-nodejs 4.1.332 → 4.1.333
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/es/common/sdk_version.js +1 -1
- package/es/services/goosefs/v20220519/goosefs_client.js +3 -0
- package/es/services/tcb/v20180608/tcb_client.js +2 -17
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/v20260520/adp_client.d.ts +1 -2
- package/tencentcloud/services/adp/v20260520/adp_client.js +1 -2
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +7 -3
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +44 -11
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +25 -13
- package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +20 -1
- package/tencentcloud/services/cngw/v20230418/cngw_client.js +19 -0
- package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +697 -213
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +4 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +26 -12
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +41 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +5 -1
- package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +6 -0
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +169 -23
- package/tencentcloud/services/live/v20180801/live_models.d.ts +44 -61
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +30 -47
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +63 -3
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +5 -25
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +5 -35
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +102 -514
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +2 -2
- package/tencentcloud/services/tse/v20201207/tse_client.js +1 -1
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +457 -145
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +20 -0
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +1 -1
package/es/common/sdk_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.1.
|
|
1
|
+
export const sdkVersion = "4.1.333";
|
|
@@ -3,6 +3,9 @@ export class Client extends AbstractClient {
|
|
|
3
3
|
constructor(clientConfig) {
|
|
4
4
|
super("goosefs.tencentcloudapi.com", "2022-05-19", clientConfig);
|
|
5
5
|
}
|
|
6
|
+
async DescribeDataRepositoryTasks(req, cb) {
|
|
7
|
+
return this.request("DescribeDataRepositoryTasks", req, cb);
|
|
8
|
+
}
|
|
6
9
|
async MountMultipleStorageFileSystem(req, cb) {
|
|
7
10
|
return this.request("MountMultipleStorageFileSystem", req, cb);
|
|
8
11
|
}
|
|
@@ -3,9 +3,6 @@ export class Client extends AbstractClient {
|
|
|
3
3
|
constructor(clientConfig) {
|
|
4
4
|
super("tcb.tencentcloudapi.com", "2018-06-08", clientConfig);
|
|
5
5
|
}
|
|
6
|
-
async DeleteUserKey(req, cb) {
|
|
7
|
-
return this.request("DeleteUserKey", req, cb);
|
|
8
|
-
}
|
|
9
6
|
async DeleteFunction(req, cb) {
|
|
10
7
|
return this.request("DeleteFunction", req, cb);
|
|
11
8
|
}
|
|
@@ -69,9 +66,6 @@ export class Client extends AbstractClient {
|
|
|
69
66
|
async UpgradePGInstanceToDedicated(req, cb) {
|
|
70
67
|
return this.request("UpgradePGInstanceToDedicated", req, cb);
|
|
71
68
|
}
|
|
72
|
-
async UpdateUserKey(req, cb) {
|
|
73
|
-
return this.request("UpdateUserKey", req, cb);
|
|
74
|
-
}
|
|
75
69
|
async DescribeCreditsUsageDetail(req, cb) {
|
|
76
70
|
return this.request("DescribeCreditsUsageDetail", req, cb);
|
|
77
71
|
}
|
|
@@ -108,9 +102,6 @@ export class Client extends AbstractClient {
|
|
|
108
102
|
async DescribeUserList(req, cb) {
|
|
109
103
|
return this.request("DescribeUserList", req, cb);
|
|
110
104
|
}
|
|
111
|
-
async CreateUserKey(req, cb) {
|
|
112
|
-
return this.request("CreateUserKey", req, cb);
|
|
113
|
-
}
|
|
114
105
|
async DescribeHostingDomainTask(req, cb) {
|
|
115
106
|
return this.request("DescribeHostingDomainTask", req, cb);
|
|
116
107
|
}
|
|
@@ -210,8 +201,8 @@ export class Client extends AbstractClient {
|
|
|
210
201
|
async CreateCloudApp(req, cb) {
|
|
211
202
|
return this.request("CreateCloudApp", req, cb);
|
|
212
203
|
}
|
|
213
|
-
async
|
|
214
|
-
return this.request("
|
|
204
|
+
async ModifyResourcePermission(req, cb) {
|
|
205
|
+
return this.request("ModifyResourcePermission", req, cb);
|
|
215
206
|
}
|
|
216
207
|
async DescribePGUserMigration(req, cb) {
|
|
217
208
|
return this.request("DescribePGUserMigration", req, cb);
|
|
@@ -231,9 +222,6 @@ export class Client extends AbstractClient {
|
|
|
231
222
|
async DeleteHTTPServiceRoute(req, cb) {
|
|
232
223
|
return this.request("DeleteHTTPServiceRoute", req, cb);
|
|
233
224
|
}
|
|
234
|
-
async ModifyResourcePermission(req, cb) {
|
|
235
|
-
return this.request("ModifyResourcePermission", req, cb);
|
|
236
|
-
}
|
|
237
225
|
async DescribeCloudBaseRunServerVersion(req, cb) {
|
|
238
226
|
return this.request("DescribeCloudBaseRunServerVersion", req, cb);
|
|
239
227
|
}
|
|
@@ -273,9 +261,6 @@ export class Client extends AbstractClient {
|
|
|
273
261
|
async DestroyEnv(req, cb) {
|
|
274
262
|
return this.request("DestroyEnv", req, cb);
|
|
275
263
|
}
|
|
276
|
-
async GetUserKeyList(req, cb) {
|
|
277
|
-
return this.request("GetUserKeyList", req, cb);
|
|
278
|
-
}
|
|
279
264
|
async RenewEnv(req, cb) {
|
|
280
265
|
return this.request("RenewEnv", req, cb);
|
|
281
266
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.333";
|
|
@@ -76,8 +76,7 @@ export declare class Client extends AbstractClient {
|
|
|
76
76
|
*/
|
|
77
77
|
DeleteMsgRecordCategory(req: DeleteMsgRecordCategoryRequest, cb?: (error: string, rep: DeleteMsgRecordCategoryResponse) => void): Promise<DeleteMsgRecordCategoryResponse>;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
80
|
-
注意:当前Claw模式应用会话不支持重置
|
|
79
|
+
* 该接口用于重置会话上下文。会话上下文重置后,对话处理中不会携带重置前的历史对话内容
|
|
81
80
|
*/
|
|
82
81
|
ResetConversation(req: ResetConversationRequest, cb?: (error: string, rep: ResetConversationResponse) => void): Promise<ResetConversationResponse>;
|
|
83
82
|
/**
|
|
@@ -130,8 +130,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
130
130
|
return this.request("DeleteMsgRecordCategory", req, cb);
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
*
|
|
134
|
-
注意:当前Claw模式应用会话不支持重置
|
|
133
|
+
* 该接口用于重置会话上下文。会话上下文重置后,对话处理中不会携带重置前的历史对话内容
|
|
135
134
|
*/
|
|
136
135
|
async ResetConversation(req, cb) {
|
|
137
136
|
return this.request("ResetConversation", req, cb);
|
|
@@ -7396,6 +7396,10 @@ export interface ConversationExperience {
|
|
|
7396
7396
|
* <p>推荐问生成prompt模式。枚举值: 1:仅结合知识库输出推荐问的prompt</p>
|
|
7397
7397
|
*/
|
|
7398
7398
|
RecommendPromptMode: number;
|
|
7399
|
+
/**
|
|
7400
|
+
* <p>新消息中断正在进行的消息</p>
|
|
7401
|
+
*/
|
|
7402
|
+
EnableNewMessageInterrupt?: boolean;
|
|
7399
7403
|
}
|
|
7400
7404
|
/**
|
|
7401
7405
|
* DeletePlugin返回参数结构体
|
|
@@ -9775,15 +9779,15 @@ export interface CategoryModifyFields {
|
|
|
9775
9779
|
*/
|
|
9776
9780
|
export interface OperationResult {
|
|
9777
9781
|
/**
|
|
9778
|
-
*
|
|
9782
|
+
* 资源 ID
|
|
9779
9783
|
*/
|
|
9780
9784
|
Id?: string;
|
|
9781
9785
|
/**
|
|
9782
|
-
*
|
|
9786
|
+
* 失败原因(succeeded=false 时填充)
|
|
9783
9787
|
*/
|
|
9784
9788
|
Reason?: string;
|
|
9785
9789
|
/**
|
|
9786
|
-
*
|
|
9790
|
+
* 是否成功
|
|
9787
9791
|
*/
|
|
9788
9792
|
Succeeded?: boolean;
|
|
9789
9793
|
}
|
|
@@ -141,13 +141,17 @@ export interface ScaleOutInstanceResponse {
|
|
|
141
141
|
*/
|
|
142
142
|
export interface ModifyUserPrivilegesV3Response {
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* <p>错误信息,为空就是没有错误</p>
|
|
145
145
|
*/
|
|
146
146
|
ErrorMsg?: string;
|
|
147
147
|
/**
|
|
148
|
-
*
|
|
148
|
+
* <p>集群id</p>
|
|
149
149
|
*/
|
|
150
150
|
InstanceId?: string;
|
|
151
|
+
/**
|
|
152
|
+
* <p>因库/表已删除而被跳过的目标;ErrorMsg 为空时不代表失败,前端需弹窗提示</p>
|
|
153
|
+
*/
|
|
154
|
+
SkippedItems?: SkippedPrivilegeItem;
|
|
151
155
|
/**
|
|
152
156
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
153
157
|
*/
|
|
@@ -158,37 +162,45 @@ export interface ModifyUserPrivilegesV3Response {
|
|
|
158
162
|
*/
|
|
159
163
|
export interface ModifyUserPrivilegesV3Request {
|
|
160
164
|
/**
|
|
161
|
-
*
|
|
165
|
+
* <p>集群id</p>
|
|
162
166
|
*/
|
|
163
167
|
InstanceId: string;
|
|
164
168
|
/**
|
|
165
|
-
*
|
|
169
|
+
* <p>用户名</p>
|
|
166
170
|
*/
|
|
167
171
|
UserName: string;
|
|
168
172
|
/**
|
|
169
|
-
*
|
|
173
|
+
* <p>用户权限</p>
|
|
170
174
|
*/
|
|
171
|
-
UserPrivileges
|
|
175
|
+
UserPrivileges?: UpdateUserPrivileges;
|
|
172
176
|
/**
|
|
173
|
-
*
|
|
177
|
+
* <p>用户链接来自的 IP</p>
|
|
174
178
|
*/
|
|
175
179
|
WhiteHost?: string;
|
|
176
180
|
/**
|
|
177
|
-
*
|
|
181
|
+
* <p>更新类型,默认0,1为更新绑定计算组,2为更新默认计算组,4 为 GrantPrivileges, RevokePrivileges 接口专用批量授权</p><p>枚举值:</p><ul><li>0: 默认</li><li>1: 更新绑定计算组</li><li>2: 更新默认计算组</li><li>4: GrantPrivileges, RevokePrivileges 接口专用批量授权</li></ul>
|
|
178
182
|
*/
|
|
179
183
|
UpdateType?: number;
|
|
180
184
|
/**
|
|
181
|
-
*
|
|
185
|
+
* <p>需绑定计算组列表</p>
|
|
182
186
|
*/
|
|
183
187
|
UpdateComputeGroups?: Array<string>;
|
|
184
188
|
/**
|
|
185
|
-
*
|
|
189
|
+
* <p>默认计算组</p>
|
|
186
190
|
*/
|
|
187
191
|
DefaultComputeGroup?: string;
|
|
188
192
|
/**
|
|
189
|
-
* 0: 灵活场景 1:
|
|
193
|
+
* <p>0: 灵活场景 1: 固定场景</p>
|
|
190
194
|
*/
|
|
191
195
|
ComputeGroupType?: number;
|
|
196
|
+
/**
|
|
197
|
+
* <p>本次新增授权的库表,仅 UpdateType=4 时生效</p>
|
|
198
|
+
*/
|
|
199
|
+
GrantPrivileges?: UpdateUserPrivileges;
|
|
200
|
+
/**
|
|
201
|
+
* <p>本次取消授权的库表,仅 UpdateType=4 时生效</p>
|
|
202
|
+
*/
|
|
203
|
+
RevokePrivileges?: UpdateUserPrivileges;
|
|
192
204
|
}
|
|
193
205
|
/**
|
|
194
206
|
* DestroyInstance请求参数结构体
|
|
@@ -1411,6 +1423,27 @@ export interface ModifySecurityGroupsRequest {
|
|
|
1411
1423
|
*/
|
|
1412
1424
|
ModifySecurityGroupIds?: Array<string>;
|
|
1413
1425
|
}
|
|
1426
|
+
/**
|
|
1427
|
+
* 增量授权(UpdateType=4)时因库/表已被物理删除而被跳过的目标,后端已自动清理其残留权限,前端需弹窗提示用户
|
|
1428
|
+
*/
|
|
1429
|
+
export interface SkippedPrivilegeItem {
|
|
1430
|
+
/**
|
|
1431
|
+
* <p>数据目录(catalog)名称</p>
|
|
1432
|
+
*/
|
|
1433
|
+
CatalogName?: string;
|
|
1434
|
+
/**
|
|
1435
|
+
* <p>库名</p>
|
|
1436
|
+
*/
|
|
1437
|
+
Database?: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* <p>表名;库级条目被跳过时该字段为空(Go 定义带 omitempty,为空时响应里整个字段不出现)</p>
|
|
1440
|
+
*/
|
|
1441
|
+
Table?: string;
|
|
1442
|
+
/**
|
|
1443
|
+
* <p>跳过原因,如 table not found, maybe already dropped、database not found, maybe already dropped、existence check failed, granting skipped this round, please retry</p>
|
|
1444
|
+
*/
|
|
1445
|
+
Reason?: string;
|
|
1446
|
+
}
|
|
1414
1447
|
/**
|
|
1415
1448
|
* CreateInstanceNew请求参数结构体
|
|
1416
1449
|
*/
|
|
@@ -1897,50 +1897,54 @@ export interface CreateTopicResponse {
|
|
|
1897
1897
|
*/
|
|
1898
1898
|
export interface KafkaConnectParam {
|
|
1899
1899
|
/**
|
|
1900
|
-
* Kafka连接源的实例资源, 非自建时必填,NetworkType=VPC时传clb实例id
|
|
1900
|
+
* <p>Kafka连接源的实例资源, 非自建时必填,NetworkType=VPC时传clb实例id</p>
|
|
1901
1901
|
*/
|
|
1902
1902
|
Resource?: string;
|
|
1903
1903
|
/**
|
|
1904
|
-
*
|
|
1904
|
+
* <p>是否为自建集群</p>
|
|
1905
1905
|
*/
|
|
1906
1906
|
SelfBuilt?: boolean;
|
|
1907
1907
|
/**
|
|
1908
|
-
*
|
|
1908
|
+
* <p>是否更新到关联的Dip任务</p>
|
|
1909
1909
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1910
1910
|
*/
|
|
1911
1911
|
IsUpdate?: boolean;
|
|
1912
1912
|
/**
|
|
1913
|
-
* Kafka连接的broker地址, NetworkType=PUBLIC
|
|
1913
|
+
* <p>Kafka连接的broker地址, NetworkType=PUBLIC公网时必填</p>
|
|
1914
1914
|
*/
|
|
1915
1915
|
BrokerAddress?: string;
|
|
1916
1916
|
/**
|
|
1917
|
-
* CKafka连接源的实例资源地域,
|
|
1917
|
+
* <p>CKafka连接源的实例资源地域, 跨地域时必填</p>
|
|
1918
1918
|
*/
|
|
1919
1919
|
Region?: string;
|
|
1920
1920
|
/**
|
|
1921
|
-
*
|
|
1921
|
+
* <p>网络类型:PUBLIC公网;VPC</p>
|
|
1922
1922
|
*/
|
|
1923
1923
|
NetworkType?: string;
|
|
1924
1924
|
/**
|
|
1925
|
-
* vpcId,NetworkType=VPC
|
|
1925
|
+
* <p>vpcId,NetworkType=VPC时必传</p>
|
|
1926
1926
|
*/
|
|
1927
1927
|
UniqVpcId?: string;
|
|
1928
1928
|
/**
|
|
1929
|
-
* vip,NetworkType=VPC
|
|
1929
|
+
* <p>vip,NetworkType=VPC时必传</p>
|
|
1930
1930
|
*/
|
|
1931
1931
|
ServiceVip?: string;
|
|
1932
1932
|
/**
|
|
1933
|
-
*
|
|
1933
|
+
* <p>端口,NetworkType=VPC时必传</p>
|
|
1934
1934
|
*/
|
|
1935
1935
|
Port?: number;
|
|
1936
1936
|
/**
|
|
1937
|
-
*
|
|
1937
|
+
* <p>跨云同步下需要客户传递唯一Id标志一组资源</p>
|
|
1938
1938
|
*/
|
|
1939
1939
|
CrossNetResourceUniqueId?: string;
|
|
1940
1940
|
/**
|
|
1941
|
-
*
|
|
1941
|
+
* <p>跨云子网ID</p>
|
|
1942
1942
|
*/
|
|
1943
1943
|
CrossNetVpcSubNetId?: string;
|
|
1944
|
+
/**
|
|
1945
|
+
* <p>用户输入原始broker接入点地址</p>
|
|
1946
|
+
*/
|
|
1947
|
+
OriginalBrokerAddresses?: string;
|
|
1944
1948
|
}
|
|
1945
1949
|
/**
|
|
1946
1950
|
* Datahub任务信息
|
|
@@ -2071,11 +2075,11 @@ export interface CreateInstancePostData {
|
|
|
2071
2075
|
*/
|
|
2072
2076
|
export interface DescModifyType {
|
|
2073
2077
|
/**
|
|
2074
|
-
*
|
|
2078
|
+
* <p>变配类型</p>
|
|
2075
2079
|
*/
|
|
2076
2080
|
ModifyType?: number;
|
|
2077
2081
|
/**
|
|
2078
|
-
*
|
|
2082
|
+
* <p>是否迁移标志</p>
|
|
2079
2083
|
*/
|
|
2080
2084
|
MigrateFlag?: boolean;
|
|
2081
2085
|
}
|
|
@@ -6495,6 +6499,14 @@ export interface CosParam {
|
|
|
6495
6499
|
* <p>根据strptime 时间格式化的分区格式</p>
|
|
6496
6500
|
*/
|
|
6497
6501
|
DirectoryTimeFormat?: string;
|
|
6502
|
+
/**
|
|
6503
|
+
* <p>时间时区, 默认 UTC+08:00</p><p>参数格式:UTC+08:00</p>
|
|
6504
|
+
*/
|
|
6505
|
+
Timezone?: string;
|
|
6506
|
+
/**
|
|
6507
|
+
* <p>源数据解析格式</p><p>枚举值:</p><ul><li>JSON: JSON格式</li><li>Debezium: Debezium格式</li></ul>
|
|
6508
|
+
*/
|
|
6509
|
+
SourceDataFormat?: string;
|
|
6498
6510
|
}
|
|
6499
6511
|
/**
|
|
6500
6512
|
* 查询kafka的zone信息返回的实体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateCloudNativeAPIGatewayMCPToolRequest, CheckCloudNativeAPIGatewayMCPToolVersionExistRequest, CompareCloudNativeAPIGatewayMCPToolVersionResponse, ModifyCloudNativeAPIGatewayConsumerGroupResponse, DescribeCloudNativeAPIGatewayLLMModelServicesResponse, DeleteCloudNativeAPIGatewayMCPToolResponse, RollbackCloudNativeAPIGatewayMCPToolVersionResponse, CreateCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewaySecretKeyListResponse, DeleteCloudNativeAPIGatewaySecretKeyRequest, DeleteCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewaySecretKeyValueRequest,
|
|
3
|
+
import { CreateCloudNativeAPIGatewayMCPToolRequest, CheckCloudNativeAPIGatewayMCPToolVersionExistRequest, CompareCloudNativeAPIGatewayMCPToolVersionResponse, BindCloudNativeAPIGatewaySecretKeyResponse, ModifyCloudNativeAPIGatewayConsumerGroupResponse, DescribeCloudNativeAPIGatewayLLMModelServicesResponse, DeleteCloudNativeAPIGatewayMCPToolResponse, RollbackCloudNativeAPIGatewayMCPToolVersionResponse, CreateCloudNativeAPIGatewayMCPServerRequest, ModifyCloudNativeAPIGatewayMCPToolACLResponse, DescribeCloudNativeAPIGatewaySecretKeyListResponse, DeleteCloudNativeAPIGatewaySecretKeyRequest, DeleteCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewaySecretKeyValueRequest, DeleteCloudNativeAPIGatewayConsumerResponse, RemoveCloudNativeAPIGatewayConsumerGroupAuthResponse, DescribeCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewayLLMModelServiceRequest, DescribeCloudNativeAPIGatewayMCPToolVersionListResponse, ModifyCloudNativeAPIGatewaySecretKeyResponse, AddCloudNativeAPIGatewayConsumerInGroupResponse, CreateCloudNativeAPIGatewayMCPRouteRequest, DescribeCloudNativeAPIGatewayMCPToolResponse, DescribeCloudNativeAPIGatewayMCPToolACLListResponse, DescribeCloudNativeAPIGatewayMCPServerListRequest, ModifyCloudNativeAPIGatewayMCPServerAuthResponse, ModifyCloudNativeAPIGatewayMCPRouteStatusResponse, CreateCloudNativeAPIGatewayConsumerGroupRequest, ModifyCloudNativeAPIGatewayLLMModelAPIResponse, DescribeCloudNativeAPIGatewayLLMModelServiceResponse, RemoveCloudNativeAPIGatewayConsumerInGroupRequest, CreateCloudNativeAPIGatewayLLMModelServiceRequest, DescribeCloudNativeAPIGatewayLLMModelServicesRequest, CreateCloudNativeAPIGatewayLLMModelAPIRequest, DescribeCloudNativeAPIGatewayConsumerGroupRequest, DescribeCloudNativeAPIGatewayMCPToolACLListRequest, DescribeCloudNativeAPIGatewayAIQuotaRequest, DescribeCNGWServicesWithRoutesResponse, DescribeCloudNativeAPIGatewayLLMModelAPIsRequest, CreateCloudNativeAPIGatewayLLMModelServiceResponse, ModifyCloudNativeAPIGatewayConsumerRequest, DescribeCloudNativeAPIGatewayMCPToolImportTaskResponse, DescribeCloudNativeAPIGatewayConsumerResponse, DeleteCloudNativeAPIGatewayMCPToolVersionResponse, DescribeCloudNativeAPIGatewayMCPToolListRequest, DeleteCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolRequest, DeleteCloudNativeAPIGatewayLLMModelAPIRequest, DeleteCloudNativeAPIGatewayLLMModelServiceResponse, DescribeCloudNativeAPIGatewayMCPRouteListResponse, DescribeCloudNativeAPIGatewayMCPToolsFromFileRequest, CreateCloudNativeAPIGatewayConsumerGroupResponse, UpdateCloudNativeAPIGatewayMCPToolsResponse, DescribeCloudNativeAPIGatewayLLMModelAPIResponse, ModifyCloudNativeAPIGatewayMCPServerStatusResponse, DescribeCloudNativeAPIGatewayMCPToolVersionResponse, DescribeCloudNativeAPIGatewayLLMModelAPIRequest, DescribeCloudNativeAPIGatewaySecretKeyListRequest, ModifyCloudNativeAPIGatewayMCPRouteResponse, DescribeCloudNativeAPIGatewayMCPToolsFromFileResponse, DescribeCloudNativeAPIGatewayMCPToolVersionListRequest, ModifyCloudNativeAPIGatewayAIServiceSourceResponse, DescribeCloudNativeAPIGatewayAIQuotaResponse, DescribeCloudNativeAPIGatewayAIServiceSourceListRequest, ModifyCloudNativeAPIGatewayMCPServerACLResponse, RollbackCloudNativeAPIGatewayMCPToolVersionRequest, DescribeCloudNativeAPIGatewayMCPToolVersionRequest, DeleteCloudNativeAPIGatewayMCPServerRequest, DeleteCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPToolRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsRequest, CreateCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayMCPServerResponse, ModifyCloudNativeAPIGatewayMCPToolACLRequest, CreateCloudNativeAPIGatewayMCPServerResponse, UpdateCloudNativeAPIGatewayMCPToolsRequest, CreateCloudNativeAPIGatewayConsumerRequest, ModifyCloudNativeAPIGatewayMCPServerStatusRequest, ModifyCloudNativeAPIGatewayMCPToolResponse, RemoveCloudNativeAPIGatewayConsumerInGroupResponse, DeleteCloudNativeAPIGatewayMCPRouteRequest, DescribeCloudNativeAPIGatewayLLMModelAPIsResponse, CompareCloudNativeAPIGatewayMCPToolVersionRequest, AddCloudNativeAPIGatewayConsumerInGroupRequest, CreateCloudNativeAPIGatewayConsumerResponse, ModifyCloudNativeAPIGatewayMCPServerACLRequest, DeleteCloudNativeAPIGatewayLLMModelAPIResponse, DescribeCloudNativeAPIGatewayMCPServerListResponse, DescribeCloudNativeAPIGatewayMCPServerAuthResponse, ModifyCloudNativeAPIGatewayMCPRouteRequest, ModifyCloudNativeAPIGatewayAIServiceSourceRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageStatisticsResponse, DescribeCloudNativeAPIGatewayAIQuotaListRequest, ModifyCloudNativeAPIGatewaySecretKeyRequest, DescribeCNGWServicesWithRoutesRequest, DescribeCloudNativeAPIGatewaySecretKeyResponse, DescribeCloudNativeAPIGatewayMCPServerACLResponse, DescribeCloudNativeAPIGatewayAIServiceSourceListResponse, DescribeCloudNativeAPIGatewayMCPRouteListRequest, ModifyCloudNativeAPIGatewayMCPServerResponse, CheckCloudNativeAPIGatewayMCPRouteMatchRequest, RemoveCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewaySecretKeyRequest, ModifyCloudNativeAPIGatewayMCPServerRequest, AddCloudNativeAPIGatewayConsumerGroupAuthResponse, DescribeCloudNativeAPIGatewaySecretKeyValueResponse, DeleteCloudNativeAPIGatewayConsumerRequest, ModifyCloudNativeAPIGatewayMCPToolStatusResponse, CreateCloudNativeAPIGatewayMCPRouteResponse, ModifyCloudNativeAPIGatewayMCPRouteStatusRequest, CreateCloudNativeAPIGatewaySecretKeyResponse, DeleteCloudNativeAPIGatewayAIServiceSourceResponse, UnbindCloudNativeAPIGatewaySecretKeyResponse, CreateCloudNativeAPIGatewayAIServiceSourceRequest, ModifyCloudNativeAPIGatewayConsumerGroupRequest, DeleteCloudNativeAPIGatewayMCPRouteResponse, UnbindCloudNativeAPIGatewaySecretKeyRequest, DescribeCloudNativeAPIGatewayMCPToolListResponse, DeleteCloudNativeAPIGatewayConsumerGroupRequest, DescribeCloudNativeAPIGatewayConsumerGroupResponse, CheckCloudNativeAPIGatewayMCPToolVersionExistResponse, CheckCloudNativeAPIGatewayMCPRouteMatchResponse, ModifyCloudNativeAPIGatewayMCPServerAuthRequest, DescribeCloudNativeAPIGatewayMCPServerRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageListRequest, BindCloudNativeAPIGatewaySecretKeyRequest, ModifyCloudNativeAPIGatewayMCPToolStatusRequest, AddCloudNativeAPIGatewayConsumerGroupAuthRequest, DescribeCloudNativeAPIGatewayAIQuotaListResponse, ModifyCloudNativeAPIGatewayConsumerResponse, CreateCloudNativeAPIGatewayMCPToolResponse, ModifyCloudNativeAPIGatewayLLMModelServiceRequest, DeleteCloudNativeAPIGatewayAIServiceSourceRequest, ModifyCloudNativeAPIGatewayLLMModelServiceResponse, DeleteCloudNativeAPIGatewayMCPToolVersionRequest, CreateCloudNativeAPIGatewayLLMModelAPIResponse, DescribeCloudNativeAPIGatewayMCPServerAuthRequest, CreateCloudNativeAPIGatewayAIServiceSourceResponse, DeleteCloudNativeAPIGatewayLLMModelServiceRequest, DescribeCloudNativeAPIGatewayMCPToolImportTaskRequest, DeleteCloudNativeAPIGatewayConsumerGroupResponse, DescribeCloudNativeAPIGatewayMCPServerACLRequest, ModifyCloudNativeAPIGatewayLLMModelAPIRequest, DescribeCloudNativeAPIGatewayLLMTokenUsageListResponse } from "./cngw_models";
|
|
4
4
|
/**
|
|
5
5
|
* cngw client
|
|
6
6
|
* @class
|
|
@@ -13,6 +13,8 @@ export declare class Client extends AbstractClient {
|
|
|
13
13
|
DeleteCloudNativeAPIGatewayConsumer(req: DeleteCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayConsumerResponse) => void): Promise<DeleteCloudNativeAPIGatewayConsumerResponse>;
|
|
14
14
|
/**
|
|
15
15
|
* 查询AI网关配额
|
|
16
|
+
|
|
17
|
+
支持 ConsumerGroup 配额,返回 ConsumerGroupPath、ConsumerGroupActive 及实际用量;失效组的规则仍可查询。
|
|
16
18
|
*/
|
|
17
19
|
DescribeCloudNativeAPIGatewayAIQuota(req: DescribeCloudNativeAPIGatewayAIQuotaRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayAIQuotaResponse) => void): Promise<DescribeCloudNativeAPIGatewayAIQuotaResponse>;
|
|
18
20
|
/**
|
|
@@ -29,6 +31,7 @@ export declare class Client extends AbstractClient {
|
|
|
29
31
|
DeleteCloudNativeAPIGatewayMCPServer(req: DeleteCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayMCPServerResponse) => void): Promise<DeleteCloudNativeAPIGatewayMCPServerResponse>;
|
|
30
32
|
/**
|
|
31
33
|
* 创建消费者密钥。
|
|
34
|
+
【消费者批量自动分配 API Key|修改:内部并发/配额逻辑,字段不变】消费者密钥单条创建在事务中使用与批量预留相同的实例写锁,配额检查使用当前锁定读,避免单条与批量并发绕过配额。仍是单条创建;原 GenerateType、请求字段、既有配额错误语义及 Result.Success/ID 不变,不增加 ConsumerIds/ClientToken。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
32
35
|
*/
|
|
33
36
|
CreateCloudNativeAPIGatewaySecretKey(req: CreateCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<CreateCloudNativeAPIGatewaySecretKeyResponse>;
|
|
34
37
|
/**
|
|
@@ -37,6 +40,8 @@ export declare class Client extends AbstractClient {
|
|
|
37
40
|
ModifyCloudNativeAPIGatewayMCPServerACL(req: ModifyCloudNativeAPIGatewayMCPServerACLRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewayMCPServerACLResponse) => void): Promise<ModifyCloudNativeAPIGatewayMCPServerACLResponse>;
|
|
38
41
|
/**
|
|
39
42
|
* 查询AI配额配置列表
|
|
43
|
+
|
|
44
|
+
支持按 ConsumerGroup 查询组自身配额,默认仍只查询 Consumer;返回组路径、有效状态及实际用量。上下级关联配额请使用 DescribeAIGWConsumerGroupAIQuotaList。
|
|
40
45
|
*/
|
|
41
46
|
DescribeCloudNativeAPIGatewayAIQuotaList(req: DescribeCloudNativeAPIGatewayAIQuotaListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayAIQuotaListResponse) => void): Promise<DescribeCloudNativeAPIGatewayAIQuotaListResponse>;
|
|
42
47
|
/**
|
|
@@ -89,6 +94,8 @@ export declare class Client extends AbstractClient {
|
|
|
89
94
|
DeleteCloudNativeAPIGatewayAIServiceSource(req: DeleteCloudNativeAPIGatewayAIServiceSourceRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayAIServiceSourceResponse) => void): Promise<DeleteCloudNativeAPIGatewayAIServiceSourceResponse>;
|
|
90
95
|
/**
|
|
91
96
|
* 查询消费者组详情。
|
|
97
|
+
|
|
98
|
+
组织架构扩展:ConsumerGroupId 同时支持原 cg-* 和组织部门 UUID;保留状态、数量、时间和描述逻辑。原普通组状态为 Enable/Disable,目录部门状态为 active/disabled/soft_deleted。
|
|
92
99
|
*/
|
|
93
100
|
DescribeCloudNativeAPIGatewayConsumerGroup(req: DescribeCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise<DescribeCloudNativeAPIGatewayConsumerGroupResponse>;
|
|
94
101
|
/**
|
|
@@ -153,10 +160,12 @@ export declare class Client extends AbstractClient {
|
|
|
153
160
|
DeleteCloudNativeAPIGatewayLLMModelAPI(req: DeleteCloudNativeAPIGatewayLLMModelAPIRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayLLMModelAPIResponse) => void): Promise<DeleteCloudNativeAPIGatewayLLMModelAPIResponse>;
|
|
154
161
|
/**
|
|
155
162
|
* 删除消费者密钥(被绑定时需先解绑)。
|
|
163
|
+
【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,删除返回 OperationDenied.BatchKeyPending。完成后仍执行原绑定/依赖删除检查;原 GatewayId/SecretKeyId 不变,成功不新增业务 Result。删除已生成密钥不改写批次历史成功,后续批次明文读取返回逐项 ResourceNotFound.SecretKey。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
156
164
|
*/
|
|
157
165
|
DeleteCloudNativeAPIGatewaySecretKey(req: DeleteCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<DeleteCloudNativeAPIGatewaySecretKeyResponse>;
|
|
158
166
|
/**
|
|
159
167
|
* 解绑密钥
|
|
168
|
+
【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,解绑返回 OperationDenied.BatchKeyPending。完成后继续原解绑;原 GatewayId/SecretKeyId/ResourceType/ResourceIds 不变,成功不新增业务 Result。解绑不改写批次历史成功,后续批次明文读取返回逐项 OperationDenied.BindingChanged。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
160
169
|
*/
|
|
161
170
|
UnbindCloudNativeAPIGatewaySecretKey(req: UnbindCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: UnbindCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<UnbindCloudNativeAPIGatewaySecretKeyResponse>;
|
|
162
171
|
/**
|
|
@@ -205,6 +214,8 @@ export declare class Client extends AbstractClient {
|
|
|
205
214
|
UpdateCloudNativeAPIGatewayMCPTools(req: UpdateCloudNativeAPIGatewayMCPToolsRequest, cb?: (error: string, rep: UpdateCloudNativeAPIGatewayMCPToolsResponse) => void): Promise<UpdateCloudNativeAPIGatewayMCPToolsResponse>;
|
|
206
215
|
/**
|
|
207
216
|
* 查询密钥列表。
|
|
217
|
+
普通版批量新建密钥的生成来源扩展:新页面按需 IncludeCreationInfo=true,省略/false 保持原响应字段。原 GenerateType 不新增 Batch;批量记录仍为 System。协议:https://iwiki.woa.com/p/4042678235。
|
|
218
|
+
【消费者批量自动分配 API Key|修改:可选参数、可选出参及筛选】增加可选 IncludeCreationInfo(默认 false)。仅 true 且 ResourceType=Consumer 时在原 Result.SecretKeys[] 增加 CredentialGenerateType、CreationSource、BatchId 三个非必返字段;Result.TotalCount/SecretKeys 结构不变。Filters 新增 CredentialGenerateType、CreationSource,先过滤后计数分页,与是否返回来源字段独立;保留原 GenerateType 枚举和原分页上限。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
208
219
|
*/
|
|
209
220
|
DescribeCloudNativeAPIGatewaySecretKeyList(req: DescribeCloudNativeAPIGatewaySecretKeyListRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewaySecretKeyListResponse) => void): Promise<DescribeCloudNativeAPIGatewaySecretKeyListResponse>;
|
|
210
221
|
/**
|
|
@@ -229,6 +240,7 @@ export declare class Client extends AbstractClient {
|
|
|
229
240
|
CreateCloudNativeAPIGatewayMCPServer(req: CreateCloudNativeAPIGatewayMCPServerRequest, cb?: (error: string, rep: CreateCloudNativeAPIGatewayMCPServerResponse) => void): Promise<CreateCloudNativeAPIGatewayMCPServerResponse>;
|
|
230
241
|
/**
|
|
231
242
|
* 修改AI网关密钥
|
|
243
|
+
【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,编辑返回 OperationDenied.BatchKeyPending,提示等待批次完成。其他情况继续原编辑校验和行为;原 GatewayId/SecretKeyId/Name/Description 不变,成功不新增业务 Result。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
232
244
|
*/
|
|
233
245
|
ModifyCloudNativeAPIGatewaySecretKey(req: ModifyCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: ModifyCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<ModifyCloudNativeAPIGatewaySecretKeyResponse>;
|
|
234
246
|
/**
|
|
@@ -245,10 +257,14 @@ export declare class Client extends AbstractClient {
|
|
|
245
257
|
DeleteCloudNativeAPIGatewayLLMModelService(req: DeleteCloudNativeAPIGatewayLLMModelServiceRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayLLMModelServiceResponse) => void): Promise<DeleteCloudNativeAPIGatewayLLMModelServiceResponse>;
|
|
246
258
|
/**
|
|
247
259
|
* 查询云原生消费者详情
|
|
260
|
+
|
|
261
|
+
组织架构扩展:保留原消费者详情与完整字段,ConsumerGroups 补齐对应组织成员关系;同步成员保持目录归属隔离。
|
|
248
262
|
*/
|
|
249
263
|
DescribeCloudNativeAPIGatewayConsumer(req: DescribeCloudNativeAPIGatewayConsumerRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewayConsumerResponse) => void): Promise<DescribeCloudNativeAPIGatewayConsumerResponse>;
|
|
250
264
|
/**
|
|
251
265
|
* 查询密钥详情(SecretValue 字段会被掩码)。
|
|
266
|
+
普通版批量新建密钥的生成来源扩展:新页面按需 IncludeCreationInfo=true,省略/false 保持原响应字段。原 GenerateType 不新增 Batch;批量记录仍为 System。协议:https://iwiki.woa.com/p/4042678235。
|
|
267
|
+
【消费者批量自动分配 API Key|修改:可选参数及可选出参】增加可选 IncludeCreationInfo(默认 false)。仅 true 且 ResourceType=Consumer 时在原 Result 增加 CredentialGenerateType、CreationSource、BatchId 三个非必返字段;省略/false 保持旧响应。原字段、SecretValue 脱敏和单条详情结构不变。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
252
268
|
*/
|
|
253
269
|
DescribeCloudNativeAPIGatewaySecretKey(req: DescribeCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: DescribeCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<DescribeCloudNativeAPIGatewaySecretKeyResponse>;
|
|
254
270
|
/**
|
|
@@ -261,6 +277,7 @@ export declare class Client extends AbstractClient {
|
|
|
261
277
|
CompareCloudNativeAPIGatewayMCPToolVersion(req: CompareCloudNativeAPIGatewayMCPToolVersionRequest, cb?: (error: string, rep: CompareCloudNativeAPIGatewayMCPToolVersionResponse) => void): Promise<CompareCloudNativeAPIGatewayMCPToolVersionResponse>;
|
|
262
278
|
/**
|
|
263
279
|
* 添加密钥与资源的引用关系接口
|
|
280
|
+
【消费者批量自动分配 API Key|修改:内部并发/配额逻辑,字段不变】ResourceType=Consumer 时与批量预留共用实例写锁,单消费者绑定配额使用当前锁定读。仍按原 SecretKeyId、ResourceIds 绑定;消费者目标最多一个,单密钥不能同时绑定多个消费者,成功仍返回 Result=true。此入口不新增 OperationDenied.BatchKeyPending;该错误属于下述四个变更入口的保护逻辑。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
264
281
|
*/
|
|
265
282
|
BindCloudNativeAPIGatewaySecretKey(req: BindCloudNativeAPIGatewaySecretKeyRequest, cb?: (error: string, rep: BindCloudNativeAPIGatewaySecretKeyResponse) => void): Promise<BindCloudNativeAPIGatewaySecretKeyResponse>;
|
|
266
283
|
/**
|
|
@@ -281,6 +298,8 @@ export declare class Client extends AbstractClient {
|
|
|
281
298
|
CheckCloudNativeAPIGatewayMCPRouteMatch(req: CheckCloudNativeAPIGatewayMCPRouteMatchRequest, cb?: (error: string, rep: CheckCloudNativeAPIGatewayMCPRouteMatchResponse) => void): Promise<CheckCloudNativeAPIGatewayMCPRouteMatchResponse>;
|
|
282
299
|
/**
|
|
283
300
|
* 删除AI网关消费者组
|
|
301
|
+
|
|
302
|
+
同步组仅在 soft_deleted 状态且全部依赖已清理后允许手动硬删除;ConsumerGroupId 使用组织 UUID。存在配额规则时须先删除规则,单纯停用不能解除依赖。硬删除时重新校验,依赖变化可能导致删除失败。
|
|
284
303
|
*/
|
|
285
304
|
DeleteCloudNativeAPIGatewayConsumerGroup(req: DeleteCloudNativeAPIGatewayConsumerGroupRequest, cb?: (error: string, rep: DeleteCloudNativeAPIGatewayConsumerGroupResponse) => void): Promise<DeleteCloudNativeAPIGatewayConsumerGroupResponse>;
|
|
286
305
|
/**
|
|
@@ -35,6 +35,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* 查询AI网关配额
|
|
38
|
+
|
|
39
|
+
支持 ConsumerGroup 配额,返回 ConsumerGroupPath、ConsumerGroupActive 及实际用量;失效组的规则仍可查询。
|
|
38
40
|
*/
|
|
39
41
|
async DescribeCloudNativeAPIGatewayAIQuota(req, cb) {
|
|
40
42
|
return this.request("DescribeCloudNativeAPIGatewayAIQuota", req, cb);
|
|
@@ -59,6 +61,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
59
61
|
}
|
|
60
62
|
/**
|
|
61
63
|
* 创建消费者密钥。
|
|
64
|
+
【消费者批量自动分配 API Key|修改:内部并发/配额逻辑,字段不变】消费者密钥单条创建在事务中使用与批量预留相同的实例写锁,配额检查使用当前锁定读,避免单条与批量并发绕过配额。仍是单条创建;原 GenerateType、请求字段、既有配额错误语义及 Result.Success/ID 不变,不增加 ConsumerIds/ClientToken。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
62
65
|
*/
|
|
63
66
|
async CreateCloudNativeAPIGatewaySecretKey(req, cb) {
|
|
64
67
|
return this.request("CreateCloudNativeAPIGatewaySecretKey", req, cb);
|
|
@@ -71,6 +74,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
71
74
|
}
|
|
72
75
|
/**
|
|
73
76
|
* 查询AI配额配置列表
|
|
77
|
+
|
|
78
|
+
支持按 ConsumerGroup 查询组自身配额,默认仍只查询 Consumer;返回组路径、有效状态及实际用量。上下级关联配额请使用 DescribeAIGWConsumerGroupAIQuotaList。
|
|
74
79
|
*/
|
|
75
80
|
async DescribeCloudNativeAPIGatewayAIQuotaList(req, cb) {
|
|
76
81
|
return this.request("DescribeCloudNativeAPIGatewayAIQuotaList", req, cb);
|
|
@@ -149,6 +154,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
149
154
|
}
|
|
150
155
|
/**
|
|
151
156
|
* 查询消费者组详情。
|
|
157
|
+
|
|
158
|
+
组织架构扩展:ConsumerGroupId 同时支持原 cg-* 和组织部门 UUID;保留状态、数量、时间和描述逻辑。原普通组状态为 Enable/Disable,目录部门状态为 active/disabled/soft_deleted。
|
|
152
159
|
*/
|
|
153
160
|
async DescribeCloudNativeAPIGatewayConsumerGroup(req, cb) {
|
|
154
161
|
return this.request("DescribeCloudNativeAPIGatewayConsumerGroup", req, cb);
|
|
@@ -245,12 +252,14 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
245
252
|
}
|
|
246
253
|
/**
|
|
247
254
|
* 删除消费者密钥(被绑定时需先解绑)。
|
|
255
|
+
【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,删除返回 OperationDenied.BatchKeyPending。完成后仍执行原绑定/依赖删除检查;原 GatewayId/SecretKeyId 不变,成功不新增业务 Result。删除已生成密钥不改写批次历史成功,后续批次明文读取返回逐项 ResourceNotFound.SecretKey。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
248
256
|
*/
|
|
249
257
|
async DeleteCloudNativeAPIGatewaySecretKey(req, cb) {
|
|
250
258
|
return this.request("DeleteCloudNativeAPIGatewaySecretKey", req, cb);
|
|
251
259
|
}
|
|
252
260
|
/**
|
|
253
261
|
* 解绑密钥
|
|
262
|
+
【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,解绑返回 OperationDenied.BatchKeyPending。完成后继续原解绑;原 GatewayId/SecretKeyId/ResourceType/ResourceIds 不变,成功不新增业务 Result。解绑不改写批次历史成功,后续批次明文读取返回逐项 OperationDenied.BindingChanged。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
254
263
|
*/
|
|
255
264
|
async UnbindCloudNativeAPIGatewaySecretKey(req, cb) {
|
|
256
265
|
return this.request("UnbindCloudNativeAPIGatewaySecretKey", req, cb);
|
|
@@ -323,6 +332,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
323
332
|
}
|
|
324
333
|
/**
|
|
325
334
|
* 查询密钥列表。
|
|
335
|
+
普通版批量新建密钥的生成来源扩展:新页面按需 IncludeCreationInfo=true,省略/false 保持原响应字段。原 GenerateType 不新增 Batch;批量记录仍为 System。协议:https://iwiki.woa.com/p/4042678235。
|
|
336
|
+
【消费者批量自动分配 API Key|修改:可选参数、可选出参及筛选】增加可选 IncludeCreationInfo(默认 false)。仅 true 且 ResourceType=Consumer 时在原 Result.SecretKeys[] 增加 CredentialGenerateType、CreationSource、BatchId 三个非必返字段;Result.TotalCount/SecretKeys 结构不变。Filters 新增 CredentialGenerateType、CreationSource,先过滤后计数分页,与是否返回来源字段独立;保留原 GenerateType 枚举和原分页上限。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
326
337
|
*/
|
|
327
338
|
async DescribeCloudNativeAPIGatewaySecretKeyList(req, cb) {
|
|
328
339
|
return this.request("DescribeCloudNativeAPIGatewaySecretKeyList", req, cb);
|
|
@@ -359,6 +370,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
359
370
|
}
|
|
360
371
|
/**
|
|
361
372
|
* 修改AI网关密钥
|
|
373
|
+
【消费者批量自动分配 API Key|修改:新增未完成批次保护,字段不变】目标密钥属于批次且对应项处于 Pending/Running/Reconciling 时,编辑返回 OperationDenied.BatchKeyPending,提示等待批次完成。其他情况继续原编辑校验和行为;原 GatewayId/SecretKeyId/Name/Description 不变,成功不新增业务 Result。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
362
374
|
*/
|
|
363
375
|
async ModifyCloudNativeAPIGatewaySecretKey(req, cb) {
|
|
364
376
|
return this.request("ModifyCloudNativeAPIGatewaySecretKey", req, cb);
|
|
@@ -383,12 +395,16 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
383
395
|
}
|
|
384
396
|
/**
|
|
385
397
|
* 查询云原生消费者详情
|
|
398
|
+
|
|
399
|
+
组织架构扩展:保留原消费者详情与完整字段,ConsumerGroups 补齐对应组织成员关系;同步成员保持目录归属隔离。
|
|
386
400
|
*/
|
|
387
401
|
async DescribeCloudNativeAPIGatewayConsumer(req, cb) {
|
|
388
402
|
return this.request("DescribeCloudNativeAPIGatewayConsumer", req, cb);
|
|
389
403
|
}
|
|
390
404
|
/**
|
|
391
405
|
* 查询密钥详情(SecretValue 字段会被掩码)。
|
|
406
|
+
普通版批量新建密钥的生成来源扩展:新页面按需 IncludeCreationInfo=true,省略/false 保持原响应字段。原 GenerateType 不新增 Batch;批量记录仍为 System。协议:https://iwiki.woa.com/p/4042678235。
|
|
407
|
+
【消费者批量自动分配 API Key|修改:可选参数及可选出参】增加可选 IncludeCreationInfo(默认 false)。仅 true 且 ResourceType=Consumer 时在原 Result 增加 CredentialGenerateType、CreationSource、BatchId 三个非必返字段;省略/false 保持旧响应。原字段、SecretValue 脱敏和单条详情结构不变。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
392
408
|
*/
|
|
393
409
|
async DescribeCloudNativeAPIGatewaySecretKey(req, cb) {
|
|
394
410
|
return this.request("DescribeCloudNativeAPIGatewaySecretKey", req, cb);
|
|
@@ -407,6 +423,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
407
423
|
}
|
|
408
424
|
/**
|
|
409
425
|
* 添加密钥与资源的引用关系接口
|
|
426
|
+
【消费者批量自动分配 API Key|修改:内部并发/配额逻辑,字段不变】ResourceType=Consumer 时与批量预留共用实例写锁,单消费者绑定配额使用当前锁定读。仍按原 SecretKeyId、ResourceIds 绑定;消费者目标最多一个,单密钥不能同时绑定多个消费者,成功仍返回 Result=true。此入口不新增 OperationDenied.BatchKeyPending;该错误属于下述四个变更入口的保护逻辑。 完整接口清单与逐项说明:https://iwiki.woa.com/p/4042678235(第 2、2.4 节)。
|
|
410
427
|
*/
|
|
411
428
|
async BindCloudNativeAPIGatewaySecretKey(req, cb) {
|
|
412
429
|
return this.request("BindCloudNativeAPIGatewaySecretKey", req, cb);
|
|
@@ -437,6 +454,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
437
454
|
}
|
|
438
455
|
/**
|
|
439
456
|
* 删除AI网关消费者组
|
|
457
|
+
|
|
458
|
+
同步组仅在 soft_deleted 状态且全部依赖已清理后允许手动硬删除;ConsumerGroupId 使用组织 UUID。存在配额规则时须先删除规则,单纯停用不能解除依赖。硬删除时重新校验,依赖变化可能导致删除失败。
|
|
440
459
|
*/
|
|
441
460
|
async DeleteCloudNativeAPIGatewayConsumerGroup(req, cb) {
|
|
442
461
|
return this.request("DeleteCloudNativeAPIGatewayConsumerGroup", req, cb);
|