amazonka-workspaces-1.0.1: Amazon WorkSpaces SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WorkSpaces

Contents

Description

Amazon WorkSpaces Service

This is the Amazon WorkSpaces API Reference. This guide provides detailed information about Amazon WorkSpaces operations, data types, parameters, and errors.

See: AWS API Reference

Synopsis

Service

data WorkSpaces Source

Version 2015-04-08 of the Amazon WorkSpaces SDK.

Instances

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by WorkSpaces.

InvalidParameterValuesException

_InvalidParameterValuesException :: AsError a => Getting (First ServiceError) a ServiceError Source

One or more parameter values are not valid.

ResourceUnavailableException

_ResourceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified resource is not available.

ResourceLimitExceededException

_ResourceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source

Your resource limits have been exceeded.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DescribeWorkspaceDirectories

DescribeWorkspaceBundles

RebuildWorkspaces

RebootWorkspaces

TerminateWorkspaces

CreateWorkspaces

DescribeWorkspaces

Types

Compute

WorkspaceDirectoryState

WorkspaceDirectoryType

WorkspaceState

ComputeType

data ComputeType Source

Contains information about the compute type of a WorkSpace bundle.

See: computeType smart constructor.

computeType :: ComputeType Source

Creates a value of ComputeType with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ctName :: Lens' ComputeType (Maybe Compute) Source

The name of the compute type for the bundle.

DefaultWorkspaceCreationProperties

dwcpCustomSecurityGroupId :: Lens' DefaultWorkspaceCreationProperties (Maybe Text) Source

The identifier of any custom security groups that are applied to the WorkSpaces when they are created.

dwcpUserEnabledAsLocalAdministrator :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool) Source

The WorkSpace user is an administrator on the WorkSpace.

dwcpEnableWorkDocs :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool) Source

Specifies if the directory is enabled for Amazon WorkDocs.

dwcpEnableInternetAccess :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool) Source

A public IP address will be attached to all WorkSpaces that are created or rebuilt.

dwcpDefaultOu :: Lens' DefaultWorkspaceCreationProperties (Maybe Text) Source

The organizational unit (OU) in the directory that the WorkSpace machine accounts are placed in.

FailedCreateWorkspaceRequest

failedCreateWorkspaceRequest :: FailedCreateWorkspaceRequest Source

Creates a value of FailedCreateWorkspaceRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fcwrWorkspaceRequest :: Lens' FailedCreateWorkspaceRequest (Maybe WorkspaceRequest) Source

A WorkspaceRequest object that contains the information about the WorkSpace that could not be created.

FailedWorkspaceChangeRequest

data FailedWorkspaceChangeRequest Source

Contains information about a WorkSpace that could not be rebooted (RebootWorkspaces), rebuilt (RebuildWorkspaces), or terminated (TerminateWorkspaces).

See: failedWorkspaceChangeRequest smart constructor.

failedWorkspaceChangeRequest :: FailedWorkspaceChangeRequest Source

Creates a value of FailedWorkspaceChangeRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fwcrWorkspaceId :: Lens' FailedWorkspaceChangeRequest (Maybe Text) Source

The identifier of the WorkSpace.

RebootRequest

data RebootRequest Source

Contains information used with the RebootWorkspaces operation to reboot a WorkSpace.

See: rebootRequest smart constructor.

rebootRequest Source

Creates a value of RebootRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rWorkspaceId :: Lens' RebootRequest Text Source

The identifier of the WorkSpace to reboot.

RebuildRequest

data RebuildRequest Source

Contains information used with the RebuildWorkspaces operation to rebuild a WorkSpace.

See: rebuildRequest smart constructor.

rebuildRequest Source

Creates a value of RebuildRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rrWorkspaceId :: Lens' RebuildRequest Text Source

The identifier of the WorkSpace to rebuild.

TerminateRequest

data TerminateRequest Source

Contains information used with the TerminateWorkspaces operation to terminate a WorkSpace.

See: terminateRequest smart constructor.

terminateRequest Source

Creates a value of TerminateRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

trWorkspaceId :: Lens' TerminateRequest Text Source

The identifier of the WorkSpace to terminate.

UserStorage

data UserStorage Source

Contains information about the user storage for a WorkSpace bundle.

See: userStorage smart constructor.

userStorage :: UserStorage Source

Creates a value of UserStorage with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

usCapacity :: Lens' UserStorage (Maybe Text) Source

The amount of user storage for the bundle.

Workspace

data Workspace Source

Contains information about a WorkSpace.

See: workspace smart constructor.

workspace :: Workspace Source

Creates a value of Workspace with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wDirectoryId :: Lens' Workspace (Maybe Text) Source

The identifier of the AWS Directory Service directory that the WorkSpace belongs to.

wIPAddress :: Lens' Workspace (Maybe Text) Source

The IP address of the WorkSpace.

wState :: Lens' Workspace (Maybe WorkspaceState) Source

The operational state of the WorkSpace.

wUserName :: Lens' Workspace (Maybe Text) Source

The user that the WorkSpace is assigned to.

wSubnetId :: Lens' Workspace (Maybe Text) Source

The identifier of the subnet that the WorkSpace is in.

wBundleId :: Lens' Workspace (Maybe Text) Source

The identifier of the bundle that the WorkSpace was created from.

wErrorCode :: Lens' Workspace (Maybe Text) Source

If the WorkSpace could not be created, this contains the error code.

wWorkspaceId :: Lens' Workspace (Maybe Text) Source

The identifier of the WorkSpace.

wErrorMessage :: Lens' Workspace (Maybe Text) Source

If the WorkSpace could not be created, this contains a textual error message that describes the failure.

WorkspaceBundle

workspaceBundle :: WorkspaceBundle Source

Creates a value of WorkspaceBundle with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wbOwner :: Lens' WorkspaceBundle (Maybe Text) Source

The owner of the bundle. This contains the owner's account identifier, or AMAZON if the bundle is provided by AWS.

wbBundleId :: Lens' WorkspaceBundle (Maybe Text) Source

The bundle identifier.

wbName :: Lens' WorkspaceBundle (Maybe Text) Source

The name of the bundle.

wbComputeType :: Lens' WorkspaceBundle (Maybe ComputeType) Source

A ComputeType object that specifies the compute type for the bundle.

wbUserStorage :: Lens' WorkspaceBundle (Maybe UserStorage) Source

A UserStorage object that specifies the amount of user storage that the bundle contains.

wbDescription :: Lens' WorkspaceBundle (Maybe Text) Source

The bundle description.

WorkspaceDirectory

data WorkspaceDirectory Source

Contains information about an AWS Directory Service directory for use with Amazon WorkSpaces.

See: workspaceDirectory smart constructor.

wdRegistrationCode :: Lens' WorkspaceDirectory (Maybe Text) Source

The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.

wdIAMRoleId :: Lens' WorkspaceDirectory (Maybe Text) Source

The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.

wdDirectoryId :: Lens' WorkspaceDirectory (Maybe Text) Source

The directory identifier.

wdState :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryState) Source

The state of the directory's registration with Amazon WorkSpaces

wdCustomerUserName :: Lens' WorkspaceDirectory (Maybe Text) Source

The user name for the service account.

wdSubnetIds :: Lens' WorkspaceDirectory [Text] Source

An array of strings that contains the identifiers of the subnets used with the directory.

wdAlias :: Lens' WorkspaceDirectory (Maybe Text) Source

The directory alias.

wdWorkspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text) Source

The identifier of the security group that is assigned to new WorkSpaces.

wdWorkspaceCreationProperties :: Lens' WorkspaceDirectory (Maybe DefaultWorkspaceCreationProperties) Source

A structure that specifies the default creation properties for all WorkSpaces in the directory.

wdDNSIPAddresses :: Lens' WorkspaceDirectory [Text] Source

An array of strings that contains the IP addresses of the DNS servers for the directory.

wdDirectoryName :: Lens' WorkspaceDirectory (Maybe Text) Source

The name of the directory.

WorkspaceRequest

workspaceRequest Source

Creates a value of WorkspaceRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wrDirectoryId :: Lens' WorkspaceRequest Text Source

The identifier of the AWS Directory Service directory to create the WorkSpace in. You can use the DescribeWorkspaceDirectories operation to obtain a list of the directories that are available.

wrUserName :: Lens' WorkspaceRequest Text Source

The username that the WorkSpace is assigned to. This username must exist in the AWS Directory Service directory specified by the DirectoryId member.

wrBundleId :: Lens' WorkspaceRequest Text Source

The identifier of the bundle to create the WorkSpace from. You can use the DescribeWorkspaceBundles operation to obtain a list of the bundles that are available.