@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,102 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { AssociateWorkspaceEnforcedPolicyRequest, AssociateWorkspaceEnforcedPolicyResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link AssociateWorkspaceEnforcedPolicyCommand}.
11
+ */
12
+ export interface AssociateWorkspaceEnforcedPolicyCommandInput extends AssociateWorkspaceEnforcedPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link AssociateWorkspaceEnforcedPolicyCommand}.
18
+ */
19
+ export interface AssociateWorkspaceEnforcedPolicyCommandOutput extends AssociateWorkspaceEnforcedPolicyResult, __MetadataBearer {
20
+ }
21
+ declare const AssociateWorkspaceEnforcedPolicyCommand_base: {
22
+ new (input: AssociateWorkspaceEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<AssociateWorkspaceEnforcedPolicyCommandInput, AssociateWorkspaceEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateWorkspaceEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<AssociateWorkspaceEnforcedPolicyCommandInput, AssociateWorkspaceEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Associates a WorkSpace-enforced policy with the specified WorkSpace, replacing its current WorkSpace-enforced policy. If the WorkSpace can't apply the policy, the policy stays associated and the operation returns <code>PolicyApplyFailedException</code>. If the WorkSpace is in a state that doesn't allow the change, the policy is being deleted, or another request changed the WorkSpace's WorkSpace-enforced policy at the same time, 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, AssociateWorkspaceEnforcedPolicyCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, AssociateWorkspaceEnforcedPolicyCommand } = 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 = { // AssociateWorkspaceEnforcedPolicyRequest
37
+ * WorkspaceId: "STRING_VALUE", // required
38
+ * PolicyId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new AssociateWorkspaceEnforcedPolicyCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param AssociateWorkspaceEnforcedPolicyCommandInput - {@link AssociateWorkspaceEnforcedPolicyCommandInput}
47
+ * @returns {@link AssociateWorkspaceEnforcedPolicyCommandOutput}
48
+ * @see {@link AssociateWorkspaceEnforcedPolicyCommandInput} for command's `input` shape.
49
+ * @see {@link AssociateWorkspaceEnforcedPolicyCommandOutput} for command's `response` shape.
50
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>The user is not authorized to access a resource.</p>
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * <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>
57
+ *
58
+ * @throws {@link PolicyApplyFailedException} (client fault)
59
+ * <p>The service associated the enforced policy, but it couldn't apply it: the WorkSpace or its agent rejected it, or the service couldn't deliver it to the WorkSpace. Don't retry. Fix the policy and associate it again. To see why, call <code>GetAgenticWorkspaceConfiguration</code>.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The resource could not be found.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
69
+ *
70
+ * @throws {@link WorkSpacesServiceException}
71
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
72
+ *
73
+ *
74
+ * @example Example – Applying a WorkSpace-enforced policy to a WorkSpace
75
+ * ```javascript
76
+ * // The following example applies a WorkSpace-enforced policy to a WorkSpace.
77
+ * const input = {
78
+ * PolicyId: "wsep-a1b2c3d4",
79
+ * WorkspaceId: "ws-dk1example1"
80
+ * };
81
+ * const command = new AssociateWorkspaceEnforcedPolicyCommand(input);
82
+ * const response = await client.send(command);
83
+ * /* response is
84
+ * { /* empty *\/ }
85
+ * *\/
86
+ * ```
87
+ *
88
+ * @public
89
+ */
90
+ export declare class AssociateWorkspaceEnforcedPolicyCommand extends AssociateWorkspaceEnforcedPolicyCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: AssociateWorkspaceEnforcedPolicyRequest;
95
+ output: {};
96
+ };
97
+ sdk: {
98
+ input: AssociateWorkspaceEnforcedPolicyCommandInput;
99
+ output: AssociateWorkspaceEnforcedPolicyCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -0,0 +1,106 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { AssociateWorkspaceModelsRequest, AssociateWorkspaceModelsResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link AssociateWorkspaceModelsCommand}.
11
+ */
12
+ export interface AssociateWorkspaceModelsCommandInput extends AssociateWorkspaceModelsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link AssociateWorkspaceModelsCommand}.
18
+ */
19
+ export interface AssociateWorkspaceModelsCommandOutput extends AssociateWorkspaceModelsResult, __MetadataBearer {
20
+ }
21
+ declare const AssociateWorkspaceModelsCommand_base: {
22
+ new (input: AssociateWorkspaceModelsCommandInput): import("@smithy/core/client").CommandImpl<AssociateWorkspaceModelsCommandInput, AssociateWorkspaceModelsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateWorkspaceModelsCommandInput): import("@smithy/core/client").CommandImpl<AssociateWorkspaceModelsCommandInput, AssociateWorkspaceModelsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Associates models with the specified WorkSpace. The models must be on your account's model list. The operation ignores models that are already associated with the WorkSpace. A WorkSpace can have up to 25 models. If the request would exceed this limit, the operation returns <code>ServiceQuotaExceededException</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, AssociateWorkspaceModelsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, AssociateWorkspaceModelsCommand } = 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 = { // AssociateWorkspaceModelsRequest
37
+ * WorkspaceId: "STRING_VALUE", // required
38
+ * ModelIds: [ // WorkspaceModelIdList // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * };
42
+ * const command = new AssociateWorkspaceModelsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param AssociateWorkspaceModelsCommandInput - {@link AssociateWorkspaceModelsCommandInput}
49
+ * @returns {@link AssociateWorkspaceModelsCommandOutput}
50
+ * @see {@link AssociateWorkspaceModelsCommandInput} for command's `input` shape.
51
+ * @see {@link AssociateWorkspaceModelsCommandOutput} 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 ServiceQuotaExceededException} (client fault)
64
+ * <p>The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
71
+ *
72
+ * @throws {@link WorkSpacesServiceException}
73
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
74
+ *
75
+ *
76
+ * @example Example – Adding a model to a WorkSpace
77
+ * ```javascript
78
+ * // The following example adds a model to an agentic WorkSpace. The model must already be on your account's model list. To add it, call AssociateAccountModels.
79
+ * const input = {
80
+ * ModelIds: [
81
+ * "anthropic.claude-opus-5-5"
82
+ * ],
83
+ * WorkspaceId: "ws-dk1example1"
84
+ * };
85
+ * const command = new AssociateWorkspaceModelsCommand(input);
86
+ * const response = await client.send(command);
87
+ * /* response is
88
+ * { /* empty *\/ }
89
+ * *\/
90
+ * ```
91
+ *
92
+ * @public
93
+ */
94
+ export declare class AssociateWorkspaceModelsCommand extends AssociateWorkspaceModelsCommand_base {
95
+ /** @internal type navigation helper, not in runtime. */
96
+ protected static __types: {
97
+ api: {
98
+ input: AssociateWorkspaceModelsRequest;
99
+ output: {};
100
+ };
101
+ sdk: {
102
+ input: AssociateWorkspaceModelsCommandInput;
103
+ output: AssociateWorkspaceModelsCommandOutput;
104
+ };
105
+ };
106
+ }
@@ -0,0 +1,123 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { BatchGetAgentEnforcedPolicyRequest, BatchGetAgentEnforcedPolicyResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link BatchGetAgentEnforcedPolicyCommand}.
11
+ */
12
+ export interface BatchGetAgentEnforcedPolicyCommandInput extends BatchGetAgentEnforcedPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link BatchGetAgentEnforcedPolicyCommand}.
18
+ */
19
+ export interface BatchGetAgentEnforcedPolicyCommandOutput extends BatchGetAgentEnforcedPolicyResult, __MetadataBearer {
20
+ }
21
+ declare const BatchGetAgentEnforcedPolicyCommand_base: {
22
+ new (input: BatchGetAgentEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgentEnforcedPolicyCommandInput, BatchGetAgentEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchGetAgentEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgentEnforcedPolicyCommandInput, BatchGetAgentEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes the specified agent-enforced policies.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, BatchGetAgentEnforcedPolicyCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, BatchGetAgentEnforcedPolicyCommand } = 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 = { // BatchGetAgentEnforcedPolicyRequest
37
+ * PolicyIds: [ // AgentEnforcedPolicyLookupIdList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
41
+ * const command = new BatchGetAgentEnforcedPolicyCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // BatchGetAgentEnforcedPolicyResult
44
+ * // Policies: [ // AgentEnforcedPolicyList // required
45
+ * // { // AgentEnforcedPolicy
46
+ * // Id: "STRING_VALUE", // required
47
+ * // Name: "STRING_VALUE", // required
48
+ * // PolicyBody: "STRING_VALUE", // required
49
+ * // CreatedAt: new Date("TIMESTAMP"), // required
50
+ * // Owner: "SELF" || "AMAZON", // required
51
+ * // },
52
+ * // ],
53
+ * // Errors: [ // AgentEnforcedPolicyErrorList // required
54
+ * // { // AgentEnforcedPolicyError
55
+ * // PolicyId: "STRING_VALUE", // required
56
+ * // ErrorCode: "NOT_FOUND", // required
57
+ * // Message: "STRING_VALUE", // required
58
+ * // },
59
+ * // ],
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param BatchGetAgentEnforcedPolicyCommandInput - {@link BatchGetAgentEnforcedPolicyCommandInput}
65
+ * @returns {@link BatchGetAgentEnforcedPolicyCommandOutput}
66
+ * @see {@link BatchGetAgentEnforcedPolicyCommandInput} for command's `input` shape.
67
+ * @see {@link BatchGetAgentEnforcedPolicyCommandOutput} for command's `response` shape.
68
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
69
+ *
70
+ * @throws {@link AccessDeniedException} (client fault)
71
+ * <p>The user is not authorized to access a resource.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
75
+ *
76
+ * @throws {@link ValidationException} (client fault)
77
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
78
+ *
79
+ * @throws {@link WorkSpacesServiceException}
80
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
81
+ *
82
+ *
83
+ * @example Example – Getting an agent-enforced policy
84
+ * ```javascript
85
+ * // The following example gets an agent-enforced policy, including its policy document.
86
+ * const input = {
87
+ * PolicyIds: [
88
+ * "wsae-a1b2c3d4"
89
+ * ]
90
+ * };
91
+ * const command = new BatchGetAgentEnforcedPolicyCommand(input);
92
+ * const response = await client.send(command);
93
+ * /* response is
94
+ * {
95
+ * Errors: [],
96
+ * Policies: [
97
+ * {
98
+ * CreatedAt: "2026-11-01T17:00:00Z",
99
+ * Id: "wsae-a1b2c3d4",
100
+ * Name: "no-user-extensions",
101
+ * Owner: "SELF",
102
+ * PolicyBody: `{"allowUserExtensions":false}`
103
+ * }
104
+ * ]
105
+ * }
106
+ * *\/
107
+ * ```
108
+ *
109
+ * @public
110
+ */
111
+ export declare class BatchGetAgentEnforcedPolicyCommand extends BatchGetAgentEnforcedPolicyCommand_base {
112
+ /** @internal type navigation helper, not in runtime. */
113
+ protected static __types: {
114
+ api: {
115
+ input: BatchGetAgentEnforcedPolicyRequest;
116
+ output: BatchGetAgentEnforcedPolicyResult;
117
+ };
118
+ sdk: {
119
+ input: BatchGetAgentEnforcedPolicyCommandInput;
120
+ output: BatchGetAgentEnforcedPolicyCommandOutput;
121
+ };
122
+ };
123
+ }
@@ -0,0 +1,117 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { BatchGetAgentRuntimeRequest, BatchGetAgentRuntimeResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link BatchGetAgentRuntimeCommand}.
11
+ */
12
+ export interface BatchGetAgentRuntimeCommandInput extends BatchGetAgentRuntimeRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link BatchGetAgentRuntimeCommand}.
18
+ */
19
+ export interface BatchGetAgentRuntimeCommandOutput extends BatchGetAgentRuntimeResult, __MetadataBearer {
20
+ }
21
+ declare const BatchGetAgentRuntimeCommand_base: {
22
+ new (input: BatchGetAgentRuntimeCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgentRuntimeCommandInput, BatchGetAgentRuntimeCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchGetAgentRuntimeCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgentRuntimeCommandInput, BatchGetAgentRuntimeCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes the specified agent runtimes.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, BatchGetAgentRuntimeCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, BatchGetAgentRuntimeCommand } = 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 = { // BatchGetAgentRuntimeRequest
37
+ * AgentRuntimeIds: [ // AgentRuntimeLookupIdList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
41
+ * const command = new BatchGetAgentRuntimeCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // BatchGetAgentRuntimeResult
44
+ * // AgentRuntimes: [ // AgentRuntimeList // required
45
+ * // { // AgentRuntime
46
+ * // Id: "STRING_VALUE", // required
47
+ * // Name: "STRING_VALUE", // required
48
+ * // },
49
+ * // ],
50
+ * // Errors: [ // AgentRuntimeErrorList // required
51
+ * // { // AgentRuntimeError
52
+ * // AgentRuntimeId: "STRING_VALUE", // required
53
+ * // ErrorCode: "NOT_FOUND", // required
54
+ * // Message: "STRING_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param BatchGetAgentRuntimeCommandInput - {@link BatchGetAgentRuntimeCommandInput}
62
+ * @returns {@link BatchGetAgentRuntimeCommandOutput}
63
+ * @see {@link BatchGetAgentRuntimeCommandInput} for command's `input` shape.
64
+ * @see {@link BatchGetAgentRuntimeCommandOutput} for command's `response` shape.
65
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>The user is not authorized to access a resource.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
75
+ *
76
+ * @throws {@link WorkSpacesServiceException}
77
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
78
+ *
79
+ *
80
+ * @example Example – Getting details for an agent runtime
81
+ * ```javascript
82
+ * // The following example gets the name of an agent runtime.
83
+ * const input = {
84
+ * AgentRuntimeIds: [
85
+ * "wsart-claudecode"
86
+ * ]
87
+ * };
88
+ * const command = new BatchGetAgentRuntimeCommand(input);
89
+ * const response = await client.send(command);
90
+ * /* response is
91
+ * {
92
+ * AgentRuntimes: [
93
+ * {
94
+ * Id: "wsart-claudecode",
95
+ * Name: "Claude Code"
96
+ * }
97
+ * ],
98
+ * Errors: []
99
+ * }
100
+ * *\/
101
+ * ```
102
+ *
103
+ * @public
104
+ */
105
+ export declare class BatchGetAgentRuntimeCommand extends BatchGetAgentRuntimeCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: BatchGetAgentRuntimeRequest;
110
+ output: BatchGetAgentRuntimeResult;
111
+ };
112
+ sdk: {
113
+ input: BatchGetAgentRuntimeCommandInput;
114
+ output: BatchGetAgentRuntimeCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -0,0 +1,151 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { BatchGetAgenticConnectorRequest, BatchGetAgenticConnectorResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link BatchGetAgenticConnectorCommand}.
11
+ */
12
+ export interface BatchGetAgenticConnectorCommandInput extends BatchGetAgenticConnectorRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link BatchGetAgenticConnectorCommand}.
18
+ */
19
+ export interface BatchGetAgenticConnectorCommandOutput extends BatchGetAgenticConnectorResult, __MetadataBearer {
20
+ }
21
+ declare const BatchGetAgenticConnectorCommand_base: {
22
+ new (input: BatchGetAgenticConnectorCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgenticConnectorCommandInput, BatchGetAgenticConnectorCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchGetAgenticConnectorCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgenticConnectorCommandInput, BatchGetAgenticConnectorCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes the specified agentic connectors.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, BatchGetAgenticConnectorCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, BatchGetAgenticConnectorCommand } = 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 = { // BatchGetAgenticConnectorRequest
37
+ * AgenticConnectorIds: [ // AgenticConnectorLookupIdList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
41
+ * const command = new BatchGetAgenticConnectorCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // BatchGetAgenticConnectorResult
44
+ * // Connectors: [ // AgenticConnectorDetailList // required
45
+ * // { // AgenticConnector
46
+ * // Id: "STRING_VALUE", // required
47
+ * // Name: "STRING_VALUE", // required
48
+ * // Description: "STRING_VALUE",
49
+ * // ServerType: "HOSTED" || "LOCAL", // required
50
+ * // Url: "STRING_VALUE",
51
+ * // Command: "STRING_VALUE",
52
+ * // Args: [ // AgenticConnectorArguments
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // AuthType: "OAUTH" || "API_KEY" || "NONE", // required
56
+ * // OAuthConfig: { // AgenticConnectorOAuthConfig
57
+ * // ClientId: "STRING_VALUE",
58
+ * // ClientSecretArn: "STRING_VALUE",
59
+ * // Scopes: [ // OAuthScopes
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // AuthorizationUrl: "STRING_VALUE",
63
+ * // TokenUrl: "STRING_VALUE",
64
+ * // },
65
+ * // ApiKeySecretArn: "STRING_VALUE",
66
+ * // AllowedTools: [ // AgenticConnectorToolNames
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // BlockedTools: [
70
+ * // "STRING_VALUE",
71
+ * // ],
72
+ * // CreatedAt: new Date("TIMESTAMP"),
73
+ * // UpdatedAt: new Date("TIMESTAMP"),
74
+ * // ActivationStatus: "ACTIVATED" || "DEACTIVATED" || "PENDING" || "PENDING_DELETE" || "ACTIVATION_ERROR" || "DEACTIVATION_ERROR", // required
75
+ * // },
76
+ * // ],
77
+ * // Errors: [ // AgenticConnectorErrorList // required
78
+ * // { // AgenticConnectorError
79
+ * // AgenticConnectorId: "STRING_VALUE", // required
80
+ * // ErrorCode: "NOT_FOUND", // required
81
+ * // Message: "STRING_VALUE", // required
82
+ * // },
83
+ * // ],
84
+ * // };
85
+ *
86
+ * ```
87
+ *
88
+ * @param BatchGetAgenticConnectorCommandInput - {@link BatchGetAgenticConnectorCommandInput}
89
+ * @returns {@link BatchGetAgenticConnectorCommandOutput}
90
+ * @see {@link BatchGetAgenticConnectorCommandInput} for command's `input` shape.
91
+ * @see {@link BatchGetAgenticConnectorCommandOutput} for command's `response` shape.
92
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
93
+ *
94
+ * @throws {@link AccessDeniedException} (client fault)
95
+ * <p>The user is not authorized to access a resource.</p>
96
+ *
97
+ * @throws {@link ThrottlingException} (client fault)
98
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
99
+ *
100
+ * @throws {@link ValidationException} (client fault)
101
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
102
+ *
103
+ * @throws {@link WorkSpacesServiceException}
104
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
105
+ *
106
+ *
107
+ * @example Example – Getting details for a connector
108
+ * ```javascript
109
+ * // The following example gets the configuration of a connector.
110
+ * const input = {
111
+ * AgenticConnectorIds: [
112
+ * "wsacn-github"
113
+ * ]
114
+ * };
115
+ * const command = new BatchGetAgenticConnectorCommand(input);
116
+ * const response = await client.send(command);
117
+ * /* response is
118
+ * {
119
+ * Connectors: [
120
+ * {
121
+ * ActivationStatus: "ACTIVATED",
122
+ * AuthType: "OAUTH",
123
+ * CreatedAt: "2026-11-01T17:00:00Z",
124
+ * Description: "Repositories, issues and pull requests on github.com.",
125
+ * Id: "wsacn-github",
126
+ * Name: "github",
127
+ * ServerType: "HOSTED",
128
+ * UpdatedAt: "2026-11-02T09:30:00Z",
129
+ * Url: "https://api.githubcopilot.com/mcp/"
130
+ * }
131
+ * ],
132
+ * Errors: []
133
+ * }
134
+ * *\/
135
+ * ```
136
+ *
137
+ * @public
138
+ */
139
+ export declare class BatchGetAgenticConnectorCommand extends BatchGetAgenticConnectorCommand_base {
140
+ /** @internal type navigation helper, not in runtime. */
141
+ protected static __types: {
142
+ api: {
143
+ input: BatchGetAgenticConnectorRequest;
144
+ output: BatchGetAgenticConnectorResult;
145
+ };
146
+ sdk: {
147
+ input: BatchGetAgenticConnectorCommandInput;
148
+ output: BatchGetAgenticConnectorCommandOutput;
149
+ };
150
+ };
151
+ }