@aws-sdk/client-appstream 3.975.0 → 3.978.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -3583,100 +3583,6 @@ class UpdateThemeForStackCommand extends smithyClient.Command
3583
3583
  .build() {
3584
3584
  }
3585
3585
 
3586
- const commands = {
3587
- AssociateAppBlockBuilderAppBlockCommand,
3588
- AssociateApplicationFleetCommand,
3589
- AssociateApplicationToEntitlementCommand,
3590
- AssociateFleetCommand,
3591
- AssociateSoftwareToImageBuilderCommand,
3592
- BatchAssociateUserStackCommand,
3593
- BatchDisassociateUserStackCommand,
3594
- CopyImageCommand,
3595
- CreateAppBlockCommand,
3596
- CreateAppBlockBuilderCommand,
3597
- CreateAppBlockBuilderStreamingURLCommand,
3598
- CreateApplicationCommand,
3599
- CreateDirectoryConfigCommand,
3600
- CreateEntitlementCommand,
3601
- CreateExportImageTaskCommand,
3602
- CreateFleetCommand,
3603
- CreateImageBuilderCommand,
3604
- CreateImageBuilderStreamingURLCommand,
3605
- CreateImportedImageCommand,
3606
- CreateStackCommand,
3607
- CreateStreamingURLCommand,
3608
- CreateThemeForStackCommand,
3609
- CreateUpdatedImageCommand,
3610
- CreateUsageReportSubscriptionCommand,
3611
- CreateUserCommand,
3612
- DeleteAppBlockCommand,
3613
- DeleteAppBlockBuilderCommand,
3614
- DeleteApplicationCommand,
3615
- DeleteDirectoryConfigCommand,
3616
- DeleteEntitlementCommand,
3617
- DeleteFleetCommand,
3618
- DeleteImageCommand,
3619
- DeleteImageBuilderCommand,
3620
- DeleteImagePermissionsCommand,
3621
- DeleteStackCommand,
3622
- DeleteThemeForStackCommand,
3623
- DeleteUsageReportSubscriptionCommand,
3624
- DeleteUserCommand,
3625
- DescribeAppBlockBuilderAppBlockAssociationsCommand,
3626
- DescribeAppBlockBuildersCommand,
3627
- DescribeAppBlocksCommand,
3628
- DescribeApplicationFleetAssociationsCommand,
3629
- DescribeApplicationsCommand,
3630
- DescribeAppLicenseUsageCommand,
3631
- DescribeDirectoryConfigsCommand,
3632
- DescribeEntitlementsCommand,
3633
- DescribeFleetsCommand,
3634
- DescribeImageBuildersCommand,
3635
- DescribeImagePermissionsCommand,
3636
- DescribeImagesCommand,
3637
- DescribeSessionsCommand,
3638
- DescribeSoftwareAssociationsCommand,
3639
- DescribeStacksCommand,
3640
- DescribeThemeForStackCommand,
3641
- DescribeUsageReportSubscriptionsCommand,
3642
- DescribeUsersCommand,
3643
- DescribeUserStackAssociationsCommand,
3644
- DisableUserCommand,
3645
- DisassociateAppBlockBuilderAppBlockCommand,
3646
- DisassociateApplicationFleetCommand,
3647
- DisassociateApplicationFromEntitlementCommand,
3648
- DisassociateFleetCommand,
3649
- DisassociateSoftwareFromImageBuilderCommand,
3650
- EnableUserCommand,
3651
- ExpireSessionCommand,
3652
- GetExportImageTaskCommand,
3653
- ListAssociatedFleetsCommand,
3654
- ListAssociatedStacksCommand,
3655
- ListEntitledApplicationsCommand,
3656
- ListExportImageTasksCommand,
3657
- ListTagsForResourceCommand,
3658
- StartAppBlockBuilderCommand,
3659
- StartFleetCommand,
3660
- StartImageBuilderCommand,
3661
- StartSoftwareDeploymentToImageBuilderCommand,
3662
- StopAppBlockBuilderCommand,
3663
- StopFleetCommand,
3664
- StopImageBuilderCommand,
3665
- TagResourceCommand,
3666
- UntagResourceCommand,
3667
- UpdateAppBlockBuilderCommand,
3668
- UpdateApplicationCommand,
3669
- UpdateDirectoryConfigCommand,
3670
- UpdateEntitlementCommand,
3671
- UpdateFleetCommand,
3672
- UpdateImagePermissionsCommand,
3673
- UpdateStackCommand,
3674
- UpdateThemeForStackCommand,
3675
- };
3676
- class AppStream extends AppStreamClient {
3677
- }
3678
- smithyClient.createAggregatedClient(commands, AppStream);
3679
-
3680
3586
  const paginateDescribeAppBlockBuilderAppBlockAssociations = core.createPaginator(AppStreamClient, DescribeAppBlockBuilderAppBlockAssociationsCommand, "NextToken", "NextToken", "MaxResults");
3681
3587
 
3682
3588
  const paginateDescribeAppBlockBuilders = core.createPaginator(AppStreamClient, DescribeAppBlockBuildersCommand, "NextToken", "NextToken", "MaxResults");
@@ -3821,6 +3727,110 @@ const waitUntilFleetStopped = async (params, input) => {
3821
3727
  return utilWaiter.checkExceptions(result);
3822
3728
  };
3823
3729
 
3730
+ const commands = {
3731
+ AssociateAppBlockBuilderAppBlockCommand,
3732
+ AssociateApplicationFleetCommand,
3733
+ AssociateApplicationToEntitlementCommand,
3734
+ AssociateFleetCommand,
3735
+ AssociateSoftwareToImageBuilderCommand,
3736
+ BatchAssociateUserStackCommand,
3737
+ BatchDisassociateUserStackCommand,
3738
+ CopyImageCommand,
3739
+ CreateAppBlockCommand,
3740
+ CreateAppBlockBuilderCommand,
3741
+ CreateAppBlockBuilderStreamingURLCommand,
3742
+ CreateApplicationCommand,
3743
+ CreateDirectoryConfigCommand,
3744
+ CreateEntitlementCommand,
3745
+ CreateExportImageTaskCommand,
3746
+ CreateFleetCommand,
3747
+ CreateImageBuilderCommand,
3748
+ CreateImageBuilderStreamingURLCommand,
3749
+ CreateImportedImageCommand,
3750
+ CreateStackCommand,
3751
+ CreateStreamingURLCommand,
3752
+ CreateThemeForStackCommand,
3753
+ CreateUpdatedImageCommand,
3754
+ CreateUsageReportSubscriptionCommand,
3755
+ CreateUserCommand,
3756
+ DeleteAppBlockCommand,
3757
+ DeleteAppBlockBuilderCommand,
3758
+ DeleteApplicationCommand,
3759
+ DeleteDirectoryConfigCommand,
3760
+ DeleteEntitlementCommand,
3761
+ DeleteFleetCommand,
3762
+ DeleteImageCommand,
3763
+ DeleteImageBuilderCommand,
3764
+ DeleteImagePermissionsCommand,
3765
+ DeleteStackCommand,
3766
+ DeleteThemeForStackCommand,
3767
+ DeleteUsageReportSubscriptionCommand,
3768
+ DeleteUserCommand,
3769
+ DescribeAppBlockBuilderAppBlockAssociationsCommand,
3770
+ DescribeAppBlockBuildersCommand,
3771
+ DescribeAppBlocksCommand,
3772
+ DescribeApplicationFleetAssociationsCommand,
3773
+ DescribeApplicationsCommand,
3774
+ DescribeAppLicenseUsageCommand,
3775
+ DescribeDirectoryConfigsCommand,
3776
+ DescribeEntitlementsCommand,
3777
+ DescribeFleetsCommand,
3778
+ DescribeImageBuildersCommand,
3779
+ DescribeImagePermissionsCommand,
3780
+ DescribeImagesCommand,
3781
+ DescribeSessionsCommand,
3782
+ DescribeSoftwareAssociationsCommand,
3783
+ DescribeStacksCommand,
3784
+ DescribeThemeForStackCommand,
3785
+ DescribeUsageReportSubscriptionsCommand,
3786
+ DescribeUsersCommand,
3787
+ DescribeUserStackAssociationsCommand,
3788
+ DisableUserCommand,
3789
+ DisassociateAppBlockBuilderAppBlockCommand,
3790
+ DisassociateApplicationFleetCommand,
3791
+ DisassociateApplicationFromEntitlementCommand,
3792
+ DisassociateFleetCommand,
3793
+ DisassociateSoftwareFromImageBuilderCommand,
3794
+ EnableUserCommand,
3795
+ ExpireSessionCommand,
3796
+ GetExportImageTaskCommand,
3797
+ ListAssociatedFleetsCommand,
3798
+ ListAssociatedStacksCommand,
3799
+ ListEntitledApplicationsCommand,
3800
+ ListExportImageTasksCommand,
3801
+ ListTagsForResourceCommand,
3802
+ StartAppBlockBuilderCommand,
3803
+ StartFleetCommand,
3804
+ StartImageBuilderCommand,
3805
+ StartSoftwareDeploymentToImageBuilderCommand,
3806
+ StopAppBlockBuilderCommand,
3807
+ StopFleetCommand,
3808
+ StopImageBuilderCommand,
3809
+ TagResourceCommand,
3810
+ UntagResourceCommand,
3811
+ UpdateAppBlockBuilderCommand,
3812
+ UpdateApplicationCommand,
3813
+ UpdateDirectoryConfigCommand,
3814
+ UpdateEntitlementCommand,
3815
+ UpdateFleetCommand,
3816
+ UpdateImagePermissionsCommand,
3817
+ UpdateStackCommand,
3818
+ UpdateThemeForStackCommand,
3819
+ };
3820
+ const paginators = {
3821
+ paginateDescribeAppBlockBuilderAppBlockAssociations,
3822
+ paginateDescribeAppBlockBuilders,
3823
+ paginateDescribeImagePermissions,
3824
+ paginateDescribeImages,
3825
+ };
3826
+ const waiters = {
3827
+ waitUntilFleetStarted,
3828
+ waitUntilFleetStopped,
3829
+ };
3830
+ class AppStream extends AppStreamClient {
3831
+ }
3832
+ smithyClient.createAggregatedClient(commands, AppStream, { paginators, waiters });
3833
+
3824
3834
  const AccessEndpointType = {
3825
3835
  STREAMING: "STREAMING",
3826
3836
  };
@@ -88,6 +88,12 @@ import { UpdateFleetCommand } from "./commands/UpdateFleetCommand";
88
88
  import { UpdateImagePermissionsCommand, } from "./commands/UpdateImagePermissionsCommand";
89
89
  import { UpdateStackCommand } from "./commands/UpdateStackCommand";
90
90
  import { UpdateThemeForStackCommand, } from "./commands/UpdateThemeForStackCommand";
91
+ import { paginateDescribeAppBlockBuilderAppBlockAssociations, } from "./pagination/DescribeAppBlockBuilderAppBlockAssociationsPaginator";
92
+ import { paginateDescribeAppBlockBuilders } from "./pagination/DescribeAppBlockBuildersPaginator";
93
+ import { paginateDescribeImagePermissions } from "./pagination/DescribeImagePermissionsPaginator";
94
+ import { paginateDescribeImages } from "./pagination/DescribeImagesPaginator";
95
+ import { waitUntilFleetStarted } from "./waiters/waitForFleetStarted";
96
+ import { waitUntilFleetStopped } from "./waiters/waitForFleetStopped";
91
97
  const commands = {
92
98
  AssociateAppBlockBuilderAppBlockCommand,
93
99
  AssociateApplicationFleetCommand,
@@ -178,6 +184,16 @@ const commands = {
178
184
  UpdateStackCommand,
179
185
  UpdateThemeForStackCommand,
180
186
  };
187
+ const paginators = {
188
+ paginateDescribeAppBlockBuilderAppBlockAssociations,
189
+ paginateDescribeAppBlockBuilders,
190
+ paginateDescribeImagePermissions,
191
+ paginateDescribeImages,
192
+ };
193
+ const waiters = {
194
+ waitUntilFleetStarted,
195
+ waitUntilFleetStopped,
196
+ };
181
197
  export class AppStream extends AppStreamClient {
182
198
  }
183
- createAggregatedClient(commands, AppStream);
199
+ createAggregatedClient(commands, AppStream, { paginators, waiters });
@@ -1,4 +1,5 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { WaiterResult } from "@smithy/util-waiter";
2
3
  import { AppStreamClient } from "./AppStreamClient";
3
4
  import { AssociateAppBlockBuilderAppBlockCommandInput, AssociateAppBlockBuilderAppBlockCommandOutput } from "./commands/AssociateAppBlockBuilderAppBlockCommand";
4
5
  import { AssociateApplicationFleetCommandInput, AssociateApplicationFleetCommandOutput } from "./commands/AssociateApplicationFleetCommand";
@@ -634,6 +635,46 @@ export interface AppStream {
634
635
  updateThemeForStack(args: UpdateThemeForStackCommandInput, options?: __HttpHandlerOptions): Promise<UpdateThemeForStackCommandOutput>;
635
636
  updateThemeForStack(args: UpdateThemeForStackCommandInput, cb: (err: any, data?: UpdateThemeForStackCommandOutput) => void): void;
636
637
  updateThemeForStack(args: UpdateThemeForStackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateThemeForStackCommandOutput) => void): void;
638
+ /**
639
+ * @see {@link DescribeAppBlockBuilderAppBlockAssociationsCommand}
640
+ * @param args - command input.
641
+ * @param paginationConfig - optional pagination config.
642
+ * @returns AsyncIterable of {@link DescribeAppBlockBuilderAppBlockAssociationsCommandOutput}.
643
+ */
644
+ paginateDescribeAppBlockBuilderAppBlockAssociations(args?: DescribeAppBlockBuilderAppBlockAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeAppBlockBuilderAppBlockAssociationsCommandOutput>;
645
+ /**
646
+ * @see {@link DescribeAppBlockBuildersCommand}
647
+ * @param args - command input.
648
+ * @param paginationConfig - optional pagination config.
649
+ * @returns AsyncIterable of {@link DescribeAppBlockBuildersCommandOutput}.
650
+ */
651
+ paginateDescribeAppBlockBuilders(args?: DescribeAppBlockBuildersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeAppBlockBuildersCommandOutput>;
652
+ /**
653
+ * @see {@link DescribeImagePermissionsCommand}
654
+ * @param args - command input.
655
+ * @param paginationConfig - optional pagination config.
656
+ * @returns AsyncIterable of {@link DescribeImagePermissionsCommandOutput}.
657
+ */
658
+ paginateDescribeImagePermissions(args: DescribeImagePermissionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeImagePermissionsCommandOutput>;
659
+ /**
660
+ * @see {@link DescribeImagesCommand}
661
+ * @param args - command input.
662
+ * @param paginationConfig - optional pagination config.
663
+ * @returns AsyncIterable of {@link DescribeImagesCommandOutput}.
664
+ */
665
+ paginateDescribeImages(args?: DescribeImagesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeImagesCommandOutput>;
666
+ /**
667
+ * @see {@link DescribeFleetsCommand}
668
+ * @param args - command input.
669
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
670
+ */
671
+ waitUntilFleetStarted(args: DescribeFleetsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<AppStream>, "client">): Promise<WaiterResult>;
672
+ /**
673
+ * @see {@link DescribeFleetsCommand}
674
+ * @param args - command input.
675
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
676
+ */
677
+ waitUntilFleetStopped(args: DescribeFleetsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<AppStream>, "client">): Promise<WaiterResult>;
637
678
  }
638
679
  /**
639
680
  * <fullname>Amazon WorkSpaces Applications</fullname>
@@ -1,4 +1,10 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ WaiterConfiguration,
6
+ } from "@smithy/types";
7
+ import { WaiterResult } from "@smithy/util-waiter";
2
8
  import { AppStreamClient } from "./AppStreamClient";
3
9
  import {
4
10
  AssociateAppBlockBuilderAppBlockCommandInput,
@@ -1562,5 +1568,51 @@ export interface AppStream {
1562
1568
  options: __HttpHandlerOptions,
1563
1569
  cb: (err: any, data?: UpdateThemeForStackCommandOutput) => void
1564
1570
  ): void;
1571
+ paginateDescribeAppBlockBuilderAppBlockAssociations(
1572
+ args?: DescribeAppBlockBuilderAppBlockAssociationsCommandInput,
1573
+ paginationConfig?: Pick<
1574
+ PaginationConfiguration,
1575
+ Exclude<keyof PaginationConfiguration, "client">
1576
+ >
1577
+ ): Paginator<DescribeAppBlockBuilderAppBlockAssociationsCommandOutput>;
1578
+ paginateDescribeAppBlockBuilders(
1579
+ args?: DescribeAppBlockBuildersCommandInput,
1580
+ paginationConfig?: Pick<
1581
+ PaginationConfiguration,
1582
+ Exclude<keyof PaginationConfiguration, "client">
1583
+ >
1584
+ ): Paginator<DescribeAppBlockBuildersCommandOutput>;
1585
+ paginateDescribeImagePermissions(
1586
+ args: DescribeImagePermissionsCommandInput,
1587
+ paginationConfig?: Pick<
1588
+ PaginationConfiguration,
1589
+ Exclude<keyof PaginationConfiguration, "client">
1590
+ >
1591
+ ): Paginator<DescribeImagePermissionsCommandOutput>;
1592
+ paginateDescribeImages(
1593
+ args?: DescribeImagesCommandInput,
1594
+ paginationConfig?: Pick<
1595
+ PaginationConfiguration,
1596
+ Exclude<keyof PaginationConfiguration, "client">
1597
+ >
1598
+ ): Paginator<DescribeImagesCommandOutput>;
1599
+ waitUntilFleetStarted(
1600
+ args: DescribeFleetsCommandInput,
1601
+ waiterConfig:
1602
+ | number
1603
+ | Pick<
1604
+ WaiterConfiguration<AppStream>,
1605
+ Exclude<keyof WaiterConfiguration<AppStream>, "client">
1606
+ >
1607
+ ): Promise<WaiterResult>;
1608
+ waitUntilFleetStopped(
1609
+ args: DescribeFleetsCommandInput,
1610
+ waiterConfig:
1611
+ | number
1612
+ | Pick<
1613
+ WaiterConfiguration<AppStream>,
1614
+ Exclude<keyof WaiterConfiguration<AppStream>, "client">
1615
+ >
1616
+ ): Promise<WaiterResult>;
1565
1617
  }
1566
1618
  export declare class AppStream extends AppStreamClient implements AppStream {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appstream",
3
3
  "description": "AWS SDK for JavaScript Appstream Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
4
+ "version": "3.978.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-appstream",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
24
+ "@aws-sdk/core": "^3.973.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.2",
26
+ "@aws-sdk/middleware-host-header": "^3.972.2",
27
+ "@aws-sdk/middleware-logger": "^3.972.2",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.2",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.4",
30
+ "@aws-sdk/region-config-resolver": "^3.972.2",
31
+ "@aws-sdk/types": "^3.973.1",
32
32
  "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.2",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.2",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.1",
36
+ "@smithy/core": "^3.22.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.11",
42
- "@smithy/middleware-retry": "^4.4.27",
41
+ "@smithy/middleware-endpoint": "^4.4.12",
42
+ "@smithy/middleware-retry": "^4.4.29",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.12",
48
+ "@smithy/smithy-client": "^4.11.1",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
55
+ "@smithy/util-defaults-mode-node": "^4.2.31",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",