@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.
- 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,94 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetAgenticAccountSetupRequest, GetAgenticAccountSetupResult } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetAgenticAccountSetupCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetAgenticAccountSetupCommandInput extends GetAgenticAccountSetupRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetAgenticAccountSetupCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAgenticAccountSetupCommandOutput extends GetAgenticAccountSetupResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetAgenticAccountSetupCommand_base: {
|
|
22
|
+
new (input: GetAgenticAccountSetupCommandInput): import("@smithy/core/client").CommandImpl<GetAgenticAccountSetupCommandInput, GetAgenticAccountSetupCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [GetAgenticAccountSetupCommandInput]): import("@smithy/core/client").CommandImpl<GetAgenticAccountSetupCommandInput, GetAgenticAccountSetupCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Describes the agentic setup of your account in the current Region. If you haven't set up your account, the status is <code>NOT_SET_UP</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, GetAgenticAccountSetupCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
32
|
+
* // const { WorkSpacesClient, GetAgenticAccountSetupCommand } = 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 = {};
|
|
37
|
+
* const command = new GetAgenticAccountSetupCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetAgenticAccountSetupResult
|
|
40
|
+
* // AgenticAccountSetup: { // AgenticAccountSetup
|
|
41
|
+
* // Status: "NOT_SET_UP" || "SETTING_UP" || "READY" || "SETUP_FAILED" || "FAILED" || "UPDATING" || "UPDATE_FAILED", // required
|
|
42
|
+
* // ErrorCode: "INFERENCE_PROVIDER_ACCESS_DENIED" || "GATEWAY_FAILED" || "ROLE_NOT_ASSUMABLE" || "INSUFFICIENT_CAPACITY" || "UNKNOWN" || "INTERNAL_ERROR",
|
|
43
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param GetAgenticAccountSetupCommandInput - {@link GetAgenticAccountSetupCommandInput}
|
|
50
|
+
* @returns {@link GetAgenticAccountSetupCommandOutput}
|
|
51
|
+
* @see {@link GetAgenticAccountSetupCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link GetAgenticAccountSetupCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
59
|
+
* <p>The request was throttled. Retry the request with exponential backoff.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link WorkSpacesServiceException}
|
|
62
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
* @example Example – Checking the agentic setup status of an account
|
|
66
|
+
* ```javascript
|
|
67
|
+
* // The following example returns the agentic setup status of the calling account.
|
|
68
|
+
* const input = { /* empty *\/ };
|
|
69
|
+
* const command = new GetAgenticAccountSetupCommand(input);
|
|
70
|
+
* const response = await client.send(command);
|
|
71
|
+
* /* response is
|
|
72
|
+
* {
|
|
73
|
+
* AgenticAccountSetup: {
|
|
74
|
+
* Status: "READY"
|
|
75
|
+
* }
|
|
76
|
+
* }
|
|
77
|
+
* *\/
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetAgenticAccountSetupCommand extends GetAgenticAccountSetupCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: {};
|
|
87
|
+
output: GetAgenticAccountSetupResult;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: GetAgenticAccountSetupCommandInput;
|
|
91
|
+
output: GetAgenticAccountSetupCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetAgenticContextRequest, GetAgenticContextResult } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetAgenticContextCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetAgenticContextCommandInput extends GetAgenticContextRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetAgenticContextCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAgenticContextCommandOutput extends GetAgenticContextResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetAgenticContextCommand_base: {
|
|
22
|
+
new (input: GetAgenticContextCommandInput): import("@smithy/core/client").CommandImpl<GetAgenticContextCommandInput, GetAgenticContextCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetAgenticContextCommandInput): import("@smithy/core/client").CommandImpl<GetAgenticContextCommandInput, GetAgenticContextCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Describes an agentic context, including its body.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WorkSpacesClient, GetAgenticContextCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
32
|
+
* // const { WorkSpacesClient, GetAgenticContextCommand } = 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 = { // GetAgenticContextRequest
|
|
37
|
+
* AgenticContextId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetAgenticContextCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetAgenticContextResult
|
|
42
|
+
* // AgenticContext: { // AgenticContext
|
|
43
|
+
* // Id: "STRING_VALUE", // required
|
|
44
|
+
* // Name: "STRING_VALUE", // required
|
|
45
|
+
* // Description: "STRING_VALUE",
|
|
46
|
+
* // ContextType: "STEERING" || "SKILL" || "WORKFLOW", // required
|
|
47
|
+
* // TargetFilePath: "STRING_VALUE", // required
|
|
48
|
+
* // ContextBody: "STRING_VALUE",
|
|
49
|
+
* // ContextBodySizeBytes: Number("int"),
|
|
50
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // },
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param GetAgenticContextCommandInput - {@link GetAgenticContextCommandInput}
|
|
58
|
+
* @returns {@link GetAgenticContextCommandOutput}
|
|
59
|
+
* @see {@link GetAgenticContextCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link GetAgenticContextCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The resource could not be found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was throttled. Retry the request with exponential backoff.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link WorkSpacesServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @example Example – Getting a context
|
|
80
|
+
* ```javascript
|
|
81
|
+
* // The following example gets a context, including its body.
|
|
82
|
+
* const input = {
|
|
83
|
+
* AgenticContextId: "wsactx-a1b2c3d4"
|
|
84
|
+
* };
|
|
85
|
+
* const command = new GetAgenticContextCommand(input);
|
|
86
|
+
* const response = await client.send(command);
|
|
87
|
+
* /* response is
|
|
88
|
+
* {
|
|
89
|
+
* AgenticContext: {
|
|
90
|
+
* ContextBody: "# Coding standards
|
|
91
|
+
*
|
|
92
|
+
* Write unit tests for every change.",
|
|
93
|
+
* ContextBodySizeBytes: 54,
|
|
94
|
+
* ContextType: "STEERING",
|
|
95
|
+
* CreatedAt: "2026-11-01T17:00:00Z",
|
|
96
|
+
* Description: "Team coding standards for agents.",
|
|
97
|
+
* Id: "wsactx-a1b2c3d4",
|
|
98
|
+
* Name: "coding-standards",
|
|
99
|
+
* TargetFilePath: "coding-standards.md",
|
|
100
|
+
* UpdatedAt: "2026-11-01T17:00:00Z"
|
|
101
|
+
* }
|
|
102
|
+
* }
|
|
103
|
+
* *\/
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class GetAgenticContextCommand extends GetAgenticContextCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: GetAgenticContextRequest;
|
|
113
|
+
output: GetAgenticContextResult;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: GetAgenticContextCommandInput;
|
|
117
|
+
output: GetAgenticContextCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetAgenticWorkspaceConfigurationRequest, GetAgenticWorkspaceConfigurationResult } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetAgenticWorkspaceConfigurationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetAgenticWorkspaceConfigurationCommandInput extends GetAgenticWorkspaceConfigurationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetAgenticWorkspaceConfigurationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetAgenticWorkspaceConfigurationCommandOutput extends GetAgenticWorkspaceConfigurationResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetAgenticWorkspaceConfigurationCommand_base: {
|
|
22
|
+
new (input: GetAgenticWorkspaceConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetAgenticWorkspaceConfigurationCommandInput, GetAgenticWorkspaceConfigurationCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetAgenticWorkspaceConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetAgenticWorkspaceConfigurationCommandInput, GetAgenticWorkspaceConfigurationCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Describes the agentic configuration of the specified WorkSpace, including its models, agent runtime, connectors, contexts, enforced policies, and agent health.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WorkSpacesClient, GetAgenticWorkspaceConfigurationCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
32
|
+
* // const { WorkSpacesClient, GetAgenticWorkspaceConfigurationCommand } = 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 = { // GetAgenticWorkspaceConfigurationRequest
|
|
37
|
+
* WorkspaceId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetAgenticWorkspaceConfigurationCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetAgenticWorkspaceConfigurationResult
|
|
42
|
+
* // AgenticWorkspaceConfiguration: { // AgenticWorkspaceConfiguration
|
|
43
|
+
* // Models: [ // WorkspaceModelList // required
|
|
44
|
+
* // { // WorkspaceModel
|
|
45
|
+
* // Id: "STRING_VALUE", // required
|
|
46
|
+
* // Name: "STRING_VALUE", // required
|
|
47
|
+
* // },
|
|
48
|
+
* // ],
|
|
49
|
+
* // AgentRuntime: { // WorkspaceAgentRuntime
|
|
50
|
+
* // Id: "STRING_VALUE", // required
|
|
51
|
+
* // Name: "STRING_VALUE", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // Connectors: [ // WorkspaceAgenticConnectorList
|
|
54
|
+
* // { // WorkspaceAgenticConnector
|
|
55
|
+
* // Id: "STRING_VALUE", // required
|
|
56
|
+
* // Name: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // Contexts: [ // WorkspaceAgenticContextList
|
|
60
|
+
* // { // WorkspaceAgenticContext
|
|
61
|
+
* // Id: "STRING_VALUE", // required
|
|
62
|
+
* // Name: "STRING_VALUE", // required
|
|
63
|
+
* // ContextType: "STEERING" || "SKILL" || "WORKFLOW", // required
|
|
64
|
+
* // FileName: "STRING_VALUE", // required
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // WorkspaceEnforcedPolicy: { // WorkspaceEnforcedPolicyAssociation
|
|
68
|
+
* // PolicyId: "STRING_VALUE", // required
|
|
69
|
+
* // SyncStatus: "PENDING_UPDATE" || "IN_SYNC" || "FAILED",
|
|
70
|
+
* // ErrorCode: "POLICY_APPLY_FAILED",
|
|
71
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // AgentEnforcedPolicy: { // AgentEnforcedPolicyAssociation
|
|
74
|
+
* // PolicyId: "STRING_VALUE", // required
|
|
75
|
+
* // SyncStatus: "PENDING_UPDATE" || "IN_SYNC" || "FAILED",
|
|
76
|
+
* // ErrorCode: "POLICY_APPLY_FAILED",
|
|
77
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // AgenticRuntimeState: { // AgenticRuntimeState
|
|
80
|
+
* // Status: "AVAILABLE" || "PENDING" || "IMPAIRED" || "ERROR" || "UNKNOWN", // required
|
|
81
|
+
* // ErrorCode: "BOOT" || "INSTALL" || "RECONCILE" || "SELF_UPDATE" || "ROLLBACK" || "AGENT_UPDATE_REQUIRED" || "CREDENTIAL_REFRESH_FAILING" || "PERMISSION_DENIED" || "SESSION_CAPACITY_EXHAUSTED" || "BOOT_TIMED_OUT" || "RECONCILE_TIMED_OUT" || "CODING_AGENT_BINARY_MISSING" || "CODING_AGENT_BINARY_CORRUPT" || "CREDENTIALS_EXPIRED" || "CONFIG_APPLY_FAILED" || "DCV_CHANNEL_UNAVAILABLE" || "WORKSPACE_NOT_RUNNING" || "AGENT_UNREACHABLE",
|
|
82
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // };
|
|
86
|
+
*
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* @param GetAgenticWorkspaceConfigurationCommandInput - {@link GetAgenticWorkspaceConfigurationCommandInput}
|
|
90
|
+
* @returns {@link GetAgenticWorkspaceConfigurationCommandOutput}
|
|
91
|
+
* @see {@link GetAgenticWorkspaceConfigurationCommandInput} for command's `input` shape.
|
|
92
|
+
* @see {@link GetAgenticWorkspaceConfigurationCommandOutput} for command's `response` shape.
|
|
93
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
96
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
99
|
+
* <p>The resource could not be found.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
102
|
+
* <p>The request was throttled. Retry the request with exponential backoff.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ValidationException} (client fault)
|
|
105
|
+
* <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link WorkSpacesServiceException}
|
|
108
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
109
|
+
*
|
|
110
|
+
*
|
|
111
|
+
* @example Example – Getting the agentic configuration of a WorkSpace
|
|
112
|
+
* ```javascript
|
|
113
|
+
* // The following example gets the models, agent runtime, connectors, contexts, enforced policies, and agent health of a WorkSpace.
|
|
114
|
+
* const input = {
|
|
115
|
+
* WorkspaceId: "ws-dk1example1"
|
|
116
|
+
* };
|
|
117
|
+
* const command = new GetAgenticWorkspaceConfigurationCommand(input);
|
|
118
|
+
* const response = await client.send(command);
|
|
119
|
+
* /* response is
|
|
120
|
+
* {
|
|
121
|
+
* AgenticWorkspaceConfiguration: {
|
|
122
|
+
* AgentEnforcedPolicy: {
|
|
123
|
+
* PolicyId: "wsae-a1b2c3d4",
|
|
124
|
+
* SyncStatus: "IN_SYNC"
|
|
125
|
+
* },
|
|
126
|
+
* AgentRuntime: {
|
|
127
|
+
* Id: "wsart-claudecode",
|
|
128
|
+
* Name: "Claude Code"
|
|
129
|
+
* },
|
|
130
|
+
* AgenticRuntimeState: {
|
|
131
|
+
* Status: "AVAILABLE"
|
|
132
|
+
* },
|
|
133
|
+
* Connectors: [
|
|
134
|
+
* {
|
|
135
|
+
* Id: "wsacn-github",
|
|
136
|
+
* Name: "github"
|
|
137
|
+
* }
|
|
138
|
+
* ],
|
|
139
|
+
* Contexts: [
|
|
140
|
+
* {
|
|
141
|
+
* ContextType: "STEERING",
|
|
142
|
+
* FileName: "coding-standards.md",
|
|
143
|
+
* Id: "wsactx-a1b2c3d4",
|
|
144
|
+
* Name: "coding-standards"
|
|
145
|
+
* }
|
|
146
|
+
* ],
|
|
147
|
+
* Models: [
|
|
148
|
+
* {
|
|
149
|
+
* Id: "anthropic.claude-sonnet-5-5",
|
|
150
|
+
* Name: "Claude Sonnet 5.5"
|
|
151
|
+
* }
|
|
152
|
+
* ],
|
|
153
|
+
* WorkspaceEnforcedPolicy: {
|
|
154
|
+
* PolicyId: "wsep-a1b2c3d4",
|
|
155
|
+
* SyncStatus: "IN_SYNC"
|
|
156
|
+
* }
|
|
157
|
+
* }
|
|
158
|
+
* }
|
|
159
|
+
* *\/
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
export declare class GetAgenticWorkspaceConfigurationCommand extends GetAgenticWorkspaceConfigurationCommand_base {
|
|
165
|
+
/** @internal type navigation helper, not in runtime. */
|
|
166
|
+
protected static __types: {
|
|
167
|
+
api: {
|
|
168
|
+
input: GetAgenticWorkspaceConfigurationRequest;
|
|
169
|
+
output: GetAgenticWorkspaceConfigurationResult;
|
|
170
|
+
};
|
|
171
|
+
sdk: {
|
|
172
|
+
input: GetAgenticWorkspaceConfigurationCommandInput;
|
|
173
|
+
output: GetAgenticWorkspaceConfigurationCommandOutput;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
}
|
|
@@ -66,11 +66,10 @@ declare const ListAccountLinksCommand_base: {
|
|
|
66
66
|
* <p>The user is not authorized to access a resource.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link InternalServerException} (client fault)
|
|
69
|
-
* <p>
|
|
69
|
+
* <p>An unexpected server error occurred. Retry your request.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ValidationException} (client fault)
|
|
72
|
-
* <p>
|
|
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,114 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListAccountModelsRequest, ListAccountModelsResult } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListAccountModelsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListAccountModelsCommandInput extends ListAccountModelsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListAccountModelsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListAccountModelsCommandOutput extends ListAccountModelsResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListAccountModelsCommand_base: {
|
|
22
|
+
new (input: ListAccountModelsCommandInput): import("@smithy/core/client").CommandImpl<ListAccountModelsCommandInput, ListAccountModelsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListAccountModelsCommandInput]): import("@smithy/core/client").CommandImpl<ListAccountModelsCommandInput, ListAccountModelsCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the models on your account's model list, sorted by model ID. This operation is paginated. To get the next page, pass the <code>NextToken</code> from the previous response.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WorkSpacesClient, ListAccountModelsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
32
|
+
* // const { WorkSpacesClient, ListAccountModelsCommand } = 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 = { // ListAccountModelsRequest
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListAccountModelsCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListAccountModelsResult
|
|
43
|
+
* // Models: [ // AccountModelList // required
|
|
44
|
+
* // { // AccountModel
|
|
45
|
+
* // ModelId: "STRING_VALUE", // required
|
|
46
|
+
* // Name: "STRING_VALUE",
|
|
47
|
+
* // Status: "ASSOCIATED", // required
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // NextToken: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param ListAccountModelsCommandInput - {@link ListAccountModelsCommandInput}
|
|
56
|
+
* @returns {@link ListAccountModelsCommandOutput}
|
|
57
|
+
* @see {@link ListAccountModelsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link ListAccountModelsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was throttled. Retry the request with exponential backoff.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link WorkSpacesServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @example Example – Listing the models on an account's model list
|
|
75
|
+
* ```javascript
|
|
76
|
+
* // The following example lists the models on the calling account's model list.
|
|
77
|
+
* const input = {
|
|
78
|
+
* MaxResults: 25
|
|
79
|
+
* };
|
|
80
|
+
* const command = new ListAccountModelsCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* /* response is
|
|
83
|
+
* {
|
|
84
|
+
* Models: [
|
|
85
|
+
* {
|
|
86
|
+
* ModelId: "anthropic.claude-opus-5-5",
|
|
87
|
+
* Name: "Claude Opus 5.5",
|
|
88
|
+
* Status: "ASSOCIATED"
|
|
89
|
+
* },
|
|
90
|
+
* {
|
|
91
|
+
* ModelId: "anthropic.claude-sonnet-5-5",
|
|
92
|
+
* Name: "Claude Sonnet 5.5",
|
|
93
|
+
* Status: "ASSOCIATED"
|
|
94
|
+
* }
|
|
95
|
+
* ]
|
|
96
|
+
* }
|
|
97
|
+
* *\/
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export declare class ListAccountModelsCommand extends ListAccountModelsCommand_base {
|
|
103
|
+
/** @internal type navigation helper, not in runtime. */
|
|
104
|
+
protected static __types: {
|
|
105
|
+
api: {
|
|
106
|
+
input: ListAccountModelsRequest;
|
|
107
|
+
output: ListAccountModelsResult;
|
|
108
|
+
};
|
|
109
|
+
sdk: {
|
|
110
|
+
input: ListAccountModelsCommandInput;
|
|
111
|
+
output: ListAccountModelsCommandOutput;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListAgentEnforcedPoliciesRequest, ListAgentEnforcedPoliciesResult } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListAgentEnforcedPoliciesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListAgentEnforcedPoliciesCommandInput extends ListAgentEnforcedPoliciesRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListAgentEnforcedPoliciesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListAgentEnforcedPoliciesCommandOutput extends ListAgentEnforcedPoliciesResult, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListAgentEnforcedPoliciesCommand_base: {
|
|
22
|
+
new (input: ListAgentEnforcedPoliciesCommandInput): import("@smithy/core/client").CommandImpl<ListAgentEnforcedPoliciesCommandInput, ListAgentEnforcedPoliciesCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListAgentEnforcedPoliciesCommandInput]): import("@smithy/core/client").CommandImpl<ListAgentEnforcedPoliciesCommandInput, ListAgentEnforcedPoliciesCommandOutput, import("..").WorkSpacesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the agent-enforced policies that you can use, including policies that Amazon owns. This operation is paginated. To get the next page, pass the <code>NextToken</code> from the previous response.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WorkSpacesClient, ListAgentEnforcedPoliciesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
32
|
+
* // const { WorkSpacesClient, ListAgentEnforcedPoliciesCommand } = 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 = { // ListAgentEnforcedPoliciesRequest
|
|
37
|
+
* Owner: "SELF" || "AMAZON",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListAgentEnforcedPoliciesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListAgentEnforcedPoliciesResult
|
|
44
|
+
* // PolicySummaries: [ // AgentEnforcedPolicyListSummaryPage // required
|
|
45
|
+
* // { // AgentEnforcedPolicyListSummary
|
|
46
|
+
* // Id: "STRING_VALUE", // required
|
|
47
|
+
* // Name: "STRING_VALUE", // required
|
|
48
|
+
* // Owner: "SELF" || "AMAZON", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // NextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListAgentEnforcedPoliciesCommandInput - {@link ListAgentEnforcedPoliciesCommandInput}
|
|
57
|
+
* @returns {@link ListAgentEnforcedPoliciesCommandOutput}
|
|
58
|
+
* @see {@link ListAgentEnforcedPoliciesCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListAgentEnforcedPoliciesCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was throttled. Retry the request with exponential backoff.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>Your request failed validation. Check the error message for the parameter that isn't valid.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link WorkSpacesServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* @example Example – Listing your agent-enforced policies
|
|
76
|
+
* ```javascript
|
|
77
|
+
* // The following example lists the agent-enforced policies that you created.
|
|
78
|
+
* const input = {
|
|
79
|
+
* MaxResults: 10,
|
|
80
|
+
* Owner: "SELF"
|
|
81
|
+
* };
|
|
82
|
+
* const command = new ListAgentEnforcedPoliciesCommand(input);
|
|
83
|
+
* const response = await client.send(command);
|
|
84
|
+
* /* response is
|
|
85
|
+
* {
|
|
86
|
+
* PolicySummaries: [
|
|
87
|
+
* {
|
|
88
|
+
* Id: "wsae-a1b2c3d4",
|
|
89
|
+
* Name: "no-user-extensions",
|
|
90
|
+
* Owner: "SELF"
|
|
91
|
+
* }
|
|
92
|
+
* ]
|
|
93
|
+
* }
|
|
94
|
+
* *\/
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class ListAgentEnforcedPoliciesCommand extends ListAgentEnforcedPoliciesCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: ListAgentEnforcedPoliciesRequest;
|
|
104
|
+
output: ListAgentEnforcedPoliciesResult;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: ListAgentEnforcedPoliciesCommandInput;
|
|
108
|
+
output: ListAgentEnforcedPoliciesCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|