amazonka-workspaces-1.3.4: Amazon WorkSpaces SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WorkSpaces.RebootWorkspaces

Contents

Description

Reboots the specified WorkSpaces.

To be able to reboot a WorkSpace, the WorkSpace must have a State of AVAILABLE, IMPAIRED, or INOPERABLE.

This operation is asynchronous and will return before the WorkSpaces have rebooted.

See: AWS API Reference for RebootWorkspaces.

Synopsis

Creating a Request

rebootWorkspaces Source

Creates a value of RebootWorkspaces with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

rwRebootWorkspaceRequests :: Lens' RebootWorkspaces (NonEmpty RebootRequest) Source

An array of structures that specify the WorkSpaces to reboot.

Destructuring the Response

rebootWorkspacesResponse Source

Creates a value of RebootWorkspacesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

rrsFailedRequests :: Lens' RebootWorkspacesResponse [FailedWorkspaceChangeRequest] Source

An array of structures that represent any WorkSpaces that could not be rebooted.