@aws-sdk/client-appstream 3.50.0 → 3.53.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 (98) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/AppStreamServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +202 -4
  5. package/dist-cjs/protocols/Aws_json1_1.js +592 -2096
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/AppStreamServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +184 -1
  9. package/dist-es/protocols/Aws_json1_1.js +1325 -2308
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/AppStreamServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +100 -43
  13. package/dist-types/ts3.4/AppStream.d.ts +330 -0
  14. package/dist-types/ts3.4/AppStreamClient.d.ts +138 -0
  15. package/dist-types/ts3.4/commands/AssociateApplicationFleetCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/AssociateApplicationToEntitlementCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/AssociateFleetCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/BatchAssociateUserStackCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/BatchDisassociateUserStackCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CopyImageCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateAppBlockCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateDirectoryConfigCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/CreateEntitlementCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/CreateImageBuilderCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/CreateImageBuilderStreamingURLCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/CreateStackCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/CreateStreamingURLCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/CreateUpdatedImageCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/CreateUsageReportSubscriptionCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/DeleteAppBlockCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DeleteDirectoryConfigCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DeleteEntitlementCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DeleteFleetCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DeleteImageBuilderCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteImagePermissionsCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DeleteStackCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DeleteUsageReportSubscriptionCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DescribeAppBlocksCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DescribeApplicationFleetAssociationsCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DescribeApplicationsCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/DescribeDirectoryConfigsCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/DescribeEntitlementsCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/DescribeImageBuildersCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/DescribeImagePermissionsCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/DescribeStacksCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/DescribeUsageReportSubscriptionsCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/DescribeUserStackAssociationsCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/DisableUserCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/DisassociateApplicationFleetCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/DisassociateApplicationFromEntitlementCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/DisassociateFleetCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/EnableUserCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ExpireSessionCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListAssociatedFleetsCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListAssociatedStacksCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListEntitledApplicationsCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/StartFleetCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/StartImageBuilderCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/StopFleetCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/StopImageBuilderCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/UpdateDirectoryConfigCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/UpdateEntitlementCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/UpdateFleetCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/UpdateImagePermissionsCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/index.d.ts +65 -0
  81. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  82. package/dist-types/ts3.4/index.d.ts +7 -0
  83. package/dist-types/ts3.4/models/AppStreamServiceException.d.ts +6 -0
  84. package/dist-types/ts3.4/models/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +2344 -0
  86. package/dist-types/ts3.4/pagination/DescribeImagePermissionsPaginator.d.ts +4 -0
  87. package/dist-types/ts3.4/pagination/DescribeImagesPaginator.d.ts +4 -0
  88. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  89. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  90. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +197 -0
  91. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  92. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  93. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  94. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  95. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  96. package/dist-types/ts3.4/waiters/waitForFleetStarted.d.ts +7 -0
  97. package/dist-types/ts3.4/waiters/waitForFleetStopped.d.ts +7 -0
  98. package/package.json +34 -34
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { AppStreamServiceException } from "./models/AppStreamServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from AppStream service.
4
+ */
5
+ export declare class AppStreamServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AppStreamServiceException as __BaseException } from "./AppStreamServiceException";
2
3
  export declare enum AccessEndpointType {
3
4
  STREAMING = "STREAMING"
4
5
  }
@@ -298,57 +299,77 @@ export declare namespace AssociateApplicationFleetResult {
298
299
  /**
299
300
  * <p>An API error occurred. Wait a few minutes and try again.</p>
300
301
  */
301
- export interface ConcurrentModificationException extends __SmithyException, $MetadataBearer {
302
- name: "ConcurrentModificationException";
303
- $fault: "client";
302
+ export declare class ConcurrentModificationException extends __BaseException {
303
+ readonly name: "ConcurrentModificationException";
304
+ readonly $fault: "client";
304
305
  /**
305
306
  * <p>The error message in the exception.</p>
306
307
  */
307
308
  Message?: string;
309
+ /**
310
+ * @internal
311
+ */
312
+ constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
308
313
  }
309
314
  /**
310
315
  * <p>Indicates an incorrect combination of parameters, or a missing parameter.</p>
311
316
  */
312
- export interface InvalidParameterCombinationException extends __SmithyException, $MetadataBearer {
313
- name: "InvalidParameterCombinationException";
314
- $fault: "client";
317
+ export declare class InvalidParameterCombinationException extends __BaseException {
318
+ readonly name: "InvalidParameterCombinationException";
319
+ readonly $fault: "client";
315
320
  /**
316
321
  * <p>The error message in the exception.</p>
317
322
  */
318
323
  Message?: string;
324
+ /**
325
+ * @internal
326
+ */
327
+ constructor(opts: __ExceptionOptionType<InvalidParameterCombinationException, __BaseException>);
319
328
  }
320
329
  /**
321
330
  * <p>The requested limit exceeds the permitted limit for an account.</p>
322
331
  */
323
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
324
- name: "LimitExceededException";
325
- $fault: "client";
332
+ export declare class LimitExceededException extends __BaseException {
333
+ readonly name: "LimitExceededException";
334
+ readonly $fault: "client";
326
335
  /**
327
336
  * <p>The error message in the exception.</p>
328
337
  */
329
338
  Message?: string;
339
+ /**
340
+ * @internal
341
+ */
342
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
330
343
  }
331
344
  /**
332
345
  * <p>The attempted operation is not permitted.</p>
333
346
  */
334
- export interface OperationNotPermittedException extends __SmithyException, $MetadataBearer {
335
- name: "OperationNotPermittedException";
336
- $fault: "client";
347
+ export declare class OperationNotPermittedException extends __BaseException {
348
+ readonly name: "OperationNotPermittedException";
349
+ readonly $fault: "client";
337
350
  /**
338
351
  * <p>The error message in the exception.</p>
339
352
  */
340
353
  Message?: string;
354
+ /**
355
+ * @internal
356
+ */
357
+ constructor(opts: __ExceptionOptionType<OperationNotPermittedException, __BaseException>);
341
358
  }
342
359
  /**
343
360
  * <p>The specified resource was not found.</p>
344
361
  */
345
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
346
- name: "ResourceNotFoundException";
347
- $fault: "client";
362
+ export declare class ResourceNotFoundException extends __BaseException {
363
+ readonly name: "ResourceNotFoundException";
364
+ readonly $fault: "client";
348
365
  /**
349
366
  * <p>The error message in the exception.</p>
350
367
  */
351
368
  Message?: string;
369
+ /**
370
+ * @internal
371
+ */
372
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
352
373
  }
353
374
  export interface AssociateApplicationToEntitlementRequest {
354
375
  /**
@@ -381,13 +402,17 @@ export declare namespace AssociateApplicationToEntitlementResult {
381
402
  /**
382
403
  * <p>The entitlement can't be found.</p>
383
404
  */
384
- export interface EntitlementNotFoundException extends __SmithyException, $MetadataBearer {
385
- name: "EntitlementNotFoundException";
386
- $fault: "client";
405
+ export declare class EntitlementNotFoundException extends __BaseException {
406
+ readonly name: "EntitlementNotFoundException";
407
+ readonly $fault: "client";
387
408
  /**
388
409
  * <p>The error message in the exception.</p>
389
410
  */
390
411
  Message?: string;
412
+ /**
413
+ * @internal
414
+ */
415
+ constructor(opts: __ExceptionOptionType<EntitlementNotFoundException, __BaseException>);
391
416
  }
392
417
  export interface AssociateFleetRequest {
393
418
  /**
@@ -416,24 +441,32 @@ export declare namespace AssociateFleetResult {
416
441
  /**
417
442
  * <p>The image can't be updated because it's not compatible for updates.</p>
418
443
  */
419
- export interface IncompatibleImageException extends __SmithyException, $MetadataBearer {
420
- name: "IncompatibleImageException";
421
- $fault: "client";
444
+ export declare class IncompatibleImageException extends __BaseException {
445
+ readonly name: "IncompatibleImageException";
446
+ readonly $fault: "client";
422
447
  /**
423
448
  * <p>The error message in the exception.</p>
424
449
  */
425
450
  Message?: string;
451
+ /**
452
+ * @internal
453
+ */
454
+ constructor(opts: __ExceptionOptionType<IncompatibleImageException, __BaseException>);
426
455
  }
427
456
  /**
428
457
  * <p>The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support. </p>
429
458
  */
430
- export interface InvalidAccountStatusException extends __SmithyException, $MetadataBearer {
431
- name: "InvalidAccountStatusException";
432
- $fault: "client";
459
+ export declare class InvalidAccountStatusException extends __BaseException {
460
+ readonly name: "InvalidAccountStatusException";
461
+ readonly $fault: "client";
433
462
  /**
434
463
  * <p>The error message in the exception.</p>
435
464
  */
436
465
  Message?: string;
466
+ /**
467
+ * @internal
468
+ */
469
+ constructor(opts: __ExceptionOptionType<InvalidAccountStatusException, __BaseException>);
437
470
  }
438
471
  export declare enum AuthenticationType {
439
472
  API = "API",
@@ -630,24 +663,32 @@ export declare namespace CopyImageResponse {
630
663
  /**
631
664
  * <p>The specified resource already exists.</p>
632
665
  */
633
- export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
634
- name: "ResourceAlreadyExistsException";
635
- $fault: "client";
666
+ export declare class ResourceAlreadyExistsException extends __BaseException {
667
+ readonly name: "ResourceAlreadyExistsException";
668
+ readonly $fault: "client";
636
669
  /**
637
670
  * <p>The error message in the exception.</p>
638
671
  */
639
672
  Message?: string;
673
+ /**
674
+ * @internal
675
+ */
676
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
640
677
  }
641
678
  /**
642
679
  * <p>The specified resource exists and is not in use, but isn't available.</p>
643
680
  */
644
- export interface ResourceNotAvailableException extends __SmithyException, $MetadataBearer {
645
- name: "ResourceNotAvailableException";
646
- $fault: "client";
681
+ export declare class ResourceNotAvailableException extends __BaseException {
682
+ readonly name: "ResourceNotAvailableException";
683
+ readonly $fault: "client";
647
684
  /**
648
685
  * <p>The error message in the exception.</p>
649
686
  */
650
687
  Message?: string;
688
+ /**
689
+ * @internal
690
+ */
691
+ constructor(opts: __ExceptionOptionType<ResourceNotAvailableException, __BaseException>);
651
692
  }
652
693
  export interface CreateAppBlockRequest {
653
694
  /**
@@ -844,13 +885,17 @@ export declare namespace CreateDirectoryConfigResult {
844
885
  /**
845
886
  * <p>The specified role is invalid.</p>
846
887
  */
847
- export interface InvalidRoleException extends __SmithyException, $MetadataBearer {
848
- name: "InvalidRoleException";
849
- $fault: "client";
888
+ export declare class InvalidRoleException extends __BaseException {
889
+ readonly name: "InvalidRoleException";
890
+ readonly $fault: "client";
850
891
  /**
851
892
  * <p>The error message in the exception.</p>
852
893
  */
853
894
  Message?: string;
895
+ /**
896
+ * @internal
897
+ */
898
+ constructor(opts: __ExceptionOptionType<InvalidRoleException, __BaseException>);
854
899
  }
855
900
  /**
856
901
  * <p>An attribute associated with an entitlement. Application entitlements work by matching
@@ -988,13 +1033,17 @@ export declare namespace CreateEntitlementResult {
988
1033
  /**
989
1034
  * <p>The entitlement already exists.</p>
990
1035
  */
991
- export interface EntitlementAlreadyExistsException extends __SmithyException, $MetadataBearer {
992
- name: "EntitlementAlreadyExistsException";
993
- $fault: "client";
1036
+ export declare class EntitlementAlreadyExistsException extends __BaseException {
1037
+ readonly name: "EntitlementAlreadyExistsException";
1038
+ readonly $fault: "client";
994
1039
  /**
995
1040
  * <p>The error message in the exception.</p>
996
1041
  */
997
1042
  Message?: string;
1043
+ /**
1044
+ * @internal
1045
+ */
1046
+ constructor(opts: __ExceptionOptionType<EntitlementAlreadyExistsException, __BaseException>);
998
1047
  }
999
1048
  /**
1000
1049
  * <p>Describes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.</p>
@@ -1593,13 +1642,17 @@ export declare namespace CreateFleetResult {
1593
1642
  /**
1594
1643
  * <p>AppStream 2.0 can’t process the request right now because the Describe calls from your AWS account are being throttled by Amazon EC2. Try again later.</p>
1595
1644
  */
1596
- export interface RequestLimitExceededException extends __SmithyException, $MetadataBearer {
1597
- name: "RequestLimitExceededException";
1598
- $fault: "client";
1645
+ export declare class RequestLimitExceededException extends __BaseException {
1646
+ readonly name: "RequestLimitExceededException";
1647
+ readonly $fault: "client";
1599
1648
  /**
1600
1649
  * <p>The error message in the exception.</p>
1601
1650
  */
1602
1651
  Message?: string;
1652
+ /**
1653
+ * @internal
1654
+ */
1655
+ constructor(opts: __ExceptionOptionType<RequestLimitExceededException, __BaseException>);
1603
1656
  }
1604
1657
  export interface CreateImageBuilderRequest {
1605
1658
  /**
@@ -2638,13 +2691,17 @@ export declare namespace DeleteAppBlockResult {
2638
2691
  /**
2639
2692
  * <p>The specified resource is in use.</p>
2640
2693
  */
2641
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
2642
- name: "ResourceInUseException";
2643
- $fault: "client";
2694
+ export declare class ResourceInUseException extends __BaseException {
2695
+ readonly name: "ResourceInUseException";
2696
+ readonly $fault: "client";
2644
2697
  /**
2645
2698
  * <p>The error message in the exception.</p>
2646
2699
  */
2647
2700
  Message?: string;
2701
+ /**
2702
+ * @internal
2703
+ */
2704
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
2648
2705
  }
2649
2706
  export interface DeleteApplicationRequest {
2650
2707
  /**