@aws-sdk/client-workspaces 3.425.0 → 3.427.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 +5 -5
@@ -100,6 +100,122 @@ export declare const Application: {
100
100
  * @public
101
101
  */
102
102
  export type Application = (typeof Application)[keyof typeof Application];
103
+ /**
104
+ * @public
105
+ * @enum
106
+ */
107
+ export declare const ApplicationAssociatedResourceType: {
108
+ readonly BUNDLE: "BUNDLE";
109
+ readonly IMAGE: "IMAGE";
110
+ readonly WORKSPACE: "WORKSPACE";
111
+ };
112
+ /**
113
+ * @public
114
+ */
115
+ export type ApplicationAssociatedResourceType = (typeof ApplicationAssociatedResourceType)[keyof typeof ApplicationAssociatedResourceType];
116
+ /**
117
+ * @public
118
+ * <p>The specified application is not supported.</p>
119
+ */
120
+ export declare class ApplicationNotSupportedException extends __BaseException {
121
+ readonly name: "ApplicationNotSupportedException";
122
+ readonly $fault: "client";
123
+ /**
124
+ * @internal
125
+ */
126
+ constructor(opts: __ExceptionOptionType<ApplicationNotSupportedException, __BaseException>);
127
+ }
128
+ /**
129
+ * @public
130
+ * @enum
131
+ */
132
+ export declare const AssociationState: {
133
+ readonly COMPLETED: "COMPLETED";
134
+ readonly ERROR: "ERROR";
135
+ readonly INSTALLING: "INSTALLING";
136
+ readonly PENDING_INSTALL: "PENDING_INSTALL";
137
+ readonly PENDING_INSTALL_DEPLOYMENT: "PENDING_INSTALL_DEPLOYMENT";
138
+ readonly PENDING_UNINSTALL: "PENDING_UNINSTALL";
139
+ readonly PENDING_UNINSTALL_DEPLOYMENT: "PENDING_UNINSTALL_DEPLOYMENT";
140
+ readonly REMOVED: "REMOVED";
141
+ readonly UNINSTALLING: "UNINSTALLING";
142
+ };
143
+ /**
144
+ * @public
145
+ */
146
+ export type AssociationState = (typeof AssociationState)[keyof typeof AssociationState];
147
+ /**
148
+ * @public
149
+ * @enum
150
+ */
151
+ export declare const AssociationErrorCode: {
152
+ readonly INSUFFICIENT_DISKSPACE: "ValidationError.InsufficientDiskSpace";
153
+ readonly INSUFFICIENT_MEMORY: "ValidationError.InsufficientMemory";
154
+ readonly INTERNAL_SERVER_ERROR: "DeploymentError.InternalServerError";
155
+ readonly UNSUPPORTED_OPERATING_SYSTEM: "ValidationError.UnsupportedOperatingSystem";
156
+ readonly WORKSPACE_UNREACHABLE: "DeploymentError.WorkspaceUnreachable";
157
+ };
158
+ /**
159
+ * @public
160
+ */
161
+ export type AssociationErrorCode = (typeof AssociationErrorCode)[keyof typeof AssociationErrorCode];
162
+ /**
163
+ * @public
164
+ * <p>Indicates the reason that the association deployment failed, including the error code and error message.</p>
165
+ */
166
+ export interface AssociationStateReason {
167
+ /**
168
+ * @public
169
+ * <p>The error code of the association deployment failure.</p>
170
+ */
171
+ ErrorCode?: AssociationErrorCode | string;
172
+ /**
173
+ * @public
174
+ * <p>The error message of the association deployment failure.</p>
175
+ */
176
+ ErrorMessage?: string;
177
+ }
178
+ /**
179
+ * @public
180
+ * <p>Describes the association between an application and an application resource.</p>
181
+ */
182
+ export interface ApplicationResourceAssociation {
183
+ /**
184
+ * @public
185
+ * <p>The identifier of the application.</p>
186
+ */
187
+ ApplicationId?: string;
188
+ /**
189
+ * @public
190
+ * <p>The identifier of the associated resource.</p>
191
+ */
192
+ AssociatedResourceId?: string;
193
+ /**
194
+ * @public
195
+ * <p>The resource type of the associated resource.</p>
196
+ */
197
+ AssociatedResourceType?: ApplicationAssociatedResourceType | string;
198
+ /**
199
+ * @public
200
+ * <p>The time the association was created.</p>
201
+ */
202
+ Created?: Date;
203
+ /**
204
+ * @public
205
+ * <p>The time the association status was last updated.</p>
206
+ */
207
+ LastUpdatedTime?: Date;
208
+ /**
209
+ * @public
210
+ * <p>The status of the application resource association.</p>
211
+ */
212
+ State?: AssociationState | string;
213
+ /**
214
+ * @public
215
+ * <p>The reason the association deployment failed.</p>
216
+ */
217
+ StateReason?: AssociationStateReason;
218
+ }
103
219
  /**
104
220
  * @public
105
221
  */
@@ -228,6 +344,148 @@ export declare class ResourceLimitExceededException extends __BaseException {
228
344
  */
229
345
  constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
230
346
  }
347
+ /**
348
+ * @public
349
+ */
350
+ export interface AssociateWorkspaceApplicationRequest {
351
+ /**
352
+ * @public
353
+ * <p>The identifier of the WorkSpace.</p>
354
+ */
355
+ WorkspaceId: string | undefined;
356
+ /**
357
+ * @public
358
+ * <p>The identifier of the application.</p>
359
+ */
360
+ ApplicationId: string | undefined;
361
+ }
362
+ /**
363
+ * @public
364
+ * @enum
365
+ */
366
+ export declare const WorkSpaceAssociatedResourceType: {
367
+ readonly APPLICATION: "APPLICATION";
368
+ };
369
+ /**
370
+ * @public
371
+ */
372
+ export type WorkSpaceAssociatedResourceType = (typeof WorkSpaceAssociatedResourceType)[keyof typeof WorkSpaceAssociatedResourceType];
373
+ /**
374
+ * @public
375
+ * <p>Describes the association between an application and a WorkSpace resource.</p>
376
+ */
377
+ export interface WorkspaceResourceAssociation {
378
+ /**
379
+ * @public
380
+ * <p>The identifier of the associated resource.</p>
381
+ */
382
+ AssociatedResourceId?: string;
383
+ /**
384
+ * @public
385
+ * <p>The resource types of the associated resource.</p>
386
+ */
387
+ AssociatedResourceType?: WorkSpaceAssociatedResourceType | string;
388
+ /**
389
+ * @public
390
+ * <p>The time the association is created.</p>
391
+ */
392
+ Created?: Date;
393
+ /**
394
+ * @public
395
+ * <p>The time the association status was last updated.</p>
396
+ */
397
+ LastUpdatedTime?: Date;
398
+ /**
399
+ * @public
400
+ * <p>The status of the WorkSpace resource association.</p>
401
+ */
402
+ State?: AssociationState | string;
403
+ /**
404
+ * @public
405
+ * <p>The reason the association deployment failed.</p>
406
+ */
407
+ StateReason?: AssociationStateReason;
408
+ /**
409
+ * @public
410
+ * <p>The identifier of the WorkSpace.</p>
411
+ */
412
+ WorkspaceId?: string;
413
+ }
414
+ /**
415
+ * @public
416
+ */
417
+ export interface AssociateWorkspaceApplicationResult {
418
+ /**
419
+ * @public
420
+ * <p>Information about the association between the specified WorkSpace and the specified application.</p>
421
+ */
422
+ Association?: WorkspaceResourceAssociation;
423
+ }
424
+ /**
425
+ * @public
426
+ * <p>The compute type of the WorkSpace is not compatible with the application.</p>
427
+ */
428
+ export declare class ComputeNotCompatibleException extends __BaseException {
429
+ readonly name: "ComputeNotCompatibleException";
430
+ readonly $fault: "client";
431
+ /**
432
+ * @internal
433
+ */
434
+ constructor(opts: __ExceptionOptionType<ComputeNotCompatibleException, __BaseException>);
435
+ }
436
+ /**
437
+ * @public
438
+ * <p>The specified application is not compatible with the resource.</p>
439
+ */
440
+ export declare class IncompatibleApplicationsException extends __BaseException {
441
+ readonly name: "IncompatibleApplicationsException";
442
+ readonly $fault: "client";
443
+ /**
444
+ * @internal
445
+ */
446
+ constructor(opts: __ExceptionOptionType<IncompatibleApplicationsException, __BaseException>);
447
+ }
448
+ /**
449
+ * @public
450
+ * <p>The operating system of the WorkSpace is not compatible with the application.</p>
451
+ */
452
+ export declare class OperatingSystemNotCompatibleException extends __BaseException {
453
+ readonly name: "OperatingSystemNotCompatibleException";
454
+ readonly $fault: "client";
455
+ /**
456
+ * @internal
457
+ */
458
+ constructor(opts: __ExceptionOptionType<OperatingSystemNotCompatibleException, __BaseException>);
459
+ }
460
+ /**
461
+ * @public
462
+ * <p>The specified resource already exists.</p>
463
+ */
464
+ export declare class ResourceAlreadyExistsException extends __BaseException {
465
+ readonly name: "ResourceAlreadyExistsException";
466
+ readonly $fault: "client";
467
+ /**
468
+ * @internal
469
+ */
470
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
471
+ }
472
+ /**
473
+ * @public
474
+ * <p>The specified resource is currently in use.</p>
475
+ */
476
+ export declare class ResourceInUseException extends __BaseException {
477
+ readonly name: "ResourceInUseException";
478
+ readonly $fault: "client";
479
+ /**
480
+ * @public
481
+ * <p>The ID of the resource that is in use.</p>
482
+ */
483
+ ResourceId?: string;
484
+ /**
485
+ * @internal
486
+ */
487
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
488
+ }
231
489
  /**
232
490
  * @public
233
491
  * @enum
@@ -279,6 +537,17 @@ export interface AuthorizeIpRulesRequest {
279
537
  */
280
538
  export interface AuthorizeIpRulesResult {
281
539
  }
540
+ /**
541
+ * @public
542
+ * @enum
543
+ */
544
+ export declare const BundleAssociatedResourceType: {
545
+ readonly APPLICATION: "APPLICATION";
546
+ };
547
+ /**
548
+ * @public
549
+ */
550
+ export type BundleAssociatedResourceType = (typeof BundleAssociatedResourceType)[keyof typeof BundleAssociatedResourceType];
282
551
  /**
283
552
  * @public
284
553
  * @enum
@@ -424,6 +693,47 @@ export interface WorkspaceBundle {
424
693
  */
425
694
  BundleType?: BundleType | string;
426
695
  }
696
+ /**
697
+ * @public
698
+ * <p>Describes the association between an application and a bundle resource.</p>
699
+ */
700
+ export interface BundleResourceAssociation {
701
+ /**
702
+ * @public
703
+ * <p>The identifier of the associated resource.</p>
704
+ */
705
+ AssociatedResourceId?: string;
706
+ /**
707
+ * @public
708
+ * <p>The resource type of the associated resources.</p>
709
+ */
710
+ AssociatedResourceType?: BundleAssociatedResourceType | string;
711
+ /**
712
+ * @public
713
+ * <p>The identifier of the bundle.</p>
714
+ */
715
+ BundleId?: string;
716
+ /**
717
+ * @public
718
+ * <p>The time the association is created.</p>
719
+ */
720
+ Created?: Date;
721
+ /**
722
+ * @public
723
+ * <p>The time the association status was last updated.</p>
724
+ */
725
+ LastUpdatedTime?: Date;
726
+ /**
727
+ * @public
728
+ * <p>The status of the bundle resource association.</p>
729
+ */
730
+ State?: AssociationState | string;
731
+ /**
732
+ * @public
733
+ * <p>The reason the association deployment failed.</p>
734
+ */
735
+ StateReason?: AssociationStateReason;
736
+ }
427
737
  /**
428
738
  * @public
429
739
  * @enum
@@ -723,18 +1033,6 @@ export interface CopyWorkspaceImageResult {
723
1033
  */
724
1034
  ImageId?: string;
725
1035
  }
726
- /**
727
- * @public
728
- * <p>The specified resource already exists.</p>
729
- */
730
- export declare class ResourceAlreadyExistsException extends __BaseException {
731
- readonly name: "ResourceAlreadyExistsException";
732
- readonly $fault: "client";
733
- /**
734
- * @internal
735
- */
736
- constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
737
- }
738
1036
  /**
739
1037
  * @public
740
1038
  * <p>The specified resource is not available.</p>
@@ -1235,6 +1533,27 @@ export interface CreateWorkspaceImageResult {
1235
1533
  */
1236
1534
  OwnerAccountId?: string;
1237
1535
  }
1536
+ /**
1537
+ * @public
1538
+ * @enum
1539
+ */
1540
+ export declare const OperatingSystemName: {
1541
+ readonly AMAZON_LINUX_2: "AMAZON_LINUX_2";
1542
+ readonly UBUNTU_18_04: "UBUNTU_18_04";
1543
+ readonly UBUNTU_20_04: "UBUNTU_20_04";
1544
+ readonly UBUNTU_22_04: "UBUNTU_22_04";
1545
+ readonly UNKNOWN: "UNKNOWN";
1546
+ readonly WINDOWS_10: "WINDOWS_10";
1547
+ readonly WINDOWS_11: "WINDOWS_11";
1548
+ readonly WINDOWS_7: "WINDOWS_7";
1549
+ readonly WINDOWS_SERVER_2016: "WINDOWS_SERVER_2016";
1550
+ readonly WINDOWS_SERVER_2019: "WINDOWS_SERVER_2019";
1551
+ readonly WINDOWS_SERVER_2022: "WINDOWS_SERVER_2022";
1552
+ };
1553
+ /**
1554
+ * @public
1555
+ */
1556
+ export type OperatingSystemName = (typeof OperatingSystemName)[keyof typeof OperatingSystemName];
1238
1557
  /**
1239
1558
  * @public
1240
1559
  * @enum
@@ -1323,6 +1642,11 @@ export interface WorkspaceProperties {
1323
1642
  * </note>
1324
1643
  */
1325
1644
  Protocols?: (Protocol | string)[];
1645
+ /**
1646
+ * @public
1647
+ * <p>The name of the operating system.</p>
1648
+ */
1649
+ OperatingSystemName?: OperatingSystemName | string;
1326
1650
  }
1327
1651
  /**
1328
1652
  * @public
@@ -1936,6 +2260,43 @@ export interface DeleteWorkspaceImageRequest {
1936
2260
  */
1937
2261
  export interface DeleteWorkspaceImageResult {
1938
2262
  }
2263
+ /**
2264
+ * @public
2265
+ */
2266
+ export interface DeployWorkspaceApplicationsRequest {
2267
+ /**
2268
+ * @public
2269
+ * <p>The identifier of the WorkSpace.</p>
2270
+ */
2271
+ WorkspaceId: string | undefined;
2272
+ /**
2273
+ * @public
2274
+ * <p>Indicates whether the force flag is applied for the specified WorkSpace. When the force flag is enabled,
2275
+ * it allows previously failed deployments to be retried.</p>
2276
+ */
2277
+ Force?: boolean;
2278
+ }
2279
+ /**
2280
+ * @public
2281
+ * <p>Describes the WorkSpace application deployment.</p>
2282
+ */
2283
+ export interface WorkSpaceApplicationDeployment {
2284
+ /**
2285
+ * @public
2286
+ * <p>The associations between the applications and the associated resources.</p>
2287
+ */
2288
+ Associations?: WorkspaceResourceAssociation[];
2289
+ }
2290
+ /**
2291
+ * @public
2292
+ */
2293
+ export interface DeployWorkspaceApplicationsResult {
2294
+ /**
2295
+ * @public
2296
+ * <p>The list of deployed associations and information about them.</p>
2297
+ */
2298
+ Deployment?: WorkSpaceApplicationDeployment;
2299
+ }
1939
2300
  /**
1940
2301
  * @public
1941
2302
  */
@@ -2004,6 +2365,203 @@ export interface DescribeAccountModificationsResult {
2004
2365
  */
2005
2366
  NextToken?: string;
2006
2367
  }
2368
+ /**
2369
+ * @public
2370
+ */
2371
+ export interface DescribeApplicationAssociationsRequest {
2372
+ /**
2373
+ * @public
2374
+ * <p>The maximum number of associations to return.</p>
2375
+ */
2376
+ MaxResults?: number;
2377
+ /**
2378
+ * @public
2379
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>
2380
+ */
2381
+ NextToken?: string;
2382
+ /**
2383
+ * @public
2384
+ * <p>The identifier of the specified application.</p>
2385
+ */
2386
+ ApplicationId: string | undefined;
2387
+ /**
2388
+ * @public
2389
+ * <p>The resource type of the associated resources.</p>
2390
+ */
2391
+ AssociatedResourceTypes: (ApplicationAssociatedResourceType | string)[] | undefined;
2392
+ }
2393
+ /**
2394
+ * @public
2395
+ */
2396
+ export interface DescribeApplicationAssociationsResult {
2397
+ /**
2398
+ * @public
2399
+ * <p>List of associations and information about them.</p>
2400
+ */
2401
+ Associations?: ApplicationResourceAssociation[];
2402
+ /**
2403
+ * @public
2404
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>
2405
+ */
2406
+ NextToken?: string;
2407
+ }
2408
+ /**
2409
+ * @public
2410
+ * @enum
2411
+ */
2412
+ export declare const WorkSpaceApplicationLicenseType: {
2413
+ readonly LICENSED: "LICENSED";
2414
+ readonly UNLICENSED: "UNLICENSED";
2415
+ };
2416
+ /**
2417
+ * @public
2418
+ */
2419
+ export type WorkSpaceApplicationLicenseType = (typeof WorkSpaceApplicationLicenseType)[keyof typeof WorkSpaceApplicationLicenseType];
2420
+ /**
2421
+ * @public
2422
+ */
2423
+ export interface DescribeApplicationsRequest {
2424
+ /**
2425
+ * @public
2426
+ * <p>The identifiers of one or more applications.</p>
2427
+ */
2428
+ ApplicationIds?: string[];
2429
+ /**
2430
+ * @public
2431
+ * <p>The compute types supported by the applications.</p>
2432
+ */
2433
+ ComputeTypeNames?: (Compute | string)[];
2434
+ /**
2435
+ * @public
2436
+ * <p>The license availability for the applications.</p>
2437
+ */
2438
+ LicenseType?: WorkSpaceApplicationLicenseType | string;
2439
+ /**
2440
+ * @public
2441
+ * <p>The operating systems supported by the applications.</p>
2442
+ */
2443
+ OperatingSystemNames?: (OperatingSystemName | string)[];
2444
+ /**
2445
+ * @public
2446
+ * <p>The owner of the applications.</p>
2447
+ */
2448
+ Owner?: string;
2449
+ /**
2450
+ * @public
2451
+ * <p>The maximum number of applications to return.</p>
2452
+ */
2453
+ MaxResults?: number;
2454
+ /**
2455
+ * @public
2456
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>
2457
+ */
2458
+ NextToken?: string;
2459
+ }
2460
+ /**
2461
+ * @public
2462
+ * @enum
2463
+ */
2464
+ export declare const WorkSpaceApplicationState: {
2465
+ readonly AVAILABLE: "AVAILABLE";
2466
+ readonly ERROR: "ERROR";
2467
+ readonly PENDING: "PENDING";
2468
+ readonly UNINSTALL_ONLY: "UNINSTALL_ONLY";
2469
+ };
2470
+ /**
2471
+ * @public
2472
+ */
2473
+ export type WorkSpaceApplicationState = (typeof WorkSpaceApplicationState)[keyof typeof WorkSpaceApplicationState];
2474
+ /**
2475
+ * @public
2476
+ * <p>Describes the WorkSpace application.</p>
2477
+ */
2478
+ export interface WorkSpaceApplication {
2479
+ /**
2480
+ * @public
2481
+ * <p>The identifier of the application.</p>
2482
+ */
2483
+ ApplicationId?: string;
2484
+ /**
2485
+ * @public
2486
+ * <p>The time the application is created.</p>
2487
+ */
2488
+ Created?: Date;
2489
+ /**
2490
+ * @public
2491
+ * <p>The description of the WorkSpace application.</p>
2492
+ */
2493
+ Description?: string;
2494
+ /**
2495
+ * @public
2496
+ * <p>The license availability for the applications.</p>
2497
+ */
2498
+ LicenseType?: WorkSpaceApplicationLicenseType | string;
2499
+ /**
2500
+ * @public
2501
+ * <p>The name of the WorkSpace application.</p>
2502
+ */
2503
+ Name?: string;
2504
+ /**
2505
+ * @public
2506
+ * <p>The owner of the WorkSpace application.</p>
2507
+ */
2508
+ Owner?: string;
2509
+ /**
2510
+ * @public
2511
+ * <p>The status of WorkSpace application.</p>
2512
+ */
2513
+ State?: WorkSpaceApplicationState | string;
2514
+ /**
2515
+ * @public
2516
+ * <p>The supported compute types of the WorkSpace application.</p>
2517
+ */
2518
+ SupportedComputeTypeNames?: (Compute | string)[];
2519
+ /**
2520
+ * @public
2521
+ * <p>The supported operating systems of the WorkSpace application.</p>
2522
+ */
2523
+ SupportedOperatingSystemNames?: (OperatingSystemName | string)[];
2524
+ }
2525
+ /**
2526
+ * @public
2527
+ */
2528
+ export interface DescribeApplicationsResult {
2529
+ /**
2530
+ * @public
2531
+ * <p>List of information about the specified applications.</p>
2532
+ */
2533
+ Applications?: WorkSpaceApplication[];
2534
+ /**
2535
+ * @public
2536
+ * <p>If you received a <code>NextToken</code> from a previous call that was paginated, provide this token to receive the next set of results.</p>
2537
+ */
2538
+ NextToken?: string;
2539
+ }
2540
+ /**
2541
+ * @public
2542
+ */
2543
+ export interface DescribeBundleAssociationsRequest {
2544
+ /**
2545
+ * @public
2546
+ * <p>The identifier of the bundle.</p>
2547
+ */
2548
+ BundleId: string | undefined;
2549
+ /**
2550
+ * @public
2551
+ * <p>The resource types of the associated resource.</p>
2552
+ */
2553
+ AssociatedResourceTypes: (BundleAssociatedResourceType | string)[] | undefined;
2554
+ }
2555
+ /**
2556
+ * @public
2557
+ */
2558
+ export interface DescribeBundleAssociationsResult {
2559
+ /**
2560
+ * @public
2561
+ * <p>List of information about the specified associations.</p>
2562
+ */
2563
+ Associations?: BundleResourceAssociation[];
2564
+ }
2007
2565
  /**
2008
2566
  * @public
2009
2567
  */
@@ -2281,6 +2839,83 @@ export interface DescribeConnectionAliasPermissionsResult {
2281
2839
  */
2282
2840
  NextToken?: string;
2283
2841
  }
2842
+ /**
2843
+ * @public
2844
+ * @enum
2845
+ */
2846
+ export declare const ImageAssociatedResourceType: {
2847
+ readonly APPLICATION: "APPLICATION";
2848
+ };
2849
+ /**
2850
+ * @public
2851
+ */
2852
+ export type ImageAssociatedResourceType = (typeof ImageAssociatedResourceType)[keyof typeof ImageAssociatedResourceType];
2853
+ /**
2854
+ * @public
2855
+ */
2856
+ export interface DescribeImageAssociationsRequest {
2857
+ /**
2858
+ * @public
2859
+ * <p>The identifier of the image.</p>
2860
+ */
2861
+ ImageId: string | undefined;
2862
+ /**
2863
+ * @public
2864
+ * <p>The resource types of the associated resource.</p>
2865
+ */
2866
+ AssociatedResourceTypes: (ImageAssociatedResourceType | string)[] | undefined;
2867
+ }
2868
+ /**
2869
+ * @public
2870
+ * <p>Describes the association between an application and an image resource.</p>
2871
+ */
2872
+ export interface ImageResourceAssociation {
2873
+ /**
2874
+ * @public
2875
+ * <p>The identifier of the associated resource.</p>
2876
+ */
2877
+ AssociatedResourceId?: string;
2878
+ /**
2879
+ * @public
2880
+ * <p>The resource type of the associated resources.</p>
2881
+ */
2882
+ AssociatedResourceType?: ImageAssociatedResourceType | string;
2883
+ /**
2884
+ * @public
2885
+ * <p>The time the association is created.</p>
2886
+ */
2887
+ Created?: Date;
2888
+ /**
2889
+ * @public
2890
+ * <p>The time the association status was last updated.</p>
2891
+ */
2892
+ LastUpdatedTime?: Date;
2893
+ /**
2894
+ * @public
2895
+ * <p>The identifier of the image.</p>
2896
+ */
2897
+ ImageId?: string;
2898
+ /**
2899
+ * @public
2900
+ * <p>The status of the image resource association.</p>
2901
+ */
2902
+ State?: AssociationState | string;
2903
+ /**
2904
+ * @public
2905
+ * <p>The reason the association deployment failed.</p>
2906
+ */
2907
+ StateReason?: AssociationStateReason;
2908
+ }
2909
+ /**
2910
+ * @public
2911
+ */
2912
+ export interface DescribeImageAssociationsResult {
2913
+ /**
2914
+ * @public
2915
+ * <p>List of information about the specified associations.</p>
2916
+ */
2917
+ Associations?: ImageResourceAssociation[];
2918
+ }
2284
2919
  /**
2285
2920
  * @public
2286
2921
  */
@@ -2366,6 +3001,31 @@ export interface DescribeTagsResult {
2366
3001
  */
2367
3002
  TagList?: Tag[];
2368
3003
  }
3004
+ /**
3005
+ * @public
3006
+ */
3007
+ export interface DescribeWorkspaceAssociationsRequest {
3008
+ /**
3009
+ * @public
3010
+ * <p>The identifier of the WorkSpace.</p>
3011
+ */
3012
+ WorkspaceId: string | undefined;
3013
+ /**
3014
+ * @public
3015
+ * <p>The resource types of the associated resources.</p>
3016
+ */
3017
+ AssociatedResourceTypes: (WorkSpaceAssociatedResourceType | string)[] | undefined;
3018
+ }
3019
+ /**
3020
+ * @public
3021
+ */
3022
+ export interface DescribeWorkspaceAssociationsResult {
3023
+ /**
3024
+ * @public
3025
+ * <p>List of information about the specified associations.</p>
3026
+ */
3027
+ Associations?: WorkspaceResourceAssociation[];
3028
+ }
2369
3029
  /**
2370
3030
  * @public
2371
3031
  */
@@ -2860,8 +3520,8 @@ export declare const WorkspaceImageErrorDetailCode: {
2860
3520
  export type WorkspaceImageErrorDetailCode = (typeof WorkspaceImageErrorDetailCode)[keyof typeof WorkspaceImageErrorDetailCode];
2861
3521
  /**
2862
3522
  * @public
2863
- * <p>Provides in-depth details about the error. These details include the
2864
- * possible causes of the errors and troubleshooting information.</p>
3523
+ * <p>Describes in-depth details about the error. These details include the
3524
+ * possible causes of the error and troubleshooting information.</p>
2865
3525
  */
2866
3526
  export interface ErrorDetails {
2867
3527
  /**
@@ -2963,7 +3623,8 @@ export interface WorkspaceImage {
2963
3623
  Updates?: UpdateResult;
2964
3624
  /**
2965
3625
  * @public
2966
- * <p>The details of the error returned for the image.</p>
3626
+ * <p>Additional details of the error returned for the image, including the
3627
+ * possible causes of the errors and troubleshooting information.</p>
2967
3628
  */
2968
3629
  ErrorDetails?: ErrorDetails[];
2969
3630
  }
@@ -3176,6 +3837,31 @@ export interface DisassociateIpGroupsRequest {
3176
3837
  */
3177
3838
  export interface DisassociateIpGroupsResult {
3178
3839
  }
3840
+ /**
3841
+ * @public
3842
+ */
3843
+ export interface DisassociateWorkspaceApplicationRequest {
3844
+ /**
3845
+ * @public
3846
+ * <p>The identifier of the WorkSpace.</p>
3847
+ */
3848
+ WorkspaceId: string | undefined;
3849
+ /**
3850
+ * @public
3851
+ * <p>The identifier of the application.</p>
3852
+ */
3853
+ ApplicationId: string | undefined;
3854
+ }
3855
+ /**
3856
+ * @public
3857
+ */
3858
+ export interface DisassociateWorkspaceApplicationResult {
3859
+ /**
3860
+ * @public
3861
+ * <p>Information about the targeted association.</p>
3862
+ */
3863
+ Association?: WorkspaceResourceAssociation;
3864
+ }
3179
3865
  /**
3180
3866
  * @public
3181
3867
  * <p>Describes a WorkSpace that could not be rebooted. (<a>RebootWorkspaces</a>),