@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
|
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Sets the state of the specified WorkSpace.</p>
|
|
10
|
-
* <p>To maintain a WorkSpace without being interrupted, set the WorkSpace state to
|
|
11
|
-
* <code>ADMIN_MAINTENANCE</code>. WorkSpaces in this state do not respond to requests to
|
|
12
|
-
* reboot, stop, start, rebuild, or restore. An AutoStop WorkSpace in this state is not
|
|
13
|
-
* stopped. Users cannot log into a WorkSpace in the <code>ADMIN_MAINTENANCE</code>
|
|
14
|
-
* state.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { WorkSpacesClient, ModifyWorkspaceStateCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
19
|
-
* // const { WorkSpacesClient, ModifyWorkspaceStateCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
20
|
-
* const client = new WorkSpacesClient(config);
|
|
21
|
-
* const command = new ModifyWorkspaceStateCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link ModifyWorkspaceStateCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link ModifyWorkspaceStateCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class ModifyWorkspaceStateCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -63,4 +34,3 @@ class ModifyWorkspaceStateCommand extends smithy_client_1.Command {
|
|
|
63
34
|
}
|
|
64
35
|
}
|
|
65
36
|
exports.ModifyWorkspaceStateCommand = ModifyWorkspaceStateCommand;
|
|
66
|
-
//# sourceMappingURL=ModifyWorkspaceStateCommand.js.map
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Reboots the specified WorkSpaces.</p>
|
|
10
|
-
* <p>You cannot reboot a WorkSpace unless its state is <code>AVAILABLE</code> or
|
|
11
|
-
* <code>UNHEALTHY</code>.</p>
|
|
12
|
-
* <p>This operation is asynchronous and returns before the WorkSpaces have rebooted.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { WorkSpacesClient, RebootWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
17
|
-
* // const { WorkSpacesClient, RebootWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
18
|
-
* const client = new WorkSpacesClient(config);
|
|
19
|
-
* const command = new RebootWorkspacesCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link RebootWorkspacesCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link RebootWorkspacesCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class RebootWorkspacesCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class RebootWorkspacesCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.RebootWorkspacesCommand = RebootWorkspacesCommand;
|
|
64
|
-
//# sourceMappingURL=RebootWorkspacesCommand.js.map
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Rebuilds the specified WorkSpace.</p>
|
|
10
|
-
* <p>You cannot rebuild a WorkSpace unless its state is <code>AVAILABLE</code>,
|
|
11
|
-
* <code>ERROR</code>, <code>UNHEALTHY</code>, <code>STOPPED</code>, or <code>REBOOTING</code>.</p>
|
|
12
|
-
* <p>Rebuilding a WorkSpace is a potentially destructive action that can result in the loss
|
|
13
|
-
* of data. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/reset-workspace.html">Rebuild a
|
|
14
|
-
* WorkSpace</a>.</p>
|
|
15
|
-
* <p>This operation is asynchronous and returns before the WorkSpaces have been completely
|
|
16
|
-
* rebuilt.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { WorkSpacesClient, RebuildWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
21
|
-
* // const { WorkSpacesClient, RebuildWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
22
|
-
* const client = new WorkSpacesClient(config);
|
|
23
|
-
* const command = new RebuildWorkspacesCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link RebuildWorkspacesCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link RebuildWorkspacesCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class RebuildWorkspacesCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +34,3 @@ class RebuildWorkspacesCommand extends smithy_client_1.Command {
|
|
|
65
34
|
}
|
|
66
35
|
}
|
|
67
36
|
exports.RebuildWorkspacesCommand = RebuildWorkspacesCommand;
|
|
68
|
-
//# sourceMappingURL=RebuildWorkspacesCommand.js.map
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Registers the specified directory. This operation is asynchronous
|
|
10
|
-
* and returns before the WorkSpace directory is registered. If this is the first time you are
|
|
11
|
-
* registering a directory, you will need to create the workspaces_DefaultRole role before you can
|
|
12
|
-
* register a directory. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role">
|
|
13
|
-
* Creating the workspaces_DefaultRole Role</a>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { WorkSpacesClient, RegisterWorkspaceDirectoryCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
18
|
-
* // const { WorkSpacesClient, RegisterWorkspaceDirectoryCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
19
|
-
* const client = new WorkSpacesClient(config);
|
|
20
|
-
* const command = new RegisterWorkspaceDirectoryCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link RegisterWorkspaceDirectoryCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link RegisterWorkspaceDirectoryCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class RegisterWorkspaceDirectoryCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -62,4 +34,3 @@ class RegisterWorkspaceDirectoryCommand extends smithy_client_1.Command {
|
|
|
62
34
|
}
|
|
63
35
|
}
|
|
64
36
|
exports.RegisterWorkspaceDirectoryCommand = RegisterWorkspaceDirectoryCommand;
|
|
65
|
-
//# sourceMappingURL=RegisterWorkspaceDirectoryCommand.js.map
|
|
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Restores the specified WorkSpace to its last known healthy state.</p>
|
|
10
|
-
* <p>You cannot restore a WorkSpace unless its state is <code> AVAILABLE</code>,
|
|
11
|
-
* <code>ERROR</code>, <code>UNHEALTHY</code>, or <code>STOPPED</code>.</p>
|
|
12
|
-
* <p>Restoring a WorkSpace is a potentially destructive action that can result in the loss of
|
|
13
|
-
* data. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/restore-workspace.html">Restore a
|
|
14
|
-
* WorkSpace</a>.</p>
|
|
15
|
-
* <p>This operation is asynchronous and returns before the WorkSpace is completely
|
|
16
|
-
* restored.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { WorkSpacesClient, RestoreWorkspaceCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
21
|
-
* // const { WorkSpacesClient, RestoreWorkspaceCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
22
|
-
* const client = new WorkSpacesClient(config);
|
|
23
|
-
* const command = new RestoreWorkspaceCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link RestoreWorkspaceCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link RestoreWorkspaceCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class RestoreWorkspaceCommand extends smithy_client_1.Command {
|
|
33
|
-
// Start section: command_properties
|
|
34
|
-
// End section: command_properties
|
|
35
9
|
constructor(input) {
|
|
36
|
-
// Start section: command_constructor
|
|
37
10
|
super();
|
|
38
11
|
this.input = input;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -65,4 +34,3 @@ class RestoreWorkspaceCommand extends smithy_client_1.Command {
|
|
|
65
34
|
}
|
|
66
35
|
}
|
|
67
36
|
exports.RestoreWorkspaceCommand = RestoreWorkspaceCommand;
|
|
68
|
-
//# sourceMappingURL=RestoreWorkspaceCommand.js.map
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Removes one or more rules from the specified IP access control group.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { WorkSpacesClient, RevokeIpRulesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
14
|
-
* // const { WorkSpacesClient, RevokeIpRulesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
15
|
-
* const client = new WorkSpacesClient(config);
|
|
16
|
-
* const command = new RevokeIpRulesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link RevokeIpRulesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link RevokeIpRulesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class RevokeIpRulesCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -58,4 +34,3 @@ class RevokeIpRulesCommand extends smithy_client_1.Command {
|
|
|
58
34
|
}
|
|
59
35
|
}
|
|
60
36
|
exports.RevokeIpRulesCommand = RevokeIpRulesCommand;
|
|
61
|
-
//# sourceMappingURL=RevokeIpRulesCommand.js.map
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Starts the specified WorkSpaces.</p>
|
|
10
|
-
* <p>You cannot start a WorkSpace unless it has a running mode of <code>AutoStop</code> and a
|
|
11
|
-
* state of <code>STOPPED</code>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { WorkSpacesClient, StartWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
16
|
-
* // const { WorkSpacesClient, StartWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
17
|
-
* const client = new WorkSpacesClient(config);
|
|
18
|
-
* const command = new StartWorkspacesCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link StartWorkspacesCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link StartWorkspacesCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class StartWorkspacesCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -60,4 +34,3 @@ class StartWorkspacesCommand extends smithy_client_1.Command {
|
|
|
60
34
|
}
|
|
61
35
|
}
|
|
62
36
|
exports.StartWorkspacesCommand = StartWorkspacesCommand;
|
|
63
|
-
//# sourceMappingURL=StartWorkspacesCommand.js.map
|
|
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p> Stops the specified WorkSpaces.</p>
|
|
10
|
-
* <p>You cannot stop a WorkSpace unless it has a running mode of <code>AutoStop</code> and a
|
|
11
|
-
* state of <code>AVAILABLE</code>, <code>IMPAIRED</code>, <code>UNHEALTHY</code>, or
|
|
12
|
-
* <code>ERROR</code>.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { WorkSpacesClient, StopWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
17
|
-
* // const { WorkSpacesClient, StopWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
18
|
-
* const client = new WorkSpacesClient(config);
|
|
19
|
-
* const command = new StopWorkspacesCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link StopWorkspacesCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link StopWorkspacesCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class StopWorkspacesCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
9
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
10
|
super();
|
|
34
11
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -61,4 +34,3 @@ class StopWorkspacesCommand extends smithy_client_1.Command {
|
|
|
61
34
|
}
|
|
62
35
|
}
|
|
63
36
|
exports.StopWorkspacesCommand = StopWorkspacesCommand;
|
|
64
|
-
//# sourceMappingURL=StopWorkspacesCommand.js.map
|
|
@@ -5,64 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Terminates the specified WorkSpaces.</p>
|
|
10
|
-
*
|
|
11
|
-
* <important>
|
|
12
|
-
* <p>Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is
|
|
13
|
-
* destroyed. If you need to archive any user data, contact Amazon Web Services Support before
|
|
14
|
-
* terminating the WorkSpace.</p>
|
|
15
|
-
* </important>
|
|
16
|
-
*
|
|
17
|
-
* <p>You can terminate a WorkSpace that is in any state except <code>SUSPENDED</code>.</p>
|
|
18
|
-
* <p>This operation is asynchronous and returns before the WorkSpaces have been completely
|
|
19
|
-
* terminated. After a WorkSpace is terminated, the <code>TERMINATED</code> state is returned
|
|
20
|
-
* only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely
|
|
21
|
-
* returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using
|
|
22
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html">
|
|
23
|
-
* DescribeWorkSpaces</a>. If the WorkSpace ID isn't returned, then the WorkSpace has
|
|
24
|
-
* been successfully terminated.</p>
|
|
25
|
-
*
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces.
|
|
28
|
-
* If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30
|
|
29
|
-
* consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces,
|
|
30
|
-
* and you will be charged for this directory as per the
|
|
31
|
-
* <a href="http://aws.amazon.com/directoryservice/pricing/">Directory Service pricing terms</a>.</p>
|
|
32
|
-
*
|
|
33
|
-
* <p>To delete empty directories, see
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html">
|
|
35
|
-
* Delete the Directory for Your WorkSpaces</a>. If you delete your
|
|
36
|
-
* Simple AD or AD Connector directory, you can always create a new one when you want to start using
|
|
37
|
-
* WorkSpaces again.</p>
|
|
38
|
-
* </note>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { WorkSpacesClient, TerminateWorkspacesCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
43
|
-
* // const { WorkSpacesClient, TerminateWorkspacesCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
44
|
-
* const client = new WorkSpacesClient(config);
|
|
45
|
-
* const command = new TerminateWorkspacesCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link TerminateWorkspacesCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link TerminateWorkspacesCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
8
|
class TerminateWorkspacesCommand extends smithy_client_1.Command {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
9
|
constructor(input) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
10
|
super();
|
|
60
11
|
this.input = input;
|
|
61
|
-
// End section: command_constructor
|
|
62
12
|
}
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
67
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -87,4 +34,3 @@ class TerminateWorkspacesCommand extends smithy_client_1.Command {
|
|
|
87
34
|
}
|
|
88
35
|
}
|
|
89
36
|
exports.TerminateWorkspacesCommand = TerminateWorkspacesCommand;
|
|
90
|
-
//# sourceMappingURL=TerminateWorkspacesCommand.js.map
|
|
@@ -5,54 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Shares or unshares a connection alias with one account by specifying whether that account has permission to
|
|
10
|
-
* associate the connection alias with a directory. If the association permission is granted, the connection alias
|
|
11
|
-
* is shared with that account. If the association permission is revoked, the connection alias is unshared with the
|
|
12
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
13
|
-
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
14
|
-
*
|
|
15
|
-
* <note>
|
|
16
|
-
* <ul>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>Before performing this operation, call <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html">
|
|
19
|
-
* DescribeConnectionAliases</a> to make sure that the current state of the connection alias is <code>CREATED</code>.</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>To delete a connection alias that has been shared, the shared account must first disassociate the
|
|
23
|
-
* connection alias from any directories it has been associated with. Then you must unshare the connection
|
|
24
|
-
* alias from the account it has been shared with. You can delete a connection alias only after it is no
|
|
25
|
-
* longer shared with any accounts or associated with any directories.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ul>
|
|
28
|
-
* </note>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { WorkSpacesClient, UpdateConnectionAliasPermissionCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
33
|
-
* // const { WorkSpacesClient, UpdateConnectionAliasPermissionCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
34
|
-
* const client = new WorkSpacesClient(config);
|
|
35
|
-
* const command = new UpdateConnectionAliasPermissionCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link UpdateConnectionAliasPermissionCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link UpdateConnectionAliasPermissionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
8
|
class UpdateConnectionAliasPermissionCommand extends smithy_client_1.Command {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
9
|
constructor(input) {
|
|
48
|
-
// Start section: command_constructor
|
|
49
10
|
super();
|
|
50
11
|
this.input = input;
|
|
51
|
-
// End section: command_constructor
|
|
52
12
|
}
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
57
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
58
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -77,4 +34,3 @@ class UpdateConnectionAliasPermissionCommand extends smithy_client_1.Command {
|
|
|
77
34
|
}
|
|
78
35
|
}
|
|
79
36
|
exports.UpdateConnectionAliasPermissionCommand = UpdateConnectionAliasPermissionCommand;
|
|
80
|
-
//# sourceMappingURL=UpdateConnectionAliasPermissionCommand.js.map
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Replaces the current rules of the specified IP access control group with the specified
|
|
10
|
-
* rules.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { WorkSpacesClient, UpdateRulesOfIpGroupCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
15
|
-
* // const { WorkSpacesClient, UpdateRulesOfIpGroupCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
16
|
-
* const client = new WorkSpacesClient(config);
|
|
17
|
-
* const command = new UpdateRulesOfIpGroupCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateRulesOfIpGroupCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateRulesOfIpGroupCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class UpdateRulesOfIpGroupCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -59,4 +34,3 @@ class UpdateRulesOfIpGroupCommand extends smithy_client_1.Command {
|
|
|
59
34
|
}
|
|
60
35
|
}
|
|
61
36
|
exports.UpdateRulesOfIpGroupCommand = UpdateRulesOfIpGroupCommand;
|
|
62
|
-
//# sourceMappingURL=UpdateRulesOfIpGroupCommand.js.map
|
|
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see
|
|
10
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/update-custom-bundle.html">
|
|
11
|
-
* Update a Custom WorkSpaces Bundle</a>.</p>
|
|
12
|
-
*
|
|
13
|
-
* <important>
|
|
14
|
-
* <p>Existing WorkSpaces aren't automatically updated when you update the bundle that they're
|
|
15
|
-
* based on. To update existing WorkSpaces that are based on a bundle that you've updated, you
|
|
16
|
-
* must either rebuild the WorkSpaces or delete and recreate them.</p>
|
|
17
|
-
* </important>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { WorkSpacesClient, UpdateWorkspaceBundleCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
22
|
-
* // const { WorkSpacesClient, UpdateWorkspaceBundleCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
23
|
-
* const client = new WorkSpacesClient(config);
|
|
24
|
-
* const command = new UpdateWorkspaceBundleCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link UpdateWorkspaceBundleCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link UpdateWorkspaceBundleCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
8
|
class UpdateWorkspaceBundleCommand extends smithy_client_1.Command {
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
9
|
constructor(input) {
|
|
37
|
-
// Start section: command_constructor
|
|
38
10
|
super();
|
|
39
11
|
this.input = input;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -66,4 +34,3 @@ class UpdateWorkspaceBundleCommand extends smithy_client_1.Command {
|
|
|
66
34
|
}
|
|
67
35
|
}
|
|
68
36
|
exports.UpdateWorkspaceBundleCommand = UpdateWorkspaceBundleCommand;
|
|
69
|
-
//# sourceMappingURL=UpdateWorkspaceBundleCommand.js.map
|
|
@@ -5,60 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has
|
|
10
|
-
* permission to copy the image. If the copy image permission is granted, the image is shared with that account.
|
|
11
|
-
* If the copy image permission is revoked, the image is unshared with the account.</p>
|
|
12
|
-
*
|
|
13
|
-
* <p>After an image has been shared, the recipient account can copy the image to other Regions as needed.</p>
|
|
14
|
-
*
|
|
15
|
-
* <p>In the China (Ningxia) Region, you can copy images only within the same Region.</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.</p>
|
|
18
|
-
*
|
|
19
|
-
* <p>For more information about sharing images, see
|
|
20
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html">
|
|
21
|
-
* Share or Unshare a Custom WorkSpaces Image</a>.</p>
|
|
22
|
-
*
|
|
23
|
-
* <note>
|
|
24
|
-
* <ul>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>To delete an image that has been shared, you must unshare the image before you delete it.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at
|
|
30
|
-
* this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in
|
|
31
|
-
* Amazon Web Services GovCloud (US), contact Amazon Web Services Support.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* </ul>
|
|
34
|
-
* </note>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { WorkSpacesClient, UpdateWorkspaceImagePermissionCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
39
|
-
* // const { WorkSpacesClient, UpdateWorkspaceImagePermissionCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
40
|
-
* const client = new WorkSpacesClient(config);
|
|
41
|
-
* const command = new UpdateWorkspaceImagePermissionCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link UpdateWorkspaceImagePermissionCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link UpdateWorkspaceImagePermissionCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
8
|
class UpdateWorkspaceImagePermissionCommand extends smithy_client_1.Command {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
9
|
constructor(input) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
10
|
super();
|
|
56
11
|
this.input = input;
|
|
57
|
-
// End section: command_constructor
|
|
58
12
|
}
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
63
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -83,4 +34,3 @@ class UpdateWorkspaceImagePermissionCommand extends smithy_client_1.Command {
|
|
|
83
34
|
}
|
|
84
35
|
}
|
|
85
36
|
exports.UpdateWorkspaceImagePermissionCommand = UpdateWorkspaceImagePermissionCommand;
|
|
86
|
-
//# sourceMappingURL=UpdateWorkspaceImagePermissionCommand.js.map
|