@alicloud/agentcore20260804 1.0.0 → 1.1.0

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 (154) hide show
  1. package/dist/client.d.ts +218 -2
  2. package/dist/client.js +487 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateManagedAgentRequest.d.ts +501 -0
  5. package/dist/models/CreateManagedAgentRequest.js +452 -0
  6. package/dist/models/CreateManagedAgentRequest.js.map +1 -0
  7. package/dist/models/CreateManagedAgentResponse.d.ts +19 -0
  8. package/dist/models/CreateManagedAgentResponse.js +69 -0
  9. package/dist/models/CreateManagedAgentResponse.js.map +1 -0
  10. package/dist/models/CreateManagedAgentResponseBody.d.ts +607 -0
  11. package/dist/models/CreateManagedAgentResponseBody.js +480 -0
  12. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -0
  13. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +26 -0
  14. package/dist/models/CreateManagedAgentShrinkRequest.js +60 -0
  15. package/dist/models/CreateManagedAgentShrinkRequest.js.map +1 -0
  16. package/dist/models/CreateWorkspaceRequest.d.ts +105 -0
  17. package/dist/models/CreateWorkspaceRequest.js +135 -0
  18. package/dist/models/CreateWorkspaceRequest.js.map +1 -0
  19. package/dist/models/CreateWorkspaceResponse.d.ts +19 -0
  20. package/dist/models/CreateWorkspaceResponse.js +69 -0
  21. package/dist/models/CreateWorkspaceResponse.js.map +1 -0
  22. package/dist/models/CreateWorkspaceResponseBody.d.ts +165 -0
  23. package/dist/models/CreateWorkspaceResponseBody.js +151 -0
  24. package/dist/models/CreateWorkspaceResponseBody.js.map +1 -0
  25. package/dist/models/CreateWorkspaceShrinkRequest.d.ts +26 -0
  26. package/dist/models/CreateWorkspaceShrinkRequest.js +60 -0
  27. package/dist/models/CreateWorkspaceShrinkRequest.js.map +1 -0
  28. package/dist/models/DeleteManagedAgentRequest.d.ts +13 -0
  29. package/dist/models/DeleteManagedAgentRequest.js +54 -0
  30. package/dist/models/DeleteManagedAgentRequest.js.map +1 -0
  31. package/dist/models/DeleteManagedAgentResponse.d.ts +19 -0
  32. package/dist/models/DeleteManagedAgentResponse.js +69 -0
  33. package/dist/models/DeleteManagedAgentResponse.js.map +1 -0
  34. package/dist/models/DeleteManagedAgentResponseBody.d.ts +166 -0
  35. package/dist/models/DeleteManagedAgentResponseBody.js +112 -0
  36. package/dist/models/DeleteManagedAgentResponseBody.js.map +1 -0
  37. package/dist/models/DeleteWorkspaceRequest.d.ts +13 -0
  38. package/dist/models/DeleteWorkspaceRequest.js +54 -0
  39. package/dist/models/DeleteWorkspaceRequest.js.map +1 -0
  40. package/dist/models/DeleteWorkspaceResponse.d.ts +19 -0
  41. package/dist/models/DeleteWorkspaceResponse.js +69 -0
  42. package/dist/models/DeleteWorkspaceResponse.js.map +1 -0
  43. package/dist/models/DeleteWorkspaceResponseBody.d.ts +78 -0
  44. package/dist/models/DeleteWorkspaceResponseBody.js +90 -0
  45. package/dist/models/DeleteWorkspaceResponseBody.js.map +1 -0
  46. package/dist/models/GetManagedAgentRequest.d.ts +13 -0
  47. package/dist/models/GetManagedAgentRequest.js +54 -0
  48. package/dist/models/GetManagedAgentRequest.js.map +1 -0
  49. package/dist/models/GetManagedAgentResponse.d.ts +19 -0
  50. package/dist/models/GetManagedAgentResponse.js +69 -0
  51. package/dist/models/GetManagedAgentResponse.js.map +1 -0
  52. package/dist/models/GetManagedAgentResponseBody.d.ts +607 -0
  53. package/dist/models/GetManagedAgentResponseBody.js +480 -0
  54. package/dist/models/GetManagedAgentResponseBody.js.map +1 -0
  55. package/dist/models/GetWorkspaceRequest.d.ts +13 -0
  56. package/dist/models/GetWorkspaceRequest.js +54 -0
  57. package/dist/models/GetWorkspaceRequest.js.map +1 -0
  58. package/dist/models/GetWorkspaceResponse.d.ts +19 -0
  59. package/dist/models/GetWorkspaceResponse.js +69 -0
  60. package/dist/models/GetWorkspaceResponse.js.map +1 -0
  61. package/dist/models/GetWorkspaceResponseBody.d.ts +181 -0
  62. package/dist/models/GetWorkspaceResponseBody.js +155 -0
  63. package/dist/models/GetWorkspaceResponseBody.js.map +1 -0
  64. package/dist/models/ListManagedAgentsRequest.d.ts +29 -0
  65. package/dist/models/ListManagedAgentsRequest.js +60 -0
  66. package/dist/models/ListManagedAgentsRequest.js.map +1 -0
  67. package/dist/models/ListManagedAgentsResponse.d.ts +19 -0
  68. package/dist/models/ListManagedAgentsResponse.js +69 -0
  69. package/dist/models/ListManagedAgentsResponse.js.map +1 -0
  70. package/dist/models/ListManagedAgentsResponseBody.d.ts +193 -0
  71. package/dist/models/ListManagedAgentsResponseBody.js +118 -0
  72. package/dist/models/ListManagedAgentsResponseBody.js.map +1 -0
  73. package/dist/models/ListWorkspacesRequest.d.ts +37 -0
  74. package/dist/models/ListWorkspacesRequest.js +62 -0
  75. package/dist/models/ListWorkspacesRequest.js.map +1 -0
  76. package/dist/models/ListWorkspacesResponse.d.ts +19 -0
  77. package/dist/models/ListWorkspacesResponse.js +69 -0
  78. package/dist/models/ListWorkspacesResponse.js.map +1 -0
  79. package/dist/models/ListWorkspacesResponseBody.d.ts +201 -0
  80. package/dist/models/ListWorkspacesResponseBody.js +159 -0
  81. package/dist/models/ListWorkspacesResponseBody.js.map +1 -0
  82. package/dist/models/UpdateManagedAgentRequest.d.ts +495 -0
  83. package/dist/models/UpdateManagedAgentRequest.js +452 -0
  84. package/dist/models/UpdateManagedAgentRequest.js.map +1 -0
  85. package/dist/models/UpdateManagedAgentResponse.d.ts +19 -0
  86. package/dist/models/UpdateManagedAgentResponse.js +69 -0
  87. package/dist/models/UpdateManagedAgentResponse.js.map +1 -0
  88. package/dist/models/UpdateManagedAgentResponseBody.d.ts +607 -0
  89. package/dist/models/UpdateManagedAgentResponseBody.js +480 -0
  90. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -0
  91. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +26 -0
  92. package/dist/models/UpdateManagedAgentShrinkRequest.js +60 -0
  93. package/dist/models/UpdateManagedAgentShrinkRequest.js.map +1 -0
  94. package/dist/models/UpdateModelRequest.d.ts +9 -0
  95. package/dist/models/UpdateModelRequest.js.map +1 -1
  96. package/dist/models/UpdateModelResponseBody.d.ts +83 -0
  97. package/dist/models/UpdateModelResponseBody.js.map +1 -1
  98. package/dist/models/UpdateModelShrinkRequest.d.ts +7 -0
  99. package/dist/models/UpdateModelShrinkRequest.js.map +1 -1
  100. package/dist/models/UpdateWorkspaceRequest.d.ts +103 -0
  101. package/dist/models/UpdateWorkspaceRequest.js +135 -0
  102. package/dist/models/UpdateWorkspaceRequest.js.map +1 -0
  103. package/dist/models/UpdateWorkspaceResponse.d.ts +19 -0
  104. package/dist/models/UpdateWorkspaceResponse.js +69 -0
  105. package/dist/models/UpdateWorkspaceResponse.js.map +1 -0
  106. package/dist/models/UpdateWorkspaceResponseBody.d.ts +165 -0
  107. package/dist/models/UpdateWorkspaceResponseBody.js +151 -0
  108. package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -0
  109. package/dist/models/UpdateWorkspaceShrinkRequest.d.ts +26 -0
  110. package/dist/models/UpdateWorkspaceShrinkRequest.js +60 -0
  111. package/dist/models/UpdateWorkspaceShrinkRequest.js.map +1 -0
  112. package/dist/models/model.d.ts +135 -0
  113. package/dist/models/model.js +277 -4
  114. package/dist/models/model.js.map +1 -1
  115. package/package.json +1 -1
  116. package/src/client.ts +524 -2
  117. package/src/models/CreateManagedAgentRequest.ts +764 -0
  118. package/src/models/CreateManagedAgentResponse.ts +40 -0
  119. package/src/models/CreateManagedAgentResponseBody.ts +898 -0
  120. package/src/models/CreateManagedAgentShrinkRequest.ts +41 -0
  121. package/src/models/CreateWorkspaceRequest.ts +168 -0
  122. package/src/models/CreateWorkspaceResponse.ts +40 -0
  123. package/src/models/CreateWorkspaceResponseBody.ts +244 -0
  124. package/src/models/CreateWorkspaceShrinkRequest.ts +41 -0
  125. package/src/models/DeleteManagedAgentRequest.ts +24 -0
  126. package/src/models/DeleteManagedAgentResponse.ts +40 -0
  127. package/src/models/DeleteManagedAgentResponseBody.ts +224 -0
  128. package/src/models/DeleteWorkspaceRequest.ts +24 -0
  129. package/src/models/DeleteWorkspaceResponse.ts +40 -0
  130. package/src/models/DeleteWorkspaceResponseBody.ts +114 -0
  131. package/src/models/GetManagedAgentRequest.ts +24 -0
  132. package/src/models/GetManagedAgentResponse.ts +40 -0
  133. package/src/models/GetManagedAgentResponseBody.ts +898 -0
  134. package/src/models/GetWorkspaceRequest.ts +24 -0
  135. package/src/models/GetWorkspaceResponse.ts +40 -0
  136. package/src/models/GetWorkspaceResponseBody.ts +264 -0
  137. package/src/models/ListManagedAgentsRequest.ts +44 -0
  138. package/src/models/ListManagedAgentsResponse.ts +40 -0
  139. package/src/models/ListManagedAgentsResponseBody.ts +257 -0
  140. package/src/models/ListWorkspacesRequest.ts +54 -0
  141. package/src/models/ListWorkspacesResponse.ts +40 -0
  142. package/src/models/ListWorkspacesResponseBody.ts +288 -0
  143. package/src/models/UpdateManagedAgentRequest.ts +758 -0
  144. package/src/models/UpdateManagedAgentResponse.ts +40 -0
  145. package/src/models/UpdateManagedAgentResponseBody.ts +898 -0
  146. package/src/models/UpdateManagedAgentShrinkRequest.ts +41 -0
  147. package/src/models/UpdateModelRequest.ts +9 -0
  148. package/src/models/UpdateModelResponseBody.ts +83 -0
  149. package/src/models/UpdateModelShrinkRequest.ts +7 -0
  150. package/src/models/UpdateWorkspaceRequest.ts +166 -0
  151. package/src/models/UpdateWorkspaceResponse.ts +40 -0
  152. package/src/models/UpdateWorkspaceResponseBody.ts +244 -0
  153. package/src/models/UpdateWorkspaceShrinkRequest.ts +41 -0
  154. package/src/models/model.ts +135 -0
package/dist/client.d.ts CHANGED
@@ -62,6 +62,24 @@ export default class Client extends OpenApi {
62
62
  * @returns CreateIdentityProviderResponse
63
63
  */
64
64
  createIdentityProvider(workspaceId: string, request: $_model.CreateIdentityProviderRequest): Promise<$_model.CreateIdentityProviderResponse>;
65
+ /**
66
+ * Creates a managed agent in a specified workspace.
67
+ *
68
+ * @param tmpReq - CreateManagedAgentRequest
69
+ * @param headers - map
70
+ * @param runtime - runtime options for this request RuntimeOptions
71
+ * @returns CreateManagedAgentResponse
72
+ */
73
+ createManagedAgentWithOptions(workspaceId: string, tmpReq: $_model.CreateManagedAgentRequest, headers: {
74
+ [key: string]: string;
75
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateManagedAgentResponse>;
76
+ /**
77
+ * Creates a managed agent in a specified workspace.
78
+ *
79
+ * @param request - CreateManagedAgentRequest
80
+ * @returns CreateManagedAgentResponse
81
+ */
82
+ createManagedAgent(workspaceId: string, request: $_model.CreateManagedAgentRequest): Promise<$_model.CreateManagedAgentResponse>;
65
83
  /**
66
84
  * Creates a model configuration under a specified model connection in a workspace.
67
85
  *
@@ -134,6 +152,30 @@ export default class Client extends OpenApi {
134
152
  * @returns CreateUserResponse
135
153
  */
136
154
  createUser(workspaceId: string, request: $_model.CreateUserRequest): Promise<$_model.CreateUserResponse>;
155
+ /**
156
+ * Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
157
+ *
158
+ * @remarks
159
+ * ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
160
+ *
161
+ * @param tmpReq - CreateWorkspaceRequest
162
+ * @param headers - map
163
+ * @param runtime - runtime options for this request RuntimeOptions
164
+ * @returns CreateWorkspaceResponse
165
+ */
166
+ createWorkspaceWithOptions(tmpReq: $_model.CreateWorkspaceRequest, headers: {
167
+ [key: string]: string;
168
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateWorkspaceResponse>;
169
+ /**
170
+ * Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
171
+ *
172
+ * @remarks
173
+ * ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
174
+ *
175
+ * @param request - CreateWorkspaceRequest
176
+ * @returns CreateWorkspaceResponse
177
+ */
178
+ createWorkspace(request: $_model.CreateWorkspaceRequest): Promise<$_model.CreateWorkspaceResponse>;
137
179
  /**
138
180
  * 调试模型
139
181
  *
@@ -188,6 +230,24 @@ export default class Client extends OpenApi {
188
230
  * @returns DeleteIdentityProviderResponse
189
231
  */
190
232
  deleteIdentityProvider(workspaceId: string, identityProviderType: string, request: $_model.DeleteIdentityProviderRequest): Promise<$_model.DeleteIdentityProviderResponse>;
233
+ /**
234
+ * Deletes a specified managed agent.
235
+ *
236
+ * @param request - DeleteManagedAgentRequest
237
+ * @param headers - map
238
+ * @param runtime - runtime options for this request RuntimeOptions
239
+ * @returns DeleteManagedAgentResponse
240
+ */
241
+ deleteManagedAgentWithOptions(workspaceId: string, agentId: string, request: $_model.DeleteManagedAgentRequest, headers: {
242
+ [key: string]: string;
243
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteManagedAgentResponse>;
244
+ /**
245
+ * Deletes a specified managed agent.
246
+ *
247
+ * @param request - DeleteManagedAgentRequest
248
+ * @returns DeleteManagedAgentResponse
249
+ */
250
+ deleteManagedAgent(workspaceId: string, agentId: string, request: $_model.DeleteManagedAgentRequest): Promise<$_model.DeleteManagedAgentResponse>;
191
251
  /**
192
252
  * 删除模型
193
253
  *
@@ -260,6 +320,30 @@ export default class Client extends OpenApi {
260
320
  * @returns DeleteUserResponse
261
321
  */
262
322
  deleteUser(workspaceId: string, agentCoreUserId: string, request: $_model.DeleteUserRequest): Promise<$_model.DeleteUserResponse>;
323
+ /**
324
+ * Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. When you repeatedly delete a workspace that is in the Deleting or Deleted state, the server handles the request with idempotence semantics.
325
+ *
326
+ * @remarks
327
+ * ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. When you repeatedly delete a workspace that is in the `Deleting` or `Deleted` state, the server handles the request with idempotence semantics.\\n.
328
+ *
329
+ * @param request - DeleteWorkspaceRequest
330
+ * @param headers - map
331
+ * @param runtime - runtime options for this request RuntimeOptions
332
+ * @returns DeleteWorkspaceResponse
333
+ */
334
+ deleteWorkspaceWithOptions(workspaceId: string, request: $_model.DeleteWorkspaceRequest, headers: {
335
+ [key: string]: string;
336
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteWorkspaceResponse>;
337
+ /**
338
+ * Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. When you repeatedly delete a workspace that is in the Deleting or Deleted state, the server handles the request with idempotence semantics.
339
+ *
340
+ * @remarks
341
+ * ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. When you repeatedly delete a workspace that is in the `Deleting` or `Deleted` state, the server handles the request with idempotence semantics.\\n.
342
+ *
343
+ * @param request - DeleteWorkspaceRequest
344
+ * @returns DeleteWorkspaceResponse
345
+ */
346
+ deleteWorkspace(workspaceId: string, request: $_model.DeleteWorkspaceRequest): Promise<$_model.DeleteWorkspaceResponse>;
263
347
  /**
264
348
  * 查询凭证
265
349
  *
@@ -296,6 +380,24 @@ export default class Client extends OpenApi {
296
380
  * @returns GetIdentityProviderResponse
297
381
  */
298
382
  getIdentityProvider(workspaceId: string, identityProviderType: string, request: $_model.GetIdentityProviderRequest): Promise<$_model.GetIdentityProviderResponse>;
383
+ /**
384
+ * Queries the details of a specified managed agent.
385
+ *
386
+ * @param request - GetManagedAgentRequest
387
+ * @param headers - map
388
+ * @param runtime - runtime options for this request RuntimeOptions
389
+ * @returns GetManagedAgentResponse
390
+ */
391
+ getManagedAgentWithOptions(workspaceId: string, agentId: string, request: $_model.GetManagedAgentRequest, headers: {
392
+ [key: string]: string;
393
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetManagedAgentResponse>;
394
+ /**
395
+ * Queries the details of a specified managed agent.
396
+ *
397
+ * @param request - GetManagedAgentRequest
398
+ * @returns GetManagedAgentResponse
399
+ */
400
+ getManagedAgent(workspaceId: string, agentId: string, request: $_model.GetManagedAgentRequest): Promise<$_model.GetManagedAgentResponse>;
299
401
  /**
300
402
  * Queries the detailed configuration and region of a model in a specified workspace.
301
403
  *
@@ -368,6 +470,30 @@ export default class Client extends OpenApi {
368
470
  * @returns GetUserResponse
369
471
  */
370
472
  getUser(workspaceId: string, agentCoreUserId: string, request: $_model.GetUserRequest): Promise<$_model.GetUserResponse>;
473
+ /**
474
+ * Queries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
475
+ *
476
+ * @remarks
477
+ * ## Operation description\\nQueries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
478
+ *
479
+ * @param request - GetWorkspaceRequest
480
+ * @param headers - map
481
+ * @param runtime - runtime options for this request RuntimeOptions
482
+ * @returns GetWorkspaceResponse
483
+ */
484
+ getWorkspaceWithOptions(workspaceId: string, request: $_model.GetWorkspaceRequest, headers: {
485
+ [key: string]: string;
486
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkspaceResponse>;
487
+ /**
488
+ * Queries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
489
+ *
490
+ * @remarks
491
+ * ## Operation description\\nQueries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
492
+ *
493
+ * @param request - GetWorkspaceRequest
494
+ * @returns GetWorkspaceResponse
495
+ */
496
+ getWorkspace(workspaceId: string, request: $_model.GetWorkspaceRequest): Promise<$_model.GetWorkspaceResponse>;
371
497
  /**
372
498
  * 查询凭证列表
373
499
  *
@@ -404,6 +530,30 @@ export default class Client extends OpenApi {
404
530
  * @returns ListIdentityProvidersResponse
405
531
  */
406
532
  listIdentityProviders(workspaceId: string, request: $_model.ListIdentityProvidersRequest): Promise<$_model.ListIdentityProvidersResponse>;
533
+ /**
534
+ * Queries the list of managed agents in a specified workspace.
535
+ *
536
+ * @remarks
537
+ * Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
538
+ *
539
+ * @param request - ListManagedAgentsRequest
540
+ * @param headers - map
541
+ * @param runtime - runtime options for this request RuntimeOptions
542
+ * @returns ListManagedAgentsResponse
543
+ */
544
+ listManagedAgentsWithOptions(workspaceId: string, request: $_model.ListManagedAgentsRequest, headers: {
545
+ [key: string]: string;
546
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListManagedAgentsResponse>;
547
+ /**
548
+ * Queries the list of managed agents in a specified workspace.
549
+ *
550
+ * @remarks
551
+ * Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
552
+ *
553
+ * @param request - ListManagedAgentsRequest
554
+ * @returns ListManagedAgentsResponse
555
+ */
556
+ listManagedAgents(workspaceId: string, request: $_model.ListManagedAgentsRequest): Promise<$_model.ListManagedAgentsResponse>;
407
557
  /**
408
558
  * 查询模型连接列表
409
559
  *
@@ -512,6 +662,30 @@ export default class Client extends OpenApi {
512
662
  * @returns ListUsersResponse
513
663
  */
514
664
  listUsers(workspaceId: string, request: $_model.ListUsersRequest): Promise<$_model.ListUsersResponse>;
665
+ /**
666
+ * Queries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
667
+ *
668
+ * @remarks
669
+ * ## Request description\\nQueries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per page, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
670
+ *
671
+ * @param request - ListWorkspacesRequest
672
+ * @param headers - map
673
+ * @param runtime - runtime options for this request RuntimeOptions
674
+ * @returns ListWorkspacesResponse
675
+ */
676
+ listWorkspacesWithOptions(request: $_model.ListWorkspacesRequest, headers: {
677
+ [key: string]: string;
678
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListWorkspacesResponse>;
679
+ /**
680
+ * Queries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
681
+ *
682
+ * @remarks
683
+ * ## Request description\\nQueries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per page, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
684
+ *
685
+ * @param request - ListWorkspacesRequest
686
+ * @returns ListWorkspacesResponse
687
+ */
688
+ listWorkspaces(request: $_model.ListWorkspacesRequest): Promise<$_model.ListWorkspacesResponse>;
515
689
  /**
516
690
  * 重置用户密码
517
691
  *
@@ -567,7 +741,25 @@ export default class Client extends OpenApi {
567
741
  */
568
742
  updateIdentityProvider(workspaceId: string, identityProviderType: string, request: $_model.UpdateIdentityProviderRequest): Promise<$_model.UpdateIdentityProviderResponse>;
569
743
  /**
570
- * 更新模型
744
+ * Updates the configuration of a specified managed agent.
745
+ *
746
+ * @param tmpReq - UpdateManagedAgentRequest
747
+ * @param headers - map
748
+ * @param runtime - runtime options for this request RuntimeOptions
749
+ * @returns UpdateManagedAgentResponse
750
+ */
751
+ updateManagedAgentWithOptions(workspaceId: string, agentId: string, tmpReq: $_model.UpdateManagedAgentRequest, headers: {
752
+ [key: string]: string;
753
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateManagedAgentResponse>;
754
+ /**
755
+ * Updates the configuration of a specified managed agent.
756
+ *
757
+ * @param request - UpdateManagedAgentRequest
758
+ * @returns UpdateManagedAgentResponse
759
+ */
760
+ updateManagedAgent(workspaceId: string, agentId: string, request: $_model.UpdateManagedAgentRequest): Promise<$_model.UpdateManagedAgentResponse>;
761
+ /**
762
+ * Updates the description of a specified model. Other model configurations cannot be modified through this operation.
571
763
  *
572
764
  * @param tmpReq - UpdateModelRequest
573
765
  * @param headers - map
@@ -578,7 +770,7 @@ export default class Client extends OpenApi {
578
770
  [key: string]: string;
579
771
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateModelResponse>;
580
772
  /**
581
- * 更新模型
773
+ * Updates the description of a specified model. Other model configurations cannot be modified through this operation.
582
774
  *
583
775
  * @param request - UpdateModelRequest
584
776
  * @returns UpdateModelResponse
@@ -638,4 +830,28 @@ export default class Client extends OpenApi {
638
830
  * @returns UpdateUserResponse
639
831
  */
640
832
  updateUser(workspaceId: string, agentCoreUserId: string, request: $_model.UpdateUserRequest): Promise<$_model.UpdateUserResponse>;
833
+ /**
834
+ * Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this operation.
835
+ *
836
+ * @remarks
837
+ * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
838
+ *
839
+ * @param tmpReq - UpdateWorkspaceRequest
840
+ * @param headers - map
841
+ * @param runtime - runtime options for this request RuntimeOptions
842
+ * @returns UpdateWorkspaceResponse
843
+ */
844
+ updateWorkspaceWithOptions(workspaceId: string, tmpReq: $_model.UpdateWorkspaceRequest, headers: {
845
+ [key: string]: string;
846
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWorkspaceResponse>;
847
+ /**
848
+ * Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this operation.
849
+ *
850
+ * @remarks
851
+ * ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
852
+ *
853
+ * @param request - UpdateWorkspaceRequest
854
+ * @returns UpdateWorkspaceResponse
855
+ */
856
+ updateWorkspace(workspaceId: string, request: $_model.UpdateWorkspaceRequest): Promise<$_model.UpdateWorkspaceResponse>;
641
857
  }