@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,122 +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 { UpdateConnectionAliasPermissionRequest, UpdateConnectionAliasPermissionResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1UpdateConnectionAliasPermissionCommand,
|
|
17
|
-
serializeAws_json1_1UpdateConnectionAliasPermissionCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface UpdateConnectionAliasPermissionCommandInput extends UpdateConnectionAliasPermissionRequest {}
|
|
22
|
-
export interface UpdateConnectionAliasPermissionCommandOutput
|
|
23
|
-
extends UpdateConnectionAliasPermissionResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Shares or unshares a connection alias with one account by specifying whether that account has permission to
|
|
28
|
-
* associate the connection alias with a directory. If the association permission is granted, the connection alias
|
|
29
|
-
* is shared with that account. If the association permission is revoked, the connection alias is unshared with the
|
|
30
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
31
|
-
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
32
|
-
*
|
|
33
|
-
* <note>
|
|
34
|
-
* <ul>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Before performing this operation, call <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html">
|
|
37
|
-
* DescribeConnectionAliases</a> to make sure that the current state of the connection alias is <code>CREATED</code>.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>To delete a connection alias that has been shared, the shared account must first disassociate the
|
|
41
|
-
* connection alias from any directories it has been associated with. Then you must unshare the connection
|
|
42
|
-
* alias from the account it has been shared with. You can delete a connection alias only after it is no
|
|
43
|
-
* longer shared with any accounts or associated with any directories.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* </ul>
|
|
46
|
-
* </note>
|
|
47
|
-
* @example
|
|
48
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
49
|
-
* ```javascript
|
|
50
|
-
* import { WorkSpacesClient, UpdateConnectionAliasPermissionCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
51
|
-
* // const { WorkSpacesClient, UpdateConnectionAliasPermissionCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
52
|
-
* const client = new WorkSpacesClient(config);
|
|
53
|
-
* const command = new UpdateConnectionAliasPermissionCommand(input);
|
|
54
|
-
* const response = await client.send(command);
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
|
-
* @see {@link UpdateConnectionAliasPermissionCommandInput} for command's `input` shape.
|
|
58
|
-
* @see {@link UpdateConnectionAliasPermissionCommandOutput} for command's `response` shape.
|
|
59
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
export class UpdateConnectionAliasPermissionCommand extends $Command<
|
|
63
|
-
UpdateConnectionAliasPermissionCommandInput,
|
|
64
|
-
UpdateConnectionAliasPermissionCommandOutput,
|
|
65
|
-
WorkSpacesClientResolvedConfig
|
|
66
|
-
> {
|
|
67
|
-
// Start section: command_properties
|
|
68
|
-
// End section: command_properties
|
|
69
|
-
|
|
70
|
-
constructor(readonly input: UpdateConnectionAliasPermissionCommandInput) {
|
|
71
|
-
// Start section: command_constructor
|
|
72
|
-
super();
|
|
73
|
-
// End section: command_constructor
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
resolveMiddleware(
|
|
80
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
81
|
-
configuration: WorkSpacesClientResolvedConfig,
|
|
82
|
-
options?: __HttpHandlerOptions
|
|
83
|
-
): Handler<UpdateConnectionAliasPermissionCommandInput, UpdateConnectionAliasPermissionCommandOutput> {
|
|
84
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
85
|
-
|
|
86
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
87
|
-
|
|
88
|
-
const { logger } = configuration;
|
|
89
|
-
const clientName = "WorkSpacesClient";
|
|
90
|
-
const commandName = "UpdateConnectionAliasPermissionCommand";
|
|
91
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
92
|
-
logger,
|
|
93
|
-
clientName,
|
|
94
|
-
commandName,
|
|
95
|
-
inputFilterSensitiveLog: UpdateConnectionAliasPermissionRequest.filterSensitiveLog,
|
|
96
|
-
outputFilterSensitiveLog: UpdateConnectionAliasPermissionResult.filterSensitiveLog,
|
|
97
|
-
};
|
|
98
|
-
const { requestHandler } = configuration;
|
|
99
|
-
return stack.resolve(
|
|
100
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
101
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
102
|
-
handlerExecutionContext
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private serialize(
|
|
107
|
-
input: UpdateConnectionAliasPermissionCommandInput,
|
|
108
|
-
context: __SerdeContext
|
|
109
|
-
): Promise<__HttpRequest> {
|
|
110
|
-
return serializeAws_json1_1UpdateConnectionAliasPermissionCommand(input, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
private deserialize(
|
|
114
|
-
output: __HttpResponse,
|
|
115
|
-
context: __SerdeContext
|
|
116
|
-
): Promise<UpdateConnectionAliasPermissionCommandOutput> {
|
|
117
|
-
return deserializeAws_json1_1UpdateConnectionAliasPermissionCommand(output, context);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// Start section: command_body_extra
|
|
121
|
-
// End section: command_body_extra
|
|
122
|
-
}
|
|
@@ -1,96 +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 { UpdateRulesOfIpGroupRequest, UpdateRulesOfIpGroupResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1UpdateRulesOfIpGroupCommand,
|
|
17
|
-
serializeAws_json1_1UpdateRulesOfIpGroupCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface UpdateRulesOfIpGroupCommandInput extends UpdateRulesOfIpGroupRequest {}
|
|
22
|
-
export interface UpdateRulesOfIpGroupCommandOutput extends UpdateRulesOfIpGroupResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Replaces the current rules of the specified IP access control group with the specified
|
|
26
|
-
* rules.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { WorkSpacesClient, UpdateRulesOfIpGroupCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
31
|
-
* // const { WorkSpacesClient, UpdateRulesOfIpGroupCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
32
|
-
* const client = new WorkSpacesClient(config);
|
|
33
|
-
* const command = new UpdateRulesOfIpGroupCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link UpdateRulesOfIpGroupCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link UpdateRulesOfIpGroupCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class UpdateRulesOfIpGroupCommand extends $Command<
|
|
43
|
-
UpdateRulesOfIpGroupCommandInput,
|
|
44
|
-
UpdateRulesOfIpGroupCommandOutput,
|
|
45
|
-
WorkSpacesClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: UpdateRulesOfIpGroupCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: WorkSpacesClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<UpdateRulesOfIpGroupCommandInput, UpdateRulesOfIpGroupCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "WorkSpacesClient";
|
|
70
|
-
const commandName = "UpdateRulesOfIpGroupCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: UpdateRulesOfIpGroupRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: UpdateRulesOfIpGroupResult.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: UpdateRulesOfIpGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1UpdateRulesOfIpGroupCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateRulesOfIpGroupCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1UpdateRulesOfIpGroupCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,103 +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 { UpdateWorkspaceBundleRequest, UpdateWorkspaceBundleResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1UpdateWorkspaceBundleCommand,
|
|
17
|
-
serializeAws_json1_1UpdateWorkspaceBundleCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface UpdateWorkspaceBundleCommandInput extends UpdateWorkspaceBundleRequest {}
|
|
22
|
-
export interface UpdateWorkspaceBundleCommandOutput extends UpdateWorkspaceBundleResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see
|
|
26
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/update-custom-bundle.html">
|
|
27
|
-
* Update a Custom WorkSpaces Bundle</a>.</p>
|
|
28
|
-
*
|
|
29
|
-
* <important>
|
|
30
|
-
* <p>Existing WorkSpaces aren't automatically updated when you update the bundle that they're
|
|
31
|
-
* based on. To update existing WorkSpaces that are based on a bundle that you've updated, you
|
|
32
|
-
* must either rebuild the WorkSpaces or delete and recreate them.</p>
|
|
33
|
-
* </important>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { WorkSpacesClient, UpdateWorkspaceBundleCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
38
|
-
* // const { WorkSpacesClient, UpdateWorkspaceBundleCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
39
|
-
* const client = new WorkSpacesClient(config);
|
|
40
|
-
* const command = new UpdateWorkspaceBundleCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link UpdateWorkspaceBundleCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link UpdateWorkspaceBundleCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class UpdateWorkspaceBundleCommand extends $Command<
|
|
50
|
-
UpdateWorkspaceBundleCommandInput,
|
|
51
|
-
UpdateWorkspaceBundleCommandOutput,
|
|
52
|
-
WorkSpacesClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: UpdateWorkspaceBundleCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: WorkSpacesClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<UpdateWorkspaceBundleCommandInput, UpdateWorkspaceBundleCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "WorkSpacesClient";
|
|
77
|
-
const commandName = "UpdateWorkspaceBundleCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: UpdateWorkspaceBundleRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: UpdateWorkspaceBundleResult.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: UpdateWorkspaceBundleCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1UpdateWorkspaceBundleCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateWorkspaceBundleCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1UpdateWorkspaceBundleCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,128 +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 { UpdateWorkspaceImagePermissionRequest, UpdateWorkspaceImagePermissionResult } from "../models/models_0";
|
|
15
|
-
import {
|
|
16
|
-
deserializeAws_json1_1UpdateWorkspaceImagePermissionCommand,
|
|
17
|
-
serializeAws_json1_1UpdateWorkspaceImagePermissionCommand,
|
|
18
|
-
} from "../protocols/Aws_json1_1";
|
|
19
|
-
import { ServiceInputTypes, ServiceOutputTypes, WorkSpacesClientResolvedConfig } from "../WorkSpacesClient";
|
|
20
|
-
|
|
21
|
-
export interface UpdateWorkspaceImagePermissionCommandInput extends UpdateWorkspaceImagePermissionRequest {}
|
|
22
|
-
export interface UpdateWorkspaceImagePermissionCommandOutput
|
|
23
|
-
extends UpdateWorkspaceImagePermissionResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has
|
|
28
|
-
* permission to copy the image. If the copy image permission is granted, the image is shared with that account.
|
|
29
|
-
* If the copy image permission is revoked, the image is unshared with the account.</p>
|
|
30
|
-
*
|
|
31
|
-
* <p>After an image has been shared, the recipient account can copy the image to other Regions as needed.</p>
|
|
32
|
-
*
|
|
33
|
-
* <p>In the China (Ningxia) Region, you can copy images only within the same Region.</p>
|
|
34
|
-
*
|
|
35
|
-
* <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.</p>
|
|
36
|
-
*
|
|
37
|
-
* <p>For more information about sharing images, see
|
|
38
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html">
|
|
39
|
-
* Share or Unshare a Custom WorkSpaces Image</a>.</p>
|
|
40
|
-
*
|
|
41
|
-
* <note>
|
|
42
|
-
* <ul>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>To delete an image that has been shared, you must unshare the image before you delete it.</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at
|
|
48
|
-
* this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in
|
|
49
|
-
* Amazon Web Services GovCloud (US), contact Amazon Web Services Support.</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* </ul>
|
|
52
|
-
* </note>
|
|
53
|
-
* @example
|
|
54
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
55
|
-
* ```javascript
|
|
56
|
-
* import { WorkSpacesClient, UpdateWorkspaceImagePermissionCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
|
|
57
|
-
* // const { WorkSpacesClient, UpdateWorkspaceImagePermissionCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
|
|
58
|
-
* const client = new WorkSpacesClient(config);
|
|
59
|
-
* const command = new UpdateWorkspaceImagePermissionCommand(input);
|
|
60
|
-
* const response = await client.send(command);
|
|
61
|
-
* ```
|
|
62
|
-
*
|
|
63
|
-
* @see {@link UpdateWorkspaceImagePermissionCommandInput} for command's `input` shape.
|
|
64
|
-
* @see {@link UpdateWorkspaceImagePermissionCommandOutput} for command's `response` shape.
|
|
65
|
-
* @see {@link WorkSpacesClientResolvedConfig | config} for command's `input` shape.
|
|
66
|
-
*
|
|
67
|
-
*/
|
|
68
|
-
export class UpdateWorkspaceImagePermissionCommand extends $Command<
|
|
69
|
-
UpdateWorkspaceImagePermissionCommandInput,
|
|
70
|
-
UpdateWorkspaceImagePermissionCommandOutput,
|
|
71
|
-
WorkSpacesClientResolvedConfig
|
|
72
|
-
> {
|
|
73
|
-
// Start section: command_properties
|
|
74
|
-
// End section: command_properties
|
|
75
|
-
|
|
76
|
-
constructor(readonly input: UpdateWorkspaceImagePermissionCommandInput) {
|
|
77
|
-
// Start section: command_constructor
|
|
78
|
-
super();
|
|
79
|
-
// End section: command_constructor
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
resolveMiddleware(
|
|
86
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
87
|
-
configuration: WorkSpacesClientResolvedConfig,
|
|
88
|
-
options?: __HttpHandlerOptions
|
|
89
|
-
): Handler<UpdateWorkspaceImagePermissionCommandInput, UpdateWorkspaceImagePermissionCommandOutput> {
|
|
90
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
91
|
-
|
|
92
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
93
|
-
|
|
94
|
-
const { logger } = configuration;
|
|
95
|
-
const clientName = "WorkSpacesClient";
|
|
96
|
-
const commandName = "UpdateWorkspaceImagePermissionCommand";
|
|
97
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
98
|
-
logger,
|
|
99
|
-
clientName,
|
|
100
|
-
commandName,
|
|
101
|
-
inputFilterSensitiveLog: UpdateWorkspaceImagePermissionRequest.filterSensitiveLog,
|
|
102
|
-
outputFilterSensitiveLog: UpdateWorkspaceImagePermissionResult.filterSensitiveLog,
|
|
103
|
-
};
|
|
104
|
-
const { requestHandler } = configuration;
|
|
105
|
-
return stack.resolve(
|
|
106
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
107
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
108
|
-
handlerExecutionContext
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
private serialize(
|
|
113
|
-
input: UpdateWorkspaceImagePermissionCommandInput,
|
|
114
|
-
context: __SerdeContext
|
|
115
|
-
): Promise<__HttpRequest> {
|
|
116
|
-
return serializeAws_json1_1UpdateWorkspaceImagePermissionCommand(input, context);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
private deserialize(
|
|
120
|
-
output: __HttpResponse,
|
|
121
|
-
context: __SerdeContext
|
|
122
|
-
): Promise<UpdateWorkspaceImagePermissionCommandOutput> {
|
|
123
|
-
return deserializeAws_json1_1UpdateWorkspaceImagePermissionCommand(output, context);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Start section: command_body_extra
|
|
127
|
-
// End section: command_body_extra
|
|
128
|
-
}
|
package/src/endpoints.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
3
|
-
|
|
4
|
-
const regionHash: RegionHash = {
|
|
5
|
-
"fips-us-east-1": {
|
|
6
|
-
hostname: "workspaces-fips.us-east-1.amazonaws.com",
|
|
7
|
-
signingRegion: "us-east-1",
|
|
8
|
-
},
|
|
9
|
-
"fips-us-gov-west-1": {
|
|
10
|
-
hostname: "workspaces-fips.us-gov-west-1.amazonaws.com",
|
|
11
|
-
signingRegion: "us-gov-west-1",
|
|
12
|
-
},
|
|
13
|
-
"fips-us-west-2": {
|
|
14
|
-
hostname: "workspaces-fips.us-west-2.amazonaws.com",
|
|
15
|
-
signingRegion: "us-west-2",
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
const partitionHash: PartitionHash = {
|
|
20
|
-
aws: {
|
|
21
|
-
regions: [
|
|
22
|
-
"af-south-1",
|
|
23
|
-
"ap-east-1",
|
|
24
|
-
"ap-northeast-1",
|
|
25
|
-
"ap-northeast-2",
|
|
26
|
-
"ap-northeast-3",
|
|
27
|
-
"ap-south-1",
|
|
28
|
-
"ap-southeast-1",
|
|
29
|
-
"ap-southeast-2",
|
|
30
|
-
"ca-central-1",
|
|
31
|
-
"eu-central-1",
|
|
32
|
-
"eu-north-1",
|
|
33
|
-
"eu-south-1",
|
|
34
|
-
"eu-west-1",
|
|
35
|
-
"eu-west-2",
|
|
36
|
-
"eu-west-3",
|
|
37
|
-
"fips-us-east-1",
|
|
38
|
-
"fips-us-west-2",
|
|
39
|
-
"me-south-1",
|
|
40
|
-
"sa-east-1",
|
|
41
|
-
"us-east-1",
|
|
42
|
-
"us-east-2",
|
|
43
|
-
"us-west-1",
|
|
44
|
-
"us-west-2",
|
|
45
|
-
],
|
|
46
|
-
hostname: "workspaces.{region}.amazonaws.com",
|
|
47
|
-
},
|
|
48
|
-
"aws-cn": {
|
|
49
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
50
|
-
hostname: "workspaces.{region}.amazonaws.com.cn",
|
|
51
|
-
},
|
|
52
|
-
"aws-iso": {
|
|
53
|
-
regions: ["us-iso-east-1"],
|
|
54
|
-
hostname: "workspaces.{region}.c2s.ic.gov",
|
|
55
|
-
},
|
|
56
|
-
"aws-iso-b": {
|
|
57
|
-
regions: ["us-isob-east-1"],
|
|
58
|
-
hostname: "workspaces.{region}.sc2s.sgov.gov",
|
|
59
|
-
},
|
|
60
|
-
"aws-us-gov": {
|
|
61
|
-
regions: ["fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
62
|
-
hostname: "workspaces.{region}.amazonaws.com",
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
|
|
67
|
-
getRegionInfo(region, {
|
|
68
|
-
...options,
|
|
69
|
-
signingService: "workspaces",
|
|
70
|
-
regionHash,
|
|
71
|
-
partitionHash,
|
|
72
|
-
});
|
package/src/index.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export * from "./WorkSpacesClient";
|
|
2
|
-
export * from "./WorkSpaces";
|
|
3
|
-
export * from "./commands/AssociateConnectionAliasCommand";
|
|
4
|
-
export * from "./commands/AssociateIpGroupsCommand";
|
|
5
|
-
export * from "./commands/AuthorizeIpRulesCommand";
|
|
6
|
-
export * from "./commands/CopyWorkspaceImageCommand";
|
|
7
|
-
export * from "./commands/CreateConnectionAliasCommand";
|
|
8
|
-
export * from "./commands/CreateIpGroupCommand";
|
|
9
|
-
export * from "./commands/CreateTagsCommand";
|
|
10
|
-
export * from "./commands/CreateUpdatedWorkspaceImageCommand";
|
|
11
|
-
export * from "./commands/CreateWorkspaceBundleCommand";
|
|
12
|
-
export * from "./commands/CreateWorkspacesCommand";
|
|
13
|
-
export * from "./commands/DeleteConnectionAliasCommand";
|
|
14
|
-
export * from "./commands/DeleteIpGroupCommand";
|
|
15
|
-
export * from "./commands/DeleteTagsCommand";
|
|
16
|
-
export * from "./commands/DeleteWorkspaceBundleCommand";
|
|
17
|
-
export * from "./commands/DeleteWorkspaceImageCommand";
|
|
18
|
-
export * from "./commands/DeregisterWorkspaceDirectoryCommand";
|
|
19
|
-
export * from "./commands/DescribeAccountCommand";
|
|
20
|
-
export * from "./commands/DescribeAccountModificationsCommand";
|
|
21
|
-
export * from "./commands/DescribeClientPropertiesCommand";
|
|
22
|
-
export * from "./commands/DescribeConnectionAliasesCommand";
|
|
23
|
-
export * from "./commands/DescribeConnectionAliasPermissionsCommand";
|
|
24
|
-
export * from "./commands/DescribeIpGroupsCommand";
|
|
25
|
-
export * from "./commands/DescribeTagsCommand";
|
|
26
|
-
export * from "./commands/DescribeWorkspaceBundlesCommand";
|
|
27
|
-
export * from "./pagination/DescribeWorkspaceBundlesPaginator";
|
|
28
|
-
export * from "./commands/DescribeWorkspaceDirectoriesCommand";
|
|
29
|
-
export * from "./pagination/DescribeWorkspaceDirectoriesPaginator";
|
|
30
|
-
export * from "./commands/DescribeWorkspaceImagePermissionsCommand";
|
|
31
|
-
export * from "./commands/DescribeWorkspaceImagesCommand";
|
|
32
|
-
export * from "./commands/DescribeWorkspacesCommand";
|
|
33
|
-
export * from "./pagination/DescribeWorkspacesPaginator";
|
|
34
|
-
export * from "./commands/DescribeWorkspacesConnectionStatusCommand";
|
|
35
|
-
export * from "./commands/DescribeWorkspaceSnapshotsCommand";
|
|
36
|
-
export * from "./commands/DisassociateConnectionAliasCommand";
|
|
37
|
-
export * from "./commands/DisassociateIpGroupsCommand";
|
|
38
|
-
export * from "./commands/ImportWorkspaceImageCommand";
|
|
39
|
-
export * from "./commands/ListAvailableManagementCidrRangesCommand";
|
|
40
|
-
export * from "./commands/MigrateWorkspaceCommand";
|
|
41
|
-
export * from "./commands/ModifyAccountCommand";
|
|
42
|
-
export * from "./commands/ModifyClientPropertiesCommand";
|
|
43
|
-
export * from "./commands/ModifySelfservicePermissionsCommand";
|
|
44
|
-
export * from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
45
|
-
export * from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
46
|
-
export * from "./commands/ModifyWorkspacePropertiesCommand";
|
|
47
|
-
export * from "./commands/ModifyWorkspaceStateCommand";
|
|
48
|
-
export * from "./commands/RebootWorkspacesCommand";
|
|
49
|
-
export * from "./commands/RebuildWorkspacesCommand";
|
|
50
|
-
export * from "./commands/RegisterWorkspaceDirectoryCommand";
|
|
51
|
-
export * from "./commands/RestoreWorkspaceCommand";
|
|
52
|
-
export * from "./commands/RevokeIpRulesCommand";
|
|
53
|
-
export * from "./commands/StartWorkspacesCommand";
|
|
54
|
-
export * from "./commands/StopWorkspacesCommand";
|
|
55
|
-
export * from "./commands/TerminateWorkspacesCommand";
|
|
56
|
-
export * from "./commands/UpdateConnectionAliasPermissionCommand";
|
|
57
|
-
export * from "./commands/UpdateRulesOfIpGroupCommand";
|
|
58
|
-
export * from "./commands/UpdateWorkspaceBundleCommand";
|
|
59
|
-
export * from "./commands/UpdateWorkspaceImagePermissionCommand";
|
|
60
|
-
export * from "./pagination/Interfaces";
|
|
61
|
-
export * from "./models/index";
|
package/src/models/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|