@aws-sdk/client-workspaces 3.1178.0 → 3.1180.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 (230) hide show
  1. package/README.md +259 -0
  2. package/dist-cjs/index.js +1620 -101
  3. package/dist-es/WorkSpaces.js +88 -0
  4. package/dist-es/commands/AssociateAccountModelsCommand.js +4 -0
  5. package/dist-es/commands/AssociateAgentEnforcedPolicyCommand.js +4 -0
  6. package/dist-es/commands/AssociateWorkspaceAgenticConnectorsCommand.js +4 -0
  7. package/dist-es/commands/AssociateWorkspaceAgenticContextsCommand.js +4 -0
  8. package/dist-es/commands/AssociateWorkspaceEnforcedPolicyCommand.js +4 -0
  9. package/dist-es/commands/AssociateWorkspaceModelsCommand.js +4 -0
  10. package/dist-es/commands/BatchGetAgentEnforcedPolicyCommand.js +4 -0
  11. package/dist-es/commands/BatchGetAgentRuntimeCommand.js +4 -0
  12. package/dist-es/commands/BatchGetAgenticConnectorCommand.js +4 -0
  13. package/dist-es/commands/BatchGetAgenticContextMetadataCommand.js +4 -0
  14. package/dist-es/commands/BatchGetAgenticPersonaConfigurationCommand.js +4 -0
  15. package/dist-es/commands/BatchGetModelCommand.js +4 -0
  16. package/dist-es/commands/BatchGetWorkspaceEnforcedPolicyCommand.js +4 -0
  17. package/dist-es/commands/CreateAgentEnforcedPolicyCommand.js +4 -0
  18. package/dist-es/commands/CreateAgenticContextCommand.js +4 -0
  19. package/dist-es/commands/CreateAgenticPersonaConfigurationCommand.js +4 -0
  20. package/dist-es/commands/CreateWorkspaceEnforcedPolicyCommand.js +4 -0
  21. package/dist-es/commands/DeleteAgentEnforcedPolicyCommand.js +4 -0
  22. package/dist-es/commands/DeleteAgenticContextCommand.js +4 -0
  23. package/dist-es/commands/DeleteAgenticPersonaConfigurationCommand.js +4 -0
  24. package/dist-es/commands/DeleteWorkspaceEnforcedPolicyCommand.js +4 -0
  25. package/dist-es/commands/DisassociateAccountModelsCommand.js +4 -0
  26. package/dist-es/commands/DisassociateWorkspaceAgenticConnectorsCommand.js +4 -0
  27. package/dist-es/commands/DisassociateWorkspaceAgenticContextsCommand.js +4 -0
  28. package/dist-es/commands/DisassociateWorkspaceModelsCommand.js +4 -0
  29. package/dist-es/commands/GetAgenticAccountSetupCommand.js +4 -0
  30. package/dist-es/commands/GetAgenticContextCommand.js +4 -0
  31. package/dist-es/commands/GetAgenticWorkspaceConfigurationCommand.js +4 -0
  32. package/dist-es/commands/ListAccountModelsCommand.js +4 -0
  33. package/dist-es/commands/ListAgentEnforcedPoliciesCommand.js +4 -0
  34. package/dist-es/commands/ListAgenticConnectorsCommand.js +4 -0
  35. package/dist-es/commands/ListAgenticContextsCommand.js +4 -0
  36. package/dist-es/commands/ListAgenticPersonaConfigurationsCommand.js +4 -0
  37. package/dist-es/commands/ListSupportedModelsCommand.js +4 -0
  38. package/dist-es/commands/ListWorkspaceEnforcedPoliciesCommand.js +4 -0
  39. package/dist-es/commands/StartAgenticAccountSetupCommand.js +4 -0
  40. package/dist-es/commands/UpdateAgenticConnectorActivationStatusCommand.js +4 -0
  41. package/dist-es/commands/index.js +37 -0
  42. package/dist-es/index.js +1 -0
  43. package/dist-es/models/enums.js +110 -0
  44. package/dist-es/models/errors.js +51 -0
  45. package/dist-es/models/models_1.js +1 -0
  46. package/dist-es/pagination/ListAccountModelsPaginator.js +4 -0
  47. package/dist-es/pagination/ListAgentEnforcedPoliciesPaginator.js +4 -0
  48. package/dist-es/pagination/ListAgenticConnectorsPaginator.js +4 -0
  49. package/dist-es/pagination/ListAgenticContextsPaginator.js +4 -0
  50. package/dist-es/pagination/ListAgenticPersonaConfigurationsPaginator.js +4 -0
  51. package/dist-es/pagination/ListSupportedModelsPaginator.js +4 -0
  52. package/dist-es/pagination/ListWorkspaceEnforcedPoliciesPaginator.js +4 -0
  53. package/dist-es/pagination/index.js +7 -0
  54. package/dist-es/schemas/schemas_0.js +1086 -96
  55. package/dist-types/WorkSpaces.d.ts +317 -0
  56. package/dist-types/WorkSpacesClient.d.ts +39 -2
  57. package/dist-types/commands/AcceptAccountLinkInvitationCommand.d.ts +3 -4
  58. package/dist-types/commands/AssociateAccountModelsCommand.d.ts +106 -0
  59. package/dist-types/commands/AssociateAgentEnforcedPolicyCommand.d.ts +102 -0
  60. package/dist-types/commands/AssociateWorkspaceAgenticConnectorsCommand.d.ts +106 -0
  61. package/dist-types/commands/AssociateWorkspaceAgenticContextsCommand.d.ts +106 -0
  62. package/dist-types/commands/AssociateWorkspaceEnforcedPolicyCommand.d.ts +102 -0
  63. package/dist-types/commands/AssociateWorkspaceModelsCommand.d.ts +106 -0
  64. package/dist-types/commands/BatchGetAgentEnforcedPolicyCommand.d.ts +123 -0
  65. package/dist-types/commands/BatchGetAgentRuntimeCommand.d.ts +117 -0
  66. package/dist-types/commands/BatchGetAgenticConnectorCommand.d.ts +151 -0
  67. package/dist-types/commands/BatchGetAgenticContextMetadataCommand.d.ts +138 -0
  68. package/dist-types/commands/BatchGetAgenticPersonaConfigurationCommand.d.ts +146 -0
  69. package/dist-types/commands/BatchGetModelCommand.d.ts +124 -0
  70. package/dist-types/commands/BatchGetWorkspaceEnforcedPolicyCommand.d.ts +123 -0
  71. package/dist-types/commands/CreateAccountLinkInvitationCommand.d.ts +3 -4
  72. package/dist-types/commands/CreateAgentEnforcedPolicyCommand.d.ts +121 -0
  73. package/dist-types/commands/CreateAgenticContextCommand.d.ts +128 -0
  74. package/dist-types/commands/CreateAgenticPersonaConfigurationCommand.d.ts +144 -0
  75. package/dist-types/commands/CreateWorkspaceEnforcedPolicyCommand.d.ts +121 -0
  76. package/dist-types/commands/CreateWorkspacesCommand.d.ts +3 -0
  77. package/dist-types/commands/DeleteAccountLinkInvitationCommand.d.ts +3 -4
  78. package/dist-types/commands/DeleteAgentEnforcedPolicyCommand.d.ts +97 -0
  79. package/dist-types/commands/DeleteAgenticContextCommand.d.ts +97 -0
  80. package/dist-types/commands/DeleteAgenticPersonaConfigurationCommand.d.ts +97 -0
  81. package/dist-types/commands/DeleteWorkspaceEnforcedPolicyCommand.d.ts +97 -0
  82. package/dist-types/commands/DescribeWorkspacesCommand.d.ts +1 -0
  83. package/dist-types/commands/DisassociateAccountModelsCommand.d.ts +99 -0
  84. package/dist-types/commands/DisassociateWorkspaceAgenticConnectorsCommand.d.ts +103 -0
  85. package/dist-types/commands/DisassociateWorkspaceAgenticContextsCommand.d.ts +103 -0
  86. package/dist-types/commands/DisassociateWorkspaceModelsCommand.d.ts +103 -0
  87. package/dist-types/commands/GetAccountLinkCommand.d.ts +2 -3
  88. package/dist-types/commands/GetAgenticAccountSetupCommand.d.ts +94 -0
  89. package/dist-types/commands/GetAgenticContextCommand.d.ts +120 -0
  90. package/dist-types/commands/GetAgenticWorkspaceConfigurationCommand.d.ts +176 -0
  91. package/dist-types/commands/ListAccountLinksCommand.d.ts +2 -3
  92. package/dist-types/commands/ListAccountModelsCommand.d.ts +114 -0
  93. package/dist-types/commands/ListAgentEnforcedPoliciesCommand.d.ts +111 -0
  94. package/dist-types/commands/ListAgenticConnectorsCommand.d.ts +117 -0
  95. package/dist-types/commands/ListAgenticContextsCommand.d.ts +113 -0
  96. package/dist-types/commands/ListAgenticPersonaConfigurationsCommand.d.ts +109 -0
  97. package/dist-types/commands/ListSupportedModelsCommand.d.ts +112 -0
  98. package/dist-types/commands/ListWorkspaceEnforcedPoliciesCommand.d.ts +111 -0
  99. package/dist-types/commands/ModifyAccountCommand.d.ts +1 -1
  100. package/dist-types/commands/ModifyCertificateBasedAuthPropertiesCommand.d.ts +1 -1
  101. package/dist-types/commands/ModifyClientPropertiesCommand.d.ts +1 -1
  102. package/dist-types/commands/ModifyEndpointEncryptionModeCommand.d.ts +1 -1
  103. package/dist-types/commands/ModifySamlPropertiesCommand.d.ts +1 -1
  104. package/dist-types/commands/ModifySelfservicePermissionsCommand.d.ts +1 -1
  105. package/dist-types/commands/ModifyStreamingPropertiesCommand.d.ts +1 -1
  106. package/dist-types/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +1 -1
  107. package/dist-types/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +1 -1
  108. package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -1
  109. package/dist-types/commands/ModifyWorkspaceStateCommand.d.ts +1 -1
  110. package/dist-types/commands/RebootWorkspacesCommand.d.ts +1 -1
  111. package/dist-types/commands/RebuildWorkspacesCommand.d.ts +1 -1
  112. package/dist-types/commands/RegisterWorkspaceDirectoryCommand.d.ts +1 -1
  113. package/dist-types/commands/RejectAccountLinkInvitationCommand.d.ts +4 -5
  114. package/dist-types/commands/RestoreWorkspaceCommand.d.ts +1 -1
  115. package/dist-types/commands/RevokeIpRulesCommand.d.ts +1 -1
  116. package/dist-types/commands/StartAgenticAccountSetupCommand.d.ts +101 -0
  117. package/dist-types/commands/StartWorkspacesCommand.d.ts +1 -1
  118. package/dist-types/commands/StartWorkspacesPoolCommand.d.ts +1 -1
  119. package/dist-types/commands/StopWorkspacesCommand.d.ts +1 -1
  120. package/dist-types/commands/StopWorkspacesPoolCommand.d.ts +1 -1
  121. package/dist-types/commands/TerminateWorkspacesCommand.d.ts +1 -1
  122. package/dist-types/commands/TerminateWorkspacesPoolCommand.d.ts +1 -1
  123. package/dist-types/commands/TerminateWorkspacesPoolSessionCommand.d.ts +1 -1
  124. package/dist-types/commands/UpdateAgenticConnectorActivationStatusCommand.d.ts +142 -0
  125. package/dist-types/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  126. package/dist-types/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  127. package/dist-types/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  128. package/dist-types/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  129. package/dist-types/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  130. package/dist-types/commands/UpdateWorkspacesPoolCommand.d.ts +1 -1
  131. package/dist-types/commands/index.d.ts +37 -0
  132. package/dist-types/index.d.ts +1 -0
  133. package/dist-types/models/enums.d.ts +278 -0
  134. package/dist-types/models/errors.d.ts +72 -4
  135. package/dist-types/models/models_0.d.ts +4071 -2818
  136. package/dist-types/models/models_1.d.ts +918 -0
  137. package/dist-types/pagination/ListAccountModelsPaginator.d.ts +7 -0
  138. package/dist-types/pagination/ListAgentEnforcedPoliciesPaginator.d.ts +7 -0
  139. package/dist-types/pagination/ListAgenticConnectorsPaginator.d.ts +7 -0
  140. package/dist-types/pagination/ListAgenticContextsPaginator.d.ts +7 -0
  141. package/dist-types/pagination/ListAgenticPersonaConfigurationsPaginator.d.ts +7 -0
  142. package/dist-types/pagination/ListSupportedModelsPaginator.d.ts +7 -0
  143. package/dist-types/pagination/ListWorkspaceEnforcedPoliciesPaginator.d.ts +7 -0
  144. package/dist-types/pagination/index.d.ts +7 -0
  145. package/dist-types/schemas/schemas_0.d.ts +148 -0
  146. package/dist-types/ts3.4/WorkSpaces.d.ts +687 -0
  147. package/dist-types/ts3.4/WorkSpacesClient.d.ts +222 -0
  148. package/dist-types/ts3.4/commands/AssociateAccountModelsCommand.d.ts +39 -0
  149. package/dist-types/ts3.4/commands/AssociateAgentEnforcedPolicyCommand.d.ts +42 -0
  150. package/dist-types/ts3.4/commands/AssociateWorkspaceAgenticConnectorsCommand.d.ts +42 -0
  151. package/dist-types/ts3.4/commands/AssociateWorkspaceAgenticContextsCommand.d.ts +42 -0
  152. package/dist-types/ts3.4/commands/AssociateWorkspaceEnforcedPolicyCommand.d.ts +42 -0
  153. package/dist-types/ts3.4/commands/AssociateWorkspaceModelsCommand.d.ts +42 -0
  154. package/dist-types/ts3.4/commands/BatchGetAgentEnforcedPolicyCommand.d.ts +42 -0
  155. package/dist-types/ts3.4/commands/BatchGetAgentRuntimeCommand.d.ts +39 -0
  156. package/dist-types/ts3.4/commands/BatchGetAgenticConnectorCommand.d.ts +42 -0
  157. package/dist-types/ts3.4/commands/BatchGetAgenticContextMetadataCommand.d.ts +42 -0
  158. package/dist-types/ts3.4/commands/BatchGetAgenticPersonaConfigurationCommand.d.ts +42 -0
  159. package/dist-types/ts3.4/commands/BatchGetModelCommand.d.ts +38 -0
  160. package/dist-types/ts3.4/commands/BatchGetWorkspaceEnforcedPolicyCommand.d.ts +42 -0
  161. package/dist-types/ts3.4/commands/CreateAgentEnforcedPolicyCommand.d.ts +42 -0
  162. package/dist-types/ts3.4/commands/CreateAgenticContextCommand.d.ts +39 -0
  163. package/dist-types/ts3.4/commands/CreateAgenticPersonaConfigurationCommand.d.ts +42 -0
  164. package/dist-types/ts3.4/commands/CreateWorkspaceEnforcedPolicyCommand.d.ts +42 -0
  165. package/dist-types/ts3.4/commands/DeleteAgentEnforcedPolicyCommand.d.ts +42 -0
  166. package/dist-types/ts3.4/commands/DeleteAgenticContextCommand.d.ts +39 -0
  167. package/dist-types/ts3.4/commands/DeleteAgenticPersonaConfigurationCommand.d.ts +42 -0
  168. package/dist-types/ts3.4/commands/DeleteWorkspaceEnforcedPolicyCommand.d.ts +42 -0
  169. package/dist-types/ts3.4/commands/DisassociateAccountModelsCommand.d.ts +42 -0
  170. package/dist-types/ts3.4/commands/DisassociateWorkspaceAgenticConnectorsCommand.d.ts +42 -0
  171. package/dist-types/ts3.4/commands/DisassociateWorkspaceAgenticContextsCommand.d.ts +42 -0
  172. package/dist-types/ts3.4/commands/DisassociateWorkspaceModelsCommand.d.ts +42 -0
  173. package/dist-types/ts3.4/commands/GetAgenticAccountSetupCommand.d.ts +39 -0
  174. package/dist-types/ts3.4/commands/GetAgenticContextCommand.d.ts +38 -0
  175. package/dist-types/ts3.4/commands/GetAgenticWorkspaceConfigurationCommand.d.ts +42 -0
  176. package/dist-types/ts3.4/commands/ListAccountModelsCommand.d.ts +38 -0
  177. package/dist-types/ts3.4/commands/ListAgentEnforcedPoliciesCommand.d.ts +42 -0
  178. package/dist-types/ts3.4/commands/ListAgenticConnectorsCommand.d.ts +39 -0
  179. package/dist-types/ts3.4/commands/ListAgenticContextsCommand.d.ts +39 -0
  180. package/dist-types/ts3.4/commands/ListAgenticPersonaConfigurationsCommand.d.ts +42 -0
  181. package/dist-types/ts3.4/commands/ListSupportedModelsCommand.d.ts +39 -0
  182. package/dist-types/ts3.4/commands/ListWorkspaceEnforcedPoliciesCommand.d.ts +42 -0
  183. package/dist-types/ts3.4/commands/ModifyAccountCommand.d.ts +1 -1
  184. package/dist-types/ts3.4/commands/ModifyCertificateBasedAuthPropertiesCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/ModifyClientPropertiesCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/ModifyEndpointEncryptionModeCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/ModifySamlPropertiesCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/ModifySelfservicePermissionsCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/ModifyStreamingPropertiesCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +1 -1
  192. package/dist-types/ts3.4/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -1
  193. package/dist-types/ts3.4/commands/ModifyWorkspaceStateCommand.d.ts +1 -1
  194. package/dist-types/ts3.4/commands/RebootWorkspacesCommand.d.ts +1 -1
  195. package/dist-types/ts3.4/commands/RebuildWorkspacesCommand.d.ts +1 -1
  196. package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +1 -1
  197. package/dist-types/ts3.4/commands/RejectAccountLinkInvitationCommand.d.ts +1 -1
  198. package/dist-types/ts3.4/commands/RestoreWorkspaceCommand.d.ts +1 -1
  199. package/dist-types/ts3.4/commands/RevokeIpRulesCommand.d.ts +1 -1
  200. package/dist-types/ts3.4/commands/StartAgenticAccountSetupCommand.d.ts +42 -0
  201. package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +1 -1
  202. package/dist-types/ts3.4/commands/StartWorkspacesPoolCommand.d.ts +1 -1
  203. package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +1 -1
  204. package/dist-types/ts3.4/commands/StopWorkspacesPoolCommand.d.ts +1 -1
  205. package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +1 -1
  206. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolCommand.d.ts +1 -1
  207. package/dist-types/ts3.4/commands/TerminateWorkspacesPoolSessionCommand.d.ts +1 -1
  208. package/dist-types/ts3.4/commands/UpdateAgenticConnectorActivationStatusCommand.d.ts +42 -0
  209. package/dist-types/ts3.4/commands/UpdateConnectClientAddInCommand.d.ts +1 -1
  210. package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +1 -1
  211. package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +1 -1
  212. package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +1 -1
  213. package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +1 -1
  214. package/dist-types/ts3.4/commands/UpdateWorkspacesPoolCommand.d.ts +1 -1
  215. package/dist-types/ts3.4/commands/index.d.ts +37 -0
  216. package/dist-types/ts3.4/index.d.ts +1 -0
  217. package/dist-types/ts3.4/models/enums.d.ts +146 -0
  218. package/dist-types/ts3.4/models/errors.d.ts +24 -0
  219. package/dist-types/ts3.4/models/models_0.d.ts +462 -203
  220. package/dist-types/ts3.4/models/models_1.d.ts +255 -0
  221. package/dist-types/ts3.4/pagination/ListAccountModelsPaginator.d.ts +11 -0
  222. package/dist-types/ts3.4/pagination/ListAgentEnforcedPoliciesPaginator.d.ts +11 -0
  223. package/dist-types/ts3.4/pagination/ListAgenticConnectorsPaginator.d.ts +11 -0
  224. package/dist-types/ts3.4/pagination/ListAgenticContextsPaginator.d.ts +11 -0
  225. package/dist-types/ts3.4/pagination/ListAgenticPersonaConfigurationsPaginator.d.ts +11 -0
  226. package/dist-types/ts3.4/pagination/ListSupportedModelsPaginator.d.ts +11 -0
  227. package/dist-types/ts3.4/pagination/ListWorkspaceEnforcedPoliciesPaginator.d.ts +11 -0
  228. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  229. package/dist-types/ts3.4/schemas/schemas_0.d.ts +148 -0
  230. package/package.json +1 -1
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteAgenticPersonaConfigurationRequest, DeleteAgenticPersonaConfigurationResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteAgenticPersonaConfigurationCommand}.
11
+ */
12
+ export interface DeleteAgenticPersonaConfigurationCommandInput extends DeleteAgenticPersonaConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteAgenticPersonaConfigurationCommand}.
18
+ */
19
+ export interface DeleteAgenticPersonaConfigurationCommandOutput extends DeleteAgenticPersonaConfigurationResult, __MetadataBearer {
20
+ }
21
+ declare const DeleteAgenticPersonaConfigurationCommand_base: {
22
+ new (input: DeleteAgenticPersonaConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgenticPersonaConfigurationCommandInput, DeleteAgenticPersonaConfigurationCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAgenticPersonaConfigurationCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgenticPersonaConfigurationCommandInput, DeleteAgenticPersonaConfigurationCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes an agentic persona configuration. You can't undo this action. Deleting a persona configuration doesn't affect WorkSpaces that you already created with it. If another request is already deleting the persona configuration, the operation returns <code>ConflictException</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, DeleteAgenticPersonaConfigurationCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, DeleteAgenticPersonaConfigurationCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
33
+ * // import type { WorkSpacesClientConfig } from "@aws-sdk/client-workspaces";
34
+ * const config = {}; // type is WorkSpacesClientConfig
35
+ * const client = new WorkSpacesClient(config);
36
+ * const input = { // DeleteAgenticPersonaConfigurationRequest
37
+ * AgenticPersonaConfigurationId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteAgenticPersonaConfigurationCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteAgenticPersonaConfigurationCommandInput - {@link DeleteAgenticPersonaConfigurationCommandInput}
46
+ * @returns {@link DeleteAgenticPersonaConfigurationCommandOutput}
47
+ * @see {@link DeleteAgenticPersonaConfigurationCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteAgenticPersonaConfigurationCommandOutput} for command's `response` shape.
49
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>The user is not authorized to access a resource.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>The resource could not be found.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
65
+ *
66
+ * @throws {@link WorkSpacesServiceException}
67
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
68
+ *
69
+ *
70
+ * @example Example – Deleting a persona configuration
71
+ * ```javascript
72
+ * // The following example deletes a persona configuration.
73
+ * const input = {
74
+ * AgenticPersonaConfigurationId: "wsapc-a1b2c3d4"
75
+ * };
76
+ * const command = new DeleteAgenticPersonaConfigurationCommand(input);
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * { /* empty *\/ }
80
+ * *\/
81
+ * ```
82
+ *
83
+ * @public
84
+ */
85
+ export declare class DeleteAgenticPersonaConfigurationCommand extends DeleteAgenticPersonaConfigurationCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: DeleteAgenticPersonaConfigurationRequest;
90
+ output: {};
91
+ };
92
+ sdk: {
93
+ input: DeleteAgenticPersonaConfigurationCommandInput;
94
+ output: DeleteAgenticPersonaConfigurationCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteWorkspaceEnforcedPolicyRequest, DeleteWorkspaceEnforcedPolicyResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteWorkspaceEnforcedPolicyCommand}.
11
+ */
12
+ export interface DeleteWorkspaceEnforcedPolicyCommandInput extends DeleteWorkspaceEnforcedPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteWorkspaceEnforcedPolicyCommand}.
18
+ */
19
+ export interface DeleteWorkspaceEnforcedPolicyCommandOutput extends DeleteWorkspaceEnforcedPolicyResult, __MetadataBearer {
20
+ }
21
+ declare const DeleteWorkspaceEnforcedPolicyCommand_base: {
22
+ new (input: DeleteWorkspaceEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteWorkspaceEnforcedPolicyCommandInput, DeleteWorkspaceEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteWorkspaceEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteWorkspaceEnforcedPolicyCommandInput, DeleteWorkspaceEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes a WorkSpace-enforced policy that you created. You can't undo this action. You can't delete a policy that Amazon owns. If you try, the operation returns <code>ValidationException</code>. You can't delete a policy that a persona configuration or a WorkSpace uses. If you try, the operation returns <code>ConflictException</code>, and its <code>ResourceId</code> identifies a persona configuration or WorkSpace that uses the policy.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, DeleteWorkspaceEnforcedPolicyCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, DeleteWorkspaceEnforcedPolicyCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
33
+ * // import type { WorkSpacesClientConfig } from "@aws-sdk/client-workspaces";
34
+ * const config = {}; // type is WorkSpacesClientConfig
35
+ * const client = new WorkSpacesClient(config);
36
+ * const input = { // DeleteWorkspaceEnforcedPolicyRequest
37
+ * PolicyId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteWorkspaceEnforcedPolicyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteWorkspaceEnforcedPolicyCommandInput - {@link DeleteWorkspaceEnforcedPolicyCommandInput}
46
+ * @returns {@link DeleteWorkspaceEnforcedPolicyCommandOutput}
47
+ * @see {@link DeleteWorkspaceEnforcedPolicyCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteWorkspaceEnforcedPolicyCommandOutput} for command's `response` shape.
49
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>The user is not authorized to access a resource.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>The resource could not be found.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
65
+ *
66
+ * @throws {@link WorkSpacesServiceException}
67
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
68
+ *
69
+ *
70
+ * @example Example – Deleting a WorkSpace-enforced policy
71
+ * ```javascript
72
+ * // The following example deletes a WorkSpace-enforced policy.
73
+ * const input = {
74
+ * PolicyId: "wsep-a1b2c3d4"
75
+ * };
76
+ * const command = new DeleteWorkspaceEnforcedPolicyCommand(input);
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * { /* empty *\/ }
80
+ * *\/
81
+ * ```
82
+ *
83
+ * @public
84
+ */
85
+ export declare class DeleteWorkspaceEnforcedPolicyCommand extends DeleteWorkspaceEnforcedPolicyCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: DeleteWorkspaceEnforcedPolicyRequest;
90
+ output: {};
91
+ };
92
+ sdk: {
93
+ input: DeleteWorkspaceEnforcedPolicyCommandInput;
94
+ output: DeleteWorkspaceEnforcedPolicyCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -107,6 +107,7 @@ declare const DescribeWorkspacesCommand_base: {
107
107
  * // RecoverySnapshotTime: new Date("TIMESTAMP"),
108
108
  * // },
109
109
  * // ],
110
+ * // WorkspaceCategory: "PERSONAL" || "AGENTIC",
110
111
  * // },
111
112
  * // ],
112
113
  * // NextToken: "STRING_VALUE",
@@ -0,0 +1,99 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DisassociateAccountModelsRequest, DisassociateAccountModelsResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DisassociateAccountModelsCommand}.
11
+ */
12
+ export interface DisassociateAccountModelsCommandInput extends DisassociateAccountModelsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DisassociateAccountModelsCommand}.
18
+ */
19
+ export interface DisassociateAccountModelsCommandOutput extends DisassociateAccountModelsResult, __MetadataBearer {
20
+ }
21
+ declare const DisassociateAccountModelsCommand_base: {
22
+ new (input: DisassociateAccountModelsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateAccountModelsCommandInput, DisassociateAccountModelsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisassociateAccountModelsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateAccountModelsCommandInput, DisassociateAccountModelsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Removes models from your account's model list. The operation ignores models that aren't on the list. WorkSpaces and persona configurations that use a removed model continue to reference it in their configuration, but the service blocks requests to the model. Your account must keep at least one model. If the request would remove the last model, the operation returns <code>ValidationException</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, DisassociateAccountModelsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, DisassociateAccountModelsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
33
+ * // import type { WorkSpacesClientConfig } from "@aws-sdk/client-workspaces";
34
+ * const config = {}; // type is WorkSpacesClientConfig
35
+ * const client = new WorkSpacesClient(config);
36
+ * const input = { // DisassociateAccountModelsRequest
37
+ * ModelIds: [ // AccountModelIdList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
41
+ * const command = new DisassociateAccountModelsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DisassociateAccountModelsCommandInput - {@link DisassociateAccountModelsCommandInput}
48
+ * @returns {@link DisassociateAccountModelsCommandOutput}
49
+ * @see {@link DisassociateAccountModelsCommandInput} for command's `input` shape.
50
+ * @see {@link DisassociateAccountModelsCommandOutput} for command's `response` shape.
51
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>The user is not authorized to access a resource.</p>
55
+ *
56
+ * @throws {@link ConflictException} (client fault)
57
+ * <p>The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.</p>
58
+ *
59
+ * @throws {@link ThrottlingException} (client fault)
60
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
61
+ *
62
+ * @throws {@link ValidationException} (client fault)
63
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
64
+ *
65
+ * @throws {@link WorkSpacesServiceException}
66
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
67
+ *
68
+ *
69
+ * @example Example – Removing models from an account
70
+ * ```javascript
71
+ * // The following example removes two models from the account's model list.
72
+ * const input = {
73
+ * ModelIds: [
74
+ * "anthropic.claude-opus-5-5",
75
+ * "anthropic.claude-haiku-5-5"
76
+ * ]
77
+ * };
78
+ * const command = new DisassociateAccountModelsCommand(input);
79
+ * const response = await client.send(command);
80
+ * /* response is
81
+ * { /* empty *\/ }
82
+ * *\/
83
+ * ```
84
+ *
85
+ * @public
86
+ */
87
+ export declare class DisassociateAccountModelsCommand extends DisassociateAccountModelsCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: DisassociateAccountModelsRequest;
92
+ output: {};
93
+ };
94
+ sdk: {
95
+ input: DisassociateAccountModelsCommandInput;
96
+ output: DisassociateAccountModelsCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DisassociateWorkspaceAgenticConnectorsRequest, DisassociateWorkspaceAgenticConnectorsResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DisassociateWorkspaceAgenticConnectorsCommand}.
11
+ */
12
+ export interface DisassociateWorkspaceAgenticConnectorsCommandInput extends DisassociateWorkspaceAgenticConnectorsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DisassociateWorkspaceAgenticConnectorsCommand}.
18
+ */
19
+ export interface DisassociateWorkspaceAgenticConnectorsCommandOutput extends DisassociateWorkspaceAgenticConnectorsResult, __MetadataBearer {
20
+ }
21
+ declare const DisassociateWorkspaceAgenticConnectorsCommand_base: {
22
+ new (input: DisassociateWorkspaceAgenticConnectorsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateWorkspaceAgenticConnectorsCommandInput, DisassociateWorkspaceAgenticConnectorsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisassociateWorkspaceAgenticConnectorsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateWorkspaceAgenticConnectorsCommandInput, DisassociateWorkspaceAgenticConnectorsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Disassociates agentic connectors from the specified WorkSpace. The operation ignores connectors that aren't associated with the WorkSpace. If the WorkSpace is in a state that doesn't allow the change, the operation returns <code>ConflictException</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, DisassociateWorkspaceAgenticConnectorsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, DisassociateWorkspaceAgenticConnectorsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
33
+ * // import type { WorkSpacesClientConfig } from "@aws-sdk/client-workspaces";
34
+ * const config = {}; // type is WorkSpacesClientConfig
35
+ * const client = new WorkSpacesClient(config);
36
+ * const input = { // DisassociateWorkspaceAgenticConnectorsRequest
37
+ * WorkspaceId: "STRING_VALUE", // required
38
+ * AgenticConnectorIds: [ // WorkspaceAgenticConnectorIdList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new DisassociateWorkspaceAgenticConnectorsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DisassociateWorkspaceAgenticConnectorsCommandInput - {@link DisassociateWorkspaceAgenticConnectorsCommandInput}
49
+ * @returns {@link DisassociateWorkspaceAgenticConnectorsCommandOutput}
50
+ * @see {@link DisassociateWorkspaceAgenticConnectorsCommandInput} for command's `input` shape.
51
+ * @see {@link DisassociateWorkspaceAgenticConnectorsCommandOutput} for command's `response` shape.
52
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>The user is not authorized to access a resource.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The resource could not be found.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
68
+ *
69
+ * @throws {@link WorkSpacesServiceException}
70
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
71
+ *
72
+ *
73
+ * @example Example – Removing a connector from a WorkSpace
74
+ * ```javascript
75
+ * // The following example removes a connector from an agentic WorkSpace.
76
+ * const input = {
77
+ * AgenticConnectorIds: [
78
+ * "wsacn-jira"
79
+ * ],
80
+ * WorkspaceId: "ws-dk1example1"
81
+ * };
82
+ * const command = new DisassociateWorkspaceAgenticConnectorsCommand(input);
83
+ * const response = await client.send(command);
84
+ * /* response is
85
+ * { /* empty *\/ }
86
+ * *\/
87
+ * ```
88
+ *
89
+ * @public
90
+ */
91
+ export declare class DisassociateWorkspaceAgenticConnectorsCommand extends DisassociateWorkspaceAgenticConnectorsCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: DisassociateWorkspaceAgenticConnectorsRequest;
96
+ output: {};
97
+ };
98
+ sdk: {
99
+ input: DisassociateWorkspaceAgenticConnectorsCommandInput;
100
+ output: DisassociateWorkspaceAgenticConnectorsCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DisassociateWorkspaceAgenticContextsRequest, DisassociateWorkspaceAgenticContextsResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DisassociateWorkspaceAgenticContextsCommand}.
11
+ */
12
+ export interface DisassociateWorkspaceAgenticContextsCommandInput extends DisassociateWorkspaceAgenticContextsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DisassociateWorkspaceAgenticContextsCommand}.
18
+ */
19
+ export interface DisassociateWorkspaceAgenticContextsCommandOutput extends DisassociateWorkspaceAgenticContextsResult, __MetadataBearer {
20
+ }
21
+ declare const DisassociateWorkspaceAgenticContextsCommand_base: {
22
+ new (input: DisassociateWorkspaceAgenticContextsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateWorkspaceAgenticContextsCommandInput, DisassociateWorkspaceAgenticContextsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisassociateWorkspaceAgenticContextsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateWorkspaceAgenticContextsCommandInput, DisassociateWorkspaceAgenticContextsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Disassociates agentic contexts from the specified WorkSpace. The operation ignores contexts that aren't associated with the WorkSpace. If the WorkSpace is in a state that doesn't allow the change, the operation returns <code>ConflictException</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, DisassociateWorkspaceAgenticContextsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, DisassociateWorkspaceAgenticContextsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
33
+ * // import type { WorkSpacesClientConfig } from "@aws-sdk/client-workspaces";
34
+ * const config = {}; // type is WorkSpacesClientConfig
35
+ * const client = new WorkSpacesClient(config);
36
+ * const input = { // DisassociateWorkspaceAgenticContextsRequest
37
+ * WorkspaceId: "STRING_VALUE", // required
38
+ * AgenticContextIds: [ // WorkspaceAgenticContextIdList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new DisassociateWorkspaceAgenticContextsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DisassociateWorkspaceAgenticContextsCommandInput - {@link DisassociateWorkspaceAgenticContextsCommandInput}
49
+ * @returns {@link DisassociateWorkspaceAgenticContextsCommandOutput}
50
+ * @see {@link DisassociateWorkspaceAgenticContextsCommandInput} for command's `input` shape.
51
+ * @see {@link DisassociateWorkspaceAgenticContextsCommandOutput} for command's `response` shape.
52
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>The user is not authorized to access a resource.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The resource could not be found.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
68
+ *
69
+ * @throws {@link WorkSpacesServiceException}
70
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
71
+ *
72
+ *
73
+ * @example Example – Removing a context from a WorkSpace
74
+ * ```javascript
75
+ * // The following example removes a context from an agentic WorkSpace.
76
+ * const input = {
77
+ * AgenticContextIds: [
78
+ * "wsactx-e5f6g7h8"
79
+ * ],
80
+ * WorkspaceId: "ws-dk1example1"
81
+ * };
82
+ * const command = new DisassociateWorkspaceAgenticContextsCommand(input);
83
+ * const response = await client.send(command);
84
+ * /* response is
85
+ * { /* empty *\/ }
86
+ * *\/
87
+ * ```
88
+ *
89
+ * @public
90
+ */
91
+ export declare class DisassociateWorkspaceAgenticContextsCommand extends DisassociateWorkspaceAgenticContextsCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: DisassociateWorkspaceAgenticContextsRequest;
96
+ output: {};
97
+ };
98
+ sdk: {
99
+ input: DisassociateWorkspaceAgenticContextsCommandInput;
100
+ output: DisassociateWorkspaceAgenticContextsCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -0,0 +1,103 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DisassociateWorkspaceModelsRequest, DisassociateWorkspaceModelsResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DisassociateWorkspaceModelsCommand}.
11
+ */
12
+ export interface DisassociateWorkspaceModelsCommandInput extends DisassociateWorkspaceModelsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DisassociateWorkspaceModelsCommand}.
18
+ */
19
+ export interface DisassociateWorkspaceModelsCommandOutput extends DisassociateWorkspaceModelsResult, __MetadataBearer {
20
+ }
21
+ declare const DisassociateWorkspaceModelsCommand_base: {
22
+ new (input: DisassociateWorkspaceModelsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateWorkspaceModelsCommandInput, DisassociateWorkspaceModelsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisassociateWorkspaceModelsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateWorkspaceModelsCommandInput, DisassociateWorkspaceModelsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Disassociates models from the specified WorkSpace. The operation ignores models that aren't associated with the WorkSpace. A WorkSpace must keep at least one model. If the request would remove the last model, the operation returns <code>ValidationException</code>. If the WorkSpace is in a state that doesn't allow the change, the operation returns <code>ConflictException</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, DisassociateWorkspaceModelsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, DisassociateWorkspaceModelsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
33
+ * // import type { WorkSpacesClientConfig } from "@aws-sdk/client-workspaces";
34
+ * const config = {}; // type is WorkSpacesClientConfig
35
+ * const client = new WorkSpacesClient(config);
36
+ * const input = { // DisassociateWorkspaceModelsRequest
37
+ * WorkspaceId: "STRING_VALUE", // required
38
+ * ModelIds: [ // WorkspaceModelIdList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new DisassociateWorkspaceModelsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DisassociateWorkspaceModelsCommandInput - {@link DisassociateWorkspaceModelsCommandInput}
49
+ * @returns {@link DisassociateWorkspaceModelsCommandOutput}
50
+ * @see {@link DisassociateWorkspaceModelsCommandInput} for command's `input` shape.
51
+ * @see {@link DisassociateWorkspaceModelsCommandOutput} for command's `response` shape.
52
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>The user is not authorized to access a resource.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>The resource could not be found.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
68
+ *
69
+ * @throws {@link WorkSpacesServiceException}
70
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
71
+ *
72
+ *
73
+ * @example Example – Removing a model from a WorkSpace
74
+ * ```javascript
75
+ * // The following example removes a model from an agentic WorkSpace.
76
+ * const input = {
77
+ * ModelIds: [
78
+ * "anthropic.claude-opus-5-5"
79
+ * ],
80
+ * WorkspaceId: "ws-dk1example1"
81
+ * };
82
+ * const command = new DisassociateWorkspaceModelsCommand(input);
83
+ * const response = await client.send(command);
84
+ * /* response is
85
+ * { /* empty *\/ }
86
+ * *\/
87
+ * ```
88
+ *
89
+ * @public
90
+ */
91
+ export declare class DisassociateWorkspaceModelsCommand extends DisassociateWorkspaceModelsCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: DisassociateWorkspaceModelsRequest;
96
+ output: {};
97
+ };
98
+ sdk: {
99
+ input: DisassociateWorkspaceModelsCommandInput;
100
+ output: DisassociateWorkspaceModelsCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -60,14 +60,13 @@ declare const GetAccountLinkCommand_base: {
60
60
  * <p>The user is not authorized to access a resource.</p>
61
61
  *
62
62
  * @throws {@link InternalServerException} (client fault)
63
- * <p>Unexpected server error occured.</p>
63
+ * <p>An unexpected server error occurred. Retry your request.</p>
64
64
  *
65
65
  * @throws {@link ResourceNotFoundException} (client fault)
66
66
  * <p>The resource could not be found.</p>
67
67
  *
68
68
  * @throws {@link ValidationException} (client fault)
69
- * <p>You either haven't provided a <code>TargetAccountId</code> or
70
- * are using the same value for <code>TargetAccountId</code> and <code>SourceAccountId</code>.</p>
69
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
71
70
  *
72
71
  * @throws {@link WorkSpacesServiceException}
73
72
  * <p>Base exception class for all service exceptions from WorkSpaces service.</p>