@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
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { CreateStreamingURLRequest, CreateStreamingURLResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateStreamingURLCommand,
|
|
5
|
-
serializeAws_json1_1CreateStreamingURLCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateStreamingURLCommandInput extends CreateStreamingURLRequest {}
|
|
21
|
-
export interface CreateStreamingURLCommandOutput extends CreateStreamingURLResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppStreamClient, CreateStreamingURLCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
29
|
-
* // const { AppStreamClient, CreateStreamingURLCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
30
|
-
* const client = new AppStreamClient(config);
|
|
31
|
-
* const command = new CreateStreamingURLCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateStreamingURLCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateStreamingURLCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateStreamingURLCommand extends $Command<
|
|
41
|
-
CreateStreamingURLCommandInput,
|
|
42
|
-
CreateStreamingURLCommandOutput,
|
|
43
|
-
AppStreamClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateStreamingURLCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppStreamClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateStreamingURLCommandInput, CreateStreamingURLCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppStreamClient";
|
|
68
|
-
const commandName = "CreateStreamingURLCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateStreamingURLRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateStreamingURLResult.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateStreamingURLCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1CreateStreamingURLCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateStreamingURLCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1CreateStreamingURLCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { CreateUpdatedImageRequest, CreateUpdatedImageResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateUpdatedImageCommand,
|
|
5
|
-
serializeAws_json1_1CreateUpdatedImageCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateUpdatedImageCommandInput extends CreateUpdatedImageRequest {}
|
|
21
|
-
export interface CreateUpdatedImageCommandOutput extends CreateUpdatedImageResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software.</p>
|
|
25
|
-
*
|
|
26
|
-
* <p>For more information, see the "Update an Image by Using
|
|
27
|
-
* Managed AppStream 2.0 Image Updates" section in <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-images.html">Administer Your AppStream 2.0 Images</a>, in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { AppStreamClient, CreateUpdatedImageCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
32
|
-
* // const { AppStreamClient, CreateUpdatedImageCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
33
|
-
* const client = new AppStreamClient(config);
|
|
34
|
-
* const command = new CreateUpdatedImageCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreateUpdatedImageCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreateUpdatedImageCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class CreateUpdatedImageCommand extends $Command<
|
|
44
|
-
CreateUpdatedImageCommandInput,
|
|
45
|
-
CreateUpdatedImageCommandOutput,
|
|
46
|
-
AppStreamClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: CreateUpdatedImageCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: AppStreamClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<CreateUpdatedImageCommandInput, CreateUpdatedImageCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "AppStreamClient";
|
|
71
|
-
const commandName = "CreateUpdatedImageCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: CreateUpdatedImageRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: CreateUpdatedImageResult.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: CreateUpdatedImageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1CreateUpdatedImageCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateUpdatedImageCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_1CreateUpdatedImageCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { CreateUsageReportSubscriptionRequest, CreateUsageReportSubscriptionResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateUsageReportSubscriptionCommand,
|
|
5
|
-
serializeAws_json1_1CreateUsageReportSubscriptionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateUsageReportSubscriptionCommandInput extends CreateUsageReportSubscriptionRequest {}
|
|
21
|
-
export interface CreateUsageReportSubscriptionCommandOutput
|
|
22
|
-
extends CreateUsageReportSubscriptionResult,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Creates a usage report subscription. Usage reports are generated daily.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { AppStreamClient, CreateUsageReportSubscriptionCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
31
|
-
* // const { AppStreamClient, CreateUsageReportSubscriptionCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
32
|
-
* const client = new AppStreamClient(config);
|
|
33
|
-
* const command = new CreateUsageReportSubscriptionCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link CreateUsageReportSubscriptionCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link CreateUsageReportSubscriptionCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class CreateUsageReportSubscriptionCommand extends $Command<
|
|
43
|
-
CreateUsageReportSubscriptionCommandInput,
|
|
44
|
-
CreateUsageReportSubscriptionCommandOutput,
|
|
45
|
-
AppStreamClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: CreateUsageReportSubscriptionCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: AppStreamClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<CreateUsageReportSubscriptionCommandInput, CreateUsageReportSubscriptionCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "AppStreamClient";
|
|
70
|
-
const commandName = "CreateUsageReportSubscriptionCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: CreateUsageReportSubscriptionRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: CreateUsageReportSubscriptionResult.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: CreateUsageReportSubscriptionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1CreateUsageReportSubscriptionCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<CreateUsageReportSubscriptionCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1CreateUsageReportSubscriptionCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { CreateUserRequest, CreateUserResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateUserCommand,
|
|
5
|
-
serializeAws_json1_1CreateUserCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateUserCommandInput extends CreateUserRequest {}
|
|
21
|
-
export interface CreateUserCommandOutput extends CreateUserResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a new user in the user pool.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppStreamClient, CreateUserCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
29
|
-
* // const { AppStreamClient, CreateUserCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
30
|
-
* const client = new AppStreamClient(config);
|
|
31
|
-
* const command = new CreateUserCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateUserCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateUserCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateUserCommand extends $Command<
|
|
41
|
-
CreateUserCommandInput,
|
|
42
|
-
CreateUserCommandOutput,
|
|
43
|
-
AppStreamClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateUserCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppStreamClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateUserCommandInput, CreateUserCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppStreamClient";
|
|
68
|
-
const commandName = "CreateUserCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateUserRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateUserResult.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1CreateUserCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateUserCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1CreateUserCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { DeleteDirectoryConfigRequest, DeleteDirectoryConfigResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteDirectoryConfigCommand,
|
|
5
|
-
serializeAws_json1_1DeleteDirectoryConfigCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteDirectoryConfigCommandInput extends DeleteDirectoryConfigRequest {}
|
|
21
|
-
export interface DeleteDirectoryConfigCommandOutput extends DeleteDirectoryConfigResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes the specified Directory Config object from AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppStreamClient, DeleteDirectoryConfigCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
29
|
-
* // const { AppStreamClient, DeleteDirectoryConfigCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
30
|
-
* const client = new AppStreamClient(config);
|
|
31
|
-
* const command = new DeleteDirectoryConfigCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteDirectoryConfigCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteDirectoryConfigCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteDirectoryConfigCommand extends $Command<
|
|
41
|
-
DeleteDirectoryConfigCommandInput,
|
|
42
|
-
DeleteDirectoryConfigCommandOutput,
|
|
43
|
-
AppStreamClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteDirectoryConfigCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppStreamClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteDirectoryConfigCommandInput, DeleteDirectoryConfigCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppStreamClient";
|
|
68
|
-
const commandName = "DeleteDirectoryConfigCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteDirectoryConfigRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteDirectoryConfigResult.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteDirectoryConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1DeleteDirectoryConfigCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteDirectoryConfigCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1DeleteDirectoryConfigCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { DeleteFleetRequest, DeleteFleetResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteFleetCommand,
|
|
5
|
-
serializeAws_json1_1DeleteFleetCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteFleetCommandInput extends DeleteFleetRequest {}
|
|
21
|
-
export interface DeleteFleetCommandOutput extends DeleteFleetResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes the specified fleet.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppStreamClient, DeleteFleetCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
29
|
-
* // const { AppStreamClient, DeleteFleetCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
30
|
-
* const client = new AppStreamClient(config);
|
|
31
|
-
* const command = new DeleteFleetCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteFleetCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteFleetCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteFleetCommand extends $Command<
|
|
41
|
-
DeleteFleetCommandInput,
|
|
42
|
-
DeleteFleetCommandOutput,
|
|
43
|
-
AppStreamClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteFleetCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppStreamClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteFleetCommandInput, DeleteFleetCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppStreamClient";
|
|
68
|
-
const commandName = "DeleteFleetCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteFleetRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteFleetResult.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteFleetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1DeleteFleetCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteFleetCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1DeleteFleetCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { DeleteImageBuilderRequest, DeleteImageBuilderResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteImageBuilderCommand,
|
|
5
|
-
serializeAws_json1_1DeleteImageBuilderCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteImageBuilderCommandInput extends DeleteImageBuilderRequest {}
|
|
21
|
-
export interface DeleteImageBuilderCommandOutput extends DeleteImageBuilderResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes the specified image builder and releases the capacity.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppStreamClient, DeleteImageBuilderCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
29
|
-
* // const { AppStreamClient, DeleteImageBuilderCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
30
|
-
* const client = new AppStreamClient(config);
|
|
31
|
-
* const command = new DeleteImageBuilderCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteImageBuilderCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteImageBuilderCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteImageBuilderCommand extends $Command<
|
|
41
|
-
DeleteImageBuilderCommandInput,
|
|
42
|
-
DeleteImageBuilderCommandOutput,
|
|
43
|
-
AppStreamClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteImageBuilderCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: AppStreamClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteImageBuilderCommandInput, DeleteImageBuilderCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "AppStreamClient";
|
|
68
|
-
const commandName = "DeleteImageBuilderCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteImageBuilderRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteImageBuilderResult.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteImageBuilderCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1DeleteImageBuilderCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteImageBuilderCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1DeleteImageBuilderCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|