@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
package/src/WorkSpaces.ts
DELETED
|
@@ -1,2243 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
AssociateConnectionAliasCommand,
|
|
5
|
-
AssociateConnectionAliasCommandInput,
|
|
6
|
-
AssociateConnectionAliasCommandOutput,
|
|
7
|
-
} from "./commands/AssociateConnectionAliasCommand";
|
|
8
|
-
import {
|
|
9
|
-
AssociateIpGroupsCommand,
|
|
10
|
-
AssociateIpGroupsCommandInput,
|
|
11
|
-
AssociateIpGroupsCommandOutput,
|
|
12
|
-
} from "./commands/AssociateIpGroupsCommand";
|
|
13
|
-
import {
|
|
14
|
-
AuthorizeIpRulesCommand,
|
|
15
|
-
AuthorizeIpRulesCommandInput,
|
|
16
|
-
AuthorizeIpRulesCommandOutput,
|
|
17
|
-
} from "./commands/AuthorizeIpRulesCommand";
|
|
18
|
-
import {
|
|
19
|
-
CopyWorkspaceImageCommand,
|
|
20
|
-
CopyWorkspaceImageCommandInput,
|
|
21
|
-
CopyWorkspaceImageCommandOutput,
|
|
22
|
-
} from "./commands/CopyWorkspaceImageCommand";
|
|
23
|
-
import {
|
|
24
|
-
CreateConnectionAliasCommand,
|
|
25
|
-
CreateConnectionAliasCommandInput,
|
|
26
|
-
CreateConnectionAliasCommandOutput,
|
|
27
|
-
} from "./commands/CreateConnectionAliasCommand";
|
|
28
|
-
import {
|
|
29
|
-
CreateIpGroupCommand,
|
|
30
|
-
CreateIpGroupCommandInput,
|
|
31
|
-
CreateIpGroupCommandOutput,
|
|
32
|
-
} from "./commands/CreateIpGroupCommand";
|
|
33
|
-
import { CreateTagsCommand, CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
34
|
-
import {
|
|
35
|
-
CreateUpdatedWorkspaceImageCommand,
|
|
36
|
-
CreateUpdatedWorkspaceImageCommandInput,
|
|
37
|
-
CreateUpdatedWorkspaceImageCommandOutput,
|
|
38
|
-
} from "./commands/CreateUpdatedWorkspaceImageCommand";
|
|
39
|
-
import {
|
|
40
|
-
CreateWorkspaceBundleCommand,
|
|
41
|
-
CreateWorkspaceBundleCommandInput,
|
|
42
|
-
CreateWorkspaceBundleCommandOutput,
|
|
43
|
-
} from "./commands/CreateWorkspaceBundleCommand";
|
|
44
|
-
import {
|
|
45
|
-
CreateWorkspacesCommand,
|
|
46
|
-
CreateWorkspacesCommandInput,
|
|
47
|
-
CreateWorkspacesCommandOutput,
|
|
48
|
-
} from "./commands/CreateWorkspacesCommand";
|
|
49
|
-
import {
|
|
50
|
-
DeleteConnectionAliasCommand,
|
|
51
|
-
DeleteConnectionAliasCommandInput,
|
|
52
|
-
DeleteConnectionAliasCommandOutput,
|
|
53
|
-
} from "./commands/DeleteConnectionAliasCommand";
|
|
54
|
-
import {
|
|
55
|
-
DeleteIpGroupCommand,
|
|
56
|
-
DeleteIpGroupCommandInput,
|
|
57
|
-
DeleteIpGroupCommandOutput,
|
|
58
|
-
} from "./commands/DeleteIpGroupCommand";
|
|
59
|
-
import { DeleteTagsCommand, DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
|
|
60
|
-
import {
|
|
61
|
-
DeleteWorkspaceBundleCommand,
|
|
62
|
-
DeleteWorkspaceBundleCommandInput,
|
|
63
|
-
DeleteWorkspaceBundleCommandOutput,
|
|
64
|
-
} from "./commands/DeleteWorkspaceBundleCommand";
|
|
65
|
-
import {
|
|
66
|
-
DeleteWorkspaceImageCommand,
|
|
67
|
-
DeleteWorkspaceImageCommandInput,
|
|
68
|
-
DeleteWorkspaceImageCommandOutput,
|
|
69
|
-
} from "./commands/DeleteWorkspaceImageCommand";
|
|
70
|
-
import {
|
|
71
|
-
DeregisterWorkspaceDirectoryCommand,
|
|
72
|
-
DeregisterWorkspaceDirectoryCommandInput,
|
|
73
|
-
DeregisterWorkspaceDirectoryCommandOutput,
|
|
74
|
-
} from "./commands/DeregisterWorkspaceDirectoryCommand";
|
|
75
|
-
import {
|
|
76
|
-
DescribeAccountCommand,
|
|
77
|
-
DescribeAccountCommandInput,
|
|
78
|
-
DescribeAccountCommandOutput,
|
|
79
|
-
} from "./commands/DescribeAccountCommand";
|
|
80
|
-
import {
|
|
81
|
-
DescribeAccountModificationsCommand,
|
|
82
|
-
DescribeAccountModificationsCommandInput,
|
|
83
|
-
DescribeAccountModificationsCommandOutput,
|
|
84
|
-
} from "./commands/DescribeAccountModificationsCommand";
|
|
85
|
-
import {
|
|
86
|
-
DescribeClientPropertiesCommand,
|
|
87
|
-
DescribeClientPropertiesCommandInput,
|
|
88
|
-
DescribeClientPropertiesCommandOutput,
|
|
89
|
-
} from "./commands/DescribeClientPropertiesCommand";
|
|
90
|
-
import {
|
|
91
|
-
DescribeConnectionAliasesCommand,
|
|
92
|
-
DescribeConnectionAliasesCommandInput,
|
|
93
|
-
DescribeConnectionAliasesCommandOutput,
|
|
94
|
-
} from "./commands/DescribeConnectionAliasesCommand";
|
|
95
|
-
import {
|
|
96
|
-
DescribeConnectionAliasPermissionsCommand,
|
|
97
|
-
DescribeConnectionAliasPermissionsCommandInput,
|
|
98
|
-
DescribeConnectionAliasPermissionsCommandOutput,
|
|
99
|
-
} from "./commands/DescribeConnectionAliasPermissionsCommand";
|
|
100
|
-
import {
|
|
101
|
-
DescribeIpGroupsCommand,
|
|
102
|
-
DescribeIpGroupsCommandInput,
|
|
103
|
-
DescribeIpGroupsCommandOutput,
|
|
104
|
-
} from "./commands/DescribeIpGroupsCommand";
|
|
105
|
-
import {
|
|
106
|
-
DescribeTagsCommand,
|
|
107
|
-
DescribeTagsCommandInput,
|
|
108
|
-
DescribeTagsCommandOutput,
|
|
109
|
-
} from "./commands/DescribeTagsCommand";
|
|
110
|
-
import {
|
|
111
|
-
DescribeWorkspaceBundlesCommand,
|
|
112
|
-
DescribeWorkspaceBundlesCommandInput,
|
|
113
|
-
DescribeWorkspaceBundlesCommandOutput,
|
|
114
|
-
} from "./commands/DescribeWorkspaceBundlesCommand";
|
|
115
|
-
import {
|
|
116
|
-
DescribeWorkspaceDirectoriesCommand,
|
|
117
|
-
DescribeWorkspaceDirectoriesCommandInput,
|
|
118
|
-
DescribeWorkspaceDirectoriesCommandOutput,
|
|
119
|
-
} from "./commands/DescribeWorkspaceDirectoriesCommand";
|
|
120
|
-
import {
|
|
121
|
-
DescribeWorkspaceImagePermissionsCommand,
|
|
122
|
-
DescribeWorkspaceImagePermissionsCommandInput,
|
|
123
|
-
DescribeWorkspaceImagePermissionsCommandOutput,
|
|
124
|
-
} from "./commands/DescribeWorkspaceImagePermissionsCommand";
|
|
125
|
-
import {
|
|
126
|
-
DescribeWorkspaceImagesCommand,
|
|
127
|
-
DescribeWorkspaceImagesCommandInput,
|
|
128
|
-
DescribeWorkspaceImagesCommandOutput,
|
|
129
|
-
} from "./commands/DescribeWorkspaceImagesCommand";
|
|
130
|
-
import {
|
|
131
|
-
DescribeWorkspacesCommand,
|
|
132
|
-
DescribeWorkspacesCommandInput,
|
|
133
|
-
DescribeWorkspacesCommandOutput,
|
|
134
|
-
} from "./commands/DescribeWorkspacesCommand";
|
|
135
|
-
import {
|
|
136
|
-
DescribeWorkspacesConnectionStatusCommand,
|
|
137
|
-
DescribeWorkspacesConnectionStatusCommandInput,
|
|
138
|
-
DescribeWorkspacesConnectionStatusCommandOutput,
|
|
139
|
-
} from "./commands/DescribeWorkspacesConnectionStatusCommand";
|
|
140
|
-
import {
|
|
141
|
-
DescribeWorkspaceSnapshotsCommand,
|
|
142
|
-
DescribeWorkspaceSnapshotsCommandInput,
|
|
143
|
-
DescribeWorkspaceSnapshotsCommandOutput,
|
|
144
|
-
} from "./commands/DescribeWorkspaceSnapshotsCommand";
|
|
145
|
-
import {
|
|
146
|
-
DisassociateConnectionAliasCommand,
|
|
147
|
-
DisassociateConnectionAliasCommandInput,
|
|
148
|
-
DisassociateConnectionAliasCommandOutput,
|
|
149
|
-
} from "./commands/DisassociateConnectionAliasCommand";
|
|
150
|
-
import {
|
|
151
|
-
DisassociateIpGroupsCommand,
|
|
152
|
-
DisassociateIpGroupsCommandInput,
|
|
153
|
-
DisassociateIpGroupsCommandOutput,
|
|
154
|
-
} from "./commands/DisassociateIpGroupsCommand";
|
|
155
|
-
import {
|
|
156
|
-
ImportWorkspaceImageCommand,
|
|
157
|
-
ImportWorkspaceImageCommandInput,
|
|
158
|
-
ImportWorkspaceImageCommandOutput,
|
|
159
|
-
} from "./commands/ImportWorkspaceImageCommand";
|
|
160
|
-
import {
|
|
161
|
-
ListAvailableManagementCidrRangesCommand,
|
|
162
|
-
ListAvailableManagementCidrRangesCommandInput,
|
|
163
|
-
ListAvailableManagementCidrRangesCommandOutput,
|
|
164
|
-
} from "./commands/ListAvailableManagementCidrRangesCommand";
|
|
165
|
-
import {
|
|
166
|
-
MigrateWorkspaceCommand,
|
|
167
|
-
MigrateWorkspaceCommandInput,
|
|
168
|
-
MigrateWorkspaceCommandOutput,
|
|
169
|
-
} from "./commands/MigrateWorkspaceCommand";
|
|
170
|
-
import {
|
|
171
|
-
ModifyAccountCommand,
|
|
172
|
-
ModifyAccountCommandInput,
|
|
173
|
-
ModifyAccountCommandOutput,
|
|
174
|
-
} from "./commands/ModifyAccountCommand";
|
|
175
|
-
import {
|
|
176
|
-
ModifyClientPropertiesCommand,
|
|
177
|
-
ModifyClientPropertiesCommandInput,
|
|
178
|
-
ModifyClientPropertiesCommandOutput,
|
|
179
|
-
} from "./commands/ModifyClientPropertiesCommand";
|
|
180
|
-
import {
|
|
181
|
-
ModifySelfservicePermissionsCommand,
|
|
182
|
-
ModifySelfservicePermissionsCommandInput,
|
|
183
|
-
ModifySelfservicePermissionsCommandOutput,
|
|
184
|
-
} from "./commands/ModifySelfservicePermissionsCommand";
|
|
185
|
-
import {
|
|
186
|
-
ModifyWorkspaceAccessPropertiesCommand,
|
|
187
|
-
ModifyWorkspaceAccessPropertiesCommandInput,
|
|
188
|
-
ModifyWorkspaceAccessPropertiesCommandOutput,
|
|
189
|
-
} from "./commands/ModifyWorkspaceAccessPropertiesCommand";
|
|
190
|
-
import {
|
|
191
|
-
ModifyWorkspaceCreationPropertiesCommand,
|
|
192
|
-
ModifyWorkspaceCreationPropertiesCommandInput,
|
|
193
|
-
ModifyWorkspaceCreationPropertiesCommandOutput,
|
|
194
|
-
} from "./commands/ModifyWorkspaceCreationPropertiesCommand";
|
|
195
|
-
import {
|
|
196
|
-
ModifyWorkspacePropertiesCommand,
|
|
197
|
-
ModifyWorkspacePropertiesCommandInput,
|
|
198
|
-
ModifyWorkspacePropertiesCommandOutput,
|
|
199
|
-
} from "./commands/ModifyWorkspacePropertiesCommand";
|
|
200
|
-
import {
|
|
201
|
-
ModifyWorkspaceStateCommand,
|
|
202
|
-
ModifyWorkspaceStateCommandInput,
|
|
203
|
-
ModifyWorkspaceStateCommandOutput,
|
|
204
|
-
} from "./commands/ModifyWorkspaceStateCommand";
|
|
205
|
-
import {
|
|
206
|
-
RebootWorkspacesCommand,
|
|
207
|
-
RebootWorkspacesCommandInput,
|
|
208
|
-
RebootWorkspacesCommandOutput,
|
|
209
|
-
} from "./commands/RebootWorkspacesCommand";
|
|
210
|
-
import {
|
|
211
|
-
RebuildWorkspacesCommand,
|
|
212
|
-
RebuildWorkspacesCommandInput,
|
|
213
|
-
RebuildWorkspacesCommandOutput,
|
|
214
|
-
} from "./commands/RebuildWorkspacesCommand";
|
|
215
|
-
import {
|
|
216
|
-
RegisterWorkspaceDirectoryCommand,
|
|
217
|
-
RegisterWorkspaceDirectoryCommandInput,
|
|
218
|
-
RegisterWorkspaceDirectoryCommandOutput,
|
|
219
|
-
} from "./commands/RegisterWorkspaceDirectoryCommand";
|
|
220
|
-
import {
|
|
221
|
-
RestoreWorkspaceCommand,
|
|
222
|
-
RestoreWorkspaceCommandInput,
|
|
223
|
-
RestoreWorkspaceCommandOutput,
|
|
224
|
-
} from "./commands/RestoreWorkspaceCommand";
|
|
225
|
-
import {
|
|
226
|
-
RevokeIpRulesCommand,
|
|
227
|
-
RevokeIpRulesCommandInput,
|
|
228
|
-
RevokeIpRulesCommandOutput,
|
|
229
|
-
} from "./commands/RevokeIpRulesCommand";
|
|
230
|
-
import {
|
|
231
|
-
StartWorkspacesCommand,
|
|
232
|
-
StartWorkspacesCommandInput,
|
|
233
|
-
StartWorkspacesCommandOutput,
|
|
234
|
-
} from "./commands/StartWorkspacesCommand";
|
|
235
|
-
import {
|
|
236
|
-
StopWorkspacesCommand,
|
|
237
|
-
StopWorkspacesCommandInput,
|
|
238
|
-
StopWorkspacesCommandOutput,
|
|
239
|
-
} from "./commands/StopWorkspacesCommand";
|
|
240
|
-
import {
|
|
241
|
-
TerminateWorkspacesCommand,
|
|
242
|
-
TerminateWorkspacesCommandInput,
|
|
243
|
-
TerminateWorkspacesCommandOutput,
|
|
244
|
-
} from "./commands/TerminateWorkspacesCommand";
|
|
245
|
-
import {
|
|
246
|
-
UpdateConnectionAliasPermissionCommand,
|
|
247
|
-
UpdateConnectionAliasPermissionCommandInput,
|
|
248
|
-
UpdateConnectionAliasPermissionCommandOutput,
|
|
249
|
-
} from "./commands/UpdateConnectionAliasPermissionCommand";
|
|
250
|
-
import {
|
|
251
|
-
UpdateRulesOfIpGroupCommand,
|
|
252
|
-
UpdateRulesOfIpGroupCommandInput,
|
|
253
|
-
UpdateRulesOfIpGroupCommandOutput,
|
|
254
|
-
} from "./commands/UpdateRulesOfIpGroupCommand";
|
|
255
|
-
import {
|
|
256
|
-
UpdateWorkspaceBundleCommand,
|
|
257
|
-
UpdateWorkspaceBundleCommandInput,
|
|
258
|
-
UpdateWorkspaceBundleCommandOutput,
|
|
259
|
-
} from "./commands/UpdateWorkspaceBundleCommand";
|
|
260
|
-
import {
|
|
261
|
-
UpdateWorkspaceImagePermissionCommand,
|
|
262
|
-
UpdateWorkspaceImagePermissionCommandInput,
|
|
263
|
-
UpdateWorkspaceImagePermissionCommandOutput,
|
|
264
|
-
} from "./commands/UpdateWorkspaceImagePermissionCommand";
|
|
265
|
-
import { WorkSpacesClient } from "./WorkSpacesClient";
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* <fullname>Amazon WorkSpaces Service</fullname>
|
|
269
|
-
* <p>Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows and
|
|
270
|
-
* Amazon Linux desktops for your users.</p>
|
|
271
|
-
*/
|
|
272
|
-
export class WorkSpaces extends WorkSpacesClient {
|
|
273
|
-
/**
|
|
274
|
-
* <p>Associates the specified connection alias with the specified directory to enable cross-Region redirection.
|
|
275
|
-
* For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
276
|
-
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
277
|
-
*
|
|
278
|
-
* <note>
|
|
279
|
-
* <p>Before performing this operation, call <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html">
|
|
280
|
-
* DescribeConnectionAliases</a> to make sure that the current state of the connection alias is <code>CREATED</code>.</p>
|
|
281
|
-
* </note>
|
|
282
|
-
*/
|
|
283
|
-
public associateConnectionAlias(
|
|
284
|
-
args: AssociateConnectionAliasCommandInput,
|
|
285
|
-
options?: __HttpHandlerOptions
|
|
286
|
-
): Promise<AssociateConnectionAliasCommandOutput>;
|
|
287
|
-
public associateConnectionAlias(
|
|
288
|
-
args: AssociateConnectionAliasCommandInput,
|
|
289
|
-
cb: (err: any, data?: AssociateConnectionAliasCommandOutput) => void
|
|
290
|
-
): void;
|
|
291
|
-
public associateConnectionAlias(
|
|
292
|
-
args: AssociateConnectionAliasCommandInput,
|
|
293
|
-
options: __HttpHandlerOptions,
|
|
294
|
-
cb: (err: any, data?: AssociateConnectionAliasCommandOutput) => void
|
|
295
|
-
): void;
|
|
296
|
-
public associateConnectionAlias(
|
|
297
|
-
args: AssociateConnectionAliasCommandInput,
|
|
298
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateConnectionAliasCommandOutput) => void),
|
|
299
|
-
cb?: (err: any, data?: AssociateConnectionAliasCommandOutput) => void
|
|
300
|
-
): Promise<AssociateConnectionAliasCommandOutput> | void {
|
|
301
|
-
const command = new AssociateConnectionAliasCommand(args);
|
|
302
|
-
if (typeof optionsOrCb === "function") {
|
|
303
|
-
this.send(command, optionsOrCb);
|
|
304
|
-
} else if (typeof cb === "function") {
|
|
305
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
306
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
307
|
-
} else {
|
|
308
|
-
return this.send(command, optionsOrCb);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* <p>Associates the specified IP access control group with the specified directory.</p>
|
|
314
|
-
*/
|
|
315
|
-
public associateIpGroups(
|
|
316
|
-
args: AssociateIpGroupsCommandInput,
|
|
317
|
-
options?: __HttpHandlerOptions
|
|
318
|
-
): Promise<AssociateIpGroupsCommandOutput>;
|
|
319
|
-
public associateIpGroups(
|
|
320
|
-
args: AssociateIpGroupsCommandInput,
|
|
321
|
-
cb: (err: any, data?: AssociateIpGroupsCommandOutput) => void
|
|
322
|
-
): void;
|
|
323
|
-
public associateIpGroups(
|
|
324
|
-
args: AssociateIpGroupsCommandInput,
|
|
325
|
-
options: __HttpHandlerOptions,
|
|
326
|
-
cb: (err: any, data?: AssociateIpGroupsCommandOutput) => void
|
|
327
|
-
): void;
|
|
328
|
-
public associateIpGroups(
|
|
329
|
-
args: AssociateIpGroupsCommandInput,
|
|
330
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateIpGroupsCommandOutput) => void),
|
|
331
|
-
cb?: (err: any, data?: AssociateIpGroupsCommandOutput) => void
|
|
332
|
-
): Promise<AssociateIpGroupsCommandOutput> | void {
|
|
333
|
-
const command = new AssociateIpGroupsCommand(args);
|
|
334
|
-
if (typeof optionsOrCb === "function") {
|
|
335
|
-
this.send(command, optionsOrCb);
|
|
336
|
-
} else if (typeof cb === "function") {
|
|
337
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
338
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
339
|
-
} else {
|
|
340
|
-
return this.send(command, optionsOrCb);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* <p>Adds one or more rules to the specified IP access control group.</p>
|
|
346
|
-
* <p>This action gives users permission to access their WorkSpaces from the CIDR address
|
|
347
|
-
* ranges specified in the rules.</p>
|
|
348
|
-
*/
|
|
349
|
-
public authorizeIpRules(
|
|
350
|
-
args: AuthorizeIpRulesCommandInput,
|
|
351
|
-
options?: __HttpHandlerOptions
|
|
352
|
-
): Promise<AuthorizeIpRulesCommandOutput>;
|
|
353
|
-
public authorizeIpRules(
|
|
354
|
-
args: AuthorizeIpRulesCommandInput,
|
|
355
|
-
cb: (err: any, data?: AuthorizeIpRulesCommandOutput) => void
|
|
356
|
-
): void;
|
|
357
|
-
public authorizeIpRules(
|
|
358
|
-
args: AuthorizeIpRulesCommandInput,
|
|
359
|
-
options: __HttpHandlerOptions,
|
|
360
|
-
cb: (err: any, data?: AuthorizeIpRulesCommandOutput) => void
|
|
361
|
-
): void;
|
|
362
|
-
public authorizeIpRules(
|
|
363
|
-
args: AuthorizeIpRulesCommandInput,
|
|
364
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AuthorizeIpRulesCommandOutput) => void),
|
|
365
|
-
cb?: (err: any, data?: AuthorizeIpRulesCommandOutput) => void
|
|
366
|
-
): Promise<AuthorizeIpRulesCommandOutput> | void {
|
|
367
|
-
const command = new AuthorizeIpRulesCommand(args);
|
|
368
|
-
if (typeof optionsOrCb === "function") {
|
|
369
|
-
this.send(command, optionsOrCb);
|
|
370
|
-
} else if (typeof cb === "function") {
|
|
371
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
372
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
373
|
-
} else {
|
|
374
|
-
return this.send(command, optionsOrCb);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* <p>Copies the specified image from the specified Region to the current Region.
|
|
380
|
-
* For more information about copying images, see
|
|
381
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/copy-custom-image.html">
|
|
382
|
-
* Copy a Custom WorkSpaces Image</a>.</p>
|
|
383
|
-
*
|
|
384
|
-
* <p>In the China (Ningxia) Region, you can copy images only within the same Region.</p>
|
|
385
|
-
*
|
|
386
|
-
* <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.</p>
|
|
387
|
-
*
|
|
388
|
-
* <important>
|
|
389
|
-
* <p>Before copying a shared image, be sure to verify that it has been shared from the
|
|
390
|
-
* correct Amazon Web Services account. To determine if an image has been shared and to see the
|
|
391
|
-
* ID of the Amazon Web Services account that owns an image, use the <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImages.html">DescribeWorkSpaceImages</a> and <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImagePermissions.html">DescribeWorkspaceImagePermissions</a> API operations. </p>
|
|
392
|
-
* </important>
|
|
393
|
-
*/
|
|
394
|
-
public copyWorkspaceImage(
|
|
395
|
-
args: CopyWorkspaceImageCommandInput,
|
|
396
|
-
options?: __HttpHandlerOptions
|
|
397
|
-
): Promise<CopyWorkspaceImageCommandOutput>;
|
|
398
|
-
public copyWorkspaceImage(
|
|
399
|
-
args: CopyWorkspaceImageCommandInput,
|
|
400
|
-
cb: (err: any, data?: CopyWorkspaceImageCommandOutput) => void
|
|
401
|
-
): void;
|
|
402
|
-
public copyWorkspaceImage(
|
|
403
|
-
args: CopyWorkspaceImageCommandInput,
|
|
404
|
-
options: __HttpHandlerOptions,
|
|
405
|
-
cb: (err: any, data?: CopyWorkspaceImageCommandOutput) => void
|
|
406
|
-
): void;
|
|
407
|
-
public copyWorkspaceImage(
|
|
408
|
-
args: CopyWorkspaceImageCommandInput,
|
|
409
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CopyWorkspaceImageCommandOutput) => void),
|
|
410
|
-
cb?: (err: any, data?: CopyWorkspaceImageCommandOutput) => void
|
|
411
|
-
): Promise<CopyWorkspaceImageCommandOutput> | void {
|
|
412
|
-
const command = new CopyWorkspaceImageCommand(args);
|
|
413
|
-
if (typeof optionsOrCb === "function") {
|
|
414
|
-
this.send(command, optionsOrCb);
|
|
415
|
-
} else if (typeof cb === "function") {
|
|
416
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
417
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
418
|
-
} else {
|
|
419
|
-
return this.send(command, optionsOrCb);
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
* <p>Creates the specified connection alias for use with cross-Region redirection. For more information, see
|
|
425
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
426
|
-
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
427
|
-
*/
|
|
428
|
-
public createConnectionAlias(
|
|
429
|
-
args: CreateConnectionAliasCommandInput,
|
|
430
|
-
options?: __HttpHandlerOptions
|
|
431
|
-
): Promise<CreateConnectionAliasCommandOutput>;
|
|
432
|
-
public createConnectionAlias(
|
|
433
|
-
args: CreateConnectionAliasCommandInput,
|
|
434
|
-
cb: (err: any, data?: CreateConnectionAliasCommandOutput) => void
|
|
435
|
-
): void;
|
|
436
|
-
public createConnectionAlias(
|
|
437
|
-
args: CreateConnectionAliasCommandInput,
|
|
438
|
-
options: __HttpHandlerOptions,
|
|
439
|
-
cb: (err: any, data?: CreateConnectionAliasCommandOutput) => void
|
|
440
|
-
): void;
|
|
441
|
-
public createConnectionAlias(
|
|
442
|
-
args: CreateConnectionAliasCommandInput,
|
|
443
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateConnectionAliasCommandOutput) => void),
|
|
444
|
-
cb?: (err: any, data?: CreateConnectionAliasCommandOutput) => void
|
|
445
|
-
): Promise<CreateConnectionAliasCommandOutput> | void {
|
|
446
|
-
const command = new CreateConnectionAliasCommand(args);
|
|
447
|
-
if (typeof optionsOrCb === "function") {
|
|
448
|
-
this.send(command, optionsOrCb);
|
|
449
|
-
} else if (typeof cb === "function") {
|
|
450
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
451
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
452
|
-
} else {
|
|
453
|
-
return this.send(command, optionsOrCb);
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* <p>Creates an IP access control group.</p>
|
|
459
|
-
* <p>An IP access control group provides you with the ability to control the IP addresses
|
|
460
|
-
* from which users are allowed to access their WorkSpaces. To specify the CIDR address
|
|
461
|
-
* ranges, add rules to your IP access control group and then associate the group with your
|
|
462
|
-
* directory. You can add rules when you create the group or at any time using <a>AuthorizeIpRules</a>.</p>
|
|
463
|
-
*
|
|
464
|
-
* <p>There is a default IP access control group associated with your directory. If you don't
|
|
465
|
-
* associate an IP access control group with your directory, the default group is used. The
|
|
466
|
-
* default group includes a default rule that allows users to access their WorkSpaces from
|
|
467
|
-
* anywhere. You cannot modify the default IP access control group for your directory.</p>
|
|
468
|
-
*/
|
|
469
|
-
public createIpGroup(
|
|
470
|
-
args: CreateIpGroupCommandInput,
|
|
471
|
-
options?: __HttpHandlerOptions
|
|
472
|
-
): Promise<CreateIpGroupCommandOutput>;
|
|
473
|
-
public createIpGroup(
|
|
474
|
-
args: CreateIpGroupCommandInput,
|
|
475
|
-
cb: (err: any, data?: CreateIpGroupCommandOutput) => void
|
|
476
|
-
): void;
|
|
477
|
-
public createIpGroup(
|
|
478
|
-
args: CreateIpGroupCommandInput,
|
|
479
|
-
options: __HttpHandlerOptions,
|
|
480
|
-
cb: (err: any, data?: CreateIpGroupCommandOutput) => void
|
|
481
|
-
): void;
|
|
482
|
-
public createIpGroup(
|
|
483
|
-
args: CreateIpGroupCommandInput,
|
|
484
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateIpGroupCommandOutput) => void),
|
|
485
|
-
cb?: (err: any, data?: CreateIpGroupCommandOutput) => void
|
|
486
|
-
): Promise<CreateIpGroupCommandOutput> | void {
|
|
487
|
-
const command = new CreateIpGroupCommand(args);
|
|
488
|
-
if (typeof optionsOrCb === "function") {
|
|
489
|
-
this.send(command, optionsOrCb);
|
|
490
|
-
} else if (typeof cb === "function") {
|
|
491
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
492
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
493
|
-
} else {
|
|
494
|
-
return this.send(command, optionsOrCb);
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* <p>Creates the specified tags for the specified WorkSpaces resource.</p>
|
|
500
|
-
*/
|
|
501
|
-
public createTags(args: CreateTagsCommandInput, options?: __HttpHandlerOptions): Promise<CreateTagsCommandOutput>;
|
|
502
|
-
public createTags(args: CreateTagsCommandInput, cb: (err: any, data?: CreateTagsCommandOutput) => void): void;
|
|
503
|
-
public createTags(
|
|
504
|
-
args: CreateTagsCommandInput,
|
|
505
|
-
options: __HttpHandlerOptions,
|
|
506
|
-
cb: (err: any, data?: CreateTagsCommandOutput) => void
|
|
507
|
-
): void;
|
|
508
|
-
public createTags(
|
|
509
|
-
args: CreateTagsCommandInput,
|
|
510
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateTagsCommandOutput) => void),
|
|
511
|
-
cb?: (err: any, data?: CreateTagsCommandOutput) => void
|
|
512
|
-
): Promise<CreateTagsCommandOutput> | void {
|
|
513
|
-
const command = new CreateTagsCommand(args);
|
|
514
|
-
if (typeof optionsOrCb === "function") {
|
|
515
|
-
this.send(command, optionsOrCb);
|
|
516
|
-
} else if (typeof cb === "function") {
|
|
517
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
518
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
519
|
-
} else {
|
|
520
|
-
return this.send(command, optionsOrCb);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* <p>Creates a new updated WorkSpace image based on the specified source image. The
|
|
526
|
-
* new updated WorkSpace image has the latest drivers and other updates required by
|
|
527
|
-
* the Amazon WorkSpaces components.</p>
|
|
528
|
-
*
|
|
529
|
-
* <p>To determine which WorkSpace images need to be updated with the latest Amazon
|
|
530
|
-
* WorkSpaces requirements, use
|
|
531
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImages.html">
|
|
532
|
-
* DescribeWorkspaceImages</a>.</p>
|
|
533
|
-
*
|
|
534
|
-
* <note>
|
|
535
|
-
* <ul>
|
|
536
|
-
* <li>
|
|
537
|
-
* <p>Only Windows 10 WorkSpace images can be programmatically updated at this time.</p>
|
|
538
|
-
* </li>
|
|
539
|
-
* <li>
|
|
540
|
-
* <p>Microsoft Windows updates and other application updates are not included
|
|
541
|
-
* in the update process.</p>
|
|
542
|
-
* </li>
|
|
543
|
-
* <li>
|
|
544
|
-
* <p>The source WorkSpace image is not deleted. You can delete the source image after you've
|
|
545
|
-
* verified your new updated image and created a new bundle. </p>
|
|
546
|
-
* </li>
|
|
547
|
-
* </ul>
|
|
548
|
-
* </note>
|
|
549
|
-
*/
|
|
550
|
-
public createUpdatedWorkspaceImage(
|
|
551
|
-
args: CreateUpdatedWorkspaceImageCommandInput,
|
|
552
|
-
options?: __HttpHandlerOptions
|
|
553
|
-
): Promise<CreateUpdatedWorkspaceImageCommandOutput>;
|
|
554
|
-
public createUpdatedWorkspaceImage(
|
|
555
|
-
args: CreateUpdatedWorkspaceImageCommandInput,
|
|
556
|
-
cb: (err: any, data?: CreateUpdatedWorkspaceImageCommandOutput) => void
|
|
557
|
-
): void;
|
|
558
|
-
public createUpdatedWorkspaceImage(
|
|
559
|
-
args: CreateUpdatedWorkspaceImageCommandInput,
|
|
560
|
-
options: __HttpHandlerOptions,
|
|
561
|
-
cb: (err: any, data?: CreateUpdatedWorkspaceImageCommandOutput) => void
|
|
562
|
-
): void;
|
|
563
|
-
public createUpdatedWorkspaceImage(
|
|
564
|
-
args: CreateUpdatedWorkspaceImageCommandInput,
|
|
565
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateUpdatedWorkspaceImageCommandOutput) => void),
|
|
566
|
-
cb?: (err: any, data?: CreateUpdatedWorkspaceImageCommandOutput) => void
|
|
567
|
-
): Promise<CreateUpdatedWorkspaceImageCommandOutput> | void {
|
|
568
|
-
const command = new CreateUpdatedWorkspaceImageCommand(args);
|
|
569
|
-
if (typeof optionsOrCb === "function") {
|
|
570
|
-
this.send(command, optionsOrCb);
|
|
571
|
-
} else if (typeof cb === "function") {
|
|
572
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
573
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
574
|
-
} else {
|
|
575
|
-
return this.send(command, optionsOrCb);
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* <p>Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see
|
|
581
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/create-custom-bundle.html">
|
|
582
|
-
* Create a Custom WorkSpaces Image and Bundle</a>.</p>
|
|
583
|
-
*/
|
|
584
|
-
public createWorkspaceBundle(
|
|
585
|
-
args: CreateWorkspaceBundleCommandInput,
|
|
586
|
-
options?: __HttpHandlerOptions
|
|
587
|
-
): Promise<CreateWorkspaceBundleCommandOutput>;
|
|
588
|
-
public createWorkspaceBundle(
|
|
589
|
-
args: CreateWorkspaceBundleCommandInput,
|
|
590
|
-
cb: (err: any, data?: CreateWorkspaceBundleCommandOutput) => void
|
|
591
|
-
): void;
|
|
592
|
-
public createWorkspaceBundle(
|
|
593
|
-
args: CreateWorkspaceBundleCommandInput,
|
|
594
|
-
options: __HttpHandlerOptions,
|
|
595
|
-
cb: (err: any, data?: CreateWorkspaceBundleCommandOutput) => void
|
|
596
|
-
): void;
|
|
597
|
-
public createWorkspaceBundle(
|
|
598
|
-
args: CreateWorkspaceBundleCommandInput,
|
|
599
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWorkspaceBundleCommandOutput) => void),
|
|
600
|
-
cb?: (err: any, data?: CreateWorkspaceBundleCommandOutput) => void
|
|
601
|
-
): Promise<CreateWorkspaceBundleCommandOutput> | void {
|
|
602
|
-
const command = new CreateWorkspaceBundleCommand(args);
|
|
603
|
-
if (typeof optionsOrCb === "function") {
|
|
604
|
-
this.send(command, optionsOrCb);
|
|
605
|
-
} else if (typeof cb === "function") {
|
|
606
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
607
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
608
|
-
} else {
|
|
609
|
-
return this.send(command, optionsOrCb);
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
/**
|
|
614
|
-
* <p>Creates one or more WorkSpaces.</p>
|
|
615
|
-
* <p>This operation is asynchronous and returns before the WorkSpaces are created.</p>
|
|
616
|
-
*/
|
|
617
|
-
public createWorkspaces(
|
|
618
|
-
args: CreateWorkspacesCommandInput,
|
|
619
|
-
options?: __HttpHandlerOptions
|
|
620
|
-
): Promise<CreateWorkspacesCommandOutput>;
|
|
621
|
-
public createWorkspaces(
|
|
622
|
-
args: CreateWorkspacesCommandInput,
|
|
623
|
-
cb: (err: any, data?: CreateWorkspacesCommandOutput) => void
|
|
624
|
-
): void;
|
|
625
|
-
public createWorkspaces(
|
|
626
|
-
args: CreateWorkspacesCommandInput,
|
|
627
|
-
options: __HttpHandlerOptions,
|
|
628
|
-
cb: (err: any, data?: CreateWorkspacesCommandOutput) => void
|
|
629
|
-
): void;
|
|
630
|
-
public createWorkspaces(
|
|
631
|
-
args: CreateWorkspacesCommandInput,
|
|
632
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateWorkspacesCommandOutput) => void),
|
|
633
|
-
cb?: (err: any, data?: CreateWorkspacesCommandOutput) => void
|
|
634
|
-
): Promise<CreateWorkspacesCommandOutput> | void {
|
|
635
|
-
const command = new CreateWorkspacesCommand(args);
|
|
636
|
-
if (typeof optionsOrCb === "function") {
|
|
637
|
-
this.send(command, optionsOrCb);
|
|
638
|
-
} else if (typeof cb === "function") {
|
|
639
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
640
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
641
|
-
} else {
|
|
642
|
-
return this.send(command, optionsOrCb);
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/**
|
|
647
|
-
* <p>Deletes the specified connection alias. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
648
|
-
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
649
|
-
*
|
|
650
|
-
* <important>
|
|
651
|
-
* <p>
|
|
652
|
-
* <b>If you will no longer be using a fully qualified domain name (FQDN) as the registration code
|
|
653
|
-
* for your WorkSpaces users, you must take certain precautions to prevent potential security issues.</b>
|
|
654
|
-
* For more information, see
|
|
655
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html#cross-region-redirection-security-considerations">
|
|
656
|
-
* Security Considerations if You Stop Using Cross-Region Redirection</a>.</p>
|
|
657
|
-
* </important>
|
|
658
|
-
*
|
|
659
|
-
* <note>
|
|
660
|
-
* <p>To delete a connection alias that has been shared, the shared account must first disassociate the connection alias
|
|
661
|
-
* from any directories it has been associated with. Then you must unshare the connection alias from the account it has
|
|
662
|
-
* been shared with. You can delete a connection alias only after it is no longer shared with any accounts or
|
|
663
|
-
* associated with any directories.</p>
|
|
664
|
-
* </note>
|
|
665
|
-
*/
|
|
666
|
-
public deleteConnectionAlias(
|
|
667
|
-
args: DeleteConnectionAliasCommandInput,
|
|
668
|
-
options?: __HttpHandlerOptions
|
|
669
|
-
): Promise<DeleteConnectionAliasCommandOutput>;
|
|
670
|
-
public deleteConnectionAlias(
|
|
671
|
-
args: DeleteConnectionAliasCommandInput,
|
|
672
|
-
cb: (err: any, data?: DeleteConnectionAliasCommandOutput) => void
|
|
673
|
-
): void;
|
|
674
|
-
public deleteConnectionAlias(
|
|
675
|
-
args: DeleteConnectionAliasCommandInput,
|
|
676
|
-
options: __HttpHandlerOptions,
|
|
677
|
-
cb: (err: any, data?: DeleteConnectionAliasCommandOutput) => void
|
|
678
|
-
): void;
|
|
679
|
-
public deleteConnectionAlias(
|
|
680
|
-
args: DeleteConnectionAliasCommandInput,
|
|
681
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteConnectionAliasCommandOutput) => void),
|
|
682
|
-
cb?: (err: any, data?: DeleteConnectionAliasCommandOutput) => void
|
|
683
|
-
): Promise<DeleteConnectionAliasCommandOutput> | void {
|
|
684
|
-
const command = new DeleteConnectionAliasCommand(args);
|
|
685
|
-
if (typeof optionsOrCb === "function") {
|
|
686
|
-
this.send(command, optionsOrCb);
|
|
687
|
-
} else if (typeof cb === "function") {
|
|
688
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
689
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
690
|
-
} else {
|
|
691
|
-
return this.send(command, optionsOrCb);
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
/**
|
|
696
|
-
* <p>Deletes the specified IP access control group.</p>
|
|
697
|
-
* <p>You cannot delete an IP access control group that is associated with a directory.</p>
|
|
698
|
-
*/
|
|
699
|
-
public deleteIpGroup(
|
|
700
|
-
args: DeleteIpGroupCommandInput,
|
|
701
|
-
options?: __HttpHandlerOptions
|
|
702
|
-
): Promise<DeleteIpGroupCommandOutput>;
|
|
703
|
-
public deleteIpGroup(
|
|
704
|
-
args: DeleteIpGroupCommandInput,
|
|
705
|
-
cb: (err: any, data?: DeleteIpGroupCommandOutput) => void
|
|
706
|
-
): void;
|
|
707
|
-
public deleteIpGroup(
|
|
708
|
-
args: DeleteIpGroupCommandInput,
|
|
709
|
-
options: __HttpHandlerOptions,
|
|
710
|
-
cb: (err: any, data?: DeleteIpGroupCommandOutput) => void
|
|
711
|
-
): void;
|
|
712
|
-
public deleteIpGroup(
|
|
713
|
-
args: DeleteIpGroupCommandInput,
|
|
714
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteIpGroupCommandOutput) => void),
|
|
715
|
-
cb?: (err: any, data?: DeleteIpGroupCommandOutput) => void
|
|
716
|
-
): Promise<DeleteIpGroupCommandOutput> | void {
|
|
717
|
-
const command = new DeleteIpGroupCommand(args);
|
|
718
|
-
if (typeof optionsOrCb === "function") {
|
|
719
|
-
this.send(command, optionsOrCb);
|
|
720
|
-
} else if (typeof cb === "function") {
|
|
721
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
722
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
723
|
-
} else {
|
|
724
|
-
return this.send(command, optionsOrCb);
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* <p>Deletes the specified tags from the specified WorkSpaces resource.</p>
|
|
730
|
-
*/
|
|
731
|
-
public deleteTags(args: DeleteTagsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTagsCommandOutput>;
|
|
732
|
-
public deleteTags(args: DeleteTagsCommandInput, cb: (err: any, data?: DeleteTagsCommandOutput) => void): void;
|
|
733
|
-
public deleteTags(
|
|
734
|
-
args: DeleteTagsCommandInput,
|
|
735
|
-
options: __HttpHandlerOptions,
|
|
736
|
-
cb: (err: any, data?: DeleteTagsCommandOutput) => void
|
|
737
|
-
): void;
|
|
738
|
-
public deleteTags(
|
|
739
|
-
args: DeleteTagsCommandInput,
|
|
740
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteTagsCommandOutput) => void),
|
|
741
|
-
cb?: (err: any, data?: DeleteTagsCommandOutput) => void
|
|
742
|
-
): Promise<DeleteTagsCommandOutput> | void {
|
|
743
|
-
const command = new DeleteTagsCommand(args);
|
|
744
|
-
if (typeof optionsOrCb === "function") {
|
|
745
|
-
this.send(command, optionsOrCb);
|
|
746
|
-
} else if (typeof cb === "function") {
|
|
747
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
748
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
749
|
-
} else {
|
|
750
|
-
return this.send(command, optionsOrCb);
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* <p>Deletes the specified WorkSpace bundle. For more information about deleting WorkSpace bundles, see
|
|
756
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/delete_bundle.html">
|
|
757
|
-
* Delete a Custom WorkSpaces Bundle or Image</a>.</p>
|
|
758
|
-
*/
|
|
759
|
-
public deleteWorkspaceBundle(
|
|
760
|
-
args: DeleteWorkspaceBundleCommandInput,
|
|
761
|
-
options?: __HttpHandlerOptions
|
|
762
|
-
): Promise<DeleteWorkspaceBundleCommandOutput>;
|
|
763
|
-
public deleteWorkspaceBundle(
|
|
764
|
-
args: DeleteWorkspaceBundleCommandInput,
|
|
765
|
-
cb: (err: any, data?: DeleteWorkspaceBundleCommandOutput) => void
|
|
766
|
-
): void;
|
|
767
|
-
public deleteWorkspaceBundle(
|
|
768
|
-
args: DeleteWorkspaceBundleCommandInput,
|
|
769
|
-
options: __HttpHandlerOptions,
|
|
770
|
-
cb: (err: any, data?: DeleteWorkspaceBundleCommandOutput) => void
|
|
771
|
-
): void;
|
|
772
|
-
public deleteWorkspaceBundle(
|
|
773
|
-
args: DeleteWorkspaceBundleCommandInput,
|
|
774
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWorkspaceBundleCommandOutput) => void),
|
|
775
|
-
cb?: (err: any, data?: DeleteWorkspaceBundleCommandOutput) => void
|
|
776
|
-
): Promise<DeleteWorkspaceBundleCommandOutput> | void {
|
|
777
|
-
const command = new DeleteWorkspaceBundleCommand(args);
|
|
778
|
-
if (typeof optionsOrCb === "function") {
|
|
779
|
-
this.send(command, optionsOrCb);
|
|
780
|
-
} else if (typeof cb === "function") {
|
|
781
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
782
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
783
|
-
} else {
|
|
784
|
-
return this.send(command, optionsOrCb);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* <p>Deletes the specified image from your account. To delete an image, you must first delete
|
|
790
|
-
* any bundles that are associated with the image and unshare the image if it is shared with
|
|
791
|
-
* other accounts. </p>
|
|
792
|
-
*/
|
|
793
|
-
public deleteWorkspaceImage(
|
|
794
|
-
args: DeleteWorkspaceImageCommandInput,
|
|
795
|
-
options?: __HttpHandlerOptions
|
|
796
|
-
): Promise<DeleteWorkspaceImageCommandOutput>;
|
|
797
|
-
public deleteWorkspaceImage(
|
|
798
|
-
args: DeleteWorkspaceImageCommandInput,
|
|
799
|
-
cb: (err: any, data?: DeleteWorkspaceImageCommandOutput) => void
|
|
800
|
-
): void;
|
|
801
|
-
public deleteWorkspaceImage(
|
|
802
|
-
args: DeleteWorkspaceImageCommandInput,
|
|
803
|
-
options: __HttpHandlerOptions,
|
|
804
|
-
cb: (err: any, data?: DeleteWorkspaceImageCommandOutput) => void
|
|
805
|
-
): void;
|
|
806
|
-
public deleteWorkspaceImage(
|
|
807
|
-
args: DeleteWorkspaceImageCommandInput,
|
|
808
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteWorkspaceImageCommandOutput) => void),
|
|
809
|
-
cb?: (err: any, data?: DeleteWorkspaceImageCommandOutput) => void
|
|
810
|
-
): Promise<DeleteWorkspaceImageCommandOutput> | void {
|
|
811
|
-
const command = new DeleteWorkspaceImageCommand(args);
|
|
812
|
-
if (typeof optionsOrCb === "function") {
|
|
813
|
-
this.send(command, optionsOrCb);
|
|
814
|
-
} else if (typeof cb === "function") {
|
|
815
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
816
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
817
|
-
} else {
|
|
818
|
-
return this.send(command, optionsOrCb);
|
|
819
|
-
}
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
/**
|
|
823
|
-
* <p>Deregisters the specified directory. This operation is asynchronous
|
|
824
|
-
* and returns before the WorkSpace directory is deregistered. If any WorkSpaces are
|
|
825
|
-
* registered to this directory, you must remove them before you can deregister the directory.</p>
|
|
826
|
-
*
|
|
827
|
-
* <note>
|
|
828
|
-
* <p>Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces.
|
|
829
|
-
* If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30
|
|
830
|
-
* consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces,
|
|
831
|
-
* and you will be charged for this directory as per the
|
|
832
|
-
* <a href="http://aws.amazon.com/directoryservice/pricing/">Directory Service pricing terms</a>.</p>
|
|
833
|
-
*
|
|
834
|
-
* <p>To delete empty directories, see
|
|
835
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html">
|
|
836
|
-
* Delete the Directory for Your WorkSpaces</a>. If you delete your
|
|
837
|
-
* Simple AD or AD Connector directory, you can always create a new one when you want to start using
|
|
838
|
-
* WorkSpaces again.</p>
|
|
839
|
-
* </note>
|
|
840
|
-
*/
|
|
841
|
-
public deregisterWorkspaceDirectory(
|
|
842
|
-
args: DeregisterWorkspaceDirectoryCommandInput,
|
|
843
|
-
options?: __HttpHandlerOptions
|
|
844
|
-
): Promise<DeregisterWorkspaceDirectoryCommandOutput>;
|
|
845
|
-
public deregisterWorkspaceDirectory(
|
|
846
|
-
args: DeregisterWorkspaceDirectoryCommandInput,
|
|
847
|
-
cb: (err: any, data?: DeregisterWorkspaceDirectoryCommandOutput) => void
|
|
848
|
-
): void;
|
|
849
|
-
public deregisterWorkspaceDirectory(
|
|
850
|
-
args: DeregisterWorkspaceDirectoryCommandInput,
|
|
851
|
-
options: __HttpHandlerOptions,
|
|
852
|
-
cb: (err: any, data?: DeregisterWorkspaceDirectoryCommandOutput) => void
|
|
853
|
-
): void;
|
|
854
|
-
public deregisterWorkspaceDirectory(
|
|
855
|
-
args: DeregisterWorkspaceDirectoryCommandInput,
|
|
856
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterWorkspaceDirectoryCommandOutput) => void),
|
|
857
|
-
cb?: (err: any, data?: DeregisterWorkspaceDirectoryCommandOutput) => void
|
|
858
|
-
): Promise<DeregisterWorkspaceDirectoryCommandOutput> | void {
|
|
859
|
-
const command = new DeregisterWorkspaceDirectoryCommand(args);
|
|
860
|
-
if (typeof optionsOrCb === "function") {
|
|
861
|
-
this.send(command, optionsOrCb);
|
|
862
|
-
} else if (typeof cb === "function") {
|
|
863
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
864
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
865
|
-
} else {
|
|
866
|
-
return this.send(command, optionsOrCb);
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
/**
|
|
871
|
-
* <p>Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for
|
|
872
|
-
* the specified account.</p>
|
|
873
|
-
*/
|
|
874
|
-
public describeAccount(
|
|
875
|
-
args: DescribeAccountCommandInput,
|
|
876
|
-
options?: __HttpHandlerOptions
|
|
877
|
-
): Promise<DescribeAccountCommandOutput>;
|
|
878
|
-
public describeAccount(
|
|
879
|
-
args: DescribeAccountCommandInput,
|
|
880
|
-
cb: (err: any, data?: DescribeAccountCommandOutput) => void
|
|
881
|
-
): void;
|
|
882
|
-
public describeAccount(
|
|
883
|
-
args: DescribeAccountCommandInput,
|
|
884
|
-
options: __HttpHandlerOptions,
|
|
885
|
-
cb: (err: any, data?: DescribeAccountCommandOutput) => void
|
|
886
|
-
): void;
|
|
887
|
-
public describeAccount(
|
|
888
|
-
args: DescribeAccountCommandInput,
|
|
889
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountCommandOutput) => void),
|
|
890
|
-
cb?: (err: any, data?: DescribeAccountCommandOutput) => void
|
|
891
|
-
): Promise<DescribeAccountCommandOutput> | void {
|
|
892
|
-
const command = new DescribeAccountCommand(args);
|
|
893
|
-
if (typeof optionsOrCb === "function") {
|
|
894
|
-
this.send(command, optionsOrCb);
|
|
895
|
-
} else if (typeof cb === "function") {
|
|
896
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
897
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
898
|
-
} else {
|
|
899
|
-
return this.send(command, optionsOrCb);
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
/**
|
|
904
|
-
* <p>Retrieves a list that describes modifications to the configuration of Bring Your Own
|
|
905
|
-
* License (BYOL) for the specified account.</p>
|
|
906
|
-
*/
|
|
907
|
-
public describeAccountModifications(
|
|
908
|
-
args: DescribeAccountModificationsCommandInput,
|
|
909
|
-
options?: __HttpHandlerOptions
|
|
910
|
-
): Promise<DescribeAccountModificationsCommandOutput>;
|
|
911
|
-
public describeAccountModifications(
|
|
912
|
-
args: DescribeAccountModificationsCommandInput,
|
|
913
|
-
cb: (err: any, data?: DescribeAccountModificationsCommandOutput) => void
|
|
914
|
-
): void;
|
|
915
|
-
public describeAccountModifications(
|
|
916
|
-
args: DescribeAccountModificationsCommandInput,
|
|
917
|
-
options: __HttpHandlerOptions,
|
|
918
|
-
cb: (err: any, data?: DescribeAccountModificationsCommandOutput) => void
|
|
919
|
-
): void;
|
|
920
|
-
public describeAccountModifications(
|
|
921
|
-
args: DescribeAccountModificationsCommandInput,
|
|
922
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAccountModificationsCommandOutput) => void),
|
|
923
|
-
cb?: (err: any, data?: DescribeAccountModificationsCommandOutput) => void
|
|
924
|
-
): Promise<DescribeAccountModificationsCommandOutput> | void {
|
|
925
|
-
const command = new DescribeAccountModificationsCommand(args);
|
|
926
|
-
if (typeof optionsOrCb === "function") {
|
|
927
|
-
this.send(command, optionsOrCb);
|
|
928
|
-
} else if (typeof cb === "function") {
|
|
929
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
930
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
931
|
-
} else {
|
|
932
|
-
return this.send(command, optionsOrCb);
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
/**
|
|
937
|
-
* <p>Retrieves a list that describes one or more specified Amazon WorkSpaces clients.</p>
|
|
938
|
-
*/
|
|
939
|
-
public describeClientProperties(
|
|
940
|
-
args: DescribeClientPropertiesCommandInput,
|
|
941
|
-
options?: __HttpHandlerOptions
|
|
942
|
-
): Promise<DescribeClientPropertiesCommandOutput>;
|
|
943
|
-
public describeClientProperties(
|
|
944
|
-
args: DescribeClientPropertiesCommandInput,
|
|
945
|
-
cb: (err: any, data?: DescribeClientPropertiesCommandOutput) => void
|
|
946
|
-
): void;
|
|
947
|
-
public describeClientProperties(
|
|
948
|
-
args: DescribeClientPropertiesCommandInput,
|
|
949
|
-
options: __HttpHandlerOptions,
|
|
950
|
-
cb: (err: any, data?: DescribeClientPropertiesCommandOutput) => void
|
|
951
|
-
): void;
|
|
952
|
-
public describeClientProperties(
|
|
953
|
-
args: DescribeClientPropertiesCommandInput,
|
|
954
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeClientPropertiesCommandOutput) => void),
|
|
955
|
-
cb?: (err: any, data?: DescribeClientPropertiesCommandOutput) => void
|
|
956
|
-
): Promise<DescribeClientPropertiesCommandOutput> | void {
|
|
957
|
-
const command = new DescribeClientPropertiesCommand(args);
|
|
958
|
-
if (typeof optionsOrCb === "function") {
|
|
959
|
-
this.send(command, optionsOrCb);
|
|
960
|
-
} else if (typeof cb === "function") {
|
|
961
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
962
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
963
|
-
} else {
|
|
964
|
-
return this.send(command, optionsOrCb);
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
/**
|
|
969
|
-
* <p>Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see
|
|
970
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
971
|
-
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
972
|
-
*/
|
|
973
|
-
public describeConnectionAliases(
|
|
974
|
-
args: DescribeConnectionAliasesCommandInput,
|
|
975
|
-
options?: __HttpHandlerOptions
|
|
976
|
-
): Promise<DescribeConnectionAliasesCommandOutput>;
|
|
977
|
-
public describeConnectionAliases(
|
|
978
|
-
args: DescribeConnectionAliasesCommandInput,
|
|
979
|
-
cb: (err: any, data?: DescribeConnectionAliasesCommandOutput) => void
|
|
980
|
-
): void;
|
|
981
|
-
public describeConnectionAliases(
|
|
982
|
-
args: DescribeConnectionAliasesCommandInput,
|
|
983
|
-
options: __HttpHandlerOptions,
|
|
984
|
-
cb: (err: any, data?: DescribeConnectionAliasesCommandOutput) => void
|
|
985
|
-
): void;
|
|
986
|
-
public describeConnectionAliases(
|
|
987
|
-
args: DescribeConnectionAliasesCommandInput,
|
|
988
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeConnectionAliasesCommandOutput) => void),
|
|
989
|
-
cb?: (err: any, data?: DescribeConnectionAliasesCommandOutput) => void
|
|
990
|
-
): Promise<DescribeConnectionAliasesCommandOutput> | void {
|
|
991
|
-
const command = new DescribeConnectionAliasesCommand(args);
|
|
992
|
-
if (typeof optionsOrCb === "function") {
|
|
993
|
-
this.send(command, optionsOrCb);
|
|
994
|
-
} else if (typeof cb === "function") {
|
|
995
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
996
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
997
|
-
} else {
|
|
998
|
-
return this.send(command, optionsOrCb);
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
/**
|
|
1003
|
-
* <p>Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for
|
|
1004
|
-
* the specified connection alias. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
1005
|
-
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
1006
|
-
*/
|
|
1007
|
-
public describeConnectionAliasPermissions(
|
|
1008
|
-
args: DescribeConnectionAliasPermissionsCommandInput,
|
|
1009
|
-
options?: __HttpHandlerOptions
|
|
1010
|
-
): Promise<DescribeConnectionAliasPermissionsCommandOutput>;
|
|
1011
|
-
public describeConnectionAliasPermissions(
|
|
1012
|
-
args: DescribeConnectionAliasPermissionsCommandInput,
|
|
1013
|
-
cb: (err: any, data?: DescribeConnectionAliasPermissionsCommandOutput) => void
|
|
1014
|
-
): void;
|
|
1015
|
-
public describeConnectionAliasPermissions(
|
|
1016
|
-
args: DescribeConnectionAliasPermissionsCommandInput,
|
|
1017
|
-
options: __HttpHandlerOptions,
|
|
1018
|
-
cb: (err: any, data?: DescribeConnectionAliasPermissionsCommandOutput) => void
|
|
1019
|
-
): void;
|
|
1020
|
-
public describeConnectionAliasPermissions(
|
|
1021
|
-
args: DescribeConnectionAliasPermissionsCommandInput,
|
|
1022
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeConnectionAliasPermissionsCommandOutput) => void),
|
|
1023
|
-
cb?: (err: any, data?: DescribeConnectionAliasPermissionsCommandOutput) => void
|
|
1024
|
-
): Promise<DescribeConnectionAliasPermissionsCommandOutput> | void {
|
|
1025
|
-
const command = new DescribeConnectionAliasPermissionsCommand(args);
|
|
1026
|
-
if (typeof optionsOrCb === "function") {
|
|
1027
|
-
this.send(command, optionsOrCb);
|
|
1028
|
-
} else if (typeof cb === "function") {
|
|
1029
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1030
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1031
|
-
} else {
|
|
1032
|
-
return this.send(command, optionsOrCb);
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
/**
|
|
1037
|
-
* <p>Describes one or more of your IP access control groups.</p>
|
|
1038
|
-
*/
|
|
1039
|
-
public describeIpGroups(
|
|
1040
|
-
args: DescribeIpGroupsCommandInput,
|
|
1041
|
-
options?: __HttpHandlerOptions
|
|
1042
|
-
): Promise<DescribeIpGroupsCommandOutput>;
|
|
1043
|
-
public describeIpGroups(
|
|
1044
|
-
args: DescribeIpGroupsCommandInput,
|
|
1045
|
-
cb: (err: any, data?: DescribeIpGroupsCommandOutput) => void
|
|
1046
|
-
): void;
|
|
1047
|
-
public describeIpGroups(
|
|
1048
|
-
args: DescribeIpGroupsCommandInput,
|
|
1049
|
-
options: __HttpHandlerOptions,
|
|
1050
|
-
cb: (err: any, data?: DescribeIpGroupsCommandOutput) => void
|
|
1051
|
-
): void;
|
|
1052
|
-
public describeIpGroups(
|
|
1053
|
-
args: DescribeIpGroupsCommandInput,
|
|
1054
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeIpGroupsCommandOutput) => void),
|
|
1055
|
-
cb?: (err: any, data?: DescribeIpGroupsCommandOutput) => void
|
|
1056
|
-
): Promise<DescribeIpGroupsCommandOutput> | void {
|
|
1057
|
-
const command = new DescribeIpGroupsCommand(args);
|
|
1058
|
-
if (typeof optionsOrCb === "function") {
|
|
1059
|
-
this.send(command, optionsOrCb);
|
|
1060
|
-
} else if (typeof cb === "function") {
|
|
1061
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1062
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1063
|
-
} else {
|
|
1064
|
-
return this.send(command, optionsOrCb);
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
/**
|
|
1069
|
-
* <p>Describes the specified tags for the specified WorkSpaces resource.</p>
|
|
1070
|
-
*/
|
|
1071
|
-
public describeTags(
|
|
1072
|
-
args: DescribeTagsCommandInput,
|
|
1073
|
-
options?: __HttpHandlerOptions
|
|
1074
|
-
): Promise<DescribeTagsCommandOutput>;
|
|
1075
|
-
public describeTags(args: DescribeTagsCommandInput, cb: (err: any, data?: DescribeTagsCommandOutput) => void): void;
|
|
1076
|
-
public describeTags(
|
|
1077
|
-
args: DescribeTagsCommandInput,
|
|
1078
|
-
options: __HttpHandlerOptions,
|
|
1079
|
-
cb: (err: any, data?: DescribeTagsCommandOutput) => void
|
|
1080
|
-
): void;
|
|
1081
|
-
public describeTags(
|
|
1082
|
-
args: DescribeTagsCommandInput,
|
|
1083
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeTagsCommandOutput) => void),
|
|
1084
|
-
cb?: (err: any, data?: DescribeTagsCommandOutput) => void
|
|
1085
|
-
): Promise<DescribeTagsCommandOutput> | void {
|
|
1086
|
-
const command = new DescribeTagsCommand(args);
|
|
1087
|
-
if (typeof optionsOrCb === "function") {
|
|
1088
|
-
this.send(command, optionsOrCb);
|
|
1089
|
-
} else if (typeof cb === "function") {
|
|
1090
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1091
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1092
|
-
} else {
|
|
1093
|
-
return this.send(command, optionsOrCb);
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* <p>Retrieves a list that describes the available WorkSpace bundles.</p>
|
|
1099
|
-
* <p>You can filter the results using either bundle ID or owner, but not both.</p>
|
|
1100
|
-
*/
|
|
1101
|
-
public describeWorkspaceBundles(
|
|
1102
|
-
args: DescribeWorkspaceBundlesCommandInput,
|
|
1103
|
-
options?: __HttpHandlerOptions
|
|
1104
|
-
): Promise<DescribeWorkspaceBundlesCommandOutput>;
|
|
1105
|
-
public describeWorkspaceBundles(
|
|
1106
|
-
args: DescribeWorkspaceBundlesCommandInput,
|
|
1107
|
-
cb: (err: any, data?: DescribeWorkspaceBundlesCommandOutput) => void
|
|
1108
|
-
): void;
|
|
1109
|
-
public describeWorkspaceBundles(
|
|
1110
|
-
args: DescribeWorkspaceBundlesCommandInput,
|
|
1111
|
-
options: __HttpHandlerOptions,
|
|
1112
|
-
cb: (err: any, data?: DescribeWorkspaceBundlesCommandOutput) => void
|
|
1113
|
-
): void;
|
|
1114
|
-
public describeWorkspaceBundles(
|
|
1115
|
-
args: DescribeWorkspaceBundlesCommandInput,
|
|
1116
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspaceBundlesCommandOutput) => void),
|
|
1117
|
-
cb?: (err: any, data?: DescribeWorkspaceBundlesCommandOutput) => void
|
|
1118
|
-
): Promise<DescribeWorkspaceBundlesCommandOutput> | void {
|
|
1119
|
-
const command = new DescribeWorkspaceBundlesCommand(args);
|
|
1120
|
-
if (typeof optionsOrCb === "function") {
|
|
1121
|
-
this.send(command, optionsOrCb);
|
|
1122
|
-
} else if (typeof cb === "function") {
|
|
1123
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1124
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1125
|
-
} else {
|
|
1126
|
-
return this.send(command, optionsOrCb);
|
|
1127
|
-
}
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
/**
|
|
1131
|
-
* <p>Describes the available directories that are registered with
|
|
1132
|
-
* Amazon WorkSpaces.</p>
|
|
1133
|
-
*/
|
|
1134
|
-
public describeWorkspaceDirectories(
|
|
1135
|
-
args: DescribeWorkspaceDirectoriesCommandInput,
|
|
1136
|
-
options?: __HttpHandlerOptions
|
|
1137
|
-
): Promise<DescribeWorkspaceDirectoriesCommandOutput>;
|
|
1138
|
-
public describeWorkspaceDirectories(
|
|
1139
|
-
args: DescribeWorkspaceDirectoriesCommandInput,
|
|
1140
|
-
cb: (err: any, data?: DescribeWorkspaceDirectoriesCommandOutput) => void
|
|
1141
|
-
): void;
|
|
1142
|
-
public describeWorkspaceDirectories(
|
|
1143
|
-
args: DescribeWorkspaceDirectoriesCommandInput,
|
|
1144
|
-
options: __HttpHandlerOptions,
|
|
1145
|
-
cb: (err: any, data?: DescribeWorkspaceDirectoriesCommandOutput) => void
|
|
1146
|
-
): void;
|
|
1147
|
-
public describeWorkspaceDirectories(
|
|
1148
|
-
args: DescribeWorkspaceDirectoriesCommandInput,
|
|
1149
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspaceDirectoriesCommandOutput) => void),
|
|
1150
|
-
cb?: (err: any, data?: DescribeWorkspaceDirectoriesCommandOutput) => void
|
|
1151
|
-
): Promise<DescribeWorkspaceDirectoriesCommandOutput> | void {
|
|
1152
|
-
const command = new DescribeWorkspaceDirectoriesCommand(args);
|
|
1153
|
-
if (typeof optionsOrCb === "function") {
|
|
1154
|
-
this.send(command, optionsOrCb);
|
|
1155
|
-
} else if (typeof cb === "function") {
|
|
1156
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1157
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1158
|
-
} else {
|
|
1159
|
-
return this.send(command, optionsOrCb);
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
/**
|
|
1164
|
-
* <p>Describes the permissions that the owner of an image has granted to other
|
|
1165
|
-
* Amazon Web Services accounts for an image.</p>
|
|
1166
|
-
*/
|
|
1167
|
-
public describeWorkspaceImagePermissions(
|
|
1168
|
-
args: DescribeWorkspaceImagePermissionsCommandInput,
|
|
1169
|
-
options?: __HttpHandlerOptions
|
|
1170
|
-
): Promise<DescribeWorkspaceImagePermissionsCommandOutput>;
|
|
1171
|
-
public describeWorkspaceImagePermissions(
|
|
1172
|
-
args: DescribeWorkspaceImagePermissionsCommandInput,
|
|
1173
|
-
cb: (err: any, data?: DescribeWorkspaceImagePermissionsCommandOutput) => void
|
|
1174
|
-
): void;
|
|
1175
|
-
public describeWorkspaceImagePermissions(
|
|
1176
|
-
args: DescribeWorkspaceImagePermissionsCommandInput,
|
|
1177
|
-
options: __HttpHandlerOptions,
|
|
1178
|
-
cb: (err: any, data?: DescribeWorkspaceImagePermissionsCommandOutput) => void
|
|
1179
|
-
): void;
|
|
1180
|
-
public describeWorkspaceImagePermissions(
|
|
1181
|
-
args: DescribeWorkspaceImagePermissionsCommandInput,
|
|
1182
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspaceImagePermissionsCommandOutput) => void),
|
|
1183
|
-
cb?: (err: any, data?: DescribeWorkspaceImagePermissionsCommandOutput) => void
|
|
1184
|
-
): Promise<DescribeWorkspaceImagePermissionsCommandOutput> | void {
|
|
1185
|
-
const command = new DescribeWorkspaceImagePermissionsCommand(args);
|
|
1186
|
-
if (typeof optionsOrCb === "function") {
|
|
1187
|
-
this.send(command, optionsOrCb);
|
|
1188
|
-
} else if (typeof cb === "function") {
|
|
1189
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1190
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1191
|
-
} else {
|
|
1192
|
-
return this.send(command, optionsOrCb);
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
/**
|
|
1197
|
-
* <p>Retrieves a list that describes one or more specified images, if the image identifiers
|
|
1198
|
-
* are provided. Otherwise, all images in the account are described. </p>
|
|
1199
|
-
*/
|
|
1200
|
-
public describeWorkspaceImages(
|
|
1201
|
-
args: DescribeWorkspaceImagesCommandInput,
|
|
1202
|
-
options?: __HttpHandlerOptions
|
|
1203
|
-
): Promise<DescribeWorkspaceImagesCommandOutput>;
|
|
1204
|
-
public describeWorkspaceImages(
|
|
1205
|
-
args: DescribeWorkspaceImagesCommandInput,
|
|
1206
|
-
cb: (err: any, data?: DescribeWorkspaceImagesCommandOutput) => void
|
|
1207
|
-
): void;
|
|
1208
|
-
public describeWorkspaceImages(
|
|
1209
|
-
args: DescribeWorkspaceImagesCommandInput,
|
|
1210
|
-
options: __HttpHandlerOptions,
|
|
1211
|
-
cb: (err: any, data?: DescribeWorkspaceImagesCommandOutput) => void
|
|
1212
|
-
): void;
|
|
1213
|
-
public describeWorkspaceImages(
|
|
1214
|
-
args: DescribeWorkspaceImagesCommandInput,
|
|
1215
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspaceImagesCommandOutput) => void),
|
|
1216
|
-
cb?: (err: any, data?: DescribeWorkspaceImagesCommandOutput) => void
|
|
1217
|
-
): Promise<DescribeWorkspaceImagesCommandOutput> | void {
|
|
1218
|
-
const command = new DescribeWorkspaceImagesCommand(args);
|
|
1219
|
-
if (typeof optionsOrCb === "function") {
|
|
1220
|
-
this.send(command, optionsOrCb);
|
|
1221
|
-
} else if (typeof cb === "function") {
|
|
1222
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1223
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1224
|
-
} else {
|
|
1225
|
-
return this.send(command, optionsOrCb);
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
/**
|
|
1230
|
-
* <p>Describes the specified WorkSpaces.</p>
|
|
1231
|
-
* <p>You can filter the results by using the bundle identifier, directory identifier, or
|
|
1232
|
-
* owner, but you can specify only one filter at a time.</p>
|
|
1233
|
-
*/
|
|
1234
|
-
public describeWorkspaces(
|
|
1235
|
-
args: DescribeWorkspacesCommandInput,
|
|
1236
|
-
options?: __HttpHandlerOptions
|
|
1237
|
-
): Promise<DescribeWorkspacesCommandOutput>;
|
|
1238
|
-
public describeWorkspaces(
|
|
1239
|
-
args: DescribeWorkspacesCommandInput,
|
|
1240
|
-
cb: (err: any, data?: DescribeWorkspacesCommandOutput) => void
|
|
1241
|
-
): void;
|
|
1242
|
-
public describeWorkspaces(
|
|
1243
|
-
args: DescribeWorkspacesCommandInput,
|
|
1244
|
-
options: __HttpHandlerOptions,
|
|
1245
|
-
cb: (err: any, data?: DescribeWorkspacesCommandOutput) => void
|
|
1246
|
-
): void;
|
|
1247
|
-
public describeWorkspaces(
|
|
1248
|
-
args: DescribeWorkspacesCommandInput,
|
|
1249
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspacesCommandOutput) => void),
|
|
1250
|
-
cb?: (err: any, data?: DescribeWorkspacesCommandOutput) => void
|
|
1251
|
-
): Promise<DescribeWorkspacesCommandOutput> | void {
|
|
1252
|
-
const command = new DescribeWorkspacesCommand(args);
|
|
1253
|
-
if (typeof optionsOrCb === "function") {
|
|
1254
|
-
this.send(command, optionsOrCb);
|
|
1255
|
-
} else if (typeof cb === "function") {
|
|
1256
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1257
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1258
|
-
} else {
|
|
1259
|
-
return this.send(command, optionsOrCb);
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
/**
|
|
1264
|
-
* <p>Describes the connection status of the specified WorkSpaces.</p>
|
|
1265
|
-
*/
|
|
1266
|
-
public describeWorkspacesConnectionStatus(
|
|
1267
|
-
args: DescribeWorkspacesConnectionStatusCommandInput,
|
|
1268
|
-
options?: __HttpHandlerOptions
|
|
1269
|
-
): Promise<DescribeWorkspacesConnectionStatusCommandOutput>;
|
|
1270
|
-
public describeWorkspacesConnectionStatus(
|
|
1271
|
-
args: DescribeWorkspacesConnectionStatusCommandInput,
|
|
1272
|
-
cb: (err: any, data?: DescribeWorkspacesConnectionStatusCommandOutput) => void
|
|
1273
|
-
): void;
|
|
1274
|
-
public describeWorkspacesConnectionStatus(
|
|
1275
|
-
args: DescribeWorkspacesConnectionStatusCommandInput,
|
|
1276
|
-
options: __HttpHandlerOptions,
|
|
1277
|
-
cb: (err: any, data?: DescribeWorkspacesConnectionStatusCommandOutput) => void
|
|
1278
|
-
): void;
|
|
1279
|
-
public describeWorkspacesConnectionStatus(
|
|
1280
|
-
args: DescribeWorkspacesConnectionStatusCommandInput,
|
|
1281
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspacesConnectionStatusCommandOutput) => void),
|
|
1282
|
-
cb?: (err: any, data?: DescribeWorkspacesConnectionStatusCommandOutput) => void
|
|
1283
|
-
): Promise<DescribeWorkspacesConnectionStatusCommandOutput> | void {
|
|
1284
|
-
const command = new DescribeWorkspacesConnectionStatusCommand(args);
|
|
1285
|
-
if (typeof optionsOrCb === "function") {
|
|
1286
|
-
this.send(command, optionsOrCb);
|
|
1287
|
-
} else if (typeof cb === "function") {
|
|
1288
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1289
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1290
|
-
} else {
|
|
1291
|
-
return this.send(command, optionsOrCb);
|
|
1292
|
-
}
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
/**
|
|
1296
|
-
* <p>Describes the snapshots for the specified WorkSpace.</p>
|
|
1297
|
-
*/
|
|
1298
|
-
public describeWorkspaceSnapshots(
|
|
1299
|
-
args: DescribeWorkspaceSnapshotsCommandInput,
|
|
1300
|
-
options?: __HttpHandlerOptions
|
|
1301
|
-
): Promise<DescribeWorkspaceSnapshotsCommandOutput>;
|
|
1302
|
-
public describeWorkspaceSnapshots(
|
|
1303
|
-
args: DescribeWorkspaceSnapshotsCommandInput,
|
|
1304
|
-
cb: (err: any, data?: DescribeWorkspaceSnapshotsCommandOutput) => void
|
|
1305
|
-
): void;
|
|
1306
|
-
public describeWorkspaceSnapshots(
|
|
1307
|
-
args: DescribeWorkspaceSnapshotsCommandInput,
|
|
1308
|
-
options: __HttpHandlerOptions,
|
|
1309
|
-
cb: (err: any, data?: DescribeWorkspaceSnapshotsCommandOutput) => void
|
|
1310
|
-
): void;
|
|
1311
|
-
public describeWorkspaceSnapshots(
|
|
1312
|
-
args: DescribeWorkspaceSnapshotsCommandInput,
|
|
1313
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeWorkspaceSnapshotsCommandOutput) => void),
|
|
1314
|
-
cb?: (err: any, data?: DescribeWorkspaceSnapshotsCommandOutput) => void
|
|
1315
|
-
): Promise<DescribeWorkspaceSnapshotsCommandOutput> | void {
|
|
1316
|
-
const command = new DescribeWorkspaceSnapshotsCommand(args);
|
|
1317
|
-
if (typeof optionsOrCb === "function") {
|
|
1318
|
-
this.send(command, optionsOrCb);
|
|
1319
|
-
} else if (typeof cb === "function") {
|
|
1320
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1321
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1322
|
-
} else {
|
|
1323
|
-
return this.send(command, optionsOrCb);
|
|
1324
|
-
}
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
/**
|
|
1328
|
-
* <p>Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region
|
|
1329
|
-
* redirection between two directories in different Regions. For more information, see
|
|
1330
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
1331
|
-
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
1332
|
-
*
|
|
1333
|
-
* <note>
|
|
1334
|
-
* <p>Before performing this operation, call <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html">
|
|
1335
|
-
* DescribeConnectionAliases</a> to make sure that the current state of the connection alias is <code>CREATED</code>.</p>
|
|
1336
|
-
* </note>
|
|
1337
|
-
*/
|
|
1338
|
-
public disassociateConnectionAlias(
|
|
1339
|
-
args: DisassociateConnectionAliasCommandInput,
|
|
1340
|
-
options?: __HttpHandlerOptions
|
|
1341
|
-
): Promise<DisassociateConnectionAliasCommandOutput>;
|
|
1342
|
-
public disassociateConnectionAlias(
|
|
1343
|
-
args: DisassociateConnectionAliasCommandInput,
|
|
1344
|
-
cb: (err: any, data?: DisassociateConnectionAliasCommandOutput) => void
|
|
1345
|
-
): void;
|
|
1346
|
-
public disassociateConnectionAlias(
|
|
1347
|
-
args: DisassociateConnectionAliasCommandInput,
|
|
1348
|
-
options: __HttpHandlerOptions,
|
|
1349
|
-
cb: (err: any, data?: DisassociateConnectionAliasCommandOutput) => void
|
|
1350
|
-
): void;
|
|
1351
|
-
public disassociateConnectionAlias(
|
|
1352
|
-
args: DisassociateConnectionAliasCommandInput,
|
|
1353
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateConnectionAliasCommandOutput) => void),
|
|
1354
|
-
cb?: (err: any, data?: DisassociateConnectionAliasCommandOutput) => void
|
|
1355
|
-
): Promise<DisassociateConnectionAliasCommandOutput> | void {
|
|
1356
|
-
const command = new DisassociateConnectionAliasCommand(args);
|
|
1357
|
-
if (typeof optionsOrCb === "function") {
|
|
1358
|
-
this.send(command, optionsOrCb);
|
|
1359
|
-
} else if (typeof cb === "function") {
|
|
1360
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1361
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1362
|
-
} else {
|
|
1363
|
-
return this.send(command, optionsOrCb);
|
|
1364
|
-
}
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
|
-
/**
|
|
1368
|
-
* <p>Disassociates the specified IP access control group from the specified directory.</p>
|
|
1369
|
-
*/
|
|
1370
|
-
public disassociateIpGroups(
|
|
1371
|
-
args: DisassociateIpGroupsCommandInput,
|
|
1372
|
-
options?: __HttpHandlerOptions
|
|
1373
|
-
): Promise<DisassociateIpGroupsCommandOutput>;
|
|
1374
|
-
public disassociateIpGroups(
|
|
1375
|
-
args: DisassociateIpGroupsCommandInput,
|
|
1376
|
-
cb: (err: any, data?: DisassociateIpGroupsCommandOutput) => void
|
|
1377
|
-
): void;
|
|
1378
|
-
public disassociateIpGroups(
|
|
1379
|
-
args: DisassociateIpGroupsCommandInput,
|
|
1380
|
-
options: __HttpHandlerOptions,
|
|
1381
|
-
cb: (err: any, data?: DisassociateIpGroupsCommandOutput) => void
|
|
1382
|
-
): void;
|
|
1383
|
-
public disassociateIpGroups(
|
|
1384
|
-
args: DisassociateIpGroupsCommandInput,
|
|
1385
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateIpGroupsCommandOutput) => void),
|
|
1386
|
-
cb?: (err: any, data?: DisassociateIpGroupsCommandOutput) => void
|
|
1387
|
-
): Promise<DisassociateIpGroupsCommandOutput> | void {
|
|
1388
|
-
const command = new DisassociateIpGroupsCommand(args);
|
|
1389
|
-
if (typeof optionsOrCb === "function") {
|
|
1390
|
-
this.send(command, optionsOrCb);
|
|
1391
|
-
} else if (typeof cb === "function") {
|
|
1392
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1393
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1394
|
-
} else {
|
|
1395
|
-
return this.send(command, optionsOrCb);
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
|
|
1399
|
-
/**
|
|
1400
|
-
* <p>Imports the specified Windows 10 Bring Your Own License (BYOL) image into Amazon
|
|
1401
|
-
* WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your
|
|
1402
|
-
* Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see
|
|
1403
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html">
|
|
1404
|
-
* Bring Your Own Windows Desktop Licenses</a>.</p>
|
|
1405
|
-
*/
|
|
1406
|
-
public importWorkspaceImage(
|
|
1407
|
-
args: ImportWorkspaceImageCommandInput,
|
|
1408
|
-
options?: __HttpHandlerOptions
|
|
1409
|
-
): Promise<ImportWorkspaceImageCommandOutput>;
|
|
1410
|
-
public importWorkspaceImage(
|
|
1411
|
-
args: ImportWorkspaceImageCommandInput,
|
|
1412
|
-
cb: (err: any, data?: ImportWorkspaceImageCommandOutput) => void
|
|
1413
|
-
): void;
|
|
1414
|
-
public importWorkspaceImage(
|
|
1415
|
-
args: ImportWorkspaceImageCommandInput,
|
|
1416
|
-
options: __HttpHandlerOptions,
|
|
1417
|
-
cb: (err: any, data?: ImportWorkspaceImageCommandOutput) => void
|
|
1418
|
-
): void;
|
|
1419
|
-
public importWorkspaceImage(
|
|
1420
|
-
args: ImportWorkspaceImageCommandInput,
|
|
1421
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ImportWorkspaceImageCommandOutput) => void),
|
|
1422
|
-
cb?: (err: any, data?: ImportWorkspaceImageCommandOutput) => void
|
|
1423
|
-
): Promise<ImportWorkspaceImageCommandOutput> | void {
|
|
1424
|
-
const command = new ImportWorkspaceImageCommand(args);
|
|
1425
|
-
if (typeof optionsOrCb === "function") {
|
|
1426
|
-
this.send(command, optionsOrCb);
|
|
1427
|
-
} else if (typeof cb === "function") {
|
|
1428
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1429
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1430
|
-
} else {
|
|
1431
|
-
return this.send(command, optionsOrCb);
|
|
1432
|
-
}
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
/**
|
|
1436
|
-
* <p>Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use
|
|
1437
|
-
* for the network management interface when you enable Bring Your Own License (BYOL). </p>
|
|
1438
|
-
*
|
|
1439
|
-
* <p>This operation can be run only by Amazon Web Services accounts that are enabled for BYOL. If your account
|
|
1440
|
-
* isn't enabled for BYOL, you'll receive an <code>AccessDeniedException</code> error.</p>
|
|
1441
|
-
*
|
|
1442
|
-
* <p>The management network interface is connected to a secure Amazon WorkSpaces management
|
|
1443
|
-
* network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces
|
|
1444
|
-
* clients, and to allow Amazon WorkSpaces to manage the WorkSpace.</p>
|
|
1445
|
-
*/
|
|
1446
|
-
public listAvailableManagementCidrRanges(
|
|
1447
|
-
args: ListAvailableManagementCidrRangesCommandInput,
|
|
1448
|
-
options?: __HttpHandlerOptions
|
|
1449
|
-
): Promise<ListAvailableManagementCidrRangesCommandOutput>;
|
|
1450
|
-
public listAvailableManagementCidrRanges(
|
|
1451
|
-
args: ListAvailableManagementCidrRangesCommandInput,
|
|
1452
|
-
cb: (err: any, data?: ListAvailableManagementCidrRangesCommandOutput) => void
|
|
1453
|
-
): void;
|
|
1454
|
-
public listAvailableManagementCidrRanges(
|
|
1455
|
-
args: ListAvailableManagementCidrRangesCommandInput,
|
|
1456
|
-
options: __HttpHandlerOptions,
|
|
1457
|
-
cb: (err: any, data?: ListAvailableManagementCidrRangesCommandOutput) => void
|
|
1458
|
-
): void;
|
|
1459
|
-
public listAvailableManagementCidrRanges(
|
|
1460
|
-
args: ListAvailableManagementCidrRangesCommandInput,
|
|
1461
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAvailableManagementCidrRangesCommandOutput) => void),
|
|
1462
|
-
cb?: (err: any, data?: ListAvailableManagementCidrRangesCommandOutput) => void
|
|
1463
|
-
): Promise<ListAvailableManagementCidrRangesCommandOutput> | void {
|
|
1464
|
-
const command = new ListAvailableManagementCidrRangesCommand(args);
|
|
1465
|
-
if (typeof optionsOrCb === "function") {
|
|
1466
|
-
this.send(command, optionsOrCb);
|
|
1467
|
-
} else if (typeof cb === "function") {
|
|
1468
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1469
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1470
|
-
} else {
|
|
1471
|
-
return this.send(command, optionsOrCb);
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
/**
|
|
1476
|
-
* <p>Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.</p>
|
|
1477
|
-
*
|
|
1478
|
-
* <p>The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume
|
|
1479
|
-
* from the last available snapshot of the original WorkSpace. During migration, the original <code>D:\Users\%USERNAME%</code>
|
|
1480
|
-
* user profile folder is renamed to <code>D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated</code>. A new <code>D:\Users\%USERNAME%\</code>
|
|
1481
|
-
* folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.</p>
|
|
1482
|
-
*
|
|
1483
|
-
* <p>For available migration scenarios, details about what happens during migration, and best practices, see
|
|
1484
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/migrate-workspaces.html">Migrate a WorkSpace</a>.</p>
|
|
1485
|
-
*/
|
|
1486
|
-
public migrateWorkspace(
|
|
1487
|
-
args: MigrateWorkspaceCommandInput,
|
|
1488
|
-
options?: __HttpHandlerOptions
|
|
1489
|
-
): Promise<MigrateWorkspaceCommandOutput>;
|
|
1490
|
-
public migrateWorkspace(
|
|
1491
|
-
args: MigrateWorkspaceCommandInput,
|
|
1492
|
-
cb: (err: any, data?: MigrateWorkspaceCommandOutput) => void
|
|
1493
|
-
): void;
|
|
1494
|
-
public migrateWorkspace(
|
|
1495
|
-
args: MigrateWorkspaceCommandInput,
|
|
1496
|
-
options: __HttpHandlerOptions,
|
|
1497
|
-
cb: (err: any, data?: MigrateWorkspaceCommandOutput) => void
|
|
1498
|
-
): void;
|
|
1499
|
-
public migrateWorkspace(
|
|
1500
|
-
args: MigrateWorkspaceCommandInput,
|
|
1501
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: MigrateWorkspaceCommandOutput) => void),
|
|
1502
|
-
cb?: (err: any, data?: MigrateWorkspaceCommandOutput) => void
|
|
1503
|
-
): Promise<MigrateWorkspaceCommandOutput> | void {
|
|
1504
|
-
const command = new MigrateWorkspaceCommand(args);
|
|
1505
|
-
if (typeof optionsOrCb === "function") {
|
|
1506
|
-
this.send(command, optionsOrCb);
|
|
1507
|
-
} else if (typeof cb === "function") {
|
|
1508
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1509
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1510
|
-
} else {
|
|
1511
|
-
return this.send(command, optionsOrCb);
|
|
1512
|
-
}
|
|
1513
|
-
}
|
|
1514
|
-
|
|
1515
|
-
/**
|
|
1516
|
-
* <p>Modifies the configuration of Bring Your Own License (BYOL) for the specified
|
|
1517
|
-
* account.</p>
|
|
1518
|
-
*/
|
|
1519
|
-
public modifyAccount(
|
|
1520
|
-
args: ModifyAccountCommandInput,
|
|
1521
|
-
options?: __HttpHandlerOptions
|
|
1522
|
-
): Promise<ModifyAccountCommandOutput>;
|
|
1523
|
-
public modifyAccount(
|
|
1524
|
-
args: ModifyAccountCommandInput,
|
|
1525
|
-
cb: (err: any, data?: ModifyAccountCommandOutput) => void
|
|
1526
|
-
): void;
|
|
1527
|
-
public modifyAccount(
|
|
1528
|
-
args: ModifyAccountCommandInput,
|
|
1529
|
-
options: __HttpHandlerOptions,
|
|
1530
|
-
cb: (err: any, data?: ModifyAccountCommandOutput) => void
|
|
1531
|
-
): void;
|
|
1532
|
-
public modifyAccount(
|
|
1533
|
-
args: ModifyAccountCommandInput,
|
|
1534
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyAccountCommandOutput) => void),
|
|
1535
|
-
cb?: (err: any, data?: ModifyAccountCommandOutput) => void
|
|
1536
|
-
): Promise<ModifyAccountCommandOutput> | void {
|
|
1537
|
-
const command = new ModifyAccountCommand(args);
|
|
1538
|
-
if (typeof optionsOrCb === "function") {
|
|
1539
|
-
this.send(command, optionsOrCb);
|
|
1540
|
-
} else if (typeof cb === "function") {
|
|
1541
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1542
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1543
|
-
} else {
|
|
1544
|
-
return this.send(command, optionsOrCb);
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
/**
|
|
1549
|
-
* <p>Modifies the properties of the specified Amazon WorkSpaces clients.</p>
|
|
1550
|
-
*/
|
|
1551
|
-
public modifyClientProperties(
|
|
1552
|
-
args: ModifyClientPropertiesCommandInput,
|
|
1553
|
-
options?: __HttpHandlerOptions
|
|
1554
|
-
): Promise<ModifyClientPropertiesCommandOutput>;
|
|
1555
|
-
public modifyClientProperties(
|
|
1556
|
-
args: ModifyClientPropertiesCommandInput,
|
|
1557
|
-
cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void
|
|
1558
|
-
): void;
|
|
1559
|
-
public modifyClientProperties(
|
|
1560
|
-
args: ModifyClientPropertiesCommandInput,
|
|
1561
|
-
options: __HttpHandlerOptions,
|
|
1562
|
-
cb: (err: any, data?: ModifyClientPropertiesCommandOutput) => void
|
|
1563
|
-
): void;
|
|
1564
|
-
public modifyClientProperties(
|
|
1565
|
-
args: ModifyClientPropertiesCommandInput,
|
|
1566
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyClientPropertiesCommandOutput) => void),
|
|
1567
|
-
cb?: (err: any, data?: ModifyClientPropertiesCommandOutput) => void
|
|
1568
|
-
): Promise<ModifyClientPropertiesCommandOutput> | void {
|
|
1569
|
-
const command = new ModifyClientPropertiesCommand(args);
|
|
1570
|
-
if (typeof optionsOrCb === "function") {
|
|
1571
|
-
this.send(command, optionsOrCb);
|
|
1572
|
-
} else if (typeof cb === "function") {
|
|
1573
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1574
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1575
|
-
} else {
|
|
1576
|
-
return this.send(command, optionsOrCb);
|
|
1577
|
-
}
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
/**
|
|
1581
|
-
* <p>Modifies the self-service WorkSpace management capabilities for your users. For more
|
|
1582
|
-
* information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/enable-user-self-service-workspace-management.html">Enable Self-Service WorkSpace Management Capabilities for Your Users</a>.</p>
|
|
1583
|
-
*/
|
|
1584
|
-
public modifySelfservicePermissions(
|
|
1585
|
-
args: ModifySelfservicePermissionsCommandInput,
|
|
1586
|
-
options?: __HttpHandlerOptions
|
|
1587
|
-
): Promise<ModifySelfservicePermissionsCommandOutput>;
|
|
1588
|
-
public modifySelfservicePermissions(
|
|
1589
|
-
args: ModifySelfservicePermissionsCommandInput,
|
|
1590
|
-
cb: (err: any, data?: ModifySelfservicePermissionsCommandOutput) => void
|
|
1591
|
-
): void;
|
|
1592
|
-
public modifySelfservicePermissions(
|
|
1593
|
-
args: ModifySelfservicePermissionsCommandInput,
|
|
1594
|
-
options: __HttpHandlerOptions,
|
|
1595
|
-
cb: (err: any, data?: ModifySelfservicePermissionsCommandOutput) => void
|
|
1596
|
-
): void;
|
|
1597
|
-
public modifySelfservicePermissions(
|
|
1598
|
-
args: ModifySelfservicePermissionsCommandInput,
|
|
1599
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifySelfservicePermissionsCommandOutput) => void),
|
|
1600
|
-
cb?: (err: any, data?: ModifySelfservicePermissionsCommandOutput) => void
|
|
1601
|
-
): Promise<ModifySelfservicePermissionsCommandOutput> | void {
|
|
1602
|
-
const command = new ModifySelfservicePermissionsCommand(args);
|
|
1603
|
-
if (typeof optionsOrCb === "function") {
|
|
1604
|
-
this.send(command, optionsOrCb);
|
|
1605
|
-
} else if (typeof cb === "function") {
|
|
1606
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1607
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1608
|
-
} else {
|
|
1609
|
-
return this.send(command, optionsOrCb);
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
/**
|
|
1614
|
-
* <p>Specifies which devices and operating systems users can use to access their WorkSpaces.
|
|
1615
|
-
* For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html#control-device-access">
|
|
1616
|
-
* Control Device Access</a>.</p>
|
|
1617
|
-
*/
|
|
1618
|
-
public modifyWorkspaceAccessProperties(
|
|
1619
|
-
args: ModifyWorkspaceAccessPropertiesCommandInput,
|
|
1620
|
-
options?: __HttpHandlerOptions
|
|
1621
|
-
): Promise<ModifyWorkspaceAccessPropertiesCommandOutput>;
|
|
1622
|
-
public modifyWorkspaceAccessProperties(
|
|
1623
|
-
args: ModifyWorkspaceAccessPropertiesCommandInput,
|
|
1624
|
-
cb: (err: any, data?: ModifyWorkspaceAccessPropertiesCommandOutput) => void
|
|
1625
|
-
): void;
|
|
1626
|
-
public modifyWorkspaceAccessProperties(
|
|
1627
|
-
args: ModifyWorkspaceAccessPropertiesCommandInput,
|
|
1628
|
-
options: __HttpHandlerOptions,
|
|
1629
|
-
cb: (err: any, data?: ModifyWorkspaceAccessPropertiesCommandOutput) => void
|
|
1630
|
-
): void;
|
|
1631
|
-
public modifyWorkspaceAccessProperties(
|
|
1632
|
-
args: ModifyWorkspaceAccessPropertiesCommandInput,
|
|
1633
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyWorkspaceAccessPropertiesCommandOutput) => void),
|
|
1634
|
-
cb?: (err: any, data?: ModifyWorkspaceAccessPropertiesCommandOutput) => void
|
|
1635
|
-
): Promise<ModifyWorkspaceAccessPropertiesCommandOutput> | void {
|
|
1636
|
-
const command = new ModifyWorkspaceAccessPropertiesCommand(args);
|
|
1637
|
-
if (typeof optionsOrCb === "function") {
|
|
1638
|
-
this.send(command, optionsOrCb);
|
|
1639
|
-
} else if (typeof cb === "function") {
|
|
1640
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1641
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1642
|
-
} else {
|
|
1643
|
-
return this.send(command, optionsOrCb);
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
/**
|
|
1648
|
-
* <p>Modify the default properties used to create WorkSpaces.</p>
|
|
1649
|
-
*/
|
|
1650
|
-
public modifyWorkspaceCreationProperties(
|
|
1651
|
-
args: ModifyWorkspaceCreationPropertiesCommandInput,
|
|
1652
|
-
options?: __HttpHandlerOptions
|
|
1653
|
-
): Promise<ModifyWorkspaceCreationPropertiesCommandOutput>;
|
|
1654
|
-
public modifyWorkspaceCreationProperties(
|
|
1655
|
-
args: ModifyWorkspaceCreationPropertiesCommandInput,
|
|
1656
|
-
cb: (err: any, data?: ModifyWorkspaceCreationPropertiesCommandOutput) => void
|
|
1657
|
-
): void;
|
|
1658
|
-
public modifyWorkspaceCreationProperties(
|
|
1659
|
-
args: ModifyWorkspaceCreationPropertiesCommandInput,
|
|
1660
|
-
options: __HttpHandlerOptions,
|
|
1661
|
-
cb: (err: any, data?: ModifyWorkspaceCreationPropertiesCommandOutput) => void
|
|
1662
|
-
): void;
|
|
1663
|
-
public modifyWorkspaceCreationProperties(
|
|
1664
|
-
args: ModifyWorkspaceCreationPropertiesCommandInput,
|
|
1665
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyWorkspaceCreationPropertiesCommandOutput) => void),
|
|
1666
|
-
cb?: (err: any, data?: ModifyWorkspaceCreationPropertiesCommandOutput) => void
|
|
1667
|
-
): Promise<ModifyWorkspaceCreationPropertiesCommandOutput> | void {
|
|
1668
|
-
const command = new ModifyWorkspaceCreationPropertiesCommand(args);
|
|
1669
|
-
if (typeof optionsOrCb === "function") {
|
|
1670
|
-
this.send(command, optionsOrCb);
|
|
1671
|
-
} else if (typeof cb === "function") {
|
|
1672
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1673
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1674
|
-
} else {
|
|
1675
|
-
return this.send(command, optionsOrCb);
|
|
1676
|
-
}
|
|
1677
|
-
}
|
|
1678
|
-
|
|
1679
|
-
/**
|
|
1680
|
-
* <p>Modifies the specified WorkSpace properties. For important information about how
|
|
1681
|
-
* to modify the size of the root and user volumes, see
|
|
1682
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/modify-workspaces.html">
|
|
1683
|
-
* Modify a WorkSpace</a>.
|
|
1684
|
-
* </p>
|
|
1685
|
-
*/
|
|
1686
|
-
public modifyWorkspaceProperties(
|
|
1687
|
-
args: ModifyWorkspacePropertiesCommandInput,
|
|
1688
|
-
options?: __HttpHandlerOptions
|
|
1689
|
-
): Promise<ModifyWorkspacePropertiesCommandOutput>;
|
|
1690
|
-
public modifyWorkspaceProperties(
|
|
1691
|
-
args: ModifyWorkspacePropertiesCommandInput,
|
|
1692
|
-
cb: (err: any, data?: ModifyWorkspacePropertiesCommandOutput) => void
|
|
1693
|
-
): void;
|
|
1694
|
-
public modifyWorkspaceProperties(
|
|
1695
|
-
args: ModifyWorkspacePropertiesCommandInput,
|
|
1696
|
-
options: __HttpHandlerOptions,
|
|
1697
|
-
cb: (err: any, data?: ModifyWorkspacePropertiesCommandOutput) => void
|
|
1698
|
-
): void;
|
|
1699
|
-
public modifyWorkspaceProperties(
|
|
1700
|
-
args: ModifyWorkspacePropertiesCommandInput,
|
|
1701
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyWorkspacePropertiesCommandOutput) => void),
|
|
1702
|
-
cb?: (err: any, data?: ModifyWorkspacePropertiesCommandOutput) => void
|
|
1703
|
-
): Promise<ModifyWorkspacePropertiesCommandOutput> | void {
|
|
1704
|
-
const command = new ModifyWorkspacePropertiesCommand(args);
|
|
1705
|
-
if (typeof optionsOrCb === "function") {
|
|
1706
|
-
this.send(command, optionsOrCb);
|
|
1707
|
-
} else if (typeof cb === "function") {
|
|
1708
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1709
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1710
|
-
} else {
|
|
1711
|
-
return this.send(command, optionsOrCb);
|
|
1712
|
-
}
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
/**
|
|
1716
|
-
* <p>Sets the state of the specified WorkSpace.</p>
|
|
1717
|
-
* <p>To maintain a WorkSpace without being interrupted, set the WorkSpace state to
|
|
1718
|
-
* <code>ADMIN_MAINTENANCE</code>. WorkSpaces in this state do not respond to requests to
|
|
1719
|
-
* reboot, stop, start, rebuild, or restore. An AutoStop WorkSpace in this state is not
|
|
1720
|
-
* stopped. Users cannot log into a WorkSpace in the <code>ADMIN_MAINTENANCE</code>
|
|
1721
|
-
* state.</p>
|
|
1722
|
-
*/
|
|
1723
|
-
public modifyWorkspaceState(
|
|
1724
|
-
args: ModifyWorkspaceStateCommandInput,
|
|
1725
|
-
options?: __HttpHandlerOptions
|
|
1726
|
-
): Promise<ModifyWorkspaceStateCommandOutput>;
|
|
1727
|
-
public modifyWorkspaceState(
|
|
1728
|
-
args: ModifyWorkspaceStateCommandInput,
|
|
1729
|
-
cb: (err: any, data?: ModifyWorkspaceStateCommandOutput) => void
|
|
1730
|
-
): void;
|
|
1731
|
-
public modifyWorkspaceState(
|
|
1732
|
-
args: ModifyWorkspaceStateCommandInput,
|
|
1733
|
-
options: __HttpHandlerOptions,
|
|
1734
|
-
cb: (err: any, data?: ModifyWorkspaceStateCommandOutput) => void
|
|
1735
|
-
): void;
|
|
1736
|
-
public modifyWorkspaceState(
|
|
1737
|
-
args: ModifyWorkspaceStateCommandInput,
|
|
1738
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ModifyWorkspaceStateCommandOutput) => void),
|
|
1739
|
-
cb?: (err: any, data?: ModifyWorkspaceStateCommandOutput) => void
|
|
1740
|
-
): Promise<ModifyWorkspaceStateCommandOutput> | void {
|
|
1741
|
-
const command = new ModifyWorkspaceStateCommand(args);
|
|
1742
|
-
if (typeof optionsOrCb === "function") {
|
|
1743
|
-
this.send(command, optionsOrCb);
|
|
1744
|
-
} else if (typeof cb === "function") {
|
|
1745
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1746
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1747
|
-
} else {
|
|
1748
|
-
return this.send(command, optionsOrCb);
|
|
1749
|
-
}
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
/**
|
|
1753
|
-
* <p>Reboots the specified WorkSpaces.</p>
|
|
1754
|
-
* <p>You cannot reboot a WorkSpace unless its state is <code>AVAILABLE</code> or
|
|
1755
|
-
* <code>UNHEALTHY</code>.</p>
|
|
1756
|
-
* <p>This operation is asynchronous and returns before the WorkSpaces have rebooted.</p>
|
|
1757
|
-
*/
|
|
1758
|
-
public rebootWorkspaces(
|
|
1759
|
-
args: RebootWorkspacesCommandInput,
|
|
1760
|
-
options?: __HttpHandlerOptions
|
|
1761
|
-
): Promise<RebootWorkspacesCommandOutput>;
|
|
1762
|
-
public rebootWorkspaces(
|
|
1763
|
-
args: RebootWorkspacesCommandInput,
|
|
1764
|
-
cb: (err: any, data?: RebootWorkspacesCommandOutput) => void
|
|
1765
|
-
): void;
|
|
1766
|
-
public rebootWorkspaces(
|
|
1767
|
-
args: RebootWorkspacesCommandInput,
|
|
1768
|
-
options: __HttpHandlerOptions,
|
|
1769
|
-
cb: (err: any, data?: RebootWorkspacesCommandOutput) => void
|
|
1770
|
-
): void;
|
|
1771
|
-
public rebootWorkspaces(
|
|
1772
|
-
args: RebootWorkspacesCommandInput,
|
|
1773
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RebootWorkspacesCommandOutput) => void),
|
|
1774
|
-
cb?: (err: any, data?: RebootWorkspacesCommandOutput) => void
|
|
1775
|
-
): Promise<RebootWorkspacesCommandOutput> | void {
|
|
1776
|
-
const command = new RebootWorkspacesCommand(args);
|
|
1777
|
-
if (typeof optionsOrCb === "function") {
|
|
1778
|
-
this.send(command, optionsOrCb);
|
|
1779
|
-
} else if (typeof cb === "function") {
|
|
1780
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1781
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1782
|
-
} else {
|
|
1783
|
-
return this.send(command, optionsOrCb);
|
|
1784
|
-
}
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
/**
|
|
1788
|
-
* <p>Rebuilds the specified WorkSpace.</p>
|
|
1789
|
-
* <p>You cannot rebuild a WorkSpace unless its state is <code>AVAILABLE</code>,
|
|
1790
|
-
* <code>ERROR</code>, <code>UNHEALTHY</code>, <code>STOPPED</code>, or <code>REBOOTING</code>.</p>
|
|
1791
|
-
* <p>Rebuilding a WorkSpace is a potentially destructive action that can result in the loss
|
|
1792
|
-
* of data. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/reset-workspace.html">Rebuild a
|
|
1793
|
-
* WorkSpace</a>.</p>
|
|
1794
|
-
* <p>This operation is asynchronous and returns before the WorkSpaces have been completely
|
|
1795
|
-
* rebuilt.</p>
|
|
1796
|
-
*/
|
|
1797
|
-
public rebuildWorkspaces(
|
|
1798
|
-
args: RebuildWorkspacesCommandInput,
|
|
1799
|
-
options?: __HttpHandlerOptions
|
|
1800
|
-
): Promise<RebuildWorkspacesCommandOutput>;
|
|
1801
|
-
public rebuildWorkspaces(
|
|
1802
|
-
args: RebuildWorkspacesCommandInput,
|
|
1803
|
-
cb: (err: any, data?: RebuildWorkspacesCommandOutput) => void
|
|
1804
|
-
): void;
|
|
1805
|
-
public rebuildWorkspaces(
|
|
1806
|
-
args: RebuildWorkspacesCommandInput,
|
|
1807
|
-
options: __HttpHandlerOptions,
|
|
1808
|
-
cb: (err: any, data?: RebuildWorkspacesCommandOutput) => void
|
|
1809
|
-
): void;
|
|
1810
|
-
public rebuildWorkspaces(
|
|
1811
|
-
args: RebuildWorkspacesCommandInput,
|
|
1812
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RebuildWorkspacesCommandOutput) => void),
|
|
1813
|
-
cb?: (err: any, data?: RebuildWorkspacesCommandOutput) => void
|
|
1814
|
-
): Promise<RebuildWorkspacesCommandOutput> | void {
|
|
1815
|
-
const command = new RebuildWorkspacesCommand(args);
|
|
1816
|
-
if (typeof optionsOrCb === "function") {
|
|
1817
|
-
this.send(command, optionsOrCb);
|
|
1818
|
-
} else if (typeof cb === "function") {
|
|
1819
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1820
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1821
|
-
} else {
|
|
1822
|
-
return this.send(command, optionsOrCb);
|
|
1823
|
-
}
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
/**
|
|
1827
|
-
* <p>Registers the specified directory. This operation is asynchronous
|
|
1828
|
-
* and returns before the WorkSpace directory is registered. If this is the first time you are
|
|
1829
|
-
* registering a directory, you will need to create the workspaces_DefaultRole role before you can
|
|
1830
|
-
* register a directory. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role">
|
|
1831
|
-
* Creating the workspaces_DefaultRole Role</a>.</p>
|
|
1832
|
-
*/
|
|
1833
|
-
public registerWorkspaceDirectory(
|
|
1834
|
-
args: RegisterWorkspaceDirectoryCommandInput,
|
|
1835
|
-
options?: __HttpHandlerOptions
|
|
1836
|
-
): Promise<RegisterWorkspaceDirectoryCommandOutput>;
|
|
1837
|
-
public registerWorkspaceDirectory(
|
|
1838
|
-
args: RegisterWorkspaceDirectoryCommandInput,
|
|
1839
|
-
cb: (err: any, data?: RegisterWorkspaceDirectoryCommandOutput) => void
|
|
1840
|
-
): void;
|
|
1841
|
-
public registerWorkspaceDirectory(
|
|
1842
|
-
args: RegisterWorkspaceDirectoryCommandInput,
|
|
1843
|
-
options: __HttpHandlerOptions,
|
|
1844
|
-
cb: (err: any, data?: RegisterWorkspaceDirectoryCommandOutput) => void
|
|
1845
|
-
): void;
|
|
1846
|
-
public registerWorkspaceDirectory(
|
|
1847
|
-
args: RegisterWorkspaceDirectoryCommandInput,
|
|
1848
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterWorkspaceDirectoryCommandOutput) => void),
|
|
1849
|
-
cb?: (err: any, data?: RegisterWorkspaceDirectoryCommandOutput) => void
|
|
1850
|
-
): Promise<RegisterWorkspaceDirectoryCommandOutput> | void {
|
|
1851
|
-
const command = new RegisterWorkspaceDirectoryCommand(args);
|
|
1852
|
-
if (typeof optionsOrCb === "function") {
|
|
1853
|
-
this.send(command, optionsOrCb);
|
|
1854
|
-
} else if (typeof cb === "function") {
|
|
1855
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1856
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1857
|
-
} else {
|
|
1858
|
-
return this.send(command, optionsOrCb);
|
|
1859
|
-
}
|
|
1860
|
-
}
|
|
1861
|
-
|
|
1862
|
-
/**
|
|
1863
|
-
* <p>Restores the specified WorkSpace to its last known healthy state.</p>
|
|
1864
|
-
* <p>You cannot restore a WorkSpace unless its state is <code> AVAILABLE</code>,
|
|
1865
|
-
* <code>ERROR</code>, <code>UNHEALTHY</code>, or <code>STOPPED</code>.</p>
|
|
1866
|
-
* <p>Restoring a WorkSpace is a potentially destructive action that can result in the loss of
|
|
1867
|
-
* data. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/restore-workspace.html">Restore a
|
|
1868
|
-
* WorkSpace</a>.</p>
|
|
1869
|
-
* <p>This operation is asynchronous and returns before the WorkSpace is completely
|
|
1870
|
-
* restored.</p>
|
|
1871
|
-
*/
|
|
1872
|
-
public restoreWorkspace(
|
|
1873
|
-
args: RestoreWorkspaceCommandInput,
|
|
1874
|
-
options?: __HttpHandlerOptions
|
|
1875
|
-
): Promise<RestoreWorkspaceCommandOutput>;
|
|
1876
|
-
public restoreWorkspace(
|
|
1877
|
-
args: RestoreWorkspaceCommandInput,
|
|
1878
|
-
cb: (err: any, data?: RestoreWorkspaceCommandOutput) => void
|
|
1879
|
-
): void;
|
|
1880
|
-
public restoreWorkspace(
|
|
1881
|
-
args: RestoreWorkspaceCommandInput,
|
|
1882
|
-
options: __HttpHandlerOptions,
|
|
1883
|
-
cb: (err: any, data?: RestoreWorkspaceCommandOutput) => void
|
|
1884
|
-
): void;
|
|
1885
|
-
public restoreWorkspace(
|
|
1886
|
-
args: RestoreWorkspaceCommandInput,
|
|
1887
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RestoreWorkspaceCommandOutput) => void),
|
|
1888
|
-
cb?: (err: any, data?: RestoreWorkspaceCommandOutput) => void
|
|
1889
|
-
): Promise<RestoreWorkspaceCommandOutput> | void {
|
|
1890
|
-
const command = new RestoreWorkspaceCommand(args);
|
|
1891
|
-
if (typeof optionsOrCb === "function") {
|
|
1892
|
-
this.send(command, optionsOrCb);
|
|
1893
|
-
} else if (typeof cb === "function") {
|
|
1894
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1895
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1896
|
-
} else {
|
|
1897
|
-
return this.send(command, optionsOrCb);
|
|
1898
|
-
}
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
/**
|
|
1902
|
-
* <p>Removes one or more rules from the specified IP access control group.</p>
|
|
1903
|
-
*/
|
|
1904
|
-
public revokeIpRules(
|
|
1905
|
-
args: RevokeIpRulesCommandInput,
|
|
1906
|
-
options?: __HttpHandlerOptions
|
|
1907
|
-
): Promise<RevokeIpRulesCommandOutput>;
|
|
1908
|
-
public revokeIpRules(
|
|
1909
|
-
args: RevokeIpRulesCommandInput,
|
|
1910
|
-
cb: (err: any, data?: RevokeIpRulesCommandOutput) => void
|
|
1911
|
-
): void;
|
|
1912
|
-
public revokeIpRules(
|
|
1913
|
-
args: RevokeIpRulesCommandInput,
|
|
1914
|
-
options: __HttpHandlerOptions,
|
|
1915
|
-
cb: (err: any, data?: RevokeIpRulesCommandOutput) => void
|
|
1916
|
-
): void;
|
|
1917
|
-
public revokeIpRules(
|
|
1918
|
-
args: RevokeIpRulesCommandInput,
|
|
1919
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RevokeIpRulesCommandOutput) => void),
|
|
1920
|
-
cb?: (err: any, data?: RevokeIpRulesCommandOutput) => void
|
|
1921
|
-
): Promise<RevokeIpRulesCommandOutput> | void {
|
|
1922
|
-
const command = new RevokeIpRulesCommand(args);
|
|
1923
|
-
if (typeof optionsOrCb === "function") {
|
|
1924
|
-
this.send(command, optionsOrCb);
|
|
1925
|
-
} else if (typeof cb === "function") {
|
|
1926
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1927
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1928
|
-
} else {
|
|
1929
|
-
return this.send(command, optionsOrCb);
|
|
1930
|
-
}
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
/**
|
|
1934
|
-
* <p>Starts the specified WorkSpaces.</p>
|
|
1935
|
-
* <p>You cannot start a WorkSpace unless it has a running mode of <code>AutoStop</code> and a
|
|
1936
|
-
* state of <code>STOPPED</code>.</p>
|
|
1937
|
-
*/
|
|
1938
|
-
public startWorkspaces(
|
|
1939
|
-
args: StartWorkspacesCommandInput,
|
|
1940
|
-
options?: __HttpHandlerOptions
|
|
1941
|
-
): Promise<StartWorkspacesCommandOutput>;
|
|
1942
|
-
public startWorkspaces(
|
|
1943
|
-
args: StartWorkspacesCommandInput,
|
|
1944
|
-
cb: (err: any, data?: StartWorkspacesCommandOutput) => void
|
|
1945
|
-
): void;
|
|
1946
|
-
public startWorkspaces(
|
|
1947
|
-
args: StartWorkspacesCommandInput,
|
|
1948
|
-
options: __HttpHandlerOptions,
|
|
1949
|
-
cb: (err: any, data?: StartWorkspacesCommandOutput) => void
|
|
1950
|
-
): void;
|
|
1951
|
-
public startWorkspaces(
|
|
1952
|
-
args: StartWorkspacesCommandInput,
|
|
1953
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartWorkspacesCommandOutput) => void),
|
|
1954
|
-
cb?: (err: any, data?: StartWorkspacesCommandOutput) => void
|
|
1955
|
-
): Promise<StartWorkspacesCommandOutput> | void {
|
|
1956
|
-
const command = new StartWorkspacesCommand(args);
|
|
1957
|
-
if (typeof optionsOrCb === "function") {
|
|
1958
|
-
this.send(command, optionsOrCb);
|
|
1959
|
-
} else if (typeof cb === "function") {
|
|
1960
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1961
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1962
|
-
} else {
|
|
1963
|
-
return this.send(command, optionsOrCb);
|
|
1964
|
-
}
|
|
1965
|
-
}
|
|
1966
|
-
|
|
1967
|
-
/**
|
|
1968
|
-
* <p> Stops the specified WorkSpaces.</p>
|
|
1969
|
-
* <p>You cannot stop a WorkSpace unless it has a running mode of <code>AutoStop</code> and a
|
|
1970
|
-
* state of <code>AVAILABLE</code>, <code>IMPAIRED</code>, <code>UNHEALTHY</code>, or
|
|
1971
|
-
* <code>ERROR</code>.</p>
|
|
1972
|
-
*/
|
|
1973
|
-
public stopWorkspaces(
|
|
1974
|
-
args: StopWorkspacesCommandInput,
|
|
1975
|
-
options?: __HttpHandlerOptions
|
|
1976
|
-
): Promise<StopWorkspacesCommandOutput>;
|
|
1977
|
-
public stopWorkspaces(
|
|
1978
|
-
args: StopWorkspacesCommandInput,
|
|
1979
|
-
cb: (err: any, data?: StopWorkspacesCommandOutput) => void
|
|
1980
|
-
): void;
|
|
1981
|
-
public stopWorkspaces(
|
|
1982
|
-
args: StopWorkspacesCommandInput,
|
|
1983
|
-
options: __HttpHandlerOptions,
|
|
1984
|
-
cb: (err: any, data?: StopWorkspacesCommandOutput) => void
|
|
1985
|
-
): void;
|
|
1986
|
-
public stopWorkspaces(
|
|
1987
|
-
args: StopWorkspacesCommandInput,
|
|
1988
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopWorkspacesCommandOutput) => void),
|
|
1989
|
-
cb?: (err: any, data?: StopWorkspacesCommandOutput) => void
|
|
1990
|
-
): Promise<StopWorkspacesCommandOutput> | void {
|
|
1991
|
-
const command = new StopWorkspacesCommand(args);
|
|
1992
|
-
if (typeof optionsOrCb === "function") {
|
|
1993
|
-
this.send(command, optionsOrCb);
|
|
1994
|
-
} else if (typeof cb === "function") {
|
|
1995
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1996
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1997
|
-
} else {
|
|
1998
|
-
return this.send(command, optionsOrCb);
|
|
1999
|
-
}
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
/**
|
|
2003
|
-
* <p>Terminates the specified WorkSpaces.</p>
|
|
2004
|
-
*
|
|
2005
|
-
* <important>
|
|
2006
|
-
* <p>Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is
|
|
2007
|
-
* destroyed. If you need to archive any user data, contact Amazon Web Services Support before
|
|
2008
|
-
* terminating the WorkSpace.</p>
|
|
2009
|
-
* </important>
|
|
2010
|
-
*
|
|
2011
|
-
* <p>You can terminate a WorkSpace that is in any state except <code>SUSPENDED</code>.</p>
|
|
2012
|
-
* <p>This operation is asynchronous and returns before the WorkSpaces have been completely
|
|
2013
|
-
* terminated. After a WorkSpace is terminated, the <code>TERMINATED</code> state is returned
|
|
2014
|
-
* only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely
|
|
2015
|
-
* returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using
|
|
2016
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html">
|
|
2017
|
-
* DescribeWorkSpaces</a>. If the WorkSpace ID isn't returned, then the WorkSpace has
|
|
2018
|
-
* been successfully terminated.</p>
|
|
2019
|
-
*
|
|
2020
|
-
* <note>
|
|
2021
|
-
* <p>Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces.
|
|
2022
|
-
* If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30
|
|
2023
|
-
* consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces,
|
|
2024
|
-
* and you will be charged for this directory as per the
|
|
2025
|
-
* <a href="http://aws.amazon.com/directoryservice/pricing/">Directory Service pricing terms</a>.</p>
|
|
2026
|
-
*
|
|
2027
|
-
* <p>To delete empty directories, see
|
|
2028
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/delete-workspaces-directory.html">
|
|
2029
|
-
* Delete the Directory for Your WorkSpaces</a>. If you delete your
|
|
2030
|
-
* Simple AD or AD Connector directory, you can always create a new one when you want to start using
|
|
2031
|
-
* WorkSpaces again.</p>
|
|
2032
|
-
* </note>
|
|
2033
|
-
*/
|
|
2034
|
-
public terminateWorkspaces(
|
|
2035
|
-
args: TerminateWorkspacesCommandInput,
|
|
2036
|
-
options?: __HttpHandlerOptions
|
|
2037
|
-
): Promise<TerminateWorkspacesCommandOutput>;
|
|
2038
|
-
public terminateWorkspaces(
|
|
2039
|
-
args: TerminateWorkspacesCommandInput,
|
|
2040
|
-
cb: (err: any, data?: TerminateWorkspacesCommandOutput) => void
|
|
2041
|
-
): void;
|
|
2042
|
-
public terminateWorkspaces(
|
|
2043
|
-
args: TerminateWorkspacesCommandInput,
|
|
2044
|
-
options: __HttpHandlerOptions,
|
|
2045
|
-
cb: (err: any, data?: TerminateWorkspacesCommandOutput) => void
|
|
2046
|
-
): void;
|
|
2047
|
-
public terminateWorkspaces(
|
|
2048
|
-
args: TerminateWorkspacesCommandInput,
|
|
2049
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TerminateWorkspacesCommandOutput) => void),
|
|
2050
|
-
cb?: (err: any, data?: TerminateWorkspacesCommandOutput) => void
|
|
2051
|
-
): Promise<TerminateWorkspacesCommandOutput> | void {
|
|
2052
|
-
const command = new TerminateWorkspacesCommand(args);
|
|
2053
|
-
if (typeof optionsOrCb === "function") {
|
|
2054
|
-
this.send(command, optionsOrCb);
|
|
2055
|
-
} else if (typeof cb === "function") {
|
|
2056
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2057
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2058
|
-
} else {
|
|
2059
|
-
return this.send(command, optionsOrCb);
|
|
2060
|
-
}
|
|
2061
|
-
}
|
|
2062
|
-
|
|
2063
|
-
/**
|
|
2064
|
-
* <p>Shares or unshares a connection alias with one account by specifying whether that account has permission to
|
|
2065
|
-
* associate the connection alias with a directory. If the association permission is granted, the connection alias
|
|
2066
|
-
* is shared with that account. If the association permission is revoked, the connection alias is unshared with the
|
|
2067
|
-
* account. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
2068
|
-
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
2069
|
-
*
|
|
2070
|
-
* <note>
|
|
2071
|
-
* <ul>
|
|
2072
|
-
* <li>
|
|
2073
|
-
* <p>Before performing this operation, call <a href="https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html">
|
|
2074
|
-
* DescribeConnectionAliases</a> to make sure that the current state of the connection alias is <code>CREATED</code>.</p>
|
|
2075
|
-
* </li>
|
|
2076
|
-
* <li>
|
|
2077
|
-
* <p>To delete a connection alias that has been shared, the shared account must first disassociate the
|
|
2078
|
-
* connection alias from any directories it has been associated with. Then you must unshare the connection
|
|
2079
|
-
* alias from the account it has been shared with. You can delete a connection alias only after it is no
|
|
2080
|
-
* longer shared with any accounts or associated with any directories.</p>
|
|
2081
|
-
* </li>
|
|
2082
|
-
* </ul>
|
|
2083
|
-
* </note>
|
|
2084
|
-
*/
|
|
2085
|
-
public updateConnectionAliasPermission(
|
|
2086
|
-
args: UpdateConnectionAliasPermissionCommandInput,
|
|
2087
|
-
options?: __HttpHandlerOptions
|
|
2088
|
-
): Promise<UpdateConnectionAliasPermissionCommandOutput>;
|
|
2089
|
-
public updateConnectionAliasPermission(
|
|
2090
|
-
args: UpdateConnectionAliasPermissionCommandInput,
|
|
2091
|
-
cb: (err: any, data?: UpdateConnectionAliasPermissionCommandOutput) => void
|
|
2092
|
-
): void;
|
|
2093
|
-
public updateConnectionAliasPermission(
|
|
2094
|
-
args: UpdateConnectionAliasPermissionCommandInput,
|
|
2095
|
-
options: __HttpHandlerOptions,
|
|
2096
|
-
cb: (err: any, data?: UpdateConnectionAliasPermissionCommandOutput) => void
|
|
2097
|
-
): void;
|
|
2098
|
-
public updateConnectionAliasPermission(
|
|
2099
|
-
args: UpdateConnectionAliasPermissionCommandInput,
|
|
2100
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateConnectionAliasPermissionCommandOutput) => void),
|
|
2101
|
-
cb?: (err: any, data?: UpdateConnectionAliasPermissionCommandOutput) => void
|
|
2102
|
-
): Promise<UpdateConnectionAliasPermissionCommandOutput> | void {
|
|
2103
|
-
const command = new UpdateConnectionAliasPermissionCommand(args);
|
|
2104
|
-
if (typeof optionsOrCb === "function") {
|
|
2105
|
-
this.send(command, optionsOrCb);
|
|
2106
|
-
} else if (typeof cb === "function") {
|
|
2107
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2108
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2109
|
-
} else {
|
|
2110
|
-
return this.send(command, optionsOrCb);
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
2113
|
-
|
|
2114
|
-
/**
|
|
2115
|
-
* <p>Replaces the current rules of the specified IP access control group with the specified
|
|
2116
|
-
* rules.</p>
|
|
2117
|
-
*/
|
|
2118
|
-
public updateRulesOfIpGroup(
|
|
2119
|
-
args: UpdateRulesOfIpGroupCommandInput,
|
|
2120
|
-
options?: __HttpHandlerOptions
|
|
2121
|
-
): Promise<UpdateRulesOfIpGroupCommandOutput>;
|
|
2122
|
-
public updateRulesOfIpGroup(
|
|
2123
|
-
args: UpdateRulesOfIpGroupCommandInput,
|
|
2124
|
-
cb: (err: any, data?: UpdateRulesOfIpGroupCommandOutput) => void
|
|
2125
|
-
): void;
|
|
2126
|
-
public updateRulesOfIpGroup(
|
|
2127
|
-
args: UpdateRulesOfIpGroupCommandInput,
|
|
2128
|
-
options: __HttpHandlerOptions,
|
|
2129
|
-
cb: (err: any, data?: UpdateRulesOfIpGroupCommandOutput) => void
|
|
2130
|
-
): void;
|
|
2131
|
-
public updateRulesOfIpGroup(
|
|
2132
|
-
args: UpdateRulesOfIpGroupCommandInput,
|
|
2133
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRulesOfIpGroupCommandOutput) => void),
|
|
2134
|
-
cb?: (err: any, data?: UpdateRulesOfIpGroupCommandOutput) => void
|
|
2135
|
-
): Promise<UpdateRulesOfIpGroupCommandOutput> | void {
|
|
2136
|
-
const command = new UpdateRulesOfIpGroupCommand(args);
|
|
2137
|
-
if (typeof optionsOrCb === "function") {
|
|
2138
|
-
this.send(command, optionsOrCb);
|
|
2139
|
-
} else if (typeof cb === "function") {
|
|
2140
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2141
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2142
|
-
} else {
|
|
2143
|
-
return this.send(command, optionsOrCb);
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
|
|
2147
|
-
/**
|
|
2148
|
-
* <p>Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see
|
|
2149
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/update-custom-bundle.html">
|
|
2150
|
-
* Update a Custom WorkSpaces Bundle</a>.</p>
|
|
2151
|
-
*
|
|
2152
|
-
* <important>
|
|
2153
|
-
* <p>Existing WorkSpaces aren't automatically updated when you update the bundle that they're
|
|
2154
|
-
* based on. To update existing WorkSpaces that are based on a bundle that you've updated, you
|
|
2155
|
-
* must either rebuild the WorkSpaces or delete and recreate them.</p>
|
|
2156
|
-
* </important>
|
|
2157
|
-
*/
|
|
2158
|
-
public updateWorkspaceBundle(
|
|
2159
|
-
args: UpdateWorkspaceBundleCommandInput,
|
|
2160
|
-
options?: __HttpHandlerOptions
|
|
2161
|
-
): Promise<UpdateWorkspaceBundleCommandOutput>;
|
|
2162
|
-
public updateWorkspaceBundle(
|
|
2163
|
-
args: UpdateWorkspaceBundleCommandInput,
|
|
2164
|
-
cb: (err: any, data?: UpdateWorkspaceBundleCommandOutput) => void
|
|
2165
|
-
): void;
|
|
2166
|
-
public updateWorkspaceBundle(
|
|
2167
|
-
args: UpdateWorkspaceBundleCommandInput,
|
|
2168
|
-
options: __HttpHandlerOptions,
|
|
2169
|
-
cb: (err: any, data?: UpdateWorkspaceBundleCommandOutput) => void
|
|
2170
|
-
): void;
|
|
2171
|
-
public updateWorkspaceBundle(
|
|
2172
|
-
args: UpdateWorkspaceBundleCommandInput,
|
|
2173
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateWorkspaceBundleCommandOutput) => void),
|
|
2174
|
-
cb?: (err: any, data?: UpdateWorkspaceBundleCommandOutput) => void
|
|
2175
|
-
): Promise<UpdateWorkspaceBundleCommandOutput> | void {
|
|
2176
|
-
const command = new UpdateWorkspaceBundleCommand(args);
|
|
2177
|
-
if (typeof optionsOrCb === "function") {
|
|
2178
|
-
this.send(command, optionsOrCb);
|
|
2179
|
-
} else if (typeof cb === "function") {
|
|
2180
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2181
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2182
|
-
} else {
|
|
2183
|
-
return this.send(command, optionsOrCb);
|
|
2184
|
-
}
|
|
2185
|
-
}
|
|
2186
|
-
|
|
2187
|
-
/**
|
|
2188
|
-
* <p>Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has
|
|
2189
|
-
* permission to copy the image. If the copy image permission is granted, the image is shared with that account.
|
|
2190
|
-
* If the copy image permission is revoked, the image is unshared with the account.</p>
|
|
2191
|
-
*
|
|
2192
|
-
* <p>After an image has been shared, the recipient account can copy the image to other Regions as needed.</p>
|
|
2193
|
-
*
|
|
2194
|
-
* <p>In the China (Ningxia) Region, you can copy images only within the same Region.</p>
|
|
2195
|
-
*
|
|
2196
|
-
* <p>In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.</p>
|
|
2197
|
-
*
|
|
2198
|
-
* <p>For more information about sharing images, see
|
|
2199
|
-
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html">
|
|
2200
|
-
* Share or Unshare a Custom WorkSpaces Image</a>.</p>
|
|
2201
|
-
*
|
|
2202
|
-
* <note>
|
|
2203
|
-
* <ul>
|
|
2204
|
-
* <li>
|
|
2205
|
-
* <p>To delete an image that has been shared, you must unshare the image before you delete it.</p>
|
|
2206
|
-
* </li>
|
|
2207
|
-
* <li>
|
|
2208
|
-
* <p>Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at
|
|
2209
|
-
* this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in
|
|
2210
|
-
* Amazon Web Services GovCloud (US), contact Amazon Web Services Support.</p>
|
|
2211
|
-
* </li>
|
|
2212
|
-
* </ul>
|
|
2213
|
-
* </note>
|
|
2214
|
-
*/
|
|
2215
|
-
public updateWorkspaceImagePermission(
|
|
2216
|
-
args: UpdateWorkspaceImagePermissionCommandInput,
|
|
2217
|
-
options?: __HttpHandlerOptions
|
|
2218
|
-
): Promise<UpdateWorkspaceImagePermissionCommandOutput>;
|
|
2219
|
-
public updateWorkspaceImagePermission(
|
|
2220
|
-
args: UpdateWorkspaceImagePermissionCommandInput,
|
|
2221
|
-
cb: (err: any, data?: UpdateWorkspaceImagePermissionCommandOutput) => void
|
|
2222
|
-
): void;
|
|
2223
|
-
public updateWorkspaceImagePermission(
|
|
2224
|
-
args: UpdateWorkspaceImagePermissionCommandInput,
|
|
2225
|
-
options: __HttpHandlerOptions,
|
|
2226
|
-
cb: (err: any, data?: UpdateWorkspaceImagePermissionCommandOutput) => void
|
|
2227
|
-
): void;
|
|
2228
|
-
public updateWorkspaceImagePermission(
|
|
2229
|
-
args: UpdateWorkspaceImagePermissionCommandInput,
|
|
2230
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateWorkspaceImagePermissionCommandOutput) => void),
|
|
2231
|
-
cb?: (err: any, data?: UpdateWorkspaceImagePermissionCommandOutput) => void
|
|
2232
|
-
): Promise<UpdateWorkspaceImagePermissionCommandOutput> | void {
|
|
2233
|
-
const command = new UpdateWorkspaceImagePermissionCommand(args);
|
|
2234
|
-
if (typeof optionsOrCb === "function") {
|
|
2235
|
-
this.send(command, optionsOrCb);
|
|
2236
|
-
} else if (typeof cb === "function") {
|
|
2237
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2238
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
2239
|
-
} else {
|
|
2240
|
-
return this.send(command, optionsOrCb);
|
|
2241
|
-
}
|
|
2242
|
-
}
|
|
2243
|
-
}
|