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