| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkSpaces.StartWorkspaces
Description
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.
Constructors
| StartWorkspaces' | |
Fields
| |
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.
Constructors
| StartWorkspacesResponse' | |
Fields
| |
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.