@aws-sdk/client-workspaces 3.425.0 → 3.426.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 +64 -0
- package/dist-cjs/WorkSpaces.js +16 -0
- package/dist-cjs/commands/AssociateWorkspaceApplicationCommand.js +51 -0
- package/dist-cjs/commands/DeployWorkspaceApplicationsCommand.js +51 -0
- package/dist-cjs/commands/DescribeApplicationAssociationsCommand.js +51 -0
- package/dist-cjs/commands/DescribeApplicationsCommand.js +51 -0
- package/dist-cjs/commands/DescribeBundleAssociationsCommand.js +51 -0
- package/dist-cjs/commands/DescribeImageAssociationsCommand.js +51 -0
- package/dist-cjs/commands/DescribeWorkspaceAssociationsCommand.js +51 -0
- package/dist-cjs/commands/DisassociateWorkspaceApplicationCommand.js +51 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +136 -14
- package/dist-cjs/pagination/DescribeApplicationAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeApplicationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +611 -3
- package/dist-es/WorkSpaces.js +16 -0
- package/dist-es/commands/AssociateWorkspaceApplicationCommand.js +47 -0
- package/dist-es/commands/DeployWorkspaceApplicationsCommand.js +47 -0
- package/dist-es/commands/DescribeApplicationAssociationsCommand.js +47 -0
- package/dist-es/commands/DescribeApplicationsCommand.js +47 -0
- package/dist-es/commands/DescribeBundleAssociationsCommand.js +47 -0
- package/dist-es/commands/DescribeImageAssociationsCommand.js +47 -0
- package/dist-es/commands/DescribeWorkspaceAssociationsCommand.js +47 -0
- package/dist-es/commands/DisassociateWorkspaceApplicationCommand.js +47 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +128 -12
- package/dist-es/pagination/DescribeApplicationAssociationsPaginator.js +25 -0
- package/dist-es/pagination/DescribeApplicationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +593 -1
- package/dist-types/WorkSpaces.d.ts +56 -0
- package/dist-types/WorkSpacesClient.d.ts +10 -2
- package/dist-types/commands/AssociateWorkspaceApplicationCommand.d.ts +115 -0
- package/dist-types/commands/CreateWorkspacesCommand.d.ts +3 -0
- package/dist-types/commands/DeployWorkspaceApplicationsCommand.d.ts +107 -0
- package/dist-types/commands/DescribeApplicationAssociationsCommand.d.ts +104 -0
- package/dist-types/commands/DescribeApplicationsCommand.d.ts +114 -0
- package/dist-types/commands/DescribeBundleAssociationsCommand.d.ts +101 -0
- package/dist-types/commands/DescribeImageAssociationsCommand.d.ts +101 -0
- package/dist-types/commands/DescribeWorkspaceAssociationsCommand.d.ts +101 -0
- package/dist-types/commands/DescribeWorkspacesCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateWorkspaceApplicationCommand.d.ts +100 -0
- package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +701 -15
- package/dist-types/pagination/DescribeApplicationAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +72 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +136 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/AssociateWorkspaceApplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeployWorkspaceApplicationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeApplicationAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeApplicationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeBundleAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeImageAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeWorkspaceAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DisassociateWorkspaceApplicationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +251 -7
- package/dist-types/ts3.4/pagination/DescribeApplicationAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +96 -0
- package/package.json +1 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DescribeApplicationsRequest, DescribeApplicationsResult } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeApplicationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeApplicationsCommandInput extends DescribeApplicationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeApplicationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeApplicationsCommandOutput extends DescribeApplicationsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Describes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesClient, DescribeApplicationsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesClient, DescribeApplicationsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesClient(config);
|
|
33
|
+
* const input = { // DescribeApplicationsRequest
|
|
34
|
+
* ApplicationIds: [ // WorkSpaceApplicationIdList
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* ComputeTypeNames: [ // ComputeList
|
|
38
|
+
* "VALUE" || "STANDARD" || "PERFORMANCE" || "POWER" || "GRAPHICS" || "POWERPRO" || "GRAPHICSPRO" || "GRAPHICS_G4DN" || "GRAPHICSPRO_G4DN",
|
|
39
|
+
* ],
|
|
40
|
+
* LicenseType: "LICENSED" || "UNLICENSED",
|
|
41
|
+
* OperatingSystemNames: [ // OperatingSystemNameList
|
|
42
|
+
* "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022",
|
|
43
|
+
* ],
|
|
44
|
+
* Owner: "STRING_VALUE",
|
|
45
|
+
* MaxResults: Number("int"),
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new DescribeApplicationsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // DescribeApplicationsResult
|
|
51
|
+
* // Applications: [ // WorkSpaceApplicationList
|
|
52
|
+
* // { // WorkSpaceApplication
|
|
53
|
+
* // ApplicationId: "STRING_VALUE",
|
|
54
|
+
* // Created: new Date("TIMESTAMP"),
|
|
55
|
+
* // Description: "STRING_VALUE",
|
|
56
|
+
* // LicenseType: "LICENSED" || "UNLICENSED",
|
|
57
|
+
* // Name: "STRING_VALUE",
|
|
58
|
+
* // Owner: "STRING_VALUE",
|
|
59
|
+
* // State: "PENDING" || "ERROR" || "AVAILABLE" || "UNINSTALL_ONLY",
|
|
60
|
+
* // SupportedComputeTypeNames: [ // ComputeList
|
|
61
|
+
* // "VALUE" || "STANDARD" || "PERFORMANCE" || "POWER" || "GRAPHICS" || "POWERPRO" || "GRAPHICSPRO" || "GRAPHICS_G4DN" || "GRAPHICSPRO_G4DN",
|
|
62
|
+
* // ],
|
|
63
|
+
* // SupportedOperatingSystemNames: [ // OperatingSystemNameList
|
|
64
|
+
* // "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022",
|
|
65
|
+
* // ],
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // NextToken: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param DescribeApplicationsCommandInput - {@link DescribeApplicationsCommandInput}
|
|
74
|
+
* @returns {@link DescribeApplicationsCommandOutput}
|
|
75
|
+
* @see {@link DescribeApplicationsCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link DescribeApplicationsCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
80
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InvalidParameterValuesException} (client fault)
|
|
83
|
+
* <p>One or more parameter values are not valid.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link OperationNotSupportedException} (client fault)
|
|
86
|
+
* <p>This operation is not supported.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>The resource could not be found.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link WorkSpacesServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
export declare class DescribeApplicationsCommand extends $Command<DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput, WorkSpacesClientResolvedConfig> {
|
|
96
|
+
readonly input: DescribeApplicationsCommandInput;
|
|
97
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
constructor(input: DescribeApplicationsCommandInput);
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput>;
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
private serialize;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
private deserialize;
|
|
114
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DescribeBundleAssociationsRequest, DescribeBundleAssociationsResult } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeBundleAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeBundleAssociationsCommandInput extends DescribeBundleAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeBundleAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeBundleAssociationsCommandOutput extends DescribeBundleAssociationsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Describes the associations between the applications and the specified bundle.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesClient, DescribeBundleAssociationsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesClient, DescribeBundleAssociationsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesClient(config);
|
|
33
|
+
* const input = { // DescribeBundleAssociationsRequest
|
|
34
|
+
* BundleId: "STRING_VALUE", // required
|
|
35
|
+
* AssociatedResourceTypes: [ // BundleAssociatedResourceTypeList // required
|
|
36
|
+
* "APPLICATION",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DescribeBundleAssociationsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeBundleAssociationsResult
|
|
42
|
+
* // Associations: [ // BundleResourceAssociationList
|
|
43
|
+
* // { // BundleResourceAssociation
|
|
44
|
+
* // AssociatedResourceId: "STRING_VALUE",
|
|
45
|
+
* // AssociatedResourceType: "APPLICATION",
|
|
46
|
+
* // BundleId: "STRING_VALUE",
|
|
47
|
+
* // Created: new Date("TIMESTAMP"),
|
|
48
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
|
|
50
|
+
* // StateReason: { // AssociationStateReason
|
|
51
|
+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
|
|
52
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param DescribeBundleAssociationsCommandInput - {@link DescribeBundleAssociationsCommandInput}
|
|
61
|
+
* @returns {@link DescribeBundleAssociationsCommandOutput}
|
|
62
|
+
* @see {@link DescribeBundleAssociationsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link DescribeBundleAssociationsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidParameterValuesException} (client fault)
|
|
70
|
+
* <p>One or more parameter values are not valid.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link OperationNotSupportedException} (client fault)
|
|
73
|
+
* <p>This operation is not supported.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The resource could not be found.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link WorkSpacesServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class DescribeBundleAssociationsCommand extends $Command<DescribeBundleAssociationsCommandInput, DescribeBundleAssociationsCommandOutput, WorkSpacesClientResolvedConfig> {
|
|
83
|
+
readonly input: DescribeBundleAssociationsCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: DescribeBundleAssociationsCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBundleAssociationsCommandInput, DescribeBundleAssociationsCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DescribeImageAssociationsRequest, DescribeImageAssociationsResult } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeImageAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeImageAssociationsCommandInput extends DescribeImageAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeImageAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeImageAssociationsCommandOutput extends DescribeImageAssociationsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Describes the associations between the applications and the specified image.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesClient, DescribeImageAssociationsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesClient, DescribeImageAssociationsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesClient(config);
|
|
33
|
+
* const input = { // DescribeImageAssociationsRequest
|
|
34
|
+
* ImageId: "STRING_VALUE", // required
|
|
35
|
+
* AssociatedResourceTypes: [ // ImageAssociatedResourceTypeList // required
|
|
36
|
+
* "APPLICATION",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DescribeImageAssociationsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeImageAssociationsResult
|
|
42
|
+
* // Associations: [ // ImageResourceAssociationList
|
|
43
|
+
* // { // ImageResourceAssociation
|
|
44
|
+
* // AssociatedResourceId: "STRING_VALUE",
|
|
45
|
+
* // AssociatedResourceType: "APPLICATION",
|
|
46
|
+
* // Created: new Date("TIMESTAMP"),
|
|
47
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // ImageId: "STRING_VALUE",
|
|
49
|
+
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
|
|
50
|
+
* // StateReason: { // AssociationStateReason
|
|
51
|
+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
|
|
52
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param DescribeImageAssociationsCommandInput - {@link DescribeImageAssociationsCommandInput}
|
|
61
|
+
* @returns {@link DescribeImageAssociationsCommandOutput}
|
|
62
|
+
* @see {@link DescribeImageAssociationsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link DescribeImageAssociationsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidParameterValuesException} (client fault)
|
|
70
|
+
* <p>One or more parameter values are not valid.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link OperationNotSupportedException} (client fault)
|
|
73
|
+
* <p>This operation is not supported.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The resource could not be found.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link WorkSpacesServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class DescribeImageAssociationsCommand extends $Command<DescribeImageAssociationsCommandInput, DescribeImageAssociationsCommandOutput, WorkSpacesClientResolvedConfig> {
|
|
83
|
+
readonly input: DescribeImageAssociationsCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: DescribeImageAssociationsCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeImageAssociationsCommandInput, DescribeImageAssociationsCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DescribeWorkspaceAssociationsRequest, DescribeWorkspaceAssociationsResult } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeWorkspaceAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeWorkspaceAssociationsCommandInput extends DescribeWorkspaceAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeWorkspaceAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeWorkspaceAssociationsCommandOutput extends DescribeWorkspaceAssociationsResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Describes the associations betweens applications and the specified WorkSpace.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesClient, DescribeWorkspaceAssociationsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesClient, DescribeWorkspaceAssociationsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesClient(config);
|
|
33
|
+
* const input = { // DescribeWorkspaceAssociationsRequest
|
|
34
|
+
* WorkspaceId: "STRING_VALUE", // required
|
|
35
|
+
* AssociatedResourceTypes: [ // WorkSpaceAssociatedResourceTypeList // required
|
|
36
|
+
* "APPLICATION",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DescribeWorkspaceAssociationsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeWorkspaceAssociationsResult
|
|
42
|
+
* // Associations: [ // WorkspaceResourceAssociationList
|
|
43
|
+
* // { // WorkspaceResourceAssociation
|
|
44
|
+
* // AssociatedResourceId: "STRING_VALUE",
|
|
45
|
+
* // AssociatedResourceType: "APPLICATION",
|
|
46
|
+
* // Created: new Date("TIMESTAMP"),
|
|
47
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
48
|
+
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
|
|
49
|
+
* // StateReason: { // AssociationStateReason
|
|
50
|
+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
|
|
51
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // WorkspaceId: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param DescribeWorkspaceAssociationsCommandInput - {@link DescribeWorkspaceAssociationsCommandInput}
|
|
61
|
+
* @returns {@link DescribeWorkspaceAssociationsCommandOutput}
|
|
62
|
+
* @see {@link DescribeWorkspaceAssociationsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link DescribeWorkspaceAssociationsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>The user is not authorized to access a resource.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InvalidParameterValuesException} (client fault)
|
|
70
|
+
* <p>One or more parameter values are not valid.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link OperationNotSupportedException} (client fault)
|
|
73
|
+
* <p>This operation is not supported.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The resource could not be found.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link WorkSpacesServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class DescribeWorkspaceAssociationsCommand extends $Command<DescribeWorkspaceAssociationsCommandInput, DescribeWorkspaceAssociationsCommandOutput, WorkSpacesClientResolvedConfig> {
|
|
83
|
+
readonly input: DescribeWorkspaceAssociationsCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: DescribeWorkspaceAssociationsCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeWorkspaceAssociationsCommandInput, DescribeWorkspaceAssociationsCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -69,6 +69,7 @@ export interface DescribeWorkspacesCommandOutput extends DescribeWorkspacesResul
|
|
|
69
69
|
* // Protocols: [ // ProtocolList
|
|
70
70
|
* // "PCOIP" || "WSP",
|
|
71
71
|
* // ],
|
|
72
|
+
* // OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022",
|
|
72
73
|
* // },
|
|
73
74
|
* // ModificationStates: [ // ModificationStateList
|
|
74
75
|
* // { // ModificationState
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DisassociateWorkspaceApplicationRequest, DisassociateWorkspaceApplicationResult } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateWorkspaceApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateWorkspaceApplicationCommandInput extends DisassociateWorkspaceApplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateWorkspaceApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateWorkspaceApplicationCommandOutput extends DisassociateWorkspaceApplicationResult, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Disassociates the specified application from a WorkSpace.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WorkSpacesClient, DisassociateWorkspaceApplicationCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
31
|
+
* // const { WorkSpacesClient, DisassociateWorkspaceApplicationCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
32
|
+
* const client = new WorkSpacesClient(config);
|
|
33
|
+
* const input = { // DisassociateWorkspaceApplicationRequest
|
|
34
|
+
* WorkspaceId: "STRING_VALUE", // required
|
|
35
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DisassociateWorkspaceApplicationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DisassociateWorkspaceApplicationResult
|
|
40
|
+
* // Association: { // WorkspaceResourceAssociation
|
|
41
|
+
* // AssociatedResourceId: "STRING_VALUE",
|
|
42
|
+
* // AssociatedResourceType: "APPLICATION",
|
|
43
|
+
* // Created: new Date("TIMESTAMP"),
|
|
44
|
+
* // LastUpdatedTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
|
|
46
|
+
* // StateReason: { // AssociationStateReason
|
|
47
|
+
* // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
|
|
48
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // WorkspaceId: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param DisassociateWorkspaceApplicationCommandInput - {@link DisassociateWorkspaceApplicationCommandInput}
|
|
57
|
+
* @returns {@link DisassociateWorkspaceApplicationCommandOutput}
|
|
58
|
+
* @see {@link DisassociateWorkspaceApplicationCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link DisassociateWorkspaceApplicationCommandOutput} 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 InvalidParameterValuesException} (client fault)
|
|
66
|
+
* <p>One or more parameter values are not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link OperationNotSupportedException} (client fault)
|
|
69
|
+
* <p>This operation is not supported.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
72
|
+
* <p>The specified resource is currently in use.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The resource could not be found.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link WorkSpacesServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from WorkSpaces service.</p>
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
export declare class DisassociateWorkspaceApplicationCommand extends $Command<DisassociateWorkspaceApplicationCommandInput, DisassociateWorkspaceApplicationCommandOutput, WorkSpacesClientResolvedConfig> {
|
|
82
|
+
readonly input: DisassociateWorkspaceApplicationCommandInput;
|
|
83
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
constructor(input: DisassociateWorkspaceApplicationCommandInput);
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateWorkspaceApplicationCommandInput, DisassociateWorkspaceApplicationCommandOutput>;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private serialize;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private deserialize;
|
|
100
|
+
}
|
|
@@ -49,6 +49,7 @@ export interface ModifyWorkspacePropertiesCommandOutput extends ModifyWorkspaceP
|
|
|
49
49
|
* Protocols: [ // ProtocolList
|
|
50
50
|
* "PCOIP" || "WSP",
|
|
51
51
|
* ],
|
|
52
|
+
* OperatingSystemName: "AMAZON_LINUX_2" || "UBUNTU_18_04" || "UBUNTU_20_04" || "UBUNTU_22_04" || "UNKNOWN" || "WINDOWS_10" || "WINDOWS_11" || "WINDOWS_7" || "WINDOWS_SERVER_2016" || "WINDOWS_SERVER_2019" || "WINDOWS_SERVER_2022",
|
|
52
53
|
* },
|
|
53
54
|
* };
|
|
54
55
|
* const command = new ModifyWorkspacePropertiesCommand(input);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AssociateConnectionAliasCommand";
|
|
2
2
|
export * from "./AssociateIpGroupsCommand";
|
|
3
|
+
export * from "./AssociateWorkspaceApplicationCommand";
|
|
3
4
|
export * from "./AuthorizeIpRulesCommand";
|
|
4
5
|
export * from "./CopyWorkspaceImageCommand";
|
|
5
6
|
export * from "./CreateConnectClientAddInCommand";
|
|
@@ -18,16 +19,22 @@ export * from "./DeleteIpGroupCommand";
|
|
|
18
19
|
export * from "./DeleteTagsCommand";
|
|
19
20
|
export * from "./DeleteWorkspaceBundleCommand";
|
|
20
21
|
export * from "./DeleteWorkspaceImageCommand";
|
|
22
|
+
export * from "./DeployWorkspaceApplicationsCommand";
|
|
21
23
|
export * from "./DeregisterWorkspaceDirectoryCommand";
|
|
22
24
|
export * from "./DescribeAccountCommand";
|
|
23
25
|
export * from "./DescribeAccountModificationsCommand";
|
|
26
|
+
export * from "./DescribeApplicationAssociationsCommand";
|
|
27
|
+
export * from "./DescribeApplicationsCommand";
|
|
28
|
+
export * from "./DescribeBundleAssociationsCommand";
|
|
24
29
|
export * from "./DescribeClientBrandingCommand";
|
|
25
30
|
export * from "./DescribeClientPropertiesCommand";
|
|
26
31
|
export * from "./DescribeConnectClientAddInsCommand";
|
|
27
32
|
export * from "./DescribeConnectionAliasPermissionsCommand";
|
|
28
33
|
export * from "./DescribeConnectionAliasesCommand";
|
|
34
|
+
export * from "./DescribeImageAssociationsCommand";
|
|
29
35
|
export * from "./DescribeIpGroupsCommand";
|
|
30
36
|
export * from "./DescribeTagsCommand";
|
|
37
|
+
export * from "./DescribeWorkspaceAssociationsCommand";
|
|
31
38
|
export * from "./DescribeWorkspaceBundlesCommand";
|
|
32
39
|
export * from "./DescribeWorkspaceDirectoriesCommand";
|
|
33
40
|
export * from "./DescribeWorkspaceImagePermissionsCommand";
|
|
@@ -37,6 +44,7 @@ export * from "./DescribeWorkspacesCommand";
|
|
|
37
44
|
export * from "./DescribeWorkspacesConnectionStatusCommand";
|
|
38
45
|
export * from "./DisassociateConnectionAliasCommand";
|
|
39
46
|
export * from "./DisassociateIpGroupsCommand";
|
|
47
|
+
export * from "./DisassociateWorkspaceApplicationCommand";
|
|
40
48
|
export * from "./ImportClientBrandingCommand";
|
|
41
49
|
export * from "./ImportWorkspaceImageCommand";
|
|
42
50
|
export * from "./ListAvailableManagementCidrRangesCommand";
|