| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.WorkSpaces.Types
Contents
- data WorkSpaces
- data JSONError :: *
- data WorkspaceRequest
- workspaceRequest :: Text -> Text -> Text -> WorkspaceRequest
- wBundleId :: Lens' WorkspaceRequest Text
- wDirectoryId :: Lens' WorkspaceRequest Text
- wUserName :: Lens' WorkspaceRequest Text
- data WorkspaceDirectory
- workspaceDirectory :: WorkspaceDirectory
- wdAlias :: Lens' WorkspaceDirectory (Maybe Text)
- wdCustomerUserName :: Lens' WorkspaceDirectory (Maybe Text)
- wdDirectoryId :: Lens' WorkspaceDirectory (Maybe Text)
- wdDirectoryName :: Lens' WorkspaceDirectory (Maybe Text)
- wdDirectoryType :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryType)
- wdDnsIpAddresses :: Lens' WorkspaceDirectory [Text]
- wdIamRoleId :: Lens' WorkspaceDirectory (Maybe Text)
- wdRegistrationCode :: Lens' WorkspaceDirectory (Maybe Text)
- wdState :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryState)
- wdSubnetIds :: Lens' WorkspaceDirectory [Text]
- wdWorkspaceCreationProperties :: Lens' WorkspaceDirectory (Maybe DefaultWorkspaceCreationProperties)
- wdWorkspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text)
- data Compute
- = Performance
- | Standard
- | Value
- data Workspace
- workspace :: Workspace
- w1BundleId :: Lens' Workspace (Maybe Text)
- w1DirectoryId :: Lens' Workspace (Maybe Text)
- w1ErrorCode :: Lens' Workspace (Maybe Text)
- w1ErrorMessage :: Lens' Workspace (Maybe Text)
- w1IpAddress :: Lens' Workspace (Maybe Text)
- w1State :: Lens' Workspace (Maybe WorkspaceState)
- w1SubnetId :: Lens' Workspace (Maybe Text)
- w1UserName :: Lens' Workspace (Maybe Text)
- w1WorkspaceId :: Lens' Workspace (Maybe Text)
- data RebuildRequest
- rebuildRequest :: Text -> RebuildRequest
- rWorkspaceId :: Lens' RebuildRequest Text
- data FailedCreateWorkspaceRequest
- failedCreateWorkspaceRequest :: FailedCreateWorkspaceRequest
- fcwErrorCode :: Lens' FailedCreateWorkspaceRequest (Maybe Text)
- fcwErrorMessage :: Lens' FailedCreateWorkspaceRequest (Maybe Text)
- fcwWorkspaceRequest :: Lens' FailedCreateWorkspaceRequest (Maybe WorkspaceRequest)
- data WorkspaceDirectoryState
- data FailedWorkspaceChangeRequest
- failedWorkspaceChangeRequest :: FailedWorkspaceChangeRequest
- fwcErrorCode :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
- fwcErrorMessage :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
- fwcWorkspaceId :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
- data WorkspaceDirectoryType
- data WorkspaceState
- data ComputeType
- computeType :: ComputeType
- ctName :: Lens' ComputeType (Maybe Compute)
- data RebootRequest
- rebootRequest :: Text -> RebootRequest
- r1WorkspaceId :: Lens' RebootRequest Text
- data UserStorage
- userStorage :: UserStorage
- usCapacity :: Lens' UserStorage (Maybe Text)
- data TerminateRequest
- terminateRequest :: Text -> TerminateRequest
- tWorkspaceId :: Lens' TerminateRequest Text
- data DefaultWorkspaceCreationProperties
- defaultWorkspaceCreationProperties :: DefaultWorkspaceCreationProperties
- dwcpCustomSecurityGroupId :: Lens' DefaultWorkspaceCreationProperties (Maybe Text)
- dwcpDefaultOu :: Lens' DefaultWorkspaceCreationProperties (Maybe Text)
- dwcpEnableInternetAccess :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
- dwcpEnableWorkDocs :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
- dwcpUserEnabledAsLocalAdministrator :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
- data WorkspaceBundle
- workspaceBundle :: WorkspaceBundle
- wbBundleId :: Lens' WorkspaceBundle (Maybe Text)
- wbComputeType :: Lens' WorkspaceBundle (Maybe ComputeType)
- wbDescription :: Lens' WorkspaceBundle (Maybe Text)
- wbName :: Lens' WorkspaceBundle (Maybe Text)
- wbOwner :: Lens' WorkspaceBundle (Maybe Text)
- wbUserStorage :: Lens' WorkspaceBundle (Maybe UserStorage)
Service
data WorkSpaces Source
Version 2015-04-08 of the Amazon WorkSpaces service.
Instances
| AWSService WorkSpaces | |
| type Er WorkSpaces = JSONError | |
| type Sg WorkSpaces = V4 |
Error
data JSONError :: *
WorkspaceRequest
data WorkspaceRequest Source
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> WorkspaceRequest |
WorkspaceRequest constructor.
The fields accessible through corresponding lenses are:
wBundleId :: 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.
wDirectoryId :: 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.
wUserName :: 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.
WorkspaceDirectory
data WorkspaceDirectory Source
workspaceDirectory :: WorkspaceDirectory Source
WorkspaceDirectory constructor.
The fields accessible through corresponding lenses are:
wdAlias::MaybeTextwdCustomerUserName::MaybeTextwdDirectoryId::MaybeTextwdDirectoryName::MaybeTextwdDirectoryType::MaybeWorkspaceDirectoryTypewdDnsIpAddresses::[Text]wdIamRoleId::MaybeTextwdRegistrationCode::MaybeTextwdState::MaybeWorkspaceDirectoryStatewdSubnetIds::[Text]wdWorkspaceCreationProperties::MaybeDefaultWorkspaceCreationPropertieswdWorkspaceSecurityGroupId::MaybeText
wdCustomerUserName :: Lens' WorkspaceDirectory (Maybe Text) Source
The user name for the service account.
wdDirectoryId :: Lens' WorkspaceDirectory (Maybe Text) Source
The directory identifier.
wdDirectoryName :: Lens' WorkspaceDirectory (Maybe Text) Source
The name of the directory.
wdDirectoryType :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryType) Source
The directory type.
wdDnsIpAddresses :: Lens' WorkspaceDirectory [Text] Source
An array of strings that contains the IP addresses of the DNS servers for 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.
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.
wdState :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryState) Source
The state of the directory's registration with Amazon WorkSpaces
wdSubnetIds :: Lens' WorkspaceDirectory [Text] Source
An array of strings that contains the identifiers of the subnets used with the directory.
wdWorkspaceCreationProperties :: Lens' WorkspaceDirectory (Maybe DefaultWorkspaceCreationProperties) Source
A structure that specifies the default creation properties for all WorkSpaces in the directory.
wdWorkspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text) Source
The identifier of the security group that is assigned to new WorkSpaces.
Compute
Constructors
| Performance | PERFORMANCE |
| Standard | STANDARD |
| Value | VALUE |
Workspace
Workspace constructor.
The fields accessible through corresponding lenses are:
w1BundleId :: Lens' Workspace (Maybe Text) Source
The identifier of the bundle that the WorkSpace was created from.
w1DirectoryId :: Lens' Workspace (Maybe Text) Source
The identifier of the AWS Directory Service directory that the WorkSpace belongs to.
w1ErrorCode :: Lens' Workspace (Maybe Text) Source
If the WorkSpace could not be created, this contains the error code.
w1ErrorMessage :: Lens' Workspace (Maybe Text) Source
If the WorkSpace could not be created, this contains a textual error message that describes the failure.
w1SubnetId :: Lens' Workspace (Maybe Text) Source
The identifier of the subnet that the WorkSpace is in.
RebuildRequest
data RebuildRequest Source
Arguments
| :: Text | |
| -> RebuildRequest |
RebuildRequest constructor.
The fields accessible through corresponding lenses are:
rWorkspaceId::Text
rWorkspaceId :: Lens' RebuildRequest Text Source
The identifier of the WorkSpace to rebuild.
FailedCreateWorkspaceRequest
failedCreateWorkspaceRequest :: FailedCreateWorkspaceRequest Source
FailedCreateWorkspaceRequest constructor.
The fields accessible through corresponding lenses are:
fcwErrorCode :: Lens' FailedCreateWorkspaceRequest (Maybe Text) Source
The error code.
fcwErrorMessage :: Lens' FailedCreateWorkspaceRequest (Maybe Text) Source
The textual error message.
fcwWorkspaceRequest :: Lens' FailedCreateWorkspaceRequest (Maybe WorkspaceRequest) Source
A WorkspaceRequest object that contains the information about the WorkSpace
that could not be created.
WorkspaceDirectoryState
data WorkspaceDirectoryState Source
Constructors
| Deregistered | DEREGISTERED |
| Deregistering | DEREGISTERING |
| Error | ERROR |
| Registered | REGISTERED |
| Registering | REGISTERING |
Instances
FailedWorkspaceChangeRequest
failedWorkspaceChangeRequest :: FailedWorkspaceChangeRequest Source
FailedWorkspaceChangeRequest constructor.
The fields accessible through corresponding lenses are:
fwcErrorCode :: Lens' FailedWorkspaceChangeRequest (Maybe Text) Source
The error code.
fwcErrorMessage :: Lens' FailedWorkspaceChangeRequest (Maybe Text) Source
The textual error message.
fwcWorkspaceId :: Lens' FailedWorkspaceChangeRequest (Maybe Text) Source
The identifier of the WorkSpace.
WorkspaceDirectoryType
data WorkspaceDirectoryType Source
Constructors
| AdConnector | AD_CONNECTOR |
| SimpleAd | SIMPLE_AD |
Instances
WorkspaceState
data WorkspaceState Source
Constructors
| WSAvailable | AVAILABLE |
| WSError | ERROR |
| WSImpaired | IMPAIRED |
| WSPending | PENDING |
| WSRebooting | REBOOTING |
| WSRebuilding | REBUILDING |
| WSSuspended | SUSPENDED |
| WSTerminated | TERMINATED |
| WSTerminating | TERMINATING |
| WSUnhealthy | UNHEALTHY |
Instances
ComputeType
data ComputeType Source
computeType :: ComputeType Source
ComputeType constructor.
The fields accessible through corresponding lenses are:
RebootRequest
data RebootRequest Source
Arguments
| :: Text | |
| -> RebootRequest |
RebootRequest constructor.
The fields accessible through corresponding lenses are:
r1WorkspaceId :: Lens' RebootRequest Text Source
The identifier of the WorkSpace to reboot.
UserStorage
data UserStorage Source
userStorage :: UserStorage Source
UserStorage constructor.
The fields accessible through corresponding lenses are:
usCapacity::MaybeText
usCapacity :: Lens' UserStorage (Maybe Text) Source
The amount of user storage for the bundle.
TerminateRequest
data TerminateRequest Source
Arguments
| :: Text | |
| -> TerminateRequest |
TerminateRequest constructor.
The fields accessible through corresponding lenses are:
tWorkspaceId::Text
tWorkspaceId :: Lens' TerminateRequest Text Source
The identifier of the WorkSpace to terminate.
DefaultWorkspaceCreationProperties
defaultWorkspaceCreationProperties :: DefaultWorkspaceCreationProperties Source
DefaultWorkspaceCreationProperties constructor.
The fields accessible through corresponding lenses are:
dwcpCustomSecurityGroupId :: Lens' DefaultWorkspaceCreationProperties (Maybe Text) Source
The identifier of any custom security groups that are applied to the WorkSpaces when they are created.
dwcpDefaultOu :: Lens' DefaultWorkspaceCreationProperties (Maybe Text) Source
The organizational unit (OU) in the directory that the WorkSpace machine accounts are placed in.
dwcpEnableInternetAccess :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool) Source
A public IP address will be attached to all WorkSpaces that are created or rebuilt.
dwcpEnableWorkDocs :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool) Source
Specifies if the directory is enabled for Amazon WorkDocs.
dwcpUserEnabledAsLocalAdministrator :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool) Source
The WorkSpace user is an administrator on the WorkSpace.
WorkspaceBundle
data WorkspaceBundle Source
workspaceBundle :: WorkspaceBundle Source
WorkspaceBundle constructor.
The fields accessible through corresponding lenses are:
wbBundleId :: Lens' WorkspaceBundle (Maybe Text) Source
The bundle identifier.
wbComputeType :: Lens' WorkspaceBundle (Maybe ComputeType) Source
A ComputeType object that specifies the compute type for the bundle.
wbDescription :: Lens' WorkspaceBundle (Maybe Text) Source
The bundle description.
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.
wbUserStorage :: Lens' WorkspaceBundle (Maybe UserStorage) Source
A UserStorage object that specifies the amount of user storage that the
bundle contains.