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 |
- Service Configuration
- Errors
- Compute
- ConnectionState
- RunningMode
- WorkspaceDirectoryState
- WorkspaceDirectoryType
- WorkspaceState
- ComputeType
- DefaultWorkspaceCreationProperties
- FailedCreateWorkspaceRequest
- FailedWorkspaceChangeRequest
- RebootRequest
- RebuildRequest
- StartRequest
- StopRequest
- Tag
- TerminateRequest
- UserStorage
- Workspace
- WorkspaceBundle
- WorkspaceConnectionStatus
- WorkspaceDirectory
- WorkspaceProperties
- WorkspaceRequest
- workSpaces :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterValuesException :: AsError a => Getting (First ServiceError) a ServiceError
- _OperationInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidResourceStateException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnsupportedWorkspaceConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- data Compute
- = Performance
- | Standard
- | Value
- data ConnectionState
- data RunningMode
- data WorkspaceDirectoryState
- data WorkspaceDirectoryType
- data WorkspaceState
- data ComputeType
- computeType :: ComputeType
- ctName :: Lens' ComputeType (Maybe Compute)
- data DefaultWorkspaceCreationProperties
- defaultWorkspaceCreationProperties :: DefaultWorkspaceCreationProperties
- dwcpCustomSecurityGroupId :: Lens' DefaultWorkspaceCreationProperties (Maybe Text)
- dwcpUserEnabledAsLocalAdministrator :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
- dwcpEnableWorkDocs :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
- dwcpEnableInternetAccess :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
- dwcpDefaultOu :: Lens' DefaultWorkspaceCreationProperties (Maybe Text)
- data FailedCreateWorkspaceRequest
- failedCreateWorkspaceRequest :: FailedCreateWorkspaceRequest
- fcwrWorkspaceRequest :: Lens' FailedCreateWorkspaceRequest (Maybe WorkspaceRequest)
- fcwrErrorCode :: Lens' FailedCreateWorkspaceRequest (Maybe Text)
- fcwrErrorMessage :: Lens' FailedCreateWorkspaceRequest (Maybe Text)
- data FailedWorkspaceChangeRequest
- failedWorkspaceChangeRequest :: FailedWorkspaceChangeRequest
- fwcrErrorCode :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
- fwcrWorkspaceId :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
- fwcrErrorMessage :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
- data RebootRequest
- rebootRequest :: Text -> RebootRequest
- rWorkspaceId :: Lens' RebootRequest Text
- data RebuildRequest
- rebuildRequest :: Text -> RebuildRequest
- rrWorkspaceId :: Lens' RebuildRequest Text
- data StartRequest
- startRequest :: StartRequest
- sWorkspaceId :: Lens' StartRequest (Maybe Text)
- data StopRequest
- stopRequest :: StopRequest
- srWorkspaceId :: Lens' StopRequest (Maybe Text)
- data Tag
- tag :: Text -> Tag
- tagValue :: Lens' Tag (Maybe Text)
- tagKey :: Lens' Tag Text
- data TerminateRequest
- terminateRequest :: Text -> TerminateRequest
- trWorkspaceId :: Lens' TerminateRequest Text
- data UserStorage
- userStorage :: UserStorage
- usCapacity :: Lens' UserStorage (Maybe Text)
- data Workspace
- workspace :: Workspace
- wDirectoryId :: Lens' Workspace (Maybe Text)
- wState :: Lens' Workspace (Maybe WorkspaceState)
- wIPAddress :: Lens' Workspace (Maybe Text)
- wUserName :: Lens' Workspace (Maybe Text)
- wSubnetId :: Lens' Workspace (Maybe Text)
- wBundleId :: Lens' Workspace (Maybe Text)
- wWorkspaceProperties :: Lens' Workspace (Maybe WorkspaceProperties)
- wRootVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool)
- wErrorCode :: Lens' Workspace (Maybe Text)
- wVolumeEncryptionKey :: Lens' Workspace (Maybe Text)
- wComputerName :: Lens' Workspace (Maybe Text)
- wWorkspaceId :: Lens' Workspace (Maybe Text)
- wUserVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool)
- wErrorMessage :: Lens' Workspace (Maybe Text)
- data WorkspaceBundle
- workspaceBundle :: WorkspaceBundle
- wbBundleId :: Lens' WorkspaceBundle (Maybe Text)
- wbOwner :: Lens' WorkspaceBundle (Maybe Text)
- wbName :: Lens' WorkspaceBundle (Maybe Text)
- wbComputeType :: Lens' WorkspaceBundle (Maybe ComputeType)
- wbUserStorage :: Lens' WorkspaceBundle (Maybe UserStorage)
- wbDescription :: Lens' WorkspaceBundle (Maybe Text)
- data WorkspaceConnectionStatus
- workspaceConnectionStatus :: WorkspaceConnectionStatus
- wcsLastKnownUserConnectionTimestamp :: Lens' WorkspaceConnectionStatus (Maybe UTCTime)
- wcsConnectionStateCheckTimestamp :: Lens' WorkspaceConnectionStatus (Maybe UTCTime)
- wcsWorkspaceId :: Lens' WorkspaceConnectionStatus (Maybe Text)
- wcsConnectionState :: Lens' WorkspaceConnectionStatus (Maybe ConnectionState)
- data WorkspaceDirectory
- workspaceDirectory :: WorkspaceDirectory
- wdRegistrationCode :: Lens' WorkspaceDirectory (Maybe Text)
- wdIAMRoleId :: Lens' WorkspaceDirectory (Maybe Text)
- wdDirectoryId :: Lens' WorkspaceDirectory (Maybe Text)
- wdState :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryState)
- wdCustomerUserName :: Lens' WorkspaceDirectory (Maybe Text)
- wdSubnetIds :: Lens' WorkspaceDirectory [Text]
- wdAlias :: Lens' WorkspaceDirectory (Maybe Text)
- wdWorkspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text)
- wdDirectoryType :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryType)
- wdWorkspaceCreationProperties :: Lens' WorkspaceDirectory (Maybe DefaultWorkspaceCreationProperties)
- wdDNSIPAddresses :: Lens' WorkspaceDirectory [Text]
- wdDirectoryName :: Lens' WorkspaceDirectory (Maybe Text)
- data WorkspaceProperties
- workspaceProperties :: WorkspaceProperties
- wpRunningMode :: Lens' WorkspaceProperties (Maybe RunningMode)
- wpRunningModeAutoStopTimeoutInMinutes :: Lens' WorkspaceProperties (Maybe Int)
- data WorkspaceRequest
- workspaceRequest :: Text -> Text -> Text -> WorkspaceRequest
- wrWorkspaceProperties :: Lens' WorkspaceRequest (Maybe WorkspaceProperties)
- wrRootVolumeEncryptionEnabled :: Lens' WorkspaceRequest (Maybe Bool)
- wrVolumeEncryptionKey :: Lens' WorkspaceRequest (Maybe Text)
- wrUserVolumeEncryptionEnabled :: Lens' WorkspaceRequest (Maybe Bool)
- wrTags :: Lens' WorkspaceRequest [Tag]
- wrDirectoryId :: Lens' WorkspaceRequest Text
- wrUserName :: Lens' WorkspaceRequest Text
- wrBundleId :: Lens' WorkspaceRequest Text
Service Configuration
workSpaces :: Service Source #
API version '2015-04-08' of the Amazon WorkSpaces SDK configuration.
Errors
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for AccessDeniedException' errors.
_ResourceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified resource is not available.
_InvalidParameterValuesException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more parameter values are not valid.
_OperationInProgressException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The properties of this WorkSpace are currently being modified. Try again in a moment.
_ResourceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Your resource limits have been exceeded.
_InvalidResourceStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified WorkSpace has an invalid state for this operation.
_UnsupportedWorkspaceConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The WorkSpace does not have the supported configuration for this operation. For more information, see the Amazon WorkSpaces Administration Guide.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The resource could not be found.
Compute
ConnectionState
data ConnectionState Source #
RunningMode
data RunningMode Source #
WorkspaceDirectoryState
data WorkspaceDirectoryState Source #
WorkspaceDirectoryType
data WorkspaceDirectoryType Source #
WorkspaceState
data WorkspaceState Source #
WSAvailable | |
WSError' | |
WSImpaired | |
WSMaintenance | |
WSPending | |
WSRebooting | |
WSRebuilding | |
WSStarting | |
WSStopped | |
WSStopping | |
WSSuspended | |
WSTerminated | |
WSTerminating | |
WSUnhealthy |
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:
DefaultWorkspaceCreationProperties
data DefaultWorkspaceCreationProperties Source #
Contains default WorkSpace creation information.
See: defaultWorkspaceCreationProperties
smart constructor.
defaultWorkspaceCreationProperties :: DefaultWorkspaceCreationProperties Source #
Creates a value of DefaultWorkspaceCreationProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
data FailedCreateWorkspaceRequest Source #
Contains information about a WorkSpace that could not be created.
See: failedCreateWorkspaceRequest
smart constructor.
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 FailedCreateWorkspaceRequestWorkspaceRequest> object that contains the information about the WorkSpace that could not be created.
fcwrErrorCode :: Lens' FailedCreateWorkspaceRequest (Maybe Text) Source #
The error code.
fcwrErrorMessage :: Lens' FailedCreateWorkspaceRequest (Maybe Text) Source #
The textual error message.
FailedWorkspaceChangeRequest
data FailedWorkspaceChangeRequest Source #
Contains information about a WorkSpace that could not be rebooted (RebootWorkspaces), rebuilt (RebuildWorkspaces), terminated (TerminateWorkspaces), started (StartWorkspaces), or stopped (StopWorkspaces).
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:
fwcrErrorCode :: Lens' FailedWorkspaceChangeRequest (Maybe Text) Source #
The error code.
fwcrWorkspaceId :: Lens' FailedWorkspaceChangeRequest (Maybe Text) Source #
The identifier of the WorkSpace.
fwcrErrorMessage :: Lens' FailedWorkspaceChangeRequest (Maybe Text) Source #
The textual error message.
RebootRequest
data RebootRequest Source #
Contains information used with the RebootWorkspaces operation to reboot a WorkSpace.
See: rebootRequest
smart constructor.
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.
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.
StartRequest
data StartRequest Source #
Describes the start request.
See: startRequest
smart constructor.
startRequest :: StartRequest Source #
Creates a value of StartRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sWorkspaceId :: Lens' StartRequest (Maybe Text) Source #
The ID of the WorkSpace.
StopRequest
data StopRequest Source #
Describes the stop request.
See: stopRequest
smart constructor.
stopRequest :: StopRequest Source #
Creates a value of StopRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srWorkspaceId :: Lens' StopRequest (Maybe Text) Source #
The ID of the WorkSpace.
Tag
Describes the tag of the WorkSpace.
See: tag
smart constructor.
TerminateRequest
data TerminateRequest Source #
Contains information used with the TerminateWorkspaces operation to terminate a WorkSpace.
See: terminateRequest
smart constructor.
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
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.
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.
wWorkspaceProperties :: Lens' Workspace (Maybe WorkspaceProperties) Source #
Undocumented member.
wRootVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool) Source #
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
wErrorCode :: Lens' Workspace (Maybe Text) Source #
If the WorkSpace could not be created, this contains the error code.
wVolumeEncryptionKey :: Lens' Workspace (Maybe Text) Source #
The KMS key used to encrypt data stored on your WorkSpace.
wComputerName :: Lens' Workspace (Maybe Text) Source #
The name of the WorkSpace as seen by the operating system.
wUserVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool) Source #
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
wErrorMessage :: Lens' Workspace (Maybe Text) Source #
If the WorkSpace could not be created, this contains a textual error message that describes the failure.
WorkspaceBundle
data WorkspaceBundle Source #
Contains information about a WorkSpace bundle.
See: workspaceBundle
smart constructor.
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:
wbBundleId :: Lens' WorkspaceBundle (Maybe Text) Source #
The bundle identifier.
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.
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.
WorkspaceConnectionStatus
data WorkspaceConnectionStatus Source #
Describes the connection status of a WorkSpace.
See: workspaceConnectionStatus
smart constructor.
workspaceConnectionStatus :: WorkspaceConnectionStatus Source #
Creates a value of WorkspaceConnectionStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wcsLastKnownUserConnectionTimestamp :: Lens' WorkspaceConnectionStatus (Maybe UTCTime) Source #
The timestamp of the last known user connection.
wcsConnectionStateCheckTimestamp :: Lens' WorkspaceConnectionStatus (Maybe UTCTime) Source #
The timestamp of the connection state check.
wcsWorkspaceId :: Lens' WorkspaceConnectionStatus (Maybe Text) Source #
The ID of the WorkSpace.
wcsConnectionState :: Lens' WorkspaceConnectionStatus (Maybe ConnectionState) Source #
The connection state of the WorkSpace. Returns UNKOWN if the WorkSpace is in a Stopped state.
WorkspaceDirectory
data WorkspaceDirectory Source #
Contains information about an AWS Directory Service directory for use with Amazon WorkSpaces.
See: workspaceDirectory
smart constructor.
workspaceDirectory :: WorkspaceDirectory Source #
Creates a value of WorkspaceDirectory
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
wdWorkspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text) Source #
The identifier of the security group that is assigned to new WorkSpaces.
wdDirectoryType :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryType) Source #
The directory type.
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.
WorkspaceProperties
data WorkspaceProperties Source #
Describes the properties of a WorkSpace.
See: workspaceProperties
smart constructor.
workspaceProperties :: WorkspaceProperties Source #
Creates a value of WorkspaceProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wpRunningMode :: Lens' WorkspaceProperties (Maybe RunningMode) Source #
The running mode of the WorkSpace. AlwaysOn WorkSpaces are billed monthly. AutoStop WorkSpaces are billed by the hour and stopped when no longer being used in order to save on costs.
wpRunningModeAutoStopTimeoutInMinutes :: Lens' WorkspaceProperties (Maybe Int) Source #
The time after a user logs off when WorkSpaces are automatically stopped. Configured in 60 minute intervals.
WorkspaceRequest
data WorkspaceRequest Source #
Contains information about a WorkSpace creation request.
See: workspaceRequest
smart constructor.
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:
wrWorkspaceProperties :: Lens' WorkspaceRequest (Maybe WorkspaceProperties) Source #
Undocumented member.
wrRootVolumeEncryptionEnabled :: Lens' WorkspaceRequest (Maybe Bool) Source #
Specifies whether the data stored on the root volume, or C: drive, is encrypted.
wrVolumeEncryptionKey :: Lens' WorkspaceRequest (Maybe Text) Source #
The KMS key used to encrypt data stored on your WorkSpace.
wrUserVolumeEncryptionEnabled :: Lens' WorkspaceRequest (Maybe Bool) Source #
Specifies whether the data stored on the user volume, or D: drive, is encrypted.
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.