| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.WorkSpaces.RebootWorkspaces
Description
Reboots the specified WorkSpaces.
You cannot reboot a WorkSpace unless its state is AVAILABLE or UNHEALTHY .
This operation is asynchronous and returns before the WorkSpaces have rebooted.
Synopsis
- rebootWorkspaces :: NonEmpty RebootRequest -> RebootWorkspaces
- data RebootWorkspaces
- rwRebootWorkspaceRequests :: Lens' RebootWorkspaces (NonEmpty RebootRequest)
- rebootWorkspacesResponse :: Int -> RebootWorkspacesResponse
- data RebootWorkspacesResponse
- rrsFailedRequests :: Lens' RebootWorkspacesResponse [FailedWorkspaceChangeRequest]
- rrsResponseStatus :: Lens' RebootWorkspacesResponse Int
Creating a Request
Arguments
| :: NonEmpty RebootRequest | |
| -> RebootWorkspaces |
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:
rwRebootWorkspaceRequests- The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
data RebootWorkspaces Source #
See: rebootWorkspaces smart constructor.
Instances
Request Lenses
rwRebootWorkspaceRequests :: Lens' RebootWorkspaces (NonEmpty RebootRequest) Source #
The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
Destructuring the Response
rebootWorkspacesResponse Source #
Arguments
| :: Int | |
| -> RebootWorkspacesResponse |
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:
rrsFailedRequests- Information about the WorkSpaces that could not be rebooted.rrsResponseStatus- -- | The response status code.
data RebootWorkspacesResponse Source #
See: rebootWorkspacesResponse smart constructor.
Instances
Response Lenses
rrsFailedRequests :: Lens' RebootWorkspacesResponse [FailedWorkspaceChangeRequest] Source #
Information about the WorkSpaces that could not be rebooted.
rrsResponseStatus :: Lens' RebootWorkspacesResponse Int Source #
- - | The response status code.