@aws-sdk/client-appstream 3.931.0 → 3.933.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 (60) hide show
  1. package/README.md +45 -13
  2. package/dist-cjs/index.js +312 -42
  3. package/dist-es/AppStream.js +8 -0
  4. package/dist-es/commands/CreateExportImageTaskCommand.js +16 -0
  5. package/dist-es/commands/CreateImportedImageCommand.js +16 -0
  6. package/dist-es/commands/GetExportImageTaskCommand.js +16 -0
  7. package/dist-es/commands/ListExportImageTasksCommand.js +16 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +60 -27
  10. package/dist-es/schemas/schemas_0.js +194 -16
  11. package/dist-types/AppStream.d.ts +36 -6
  12. package/dist-types/AppStreamClient.d.ts +12 -8
  13. package/dist-types/commands/CreateAppBlockBuilderCommand.d.ts +2 -2
  14. package/dist-types/commands/CreateAppBlockCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateApplicationCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateDirectoryConfigCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateEntitlementCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateExportImageTaskCommand.d.ts +118 -0
  19. package/dist-types/commands/CreateFleetCommand.d.ts +8 -2
  20. package/dist-types/commands/CreateImageBuilderCommand.d.ts +9 -3
  21. package/dist-types/commands/CreateImportedImageCommand.d.ts +186 -0
  22. package/dist-types/commands/CreateStreamingURLCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateUpdatedImageCommand.d.ts +6 -5
  24. package/dist-types/commands/DeleteDirectoryConfigCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteImageBuilderCommand.d.ts +5 -2
  26. package/dist-types/commands/DeleteImageCommand.d.ts +4 -3
  27. package/dist-types/commands/DescribeAppBlockBuildersCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeDirectoryConfigsCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeFleetsCommand.d.ts +4 -1
  30. package/dist-types/commands/DescribeImageBuildersCommand.d.ts +5 -2
  31. package/dist-types/commands/DescribeImagesCommand.d.ts +4 -3
  32. package/dist-types/commands/DisableUserCommand.d.ts +1 -1
  33. package/dist-types/commands/EnableUserCommand.d.ts +1 -1
  34. package/dist-types/commands/GetExportImageTaskCommand.d.ts +97 -0
  35. package/dist-types/commands/ListExportImageTasksCommand.d.ts +106 -0
  36. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  37. package/dist-types/commands/StartAppBlockBuilderCommand.d.ts +2 -2
  38. package/dist-types/commands/StartFleetCommand.d.ts +1 -1
  39. package/dist-types/commands/StartImageBuilderCommand.d.ts +5 -2
  40. package/dist-types/commands/StopAppBlockBuilderCommand.d.ts +1 -1
  41. package/dist-types/commands/StopImageBuilderCommand.d.ts +5 -2
  42. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  43. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  44. package/dist-types/commands/UpdateAppBlockBuilderCommand.d.ts +2 -2
  45. package/dist-types/commands/UpdateDirectoryConfigCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateFleetCommand.d.ts +9 -3
  47. package/dist-types/commands/index.d.ts +4 -0
  48. package/dist-types/index.d.ts +6 -6
  49. package/dist-types/models/models_0.d.ts +822 -503
  50. package/dist-types/schemas/schemas_0.d.ts +24 -0
  51. package/dist-types/ts3.4/AppStream.d.ts +70 -0
  52. package/dist-types/ts3.4/AppStreamClient.d.ts +24 -0
  53. package/dist-types/ts3.4/commands/CreateExportImageTaskCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/CreateImportedImageCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/GetExportImageTaskCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/ListExportImageTasksCommand.d.ts +51 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +176 -68
  59. package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
  60. package/package.json +6 -6
@@ -14,9 +14,11 @@ import { CreateAppBlockCommand, } from "./commands/CreateAppBlockCommand";
14
14
  import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
15
15
  import { CreateDirectoryConfigCommand, } from "./commands/CreateDirectoryConfigCommand";
16
16
  import { CreateEntitlementCommand, } from "./commands/CreateEntitlementCommand";
17
+ import { CreateExportImageTaskCommand, } from "./commands/CreateExportImageTaskCommand";
17
18
  import { CreateFleetCommand } from "./commands/CreateFleetCommand";
18
19
  import { CreateImageBuilderCommand, } from "./commands/CreateImageBuilderCommand";
19
20
  import { CreateImageBuilderStreamingURLCommand, } from "./commands/CreateImageBuilderStreamingURLCommand";
21
+ import { CreateImportedImageCommand, } from "./commands/CreateImportedImageCommand";
20
22
  import { CreateStackCommand } from "./commands/CreateStackCommand";
21
23
  import { CreateStreamingURLCommand, } from "./commands/CreateStreamingURLCommand";
22
24
  import { CreateThemeForStackCommand, } from "./commands/CreateThemeForStackCommand";
@@ -63,9 +65,11 @@ import { DisassociateFleetCommand, } from "./commands/DisassociateFleetCommand";
63
65
  import { DisassociateSoftwareFromImageBuilderCommand, } from "./commands/DisassociateSoftwareFromImageBuilderCommand";
64
66
  import { EnableUserCommand } from "./commands/EnableUserCommand";
65
67
  import { ExpireSessionCommand, } from "./commands/ExpireSessionCommand";
68
+ import { GetExportImageTaskCommand, } from "./commands/GetExportImageTaskCommand";
66
69
  import { ListAssociatedFleetsCommand, } from "./commands/ListAssociatedFleetsCommand";
67
70
  import { ListAssociatedStacksCommand, } from "./commands/ListAssociatedStacksCommand";
68
71
  import { ListEntitledApplicationsCommand, } from "./commands/ListEntitledApplicationsCommand";
72
+ import { ListExportImageTasksCommand, } from "./commands/ListExportImageTasksCommand";
69
73
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
70
74
  import { StartAppBlockBuilderCommand, } from "./commands/StartAppBlockBuilderCommand";
71
75
  import { StartFleetCommand } from "./commands/StartFleetCommand";
@@ -99,9 +103,11 @@ const commands = {
99
103
  CreateApplicationCommand,
100
104
  CreateDirectoryConfigCommand,
101
105
  CreateEntitlementCommand,
106
+ CreateExportImageTaskCommand,
102
107
  CreateFleetCommand,
103
108
  CreateImageBuilderCommand,
104
109
  CreateImageBuilderStreamingURLCommand,
110
+ CreateImportedImageCommand,
105
111
  CreateStackCommand,
106
112
  CreateStreamingURLCommand,
107
113
  CreateThemeForStackCommand,
@@ -148,9 +154,11 @@ const commands = {
148
154
  DisassociateSoftwareFromImageBuilderCommand,
149
155
  EnableUserCommand,
150
156
  ExpireSessionCommand,
157
+ GetExportImageTaskCommand,
151
158
  ListAssociatedFleetsCommand,
152
159
  ListAssociatedStacksCommand,
153
160
  ListEntitledApplicationsCommand,
161
+ ListExportImageTasksCommand,
154
162
  ListTagsForResourceCommand,
155
163
  StartAppBlockBuilderCommand,
156
164
  StartFleetCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateExportImageTask } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateExportImageTaskCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("PhotonAdminProxyService", "CreateExportImageTask", {})
13
+ .n("AppStreamClient", "CreateExportImageTaskCommand")
14
+ .sc(CreateExportImageTask)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateImportedImage } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateImportedImageCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("PhotonAdminProxyService", "CreateImportedImage", {})
13
+ .n("AppStreamClient", "CreateImportedImageCommand")
14
+ .sc(CreateImportedImage)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetExportImageTask } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetExportImageTaskCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("PhotonAdminProxyService", "GetExportImageTask", {})
13
+ .n("AppStreamClient", "GetExportImageTaskCommand")
14
+ .sc(GetExportImageTask)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListExportImageTasks } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListExportImageTasksCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("PhotonAdminProxyService", "ListExportImageTasks", {})
13
+ .n("AppStreamClient", "ListExportImageTasksCommand")
14
+ .sc(ListExportImageTasks)
15
+ .build() {
16
+ }
@@ -12,9 +12,11 @@ export * from "./CreateAppBlockCommand";
12
12
  export * from "./CreateApplicationCommand";
13
13
  export * from "./CreateDirectoryConfigCommand";
14
14
  export * from "./CreateEntitlementCommand";
15
+ export * from "./CreateExportImageTaskCommand";
15
16
  export * from "./CreateFleetCommand";
16
17
  export * from "./CreateImageBuilderCommand";
17
18
  export * from "./CreateImageBuilderStreamingURLCommand";
19
+ export * from "./CreateImportedImageCommand";
18
20
  export * from "./CreateStackCommand";
19
21
  export * from "./CreateStreamingURLCommand";
20
22
  export * from "./CreateThemeForStackCommand";
@@ -61,9 +63,11 @@ export * from "./DisassociateFleetCommand";
61
63
  export * from "./DisassociateSoftwareFromImageBuilderCommand";
62
64
  export * from "./EnableUserCommand";
63
65
  export * from "./ExpireSessionCommand";
66
+ export * from "./GetExportImageTaskCommand";
64
67
  export * from "./ListAssociatedFleetsCommand";
65
68
  export * from "./ListAssociatedStacksCommand";
66
69
  export * from "./ListEntitledApplicationsCommand";
70
+ export * from "./ListExportImageTasksCommand";
67
71
  export * from "./ListTagsForResourceCommand";
68
72
  export * from "./StartAppBlockBuilderCommand";
69
73
  export * from "./StartFleetCommand";
@@ -12,6 +12,10 @@ export const Action = {
12
12
  FILE_UPLOAD: "FILE_UPLOAD",
13
13
  PRINTING_TO_LOCAL_DEVICE: "PRINTING_TO_LOCAL_DEVICE",
14
14
  };
15
+ export const AgentSoftwareVersion = {
16
+ ALWAYS_LATEST: "ALWAYS_LATEST",
17
+ CURRENT_LATEST: "CURRENT_LATEST",
18
+ };
15
19
  export const PackagingType = {
16
20
  APPSTREAM2: "APPSTREAM2",
17
21
  CUSTOM: "CUSTOM",
@@ -51,6 +55,7 @@ export const FleetErrorCode = {
51
55
  STS_DISABLED_IN_REGION: "STS_DISABLED_IN_REGION",
52
56
  SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES: "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES",
53
57
  SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND",
58
+ VALIDATION_ERROR: "VALIDATION_ERROR",
54
59
  };
55
60
  export const AppBlockBuilderPlatformType = {
56
61
  WINDOWS_SERVER_2019: "WINDOWS_SERVER_2019",
@@ -285,6 +290,11 @@ export class EntitlementAlreadyExistsException extends __BaseException {
285
290
  this.Message = opts.Message;
286
291
  }
287
292
  }
293
+ export const ExportImageTaskState = {
294
+ COMPLETED: "COMPLETED",
295
+ EXPORTING: "EXPORTING",
296
+ FAILED: "FAILED",
297
+ };
288
298
  export const FleetType = {
289
299
  ALWAYS_ON: "ALWAYS_ON",
290
300
  ELASTIC: "ELASTIC",
@@ -308,6 +318,7 @@ export const ImageBuilderState = {
308
318
  DELETING: "DELETING",
309
319
  FAILED: "FAILED",
310
320
  PENDING: "PENDING",
321
+ PENDING_IMAGE_IMPORT: "PENDING_IMAGE_IMPORT",
311
322
  PENDING_QUALIFICATION: "PENDING_QUALIFICATION",
312
323
  PENDING_SYNCING_APPS: "PENDING_SYNCING_APPS",
313
324
  REBOOTING: "REBOOTING",
@@ -323,33 +334,6 @@ export const ImageBuilderStateChangeReasonCode = {
323
334
  IMAGE_UNAVAILABLE: "IMAGE_UNAVAILABLE",
324
335
  INTERNAL_ERROR: "INTERNAL_ERROR",
325
336
  };
326
- export const StorageConnectorType = {
327
- GOOGLE_DRIVE: "GOOGLE_DRIVE",
328
- HOMEFOLDERS: "HOMEFOLDERS",
329
- ONE_DRIVE: "ONE_DRIVE",
330
- };
331
- export const PreferredProtocol = {
332
- TCP: "TCP",
333
- UDP: "UDP",
334
- };
335
- export const Permission = {
336
- DISABLED: "DISABLED",
337
- ENABLED: "ENABLED",
338
- };
339
- export const StackErrorCode = {
340
- INTERNAL_SERVICE_ERROR: "INTERNAL_SERVICE_ERROR",
341
- STORAGE_CONNECTOR_ERROR: "STORAGE_CONNECTOR_ERROR",
342
- };
343
- export const ThemeStyling = {
344
- BLUE: "BLUE",
345
- LIGHT_BLUE: "LIGHT_BLUE",
346
- PINK: "PINK",
347
- RED: "RED",
348
- };
349
- export const ThemeState = {
350
- DISABLED: "DISABLED",
351
- ENABLED: "ENABLED",
352
- };
353
337
  export const DynamicAppProvidersEnabled = {
354
338
  DISABLED: "DISABLED",
355
339
  ENABLED: "ENABLED",
@@ -358,6 +342,10 @@ export const ImageSharedWithOthers = {
358
342
  FALSE: "FALSE",
359
343
  TRUE: "TRUE",
360
344
  };
345
+ export const ImageType = {
346
+ CUSTOM: "CUSTOM",
347
+ NATIVE: "NATIVE",
348
+ };
361
349
  export const ImageState = {
362
350
  AVAILABLE: "AVAILABLE",
363
351
  COPYING: "COPYING",
@@ -366,10 +354,13 @@ export const ImageState = {
366
354
  FAILED: "FAILED",
367
355
  IMPORTING: "IMPORTING",
368
356
  PENDING: "PENDING",
357
+ VALIDATING: "VALIDATING",
369
358
  };
370
359
  export const ImageStateChangeReasonCode = {
371
360
  IMAGE_BUILDER_NOT_AVAILABLE: "IMAGE_BUILDER_NOT_AVAILABLE",
372
361
  IMAGE_COPY_FAILURE: "IMAGE_COPY_FAILURE",
362
+ IMAGE_IMPORT_FAILURE: "IMAGE_IMPORT_FAILURE",
363
+ IMAGE_UPDATE_FAILURE: "IMAGE_UPDATE_FAILURE",
373
364
  INTERNAL_ERROR: "INTERNAL_ERROR",
374
365
  };
375
366
  export const VisibilityType = {
@@ -377,6 +368,47 @@ export const VisibilityType = {
377
368
  PUBLIC: "PUBLIC",
378
369
  SHARED: "SHARED",
379
370
  };
371
+ export class DryRunOperationException extends __BaseException {
372
+ name = "DryRunOperationException";
373
+ $fault = "client";
374
+ Message;
375
+ constructor(opts) {
376
+ super({
377
+ name: "DryRunOperationException",
378
+ $fault: "client",
379
+ ...opts,
380
+ });
381
+ Object.setPrototypeOf(this, DryRunOperationException.prototype);
382
+ this.Message = opts.Message;
383
+ }
384
+ }
385
+ export const StorageConnectorType = {
386
+ GOOGLE_DRIVE: "GOOGLE_DRIVE",
387
+ HOMEFOLDERS: "HOMEFOLDERS",
388
+ ONE_DRIVE: "ONE_DRIVE",
389
+ };
390
+ export const PreferredProtocol = {
391
+ TCP: "TCP",
392
+ UDP: "UDP",
393
+ };
394
+ export const Permission = {
395
+ DISABLED: "DISABLED",
396
+ ENABLED: "ENABLED",
397
+ };
398
+ export const StackErrorCode = {
399
+ INTERNAL_SERVICE_ERROR: "INTERNAL_SERVICE_ERROR",
400
+ STORAGE_CONNECTOR_ERROR: "STORAGE_CONNECTOR_ERROR",
401
+ };
402
+ export const ThemeStyling = {
403
+ BLUE: "BLUE",
404
+ LIGHT_BLUE: "LIGHT_BLUE",
405
+ PINK: "PINK",
406
+ RED: "RED",
407
+ };
408
+ export const ThemeState = {
409
+ DISABLED: "DISABLED",
410
+ ENABLED: "ENABLED",
411
+ };
380
412
  export const UsageReportSchedule = {
381
413
  DAILY: "DAILY",
382
414
  };
@@ -427,6 +459,7 @@ export const FleetAttribute = {
427
459
  MAX_SESSIONS_PER_INSTANCE: "MAX_SESSIONS_PER_INSTANCE",
428
460
  SESSION_SCRIPT_S3_LOCATION: "SESSION_SCRIPT_S3_LOCATION",
429
461
  USB_DEVICE_FILTER_STRINGS: "USB_DEVICE_FILTER_STRINGS",
462
+ VOLUME_CONFIGURATION: "VOLUME_CONFIGURATION",
430
463
  VPC_CONFIGURATION: "VPC_CONFIGURATION",
431
464
  VPC_CONFIGURATION_SECURITY_GROUP_IDS: "VPC_CONFIGURATION_SECURITY_GROUP_IDS",
432
465
  };