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 |
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:
data CreateWorkspaces Source #
Contains the inputs for the CreateWorkspaces operation.
See: createWorkspaces
smart constructor.
Request Lenses
cwWorkspaces :: Lens' CreateWorkspaces (NonEmpty WorkspaceRequest) Source #
An array of structures that specify the WorkSpaces to create.
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:
data CreateWorkspacesResponse Source #
Contains the result of the CreateWorkspaces operation.
See: createWorkspacesResponse
smart constructor.
Response Lenses
cwrsFailedRequests :: Lens' CreateWorkspacesResponse [FailedCreateWorkspaceRequest] Source #
An array of structures that represent the WorkSpaces that could not be created.
cwrsPendingRequests :: Lens' CreateWorkspacesResponse [Workspace] Source #
An array of structures that represent the WorkSpaces that were created.
Because this operation is asynchronous, the identifier in WorkspaceId
is not immediately available. If you immediately call DescribeWorkspaces with this identifier, no information will be returned.
cwrsResponseStatus :: Lens' CreateWorkspacesResponse Int Source #
The response status code.