@aws-sdk/client-workspaces 3.35.0 → 3.38.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/WorkSpaces.js +0 -6
- package/dist-cjs/WorkSpacesClient.js +0 -11
- package/dist-cjs/commands/AssociateConnectionAliasCommand.js +0 -32
- package/dist-cjs/commands/AssociateIpGroupsCommand.js +0 -25
- package/dist-cjs/commands/AuthorizeIpRulesCommand.js +0 -27
- package/dist-cjs/commands/CopyWorkspaceImageCommand.js +0 -38
- package/dist-cjs/commands/CreateConnectionAliasCommand.js +0 -27
- package/dist-cjs/commands/CreateIpGroupCommand.js +0 -34
- package/dist-cjs/commands/CreateTagsCommand.js +0 -25
- package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js +0 -48
- package/dist-cjs/commands/CreateWorkspaceBundleCommand.js +0 -27
- package/dist-cjs/commands/CreateWorkspacesCommand.js +0 -26
- package/dist-cjs/commands/DeleteConnectionAliasCommand.js +0 -42
- package/dist-cjs/commands/DeleteIpGroupCommand.js +0 -26
- package/dist-cjs/commands/DeleteTagsCommand.js +0 -25
- package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js +0 -27
- package/dist-cjs/commands/DeleteWorkspaceImageCommand.js +0 -27
- package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js +0 -41
- package/dist-cjs/commands/DescribeAccountCommand.js +0 -26
- package/dist-cjs/commands/DescribeAccountModificationsCommand.js +0 -26
- package/dist-cjs/commands/DescribeClientPropertiesCommand.js +0 -25
- package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js +0 -27
- package/dist-cjs/commands/DescribeConnectionAliasesCommand.js +0 -27
- package/dist-cjs/commands/DescribeIpGroupsCommand.js +0 -25
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -25
- package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js +0 -26
- package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js +0 -26
- package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js +0 -26
- package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js +0 -26
- package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js +0 -25
- package/dist-cjs/commands/DescribeWorkspacesCommand.js +0 -27
- package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js +0 -25
- package/dist-cjs/commands/DisassociateConnectionAliasCommand.js +0 -33
- package/dist-cjs/commands/DisassociateIpGroupsCommand.js +0 -25
- package/dist-cjs/commands/ImportWorkspaceImageCommand.js +0 -29
- package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js +0 -33
- package/dist-cjs/commands/MigrateWorkspaceCommand.js +0 -33
- package/dist-cjs/commands/ModifyAccountCommand.js +0 -26
- package/dist-cjs/commands/ModifyClientPropertiesCommand.js +0 -25
- package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js +0 -26
- package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js +0 -27
- package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js +0 -25
- package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js +0 -29
- package/dist-cjs/commands/ModifyWorkspaceStateCommand.js +0 -30
- package/dist-cjs/commands/RebootWorkspacesCommand.js +0 -28
- package/dist-cjs/commands/RebuildWorkspacesCommand.js +0 -32
- package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js +0 -29
- package/dist-cjs/commands/RestoreWorkspaceCommand.js +0 -32
- package/dist-cjs/commands/RevokeIpRulesCommand.js +0 -25
- package/dist-cjs/commands/StartWorkspacesCommand.js +0 -27
- package/dist-cjs/commands/StopWorkspacesCommand.js +0 -28
- package/dist-cjs/commands/TerminateWorkspacesCommand.js +0 -54
- package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js +0 -44
- package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js +0 -26
- package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js +0 -33
- package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.js +0 -50
- package/dist-cjs/commands/index.js +57 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -61
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -472
- package/dist-cjs/pagination/DescribeWorkspaceBundlesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeWorkspacesPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/WorkSpaces.js +0 -1
- package/dist-es/WorkSpacesClient.js +0 -1
- package/dist-es/commands/AssociateConnectionAliasCommand.js +0 -1
- package/dist-es/commands/AssociateIpGroupsCommand.js +0 -1
- package/dist-es/commands/AuthorizeIpRulesCommand.js +0 -1
- package/dist-es/commands/CopyWorkspaceImageCommand.js +0 -1
- package/dist-es/commands/CreateConnectionAliasCommand.js +0 -1
- package/dist-es/commands/CreateIpGroupCommand.js +0 -1
- package/dist-es/commands/CreateTagsCommand.js +0 -1
- package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +0 -1
- package/dist-es/commands/CreateWorkspaceBundleCommand.js +0 -1
- package/dist-es/commands/CreateWorkspacesCommand.js +0 -1
- package/dist-es/commands/DeleteConnectionAliasCommand.js +0 -1
- package/dist-es/commands/DeleteIpGroupCommand.js +0 -1
- package/dist-es/commands/DeleteTagsCommand.js +0 -1
- package/dist-es/commands/DeleteWorkspaceBundleCommand.js +0 -1
- package/dist-es/commands/DeleteWorkspaceImageCommand.js +0 -1
- package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +0 -1
- package/dist-es/commands/DescribeAccountCommand.js +0 -1
- package/dist-es/commands/DescribeAccountModificationsCommand.js +0 -1
- package/dist-es/commands/DescribeClientPropertiesCommand.js +0 -1
- package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +0 -1
- package/dist-es/commands/DescribeConnectionAliasesCommand.js +0 -1
- package/dist-es/commands/DescribeIpGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeTagsCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspaceImagesCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspacesCommand.js +0 -1
- package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +0 -1
- package/dist-es/commands/DisassociateConnectionAliasCommand.js +0 -1
- package/dist-es/commands/DisassociateIpGroupsCommand.js +0 -1
- package/dist-es/commands/ImportWorkspaceImageCommand.js +0 -1
- package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +0 -1
- package/dist-es/commands/MigrateWorkspaceCommand.js +0 -1
- package/dist-es/commands/ModifyAccountCommand.js +0 -1
- package/dist-es/commands/ModifyClientPropertiesCommand.js +0 -1
- package/dist-es/commands/ModifySelfservicePermissionsCommand.js +0 -1
- package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +0 -1
- package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +0 -1
- package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +0 -1
- package/dist-es/commands/ModifyWorkspaceStateCommand.js +0 -1
- package/dist-es/commands/RebootWorkspacesCommand.js +0 -1
- package/dist-es/commands/RebuildWorkspacesCommand.js +0 -1
- package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +0 -1
- package/dist-es/commands/RestoreWorkspaceCommand.js +0 -1
- package/dist-es/commands/RevokeIpRulesCommand.js +0 -1
- package/dist-es/commands/StartWorkspacesCommand.js +0 -1
- package/dist-es/commands/StopWorkspacesCommand.js +0 -1
- package/dist-es/commands/TerminateWorkspacesCommand.js +0 -1
- package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +0 -1
- package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +0 -1
- package/dist-es/commands/UpdateWorkspaceBundleCommand.js +0 -1
- package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +0 -1
- package/dist-es/commands/index.js +54 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -61
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js +0 -1
- package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js +0 -1
- package/dist-es/pagination/DescribeWorkspacesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +54 -0
- package/dist-types/index.d.ts +4 -60
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +55 -425
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +24 -91
- package/dist-types/ts3.4/commands/AssociateConnectionAliasCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/AssociateIpGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/AuthorizeIpRulesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CopyWorkspaceImageCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/CreateConnectionAliasCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateIpGroupCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/CreateTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateUpdatedWorkspaceImageCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/CreateWorkspaceBundleCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateWorkspacesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteConnectionAliasCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/DeleteIpGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteWorkspaceBundleCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteWorkspaceImageCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeregisterWorkspaceDirectoryCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeAccountModificationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeClientPropertiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeConnectionAliasPermissionsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeConnectionAliasesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeIpGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeWorkspaceBundlesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeWorkspaceDirectoriesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeWorkspaceImagePermissionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeWorkspaceImagesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeWorkspaceSnapshotsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeWorkspacesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeWorkspacesConnectionStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateConnectionAliasCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DisassociateIpGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportWorkspaceImageCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ListAvailableManagementCidrRangesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/MigrateWorkspaceCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ModifyAccountCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyClientPropertiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifySelfservicePermissionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyWorkspaceAccessPropertiesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ModifyWorkspaceCreationPropertiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyWorkspacePropertiesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ModifyWorkspaceStateCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/RebootWorkspacesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RebuildWorkspacesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/RegisterWorkspaceDirectoryCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/RestoreWorkspaceCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/RevokeIpRulesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartWorkspacesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StopWorkspacesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/TerminateWorkspacesCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/UpdateConnectionAliasPermissionCommand.d.ts +2 -39
- package/dist-types/ts3.4/commands/UpdateRulesOfIpGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateWorkspaceBundleCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/UpdateWorkspaceImagePermissionCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/index.d.ts +54 -0
- package/dist-types/ts3.4/index.d.ts +4 -60
- package/dist-types/ts3.4/models/models_0.d.ts +525 -1786
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/WorkSpaces.js.map +0 -1
- package/dist-cjs/WorkSpacesClient.js.map +0 -1
- package/dist-cjs/commands/AssociateConnectionAliasCommand.js.map +0 -1
- package/dist-cjs/commands/AssociateIpGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/AuthorizeIpRulesCommand.js.map +0 -1
- package/dist-cjs/commands/CopyWorkspaceImageCommand.js.map +0 -1
- package/dist-cjs/commands/CreateConnectionAliasCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIpGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTagsCommand.js.map +0 -1
- package/dist-cjs/commands/CreateUpdatedWorkspaceImageCommand.js.map +0 -1
- package/dist-cjs/commands/CreateWorkspaceBundleCommand.js.map +0 -1
- package/dist-cjs/commands/CreateWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteConnectionAliasCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteIpGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteWorkspaceBundleCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteWorkspaceImageCommand.js.map +0 -1
- package/dist-cjs/commands/DeregisterWorkspaceDirectoryCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountModificationsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeClientPropertiesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeConnectionAliasPermissionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeConnectionAliasesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeIpGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspaceBundlesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspaceDirectoriesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspaceImagePermissionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspaceImagesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspaceSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeWorkspacesConnectionStatusCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateConnectionAliasCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateIpGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/ImportWorkspaceImageCommand.js.map +0 -1
- package/dist-cjs/commands/ListAvailableManagementCidrRangesCommand.js.map +0 -1
- package/dist-cjs/commands/MigrateWorkspaceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyAccountCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyClientPropertiesCommand.js.map +0 -1
- package/dist-cjs/commands/ModifySelfservicePermissionsCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyWorkspacePropertiesCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyWorkspaceStateCommand.js.map +0 -1
- package/dist-cjs/commands/RebootWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/RebuildWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterWorkspaceDirectoryCommand.js.map +0 -1
- package/dist-cjs/commands/RestoreWorkspaceCommand.js.map +0 -1
- package/dist-cjs/commands/RevokeIpRulesCommand.js.map +0 -1
- package/dist-cjs/commands/StartWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/StopWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/TerminateWorkspacesCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateConnectionAliasPermissionCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRulesOfIpGroupCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateWorkspaceBundleCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateWorkspaceImagePermissionCommand.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/pagination/DescribeWorkspaceBundlesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeWorkspacesPaginator.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-es/WorkSpaces.js.map +0 -1
- package/dist-es/WorkSpacesClient.js.map +0 -1
- package/dist-es/commands/AssociateConnectionAliasCommand.js.map +0 -1
- package/dist-es/commands/AssociateIpGroupsCommand.js.map +0 -1
- package/dist-es/commands/AuthorizeIpRulesCommand.js.map +0 -1
- package/dist-es/commands/CopyWorkspaceImageCommand.js.map +0 -1
- package/dist-es/commands/CreateConnectionAliasCommand.js.map +0 -1
- package/dist-es/commands/CreateIpGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateTagsCommand.js.map +0 -1
- package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js.map +0 -1
- package/dist-es/commands/CreateWorkspaceBundleCommand.js.map +0 -1
- package/dist-es/commands/CreateWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/DeleteConnectionAliasCommand.js.map +0 -1
- package/dist-es/commands/DeleteIpGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteTagsCommand.js.map +0 -1
- package/dist-es/commands/DeleteWorkspaceBundleCommand.js.map +0 -1
- package/dist-es/commands/DeleteWorkspaceImageCommand.js.map +0 -1
- package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountModificationsCommand.js.map +0 -1
- package/dist-es/commands/DescribeClientPropertiesCommand.js.map +0 -1
- package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeConnectionAliasesCommand.js.map +0 -1
- package/dist-es/commands/DescribeIpGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspaceBundlesCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspaceImagesCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js.map +0 -1
- package/dist-es/commands/DisassociateConnectionAliasCommand.js.map +0 -1
- package/dist-es/commands/DisassociateIpGroupsCommand.js.map +0 -1
- package/dist-es/commands/ImportWorkspaceImageCommand.js.map +0 -1
- package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js.map +0 -1
- package/dist-es/commands/MigrateWorkspaceCommand.js.map +0 -1
- package/dist-es/commands/ModifyAccountCommand.js.map +0 -1
- package/dist-es/commands/ModifyClientPropertiesCommand.js.map +0 -1
- package/dist-es/commands/ModifySelfservicePermissionsCommand.js.map +0 -1
- package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js.map +0 -1
- package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js.map +0 -1
- package/dist-es/commands/ModifyWorkspacePropertiesCommand.js.map +0 -1
- package/dist-es/commands/ModifyWorkspaceStateCommand.js.map +0 -1
- package/dist-es/commands/RebootWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/RebuildWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js.map +0 -1
- package/dist-es/commands/RestoreWorkspaceCommand.js.map +0 -1
- package/dist-es/commands/RevokeIpRulesCommand.js.map +0 -1
- package/dist-es/commands/StartWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/StopWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/TerminateWorkspacesCommand.js.map +0 -1
- package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js.map +0 -1
- package/dist-es/commands/UpdateRulesOfIpGroupCommand.js.map +0 -1
- package/dist-es/commands/UpdateWorkspaceBundleCommand.js.map +0 -1
- package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeWorkspacesPaginator.js.map +0 -1
- 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/jest.config.js +0 -4
- package/src/WorkSpaces.ts +0 -2243
- package/src/WorkSpacesClient.ts +0 -502
- package/src/commands/AssociateConnectionAliasCommand.ts +0 -102
- package/src/commands/AssociateIpGroupsCommand.ts +0 -95
- package/src/commands/AuthorizeIpRulesCommand.ts +0 -97
- package/src/commands/CopyWorkspaceImageCommand.ts +0 -108
- package/src/commands/CreateConnectionAliasCommand.ts +0 -97
- package/src/commands/CreateIpGroupCommand.ts +0 -104
- package/src/commands/CreateTagsCommand.ts +0 -95
- package/src/commands/CreateUpdatedWorkspaceImageCommand.ts +0 -121
- package/src/commands/CreateWorkspaceBundleCommand.ts +0 -97
- package/src/commands/CreateWorkspacesCommand.ts +0 -96
- package/src/commands/DeleteConnectionAliasCommand.ts +0 -112
- package/src/commands/DeleteIpGroupCommand.ts +0 -96
- package/src/commands/DeleteTagsCommand.ts +0 -95
- package/src/commands/DeleteWorkspaceBundleCommand.ts +0 -97
- package/src/commands/DeleteWorkspaceImageCommand.ts +0 -97
- package/src/commands/DeregisterWorkspaceDirectoryCommand.ts +0 -116
- package/src/commands/DescribeAccountCommand.ts +0 -96
- package/src/commands/DescribeAccountModificationsCommand.ts +0 -101
- package/src/commands/DescribeClientPropertiesCommand.ts +0 -95
- package/src/commands/DescribeConnectionAliasPermissionsCommand.ts +0 -108
- package/src/commands/DescribeConnectionAliasesCommand.ts +0 -100
- package/src/commands/DescribeIpGroupsCommand.ts +0 -95
- package/src/commands/DescribeTagsCommand.ts +0 -95
- package/src/commands/DescribeWorkspaceBundlesCommand.ts +0 -96
- package/src/commands/DescribeWorkspaceDirectoriesCommand.ts +0 -101
- package/src/commands/DescribeWorkspaceImagePermissionsCommand.ts +0 -104
- package/src/commands/DescribeWorkspaceImagesCommand.ts +0 -96
- package/src/commands/DescribeWorkspaceSnapshotsCommand.ts +0 -98
- package/src/commands/DescribeWorkspacesCommand.ts +0 -97
- package/src/commands/DescribeWorkspacesConnectionStatusCommand.ts +0 -106
- package/src/commands/DisassociateConnectionAliasCommand.ts +0 -106
- package/src/commands/DisassociateIpGroupsCommand.ts +0 -95
- package/src/commands/ImportWorkspaceImageCommand.ts +0 -99
- package/src/commands/ListAvailableManagementCidrRangesCommand.ts +0 -111
- package/src/commands/MigrateWorkspaceCommand.ts +0 -103
- package/src/commands/ModifyAccountCommand.ts +0 -96
- package/src/commands/ModifyClientPropertiesCommand.ts +0 -95
- package/src/commands/ModifySelfservicePermissionsCommand.ts +0 -101
- package/src/commands/ModifyWorkspaceAccessPropertiesCommand.ts +0 -105
- package/src/commands/ModifyWorkspaceCreationPropertiesCommand.ts +0 -103
- package/src/commands/ModifyWorkspacePropertiesCommand.ts +0 -102
- package/src/commands/ModifyWorkspaceStateCommand.ts +0 -100
- package/src/commands/RebootWorkspacesCommand.ts +0 -98
- package/src/commands/RebuildWorkspacesCommand.ts +0 -102
- package/src/commands/RegisterWorkspaceDirectoryCommand.ts +0 -102
- package/src/commands/RestoreWorkspaceCommand.ts +0 -102
- package/src/commands/RevokeIpRulesCommand.ts +0 -95
- package/src/commands/StartWorkspacesCommand.ts +0 -97
- package/src/commands/StopWorkspacesCommand.ts +0 -98
- package/src/commands/TerminateWorkspacesCommand.ts +0 -124
- package/src/commands/UpdateConnectionAliasPermissionCommand.ts +0 -122
- package/src/commands/UpdateRulesOfIpGroupCommand.ts +0 -96
- package/src/commands/UpdateWorkspaceBundleCommand.ts +0 -103
- package/src/commands/UpdateWorkspaceImagePermissionCommand.ts +0 -128
- package/src/endpoints.ts +0 -72
- package/src/index.ts +0 -61
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -3876
- package/src/pagination/DescribeWorkspaceBundlesPaginator.ts +0 -58
- package/src/pagination/DescribeWorkspaceDirectoriesPaginator.ts +0 -58
- package/src/pagination/DescribeWorkspacesPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_json1_1.ts +0 -7603
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { RegisterWorkspaceDirectoryRequest, RegisterWorkspaceDirectoryResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1RegisterWorkspaceDirectoryCommand,
|
|
17
|
-
serializeAws_json1_1RegisterWorkspaceDirectoryCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface RegisterWorkspaceDirectoryCommandInput extends RegisterWorkspaceDirectoryRequest {}
|
|
22
|
-
export interface RegisterWorkspaceDirectoryCommandOutput extends RegisterWorkspaceDirectoryResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Registers the specified directory. This operation is asynchronous
|
|
26
|
-
* and returns before the WorkSpace directory is registered. If this is the first time you are
|
|
27
|
-
* registering a directory, you will need to create the workspaces_DefaultRole role before you can
|
|
28
|
-
* register a directory. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role">
|
|
29
|
-
* Creating the workspaces_DefaultRole Role</a>.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { WorkSpacesClient, RegisterWorkspaceDirectoryCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
34
|
-
* // const { WorkSpacesClient, RegisterWorkspaceDirectoryCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
35
|
-
* const client = new WorkSpacesClient(config);
|
|
36
|
-
* const command = new RegisterWorkspaceDirectoryCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link RegisterWorkspaceDirectoryCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link RegisterWorkspaceDirectoryCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class RegisterWorkspaceDirectoryCommand extends $Command<
|
|
46
|
-
RegisterWorkspaceDirectoryCommandInput,
|
|
47
|
-
RegisterWorkspaceDirectoryCommandOutput,
|
|
48
|
-
WorkSpacesClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: RegisterWorkspaceDirectoryCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: WorkSpacesClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<RegisterWorkspaceDirectoryCommandInput, RegisterWorkspaceDirectoryCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "WorkSpacesClient";
|
|
73
|
-
const commandName = "RegisterWorkspaceDirectoryCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: RegisterWorkspaceDirectoryRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: RegisterWorkspaceDirectoryResult.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: RegisterWorkspaceDirectoryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1RegisterWorkspaceDirectoryCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(
|
|
94
|
-
output: __HttpResponse,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<RegisterWorkspaceDirectoryCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1RegisterWorkspaceDirectoryCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { RestoreWorkspaceRequest, RestoreWorkspaceResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1RestoreWorkspaceCommand,
|
|
17
|
-
serializeAws_json1_1RestoreWorkspaceCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface RestoreWorkspaceCommandInput extends RestoreWorkspaceRequest {}
|
|
22
|
-
export interface RestoreWorkspaceCommandOutput extends RestoreWorkspaceResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Restores the specified WorkSpace to its last known healthy state.</p>
|
|
26
|
-
* <p>You cannot restore a WorkSpace unless its state is <code> AVAILABLE</code>,
|
|
27
|
-
* <code>ERROR</code>, <code>UNHEALTHY</code>, or <code>STOPPED</code>.</p>
|
|
28
|
-
* <p>Restoring a WorkSpace is a potentially destructive action that can result in the loss of
|
|
29
|
-
* data. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/restore-workspace.html">Restore a
|
|
30
|
-
* WorkSpace</a>.</p>
|
|
31
|
-
* <p>This operation is asynchronous and returns before the WorkSpace is completely
|
|
32
|
-
* restored.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { WorkSpacesClient, RestoreWorkspaceCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
37
|
-
* // const { WorkSpacesClient, RestoreWorkspaceCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
38
|
-
* const client = new WorkSpacesClient(config);
|
|
39
|
-
* const command = new RestoreWorkspaceCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link RestoreWorkspaceCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link RestoreWorkspaceCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class RestoreWorkspaceCommand extends $Command<
|
|
49
|
-
RestoreWorkspaceCommandInput,
|
|
50
|
-
RestoreWorkspaceCommandOutput,
|
|
51
|
-
WorkSpacesClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: RestoreWorkspaceCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: WorkSpacesClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<RestoreWorkspaceCommandInput, RestoreWorkspaceCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "WorkSpacesClient";
|
|
76
|
-
const commandName = "RestoreWorkspaceCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: RestoreWorkspaceRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: RestoreWorkspaceResult.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: RestoreWorkspaceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1RestoreWorkspaceCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RestoreWorkspaceCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1RestoreWorkspaceCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { RevokeIpRulesRequest, RevokeIpRulesResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1RevokeIpRulesCommand,
|
|
17
|
-
serializeAws_json1_1RevokeIpRulesCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface RevokeIpRulesCommandInput extends RevokeIpRulesRequest {}
|
|
22
|
-
export interface RevokeIpRulesCommandOutput extends RevokeIpRulesResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Removes one or more rules from the specified IP access control group.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { WorkSpacesClient, RevokeIpRulesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
30
|
-
* // const { WorkSpacesClient, RevokeIpRulesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
31
|
-
* const client = new WorkSpacesClient(config);
|
|
32
|
-
* const command = new RevokeIpRulesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link RevokeIpRulesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link RevokeIpRulesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class RevokeIpRulesCommand extends $Command<
|
|
42
|
-
RevokeIpRulesCommandInput,
|
|
43
|
-
RevokeIpRulesCommandOutput,
|
|
44
|
-
WorkSpacesClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: RevokeIpRulesCommandInput) {
|
|
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: WorkSpacesClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<RevokeIpRulesCommandInput, RevokeIpRulesCommandOutput> {
|
|
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 = "WorkSpacesClient";
|
|
69
|
-
const commandName = "RevokeIpRulesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: RevokeIpRulesRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: RevokeIpRulesResult.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: RevokeIpRulesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1RevokeIpRulesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RevokeIpRulesCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1RevokeIpRulesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { StartWorkspacesRequest, StartWorkspacesResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1StartWorkspacesCommand,
|
|
17
|
-
serializeAws_json1_1StartWorkspacesCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface StartWorkspacesCommandInput extends StartWorkspacesRequest {}
|
|
22
|
-
export interface StartWorkspacesCommandOutput extends StartWorkspacesResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Starts the specified WorkSpaces.</p>
|
|
26
|
-
* <p>You cannot start a WorkSpace unless it has a running mode of <code>AutoStop</code> and a
|
|
27
|
-
* state of <code>STOPPED</code>.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { WorkSpacesClient, StartWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
32
|
-
* // const { WorkSpacesClient, StartWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
33
|
-
* const client = new WorkSpacesClient(config);
|
|
34
|
-
* const command = new StartWorkspacesCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link StartWorkspacesCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link StartWorkspacesCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class StartWorkspacesCommand extends $Command<
|
|
44
|
-
StartWorkspacesCommandInput,
|
|
45
|
-
StartWorkspacesCommandOutput,
|
|
46
|
-
WorkSpacesClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: StartWorkspacesCommandInput) {
|
|
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: WorkSpacesClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<StartWorkspacesCommandInput, StartWorkspacesCommandOutput> {
|
|
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 = "WorkSpacesClient";
|
|
71
|
-
const commandName = "StartWorkspacesCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: StartWorkspacesRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: StartWorkspacesResult.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: StartWorkspacesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1StartWorkspacesCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartWorkspacesCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_1StartWorkspacesCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { StopWorkspacesRequest, StopWorkspacesResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1StopWorkspacesCommand,
|
|
17
|
-
serializeAws_json1_1StopWorkspacesCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface StopWorkspacesCommandInput extends StopWorkspacesRequest {}
|
|
22
|
-
export interface StopWorkspacesCommandOutput extends StopWorkspacesResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Stops the specified WorkSpaces.</p>
|
|
26
|
-
* <p>You cannot stop a WorkSpace unless it has a running mode of <code>AutoStop</code> and a
|
|
27
|
-
* state of <code>AVAILABLE</code>, <code>IMPAIRED</code>, <code>UNHEALTHY</code>, or
|
|
28
|
-
* <code>ERROR</code>.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { WorkSpacesClient, StopWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
33
|
-
* // const { WorkSpacesClient, StopWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
34
|
-
* const client = new WorkSpacesClient(config);
|
|
35
|
-
* const command = new StopWorkspacesCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link StopWorkspacesCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link StopWorkspacesCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class StopWorkspacesCommand extends $Command<
|
|
45
|
-
StopWorkspacesCommandInput,
|
|
46
|
-
StopWorkspacesCommandOutput,
|
|
47
|
-
WorkSpacesClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: StopWorkspacesCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: WorkSpacesClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<StopWorkspacesCommandInput, StopWorkspacesCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "WorkSpacesClient";
|
|
72
|
-
const commandName = "StopWorkspacesCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: StopWorkspacesRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: StopWorkspacesResult.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: StopWorkspacesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_1StopWorkspacesCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StopWorkspacesCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1StopWorkspacesCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { TerminateWorkspacesRequest, TerminateWorkspacesResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1TerminateWorkspacesCommand,
|
|
17
|
-
serializeAws_json1_1TerminateWorkspacesCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface TerminateWorkspacesCommandInput extends TerminateWorkspacesRequest {}
|
|
22
|
-
export interface TerminateWorkspacesCommandOutput extends TerminateWorkspacesResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Terminates the specified WorkSpaces.</p>
|
|
26
|
-
*
|
|
27
|
-
* <important>
|
|
28
|
-
* <p>Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is
|
|
29
|
-
* destroyed. If you need to archive any user data, contact Amazon Web Services Support before
|
|
30
|
-
* terminating the WorkSpace.</p>
|
|
31
|
-
* </important>
|
|
32
|
-
*
|
|
33
|
-
* <p>You can terminate a WorkSpace that is in any state except <code>SUSPENDED</code>.</p>
|
|
34
|
-
* <p>This operation is asynchronous and returns before the WorkSpaces have been completely
|
|
35
|
-
* terminated. After a WorkSpace is terminated, the <code>TERMINATED</code> state is returned
|
|
36
|
-
* only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely
|
|
37
|
-
* returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using
|
|
38
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html">
|
|
39
|
-
* DescribeWorkSpaces</a>. If the WorkSpace ID isn't returned, then the WorkSpace has
|
|
40
|
-
* been successfully terminated.</p>
|
|
41
|
-
*
|
|
42
|
-
* <note>
|
|
43
|
-
* <p>Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces.
|
|
44
|
-
* If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30
|
|
45
|
-
* consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces,
|
|
46
|
-
* and you will be charged for this directory as per the
|
|
47
|
-
* <a href="http://aws.amazon.com/directoryservice/pricing/">Directory Service pricing terms</a>.</p>
|
|
48
|
-
*
|
|
49
|
-
* <p>To delete empty directories, see
|
|
50
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html">
|
|
51
|
-
* Delete the Directory for Your WorkSpaces</a>. If you delete your
|
|
52
|
-
* Simple AD or AD Connector directory, you can always create a new one when you want to start using
|
|
53
|
-
* WorkSpaces again.</p>
|
|
54
|
-
* </note>
|
|
55
|
-
* @example
|
|
56
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
57
|
-
* ```javascript
|
|
58
|
-
* import { WorkSpacesClient, TerminateWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
59
|
-
* // const { WorkSpacesClient, TerminateWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
60
|
-
* const client = new WorkSpacesClient(config);
|
|
61
|
-
* const command = new TerminateWorkspacesCommand(input);
|
|
62
|
-
* const response = await client.send(command);
|
|
63
|
-
* ```
|
|
64
|
-
*
|
|
65
|
-
* @see {@link TerminateWorkspacesCommandInput} for command's `input` shape.
|
|
66
|
-
* @see {@link TerminateWorkspacesCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
70
|
-
export class TerminateWorkspacesCommand extends $Command<
|
|
71
|
-
TerminateWorkspacesCommandInput,
|
|
72
|
-
TerminateWorkspacesCommandOutput,
|
|
73
|
-
WorkSpacesClientResolvedConfig
|
|
74
|
-
> {
|
|
75
|
-
// Start section: command_properties
|
|
76
|
-
// End section: command_properties
|
|
77
|
-
|
|
78
|
-
constructor(readonly input: TerminateWorkspacesCommandInput) {
|
|
79
|
-
// Start section: command_constructor
|
|
80
|
-
super();
|
|
81
|
-
// End section: command_constructor
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
resolveMiddleware(
|
|
88
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
89
|
-
configuration: WorkSpacesClientResolvedConfig,
|
|
90
|
-
options?: __HttpHandlerOptions
|
|
91
|
-
): Handler<TerminateWorkspacesCommandInput, TerminateWorkspacesCommandOutput> {
|
|
92
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
93
|
-
|
|
94
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
95
|
-
|
|
96
|
-
const { logger } = configuration;
|
|
97
|
-
const clientName = "WorkSpacesClient";
|
|
98
|
-
const commandName = "TerminateWorkspacesCommand";
|
|
99
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
100
|
-
logger,
|
|
101
|
-
clientName,
|
|
102
|
-
commandName,
|
|
103
|
-
inputFilterSensitiveLog: TerminateWorkspacesRequest.filterSensitiveLog,
|
|
104
|
-
outputFilterSensitiveLog: TerminateWorkspacesResult.filterSensitiveLog,
|
|
105
|
-
};
|
|
106
|
-
const { requestHandler } = configuration;
|
|
107
|
-
return stack.resolve(
|
|
108
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
109
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
110
|
-
handlerExecutionContext
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
private serialize(input: TerminateWorkspacesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
115
|
-
return serializeAws_json1_1TerminateWorkspacesCommand(input, context);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TerminateWorkspacesCommandOutput> {
|
|
119
|
-
return deserializeAws_json1_1TerminateWorkspacesCommand(output, context);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// Start section: command_body_extra
|
|
123
|
-
// End section: command_body_extra
|
|
124
|
-
}
|