@aws-sdk/client-workspaces 3.1179.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,138 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { BatchGetAgenticContextMetadataRequest, BatchGetAgenticContextMetadataResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link BatchGetAgenticContextMetadataCommand}.
11
+ */
12
+ export interface BatchGetAgenticContextMetadataCommandInput extends BatchGetAgenticContextMetadataRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link BatchGetAgenticContextMetadataCommand}.
18
+ */
19
+ export interface BatchGetAgenticContextMetadataCommandOutput extends BatchGetAgenticContextMetadataResult, __MetadataBearer {
20
+ }
21
+ declare const BatchGetAgenticContextMetadataCommand_base: {
22
+ new (input: BatchGetAgenticContextMetadataCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgenticContextMetadataCommandInput, BatchGetAgenticContextMetadataCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchGetAgenticContextMetadataCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgenticContextMetadataCommandInput, BatchGetAgenticContextMetadataCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes the specified agentic contexts, without their bodies. To get the body of a context, call <code>GetAgenticContext</code>. If you don't have permission to describe any one of the specified contexts, the operation returns <code>AccessDeniedException</code> and no results.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, BatchGetAgenticContextMetadataCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, BatchGetAgenticContextMetadataCommand } = 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 = { // BatchGetAgenticContextMetadataRequest
37
+ * AgenticContextIds: [ // AgenticContextLookupIdList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
41
+ * const command = new BatchGetAgenticContextMetadataCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // BatchGetAgenticContextMetadataResult
44
+ * // AgenticContextMetadata: [ // AgenticContextMetadataList // required
45
+ * // { // AgenticContextMetadata
46
+ * // Id: "STRING_VALUE", // required
47
+ * // Name: "STRING_VALUE", // required
48
+ * // Description: "STRING_VALUE",
49
+ * // ContextType: "STEERING" || "SKILL" || "WORKFLOW", // required
50
+ * // TargetFilePath: "STRING_VALUE", // required
51
+ * // ContextBodySizeBytes: Number("int"),
52
+ * // CreatedAt: new Date("TIMESTAMP"), // required
53
+ * // UpdatedAt: new Date("TIMESTAMP"), // required
54
+ * // },
55
+ * // ],
56
+ * // Errors: [ // AgenticContextErrorList // required
57
+ * // { // AgenticContextError
58
+ * // AgenticContextId: "STRING_VALUE", // required
59
+ * // ErrorCode: "NOT_FOUND", // required
60
+ * // Message: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param BatchGetAgenticContextMetadataCommandInput - {@link BatchGetAgenticContextMetadataCommandInput}
68
+ * @returns {@link BatchGetAgenticContextMetadataCommandOutput}
69
+ * @see {@link BatchGetAgenticContextMetadataCommandInput} for command's `input` shape.
70
+ * @see {@link BatchGetAgenticContextMetadataCommandOutput} for command's `response` shape.
71
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
72
+ *
73
+ * @throws {@link AccessDeniedException} (client fault)
74
+ * <p>The user is not authorized to access a resource.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
81
+ *
82
+ * @throws {@link WorkSpacesServiceException}
83
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
84
+ *
85
+ *
86
+ * @example Example – Getting metadata for several contexts
87
+ * ```javascript
88
+ * // The following example gets the metadata, without the body, of two contexts.
89
+ * const input = {
90
+ * AgenticContextIds: [
91
+ * "wsactx-a1b2c3d4",
92
+ * "wsactx-e5f6g7h8"
93
+ * ]
94
+ * };
95
+ * const command = new BatchGetAgenticContextMetadataCommand(input);
96
+ * const response = await client.send(command);
97
+ * /* response is
98
+ * {
99
+ * AgenticContextMetadata: [
100
+ * {
101
+ * ContextBodySizeBytes: 54,
102
+ * ContextType: "STEERING",
103
+ * CreatedAt: "2026-11-01T17:00:00Z",
104
+ * Id: "wsactx-a1b2c3d4",
105
+ * Name: "coding-standards",
106
+ * TargetFilePath: "coding-standards.md",
107
+ * UpdatedAt: "2026-11-01T17:00:00Z"
108
+ * },
109
+ * {
110
+ * ContextBodySizeBytes: 1024,
111
+ * ContextType: "WORKFLOW",
112
+ * CreatedAt: "2026-11-01T17:00:00Z",
113
+ * Id: "wsactx-e5f6g7h8",
114
+ * Name: "release-checklist",
115
+ * TargetFilePath: "release-checklist.md",
116
+ * UpdatedAt: "2026-11-02T09:30:00Z"
117
+ * }
118
+ * ],
119
+ * Errors: []
120
+ * }
121
+ * *\/
122
+ * ```
123
+ *
124
+ * @public
125
+ */
126
+ export declare class BatchGetAgenticContextMetadataCommand extends BatchGetAgenticContextMetadataCommand_base {
127
+ /** @internal type navigation helper, not in runtime. */
128
+ protected static __types: {
129
+ api: {
130
+ input: BatchGetAgenticContextMetadataRequest;
131
+ output: BatchGetAgenticContextMetadataResult;
132
+ };
133
+ sdk: {
134
+ input: BatchGetAgenticContextMetadataCommandInput;
135
+ output: BatchGetAgenticContextMetadataCommandOutput;
136
+ };
137
+ };
138
+ }
@@ -0,0 +1,146 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { BatchGetAgenticPersonaConfigurationRequest, BatchGetAgenticPersonaConfigurationResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link BatchGetAgenticPersonaConfigurationCommand}.
11
+ */
12
+ export interface BatchGetAgenticPersonaConfigurationCommandInput extends BatchGetAgenticPersonaConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link BatchGetAgenticPersonaConfigurationCommand}.
18
+ */
19
+ export interface BatchGetAgenticPersonaConfigurationCommandOutput extends BatchGetAgenticPersonaConfigurationResult, __MetadataBearer {
20
+ }
21
+ declare const BatchGetAgenticPersonaConfigurationCommand_base: {
22
+ new (input: BatchGetAgenticPersonaConfigurationCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgenticPersonaConfigurationCommandInput, BatchGetAgenticPersonaConfigurationCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchGetAgenticPersonaConfigurationCommandInput): import("@smithy/core/client").CommandImpl<BatchGetAgenticPersonaConfigurationCommandInput, BatchGetAgenticPersonaConfigurationCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes the specified agentic persona configurations. If you don't have permission to describe any one of the specified persona configurations, the operation returns <code>AccessDeniedException</code> and no results.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, BatchGetAgenticPersonaConfigurationCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, BatchGetAgenticPersonaConfigurationCommand } = 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 = { // BatchGetAgenticPersonaConfigurationRequest
37
+ * AgenticPersonaConfigurationIds: [ // AgenticPersonaConfigurationLookupIdList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
41
+ * const command = new BatchGetAgenticPersonaConfigurationCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // BatchGetAgenticPersonaConfigurationResult
44
+ * // AgenticPersonaConfigurations: [ // AgenticPersonaConfigurationList // required
45
+ * // { // AgenticPersonaConfiguration
46
+ * // Id: "STRING_VALUE", // required
47
+ * // Name: "STRING_VALUE", // required
48
+ * // Description: "STRING_VALUE",
49
+ * // AgentRuntimeId: "STRING_VALUE", // required
50
+ * // ModelIds: [ // AgenticModelIdList // required
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // AgenticConnectorIds: [ // AgenticConnectorIdList
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // AgenticContextIds: [ // AgenticContextIdList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // CreatedAt: new Date("TIMESTAMP"), // required
60
+ * // WorkspaceEnforcedPolicyId: "STRING_VALUE",
61
+ * // AgentEnforcedPolicyId: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // Errors: [ // AgenticPersonaConfigurationErrorList // required
65
+ * // { // AgenticPersonaConfigurationError
66
+ * // AgenticPersonaConfigurationId: "STRING_VALUE", // required
67
+ * // ErrorCode: "NOT_FOUND", // required
68
+ * // Message: "STRING_VALUE", // required
69
+ * // },
70
+ * // ],
71
+ * // };
72
+ *
73
+ * ```
74
+ *
75
+ * @param BatchGetAgenticPersonaConfigurationCommandInput - {@link BatchGetAgenticPersonaConfigurationCommandInput}
76
+ * @returns {@link BatchGetAgenticPersonaConfigurationCommandOutput}
77
+ * @see {@link BatchGetAgenticPersonaConfigurationCommandInput} for command's `input` shape.
78
+ * @see {@link BatchGetAgenticPersonaConfigurationCommandOutput} for command's `response` shape.
79
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
80
+ *
81
+ * @throws {@link AccessDeniedException} (client fault)
82
+ * <p>The user is not authorized to access a resource.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
89
+ *
90
+ * @throws {@link WorkSpacesServiceException}
91
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
92
+ *
93
+ *
94
+ * @example Example – Getting a persona configuration
95
+ * ```javascript
96
+ * // The following example gets a persona configuration.
97
+ * const input = {
98
+ * AgenticPersonaConfigurationIds: [
99
+ * "wsapc-a1b2c3d4"
100
+ * ]
101
+ * };
102
+ * const command = new BatchGetAgenticPersonaConfigurationCommand(input);
103
+ * const response = await client.send(command);
104
+ * /* response is
105
+ * {
106
+ * AgenticPersonaConfigurations: [
107
+ * {
108
+ * AgentEnforcedPolicyId: "wsae-a1b2c3d4",
109
+ * AgentRuntimeId: "wsart-claudecode",
110
+ * AgenticConnectorIds: [
111
+ * "wsacn-github"
112
+ * ],
113
+ * AgenticContextIds: [
114
+ * "wsactx-a1b2c3d4"
115
+ * ],
116
+ * CreatedAt: "2026-11-01T17:00:00Z",
117
+ * Description: "Persona for backend developers.",
118
+ * Id: "wsapc-a1b2c3d4",
119
+ * ModelIds: [
120
+ * "anthropic.claude-sonnet-5-5",
121
+ * "anthropic.claude-opus-5-5"
122
+ * ],
123
+ * Name: "backend-developer",
124
+ * WorkspaceEnforcedPolicyId: "wsep-a1b2c3d4"
125
+ * }
126
+ * ],
127
+ * Errors: []
128
+ * }
129
+ * *\/
130
+ * ```
131
+ *
132
+ * @public
133
+ */
134
+ export declare class BatchGetAgenticPersonaConfigurationCommand extends BatchGetAgenticPersonaConfigurationCommand_base {
135
+ /** @internal type navigation helper, not in runtime. */
136
+ protected static __types: {
137
+ api: {
138
+ input: BatchGetAgenticPersonaConfigurationRequest;
139
+ output: BatchGetAgenticPersonaConfigurationResult;
140
+ };
141
+ sdk: {
142
+ input: BatchGetAgenticPersonaConfigurationCommandInput;
143
+ output: BatchGetAgenticPersonaConfigurationCommandOutput;
144
+ };
145
+ };
146
+ }
@@ -0,0 +1,124 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { BatchGetModelRequest, BatchGetModelResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link BatchGetModelCommand}.
11
+ */
12
+ export interface BatchGetModelCommandInput extends BatchGetModelRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link BatchGetModelCommand}.
18
+ */
19
+ export interface BatchGetModelCommandOutput extends BatchGetModelResult, __MetadataBearer {
20
+ }
21
+ declare const BatchGetModelCommand_base: {
22
+ new (input: BatchGetModelCommandInput): import("@smithy/core/client").CommandImpl<BatchGetModelCommandInput, BatchGetModelCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchGetModelCommandInput): import("@smithy/core/client").CommandImpl<BatchGetModelCommandInput, BatchGetModelCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes the specified models from the supported model catalog.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, BatchGetModelCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, BatchGetModelCommand } = 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 = { // BatchGetModelRequest
37
+ * ModelIds: [ // ModelLookupIdList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
41
+ * const command = new BatchGetModelCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // BatchGetModelResult
44
+ * // Models: [ // ModelList // required
45
+ * // { // Model
46
+ * // ModelId: "STRING_VALUE", // required
47
+ * // Name: "STRING_VALUE", // required
48
+ * // },
49
+ * // ],
50
+ * // Errors: [ // ModelErrorList // required
51
+ * // { // ModelError
52
+ * // ModelId: "STRING_VALUE", // required
53
+ * // ErrorCode: "NOT_FOUND", // required
54
+ * // Message: "STRING_VALUE", // required
55
+ * // },
56
+ * // ],
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param BatchGetModelCommandInput - {@link BatchGetModelCommandInput}
62
+ * @returns {@link BatchGetModelCommandOutput}
63
+ * @see {@link BatchGetModelCommandInput} for command's `input` shape.
64
+ * @see {@link BatchGetModelCommandOutput} 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 several models
81
+ * ```javascript
82
+ * // The following example gets two models. The second model ID doesn't exist, so it's returned in Errors.
83
+ * const input = {
84
+ * ModelIds: [
85
+ * "anthropic.claude-sonnet-5-5",
86
+ * "example.unknown-model"
87
+ * ]
88
+ * };
89
+ * const command = new BatchGetModelCommand(input);
90
+ * const response = await client.send(command);
91
+ * /* response is
92
+ * {
93
+ * Errors: [
94
+ * {
95
+ * ErrorCode: "NOT_FOUND",
96
+ * Message: "The model example.unknown-model was not found.",
97
+ * ModelId: "example.unknown-model"
98
+ * }
99
+ * ],
100
+ * Models: [
101
+ * {
102
+ * ModelId: "anthropic.claude-sonnet-5-5",
103
+ * Name: "Claude Sonnet 5.5"
104
+ * }
105
+ * ]
106
+ * }
107
+ * *\/
108
+ * ```
109
+ *
110
+ * @public
111
+ */
112
+ export declare class BatchGetModelCommand extends BatchGetModelCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: BatchGetModelRequest;
117
+ output: BatchGetModelResult;
118
+ };
119
+ sdk: {
120
+ input: BatchGetModelCommandInput;
121
+ output: BatchGetModelCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -0,0 +1,123 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { BatchGetWorkspaceEnforcedPolicyRequest, BatchGetWorkspaceEnforcedPolicyResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link BatchGetWorkspaceEnforcedPolicyCommand}.
11
+ */
12
+ export interface BatchGetWorkspaceEnforcedPolicyCommandInput extends BatchGetWorkspaceEnforcedPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link BatchGetWorkspaceEnforcedPolicyCommand}.
18
+ */
19
+ export interface BatchGetWorkspaceEnforcedPolicyCommandOutput extends BatchGetWorkspaceEnforcedPolicyResult, __MetadataBearer {
20
+ }
21
+ declare const BatchGetWorkspaceEnforcedPolicyCommand_base: {
22
+ new (input: BatchGetWorkspaceEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetWorkspaceEnforcedPolicyCommandInput, BatchGetWorkspaceEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchGetWorkspaceEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<BatchGetWorkspaceEnforcedPolicyCommandInput, BatchGetWorkspaceEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes the specified WorkSpace-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, BatchGetWorkspaceEnforcedPolicyCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, BatchGetWorkspaceEnforcedPolicyCommand } = 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 = { // BatchGetWorkspaceEnforcedPolicyRequest
37
+ * PolicyIds: [ // WorkspaceEnforcedPolicyLookupIdList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
41
+ * const command = new BatchGetWorkspaceEnforcedPolicyCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // BatchGetWorkspaceEnforcedPolicyResult
44
+ * // Policies: [ // WorkspaceEnforcedPolicyList // required
45
+ * // { // WorkspaceEnforcedPolicy
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: [ // WorkspaceEnforcedPolicyErrorList // required
54
+ * // { // WorkspaceEnforcedPolicyError
55
+ * // PolicyId: "STRING_VALUE", // required
56
+ * // ErrorCode: "NOT_FOUND", // required
57
+ * // Message: "STRING_VALUE", // required
58
+ * // },
59
+ * // ],
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param BatchGetWorkspaceEnforcedPolicyCommandInput - {@link BatchGetWorkspaceEnforcedPolicyCommandInput}
65
+ * @returns {@link BatchGetWorkspaceEnforcedPolicyCommandOutput}
66
+ * @see {@link BatchGetWorkspaceEnforcedPolicyCommandInput} for command's `input` shape.
67
+ * @see {@link BatchGetWorkspaceEnforcedPolicyCommandOutput} 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 a WorkSpace-enforced policy
84
+ * ```javascript
85
+ * // The following example gets a WorkSpace-enforced policy, including its policy document.
86
+ * const input = {
87
+ * PolicyIds: [
88
+ * "wsep-a1b2c3d4"
89
+ * ]
90
+ * };
91
+ * const command = new BatchGetWorkspaceEnforcedPolicyCommand(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: "wsep-a1b2c3d4",
100
+ * Name: "default-network",
101
+ * Owner: "SELF",
102
+ * PolicyBody: `{"disableInternetAccess":false,"deniedPaths":[]}`
103
+ * }
104
+ * ]
105
+ * }
106
+ * *\/
107
+ * ```
108
+ *
109
+ * @public
110
+ */
111
+ export declare class BatchGetWorkspaceEnforcedPolicyCommand extends BatchGetWorkspaceEnforcedPolicyCommand_base {
112
+ /** @internal type navigation helper, not in runtime. */
113
+ protected static __types: {
114
+ api: {
115
+ input: BatchGetWorkspaceEnforcedPolicyRequest;
116
+ output: BatchGetWorkspaceEnforcedPolicyResult;
117
+ };
118
+ sdk: {
119
+ input: BatchGetWorkspaceEnforcedPolicyCommandInput;
120
+ output: BatchGetWorkspaceEnforcedPolicyCommandOutput;
121
+ };
122
+ };
123
+ }
@@ -60,14 +60,13 @@ declare const CreateAccountLinkInvitationCommand_base: {
60
60
  * <p>The user is not authorized to access a resource.</p>
61
61
  *
62
62
  * @throws {@link ConflictException} (client fault)
63
- * <p>The <code>TargetAccountId</code> is already linked or invited.</p>
63
+ * <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>
64
64
  *
65
65
  * @throws {@link InternalServerException} (client fault)
66
- * <p>Unexpected server error occured.</p>
66
+ * <p>An unexpected server error occurred. Retry your request.</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>
@@ -0,0 +1,121 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateAgentEnforcedPolicyRequest, CreateAgentEnforcedPolicyResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateAgentEnforcedPolicyCommand}.
11
+ */
12
+ export interface CreateAgentEnforcedPolicyCommandInput extends CreateAgentEnforcedPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateAgentEnforcedPolicyCommand}.
18
+ */
19
+ export interface CreateAgentEnforcedPolicyCommandOutput extends CreateAgentEnforcedPolicyResult, __MetadataBearer {
20
+ }
21
+ declare const CreateAgentEnforcedPolicyCommand_base: {
22
+ new (input: CreateAgentEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentEnforcedPolicyCommandInput, CreateAgentEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAgentEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentEnforcedPolicyCommandInput, CreateAgentEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates an agent-enforced policy, which the agent on the WorkSpace applies. The name must be unique among the agent-enforced policies in your account. If it isn't, the operation returns <code>ConflictException</code>, and its <code>ResourceId</code> identifies the existing policy. If your account would exceed its maximum number of agent-enforced policies, 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, CreateAgentEnforcedPolicyCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, CreateAgentEnforcedPolicyCommand } = 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 = { // CreateAgentEnforcedPolicyRequest
37
+ * ClientToken: "STRING_VALUE",
38
+ * Name: "STRING_VALUE", // required
39
+ * PolicyBody: "STRING_VALUE", // required
40
+ * Tags: [ // TagList
41
+ * { // Tag
42
+ * Key: "STRING_VALUE", // required
43
+ * Value: "STRING_VALUE",
44
+ * },
45
+ * ],
46
+ * };
47
+ * const command = new CreateAgentEnforcedPolicyCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // CreateAgentEnforcedPolicyResult
50
+ * // PolicySummary: { // AgentEnforcedPolicySummary
51
+ * // Id: "STRING_VALUE", // required
52
+ * // Name: "STRING_VALUE", // required
53
+ * // CreatedAt: new Date("TIMESTAMP"), // required
54
+ * // Owner: "SELF" || "AMAZON", // required
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param CreateAgentEnforcedPolicyCommandInput - {@link CreateAgentEnforcedPolicyCommandInput}
61
+ * @returns {@link CreateAgentEnforcedPolicyCommandOutput}
62
+ * @see {@link CreateAgentEnforcedPolicyCommandInput} for command's `input` shape.
63
+ * @see {@link CreateAgentEnforcedPolicyCommandOutput} for command's `response` shape.
64
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>The user is not authorized to access a resource.</p>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <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>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p>The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
80
+ *
81
+ * @throws {@link WorkSpacesServiceException}
82
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
83
+ *
84
+ *
85
+ * @example Example – Creating an agent-enforced policy
86
+ * ```javascript
87
+ * // The following example creates an agent-enforced policy that blocks user-installed extensions.
88
+ * const input = {
89
+ * ClientToken: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
90
+ * Name: "no-user-extensions",
91
+ * PolicyBody: `{"allowUserExtensions":false}`
92
+ * };
93
+ * const command = new CreateAgentEnforcedPolicyCommand(input);
94
+ * const response = await client.send(command);
95
+ * /* response is
96
+ * {
97
+ * PolicySummary: {
98
+ * CreatedAt: "2026-11-01T17:00:00Z",
99
+ * Id: "wsae-a1b2c3d4",
100
+ * Name: "no-user-extensions",
101
+ * Owner: "SELF"
102
+ * }
103
+ * }
104
+ * *\/
105
+ * ```
106
+ *
107
+ * @public
108
+ */
109
+ export declare class CreateAgentEnforcedPolicyCommand extends CreateAgentEnforcedPolicyCommand_base {
110
+ /** @internal type navigation helper, not in runtime. */
111
+ protected static __types: {
112
+ api: {
113
+ input: CreateAgentEnforcedPolicyRequest;
114
+ output: CreateAgentEnforcedPolicyResult;
115
+ };
116
+ sdk: {
117
+ input: CreateAgentEnforcedPolicyCommandInput;
118
+ output: CreateAgentEnforcedPolicyCommandOutput;
119
+ };
120
+ };
121
+ }