@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,95 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListTagsForResourceCommand,
|
|
5
|
-
serializeAws_json1_1ListTagsForResourceCommand,
|
|
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 ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
21
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Retrieves a list of all tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.</p>
|
|
25
|
-
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { AppStreamClient, ListTagsForResourceCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
30
|
-
* // const { AppStreamClient, ListTagsForResourceCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
31
|
-
* const client = new AppStreamClient(config);
|
|
32
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
42
|
-
ListTagsForResourceCommandInput,
|
|
43
|
-
ListTagsForResourceCommandOutput,
|
|
44
|
-
AppStreamClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: AppStreamClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "AppStreamClient";
|
|
69
|
-
const commandName = "ListTagsForResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1ListTagsForResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { StartFleetRequest, StartFleetResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1StartFleetCommand,
|
|
5
|
-
serializeAws_json1_1StartFleetCommand,
|
|
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 StartFleetCommandInput extends StartFleetRequest {}
|
|
21
|
-
export interface StartFleetCommandOutput extends StartFleetResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Starts 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, StartFleetCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
29
|
-
* // const { AppStreamClient, StartFleetCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
30
|
-
* const client = new AppStreamClient(config);
|
|
31
|
-
* const command = new StartFleetCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link StartFleetCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link StartFleetCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class StartFleetCommand extends $Command<
|
|
41
|
-
StartFleetCommandInput,
|
|
42
|
-
StartFleetCommandOutput,
|
|
43
|
-
AppStreamClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: StartFleetCommandInput) {
|
|
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<StartFleetCommandInput, StartFleetCommandOutput> {
|
|
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 = "StartFleetCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: StartFleetRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: StartFleetResult.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: StartFleetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1StartFleetCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartFleetCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1StartFleetCommand(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 { StartImageBuilderRequest, StartImageBuilderResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1StartImageBuilderCommand,
|
|
5
|
-
serializeAws_json1_1StartImageBuilderCommand,
|
|
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 StartImageBuilderCommandInput extends StartImageBuilderRequest {}
|
|
21
|
-
export interface StartImageBuilderCommandOutput extends StartImageBuilderResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Starts the specified image builder.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppStreamClient, StartImageBuilderCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
29
|
-
* // const { AppStreamClient, StartImageBuilderCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
30
|
-
* const client = new AppStreamClient(config);
|
|
31
|
-
* const command = new StartImageBuilderCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link StartImageBuilderCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link StartImageBuilderCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class StartImageBuilderCommand extends $Command<
|
|
41
|
-
StartImageBuilderCommandInput,
|
|
42
|
-
StartImageBuilderCommandOutput,
|
|
43
|
-
AppStreamClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: StartImageBuilderCommandInput) {
|
|
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<StartImageBuilderCommandInput, StartImageBuilderCommandOutput> {
|
|
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 = "StartImageBuilderCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: StartImageBuilderRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: StartImageBuilderResult.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: StartImageBuilderCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1StartImageBuilderCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartImageBuilderCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1StartImageBuilderCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { StopFleetRequest, StopFleetResult } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_json1_1StopFleetCommand, serializeAws_json1_1StopFleetCommand } from "../protocols/Aws_json1_1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
import {
|
|
8
|
-
FinalizeHandlerArguments,
|
|
9
|
-
Handler,
|
|
10
|
-
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
|
-
MetadataBearer as __MetadataBearer,
|
|
14
|
-
SerdeContext as __SerdeContext,
|
|
15
|
-
} from "@aws-sdk/types";
|
|
16
|
-
|
|
17
|
-
export interface StopFleetCommandInput extends StopFleetRequest {}
|
|
18
|
-
export interface StopFleetCommandOutput extends StopFleetResult, __MetadataBearer {}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* <p>Stops the specified fleet.</p>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { AppStreamClient, StopFleetCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
26
|
-
* // const { AppStreamClient, StopFleetCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
27
|
-
* const client = new AppStreamClient(config);
|
|
28
|
-
* const command = new StopFleetCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link StopFleetCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link StopFleetCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
export class StopFleetCommand extends $Command<
|
|
38
|
-
StopFleetCommandInput,
|
|
39
|
-
StopFleetCommandOutput,
|
|
40
|
-
AppStreamClientResolvedConfig
|
|
41
|
-
> {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
|
-
|
|
45
|
-
constructor(readonly input: StopFleetCommandInput) {
|
|
46
|
-
// Start section: command_constructor
|
|
47
|
-
super();
|
|
48
|
-
// End section: command_constructor
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
resolveMiddleware(
|
|
55
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
56
|
-
configuration: AppStreamClientResolvedConfig,
|
|
57
|
-
options?: __HttpHandlerOptions
|
|
58
|
-
): Handler<StopFleetCommandInput, StopFleetCommandOutput> {
|
|
59
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
60
|
-
|
|
61
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
62
|
-
|
|
63
|
-
const { logger } = configuration;
|
|
64
|
-
const clientName = "AppStreamClient";
|
|
65
|
-
const commandName = "StopFleetCommand";
|
|
66
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
67
|
-
logger,
|
|
68
|
-
clientName,
|
|
69
|
-
commandName,
|
|
70
|
-
inputFilterSensitiveLog: StopFleetRequest.filterSensitiveLog,
|
|
71
|
-
outputFilterSensitiveLog: StopFleetResult.filterSensitiveLog,
|
|
72
|
-
};
|
|
73
|
-
const { requestHandler } = configuration;
|
|
74
|
-
return stack.resolve(
|
|
75
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
76
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
77
|
-
handlerExecutionContext
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
private serialize(input: StopFleetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
82
|
-
return serializeAws_json1_1StopFleetCommand(input, context);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopFleetCommandOutput> {
|
|
86
|
-
return deserializeAws_json1_1StopFleetCommand(output, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// Start section: command_body_extra
|
|
90
|
-
// End section: command_body_extra
|
|
91
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { StopImageBuilderRequest, StopImageBuilderResult } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1StopImageBuilderCommand,
|
|
5
|
-
serializeAws_json1_1StopImageBuilderCommand,
|
|
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 StopImageBuilderCommandInput extends StopImageBuilderRequest {}
|
|
21
|
-
export interface StopImageBuilderCommandOutput extends StopImageBuilderResult, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Stops the specified image builder.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { AppStreamClient, StopImageBuilderCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
29
|
-
* // const { AppStreamClient, StopImageBuilderCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
30
|
-
* const client = new AppStreamClient(config);
|
|
31
|
-
* const command = new StopImageBuilderCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link StopImageBuilderCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link StopImageBuilderCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class StopImageBuilderCommand extends $Command<
|
|
41
|
-
StopImageBuilderCommandInput,
|
|
42
|
-
StopImageBuilderCommandOutput,
|
|
43
|
-
AppStreamClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: StopImageBuilderCommandInput) {
|
|
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<StopImageBuilderCommandInput, StopImageBuilderCommandOutput> {
|
|
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 = "StopImageBuilderCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: StopImageBuilderRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: StopImageBuilderResult.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: StopImageBuilderCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1StopImageBuilderCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopImageBuilderCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1StopImageBuilderCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1TagResourceCommand,
|
|
5
|
-
serializeAws_json1_1TagResourceCommand,
|
|
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 TagResourceCommandInput extends TagResourceRequest {}
|
|
21
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Adds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.</p>
|
|
25
|
-
* <p>Each tag consists of a key and an optional value. If a resource already has a tag with the same key,
|
|
26
|
-
* this operation updates its value.</p>
|
|
27
|
-
*
|
|
28
|
-
* <p>To list the current tags for your resources, use <a>ListTagsForResource</a>.
|
|
29
|
-
* To disassociate tags from your resources, use <a>UntagResource</a>.</p>
|
|
30
|
-
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { AppStreamClient, TagResourceCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
35
|
-
* // const { AppStreamClient, TagResourceCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
36
|
-
* const client = new AppStreamClient(config);
|
|
37
|
-
* const command = new TagResourceCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class TagResourceCommand extends $Command<
|
|
47
|
-
TagResourceCommandInput,
|
|
48
|
-
TagResourceCommandOutput,
|
|
49
|
-
AppStreamClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: AppStreamClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "AppStreamClient";
|
|
74
|
-
const commandName = "TagResourceCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1TagResourceCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1TagResourceCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient";
|
|
2
|
-
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1UntagResourceCommand,
|
|
5
|
-
serializeAws_json1_1UntagResourceCommand,
|
|
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 UntagResourceCommandInput extends UntagResourceRequest {}
|
|
21
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Disassociates one or more specified tags from the specified AppStream 2.0 resource.</p>
|
|
25
|
-
* <p>To list the current tags for your resources, use <a>ListTagsForResource</a>.</p>
|
|
26
|
-
* <p>For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { AppStreamClient, UntagResourceCommand } from "@aws-sdk/client-appstream"; // ES Modules import
|
|
31
|
-
* // const { AppStreamClient, UntagResourceCommand } = require("@aws-sdk/client-appstream"); // CommonJS import
|
|
32
|
-
* const client = new AppStreamClient(config);
|
|
33
|
-
* const command = new UntagResourceCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link AppStreamClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class UntagResourceCommand extends $Command<
|
|
43
|
-
UntagResourceCommandInput,
|
|
44
|
-
UntagResourceCommandOutput,
|
|
45
|
-
AppStreamClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
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 = "UntagResourceCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: UntagResourceResponse.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1UntagResourceCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1UntagResourceCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|