Copyright | (c) 2013-2016 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 |
Starts the specified WorkSpaces. The API only works with WorkSpaces that have RunningMode configured as AutoStop and the State set to “STOPPED.”
- startWorkspaces :: NonEmpty StartRequest -> StartWorkspaces
- data StartWorkspaces
- swStartWorkspaceRequests :: Lens' StartWorkspaces (NonEmpty StartRequest)
- startWorkspacesResponse :: Int -> StartWorkspacesResponse
- data StartWorkspacesResponse
- swrsFailedRequests :: Lens' StartWorkspacesResponse [FailedWorkspaceChangeRequest]
- swrsResponseStatus :: Lens' StartWorkspacesResponse Int
Creating a Request
Creates a value of StartWorkspaces
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
swStartWorkspaceRequests
- The requests.
data StartWorkspaces Source #
See: startWorkspaces
smart constructor.
Request Lenses
swStartWorkspaceRequests :: Lens' StartWorkspaces (NonEmpty StartRequest) Source #
The requests.
Destructuring the Response
startWorkspacesResponse Source #
Creates a value of StartWorkspacesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
swrsFailedRequests
- The failed requests.swrsResponseStatus
- -- | The response status code.
data StartWorkspacesResponse Source #
See: startWorkspacesResponse
smart constructor.
Response Lenses
swrsFailedRequests :: Lens' StartWorkspacesResponse [FailedWorkspaceChangeRequest] Source #
The failed requests.
swrsResponseStatus :: Lens' StartWorkspacesResponse Int Source #
- - | The response status code.