Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- rebootWorkspaces :: NonEmpty RebootRequest -> RebootWorkspaces
- data RebootWorkspaces
- rwRebootWorkspaceRequests :: Lens' RebootWorkspaces (NonEmpty RebootRequest)
- rebootWorkspacesResponse :: Int -> RebootWorkspacesResponse
- data RebootWorkspacesResponse
- rrsFailedRequests :: Lens' RebootWorkspacesResponse [FailedWorkspaceChangeRequest]
- rrsStatus :: Lens' RebootWorkspacesResponse Int
Creating a Request
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:
data RebootWorkspaces Source
Contains the inputs for the RebootWorkspaces operation.
See: rebootWorkspaces
smart constructor.
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:
data RebootWorkspacesResponse Source
Contains the results of the RebootWorkspaces operation.
See: rebootWorkspacesResponse
smart constructor.
Response Lenses
rrsFailedRequests :: Lens' RebootWorkspacesResponse [FailedWorkspaceChangeRequest] Source
An array of structures that represent any WorkSpaces that could not be rebooted.
rrsStatus :: Lens' RebootWorkspacesResponse Int Source
The response status code.