tencentcloud-sdk-nodejs-ags 4.1.314 → 4.1.316
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.
|
@@ -6,23 +6,44 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
6
6
|
async CreatePreCacheImageTask(req, cb) {
|
|
7
7
|
return this.request("CreatePreCacheImageTask", req, cb);
|
|
8
8
|
}
|
|
9
|
+
async PreviewRegistryRecord(req, cb) {
|
|
10
|
+
return this.request("PreviewRegistryRecord", req, cb);
|
|
11
|
+
}
|
|
12
|
+
async UpdateSandboxInstance(req, cb) {
|
|
13
|
+
return this.request("UpdateSandboxInstance", req, cb);
|
|
14
|
+
}
|
|
9
15
|
async ModifyDeployment(req, cb) {
|
|
10
16
|
return this.request("ModifyDeployment", req, cb);
|
|
11
17
|
}
|
|
12
|
-
async
|
|
13
|
-
return this.request("
|
|
18
|
+
async StartSandboxInstance(req, cb) {
|
|
19
|
+
return this.request("StartSandboxInstance", req, cb);
|
|
14
20
|
}
|
|
15
21
|
async AcquireSandboxInstanceToken(req, cb) {
|
|
16
22
|
return this.request("AcquireSandboxInstanceToken", req, cb);
|
|
17
23
|
}
|
|
24
|
+
async DescribeEvents(req, cb) {
|
|
25
|
+
return this.request("DescribeEvents", req, cb);
|
|
26
|
+
}
|
|
27
|
+
async CreateRegistry(req, cb) {
|
|
28
|
+
return this.request("CreateRegistry", req, cb);
|
|
29
|
+
}
|
|
30
|
+
async SyncRegistryRecord(req, cb) {
|
|
31
|
+
return this.request("SyncRegistryRecord", req, cb);
|
|
32
|
+
}
|
|
33
|
+
async DescribeRegistryAuditLogList(req, cb) {
|
|
34
|
+
return this.request("DescribeRegistryAuditLogList", req, cb);
|
|
35
|
+
}
|
|
18
36
|
async CreateAPIKey(req, cb) {
|
|
19
37
|
return this.request("CreateAPIKey", req, cb);
|
|
20
38
|
}
|
|
39
|
+
async UpdateRegistry(req, cb) {
|
|
40
|
+
return this.request("UpdateRegistry", req, cb);
|
|
41
|
+
}
|
|
21
42
|
async CreateDeployment(req, cb) {
|
|
22
43
|
return this.request("CreateDeployment", req, cb);
|
|
23
44
|
}
|
|
24
|
-
async
|
|
25
|
-
return this.request("
|
|
45
|
+
async AppendEvent(req, cb) {
|
|
46
|
+
return this.request("AppendEvent", req, cb);
|
|
26
47
|
}
|
|
27
48
|
async UpdateSandboxTool(req, cb) {
|
|
28
49
|
return this.request("UpdateSandboxTool", req, cb);
|
|
@@ -30,14 +51,35 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
30
51
|
async DescribeDeployment(req, cb) {
|
|
31
52
|
return this.request("DescribeDeployment", req, cb);
|
|
32
53
|
}
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
54
|
+
async DescribeRegistryRecordVersionList(req, cb) {
|
|
55
|
+
return this.request("DescribeRegistryRecordVersionList", req, cb);
|
|
56
|
+
}
|
|
57
|
+
async ApproveRegistryRecord(req, cb) {
|
|
58
|
+
return this.request("ApproveRegistryRecord", req, cb);
|
|
59
|
+
}
|
|
60
|
+
async DescribeRegistryRecordList(req, cb) {
|
|
61
|
+
return this.request("DescribeRegistryRecordList", req, cb);
|
|
35
62
|
}
|
|
36
63
|
async DescribeSandboxInstanceList(req, cb) {
|
|
37
64
|
return this.request("DescribeSandboxInstanceList", req, cb);
|
|
38
65
|
}
|
|
39
|
-
async
|
|
40
|
-
return this.request("
|
|
66
|
+
async ResumeSandboxInstance(req, cb) {
|
|
67
|
+
return this.request("ResumeSandboxInstance", req, cb);
|
|
68
|
+
}
|
|
69
|
+
async CreateRegistryRecord(req, cb) {
|
|
70
|
+
return this.request("CreateRegistryRecord", req, cb);
|
|
71
|
+
}
|
|
72
|
+
async CancelRegistryRecord(req, cb) {
|
|
73
|
+
return this.request("CancelRegistryRecord", req, cb);
|
|
74
|
+
}
|
|
75
|
+
async DeleteSessionSpace(req, cb) {
|
|
76
|
+
return this.request("DeleteSessionSpace", req, cb);
|
|
77
|
+
}
|
|
78
|
+
async DeleteRegistry(req, cb) {
|
|
79
|
+
return this.request("DeleteRegistry", req, cb);
|
|
80
|
+
}
|
|
81
|
+
async ModifySession(req, cb) {
|
|
82
|
+
return this.request("ModifySession", req, cb);
|
|
41
83
|
}
|
|
42
84
|
async DeleteDeployment(req, cb) {
|
|
43
85
|
return this.request("DeleteDeployment", req, cb);
|
|
@@ -45,17 +87,59 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
45
87
|
async CreateSandboxTool(req, cb) {
|
|
46
88
|
return this.request("CreateSandboxTool", req, cb);
|
|
47
89
|
}
|
|
90
|
+
async GetSkillPackageUploadURL(req, cb) {
|
|
91
|
+
return this.request("GetSkillPackageUploadURL", req, cb);
|
|
92
|
+
}
|
|
93
|
+
async DescribeRegistryRecord(req, cb) {
|
|
94
|
+
return this.request("DescribeRegistryRecord", req, cb);
|
|
95
|
+
}
|
|
96
|
+
async ModifySessionSpace(req, cb) {
|
|
97
|
+
return this.request("ModifySessionSpace", req, cb);
|
|
98
|
+
}
|
|
99
|
+
async DeleteRegistryRecord(req, cb) {
|
|
100
|
+
return this.request("DeleteRegistryRecord", req, cb);
|
|
101
|
+
}
|
|
102
|
+
async DescribeSessions(req, cb) {
|
|
103
|
+
return this.request("DescribeSessions", req, cb);
|
|
104
|
+
}
|
|
48
105
|
async DescribeSandboxToolList(req, cb) {
|
|
49
106
|
return this.request("DescribeSandboxToolList", req, cb);
|
|
50
107
|
}
|
|
108
|
+
async GetSkillPackageDownloadURL(req, cb) {
|
|
109
|
+
return this.request("GetSkillPackageDownloadURL", req, cb);
|
|
110
|
+
}
|
|
111
|
+
async RejectRegistryRecord(req, cb) {
|
|
112
|
+
return this.request("RejectRegistryRecord", req, cb);
|
|
113
|
+
}
|
|
51
114
|
async DescribeAPIKeyList(req, cb) {
|
|
52
115
|
return this.request("DescribeAPIKeyList", req, cb);
|
|
53
116
|
}
|
|
117
|
+
async UpdateRegistryRecord(req, cb) {
|
|
118
|
+
return this.request("UpdateRegistryRecord", req, cb);
|
|
119
|
+
}
|
|
54
120
|
async DeleteSandboxTool(req, cb) {
|
|
55
121
|
return this.request("DeleteSandboxTool", req, cb);
|
|
56
122
|
}
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
123
|
+
async PauseSandboxInstance(req, cb) {
|
|
124
|
+
return this.request("PauseSandboxInstance", req, cb);
|
|
125
|
+
}
|
|
126
|
+
async CreateSession(req, cb) {
|
|
127
|
+
return this.request("CreateSession", req, cb);
|
|
128
|
+
}
|
|
129
|
+
async CreateSessionSpace(req, cb) {
|
|
130
|
+
return this.request("CreateSessionSpace", req, cb);
|
|
131
|
+
}
|
|
132
|
+
async DescribeSessionSpaces(req, cb) {
|
|
133
|
+
return this.request("DescribeSessionSpaces", req, cb);
|
|
134
|
+
}
|
|
135
|
+
async DescribeRegistryList(req, cb) {
|
|
136
|
+
return this.request("DescribeRegistryList", req, cb);
|
|
137
|
+
}
|
|
138
|
+
async DeleteSession(req, cb) {
|
|
139
|
+
return this.request("DeleteSession", req, cb);
|
|
140
|
+
}
|
|
141
|
+
async DescribeDeploymentList(req, cb) {
|
|
142
|
+
return this.request("DescribeDeploymentList", req, cb);
|
|
59
143
|
}
|
|
60
144
|
async DescribePreCacheImageTask(req, cb) {
|
|
61
145
|
return this.request("DescribePreCacheImageTask", req, cb);
|
|
@@ -63,9 +147,21 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
63
147
|
async StopSandboxInstance(req, cb) {
|
|
64
148
|
return this.request("StopSandboxInstance", req, cb);
|
|
65
149
|
}
|
|
150
|
+
async DescribeRegistry(req, cb) {
|
|
151
|
+
return this.request("DescribeRegistry", req, cb);
|
|
152
|
+
}
|
|
153
|
+
async DescribeSession(req, cb) {
|
|
154
|
+
return this.request("DescribeSession", req, cb);
|
|
155
|
+
}
|
|
156
|
+
async DescribeSessionSpace(req, cb) {
|
|
157
|
+
return this.request("DescribeSessionSpace", req, cb);
|
|
158
|
+
}
|
|
66
159
|
async DeleteAPIKey(req, cb) {
|
|
67
160
|
return this.request("DeleteAPIKey", req, cb);
|
|
68
161
|
}
|
|
162
|
+
async DescribeQuotaOverview(req, cb) {
|
|
163
|
+
return this.request("DescribeQuotaOverview", req, cb);
|
|
164
|
+
}
|
|
69
165
|
async AcquireDeploymentToken(req, cb) {
|
|
70
166
|
return this.request("AcquireDeploymentToken", req, cb);
|
|
71
167
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import {
|
|
2
|
+
import { DeleteSessionSpaceResponse, ApproveRegistryRecordRequest, AppendEventResponse, DescribeRegistryRecordResponse, DescribeSandboxToolListRequest, CreatePreCacheImageTaskResponse, ResumeSandboxInstanceRequest, ModifySessionSpaceResponse, DescribePreCacheImageTaskRequest, DescribeDeploymentResponse, RejectRegistryRecordResponse, DescribeRegistryRecordListRequest, UpdateRegistryResponse, ApproveRegistryRecordResponse, DeleteSessionRequest, ResumeSandboxInstanceResponse, AcquireSandboxInstanceTokenRequest, DescribeAPIKeyListResponse, PreviewRegistryRecordResponse, CreateSessionRequest, DescribeDeploymentRequest, DescribeSessionSpaceResponse, DeleteSandboxToolRequest, CreateRegistryResponse, DeleteAPIKeyRequest, DeleteDeploymentRequest, GetSkillPackageUploadURLRequest, UpdateSandboxToolRequest, DescribeSessionSpacesResponse, DescribeSandboxInstanceListResponse, StopSandboxInstanceResponse, DescribeRegistryRecordVersionListResponse, DescribeRegistryRecordVersionListRequest, RejectRegistryRecordRequest, CreateDeploymentRequest, StopSandboxInstanceRequest, GetSkillPackageDownloadURLRequest, DeleteSandboxToolResponse, DescribeQuotaOverviewResponse, UpdateSandboxToolResponse, DescribeRegistryRecordRequest, CancelRegistryRecordRequest, CreateSandboxToolResponse, CreateAPIKeyRequest, DescribeSandboxToolListResponse, CreateRegistryRecordResponse, UpdateSandboxInstanceRequest, ModifySessionRequest, SyncRegistryRecordRequest, DescribeSessionRequest, DeleteRegistryResponse, DescribeAPIKeyListRequest, DescribeSessionSpaceRequest, GetSkillPackageUploadURLResponse, CreateSessionSpaceResponse, DescribeRegistryListResponse, UpdateRegistryRequest, DescribeSessionsResponse, DescribeDeploymentListRequest, DescribeRegistryAuditLogListRequest, PauseSandboxInstanceRequest, DescribeRegistryRecordListResponse, UpdateRegistryRecordRequest, CreateAPIKeyResponse, DescribeRegistryRequest, AcquireDeploymentTokenRequest, DescribeEventsResponse, DescribeDeploymentListResponse, DescribeRegistryResponse, ModifySessionSpaceRequest, CreateSessionSpaceRequest, DeleteAPIKeyResponse, DescribeRegistryListRequest, CreateDeploymentResponse, DeleteRegistryRequest, GetSkillPackageDownloadURLResponse, CreateSessionResponse, StartSandboxInstanceResponse, DescribeSandboxInstanceListRequest, ModifyDeploymentRequest, DescribeRegistryAuditLogListResponse, AcquireSandboxInstanceTokenResponse, PauseSandboxInstanceResponse, StartSandboxInstanceRequest, CancelRegistryRecordResponse, DescribeSessionSpacesRequest, UpdateRegistryRecordResponse, DeleteSessionSpaceRequest, AcquireDeploymentTokenResponse, DescribeSessionsRequest, CreateSandboxToolRequest, DescribePreCacheImageTaskResponse, DeleteRegistryRecordResponse, CreateRegistryRecordRequest, ModifySessionResponse, UpdateSandboxInstanceResponse, DeleteDeploymentResponse, SyncRegistryRecordResponse, DescribeSessionResponse, DeleteRegistryRecordRequest, AppendEventRequest, DeleteSessionResponse, DescribeEventsRequest, CreateRegistryRequest, DescribeQuotaOverviewRequest, ModifyDeploymentResponse, CreatePreCacheImageTaskRequest, PreviewRegistryRecordRequest } from "./ags_models";
|
|
3
3
|
/**
|
|
4
4
|
* ags client
|
|
5
5
|
* @class
|
|
@@ -10,31 +10,63 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
10
10
|
* 创建镜像预热任务
|
|
11
11
|
*/
|
|
12
12
|
CreatePreCacheImageTask(req: CreatePreCacheImageTaskRequest, cb?: (error: string, rep: CreatePreCacheImageTaskResponse) => void): Promise<CreatePreCacheImageTaskResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* 对 Record 的指定 Version 或 Label 目标发起一次预览调用。VersionId 与 Label 互斥;均省略时使用 Stable。不创建 Version、不修改 Label。
|
|
15
|
+
*/
|
|
16
|
+
PreviewRegistryRecord(req?: PreviewRegistryRecordRequest, cb?: (error: string, rep: PreviewRegistryRecordResponse) => void): Promise<PreviewRegistryRecordResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* 更新沙箱实例
|
|
19
|
+
*/
|
|
20
|
+
UpdateSandboxInstance(req: UpdateSandboxInstanceRequest, cb?: (error: string, rep: UpdateSandboxInstanceResponse) => void): Promise<UpdateSandboxInstanceResponse>;
|
|
13
21
|
/**
|
|
14
22
|
* 修改 Deployment
|
|
15
23
|
*/
|
|
16
24
|
ModifyDeployment(req: ModifyDeploymentRequest, cb?: (error: string, rep: ModifyDeploymentResponse) => void): Promise<ModifyDeploymentResponse>;
|
|
17
25
|
/**
|
|
18
|
-
*
|
|
26
|
+
* 启动沙箱实例
|
|
19
27
|
*/
|
|
20
|
-
|
|
28
|
+
StartSandboxInstance(req: StartSandboxInstanceRequest, cb?: (error: string, rep: StartSandboxInstanceResponse) => void): Promise<StartSandboxInstanceResponse>;
|
|
21
29
|
/**
|
|
22
30
|
* 获取访问沙箱工具时所需要使用的访问Token,创建沙箱实例后需调用此接口获取沙箱实例访问Token。
|
|
23
31
|
此Token可用于调用代码沙箱实例执行代码,或浏览器沙箱实例进行浏览器操作等。
|
|
24
32
|
*/
|
|
25
33
|
AcquireSandboxInstanceToken(req: AcquireSandboxInstanceTokenRequest, cb?: (error: string, rep: AcquireSandboxInstanceTokenResponse) => void): Promise<AcquireSandboxInstanceTokenResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 查询事件列表。
|
|
36
|
+
|
|
37
|
+
查询指定会话的事件流,支持按作者和起始时间筛选。
|
|
38
|
+
*/
|
|
39
|
+
DescribeEvents(req: DescribeEventsRequest, cb?: (error: string, rep: DescribeEventsResponse) => void): Promise<DescribeEventsResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* 创建 Agent Registry(注册中心)。
|
|
42
|
+
*/
|
|
43
|
+
CreateRegistry(req?: CreateRegistryRequest, cb?: (error: string, rep: CreateRegistryResponse) => void): Promise<CreateRegistryResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* 触发一次从远端拉取描述符 / 元数据的同步。可通过互斥的 VersionId 或 Label 指定来源 Version,均省略时默认使用 Stable。有变化时创建新 Version 并移动 Latest;来源必须 SourceType=URL_IMPORT,否则返回 UnsupportedOperation.SourceType。
|
|
46
|
+
*/
|
|
47
|
+
SyncRegistryRecord(req?: SyncRegistryRecordRequest, cb?: (error: string, rep: SyncRegistryRecordResponse) => void): Promise<SyncRegistryRecordResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* 分页查询指定Registry / Record / Version的审计日志。
|
|
50
|
+
*/
|
|
51
|
+
DescribeRegistryAuditLogList(req?: DescribeRegistryAuditLogListRequest, cb?: (error: string, rep: DescribeRegistryAuditLogListResponse) => void): Promise<DescribeRegistryAuditLogListResponse>;
|
|
26
52
|
/**
|
|
27
53
|
* 创建新的API密钥,用于调用Agent Sandbox接口。相较于腾讯云Secret ID Secret Key支持调用所有接口使用,仅有部分接口支持使用API密钥调用。
|
|
28
54
|
*/
|
|
29
55
|
CreateAPIKey(req: CreateAPIKeyRequest, cb?: (error: string, rep: CreateAPIKeyResponse) => void): Promise<CreateAPIKeyResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* 更新 Registry 的可变元数据。
|
|
58
|
+
*/
|
|
59
|
+
UpdateRegistry(req?: UpdateRegistryRequest, cb?: (error: string, rep: UpdateRegistryResponse) => void): Promise<UpdateRegistryResponse>;
|
|
30
60
|
/**
|
|
31
61
|
* 创建 Deployment
|
|
32
62
|
*/
|
|
33
63
|
CreateDeployment(req: CreateDeploymentRequest, cb?: (error: string, rep: CreateDeploymentResponse) => void): Promise<CreateDeploymentResponse>;
|
|
34
64
|
/**
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
65
|
+
* 追加事件。
|
|
66
|
+
|
|
67
|
+
向指定会话追加一条事件。
|
|
68
|
+
*/
|
|
69
|
+
AppendEvent(req: AppendEventRequest, cb?: (error: string, rep: AppendEventResponse) => void): Promise<AppendEventResponse>;
|
|
38
70
|
/**
|
|
39
71
|
* 更新沙箱工具
|
|
40
72
|
*/
|
|
@@ -44,17 +76,46 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
44
76
|
*/
|
|
45
77
|
DescribeDeployment(req: DescribeDeploymentRequest, cb?: (error: string, rep: DescribeDeploymentResponse) => void): Promise<DescribeDeploymentResponse>;
|
|
46
78
|
/**
|
|
47
|
-
*
|
|
79
|
+
* 分页查询 Record 的 Version 列表。list 类接口不接入 CAM 转发鉴权。
|
|
48
80
|
*/
|
|
49
|
-
|
|
81
|
+
DescribeRegistryRecordVersionList(req?: DescribeRegistryRecordVersionListRequest, cb?: (error: string, rep: DescribeRegistryRecordVersionListResponse) => void): Promise<DescribeRegistryRecordVersionListResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* 通过 Version 审批:PENDING_APPROVAL → APPROVED。Comment 必填。
|
|
84
|
+
*/
|
|
85
|
+
ApproveRegistryRecord(req?: ApproveRegistryRecordRequest, cb?: (error: string, rep: ApproveRegistryRecordResponse) => void): Promise<ApproveRegistryRecordResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* 分页查询 Registry 下的 Record 列表。list 类接口不接入 CAM 转发鉴权;业务侧按 CAM 二次过滤。
|
|
88
|
+
*/
|
|
89
|
+
DescribeRegistryRecordList(req?: DescribeRegistryRecordListRequest, cb?: (error: string, rep: DescribeRegistryRecordListResponse) => void): Promise<DescribeRegistryRecordListResponse>;
|
|
50
90
|
/**
|
|
51
91
|
* 查询沙箱实例列表
|
|
52
92
|
*/
|
|
53
93
|
DescribeSandboxInstanceList(req: DescribeSandboxInstanceListRequest, cb?: (error: string, rep: DescribeSandboxInstanceListResponse) => void): Promise<DescribeSandboxInstanceListResponse>;
|
|
54
94
|
/**
|
|
55
|
-
*
|
|
95
|
+
* 恢复沙箱实例
|
|
56
96
|
*/
|
|
57
|
-
|
|
97
|
+
ResumeSandboxInstance(req: ResumeSandboxInstanceRequest, cb?: (error: string, rep: ResumeSandboxInstanceResponse) => void): Promise<ResumeSandboxInstanceResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* 统一创建 Registry Record(含 revision 1)。请求通过 DescriptorType 与严格内容输入 Union 选择底层类型:MCPSource / AgentSource / SkillSource / CustomDescriptors 四选一,必须与 DescriptorType 对应。不接受 RecordId 或 ChangeLog;同名 Record 返回冲突,不隐式追加 Version。追加 Version 请使用 UpdateRegistryRecord。
|
|
100
|
+
*/
|
|
101
|
+
CreateRegistryRecord(req?: CreateRegistryRecordRequest, cb?: (error: string, rep: CreateRegistryRecordResponse) => void): Promise<CreateRegistryRecordResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* PREPARING/PENDING_APPROVAL → CANCELED。Comment 必填。
|
|
104
|
+
*/
|
|
105
|
+
CancelRegistryRecord(req?: CancelRegistryRecordRequest, cb?: (error: string, rep: CancelRegistryRecordResponse) => void): Promise<CancelRegistryRecordResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* 删除会话空间。
|
|
108
|
+
删除指定的会话空间。仅允许删除不包含会话、事件或用户状态数据的非默认会话空间;系统默认会话空间不能删除。删除成功后不再返回会话空间信息。
|
|
109
|
+
*/
|
|
110
|
+
DeleteSessionSpace(req: DeleteSessionSpaceRequest, cb?: (error: string, rep: DeleteSessionSpaceResponse) => void): Promise<DeleteSessionSpaceResponse>;
|
|
111
|
+
/**
|
|
112
|
+
* 删除 Registry。
|
|
113
|
+
*/
|
|
114
|
+
DeleteRegistry(req?: DeleteRegistryRequest, cb?: (error: string, rep: DeleteRegistryResponse) => void): Promise<DeleteRegistryResponse>;
|
|
115
|
+
/**
|
|
116
|
+
* 修改会话信息
|
|
117
|
+
*/
|
|
118
|
+
ModifySession(req: ModifySessionRequest, cb?: (error: string, rep: ModifySessionResponse) => void): Promise<ModifySessionResponse>;
|
|
58
119
|
/**
|
|
59
120
|
* 删除 Deployment
|
|
60
121
|
*/
|
|
@@ -63,22 +124,82 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
63
124
|
* 创建沙箱工具
|
|
64
125
|
*/
|
|
65
126
|
CreateSandboxTool(req: CreateSandboxToolRequest, cb?: (error: string, rep: CreateSandboxToolResponse) => void): Promise<CreateSandboxToolResponse>;
|
|
127
|
+
/**
|
|
128
|
+
* 为 FAILED / EXPIRED 的 TAR Skill Version 生成新的上传尝试;VersionId 与 Revision 保持不变。
|
|
129
|
+
*/
|
|
130
|
+
GetSkillPackageUploadURL(req?: GetSkillPackageUploadURLRequest, cb?: (error: string, rep: GetSkillPackageUploadURLResponse) => void): Promise<GetSkillPackageUploadURLResponse>;
|
|
131
|
+
/**
|
|
132
|
+
* 查询 Record 详情和其中一个 Version。请求可通过互斥的 VersionId 或 Label 选择 Version;均省略时默认 Label=stable。取代原 DescribeRegistryRecordVersion。
|
|
133
|
+
*/
|
|
134
|
+
DescribeRegistryRecord(req?: DescribeRegistryRecordRequest, cb?: (error: string, rep: DescribeRegistryRecordResponse) => void): Promise<DescribeRegistryRecordResponse>;
|
|
135
|
+
/**
|
|
136
|
+
* 修改会话空间。
|
|
137
|
+
修改指定会话空间的名称和描述,修改成功后返回更新后的会话空间信息。默认会话空间允许修改名称和描述。
|
|
138
|
+
*/
|
|
139
|
+
ModifySessionSpace(req: ModifySessionSpaceRequest, cb?: (error: string, rep: ModifySessionSpaceResponse) => void): Promise<ModifySessionSpaceResponse>;
|
|
140
|
+
/**
|
|
141
|
+
* 删除 Registry Record 或指定 Version。省略 VersionId 时对整个 Record 进行软删除;传入 VersionId 时只删除指定 Version(Stable 指向的 Version 不允许删除;仅剩一个 Approved Version 时不允许删除)。取代原 DeleteRegistryRecordVersion。
|
|
142
|
+
*/
|
|
143
|
+
DeleteRegistryRecord(req?: DeleteRegistryRecordRequest, cb?: (error: string, rep: DeleteRegistryRecordResponse) => void): Promise<DeleteRegistryRecordResponse>;
|
|
144
|
+
/**
|
|
145
|
+
* 查询会话列表
|
|
146
|
+
*/
|
|
147
|
+
DescribeSessions(req: DescribeSessionsRequest, cb?: (error: string, rep: DescribeSessionsResponse) => void): Promise<DescribeSessionsResponse>;
|
|
66
148
|
/**
|
|
67
149
|
* 查询沙箱工具列表
|
|
68
150
|
*/
|
|
69
151
|
DescribeSandboxToolList(req: DescribeSandboxToolListRequest, cb?: (error: string, rep: DescribeSandboxToolListResponse) => void): Promise<DescribeSandboxToolListResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* 获取 Skill 包下载 URL。VersionId 与 Label 互斥;均省略时使用 Stable。响应包含 ResolvedVersionId,便于调用方回填。
|
|
154
|
+
*/
|
|
155
|
+
GetSkillPackageDownloadURL(req?: GetSkillPackageDownloadURLRequest, cb?: (error: string, rep: GetSkillPackageDownloadURLResponse) => void): Promise<GetSkillPackageDownloadURLResponse>;
|
|
156
|
+
/**
|
|
157
|
+
* 驳回 Version 审批:PENDING_APPROVAL → REJECTED。Comment 必填。
|
|
158
|
+
*/
|
|
159
|
+
RejectRegistryRecord(req?: RejectRegistryRecordRequest, cb?: (error: string, rep: RejectRegistryRecordResponse) => void): Promise<RejectRegistryRecordResponse>;
|
|
70
160
|
/**
|
|
71
161
|
* 获取API密钥列表,包含API密钥简略信息,包含名称、创建时间等。
|
|
72
162
|
*/
|
|
73
163
|
DescribeAPIKeyList(req?: DescribeAPIKeyListRequest, cb?: (error: string, rep: DescribeAPIKeyListResponse) => void): Promise<DescribeAPIKeyListResponse>;
|
|
164
|
+
/**
|
|
165
|
+
* 更新 Registry Record。两种互斥模式:①Record 更新模式:不提交任何 Source / CustomDescriptors,可通过 Description、LabelMutations 修改元数据与 Label(至少提交一项);②Version 创建模式:提交且仅提交一种与现有 DescriptorType 匹配的内容输入,可选 VersionName / ChangeLog,禁止 Description / LabelMutations,服务端在 Record 下创建下一个 Revision。取代原 ChangeRegistryRecordStableVersion / RollbackRegistryRecordVersion / Create*RegistryRecordVersion。
|
|
166
|
+
*/
|
|
167
|
+
UpdateRegistryRecord(req?: UpdateRegistryRecordRequest, cb?: (error: string, rep: UpdateRegistryRecordResponse) => void): Promise<UpdateRegistryRecordResponse>;
|
|
74
168
|
/**
|
|
75
169
|
* 删除沙箱工具
|
|
76
170
|
*/
|
|
77
171
|
DeleteSandboxTool(req: DeleteSandboxToolRequest, cb?: (error: string, rep: DeleteSandboxToolResponse) => void): Promise<DeleteSandboxToolResponse>;
|
|
78
172
|
/**
|
|
79
|
-
*
|
|
173
|
+
* 暂停沙箱实例
|
|
80
174
|
*/
|
|
81
|
-
|
|
175
|
+
PauseSandboxInstance(req: PauseSandboxInstanceRequest, cb?: (error: string, rep: PauseSandboxInstanceResponse) => void): Promise<PauseSandboxInstanceResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* 创建会话。
|
|
178
|
+
|
|
179
|
+
为指定 Agent 和用户创建会话,创建成功后返回会话信息。
|
|
180
|
+
*/
|
|
181
|
+
CreateSession(req: CreateSessionRequest, cb?: (error: string, rep: CreateSessionResponse) => void): Promise<CreateSessionResponse>;
|
|
182
|
+
/**
|
|
183
|
+
* 创建会话空间。
|
|
184
|
+
为当前应用在指定地域创建会话空间,创建成功后返回会话空间信息。会话空间用于隔离不同业务场景下的用户、会话、事件及状态数据。
|
|
185
|
+
*/
|
|
186
|
+
CreateSessionSpace(req: CreateSessionSpaceRequest, cb?: (error: string, rep: CreateSessionSpaceResponse) => void): Promise<CreateSessionSpaceResponse>;
|
|
187
|
+
/**
|
|
188
|
+
* 分页查询当前应用和地域下的会话空间。
|
|
189
|
+
*/
|
|
190
|
+
DescribeSessionSpaces(req: DescribeSessionSpacesRequest, cb?: (error: string, rep: DescribeSessionSpacesResponse) => void): Promise<DescribeSessionSpacesResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* 分页查询当前租户可见的 Registry 列表。
|
|
193
|
+
*/
|
|
194
|
+
DescribeRegistryList(req?: DescribeRegistryListRequest, cb?: (error: string, rep: DescribeRegistryListResponse) => void): Promise<DescribeRegistryListResponse>;
|
|
195
|
+
/**
|
|
196
|
+
* 删除会话
|
|
197
|
+
*/
|
|
198
|
+
DeleteSession(req: DeleteSessionRequest, cb?: (error: string, rep: DeleteSessionResponse) => void): Promise<DeleteSessionResponse>;
|
|
199
|
+
/**
|
|
200
|
+
* 查询 Deployment 列表
|
|
201
|
+
*/
|
|
202
|
+
DescribeDeploymentList(req: DescribeDeploymentListRequest, cb?: (error: string, rep: DescribeDeploymentListResponse) => void): Promise<DescribeDeploymentListResponse>;
|
|
82
203
|
/**
|
|
83
204
|
* 查询镜像预热任务信息
|
|
84
205
|
*/
|
|
@@ -87,10 +208,29 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
87
208
|
* 停止沙箱实例
|
|
88
209
|
*/
|
|
89
210
|
StopSandboxInstance(req: StopSandboxInstanceRequest, cb?: (error: string, rep: StopSandboxInstanceResponse) => void): Promise<StopSandboxInstanceResponse>;
|
|
211
|
+
/**
|
|
212
|
+
* 按 RegistryId 查询 Registry 详情。
|
|
213
|
+
*/
|
|
214
|
+
DescribeRegistry(req?: DescribeRegistryRequest, cb?: (error: string, rep: DescribeRegistryResponse) => void): Promise<DescribeRegistryResponse>;
|
|
215
|
+
/**
|
|
216
|
+
* 查询会话。
|
|
217
|
+
|
|
218
|
+
查询指定会话的信息。
|
|
219
|
+
*/
|
|
220
|
+
DescribeSession(req: DescribeSessionRequest, cb?: (error: string, rep: DescribeSessionResponse) => void): Promise<DescribeSessionResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* 查询会话空间详情。
|
|
223
|
+
查询指定会话空间的详细信息,查询成功后返回会话空间的名称、描述、状态、所属地域及创建时间等信息。
|
|
224
|
+
*/
|
|
225
|
+
DescribeSessionSpace(req: DescribeSessionSpaceRequest, cb?: (error: string, rep: DescribeSessionSpaceResponse) => void): Promise<DescribeSessionSpaceResponse>;
|
|
90
226
|
/**
|
|
91
227
|
* 删除API密钥。注意区别于腾讯云Secret ID Secret Key,本接口删除的是Agent Sandbox专用API key。
|
|
92
228
|
*/
|
|
93
229
|
DeleteAPIKey(req: DeleteAPIKeyRequest, cb?: (error: string, rep: DeleteAPIKeyResponse) => void): Promise<DeleteAPIKeyResponse>;
|
|
230
|
+
/**
|
|
231
|
+
* 查询当前调用账号的资源配额和当前总用量,以及账号下各配额组的资源配额和当前用量
|
|
232
|
+
*/
|
|
233
|
+
DescribeQuotaOverview(req: DescribeQuotaOverviewRequest, cb?: (error: string, rep: DescribeQuotaOverviewResponse) => void): Promise<DescribeQuotaOverviewResponse>;
|
|
94
234
|
/**
|
|
95
235
|
* 获取 Deployment 访问 Token
|
|
96
236
|
*/
|