Skip to content

Rebuild Workspaces

workspaces_rebuild_workspaces R Documentation

Rebuilds the specified WorkSpace

Description

Rebuilds the specified WorkSpace.

You cannot rebuild a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, STOPPED, or REBOOTING.

Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.

This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.

Usage

workspaces_rebuild_workspaces(RebuildWorkspaceRequests)

Arguments

RebuildWorkspaceRequests

[required] The WorkSpace to rebuild. You can specify a single WorkSpace.

Value

A list with the following syntax:

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

Request syntax

svc$rebuild_workspaces(
  RebuildWorkspaceRequests = list(
    list(
      WorkspaceId = "string"
    )
  )
)