Skip to content

Reboot Workspaces

workspaces_reboot_workspaces R Documentation

Reboots the specified WorkSpaces

Description

Reboots the specified WorkSpaces.

You cannot reboot a WorkSpace unless its state is AVAILABLE, UNHEALTHY, or REBOOTING. Reboot a WorkSpace in the REBOOTING state only if your WorkSpace has been stuck in the REBOOTING state for over 20 minutes.

This operation is asynchronous and returns before the WorkSpaces have rebooted.

Usage

workspaces_reboot_workspaces(RebootWorkspaceRequests)

Arguments

RebootWorkspaceRequests

[required] The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.

Value

A list with the following syntax:

list(
  FailedRequests = list(
    list(
      WorkspaceId = "string",
      ErrorCode = "string",
      ErrorMessage = "string"
    )
  )
)

Request syntax

svc$reboot_workspaces(
  RebootWorkspaceRequests = list(
    list(
      WorkspaceId = "string"
    )
  )
)