@aws-sdk/client-appstream 3.34.0 → 3.37.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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/AppStream.js +1 -25
- package/dist-cjs/AppStreamClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/AssociateFleetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/BatchAssociateUserStackCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/BatchDisassociateUserStackCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CopyImageCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateDirectoryConfigCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateFleetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateImageBuilderCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateImageBuilderStreamingURLCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateStackCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateStreamingURLCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateUpdatedImageCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/CreateUsageReportSubscriptionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateUserCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteDirectoryConfigCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteFleetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteImageBuilderCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteImageCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteImagePermissionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteStackCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteUsageReportSubscriptionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteUserCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeDirectoryConfigsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeFleetsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeImageBuildersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeImagePermissionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeImagesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeSessionsCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DescribeStacksCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeUsageReportSubscriptionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeUserStackAssociationsCommand.js +2 -35
- package/{dist/cjs → dist-cjs}/commands/DescribeUsersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DisableUserCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DisassociateFleetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/EnableUserCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ExpireSessionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListAssociatedFleetsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListAssociatedStacksCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/StartFleetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartImageBuilderCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StopFleetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StopImageBuilderCommand.js +2 -27
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UpdateDirectoryConfigCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateFleetCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/UpdateImagePermissionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateStackCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -415
- package/{dist/cjs → dist-cjs}/pagination/DescribeImagePermissionsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/DescribeImagesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/cjs → dist-cjs}/waiters/waitForFleetStarted.js +14 -24
- package/{dist/cjs → dist-cjs}/waiters/waitForFleetStopped.js +14 -24
- package/{dist/es → dist-es}/AppStream.js +1 -2
- package/{dist/es → dist-es}/AppStreamClient.js +1 -2
- package/{dist/es → dist-es}/commands/AssociateFleetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchAssociateUserStackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchDisassociateUserStackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CopyImageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateDirectoryConfigCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateFleetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateImageBuilderCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateImageBuilderStreamingURLCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateStackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateStreamingURLCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateUpdatedImageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateUsageReportSubscriptionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateUserCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteDirectoryConfigCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteFleetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteImageBuilderCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteImageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteImagePermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteStackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteUsageReportSubscriptionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteUserCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeDirectoryConfigsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeFleetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeImageBuildersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeImagePermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeImagesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeSessionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeStacksCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeUsageReportSubscriptionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeUserStackAssociationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeUsersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DisableUserCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DisassociateFleetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/EnableUserCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ExpireSessionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAssociatedFleetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAssociatedStacksCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartFleetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartImageBuilderCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopFleetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopImageBuilderCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateDirectoryConfigCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateFleetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateImagePermissionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateStackCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/DescribeImagePermissionsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/DescribeImagesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForFleetStarted.js +1 -2
- package/{dist/es → dist-es}/waiters/waitForFleetStopped.js +1 -2
- package/{dist/types → dist-types}/AppStream.d.ts +2 -2
- package/{dist/types → dist-types}/AppStreamClient.d.ts +9 -9
- package/{dist/types → dist-types}/commands/AssociateFleetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchAssociateUserStackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchDisassociateUserStackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CopyImageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDirectoryConfigCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateFleetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateImageBuilderCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateImageBuilderStreamingURLCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateStackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateStreamingURLCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateUpdatedImageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateUsageReportSubscriptionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateUserCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDirectoryConfigCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteFleetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteImageBuilderCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteImageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteImagePermissionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteStackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteUsageReportSubscriptionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteUserCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeDirectoryConfigsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeFleetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeImageBuildersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeImagePermissionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeImagesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeSessionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeStacksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeUsageReportSubscriptionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeUserStackAssociationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeUsersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisableUserCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisassociateFleetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/EnableUserCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ExpireSessionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAssociatedFleetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListAssociatedStacksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartFleetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartImageBuilderCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopFleetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopImageBuilderCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDirectoryConfigCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateFleetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateImagePermissionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateStackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/DescribeImagePermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/DescribeImagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/AppStream.d.ts +51 -198
- package/{dist/types → dist-types}/ts3.4/AppStreamClient.d.ts +33 -118
- package/dist-types/ts3.4/commands/AssociateFleetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchAssociateUserStackCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/BatchDisassociateUserStackCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CopyImageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDirectoryConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFleetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateImageBuilderCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateImageBuilderStreamingURLCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateStackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateStreamingURLCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateUpdatedImageCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateUsageReportSubscriptionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDirectoryConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteFleetCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteImageBuilderCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteImagePermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteStackCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteUsageReportSubscriptionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDirectoryConfigsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeFleetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeImageBuildersCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeImagePermissionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeStacksCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeUsageReportSubscriptionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DescribeUserStackAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableUserCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DisassociateFleetCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/EnableUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ExpireSessionCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListAssociatedFleetsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListAssociatedStacksCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartFleetCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/StartImageBuilderCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/StopFleetCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/StopImageBuilderCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDirectoryConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFleetCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateImagePermissionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1830 -0
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeImagePermissionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/DescribeImagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/waiters/waitForFleetStarted.d.ts +3 -10
- package/{dist/types → dist-types}/ts3.4/waiters/waitForFleetStopped.d.ts +3 -10
- package/{dist/types → dist-types}/waiters/waitForFleetStarted.d.ts +1 -1
- package/{dist/types → dist-types}/waiters/waitForFleetStopped.d.ts +1 -1
- package/package.json +46 -43
- package/AppStream.ts +0 -1682
- package/AppStreamClient.ts +0 -453
- package/commands/AssociateFleetCommand.ts +0 -94
- package/commands/BatchAssociateUserStackCommand.ts +0 -94
- package/commands/BatchDisassociateUserStackCommand.ts +0 -97
- package/commands/CopyImageCommand.ts +0 -91
- package/commands/CreateDirectoryConfigCommand.ts +0 -94
- package/commands/CreateFleetCommand.ts +0 -94
- package/commands/CreateImageBuilderCommand.ts +0 -95
- package/commands/CreateImageBuilderStreamingURLCommand.ts +0 -102
- package/commands/CreateStackCommand.ts +0 -94
- package/commands/CreateStreamingURLCommand.ts +0 -94
- package/commands/CreateUpdatedImageCommand.ts +0 -97
- package/commands/CreateUsageReportSubscriptionCommand.ts +0 -99
- package/commands/CreateUserCommand.ts +0 -94
- package/commands/DeleteDirectoryConfigCommand.ts +0 -94
- package/commands/DeleteFleetCommand.ts +0 -94
- package/commands/DeleteImageBuilderCommand.ts +0 -94
- package/commands/DeleteImageCommand.ts +0 -95
- package/commands/DeleteImagePermissionsCommand.ts +0 -94
- package/commands/DeleteStackCommand.ts +0 -94
- package/commands/DeleteUsageReportSubscriptionCommand.ts +0 -99
- package/commands/DeleteUserCommand.ts +0 -94
- package/commands/DescribeDirectoryConfigsCommand.ts +0 -96
- package/commands/DescribeFleetsCommand.ts +0 -94
- package/commands/DescribeImageBuildersCommand.ts +0 -94
- package/commands/DescribeImagePermissionsCommand.ts +0 -94
- package/commands/DescribeImagesCommand.ts +0 -94
- package/commands/DescribeSessionsCommand.ts +0 -96
- package/commands/DescribeStacksCommand.ts +0 -94
- package/commands/DescribeUsageReportSubscriptionsCommand.ts +0 -102
- package/commands/DescribeUserStackAssociationsCommand.ts +0 -107
- package/commands/DescribeUsersCommand.ts +0 -94
- package/commands/DisableUserCommand.ts +0 -94
- package/commands/DisassociateFleetCommand.ts +0 -94
- package/commands/EnableUserCommand.ts +0 -94
- package/commands/ExpireSessionCommand.ts +0 -94
- package/commands/ListAssociatedFleetsCommand.ts +0 -94
- package/commands/ListAssociatedStacksCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -95
- package/commands/StartFleetCommand.ts +0 -94
- package/commands/StartImageBuilderCommand.ts +0 -94
- package/commands/StopFleetCommand.ts +0 -91
- package/commands/StopImageBuilderCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -100
- package/commands/UntagResourceCommand.ts +0 -96
- package/commands/UpdateDirectoryConfigCommand.ts +0 -94
- package/commands/UpdateFleetCommand.ts +0 -97
- package/commands/UpdateImagePermissionsCommand.ts +0 -94
- package/commands/UpdateStackCommand.ts +0 -94
- package/dist/cjs/AppStream.js.map +0 -1
- package/dist/cjs/AppStreamClient.js +0 -64
- package/dist/cjs/AppStreamClient.js.map +0 -1
- package/dist/cjs/commands/AssociateFleetCommand.js.map +0 -1
- package/dist/cjs/commands/BatchAssociateUserStackCommand.js.map +0 -1
- package/dist/cjs/commands/BatchDisassociateUserStackCommand.js.map +0 -1
- package/dist/cjs/commands/CopyImageCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDirectoryConfigCommand.js.map +0 -1
- package/dist/cjs/commands/CreateFleetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateImageBuilderCommand.js.map +0 -1
- package/dist/cjs/commands/CreateImageBuilderStreamingURLCommand.js.map +0 -1
- package/dist/cjs/commands/CreateStackCommand.js.map +0 -1
- package/dist/cjs/commands/CreateStreamingURLCommand.js.map +0 -1
- package/dist/cjs/commands/CreateUpdatedImageCommand.js.map +0 -1
- package/dist/cjs/commands/CreateUsageReportSubscriptionCommand.js.map +0 -1
- package/dist/cjs/commands/CreateUserCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDirectoryConfigCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteFleetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteImageBuilderCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteImageCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteImagePermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteStackCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUsageReportSubscriptionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteUserCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeDirectoryConfigsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeFleetsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeImageBuildersCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeImagePermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeImagesCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeSessionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeStacksCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeUsageReportSubscriptionsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeUserStackAssociationsCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeUsersCommand.js.map +0 -1
- package/dist/cjs/commands/DisableUserCommand.js.map +0 -1
- package/dist/cjs/commands/DisassociateFleetCommand.js.map +0 -1
- package/dist/cjs/commands/EnableUserCommand.js.map +0 -1
- package/dist/cjs/commands/ExpireSessionCommand.js.map +0 -1
- package/dist/cjs/commands/ListAssociatedFleetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAssociatedStacksCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/StartFleetCommand.js.map +0 -1
- package/dist/cjs/commands/StartImageBuilderCommand.js.map +0 -1
- package/dist/cjs/commands/StopFleetCommand.js.map +0 -1
- package/dist/cjs/commands/StopImageBuilderCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -67
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDirectoryConfigCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateFleetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateImagePermissionsCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateStackCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -92
- package/dist/cjs/pagination/DescribeImagePermissionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/DescribeImagesPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/cjs/waiters/waitForFleetStarted.js.map +0 -1
- package/dist/cjs/waiters/waitForFleetStopped.js.map +0 -1
- package/dist/es/AppStream.js.map +0 -1
- package/dist/es/AppStreamClient.js.map +0 -1
- package/dist/es/commands/AssociateFleetCommand.js.map +0 -1
- package/dist/es/commands/BatchAssociateUserStackCommand.js.map +0 -1
- package/dist/es/commands/BatchDisassociateUserStackCommand.js.map +0 -1
- package/dist/es/commands/CopyImageCommand.js.map +0 -1
- package/dist/es/commands/CreateDirectoryConfigCommand.js.map +0 -1
- package/dist/es/commands/CreateFleetCommand.js.map +0 -1
- package/dist/es/commands/CreateImageBuilderCommand.js.map +0 -1
- package/dist/es/commands/CreateImageBuilderStreamingURLCommand.js.map +0 -1
- package/dist/es/commands/CreateStackCommand.js.map +0 -1
- package/dist/es/commands/CreateStreamingURLCommand.js.map +0 -1
- package/dist/es/commands/CreateUpdatedImageCommand.js.map +0 -1
- package/dist/es/commands/CreateUsageReportSubscriptionCommand.js.map +0 -1
- package/dist/es/commands/CreateUserCommand.js.map +0 -1
- package/dist/es/commands/DeleteDirectoryConfigCommand.js.map +0 -1
- package/dist/es/commands/DeleteFleetCommand.js.map +0 -1
- package/dist/es/commands/DeleteImageBuilderCommand.js.map +0 -1
- package/dist/es/commands/DeleteImageCommand.js.map +0 -1
- package/dist/es/commands/DeleteImagePermissionsCommand.js.map +0 -1
- package/dist/es/commands/DeleteStackCommand.js.map +0 -1
- package/dist/es/commands/DeleteUsageReportSubscriptionCommand.js.map +0 -1
- package/dist/es/commands/DeleteUserCommand.js.map +0 -1
- package/dist/es/commands/DescribeDirectoryConfigsCommand.js.map +0 -1
- package/dist/es/commands/DescribeFleetsCommand.js.map +0 -1
- package/dist/es/commands/DescribeImageBuildersCommand.js.map +0 -1
- package/dist/es/commands/DescribeImagePermissionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeImagesCommand.js.map +0 -1
- package/dist/es/commands/DescribeSessionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeStacksCommand.js.map +0 -1
- package/dist/es/commands/DescribeUsageReportSubscriptionsCommand.js.map +0 -1
- package/dist/es/commands/DescribeUserStackAssociationsCommand.js.map +0 -1
- package/dist/es/commands/DescribeUsersCommand.js.map +0 -1
- package/dist/es/commands/DisableUserCommand.js.map +0 -1
- package/dist/es/commands/DisassociateFleetCommand.js.map +0 -1
- package/dist/es/commands/EnableUserCommand.js.map +0 -1
- package/dist/es/commands/ExpireSessionCommand.js.map +0 -1
- package/dist/es/commands/ListAssociatedFleetsCommand.js.map +0 -1
- package/dist/es/commands/ListAssociatedStacksCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/StartFleetCommand.js.map +0 -1
- package/dist/es/commands/StartImageBuilderCommand.js.map +0 -1
- package/dist/es/commands/StopFleetCommand.js.map +0 -1
- package/dist/es/commands/StopImageBuilderCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateDirectoryConfigCommand.js.map +0 -1
- package/dist/es/commands/UpdateFleetCommand.js.map +0 -1
- package/dist/es/commands/UpdateImagePermissionsCommand.js.map +0 -1
- package/dist/es/commands/UpdateStackCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -57
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -92
- package/dist/es/pagination/DescribeImagePermissionsPaginator.js.map +0 -1
- package/dist/es/pagination/DescribeImagesPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/es/waiters/waitForFleetStarted.js.map +0 -1
- package/dist/es/waiters/waitForFleetStopped.js.map +0 -1
- package/dist/types/ts3.4/commands/AssociateFleetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/BatchAssociateUserStackCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CopyImageCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateDirectoryConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateFleetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateImageBuilderCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateStackCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateStreamingURLCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateUpdatedImageCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/CreateUserCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteDirectoryConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteFleetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteImageCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteImagePermissionsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteStackCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteUserCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeDirectoryConfigsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeFleetsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeImageBuildersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeImagesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeSessionsCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DescribeStacksCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeUserStackAssociationsCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/DescribeUsersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DisableUserCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/EnableUserCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ExpireSessionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/StartFleetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/StopFleetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UpdateDirectoryConfigCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateFleetCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/UpdateStackCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -3653
- package/endpoints.ts +0 -63
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -4501
- package/pagination/DescribeImagePermissionsPaginator.ts +0 -58
- package/pagination/DescribeImagesPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/protocols/Aws_json1_1.ts +0 -6845
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
- package/waiters/waitForFleetStarted.ts +0 -82
- package/waiters/waitForFleetStopped.ts +0 -82
package/runtimeConfig.browser.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
-
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
8
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
9
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
|
-
import { AppStreamClientConfig } from "./AppStreamClient";
|
|
12
|
-
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
export const getRuntimeConfig = (config: AppStreamClientConfig) => {
|
|
18
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
19
|
-
return {
|
|
20
|
-
...clientSharedValues,
|
|
21
|
-
...config,
|
|
22
|
-
runtime: "browser",
|
|
23
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
|
-
credentialDefaultProvider:
|
|
27
|
-
config?.credentialDefaultProvider ?? ((_: unknown) => () => Promise.reject(new Error("Credential is missing"))),
|
|
28
|
-
defaultUserAgentProvider:
|
|
29
|
-
config?.defaultUserAgentProvider ??
|
|
30
|
-
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
-
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
32
|
-
region: config?.region ?? invalidProvider("Region is missing"),
|
|
33
|
-
requestHandler: config?.requestHandler ?? new FetchHttpHandler(),
|
|
34
|
-
retryMode: config?.retryMode ?? (() => Promise.resolve(DEFAULT_RETRY_MODE)),
|
|
35
|
-
sha256: config?.sha256 ?? Sha256,
|
|
36
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
37
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
38
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
39
|
-
};
|
|
40
|
-
};
|
package/runtimeConfig.native.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
-
import { AppStreamClientConfig } from "./AppStreamClient";
|
|
3
|
-
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export const getRuntimeConfig = (config: AppStreamClientConfig) => {
|
|
9
|
-
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
10
|
-
return {
|
|
11
|
-
...browserDefaults,
|
|
12
|
-
...config,
|
|
13
|
-
runtime: "react-native",
|
|
14
|
-
sha256: config?.sha256 ?? Sha256,
|
|
15
|
-
};
|
|
16
|
-
};
|
package/runtimeConfig.shared.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
3
|
-
import { parseUrl } from "@aws-sdk/url-parser";
|
|
4
|
-
import { AppStreamClientConfig } from "./AppStreamClient";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @internal
|
|
8
|
-
*/
|
|
9
|
-
export const getRuntimeConfig = (config: AppStreamClientConfig) => ({
|
|
10
|
-
apiVersion: "2016-12-01",
|
|
11
|
-
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
12
|
-
logger: config?.logger ?? ({} as __Logger),
|
|
13
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
14
|
-
serviceId: config?.serviceId ?? "AppStream",
|
|
15
|
-
urlParser: config?.urlParser ?? parseUrl,
|
|
16
|
-
});
|
package/runtimeConfig.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import packageInfo from "./package.json";
|
|
2
|
-
|
|
3
|
-
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
|
-
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
|
-
import { Hash } from "@aws-sdk/hash-node";
|
|
7
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
|
-
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
9
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
|
-
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
11
|
-
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
12
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
|
-
import { AppStreamClientConfig } from "./AppStreamClient";
|
|
15
|
-
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
21
|
-
export const getRuntimeConfig = (config: AppStreamClientConfig) => {
|
|
22
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
23
|
-
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
24
|
-
return {
|
|
25
|
-
...clientSharedValues,
|
|
26
|
-
...config,
|
|
27
|
-
runtime: "node",
|
|
28
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
29
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
30
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
33
|
-
defaultUserAgentProvider:
|
|
34
|
-
config?.defaultUserAgentProvider ??
|
|
35
|
-
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
36
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
37
|
-
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
38
|
-
requestHandler: config?.requestHandler ?? new NodeHttpHandler(),
|
|
39
|
-
retryMode: config?.retryMode ?? loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
40
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
41
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
42
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
43
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
44
|
-
};
|
|
45
|
-
};
|
package/tsconfig.es.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "es5",
|
|
5
|
-
"module": "esnext",
|
|
6
|
-
"moduleResolution": "node",
|
|
7
|
-
"lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"],
|
|
8
|
-
"outDir": "dist/es"
|
|
9
|
-
}
|
|
10
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"alwaysStrict": true,
|
|
4
|
-
"target": "ES2018",
|
|
5
|
-
"module": "commonjs",
|
|
6
|
-
"strict": true,
|
|
7
|
-
"sourceMap": true,
|
|
8
|
-
"downlevelIteration": true,
|
|
9
|
-
"importHelpers": true,
|
|
10
|
-
"noEmitHelpers": true,
|
|
11
|
-
"incremental": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"esModuleInterop": true,
|
|
14
|
-
"outDir": "dist/cjs",
|
|
15
|
-
"removeComments": true
|
|
16
|
-
},
|
|
17
|
-
"typedocOptions": {
|
|
18
|
-
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|
|
19
|
-
"excludeNotExported": true,
|
|
20
|
-
"excludePrivate": true,
|
|
21
|
-
"hideGenerator": true,
|
|
22
|
-
"ignoreCompilerErrors": true,
|
|
23
|
-
"includeDeclarations": true,
|
|
24
|
-
"stripInternal": true,
|
|
25
|
-
"readme": "README.md",
|
|
26
|
-
"mode": "file",
|
|
27
|
-
"out": "docs",
|
|
28
|
-
"theme": "minimal",
|
|
29
|
-
"plugin": ["@aws-sdk/client-documentation-generator"]
|
|
30
|
-
}
|
|
31
|
-
}
|
package/tsconfig.types.json
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { AppStreamClient } from "../AppStreamClient";
|
|
2
|
-
import { DescribeFleetsCommand, DescribeFleetsCommandInput } from "../commands/DescribeFleetsCommand";
|
|
3
|
-
import { WaiterConfiguration, WaiterResult, WaiterState, checkExceptions, createWaiter } from "@aws-sdk/util-waiter";
|
|
4
|
-
|
|
5
|
-
const checkState = async (client: AppStreamClient, input: DescribeFleetsCommandInput): Promise<WaiterResult> => {
|
|
6
|
-
let reason;
|
|
7
|
-
try {
|
|
8
|
-
let result: any = await client.send(new DescribeFleetsCommand(input));
|
|
9
|
-
reason = result;
|
|
10
|
-
try {
|
|
11
|
-
let returnComparator = () => {
|
|
12
|
-
let flat_1: any[] = [].concat(...result.Fleets);
|
|
13
|
-
let projection_3 = flat_1.map((element_2: any) => {
|
|
14
|
-
return element_2.State;
|
|
15
|
-
});
|
|
16
|
-
return projection_3;
|
|
17
|
-
};
|
|
18
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
19
|
-
for (let element_4 of returnComparator()) {
|
|
20
|
-
allStringEq_5 = allStringEq_5 && element_4 == "ACTIVE";
|
|
21
|
-
}
|
|
22
|
-
if (allStringEq_5) {
|
|
23
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
24
|
-
}
|
|
25
|
-
} catch (e) {}
|
|
26
|
-
try {
|
|
27
|
-
let returnComparator = () => {
|
|
28
|
-
let flat_1: any[] = [].concat(...result.Fleets);
|
|
29
|
-
let projection_3 = flat_1.map((element_2: any) => {
|
|
30
|
-
return element_2.State;
|
|
31
|
-
});
|
|
32
|
-
return projection_3;
|
|
33
|
-
};
|
|
34
|
-
for (let anyStringEq_4 of returnComparator()) {
|
|
35
|
-
if (anyStringEq_4 == "PENDING_DEACTIVATE") {
|
|
36
|
-
return { state: WaiterState.FAILURE, reason };
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
} catch (e) {}
|
|
40
|
-
try {
|
|
41
|
-
let returnComparator = () => {
|
|
42
|
-
let flat_1: any[] = [].concat(...result.Fleets);
|
|
43
|
-
let projection_3 = flat_1.map((element_2: any) => {
|
|
44
|
-
return element_2.State;
|
|
45
|
-
});
|
|
46
|
-
return projection_3;
|
|
47
|
-
};
|
|
48
|
-
for (let anyStringEq_4 of returnComparator()) {
|
|
49
|
-
if (anyStringEq_4 == "INACTIVE") {
|
|
50
|
-
return { state: WaiterState.FAILURE, reason };
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
} catch (e) {}
|
|
54
|
-
} catch (exception) {
|
|
55
|
-
reason = exception;
|
|
56
|
-
}
|
|
57
|
-
return { state: WaiterState.RETRY, reason };
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @deprecated Use waitUntilFleetStarted instead. waitForFleetStarted does not throw error in non-success cases.
|
|
62
|
-
*/
|
|
63
|
-
export const waitForFleetStarted = async (
|
|
64
|
-
params: WaiterConfiguration<AppStreamClient>,
|
|
65
|
-
input: DescribeFleetsCommandInput
|
|
66
|
-
): Promise<WaiterResult> => {
|
|
67
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
68
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @param params - Waiter configuration options.
|
|
73
|
-
* @param input - The input to DescribeFleetsCommand for polling.
|
|
74
|
-
*/
|
|
75
|
-
export const waitUntilFleetStarted = async (
|
|
76
|
-
params: WaiterConfiguration<AppStreamClient>,
|
|
77
|
-
input: DescribeFleetsCommandInput
|
|
78
|
-
): Promise<WaiterResult> => {
|
|
79
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
80
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
81
|
-
return checkExceptions(result);
|
|
82
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { AppStreamClient } from "../AppStreamClient";
|
|
2
|
-
import { DescribeFleetsCommand, DescribeFleetsCommandInput } from "../commands/DescribeFleetsCommand";
|
|
3
|
-
import { WaiterConfiguration, WaiterResult, WaiterState, checkExceptions, createWaiter } from "@aws-sdk/util-waiter";
|
|
4
|
-
|
|
5
|
-
const checkState = async (client: AppStreamClient, input: DescribeFleetsCommandInput): Promise<WaiterResult> => {
|
|
6
|
-
let reason;
|
|
7
|
-
try {
|
|
8
|
-
let result: any = await client.send(new DescribeFleetsCommand(input));
|
|
9
|
-
reason = result;
|
|
10
|
-
try {
|
|
11
|
-
let returnComparator = () => {
|
|
12
|
-
let flat_1: any[] = [].concat(...result.Fleets);
|
|
13
|
-
let projection_3 = flat_1.map((element_2: any) => {
|
|
14
|
-
return element_2.State;
|
|
15
|
-
});
|
|
16
|
-
return projection_3;
|
|
17
|
-
};
|
|
18
|
-
let allStringEq_5 = returnComparator().length > 0;
|
|
19
|
-
for (let element_4 of returnComparator()) {
|
|
20
|
-
allStringEq_5 = allStringEq_5 && element_4 == "INACTIVE";
|
|
21
|
-
}
|
|
22
|
-
if (allStringEq_5) {
|
|
23
|
-
return { state: WaiterState.SUCCESS, reason };
|
|
24
|
-
}
|
|
25
|
-
} catch (e) {}
|
|
26
|
-
try {
|
|
27
|
-
let returnComparator = () => {
|
|
28
|
-
let flat_1: any[] = [].concat(...result.Fleets);
|
|
29
|
-
let projection_3 = flat_1.map((element_2: any) => {
|
|
30
|
-
return element_2.State;
|
|
31
|
-
});
|
|
32
|
-
return projection_3;
|
|
33
|
-
};
|
|
34
|
-
for (let anyStringEq_4 of returnComparator()) {
|
|
35
|
-
if (anyStringEq_4 == "PENDING_ACTIVATE") {
|
|
36
|
-
return { state: WaiterState.FAILURE, reason };
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
} catch (e) {}
|
|
40
|
-
try {
|
|
41
|
-
let returnComparator = () => {
|
|
42
|
-
let flat_1: any[] = [].concat(...result.Fleets);
|
|
43
|
-
let projection_3 = flat_1.map((element_2: any) => {
|
|
44
|
-
return element_2.State;
|
|
45
|
-
});
|
|
46
|
-
return projection_3;
|
|
47
|
-
};
|
|
48
|
-
for (let anyStringEq_4 of returnComparator()) {
|
|
49
|
-
if (anyStringEq_4 == "ACTIVE") {
|
|
50
|
-
return { state: WaiterState.FAILURE, reason };
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
} catch (e) {}
|
|
54
|
-
} catch (exception) {
|
|
55
|
-
reason = exception;
|
|
56
|
-
}
|
|
57
|
-
return { state: WaiterState.RETRY, reason };
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @deprecated Use waitUntilFleetStopped instead. waitForFleetStopped does not throw error in non-success cases.
|
|
62
|
-
*/
|
|
63
|
-
export const waitForFleetStopped = async (
|
|
64
|
-
params: WaiterConfiguration<AppStreamClient>,
|
|
65
|
-
input: DescribeFleetsCommandInput
|
|
66
|
-
): Promise<WaiterResult> => {
|
|
67
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
68
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @param params - Waiter configuration options.
|
|
73
|
-
* @param input - The input to DescribeFleetsCommand for polling.
|
|
74
|
-
*/
|
|
75
|
-
export const waitUntilFleetStopped = async (
|
|
76
|
-
params: WaiterConfiguration<AppStreamClient>,
|
|
77
|
-
input: DescribeFleetsCommandInput
|
|
78
|
-
): Promise<WaiterResult> => {
|
|
79
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
80
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
81
|
-
return checkExceptions(result);
|
|
82
|
-
};
|