amazonka-workspaces-0.3.4: Amazon WorkSpaces SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.WorkSpaces.CreateWorkspaces

Contents

Description

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

http://docs.aws.amazon.com/workspaces/latest/devguide/API_CreateWorkspaces.html

Synopsis

Request

Request constructor

createWorkspaces Source

CreateWorkspaces constructor.

The fields accessible through corresponding lenses are:

Request lenses

cwWorkspaces :: Lens' CreateWorkspaces (NonEmpty WorkspaceRequest) Source

An array of structures that specify the WorkSpaces to create.

Response

Response constructor

Response lenses

cwrFailedRequests :: Lens' CreateWorkspacesResponse [FailedCreateWorkspaceRequest] Source

An array of structures that represent the WorkSpaces that could not be created.

cwrPendingRequests :: 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.