Skip to content

Stop Workspaces

workspaces_stop_workspaces R Documentation

Stops the specified WorkSpaces

Description

Stops the specified WorkSpaces.

You cannot stop a WorkSpace unless it has a running mode of AutoStop or Manual and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR.

Usage

workspaces_stop_workspaces(StopWorkspaceRequests)

Arguments

StopWorkspaceRequests

[required] The WorkSpaces to stop. 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$stop_workspaces(
  StopWorkspaceRequests = list(
    list(
      WorkspaceId = "string"
    )
  )
)