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 |
Rebuilds the specified WorkSpace.
You cannot rebuild a WorkSpace unless its state is AVAILABLE
, ERROR
, or UNHEALTHY
.
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.
Synopsis
- rebuildWorkspaces :: NonEmpty RebuildRequest -> RebuildWorkspaces
- data RebuildWorkspaces
- rwRebuildWorkspaceRequests :: Lens' RebuildWorkspaces (NonEmpty RebuildRequest)
- rebuildWorkspacesResponse :: Int -> RebuildWorkspacesResponse
- data RebuildWorkspacesResponse
- rwrsFailedRequests :: Lens' RebuildWorkspacesResponse [FailedWorkspaceChangeRequest]
- rwrsResponseStatus :: Lens' RebuildWorkspacesResponse Int
Creating a Request
Creates a value of RebuildWorkspaces
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rwRebuildWorkspaceRequests
- The WorkSpace to rebuild. You can specify a single WorkSpace.
data RebuildWorkspaces Source #
See: rebuildWorkspaces
smart constructor.
Instances
Request Lenses
rwRebuildWorkspaceRequests :: Lens' RebuildWorkspaces (NonEmpty RebuildRequest) Source #
The WorkSpace to rebuild. You can specify a single WorkSpace.
Destructuring the Response
rebuildWorkspacesResponse Source #
Creates a value of RebuildWorkspacesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rwrsFailedRequests
- Information about the WorkSpace if it could not be rebuilt.rwrsResponseStatus
- -- | The response status code.
data RebuildWorkspacesResponse Source #
See: rebuildWorkspacesResponse
smart constructor.
Instances
Response Lenses
rwrsFailedRequests :: Lens' RebuildWorkspacesResponse [FailedWorkspaceChangeRequest] Source #
Information about the WorkSpace if it could not be rebuilt.
rwrsResponseStatus :: Lens' RebuildWorkspacesResponse Int Source #
- - | The response status code.