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 |
Starts the specified WorkSpaces.
You cannot start a WorkSpace unless it has a running mode of AutoStop
and a state of 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 WorkSpaces to start. You can specify up to 25 WorkSpaces.
data StartWorkspaces Source #
See: startWorkspaces
smart constructor.
Request Lenses
swStartWorkspaceRequests :: Lens' StartWorkspaces (NonEmpty StartRequest) Source #
The WorkSpaces to start. You can specify up to 25 WorkSpaces.
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
- Information about the WorkSpaces that could not be started.swrsResponseStatus
- -- | The response status code.
data StartWorkspacesResponse Source #
See: startWorkspacesResponse
smart constructor.
Response Lenses
swrsFailedRequests :: Lens' StartWorkspacesResponse [FailedWorkspaceChangeRequest] Source #
Information about the WorkSpaces that could not be started.
swrsResponseStatus :: Lens' StartWorkspacesResponse Int Source #
- - | The response status code.