@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,128 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateAgenticContextRequest, CreateAgenticContextResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateAgenticContextCommand}.
11
+ */
12
+ export interface CreateAgenticContextCommandInput extends CreateAgenticContextRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateAgenticContextCommand}.
18
+ */
19
+ export interface CreateAgenticContextCommandOutput extends CreateAgenticContextResult, __MetadataBearer {
20
+ }
21
+ declare const CreateAgenticContextCommand_base: {
22
+ new (input: CreateAgenticContextCommandInput): import("@smithy/core/client").CommandImpl<CreateAgenticContextCommandInput, CreateAgenticContextCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAgenticContextCommandInput): import("@smithy/core/client").CommandImpl<CreateAgenticContextCommandInput, CreateAgenticContextCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates an agentic context, which is Markdown content that the service writes to a file on the WorkSpace for the agent to use. The name must be unique among the contexts in your account. If it isn't, the operation returns <code>ConflictException</code>, and its <code>ResourceId</code> identifies the existing context. If the tags would exceed the limit of 50 tags per resource, 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, CreateAgenticContextCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, CreateAgenticContextCommand } = 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 = { // CreateAgenticContextRequest
37
+ * ClientToken: "STRING_VALUE",
38
+ * Name: "STRING_VALUE", // required
39
+ * Description: "STRING_VALUE",
40
+ * ContextType: "STEERING" || "SKILL" || "WORKFLOW", // required
41
+ * TargetFilePath: "STRING_VALUE", // required
42
+ * ContextBody: "STRING_VALUE",
43
+ * Tags: [ // TagList
44
+ * { // Tag
45
+ * Key: "STRING_VALUE", // required
46
+ * Value: "STRING_VALUE",
47
+ * },
48
+ * ],
49
+ * };
50
+ * const command = new CreateAgenticContextCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // CreateAgenticContextResult
53
+ * // AgenticContextId: "STRING_VALUE", // required
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param CreateAgenticContextCommandInput - {@link CreateAgenticContextCommandInput}
59
+ * @returns {@link CreateAgenticContextCommandOutput}
60
+ * @see {@link CreateAgenticContextCommandInput} for command's `input` shape.
61
+ * @see {@link CreateAgenticContextCommandOutput} for command's `response` shape.
62
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>The user is not authorized to access a resource.</p>
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <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>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>The resource could not be found.</p>
72
+ *
73
+ * @throws {@link ServiceQuotaExceededException} (client fault)
74
+ * <p>The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.</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 – Creating a steering context
87
+ * ```javascript
88
+ * // The following example creates a steering context that agents read from the file coding-standards.md.
89
+ * const input = {
90
+ * ClientToken: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
91
+ * ContextBody: "# Coding standards
92
+ *
93
+ * Write unit tests for every change.",
94
+ * ContextType: "STEERING",
95
+ * Description: "Team coding standards for agents.",
96
+ * Name: "coding-standards",
97
+ * Tags: [
98
+ * {
99
+ * Key: "team",
100
+ * Value: "platform"
101
+ * }
102
+ * ],
103
+ * TargetFilePath: "coding-standards.md"
104
+ * };
105
+ * const command = new CreateAgenticContextCommand(input);
106
+ * const response = await client.send(command);
107
+ * /* response is
108
+ * {
109
+ * AgenticContextId: "wsactx-a1b2c3d4"
110
+ * }
111
+ * *\/
112
+ * ```
113
+ *
114
+ * @public
115
+ */
116
+ export declare class CreateAgenticContextCommand extends CreateAgenticContextCommand_base {
117
+ /** @internal type navigation helper, not in runtime. */
118
+ protected static __types: {
119
+ api: {
120
+ input: CreateAgenticContextRequest;
121
+ output: CreateAgenticContextResult;
122
+ };
123
+ sdk: {
124
+ input: CreateAgenticContextCommandInput;
125
+ output: CreateAgenticContextCommandOutput;
126
+ };
127
+ };
128
+ }
@@ -0,0 +1,144 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateAgenticPersonaConfigurationRequest, CreateAgenticPersonaConfigurationResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateAgenticPersonaConfigurationCommand}.
11
+ */
12
+ export interface CreateAgenticPersonaConfigurationCommandInput extends CreateAgenticPersonaConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateAgenticPersonaConfigurationCommand}.
18
+ */
19
+ export interface CreateAgenticPersonaConfigurationCommandOutput extends CreateAgenticPersonaConfigurationResult, __MetadataBearer {
20
+ }
21
+ declare const CreateAgenticPersonaConfigurationCommand_base: {
22
+ new (input: CreateAgenticPersonaConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateAgenticPersonaConfigurationCommandInput, CreateAgenticPersonaConfigurationCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateAgenticPersonaConfigurationCommandInput): import("@smithy/core/client").CommandImpl<CreateAgenticPersonaConfigurationCommandInput, CreateAgenticPersonaConfigurationCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates an Amazon WorkSpaces agentic persona configuration with the specified models, connectors, contexts, and enforced policies. The name must be unique among the persona configurations in your account.</p>
28
+ * <p>If the name is in use, the operation returns <code>ConflictException</code>, and its <code>ResourceId</code> identifies the existing persona configuration. If you exceed the persona or tag limit, it returns <code>ServiceQuotaExceededException</code>.</p>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { WorkSpacesClient, CreateAgenticPersonaConfigurationCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
33
+ * // const { WorkSpacesClient, CreateAgenticPersonaConfigurationCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
34
+ * // import type { WorkSpacesClientConfig } from "@aws-sdk/client-workspaces";
35
+ * const config = {}; // type is WorkSpacesClientConfig
36
+ * const client = new WorkSpacesClient(config);
37
+ * const input = { // CreateAgenticPersonaConfigurationRequest
38
+ * ClientToken: "STRING_VALUE",
39
+ * Name: "STRING_VALUE", // required
40
+ * Description: "STRING_VALUE",
41
+ * ModelIds: [ // AgenticModelIdList // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * AgenticConnectorIds: [ // AgenticConnectorIdList
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * AgenticContextIds: [ // AgenticContextIdList
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * WorkspaceEnforcedPolicyId: "STRING_VALUE",
51
+ * AgentEnforcedPolicyId: "STRING_VALUE",
52
+ * Tags: [ // TagList
53
+ * { // Tag
54
+ * Key: "STRING_VALUE", // required
55
+ * Value: "STRING_VALUE",
56
+ * },
57
+ * ],
58
+ * };
59
+ * const command = new CreateAgenticPersonaConfigurationCommand(input);
60
+ * const response = await client.send(command);
61
+ * // { // CreateAgenticPersonaConfigurationResult
62
+ * // AgenticPersonaConfigurationId: "STRING_VALUE", // required
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param CreateAgenticPersonaConfigurationCommandInput - {@link CreateAgenticPersonaConfigurationCommandInput}
68
+ * @returns {@link CreateAgenticPersonaConfigurationCommandOutput}
69
+ * @see {@link CreateAgenticPersonaConfigurationCommandInput} for command's `input` shape.
70
+ * @see {@link CreateAgenticPersonaConfigurationCommandOutput} 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 ConflictException} (client fault)
77
+ * <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>
78
+ *
79
+ * @throws {@link ResourceNotFoundException} (client fault)
80
+ * <p>The resource could not be found.</p>
81
+ *
82
+ * @throws {@link ServiceQuotaExceededException} (client fault)
83
+ * <p>The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
87
+ *
88
+ * @throws {@link ValidationException} (client fault)
89
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
90
+ *
91
+ * @throws {@link WorkSpacesServiceException}
92
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
93
+ *
94
+ *
95
+ * @example Example – Creating a persona configuration
96
+ * ```javascript
97
+ * // The following example creates a persona configuration with two models, a connector, a context, and both enforced policies.
98
+ * const input = {
99
+ * AgentEnforcedPolicyId: "wsae-a1b2c3d4",
100
+ * AgenticConnectorIds: [
101
+ * "wsacn-github"
102
+ * ],
103
+ * AgenticContextIds: [
104
+ * "wsactx-a1b2c3d4"
105
+ * ],
106
+ * ClientToken: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
107
+ * Description: "Persona for backend developers.",
108
+ * ModelIds: [
109
+ * "anthropic.claude-sonnet-5-5",
110
+ * "anthropic.claude-opus-5-5"
111
+ * ],
112
+ * Name: "backend-developer",
113
+ * Tags: [
114
+ * {
115
+ * Key: "team",
116
+ * Value: "platform"
117
+ * }
118
+ * ],
119
+ * WorkspaceEnforcedPolicyId: "wsep-a1b2c3d4"
120
+ * };
121
+ * const command = new CreateAgenticPersonaConfigurationCommand(input);
122
+ * const response = await client.send(command);
123
+ * /* response is
124
+ * {
125
+ * AgenticPersonaConfigurationId: "wsapc-a1b2c3d4"
126
+ * }
127
+ * *\/
128
+ * ```
129
+ *
130
+ * @public
131
+ */
132
+ export declare class CreateAgenticPersonaConfigurationCommand extends CreateAgenticPersonaConfigurationCommand_base {
133
+ /** @internal type navigation helper, not in runtime. */
134
+ protected static __types: {
135
+ api: {
136
+ input: CreateAgenticPersonaConfigurationRequest;
137
+ output: CreateAgenticPersonaConfigurationResult;
138
+ };
139
+ sdk: {
140
+ input: CreateAgenticPersonaConfigurationCommandInput;
141
+ output: CreateAgenticPersonaConfigurationCommandOutput;
142
+ };
143
+ };
144
+ }
@@ -0,0 +1,121 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateWorkspaceEnforcedPolicyRequest, CreateWorkspaceEnforcedPolicyResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateWorkspaceEnforcedPolicyCommand}.
11
+ */
12
+ export interface CreateWorkspaceEnforcedPolicyCommandInput extends CreateWorkspaceEnforcedPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateWorkspaceEnforcedPolicyCommand}.
18
+ */
19
+ export interface CreateWorkspaceEnforcedPolicyCommandOutput extends CreateWorkspaceEnforcedPolicyResult, __MetadataBearer {
20
+ }
21
+ declare const CreateWorkspaceEnforcedPolicyCommand_base: {
22
+ new (input: CreateWorkspaceEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkspaceEnforcedPolicyCommandInput, CreateWorkspaceEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateWorkspaceEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<CreateWorkspaceEnforcedPolicyCommandInput, CreateWorkspaceEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates a WorkSpace-enforced policy, which the WorkSpace applies. The name must be unique among the WorkSpace-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 WorkSpace-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, CreateWorkspaceEnforcedPolicyCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, CreateWorkspaceEnforcedPolicyCommand } = 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 = { // CreateWorkspaceEnforcedPolicyRequest
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 CreateWorkspaceEnforcedPolicyCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // CreateWorkspaceEnforcedPolicyResult
50
+ * // PolicySummary: { // WorkspaceEnforcedPolicySummary
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 CreateWorkspaceEnforcedPolicyCommandInput - {@link CreateWorkspaceEnforcedPolicyCommandInput}
61
+ * @returns {@link CreateWorkspaceEnforcedPolicyCommandOutput}
62
+ * @see {@link CreateWorkspaceEnforcedPolicyCommandInput} for command's `input` shape.
63
+ * @see {@link CreateWorkspaceEnforcedPolicyCommandOutput} 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 a WorkSpace-enforced policy
86
+ * ```javascript
87
+ * // The following example creates a WorkSpace-enforced policy that keeps internet access on.
88
+ * const input = {
89
+ * ClientToken: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
90
+ * Name: "default-network",
91
+ * PolicyBody: `{"disableInternetAccess":false,"deniedPaths":[]}`
92
+ * };
93
+ * const command = new CreateWorkspaceEnforcedPolicyCommand(input);
94
+ * const response = await client.send(command);
95
+ * /* response is
96
+ * {
97
+ * PolicySummary: {
98
+ * CreatedAt: "2026-11-01T17:00:00Z",
99
+ * Id: "wsep-a1b2c3d4",
100
+ * Name: "default-network",
101
+ * Owner: "SELF"
102
+ * }
103
+ * }
104
+ * *\/
105
+ * ```
106
+ *
107
+ * @public
108
+ */
109
+ export declare class CreateWorkspaceEnforcedPolicyCommand extends CreateWorkspaceEnforcedPolicyCommand_base {
110
+ /** @internal type navigation helper, not in runtime. */
111
+ protected static __types: {
112
+ api: {
113
+ input: CreateWorkspaceEnforcedPolicyRequest;
114
+ output: CreateWorkspaceEnforcedPolicyResult;
115
+ };
116
+ sdk: {
117
+ input: CreateWorkspaceEnforcedPolicyCommandInput;
118
+ output: CreateWorkspaceEnforcedPolicyCommandOutput;
119
+ };
120
+ };
121
+ }
@@ -92,6 +92,7 @@ declare const CreateWorkspacesCommand_base: {
92
92
  * ],
93
93
  * WorkspaceName: "STRING_VALUE",
94
94
  * Ipv6Address: "STRING_VALUE",
95
+ * AgenticPersonaConfigurationId: "STRING_VALUE",
95
96
  * },
96
97
  * ],
97
98
  * };
@@ -131,6 +132,7 @@ declare const CreateWorkspacesCommand_base: {
131
132
  * // ],
132
133
  * // WorkspaceName: "STRING_VALUE",
133
134
  * // Ipv6Address: "STRING_VALUE",
135
+ * // AgenticPersonaConfigurationId: "STRING_VALUE",
134
136
  * // },
135
137
  * // ErrorCode: "STRING_VALUE",
136
138
  * // ErrorMessage: "STRING_VALUE",
@@ -194,6 +196,7 @@ declare const CreateWorkspacesCommand_base: {
194
196
  * // RecoverySnapshotTime: new Date("TIMESTAMP"),
195
197
  * // },
196
198
  * // ],
199
+ * // WorkspaceCategory: "PERSONAL" || "AGENTIC",
197
200
  * // },
198
201
  * // ],
199
202
  * // };
@@ -60,17 +60,16 @@ declare const DeleteAccountLinkInvitationCommand_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 ResourceNotFoundException} (client fault)
69
69
  * <p>The resource could not be found.</p>
70
70
  *
71
71
  * @throws {@link ValidationException} (client fault)
72
- * <p>You either haven't provided a <code>TargetAccountId</code> or
73
- * are using the same value for <code>TargetAccountId</code> and <code>SourceAccountId</code>.</p>
72
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
74
73
  *
75
74
  * @throws {@link WorkSpacesServiceException}
76
75
  * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteAgentEnforcedPolicyRequest, DeleteAgentEnforcedPolicyResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteAgentEnforcedPolicyCommand}.
11
+ */
12
+ export interface DeleteAgentEnforcedPolicyCommandInput extends DeleteAgentEnforcedPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteAgentEnforcedPolicyCommand}.
18
+ */
19
+ export interface DeleteAgentEnforcedPolicyCommandOutput extends DeleteAgentEnforcedPolicyResult, __MetadataBearer {
20
+ }
21
+ declare const DeleteAgentEnforcedPolicyCommand_base: {
22
+ new (input: DeleteAgentEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentEnforcedPolicyCommandInput, DeleteAgentEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAgentEnforcedPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentEnforcedPolicyCommandInput, DeleteAgentEnforcedPolicyCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes an agent-enforced policy that you created. You can't undo this action. You can't delete a policy that Amazon owns. If you try, the operation returns <code>ValidationException</code>. You can't delete a policy that a persona configuration or a WorkSpace uses. If you try, the operation returns <code>ConflictException</code>, and its <code>ResourceId</code> identifies a persona configuration or WorkSpace that uses the policy.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, DeleteAgentEnforcedPolicyCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, DeleteAgentEnforcedPolicyCommand } = 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 = { // DeleteAgentEnforcedPolicyRequest
37
+ * PolicyId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteAgentEnforcedPolicyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteAgentEnforcedPolicyCommandInput - {@link DeleteAgentEnforcedPolicyCommandInput}
46
+ * @returns {@link DeleteAgentEnforcedPolicyCommandOutput}
47
+ * @see {@link DeleteAgentEnforcedPolicyCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteAgentEnforcedPolicyCommandOutput} for command's `response` shape.
49
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>The user is not authorized to access a resource.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>The resource could not be found.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
65
+ *
66
+ * @throws {@link WorkSpacesServiceException}
67
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
68
+ *
69
+ *
70
+ * @example Example – Deleting an agent-enforced policy
71
+ * ```javascript
72
+ * // The following example deletes an agent-enforced policy.
73
+ * const input = {
74
+ * PolicyId: "wsae-a1b2c3d4"
75
+ * };
76
+ * const command = new DeleteAgentEnforcedPolicyCommand(input);
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * { /* empty *\/ }
80
+ * *\/
81
+ * ```
82
+ *
83
+ * @public
84
+ */
85
+ export declare class DeleteAgentEnforcedPolicyCommand extends DeleteAgentEnforcedPolicyCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: DeleteAgentEnforcedPolicyRequest;
90
+ output: {};
91
+ };
92
+ sdk: {
93
+ input: DeleteAgentEnforcedPolicyCommandInput;
94
+ output: DeleteAgentEnforcedPolicyCommandOutput;
95
+ };
96
+ };
97
+ }
@@ -0,0 +1,97 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteAgenticContextRequest, DeleteAgenticContextResult } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteAgenticContextCommand}.
11
+ */
12
+ export interface DeleteAgenticContextCommandInput extends DeleteAgenticContextRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteAgenticContextCommand}.
18
+ */
19
+ export interface DeleteAgenticContextCommandOutput extends DeleteAgenticContextResult, __MetadataBearer {
20
+ }
21
+ declare const DeleteAgenticContextCommand_base: {
22
+ new (input: DeleteAgenticContextCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgenticContextCommandInput, DeleteAgenticContextCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteAgenticContextCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgenticContextCommandInput, DeleteAgenticContextCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes an agentic context. You can't undo this action. You can't delete a context that a persona configuration or WorkSpace uses. If you try, the operation returns <code>ConflictException</code>, and its <code>ResourceId</code> identifies a persona configuration or WorkSpace that uses the context.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WorkSpacesClient, DeleteAgenticContextCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
32
+ * // const { WorkSpacesClient, DeleteAgenticContextCommand } = 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 = { // DeleteAgenticContextRequest
37
+ * AgenticContextId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new DeleteAgenticContextCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param DeleteAgenticContextCommandInput - {@link DeleteAgenticContextCommandInput}
46
+ * @returns {@link DeleteAgenticContextCommandOutput}
47
+ * @see {@link DeleteAgenticContextCommandInput} for command's `input` shape.
48
+ * @see {@link DeleteAgenticContextCommandOutput} for command's `response` shape.
49
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
50
+ *
51
+ * @throws {@link AccessDeniedException} (client fault)
52
+ * <p>The user is not authorized to access a resource.</p>
53
+ *
54
+ * @throws {@link ConflictException} (client fault)
55
+ * <p>The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>The resource could not be found.</p>
59
+ *
60
+ * @throws {@link ThrottlingException} (client fault)
61
+ * <p>The request was throttled. Retry the request with exponential backoff.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
65
+ *
66
+ * @throws {@link WorkSpacesServiceException}
67
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
68
+ *
69
+ *
70
+ * @example Example – Deleting a context
71
+ * ```javascript
72
+ * // The following example deletes a context.
73
+ * const input = {
74
+ * AgenticContextId: "wsactx-e5f6g7h8"
75
+ * };
76
+ * const command = new DeleteAgenticContextCommand(input);
77
+ * const response = await client.send(command);
78
+ * /* response is
79
+ * { /* empty *\/ }
80
+ * *\/
81
+ * ```
82
+ *
83
+ * @public
84
+ */
85
+ export declare class DeleteAgenticContextCommand extends DeleteAgenticContextCommand_base {
86
+ /** @internal type navigation helper, not in runtime. */
87
+ protected static __types: {
88
+ api: {
89
+ input: DeleteAgenticContextRequest;
90
+ output: {};
91
+ };
92
+ sdk: {
93
+ input: DeleteAgenticContextCommandInput;
94
+ output: DeleteAgenticContextCommandOutput;
95
+ };
96
+ };
97
+ }