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 |
Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
- createWorkspaces :: NonEmpty WorkspaceRequest -> CreateWorkspaces
- data CreateWorkspaces
- cwWorkspaces :: Lens' CreateWorkspaces (NonEmpty WorkspaceRequest)
- createWorkspacesResponse :: Int -> CreateWorkspacesResponse
- data CreateWorkspacesResponse
- cwrsFailedRequests :: Lens' CreateWorkspacesResponse [FailedCreateWorkspaceRequest]
- cwrsPendingRequests :: Lens' CreateWorkspacesResponse [Workspace]
- cwrsResponseStatus :: Lens' CreateWorkspacesResponse Int
Creating a Request
Creates a value of CreateWorkspaces
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cwWorkspaces
- The WorkSpaces to create. You can specify up to 25 WorkSpaces.
data CreateWorkspaces Source #
See: createWorkspaces
smart constructor.
Request Lenses
cwWorkspaces :: Lens' CreateWorkspaces (NonEmpty WorkspaceRequest) Source #
The WorkSpaces to create. You can specify up to 25 WorkSpaces.
Destructuring the Response
createWorkspacesResponse Source #
Creates a value of CreateWorkspacesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cwrsFailedRequests
- Information about the WorkSpaces that could not be created.cwrsPendingRequests
- Information about the WorkSpaces that were created. Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you callDescribeWorkspaces
before the WorkSpace is created, the information returned can be incomplete.cwrsResponseStatus
- -- | The response status code.
data CreateWorkspacesResponse Source #
See: createWorkspacesResponse
smart constructor.
Response Lenses
cwrsFailedRequests :: Lens' CreateWorkspacesResponse [FailedCreateWorkspaceRequest] Source #
Information about the WorkSpaces that could not be created.
cwrsPendingRequests :: Lens' CreateWorkspacesResponse [Workspace] Source #
Information about the WorkSpaces that were created. Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces
before the WorkSpace is created, the information returned can be incomplete.
cwrsResponseStatus :: Lens' CreateWorkspacesResponse Int Source #
- - | The response status code.