Registers the specified directory. This operation is asynchronous and returns before the WorkSpace directory is registered. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role"> Creating the workspaces_DefaultRole Role</a>.
post/#X-Amz-Target=WorkspacesService.RegisterWorkspaceDirectory
Headers
X-Amz-Target'WorkspacesService.RegisterWorkspaceDirectory' required
Request body
Response
Success
RegisterWorkspaceDirectoryResult required