tencentcloud-sdk-nodejs-ags 4.1.328 → 4.1.332

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.
@@ -69,6 +69,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
69
69
  async ResumeSandboxInstance(req, cb) {
70
70
  return this.request("ResumeSandboxInstance", req, cb);
71
71
  }
72
+ async DescribeSessions(req, cb) {
73
+ return this.request("DescribeSessions", req, cb);
74
+ }
72
75
  async CreateRegistryRecord(req, cb) {
73
76
  return this.request("CreateRegistryRecord", req, cb);
74
77
  }
@@ -105,8 +108,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
105
108
  async DeleteRegistryRecord(req, cb) {
106
109
  return this.request("DeleteRegistryRecord", req, cb);
107
110
  }
108
- async DescribeSessions(req, cb) {
109
- return this.request("DescribeSessions", req, cb);
111
+ async DescribeSandboxInstances(req, cb) {
112
+ return this.request("DescribeSandboxInstances", req, cb);
110
113
  }
111
114
  async DescribeSandboxInstanceList(req, cb) {
112
115
  return this.request("DescribeSandboxInstanceList", req, cb);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ags",
3
- "version": "4.1.328",
3
+ "version": "4.1.332",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DeleteSessionSpaceResponse, ApproveRegistryRecordRequest, AppendEventResponse, DescribeRegistryRecordResponse, DescribeQuotaOverviewRequest, CreatePreCacheImageTaskResponse, ResumeSandboxInstanceRequest, ModifySessionSpaceResponse, DescribePreCacheImageTaskRequest, DescribeDeploymentResponse, RejectRegistryRecordResponse, DescribeRegistryRecordListRequest, UpdateRegistryResponse, ApproveRegistryRecordResponse, DeleteSessionRequest, ResumeSandboxInstanceResponse, AcquireSandboxInstanceTokenRequest, DescribeAPIKeyListResponse, PreviewRegistryRecordResponse, CreateSessionRequest, DescribeDeploymentRequest, DescribeSandboxSnapshotListRequest, DescribeSessionSpaceResponse, CreateSandboxToolResponse, CreateRegistryResponse, DeleteAPIKeyRequest, DeleteDeploymentRequest, GetSkillPackageUploadURLRequest, UpdateSandboxToolRequest, DescribeSessionSpacesResponse, DescribeRegistryRecordVersionListResponse, DeleteSandboxSnapshotResponse, DescribePreCacheImageListRequest, DescribeRegistryRecordVersionListRequest, RejectRegistryRecordRequest, CreateDeploymentRequest, StopSandboxInstanceRequest, GetSkillPackageDownloadURLRequest, DescribeSandboxToolListResponse, CreateSandboxSnapshotResponse, DescribeQuotaOverviewResponse, UpdateSandboxToolResponse, DescribeRegistryRecordRequest, CancelRegistryRecordRequest, DescribeSandboxToolListRequest, DeleteSandboxToolRequest, CreateAPIKeyRequest, DeleteSandboxToolResponse, DeleteSandboxSnapshotRequest, CreateRegistryRecordResponse, DescribePreCacheImageListResponse, UpdateSandboxInstanceRequest, ModifySessionRequest, SyncRegistryRecordRequest, DescribeRegistryRequest, DeleteRegistryResponse, DescribeAPIKeyListRequest, DescribeSandboxInstanceListResponse, GetSkillPackageUploadURLResponse, CreateSessionSpaceResponse, UpdateRegistryRequest, DescribeSessionsResponse, DescribeDeploymentListRequest, DescribeRegistryAuditLogListRequest, PauseSandboxInstanceRequest, DescribeRegistryRecordListResponse, UpdateRegistryRecordRequest, DeletePreCacheImageResponse, CreateAPIKeyResponse, DescribeSessionRequest, AcquireDeploymentTokenRequest, DescribeEventsResponse, DescribeDeploymentListResponse, DescribeRegistryResponse, ModifySessionSpaceRequest, CreateSessionSpaceRequest, DeleteAPIKeyResponse, DescribeRegistryListRequest, CreateDeploymentResponse, DeleteRegistryRequest, GetSkillPackageDownloadURLResponse, CreateSessionResponse, StartSandboxInstanceResponse, DescribeSessionSpaceRequest, DescribeSandboxInstanceListRequest, ModifyDeploymentRequest, DescribeRegistryAuditLogListResponse, AcquireSandboxInstanceTokenResponse, DeletePreCacheImageRequest, DescribeSandboxSnapshotListResponse, PauseSandboxInstanceResponse, StartSandboxInstanceRequest, CancelRegistryRecordResponse, DescribeSessionSpacesRequest, DescribeRegistryListResponse, UpdateRegistryRecordResponse, DeleteSessionSpaceRequest, AcquireDeploymentTokenResponse, DescribeSessionsRequest, CreateSandboxToolRequest, DescribePreCacheImageTaskResponse, DeleteRegistryRecordResponse, CreateRegistryRecordRequest, ModifySessionResponse, UpdateSandboxInstanceResponse, DeleteDeploymentResponse, SyncRegistryRecordResponse, DescribeSessionResponse, DeleteRegistryRecordRequest, StopSandboxInstanceResponse, CreateSandboxSnapshotRequest, AppendEventRequest, DeleteSessionResponse, PreviewRegistryRecordRequest, DescribeEventsRequest, CreateRegistryRequest, ModifyDeploymentResponse, CreatePreCacheImageTaskRequest } from "./ags_models";
2
+ import { DeleteSessionSpaceResponse, ApproveRegistryRecordRequest, AppendEventResponse, DescribeRegistryRecordResponse, DescribeQuotaOverviewRequest, CreatePreCacheImageTaskResponse, ResumeSandboxInstanceRequest, ModifySessionSpaceResponse, DescribePreCacheImageTaskRequest, DescribeDeploymentResponse, RejectRegistryRecordResponse, DescribeRegistryRecordListRequest, UpdateRegistryResponse, ApproveRegistryRecordResponse, DeleteSessionRequest, ResumeSandboxInstanceResponse, AcquireSandboxInstanceTokenRequest, DescribeAPIKeyListResponse, PreviewRegistryRecordResponse, CreateSessionRequest, DescribeDeploymentRequest, DescribeSandboxSnapshotListRequest, DescribeSessionSpaceResponse, CreateSandboxToolResponse, CreateRegistryResponse, DeleteAPIKeyRequest, DeleteDeploymentRequest, GetSkillPackageUploadURLRequest, UpdateSandboxToolRequest, DescribeSessionSpacesResponse, DescribeRegistryRecordVersionListResponse, DeleteSandboxSnapshotResponse, DescribePreCacheImageListRequest, DescribeRegistryRecordVersionListRequest, RejectRegistryRecordRequest, CreateDeploymentRequest, StopSandboxInstanceRequest, GetSkillPackageDownloadURLRequest, DescribeSandboxToolListResponse, CreateSandboxSnapshotResponse, DescribeQuotaOverviewResponse, UpdateSandboxToolResponse, DescribeRegistryRecordRequest, CancelRegistryRecordRequest, DescribeSandboxToolListRequest, DeleteSandboxToolRequest, CreateAPIKeyRequest, DeleteSandboxToolResponse, DeleteSandboxSnapshotRequest, CreateRegistryRecordResponse, DescribePreCacheImageListResponse, UpdateSandboxInstanceRequest, ModifySessionRequest, SyncRegistryRecordRequest, DescribeRegistryRequest, DeleteRegistryResponse, DescribeAPIKeyListRequest, DescribeSandboxInstanceListResponse, GetSkillPackageUploadURLResponse, CreateSessionSpaceResponse, UpdateRegistryRequest, DescribeSessionsResponse, DescribeDeploymentListRequest, DescribeRegistryAuditLogListRequest, PauseSandboxInstanceRequest, DescribeRegistryRecordListResponse, UpdateRegistryRecordRequest, DeletePreCacheImageResponse, CreateAPIKeyResponse, DescribeSessionRequest, AcquireDeploymentTokenRequest, DescribeEventsResponse, DescribeDeploymentListResponse, DescribeRegistryResponse, ModifySessionSpaceRequest, CreateSessionSpaceRequest, DeleteAPIKeyResponse, DescribeRegistryListRequest, CreateDeploymentResponse, DeleteRegistryRequest, GetSkillPackageDownloadURLResponse, CreateSessionResponse, StartSandboxInstanceResponse, DescribeSessionSpaceRequest, DescribeSandboxInstanceListRequest, ModifyDeploymentRequest, DescribeRegistryAuditLogListResponse, AcquireSandboxInstanceTokenResponse, DeletePreCacheImageRequest, DescribeSandboxSnapshotListResponse, PauseSandboxInstanceResponse, DescribeSandboxInstancesRequest, StartSandboxInstanceRequest, CancelRegistryRecordResponse, DescribeSessionSpacesRequest, DescribeRegistryListResponse, UpdateRegistryRecordResponse, DeleteSessionSpaceRequest, AcquireDeploymentTokenResponse, DescribeSessionsRequest, CreateSandboxToolRequest, DescribePreCacheImageTaskResponse, DeleteRegistryRecordResponse, CreateRegistryRecordRequest, ModifySessionResponse, UpdateSandboxInstanceResponse, DeleteDeploymentResponse, SyncRegistryRecordResponse, DescribeSessionResponse, DeleteRegistryRecordRequest, StopSandboxInstanceResponse, CreateSandboxSnapshotRequest, AppendEventRequest, DeleteSessionResponse, PreviewRegistryRecordRequest, DescribeEventsRequest, DescribeSandboxInstancesResponse, CreateRegistryRequest, ModifyDeploymentResponse, CreatePreCacheImageTaskRequest } from "./ags_models";
3
3
  /**
4
4
  * ags client
5
5
  * @class
@@ -101,6 +101,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
101
101
  * 恢复沙箱实例
102
102
  */
103
103
  ResumeSandboxInstance(req: ResumeSandboxInstanceRequest, cb?: (error: string, rep: ResumeSandboxInstanceResponse) => void): Promise<ResumeSandboxInstanceResponse>;
104
+ /**
105
+ * 查询会话列表
106
+ */
107
+ DescribeSessions(req: DescribeSessionsRequest, cb?: (error: string, rep: DescribeSessionsResponse) => void): Promise<DescribeSessionsResponse>;
104
108
  /**
105
109
  * 统一创建 Registry Record(含 revision 1)。请求通过 DescriptorType 与严格内容输入 Union 选择底层类型:MCPSource / AgentSource / SkillSource / CustomDescriptors 四选一,必须与 DescriptorType 对应。不接受 RecordId 或 ChangeLog;同名 Record 返回冲突,不隐式追加 Version。追加 Version 请使用 UpdateRegistryRecord。
106
110
  */
@@ -153,9 +157,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
153
157
  */
154
158
  DeleteRegistryRecord(req: DeleteRegistryRecordRequest, cb?: (error: string, rep: DeleteRegistryRecordResponse) => void): Promise<DeleteRegistryRecordResponse>;
155
159
  /**
156
- * 查询会话列表
160
+ * 查询沙箱实例
157
161
  */
158
- DescribeSessions(req: DescribeSessionsRequest, cb?: (error: string, rep: DescribeSessionsResponse) => void): Promise<DescribeSessionsResponse>;
162
+ DescribeSandboxInstances(req: DescribeSandboxInstancesRequest, cb?: (error: string, rep: DescribeSandboxInstancesResponse) => void): Promise<DescribeSandboxInstancesResponse>;
159
163
  /**
160
164
  * 查询沙箱实例列表
161
165
  */
@@ -167,6 +167,12 @@ class Client extends TencentCloudCommon.AbstractClient {
167
167
  async ResumeSandboxInstance(req, cb) {
168
168
  return this.request("ResumeSandboxInstance", req, cb);
169
169
  }
170
+ /**
171
+ * 查询会话列表
172
+ */
173
+ async DescribeSessions(req, cb) {
174
+ return this.request("DescribeSessions", req, cb);
175
+ }
170
176
  /**
171
177
  * 统一创建 Registry Record(含 revision 1)。请求通过 DescriptorType 与严格内容输入 Union 选择底层类型:MCPSource / AgentSource / SkillSource / CustomDescriptors 四选一,必须与 DescriptorType 对应。不接受 RecordId 或 ChangeLog;同名 Record 返回冲突,不隐式追加 Version。追加 Version 请使用 UpdateRegistryRecord。
172
178
  */
@@ -243,10 +249,10 @@ class Client extends TencentCloudCommon.AbstractClient {
243
249
  return this.request("DeleteRegistryRecord", req, cb);
244
250
  }
245
251
  /**
246
- * 查询会话列表
252
+ * 查询沙箱实例
247
253
  */
248
- async DescribeSessions(req, cb) {
249
- return this.request("DescribeSessions", req, cb);
254
+ async DescribeSandboxInstances(req, cb) {
255
+ return this.request("DescribeSandboxInstances", req, cb);
250
256
  }
251
257
  /**
252
258
  * 查询沙箱实例列表
@@ -2166,12 +2166,12 @@ export interface AcquireDeploymentTokenRequest {
2166
2166
  */
2167
2167
  export interface VolumeRef {
2168
2168
  /**
2169
- * Volume 名称;服务端在当前认证 AppId 下解析为稳定 VolumeId
2169
+ * <p>Volume 名称;服务端在当前认证 AppId 下解析为稳定 VolumeId</p>
2170
2170
  注意:此字段可能返回 null,表示取不到有效值。
2171
2171
  */
2172
2172
  VolumeName?: string;
2173
2173
  /**
2174
- * 稳定 Volume ID,格式 vol-xxxxxxxx
2174
+ * <p>稳定 Volume ID,格式 vol-xxxxxxxx</p>
2175
2175
  注意:此字段可能返回 null,表示取不到有效值。
2176
2176
  */
2177
2177
  VolumeId?: string;
@@ -2745,6 +2745,15 @@ export interface PauseSandboxInstanceResponse {
2745
2745
  */
2746
2746
  RequestId?: string;
2747
2747
  }
2748
+ /**
2749
+ * DescribeSandboxInstances请求参数结构体
2750
+ */
2751
+ export interface DescribeSandboxInstancesRequest {
2752
+ /**
2753
+ * <p>沙箱实例ID列表,指定要查询的实例。如果为空则查询所有实例。最大支持100个ID</p>
2754
+ */
2755
+ InstanceIds: Array<string>;
2756
+ }
2748
2757
  /**
2749
2758
  * 沙箱实例对象存储挂载配置
2750
2759
  */
@@ -3710,6 +3719,19 @@ export interface Filter {
3710
3719
  */
3711
3720
  Values?: Array<string>;
3712
3721
  }
3722
+ /**
3723
+ * DescribeSandboxInstances返回参数结构体
3724
+ */
3725
+ export interface DescribeSandboxInstancesResponse {
3726
+ /**
3727
+ * <p>沙箱实例列表</p>
3728
+ */
3729
+ InstanceSet?: Array<SandboxInstance>;
3730
+ /**
3731
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3732
+ */
3733
+ RequestId?: string;
3734
+ }
3713
3735
  /**
3714
3736
  * CreateRegistry请求参数结构体
3715
3737
  */