@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.
Files changed (67) hide show
  1. package/README.md +64 -0
  2. package/dist-cjs/WorkSpaces.js +16 -0
  3. package/dist-cjs/commands/AssociateWorkspaceApplicationCommand.js +51 -0
  4. package/dist-cjs/commands/DeployWorkspaceApplicationsCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeApplicationAssociationsCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeApplicationsCommand.js +51 -0
  7. package/dist-cjs/commands/DescribeBundleAssociationsCommand.js +51 -0
  8. package/dist-cjs/commands/DescribeImageAssociationsCommand.js +51 -0
  9. package/dist-cjs/commands/DescribeWorkspaceAssociationsCommand.js +51 -0
  10. package/dist-cjs/commands/DisassociateWorkspaceApplicationCommand.js +51 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +136 -14
  13. package/dist-cjs/pagination/DescribeApplicationAssociationsPaginator.js +29 -0
  14. package/dist-cjs/pagination/DescribeApplicationsPaginator.js +29 -0
  15. package/dist-cjs/pagination/index.js +2 -0
  16. package/dist-cjs/protocols/Aws_json1_1.js +611 -3
  17. package/dist-es/WorkSpaces.js +16 -0
  18. package/dist-es/commands/AssociateWorkspaceApplicationCommand.js +47 -0
  19. package/dist-es/commands/DeployWorkspaceApplicationsCommand.js +47 -0
  20. package/dist-es/commands/DescribeApplicationAssociationsCommand.js +47 -0
  21. package/dist-es/commands/DescribeApplicationsCommand.js +47 -0
  22. package/dist-es/commands/DescribeBundleAssociationsCommand.js +47 -0
  23. package/dist-es/commands/DescribeImageAssociationsCommand.js +47 -0
  24. package/dist-es/commands/DescribeWorkspaceAssociationsCommand.js +47 -0
  25. package/dist-es/commands/DisassociateWorkspaceApplicationCommand.js +47 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/models/models_0.js +128 -12
  28. package/dist-es/pagination/DescribeApplicationAssociationsPaginator.js +25 -0
  29. package/dist-es/pagination/DescribeApplicationsPaginator.js +25 -0
  30. package/dist-es/pagination/index.js +2 -0
  31. package/dist-es/protocols/Aws_json1_1.js +593 -1
  32. package/dist-types/WorkSpaces.d.ts +56 -0
  33. package/dist-types/WorkSpacesClient.d.ts +10 -2
  34. package/dist-types/commands/AssociateWorkspaceApplicationCommand.d.ts +115 -0
  35. package/dist-types/commands/CreateWorkspacesCommand.d.ts +3 -0
  36. package/dist-types/commands/DeployWorkspaceApplicationsCommand.d.ts +107 -0
  37. package/dist-types/commands/DescribeApplicationAssociationsCommand.d.ts +104 -0
  38. package/dist-types/commands/DescribeApplicationsCommand.d.ts +114 -0
  39. package/dist-types/commands/DescribeBundleAssociationsCommand.d.ts +101 -0
  40. package/dist-types/commands/DescribeImageAssociationsCommand.d.ts +101 -0
  41. package/dist-types/commands/DescribeWorkspaceAssociationsCommand.d.ts +101 -0
  42. package/dist-types/commands/DescribeWorkspacesCommand.d.ts +1 -0
  43. package/dist-types/commands/DisassociateWorkspaceApplicationCommand.d.ts +100 -0
  44. package/dist-types/commands/ModifyWorkspacePropertiesCommand.d.ts +1 -0
  45. package/dist-types/commands/index.d.ts +8 -0
  46. package/dist-types/models/models_0.d.ts +701 -15
  47. package/dist-types/pagination/DescribeApplicationAssociationsPaginator.d.ts +7 -0
  48. package/dist-types/pagination/DescribeApplicationsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/index.d.ts +2 -0
  50. package/dist-types/protocols/Aws_json1_1.d.ts +72 -0
  51. package/dist-types/ts3.4/WorkSpaces.d.ts +136 -0
  52. package/dist-types/ts3.4/WorkSpacesClient.d.ts +48 -0
  53. package/dist-types/ts3.4/commands/AssociateWorkspaceApplicationCommand.d.ts +42 -0
  54. package/dist-types/ts3.4/commands/DeployWorkspaceApplicationsCommand.d.ts +42 -0
  55. package/dist-types/ts3.4/commands/DescribeApplicationAssociationsCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/DescribeApplicationsCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/DescribeBundleAssociationsCommand.d.ts +42 -0
  58. package/dist-types/ts3.4/commands/DescribeImageAssociationsCommand.d.ts +42 -0
  59. package/dist-types/ts3.4/commands/DescribeWorkspaceAssociationsCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/DisassociateWorkspaceApplicationCommand.d.ts +42 -0
  61. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +251 -7
  63. package/dist-types/ts3.4/pagination/DescribeApplicationAssociationsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/DescribeApplicationsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  66. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +96 -0
  67. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput } from "./commands/AssociateConnectionAliasCommand";
3
3
  import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "./commands/AssociateIpGroupsCommand";
4
+ import { AssociateWorkspaceApplicationCommandInput, AssociateWorkspaceApplicationCommandOutput } from "./commands/AssociateWorkspaceApplicationCommand";
4
5
  import { AuthorizeIpRulesCommandInput, AuthorizeIpRulesCommandOutput } from "./commands/AuthorizeIpRulesCommand";
5
6
  import { CopyWorkspaceImageCommandInput, CopyWorkspaceImageCommandOutput } from "./commands/CopyWorkspaceImageCommand";
6
7
  import { CreateConnectClientAddInCommandInput, CreateConnectClientAddInCommandOutput } from "./commands/CreateConnectClientAddInCommand";
@@ -19,16 +20,22 @@ import { DeleteIpGroupCommandInput, DeleteIpGroupCommandOutput } from "./command
19
20
  import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
20
21
  import { DeleteWorkspaceBundleCommandInput, DeleteWorkspaceBundleCommandOutput } from "./commands/DeleteWorkspaceBundleCommand";
21
22
  import { DeleteWorkspaceImageCommandInput, DeleteWorkspaceImageCommandOutput } from "./commands/DeleteWorkspaceImageCommand";
23
+ import { DeployWorkspaceApplicationsCommandInput, DeployWorkspaceApplicationsCommandOutput } from "./commands/DeployWorkspaceApplicationsCommand";
22
24
  import { DeregisterWorkspaceDirectoryCommandInput, DeregisterWorkspaceDirectoryCommandOutput } from "./commands/DeregisterWorkspaceDirectoryCommand";
23
25
  import { DescribeAccountCommandInput, DescribeAccountCommandOutput } from "./commands/DescribeAccountCommand";
24
26
  import { DescribeAccountModificationsCommandInput, DescribeAccountModificationsCommandOutput } from "./commands/DescribeAccountModificationsCommand";
27
+ import { DescribeApplicationAssociationsCommandInput, DescribeApplicationAssociationsCommandOutput } from "./commands/DescribeApplicationAssociationsCommand";
28
+ import { DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput } from "./commands/DescribeApplicationsCommand";
29
+ import { DescribeBundleAssociationsCommandInput, DescribeBundleAssociationsCommandOutput } from "./commands/DescribeBundleAssociationsCommand";
25
30
  import { DescribeClientBrandingCommandInput, DescribeClientBrandingCommandOutput } from "./commands/DescribeClientBrandingCommand";
26
31
  import { DescribeClientPropertiesCommandInput, DescribeClientPropertiesCommandOutput } from "./commands/DescribeClientPropertiesCommand";
27
32
  import { DescribeConnectClientAddInsCommandInput, DescribeConnectClientAddInsCommandOutput } from "./commands/DescribeConnectClientAddInsCommand";
28
33
  import { DescribeConnectionAliasesCommandInput, DescribeConnectionAliasesCommandOutput } from "./commands/DescribeConnectionAliasesCommand";
29
34
  import { DescribeConnectionAliasPermissionsCommandInput, DescribeConnectionAliasPermissionsCommandOutput } from "./commands/DescribeConnectionAliasPermissionsCommand";
35
+ import { DescribeImageAssociationsCommandInput, DescribeImageAssociationsCommandOutput } from "./commands/DescribeImageAssociationsCommand";
30
36
  import { DescribeIpGroupsCommandInput, DescribeIpGroupsCommandOutput } from "./commands/DescribeIpGroupsCommand";
31
37
  import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "./commands/DescribeTagsCommand";
38
+ import { DescribeWorkspaceAssociationsCommandInput, DescribeWorkspaceAssociationsCommandOutput } from "./commands/DescribeWorkspaceAssociationsCommand";
32
39
  import { DescribeWorkspaceBundlesCommandInput, DescribeWorkspaceBundlesCommandOutput } from "./commands/DescribeWorkspaceBundlesCommand";
33
40
  import { DescribeWorkspaceDirectoriesCommandInput, DescribeWorkspaceDirectoriesCommandOutput } from "./commands/DescribeWorkspaceDirectoriesCommand";
34
41
  import { DescribeWorkspaceImagePermissionsCommandInput, DescribeWorkspaceImagePermissionsCommandOutput } from "./commands/DescribeWorkspaceImagePermissionsCommand";
@@ -38,6 +45,7 @@ import { DescribeWorkspacesConnectionStatusCommandInput, DescribeWorkspacesConne
38
45
  import { DescribeWorkspaceSnapshotsCommandInput, DescribeWorkspaceSnapshotsCommandOutput } from "./commands/DescribeWorkspaceSnapshotsCommand";
39
46
  import { DisassociateConnectionAliasCommandInput, DisassociateConnectionAliasCommandOutput } from "./commands/DisassociateConnectionAliasCommand";
40
47
  import { DisassociateIpGroupsCommandInput, DisassociateIpGroupsCommandOutput } from "./commands/DisassociateIpGroupsCommand";
48
+ import { DisassociateWorkspaceApplicationCommandInput, DisassociateWorkspaceApplicationCommandOutput } from "./commands/DisassociateWorkspaceApplicationCommand";
41
49
  import { ImportClientBrandingCommandInput, ImportClientBrandingCommandOutput } from "./commands/ImportClientBrandingCommand";
42
50
  import { ImportWorkspaceImageCommandInput, ImportWorkspaceImageCommandOutput } from "./commands/ImportWorkspaceImageCommand";
43
51
  import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementCidrRangesCommandOutput } from "./commands/ListAvailableManagementCidrRangesCommand";
@@ -78,6 +86,12 @@ export interface WorkSpaces {
78
86
  associateIpGroups(args: AssociateIpGroupsCommandInput, options?: __HttpHandlerOptions): Promise<AssociateIpGroupsCommandOutput>;
79
87
  associateIpGroups(args: AssociateIpGroupsCommandInput, cb: (err: any, data?: AssociateIpGroupsCommandOutput) => void): void;
80
88
  associateIpGroups(args: AssociateIpGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateIpGroupsCommandOutput) => void): void;
89
+ /**
90
+ * @see {@link AssociateWorkspaceApplicationCommand}
91
+ */
92
+ associateWorkspaceApplication(args: AssociateWorkspaceApplicationCommandInput, options?: __HttpHandlerOptions): Promise<AssociateWorkspaceApplicationCommandOutput>;
93
+ associateWorkspaceApplication(args: AssociateWorkspaceApplicationCommandInput, cb: (err: any, data?: AssociateWorkspaceApplicationCommandOutput) => void): void;
94
+ associateWorkspaceApplication(args: AssociateWorkspaceApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateWorkspaceApplicationCommandOutput) => void): void;
81
95
  /**
82
96
  * @see {@link AuthorizeIpRulesCommand}
83
97
  */
@@ -186,6 +200,12 @@ export interface WorkSpaces {
186
200
  deleteWorkspaceImage(args: DeleteWorkspaceImageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceImageCommandOutput>;
187
201
  deleteWorkspaceImage(args: DeleteWorkspaceImageCommandInput, cb: (err: any, data?: DeleteWorkspaceImageCommandOutput) => void): void;
188
202
  deleteWorkspaceImage(args: DeleteWorkspaceImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceImageCommandOutput) => void): void;
203
+ /**
204
+ * @see {@link DeployWorkspaceApplicationsCommand}
205
+ */
206
+ deployWorkspaceApplications(args: DeployWorkspaceApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<DeployWorkspaceApplicationsCommandOutput>;
207
+ deployWorkspaceApplications(args: DeployWorkspaceApplicationsCommandInput, cb: (err: any, data?: DeployWorkspaceApplicationsCommandOutput) => void): void;
208
+ deployWorkspaceApplications(args: DeployWorkspaceApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeployWorkspaceApplicationsCommandOutput) => void): void;
189
209
  /**
190
210
  * @see {@link DeregisterWorkspaceDirectoryCommand}
191
211
  */
@@ -204,6 +224,24 @@ export interface WorkSpaces {
204
224
  describeAccountModifications(args: DescribeAccountModificationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccountModificationsCommandOutput>;
205
225
  describeAccountModifications(args: DescribeAccountModificationsCommandInput, cb: (err: any, data?: DescribeAccountModificationsCommandOutput) => void): void;
206
226
  describeAccountModifications(args: DescribeAccountModificationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccountModificationsCommandOutput) => void): void;
227
+ /**
228
+ * @see {@link DescribeApplicationAssociationsCommand}
229
+ */
230
+ describeApplicationAssociations(args: DescribeApplicationAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApplicationAssociationsCommandOutput>;
231
+ describeApplicationAssociations(args: DescribeApplicationAssociationsCommandInput, cb: (err: any, data?: DescribeApplicationAssociationsCommandOutput) => void): void;
232
+ describeApplicationAssociations(args: DescribeApplicationAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApplicationAssociationsCommandOutput) => void): void;
233
+ /**
234
+ * @see {@link DescribeApplicationsCommand}
235
+ */
236
+ describeApplications(args: DescribeApplicationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeApplicationsCommandOutput>;
237
+ describeApplications(args: DescribeApplicationsCommandInput, cb: (err: any, data?: DescribeApplicationsCommandOutput) => void): void;
238
+ describeApplications(args: DescribeApplicationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApplicationsCommandOutput) => void): void;
239
+ /**
240
+ * @see {@link DescribeBundleAssociationsCommand}
241
+ */
242
+ describeBundleAssociations(args: DescribeBundleAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBundleAssociationsCommandOutput>;
243
+ describeBundleAssociations(args: DescribeBundleAssociationsCommandInput, cb: (err: any, data?: DescribeBundleAssociationsCommandOutput) => void): void;
244
+ describeBundleAssociations(args: DescribeBundleAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBundleAssociationsCommandOutput) => void): void;
207
245
  /**
208
246
  * @see {@link DescribeClientBrandingCommand}
209
247
  */
@@ -234,6 +272,12 @@ export interface WorkSpaces {
234
272
  describeConnectionAliasPermissions(args: DescribeConnectionAliasPermissionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectionAliasPermissionsCommandOutput>;
235
273
  describeConnectionAliasPermissions(args: DescribeConnectionAliasPermissionsCommandInput, cb: (err: any, data?: DescribeConnectionAliasPermissionsCommandOutput) => void): void;
236
274
  describeConnectionAliasPermissions(args: DescribeConnectionAliasPermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectionAliasPermissionsCommandOutput) => void): void;
275
+ /**
276
+ * @see {@link DescribeImageAssociationsCommand}
277
+ */
278
+ describeImageAssociations(args: DescribeImageAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImageAssociationsCommandOutput>;
279
+ describeImageAssociations(args: DescribeImageAssociationsCommandInput, cb: (err: any, data?: DescribeImageAssociationsCommandOutput) => void): void;
280
+ describeImageAssociations(args: DescribeImageAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImageAssociationsCommandOutput) => void): void;
237
281
  /**
238
282
  * @see {@link DescribeIpGroupsCommand}
239
283
  */
@@ -246,6 +290,12 @@ export interface WorkSpaces {
246
290
  describeTags(args: DescribeTagsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTagsCommandOutput>;
247
291
  describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
248
292
  describeTags(args: DescribeTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
293
+ /**
294
+ * @see {@link DescribeWorkspaceAssociationsCommand}
295
+ */
296
+ describeWorkspaceAssociations(args: DescribeWorkspaceAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceAssociationsCommandOutput>;
297
+ describeWorkspaceAssociations(args: DescribeWorkspaceAssociationsCommandInput, cb: (err: any, data?: DescribeWorkspaceAssociationsCommandOutput) => void): void;
298
+ describeWorkspaceAssociations(args: DescribeWorkspaceAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceAssociationsCommandOutput) => void): void;
249
299
  /**
250
300
  * @see {@link DescribeWorkspaceBundlesCommand}
251
301
  */
@@ -300,6 +350,12 @@ export interface WorkSpaces {
300
350
  disassociateIpGroups(args: DisassociateIpGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateIpGroupsCommandOutput>;
301
351
  disassociateIpGroups(args: DisassociateIpGroupsCommandInput, cb: (err: any, data?: DisassociateIpGroupsCommandOutput) => void): void;
302
352
  disassociateIpGroups(args: DisassociateIpGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateIpGroupsCommandOutput) => void): void;
353
+ /**
354
+ * @see {@link DisassociateWorkspaceApplicationCommand}
355
+ */
356
+ disassociateWorkspaceApplication(args: DisassociateWorkspaceApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateWorkspaceApplicationCommandOutput>;
357
+ disassociateWorkspaceApplication(args: DisassociateWorkspaceApplicationCommandInput, cb: (err: any, data?: DisassociateWorkspaceApplicationCommandOutput) => void): void;
358
+ disassociateWorkspaceApplication(args: DisassociateWorkspaceApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateWorkspaceApplicationCommandOutput) => void): void;
303
359
  /**
304
360
  * @see {@link ImportClientBrandingCommand}
305
361
  */
@@ -10,6 +10,7 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
10
10
  import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
11
11
  import { AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOutput } from "./commands/AssociateConnectionAliasCommand";
12
12
  import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "./commands/AssociateIpGroupsCommand";
13
+ import { AssociateWorkspaceApplicationCommandInput, AssociateWorkspaceApplicationCommandOutput } from "./commands/AssociateWorkspaceApplicationCommand";
13
14
  import { AuthorizeIpRulesCommandInput, AuthorizeIpRulesCommandOutput } from "./commands/AuthorizeIpRulesCommand";
14
15
  import { CopyWorkspaceImageCommandInput, CopyWorkspaceImageCommandOutput } from "./commands/CopyWorkspaceImageCommand";
15
16
  import { CreateConnectClientAddInCommandInput, CreateConnectClientAddInCommandOutput } from "./commands/CreateConnectClientAddInCommand";
@@ -28,16 +29,22 @@ import { DeleteIpGroupCommandInput, DeleteIpGroupCommandOutput } from "./command
28
29
  import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
29
30
  import { DeleteWorkspaceBundleCommandInput, DeleteWorkspaceBundleCommandOutput } from "./commands/DeleteWorkspaceBundleCommand";
30
31
  import { DeleteWorkspaceImageCommandInput, DeleteWorkspaceImageCommandOutput } from "./commands/DeleteWorkspaceImageCommand";
32
+ import { DeployWorkspaceApplicationsCommandInput, DeployWorkspaceApplicationsCommandOutput } from "./commands/DeployWorkspaceApplicationsCommand";
31
33
  import { DeregisterWorkspaceDirectoryCommandInput, DeregisterWorkspaceDirectoryCommandOutput } from "./commands/DeregisterWorkspaceDirectoryCommand";
32
34
  import { DescribeAccountCommandInput, DescribeAccountCommandOutput } from "./commands/DescribeAccountCommand";
33
35
  import { DescribeAccountModificationsCommandInput, DescribeAccountModificationsCommandOutput } from "./commands/DescribeAccountModificationsCommand";
36
+ import { DescribeApplicationAssociationsCommandInput, DescribeApplicationAssociationsCommandOutput } from "./commands/DescribeApplicationAssociationsCommand";
37
+ import { DescribeApplicationsCommandInput, DescribeApplicationsCommandOutput } from "./commands/DescribeApplicationsCommand";
38
+ import { DescribeBundleAssociationsCommandInput, DescribeBundleAssociationsCommandOutput } from "./commands/DescribeBundleAssociationsCommand";
34
39
  import { DescribeClientBrandingCommandInput, DescribeClientBrandingCommandOutput } from "./commands/DescribeClientBrandingCommand";
35
40
  import { DescribeClientPropertiesCommandInput, DescribeClientPropertiesCommandOutput } from "./commands/DescribeClientPropertiesCommand";
36
41
  import { DescribeConnectClientAddInsCommandInput, DescribeConnectClientAddInsCommandOutput } from "./commands/DescribeConnectClientAddInsCommand";
37
42
  import { DescribeConnectionAliasesCommandInput, DescribeConnectionAliasesCommandOutput } from "./commands/DescribeConnectionAliasesCommand";
38
43
  import { DescribeConnectionAliasPermissionsCommandInput, DescribeConnectionAliasPermissionsCommandOutput } from "./commands/DescribeConnectionAliasPermissionsCommand";
44
+ import { DescribeImageAssociationsCommandInput, DescribeImageAssociationsCommandOutput } from "./commands/DescribeImageAssociationsCommand";
39
45
  import { DescribeIpGroupsCommandInput, DescribeIpGroupsCommandOutput } from "./commands/DescribeIpGroupsCommand";
40
46
  import { DescribeTagsCommandInput, DescribeTagsCommandOutput } from "./commands/DescribeTagsCommand";
47
+ import { DescribeWorkspaceAssociationsCommandInput, DescribeWorkspaceAssociationsCommandOutput } from "./commands/DescribeWorkspaceAssociationsCommand";
41
48
  import { DescribeWorkspaceBundlesCommandInput, DescribeWorkspaceBundlesCommandOutput } from "./commands/DescribeWorkspaceBundlesCommand";
42
49
  import { DescribeWorkspaceDirectoriesCommandInput, DescribeWorkspaceDirectoriesCommandOutput } from "./commands/DescribeWorkspaceDirectoriesCommand";
43
50
  import { DescribeWorkspaceImagePermissionsCommandInput, DescribeWorkspaceImagePermissionsCommandOutput } from "./commands/DescribeWorkspaceImagePermissionsCommand";
@@ -47,6 +54,7 @@ import { DescribeWorkspacesConnectionStatusCommandInput, DescribeWorkspacesConne
47
54
  import { DescribeWorkspaceSnapshotsCommandInput, DescribeWorkspaceSnapshotsCommandOutput } from "./commands/DescribeWorkspaceSnapshotsCommand";
48
55
  import { DisassociateConnectionAliasCommandInput, DisassociateConnectionAliasCommandOutput } from "./commands/DisassociateConnectionAliasCommand";
49
56
  import { DisassociateIpGroupsCommandInput, DisassociateIpGroupsCommandOutput } from "./commands/DisassociateIpGroupsCommand";
57
+ import { DisassociateWorkspaceApplicationCommandInput, DisassociateWorkspaceApplicationCommandOutput } from "./commands/DisassociateWorkspaceApplicationCommand";
50
58
  import { ImportClientBrandingCommandInput, ImportClientBrandingCommandOutput } from "./commands/ImportClientBrandingCommand";
51
59
  import { ImportWorkspaceImageCommandInput, ImportWorkspaceImageCommandOutput } from "./commands/ImportWorkspaceImageCommand";
52
60
  import { ListAvailableManagementCidrRangesCommandInput, ListAvailableManagementCidrRangesCommandOutput } from "./commands/ListAvailableManagementCidrRangesCommand";
@@ -79,11 +87,11 @@ export { __Client };
79
87
  /**
80
88
  * @public
81
89
  */
82
- export type ServiceInputTypes = AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateStandbyWorkspacesCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyCertificateBasedAuthPropertiesCommandInput | ModifyClientPropertiesCommandInput | ModifySamlPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
90
+ export type ServiceInputTypes = AssociateConnectionAliasCommandInput | AssociateIpGroupsCommandInput | AssociateWorkspaceApplicationCommandInput | AuthorizeIpRulesCommandInput | CopyWorkspaceImageCommandInput | CreateConnectClientAddInCommandInput | CreateConnectionAliasCommandInput | CreateIpGroupCommandInput | CreateStandbyWorkspacesCommandInput | CreateTagsCommandInput | CreateUpdatedWorkspaceImageCommandInput | CreateWorkspaceBundleCommandInput | CreateWorkspaceImageCommandInput | CreateWorkspacesCommandInput | DeleteClientBrandingCommandInput | DeleteConnectClientAddInCommandInput | DeleteConnectionAliasCommandInput | DeleteIpGroupCommandInput | DeleteTagsCommandInput | DeleteWorkspaceBundleCommandInput | DeleteWorkspaceImageCommandInput | DeployWorkspaceApplicationsCommandInput | DeregisterWorkspaceDirectoryCommandInput | DescribeAccountCommandInput | DescribeAccountModificationsCommandInput | DescribeApplicationAssociationsCommandInput | DescribeApplicationsCommandInput | DescribeBundleAssociationsCommandInput | DescribeClientBrandingCommandInput | DescribeClientPropertiesCommandInput | DescribeConnectClientAddInsCommandInput | DescribeConnectionAliasPermissionsCommandInput | DescribeConnectionAliasesCommandInput | DescribeImageAssociationsCommandInput | DescribeIpGroupsCommandInput | DescribeTagsCommandInput | DescribeWorkspaceAssociationsCommandInput | DescribeWorkspaceBundlesCommandInput | DescribeWorkspaceDirectoriesCommandInput | DescribeWorkspaceImagePermissionsCommandInput | DescribeWorkspaceImagesCommandInput | DescribeWorkspaceSnapshotsCommandInput | DescribeWorkspacesCommandInput | DescribeWorkspacesConnectionStatusCommandInput | DisassociateConnectionAliasCommandInput | DisassociateIpGroupsCommandInput | DisassociateWorkspaceApplicationCommandInput | ImportClientBrandingCommandInput | ImportWorkspaceImageCommandInput | ListAvailableManagementCidrRangesCommandInput | MigrateWorkspaceCommandInput | ModifyAccountCommandInput | ModifyCertificateBasedAuthPropertiesCommandInput | ModifyClientPropertiesCommandInput | ModifySamlPropertiesCommandInput | ModifySelfservicePermissionsCommandInput | ModifyWorkspaceAccessPropertiesCommandInput | ModifyWorkspaceCreationPropertiesCommandInput | ModifyWorkspacePropertiesCommandInput | ModifyWorkspaceStateCommandInput | RebootWorkspacesCommandInput | RebuildWorkspacesCommandInput | RegisterWorkspaceDirectoryCommandInput | RestoreWorkspaceCommandInput | RevokeIpRulesCommandInput | StartWorkspacesCommandInput | StopWorkspacesCommandInput | TerminateWorkspacesCommandInput | UpdateConnectClientAddInCommandInput | UpdateConnectionAliasPermissionCommandInput | UpdateRulesOfIpGroupCommandInput | UpdateWorkspaceBundleCommandInput | UpdateWorkspaceImagePermissionCommandInput;
83
91
  /**
84
92
  * @public
85
93
  */
86
- export type ServiceOutputTypes = AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateStandbyWorkspacesCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyCertificateBasedAuthPropertiesCommandOutput | ModifyClientPropertiesCommandOutput | ModifySamlPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
94
+ export type ServiceOutputTypes = AssociateConnectionAliasCommandOutput | AssociateIpGroupsCommandOutput | AssociateWorkspaceApplicationCommandOutput | AuthorizeIpRulesCommandOutput | CopyWorkspaceImageCommandOutput | CreateConnectClientAddInCommandOutput | CreateConnectionAliasCommandOutput | CreateIpGroupCommandOutput | CreateStandbyWorkspacesCommandOutput | CreateTagsCommandOutput | CreateUpdatedWorkspaceImageCommandOutput | CreateWorkspaceBundleCommandOutput | CreateWorkspaceImageCommandOutput | CreateWorkspacesCommandOutput | DeleteClientBrandingCommandOutput | DeleteConnectClientAddInCommandOutput | DeleteConnectionAliasCommandOutput | DeleteIpGroupCommandOutput | DeleteTagsCommandOutput | DeleteWorkspaceBundleCommandOutput | DeleteWorkspaceImageCommandOutput | DeployWorkspaceApplicationsCommandOutput | DeregisterWorkspaceDirectoryCommandOutput | DescribeAccountCommandOutput | DescribeAccountModificationsCommandOutput | DescribeApplicationAssociationsCommandOutput | DescribeApplicationsCommandOutput | DescribeBundleAssociationsCommandOutput | DescribeClientBrandingCommandOutput | DescribeClientPropertiesCommandOutput | DescribeConnectClientAddInsCommandOutput | DescribeConnectionAliasPermissionsCommandOutput | DescribeConnectionAliasesCommandOutput | DescribeImageAssociationsCommandOutput | DescribeIpGroupsCommandOutput | DescribeTagsCommandOutput | DescribeWorkspaceAssociationsCommandOutput | DescribeWorkspaceBundlesCommandOutput | DescribeWorkspaceDirectoriesCommandOutput | DescribeWorkspaceImagePermissionsCommandOutput | DescribeWorkspaceImagesCommandOutput | DescribeWorkspaceSnapshotsCommandOutput | DescribeWorkspacesCommandOutput | DescribeWorkspacesConnectionStatusCommandOutput | DisassociateConnectionAliasCommandOutput | DisassociateIpGroupsCommandOutput | DisassociateWorkspaceApplicationCommandOutput | ImportClientBrandingCommandOutput | ImportWorkspaceImageCommandOutput | ListAvailableManagementCidrRangesCommandOutput | MigrateWorkspaceCommandOutput | ModifyAccountCommandOutput | ModifyCertificateBasedAuthPropertiesCommandOutput | ModifyClientPropertiesCommandOutput | ModifySamlPropertiesCommandOutput | ModifySelfservicePermissionsCommandOutput | ModifyWorkspaceAccessPropertiesCommandOutput | ModifyWorkspaceCreationPropertiesCommandOutput | ModifyWorkspacePropertiesCommandOutput | ModifyWorkspaceStateCommandOutput | RebootWorkspacesCommandOutput | RebuildWorkspacesCommandOutput | RegisterWorkspaceDirectoryCommandOutput | RestoreWorkspaceCommandOutput | RevokeIpRulesCommandOutput | StartWorkspacesCommandOutput | StopWorkspacesCommandOutput | TerminateWorkspacesCommandOutput | UpdateConnectClientAddInCommandOutput | UpdateConnectionAliasPermissionCommandOutput | UpdateRulesOfIpGroupCommandOutput | UpdateWorkspaceBundleCommandOutput | UpdateWorkspaceImagePermissionCommandOutput;
87
95
  /**
88
96
  * @public
89
97
  */
@@ -0,0 +1,115 @@
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 { AssociateWorkspaceApplicationRequest, AssociateWorkspaceApplicationResult } 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 AssociateWorkspaceApplicationCommand}.
14
+ */
15
+ export interface AssociateWorkspaceApplicationCommandInput extends AssociateWorkspaceApplicationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateWorkspaceApplicationCommand}.
21
+ */
22
+ export interface AssociateWorkspaceApplicationCommandOutput extends AssociateWorkspaceApplicationResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Associates the specified application to 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, AssociateWorkspaceApplicationCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
31
+ * // const { WorkSpacesClient, AssociateWorkspaceApplicationCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
32
+ * const client = new WorkSpacesClient(config);
33
+ * const input = { // AssociateWorkspaceApplicationRequest
34
+ * WorkspaceId: "STRING_VALUE", // required
35
+ * ApplicationId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new AssociateWorkspaceApplicationCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // AssociateWorkspaceApplicationResult
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 AssociateWorkspaceApplicationCommandInput - {@link AssociateWorkspaceApplicationCommandInput}
57
+ * @returns {@link AssociateWorkspaceApplicationCommandOutput}
58
+ * @see {@link AssociateWorkspaceApplicationCommandInput} for command's `input` shape.
59
+ * @see {@link AssociateWorkspaceApplicationCommandOutput} 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 ApplicationNotSupportedException} (client fault)
66
+ * <p>The specified application is not supported.</p>
67
+ *
68
+ * @throws {@link ComputeNotCompatibleException} (client fault)
69
+ * <p>The compute type of the WorkSpace is not compatible with the application.</p>
70
+ *
71
+ * @throws {@link IncompatibleApplicationsException} (client fault)
72
+ * <p>The specified application is not compatible with the resource.</p>
73
+ *
74
+ * @throws {@link InvalidParameterValuesException} (client fault)
75
+ * <p>One or more parameter values are not valid.</p>
76
+ *
77
+ * @throws {@link OperatingSystemNotCompatibleException} (client fault)
78
+ * <p>The operating system of the WorkSpace is not compatible with the application.</p>
79
+ *
80
+ * @throws {@link OperationNotSupportedException} (client fault)
81
+ * <p>This operation is not supported.</p>
82
+ *
83
+ * @throws {@link ResourceAlreadyExistsException} (client fault)
84
+ * <p>The specified resource already exists.</p>
85
+ *
86
+ * @throws {@link ResourceInUseException} (client fault)
87
+ * <p>The specified resource is currently in use.</p>
88
+ *
89
+ * @throws {@link ResourceNotFoundException} (client fault)
90
+ * <p>The resource could not be found.</p>
91
+ *
92
+ * @throws {@link WorkSpacesServiceException}
93
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
94
+ *
95
+ */
96
+ export declare class AssociateWorkspaceApplicationCommand extends $Command<AssociateWorkspaceApplicationCommandInput, AssociateWorkspaceApplicationCommandOutput, WorkSpacesClientResolvedConfig> {
97
+ readonly input: AssociateWorkspaceApplicationCommandInput;
98
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
+ /**
100
+ * @public
101
+ */
102
+ constructor(input: AssociateWorkspaceApplicationCommandInput);
103
+ /**
104
+ * @internal
105
+ */
106
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateWorkspaceApplicationCommandInput, AssociateWorkspaceApplicationCommandOutput>;
107
+ /**
108
+ * @internal
109
+ */
110
+ private serialize;
111
+ /**
112
+ * @internal
113
+ */
114
+ private deserialize;
115
+ }
@@ -55,6 +55,7 @@ export interface CreateWorkspacesCommandOutput extends CreateWorkspacesResult, _
55
55
  * Protocols: [ // ProtocolList
56
56
  * "PCOIP" || "WSP",
57
57
  * ],
58
+ * 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",
58
59
  * },
59
60
  * Tags: [ // TagList
60
61
  * { // Tag
@@ -86,6 +87,7 @@ export interface CreateWorkspacesCommandOutput extends CreateWorkspacesResult, _
86
87
  * // Protocols: [ // ProtocolList
87
88
  * // "PCOIP" || "WSP",
88
89
  * // ],
90
+ * // 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",
89
91
  * // },
90
92
  * // Tags: [ // TagList
91
93
  * // { // Tag
@@ -122,6 +124,7 @@ export interface CreateWorkspacesCommandOutput extends CreateWorkspacesResult, _
122
124
  * // Protocols: [
123
125
  * // "PCOIP" || "WSP",
124
126
  * // ],
127
+ * // 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",
125
128
  * // },
126
129
  * // ModificationStates: [ // ModificationStateList
127
130
  * // { // ModificationState
@@ -0,0 +1,107 @@
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 { DeployWorkspaceApplicationsRequest, DeployWorkspaceApplicationsResult } 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 DeployWorkspaceApplicationsCommand}.
14
+ */
15
+ export interface DeployWorkspaceApplicationsCommandInput extends DeployWorkspaceApplicationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeployWorkspaceApplicationsCommand}.
21
+ */
22
+ export interface DeployWorkspaceApplicationsCommandOutput extends DeployWorkspaceApplicationsResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deploys associated applications to 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, DeployWorkspaceApplicationsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
31
+ * // const { WorkSpacesClient, DeployWorkspaceApplicationsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
32
+ * const client = new WorkSpacesClient(config);
33
+ * const input = { // DeployWorkspaceApplicationsRequest
34
+ * WorkspaceId: "STRING_VALUE", // required
35
+ * Force: true || false,
36
+ * };
37
+ * const command = new DeployWorkspaceApplicationsCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // DeployWorkspaceApplicationsResult
40
+ * // Deployment: { // WorkSpaceApplicationDeployment
41
+ * // Associations: [ // WorkspaceResourceAssociationList
42
+ * // { // WorkspaceResourceAssociation
43
+ * // AssociatedResourceId: "STRING_VALUE",
44
+ * // AssociatedResourceType: "APPLICATION",
45
+ * // Created: new Date("TIMESTAMP"),
46
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
47
+ * // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
48
+ * // StateReason: { // AssociationStateReason
49
+ * // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
50
+ * // ErrorMessage: "STRING_VALUE",
51
+ * // },
52
+ * // WorkspaceId: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param DeployWorkspaceApplicationsCommandInput - {@link DeployWorkspaceApplicationsCommandInput}
61
+ * @returns {@link DeployWorkspaceApplicationsCommandOutput}
62
+ * @see {@link DeployWorkspaceApplicationsCommandInput} for command's `input` shape.
63
+ * @see {@link DeployWorkspaceApplicationsCommandOutput} 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 IncompatibleApplicationsException} (client fault)
70
+ * <p>The specified application is not compatible with the resource.</p>
71
+ *
72
+ * @throws {@link InvalidParameterValuesException} (client fault)
73
+ * <p>One or more parameter values are not valid.</p>
74
+ *
75
+ * @throws {@link OperationNotSupportedException} (client fault)
76
+ * <p>This operation is not supported.</p>
77
+ *
78
+ * @throws {@link ResourceInUseException} (client fault)
79
+ * <p>The specified resource is currently in use.</p>
80
+ *
81
+ * @throws {@link ResourceNotFoundException} (client fault)
82
+ * <p>The resource could not be found.</p>
83
+ *
84
+ * @throws {@link WorkSpacesServiceException}
85
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
86
+ *
87
+ */
88
+ export declare class DeployWorkspaceApplicationsCommand extends $Command<DeployWorkspaceApplicationsCommandInput, DeployWorkspaceApplicationsCommandOutput, WorkSpacesClientResolvedConfig> {
89
+ readonly input: DeployWorkspaceApplicationsCommandInput;
90
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
+ /**
92
+ * @public
93
+ */
94
+ constructor(input: DeployWorkspaceApplicationsCommandInput);
95
+ /**
96
+ * @internal
97
+ */
98
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeployWorkspaceApplicationsCommandInput, DeployWorkspaceApplicationsCommandOutput>;
99
+ /**
100
+ * @internal
101
+ */
102
+ private serialize;
103
+ /**
104
+ * @internal
105
+ */
106
+ private deserialize;
107
+ }
@@ -0,0 +1,104 @@
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 { DescribeApplicationAssociationsRequest, DescribeApplicationAssociationsResult } 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 DescribeApplicationAssociationsCommand}.
14
+ */
15
+ export interface DescribeApplicationAssociationsCommandInput extends DescribeApplicationAssociationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeApplicationAssociationsCommand}.
21
+ */
22
+ export interface DescribeApplicationAssociationsCommandOutput extends DescribeApplicationAssociationsResult, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Describes the associations between the application and the specified associated resources.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WorkSpacesClient, DescribeApplicationAssociationsCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
31
+ * // const { WorkSpacesClient, DescribeApplicationAssociationsCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
32
+ * const client = new WorkSpacesClient(config);
33
+ * const input = { // DescribeApplicationAssociationsRequest
34
+ * MaxResults: Number("int"),
35
+ * NextToken: "STRING_VALUE",
36
+ * ApplicationId: "STRING_VALUE", // required
37
+ * AssociatedResourceTypes: [ // ApplicationAssociatedResourceTypeList // required
38
+ * "WORKSPACE" || "BUNDLE" || "IMAGE",
39
+ * ],
40
+ * };
41
+ * const command = new DescribeApplicationAssociationsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DescribeApplicationAssociationsResult
44
+ * // Associations: [ // ApplicationResourceAssociationList
45
+ * // { // ApplicationResourceAssociation
46
+ * // ApplicationId: "STRING_VALUE",
47
+ * // AssociatedResourceId: "STRING_VALUE",
48
+ * // AssociatedResourceType: "WORKSPACE" || "BUNDLE" || "IMAGE",
49
+ * // Created: new Date("TIMESTAMP"),
50
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
51
+ * // State: "PENDING_INSTALL" || "PENDING_INSTALL_DEPLOYMENT" || "PENDING_UNINSTALL" || "PENDING_UNINSTALL_DEPLOYMENT" || "INSTALLING" || "UNINSTALLING" || "ERROR" || "COMPLETED" || "REMOVED",
52
+ * // StateReason: { // AssociationStateReason
53
+ * // ErrorCode: "ValidationError.InsufficientDiskSpace" || "ValidationError.InsufficientMemory" || "ValidationError.UnsupportedOperatingSystem" || "DeploymentError.InternalServerError" || "DeploymentError.WorkspaceUnreachable",
54
+ * // ErrorMessage: "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // ],
58
+ * // NextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param DescribeApplicationAssociationsCommandInput - {@link DescribeApplicationAssociationsCommandInput}
64
+ * @returns {@link DescribeApplicationAssociationsCommandOutput}
65
+ * @see {@link DescribeApplicationAssociationsCommandInput} for command's `input` shape.
66
+ * @see {@link DescribeApplicationAssociationsCommandOutput} for command's `response` shape.
67
+ * @see {@link WorkSpacesClientResolvedConfig | config} for WorkSpacesClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>The user is not authorized to access a resource.</p>
71
+ *
72
+ * @throws {@link InvalidParameterValuesException} (client fault)
73
+ * <p>One or more parameter values are not valid.</p>
74
+ *
75
+ * @throws {@link OperationNotSupportedException} (client fault)
76
+ * <p>This operation is not supported.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>The resource could not be found.</p>
80
+ *
81
+ * @throws {@link WorkSpacesServiceException}
82
+ * <p>Base exception class for all service exceptions from WorkSpaces service.</p>
83
+ *
84
+ */
85
+ export declare class DescribeApplicationAssociationsCommand extends $Command<DescribeApplicationAssociationsCommandInput, DescribeApplicationAssociationsCommandOutput, WorkSpacesClientResolvedConfig> {
86
+ readonly input: DescribeApplicationAssociationsCommandInput;
87
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
+ /**
89
+ * @public
90
+ */
91
+ constructor(input: DescribeApplicationAssociationsCommandInput);
92
+ /**
93
+ * @internal
94
+ */
95
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkSpacesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeApplicationAssociationsCommandInput, DescribeApplicationAssociationsCommandOutput>;
96
+ /**
97
+ * @internal
98
+ */
99
+ private serialize;
100
+ /**
101
+ * @internal
102
+ */
103
+ private deserialize;
104
+ }