Copyright | (c) 2013-2021 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 |
Starts the specified WorkSpaces.
You cannot start a WorkSpace unless it has a running mode of AutoStop
and a state of STOPPED
.
Synopsis
- data StartWorkspaces = StartWorkspaces' {}
- newStartWorkspaces :: NonEmpty StartRequest -> StartWorkspaces
- startWorkspaces_startWorkspaceRequests :: Lens' StartWorkspaces (NonEmpty StartRequest)
- data StartWorkspacesResponse = StartWorkspacesResponse' {}
- newStartWorkspacesResponse :: Int -> StartWorkspacesResponse
- startWorkspacesResponse_failedRequests :: Lens' StartWorkspacesResponse (Maybe [FailedWorkspaceChangeRequest])
- startWorkspacesResponse_httpStatus :: Lens' StartWorkspacesResponse Int
Creating a Request
data StartWorkspaces Source #
See: newStartWorkspaces
smart constructor.
StartWorkspaces' | |
|
Instances
Create a value of StartWorkspaces
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:startWorkspaceRequests:StartWorkspaces'
, startWorkspaces_startWorkspaceRequests
- The WorkSpaces to start. You can specify up to 25 WorkSpaces.
Request Lenses
startWorkspaces_startWorkspaceRequests :: Lens' StartWorkspaces (NonEmpty StartRequest) Source #
The WorkSpaces to start. You can specify up to 25 WorkSpaces.
Destructuring the Response
data StartWorkspacesResponse Source #
See: newStartWorkspacesResponse
smart constructor.
StartWorkspacesResponse' | |
|
Instances
newStartWorkspacesResponse Source #
Create a value of StartWorkspacesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failedRequests:StartWorkspacesResponse'
, startWorkspacesResponse_failedRequests
- Information about the WorkSpaces that could not be started.
$sel:httpStatus:StartWorkspacesResponse'
, startWorkspacesResponse_httpStatus
- The response's http status code.
Response Lenses
startWorkspacesResponse_failedRequests :: Lens' StartWorkspacesResponse (Maybe [FailedWorkspaceChangeRequest]) Source #
Information about the WorkSpaces that could not be started.
startWorkspacesResponse_httpStatus :: Lens' StartWorkspacesResponse Int Source #
The response's http status code.