-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon WorkSpaces SDK.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- Lenses are used for constructing and manipulating types, due to the
-- depth of nesting of AWS types and transparency regarding
-- de/serialisation into more palatable Haskell values. The provided
-- lenses should be compatible with any of the major lens libraries such
-- as lens or lens-family-core.
--
-- See Network.AWS.WorkSpaces or the AWS documentation to
-- get started.
@package amazonka-workspaces
@version 1.6.0
module Network.AWS.WorkSpaces.Types
-- | API version 2015-04-08 of the Amazon WorkSpaces SDK
-- configuration.
workSpaces :: Service
-- | The user is not authorized to access a resource.
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The resource could not be created.
_ResourceCreationFailedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified resource is not available.
_ResourceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more parameter values are not valid.
_InvalidParameterValuesException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The resource is associated with a directory.
_ResourceAssociatedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The properties of this WorkSpace are currently being modified. Try
-- again in a moment.
_OperationInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified resource already exists.
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Your resource limits have been exceeded.
_ResourceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The state of the resource is not valid for this operation.
_InvalidResourceStateException :: AsError a => Getting (First ServiceError) a ServiceError
-- | This operation is not supported.
_OperationNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The configuration of this WorkSpace is not supported for this
-- operation. For more information, see the Amazon WorkSpaces
-- Administration Guide .
_UnsupportedWorkspaceConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The resource could not be found.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
data Compute
Graphics :: Compute
Performance :: Compute
Power :: Compute
Standard :: Compute
Value :: Compute
data ConnectionState
Connected :: ConnectionState
Disconnected :: ConnectionState
Unknown :: ConnectionState
data ModificationResourceEnum
ComputeType :: ModificationResourceEnum
RootVolume :: ModificationResourceEnum
UserVolume :: ModificationResourceEnum
data ModificationStateEnum
UpdateInProgress :: ModificationStateEnum
UpdateInitiated :: ModificationStateEnum
data RunningMode
AlwaysOn :: RunningMode
AutoStop :: RunningMode
data TargetWorkspaceState
AdminMaintenance :: TargetWorkspaceState
Available :: TargetWorkspaceState
data WorkspaceDirectoryState
Deregistered :: WorkspaceDirectoryState
Deregistering :: WorkspaceDirectoryState
Error' :: WorkspaceDirectoryState
Registered :: WorkspaceDirectoryState
Registering :: WorkspaceDirectoryState
data WorkspaceDirectoryType
AdConnector :: WorkspaceDirectoryType
SimpleAd :: WorkspaceDirectoryType
data WorkspaceState
WSAdminMaintenance :: WorkspaceState
WSAvailable :: WorkspaceState
WSError' :: WorkspaceState
WSImpaired :: WorkspaceState
WSMaintenance :: WorkspaceState
WSPending :: WorkspaceState
WSRebooting :: WorkspaceState
WSRebuilding :: WorkspaceState
WSStarting :: WorkspaceState
WSStopped :: WorkspaceState
WSStopping :: WorkspaceState
WSSuspended :: WorkspaceState
WSTerminated :: WorkspaceState
WSTerminating :: WorkspaceState
WSUnhealthy :: WorkspaceState
WSUpdating :: WorkspaceState
-- | Information about the compute type.
--
-- See: computeType smart constructor.
data ComputeType
-- | 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 - The compute type.
--
computeType :: ComputeType
-- | The compute type.
ctName :: Lens' ComputeType (Maybe Compute)
-- | Information about defaults used to create a WorkSpace.
--
-- See: defaultWorkspaceCreationProperties smart
-- constructor.
data DefaultWorkspaceCreationProperties
-- | 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:
--
--
defaultWorkspaceCreationProperties :: DefaultWorkspaceCreationProperties
-- | The identifier of any security groups to apply to WorkSpaces when they
-- are created.
dwcpCustomSecurityGroupId :: Lens' DefaultWorkspaceCreationProperties (Maybe Text)
-- | Indicates whether the WorkSpace user is an administrator on the
-- WorkSpace.
dwcpUserEnabledAsLocalAdministrator :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
-- | Indicates whether the directory is enabled for Amazon WorkDocs.
dwcpEnableWorkDocs :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
-- | The public IP address to attach to all WorkSpaces that are created or
-- rebuilt.
dwcpEnableInternetAccess :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
-- | The organizational unit (OU) in the directory for the WorkSpace
-- machine accounts.
dwcpDefaultOu :: Lens' DefaultWorkspaceCreationProperties (Maybe Text)
-- | Information about a WorkSpace that could not be created.
--
-- See: failedCreateWorkspaceRequest smart constructor.
data FailedCreateWorkspaceRequest
-- | 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:
--
--
failedCreateWorkspaceRequest :: FailedCreateWorkspaceRequest
-- | Information about the WorkSpace.
fcwrWorkspaceRequest :: Lens' FailedCreateWorkspaceRequest (Maybe WorkspaceRequest)
-- | The error code.
fcwrErrorCode :: Lens' FailedCreateWorkspaceRequest (Maybe Text)
-- | The textual error message.
fcwrErrorMessage :: Lens' FailedCreateWorkspaceRequest (Maybe Text)
-- | Information about a WorkSpace that could not be rebooted
-- (RebootWorkspaces ), rebuilt (RebuildWorkspaces ),
-- terminated (TerminateWorkspaces ), started
-- (StartWorkspaces ), or stopped (StopWorkspaces ).
--
-- See: failedWorkspaceChangeRequest smart constructor.
data FailedWorkspaceChangeRequest
-- | 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:
--
--
failedWorkspaceChangeRequest :: FailedWorkspaceChangeRequest
-- | The error code.
fwcrErrorCode :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
-- | The identifier of the WorkSpace.
fwcrWorkspaceId :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
-- | The textual error message.
fwcrErrorMessage :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
-- | Information about a rule for an IP access control group.
--
-- See: ipRuleItem smart constructor.
data IPRuleItem
-- | Creates a value of IPRuleItem with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
ipRuleItem :: IPRuleItem
-- | The description.
iriRuleDesc :: Lens' IPRuleItem (Maybe Text)
-- | The IP address range, in CIDR notation.
iriIpRule :: Lens' IPRuleItem (Maybe Text)
-- | Information about a WorkSpace modification.
--
-- See: modificationState smart constructor.
data ModificationState
-- | Creates a value of ModificationState with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modificationState :: ModificationState
-- | The modification state.
msState :: Lens' ModificationState (Maybe ModificationStateEnum)
-- | The resource.
msResource :: Lens' ModificationState (Maybe ModificationResourceEnum)
-- | Information used to reboot a WorkSpace.
--
-- See: rebootRequest smart constructor.
data RebootRequest
-- | 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:
--
--
rebootRequest :: Text -> RebootRequest
-- | The ID of the WorkSpace.
rWorkspaceId :: Lens' RebootRequest Text
-- | Information used to rebuild a WorkSpace.
--
-- See: rebuildRequest smart constructor.
data RebuildRequest
-- | 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:
--
--
rebuildRequest :: Text -> RebuildRequest
-- | The ID of the WorkSpace.
rrWorkspaceId :: Lens' RebuildRequest Text
-- | Information about the root volume for a WorkSpace bundle.
--
-- See: rootStorage smart constructor.
data RootStorage
-- | Creates a value of RootStorage with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
rootStorage :: RootStorage
-- | The size of the root volume.
rsCapacity :: Lens' RootStorage (Maybe Text)
-- | Information used to start a WorkSpace.
--
-- See: startRequest smart constructor.
data StartRequest
-- | 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:
--
--
startRequest :: StartRequest
-- | The ID of the WorkSpace.
sWorkspaceId :: Lens' StartRequest (Maybe Text)
-- | Information used to stop a WorkSpace.
--
-- See: stopRequest smart constructor.
data StopRequest
-- | 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:
--
--
stopRequest :: StopRequest
-- | The ID of the WorkSpace.
srWorkspaceId :: Lens' StopRequest (Maybe Text)
-- | Information about a tag.
--
-- See: tag smart constructor.
data Tag
-- | Creates a value of Tag with the minimum fields required to make
-- a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tagValue - The value of the tag.
-- - tagKey - The key of the tag.
--
tag :: Text -> Tag
-- | The value of the tag.
tagValue :: Lens' Tag (Maybe Text)
-- | The key of the tag.
tagKey :: Lens' Tag Text
-- | Information used to terminate a WorkSpace.
--
-- See: terminateRequest smart constructor.
data TerminateRequest
-- | 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:
--
--
terminateRequest :: Text -> TerminateRequest
-- | The ID of the WorkSpace.
trWorkspaceId :: Lens' TerminateRequest Text
-- | Information about the user storage for a WorkSpace bundle.
--
-- See: userStorage smart constructor.
data UserStorage
-- | 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:
--
--
userStorage :: UserStorage
-- | The size of the user storage.
usCapacity :: Lens' UserStorage (Maybe Text)
-- | Information about a WorkSpace.
--
-- See: workspace smart constructor.
data Workspace
-- | 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 - The identifier of the AWS Directory Service
-- directory for the WorkSpace.
-- - wState - The operational state of the WorkSpace.
-- - wIPAddress - The IP address of the WorkSpace.
-- - wModificationStates - The modification states of the
-- WorkSpace.
-- - wUserName - The user for the WorkSpace.
-- - wSubnetId - The identifier of the subnet for the
-- WorkSpace.
-- - wBundleId - The identifier of the bundle used to create the
-- WorkSpace.
-- - wWorkspaceProperties - The properties of the
-- WorkSpace.
-- - wRootVolumeEncryptionEnabled - Indicates whether the data
-- stored on the root volume is encrypted.
-- - wErrorCode - If the WorkSpace could not be created,
-- contains the error code.
-- - wVolumeEncryptionKey - The KMS key used to encrypt data
-- stored on your WorkSpace.
-- - wComputerName - The name of the WorkSpace, as seen by the
-- operating system.
-- - wWorkspaceId - The identifier of the WorkSpace.
-- - wUserVolumeEncryptionEnabled - Indicates whether the data
-- stored on the user volume is encrypted.
-- - wErrorMessage - If the WorkSpace could not be created,
-- contains a textual error message that describes the failure.
--
workspace :: Workspace
-- | The identifier of the AWS Directory Service directory for the
-- WorkSpace.
wDirectoryId :: Lens' Workspace (Maybe Text)
-- | The operational state of the WorkSpace.
wState :: Lens' Workspace (Maybe WorkspaceState)
-- | The IP address of the WorkSpace.
wIPAddress :: Lens' Workspace (Maybe Text)
-- | The modification states of the WorkSpace.
wModificationStates :: Lens' Workspace [ModificationState]
-- | The user for the WorkSpace.
wUserName :: Lens' Workspace (Maybe Text)
-- | The identifier of the subnet for the WorkSpace.
wSubnetId :: Lens' Workspace (Maybe Text)
-- | The identifier of the bundle used to create the WorkSpace.
wBundleId :: Lens' Workspace (Maybe Text)
-- | The properties of the WorkSpace.
wWorkspaceProperties :: Lens' Workspace (Maybe WorkspaceProperties)
-- | Indicates whether the data stored on the root volume is encrypted.
wRootVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool)
-- | If the WorkSpace could not be created, contains the error code.
wErrorCode :: Lens' Workspace (Maybe Text)
-- | The KMS key used to encrypt data stored on your WorkSpace.
wVolumeEncryptionKey :: Lens' Workspace (Maybe Text)
-- | The name of the WorkSpace, as seen by the operating system.
wComputerName :: Lens' Workspace (Maybe Text)
-- | The identifier of the WorkSpace.
wWorkspaceId :: Lens' Workspace (Maybe Text)
-- | Indicates whether the data stored on the user volume is encrypted.
wUserVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool)
-- | If the WorkSpace could not be created, contains a textual error
-- message that describes the failure.
wErrorMessage :: Lens' Workspace (Maybe Text)
-- | Information about a WorkSpace bundle.
--
-- See: workspaceBundle smart constructor.
data WorkspaceBundle
-- | 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:
--
--
workspaceBundle :: WorkspaceBundle
-- | The bundle identifier.
wbBundleId :: Lens' WorkspaceBundle (Maybe Text)
-- | The owner of the bundle. This is the account identifier of the owner,
-- or AMAZON if the bundle is provided by AWS.
wbOwner :: Lens' WorkspaceBundle (Maybe Text)
-- | The size of the root volume.
wbRootStorage :: Lens' WorkspaceBundle (Maybe RootStorage)
-- | The name of the bundle.
wbName :: Lens' WorkspaceBundle (Maybe Text)
-- | The compute type. For more information, see Amazon WorkSpaces
-- Bundles .
wbComputeType :: Lens' WorkspaceBundle (Maybe ComputeType)
-- | The size of the user storage.
wbUserStorage :: Lens' WorkspaceBundle (Maybe UserStorage)
-- | A description.
wbDescription :: Lens' WorkspaceBundle (Maybe Text)
-- | Describes the connection status of a WorkSpace.
--
-- See: workspaceConnectionStatus smart constructor.
data WorkspaceConnectionStatus
-- | 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:
--
--
workspaceConnectionStatus :: WorkspaceConnectionStatus
-- | The timestamp of the last known user connection.
wcsLastKnownUserConnectionTimestamp :: Lens' WorkspaceConnectionStatus (Maybe UTCTime)
-- | The timestamp of the connection state check.
wcsConnectionStateCheckTimestamp :: Lens' WorkspaceConnectionStatus (Maybe UTCTime)
-- | The ID of the WorkSpace.
wcsWorkspaceId :: Lens' WorkspaceConnectionStatus (Maybe Text)
-- | The connection state of the WorkSpace. The connection state is unknown
-- if the WorkSpace is stopped.
wcsConnectionState :: Lens' WorkspaceConnectionStatus (Maybe ConnectionState)
-- | Information about an AWS Directory Service directory for use with
-- Amazon WorkSpaces.
--
-- See: workspaceDirectory smart constructor.
data WorkspaceDirectory
-- | 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 - 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 - 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 - The directory identifier.
-- - wdState - The state of the directory's registration with
-- Amazon WorkSpaces
-- - wdCustomerUserName - The user name for the service
-- account.
-- - wdSubnetIds - The identifiers of the subnets used with the
-- directory.
-- - wdIpGroupIds - The identifiers of the IP access control
-- groups associated with the directory.
-- - wdAlias - The directory alias.
-- - wdWorkspaceSecurityGroupId - The identifier of the security
-- group that is assigned to new WorkSpaces.
-- - wdDirectoryType - The directory type.
-- - wdWorkspaceCreationProperties - The default creation
-- properties for all WorkSpaces in the directory.
-- - wdDNSIPAddresses - The IP addresses of the DNS servers for
-- the directory.
-- - wdDirectoryName - The name of the directory.
--
workspaceDirectory :: WorkspaceDirectory
-- | The registration code for the directory. This is the code that users
-- enter in their Amazon WorkSpaces client application to connect to the
-- directory.
wdRegistrationCode :: Lens' WorkspaceDirectory (Maybe Text)
-- | 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.
wdIAMRoleId :: Lens' WorkspaceDirectory (Maybe Text)
-- | The directory identifier.
wdDirectoryId :: Lens' WorkspaceDirectory (Maybe Text)
-- | The state of the directory's registration with Amazon WorkSpaces
wdState :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryState)
-- | The user name for the service account.
wdCustomerUserName :: Lens' WorkspaceDirectory (Maybe Text)
-- | The identifiers of the subnets used with the directory.
wdSubnetIds :: Lens' WorkspaceDirectory [Text]
-- | The identifiers of the IP access control groups associated with the
-- directory.
wdIpGroupIds :: Lens' WorkspaceDirectory [Text]
-- | The directory alias.
wdAlias :: Lens' WorkspaceDirectory (Maybe Text)
-- | The identifier of the security group that is assigned to new
-- WorkSpaces.
wdWorkspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text)
-- | The directory type.
wdDirectoryType :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryType)
-- | The default creation properties for all WorkSpaces in the directory.
wdWorkspaceCreationProperties :: Lens' WorkspaceDirectory (Maybe DefaultWorkspaceCreationProperties)
-- | The IP addresses of the DNS servers for the directory.
wdDNSIPAddresses :: Lens' WorkspaceDirectory [Text]
-- | The name of the directory.
wdDirectoryName :: Lens' WorkspaceDirectory (Maybe Text)
-- | Information about a WorkSpace.
--
-- See: workspaceProperties smart constructor.
data WorkspaceProperties
-- | 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:
--
--
workspaceProperties :: WorkspaceProperties
-- | The compute type. For more information, see Amazon WorkSpaces
-- Bundles .
wpComputeTypeName :: Lens' WorkspaceProperties (Maybe Compute)
-- | The running mode. For more information, see Manage the WorkSpace
-- Running Mode .
wpRunningMode :: Lens' WorkspaceProperties (Maybe RunningMode)
-- | The size of the root volume.
wpRootVolumeSizeGib :: Lens' WorkspaceProperties (Maybe Int)
-- | The time after a user logs off when WorkSpaces are automatically
-- stopped. Configured in 60 minute intervals.
wpRunningModeAutoStopTimeoutInMinutes :: Lens' WorkspaceProperties (Maybe Int)
-- | The size of the user storage.
wpUserVolumeSizeGib :: Lens' WorkspaceProperties (Maybe Int)
-- | Information used to create a WorkSpace.
--
-- See: workspaceRequest smart constructor.
data WorkspaceRequest
-- | 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 - The WorkSpace properties.
-- - wrRootVolumeEncryptionEnabled - Indicates whether the data
-- stored on the root volume is encrypted.
-- - wrVolumeEncryptionKey - The KMS key used to encrypt data
-- stored on your WorkSpace.
-- - wrUserVolumeEncryptionEnabled - Indicates whether the data
-- stored on the user volume is encrypted.
-- - wrTags - The tags for the WorkSpace.
-- - wrDirectoryId - The identifier of the AWS Directory Service
-- directory for the WorkSpace. You can use
-- DescribeWorkspaceDirectories to list the available
-- directories.
-- - wrUserName - The username of the user for the WorkSpace.
-- This username must exist in the AWS Directory Service directory for
-- the WorkSpace.
-- - wrBundleId - The identifier of the bundle for the
-- WorkSpace. You can use DescribeWorkspaceBundles to list the
-- available bundles.
--
workspaceRequest :: Text -> Text -> Text -> WorkspaceRequest
-- | The WorkSpace properties.
wrWorkspaceProperties :: Lens' WorkspaceRequest (Maybe WorkspaceProperties)
-- | Indicates whether the data stored on the root volume is encrypted.
wrRootVolumeEncryptionEnabled :: Lens' WorkspaceRequest (Maybe Bool)
-- | The KMS key used to encrypt data stored on your WorkSpace.
wrVolumeEncryptionKey :: Lens' WorkspaceRequest (Maybe Text)
-- | Indicates whether the data stored on the user volume is encrypted.
wrUserVolumeEncryptionEnabled :: Lens' WorkspaceRequest (Maybe Bool)
-- | The tags for the WorkSpace.
wrTags :: Lens' WorkspaceRequest [Tag]
-- | The identifier of the AWS Directory Service directory for the
-- WorkSpace. You can use DescribeWorkspaceDirectories to list
-- the available directories.
wrDirectoryId :: Lens' WorkspaceRequest Text
-- | The username of the user for the WorkSpace. This username must exist
-- in the AWS Directory Service directory for the WorkSpace.
wrUserName :: Lens' WorkspaceRequest Text
-- | The identifier of the bundle for the WorkSpace. You can use
-- DescribeWorkspaceBundles to list the available bundles.
wrBundleId :: Lens' WorkspaceRequest Text
-- | Information about an IP access control group.
--
-- See: workspacesIPGroup smart constructor.
data WorkspacesIPGroup
-- | Creates a value of WorkspacesIPGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
workspacesIPGroup :: WorkspacesIPGroup
-- | The description of the group.
wigGroupDesc :: Lens' WorkspacesIPGroup (Maybe Text)
-- | The rules.
wigUserRules :: Lens' WorkspacesIPGroup [IPRuleItem]
-- | The ID of the group.
wigGroupId :: Lens' WorkspacesIPGroup (Maybe Text)
-- | The name of the group.
wigGroupName :: Lens' WorkspacesIPGroup (Maybe Text)
-- | Terminates the specified WorkSpaces.
--
-- Terminating a WorkSpace is a permanent action and cannot be undone.
-- The user's data is destroyed. If you need to archive any user data,
-- contact Amazon Web Services before terminating the WorkSpace.
--
-- You can terminate a WorkSpace that is in any state except
-- SUSPENDED .
--
-- This operation is asynchronous and returns before the WorkSpaces have
-- been completely terminated.
module Network.AWS.WorkSpaces.TerminateWorkspaces
-- | Creates a value of TerminateWorkspaces with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
terminateWorkspaces :: NonEmpty TerminateRequest -> TerminateWorkspaces
-- | See: terminateWorkspaces smart constructor.
data TerminateWorkspaces
-- | The WorkSpaces to terminate. You can specify up to 25 WorkSpaces.
twTerminateWorkspaceRequests :: Lens' TerminateWorkspaces (NonEmpty TerminateRequest)
-- | Creates a value of TerminateWorkspacesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
terminateWorkspacesResponse :: Int -> TerminateWorkspacesResponse
-- | See: terminateWorkspacesResponse smart constructor.
data TerminateWorkspacesResponse
-- | Information about the WorkSpaces that could not be terminated.
twrsFailedRequests :: Lens' TerminateWorkspacesResponse [FailedWorkspaceChangeRequest]
-- |
-- - - | The response status code.
--
twrsResponseStatus :: Lens' TerminateWorkspacesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspacesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspacesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspacesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspacesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspacesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance Data.Data.Data Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance GHC.Show.Show Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance GHC.Read.Read Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance GHC.Classes.Eq Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspacesResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.TerminateWorkspaces.TerminateWorkspaces
-- | Stops the specified WorkSpaces.
--
-- You cannot stop a WorkSpace unless it has a running mode of
-- AutoStop and a state of AVAILABLE ,
-- IMPAIRED , UNHEALTHY , or ERROR .
module Network.AWS.WorkSpaces.StopWorkspaces
-- | Creates a value of StopWorkspaces with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
stopWorkspaces :: NonEmpty StopRequest -> StopWorkspaces
-- | See: stopWorkspaces smart constructor.
data StopWorkspaces
-- | The WorkSpaces to stop. You can specify up to 25 WorkSpaces.
swStopWorkspaceRequests :: Lens' StopWorkspaces (NonEmpty StopRequest)
-- | Creates a value of StopWorkspacesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
stopWorkspacesResponse :: Int -> StopWorkspacesResponse
-- | See: stopWorkspacesResponse smart constructor.
data StopWorkspacesResponse
-- | Information about the WorkSpaces that could not be stopped.
srsFailedRequests :: Lens' StopWorkspacesResponse [FailedWorkspaceChangeRequest]
-- |
-- - - | The response status code.
--
srsResponseStatus :: Lens' StopWorkspacesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspacesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspacesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspacesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspacesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspacesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance Data.Data.Data Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance GHC.Show.Show Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance GHC.Read.Read Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance GHC.Classes.Eq Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspacesResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.StopWorkspaces.StopWorkspaces
-- | Starts the specified WorkSpaces.
--
-- You cannot start a WorkSpace unless it has a running mode of
-- AutoStop and a state of STOPPED .
module Network.AWS.WorkSpaces.StartWorkspaces
-- | Creates a value of StartWorkspaces with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
startWorkspaces :: NonEmpty StartRequest -> StartWorkspaces
-- | See: startWorkspaces smart constructor.
data StartWorkspaces
-- | The WorkSpaces to start. You can specify up to 25 WorkSpaces.
swStartWorkspaceRequests :: Lens' StartWorkspaces (NonEmpty StartRequest)
-- | Creates a value of StartWorkspacesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
startWorkspacesResponse :: Int -> StartWorkspacesResponse
-- | See: startWorkspacesResponse smart constructor.
data StartWorkspacesResponse
-- | Information about the WorkSpaces that could not be started.
swrsFailedRequests :: Lens' StartWorkspacesResponse [FailedWorkspaceChangeRequest]
-- |
-- - - | The response status code.
--
swrsResponseStatus :: Lens' StartWorkspacesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspacesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspacesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspacesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspacesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspacesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance Data.Data.Data Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance GHC.Show.Show Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance GHC.Read.Read Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance GHC.Classes.Eq Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspacesResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.StartWorkspaces.StartWorkspaces
-- | Removes one or more rules from the specified IP access control group.
module Network.AWS.WorkSpaces.RevokeIPRules
-- | Creates a value of RevokeIPRules with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
revokeIPRules :: Text -> RevokeIPRules
-- | See: revokeIPRules smart constructor.
data RevokeIPRules
-- | The ID of the group.
rirGroupId :: Lens' RevokeIPRules Text
-- | The rules to remove from the group.
rirUserRules :: Lens' RevokeIPRules [Text]
-- | Creates a value of RevokeIPRulesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
revokeIPRulesResponse :: Int -> RevokeIPRulesResponse
-- | See: revokeIPRulesResponse smart constructor.
data RevokeIPRulesResponse
-- |
-- - - | The response status code.
--
rirrsResponseStatus :: Lens' RevokeIPRulesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRulesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRulesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRulesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRulesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRulesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance Data.Data.Data Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance GHC.Show.Show Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance GHC.Read.Read Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance GHC.Classes.Eq Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRulesResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.RevokeIPRules.RevokeIPRules
-- | Rebuilds the specified WorkSpace.
--
-- You cannot rebuild a WorkSpace unless its state is AVAILABLE
-- , ERROR , or UNHEALTHY .
--
-- Rebuilding a WorkSpace is a potentially destructive action that can
-- result in the loss of data. For more information, see Rebuild a
-- WorkSpace .
--
-- This operation is asynchronous and returns before the WorkSpaces have
-- been completely rebuilt.
module Network.AWS.WorkSpaces.RebuildWorkspaces
-- | Creates a value of RebuildWorkspaces with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
rebuildWorkspaces :: NonEmpty RebuildRequest -> RebuildWorkspaces
-- | See: rebuildWorkspaces smart constructor.
data RebuildWorkspaces
-- | The WorkSpace to rebuild. You can specify a single WorkSpace.
rwRebuildWorkspaceRequests :: Lens' RebuildWorkspaces (NonEmpty RebuildRequest)
-- | Creates a value of RebuildWorkspacesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
rebuildWorkspacesResponse :: Int -> RebuildWorkspacesResponse
-- | See: rebuildWorkspacesResponse smart constructor.
data RebuildWorkspacesResponse
-- | Information about the WorkSpace if it could not be rebuilt.
rwrsFailedRequests :: Lens' RebuildWorkspacesResponse [FailedWorkspaceChangeRequest]
-- |
-- - - | The response status code.
--
rwrsResponseStatus :: Lens' RebuildWorkspacesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspacesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspacesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspacesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspacesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspacesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance Data.Data.Data Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance GHC.Show.Show Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance GHC.Read.Read Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance GHC.Classes.Eq Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspacesResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.RebuildWorkspaces.RebuildWorkspaces
-- | Reboots the specified WorkSpaces.
--
-- You cannot reboot a WorkSpace unless its state is AVAILABLE
-- or UNHEALTHY .
--
-- This operation is asynchronous and returns before the WorkSpaces have
-- rebooted.
module Network.AWS.WorkSpaces.RebootWorkspaces
-- | Creates a value of RebootWorkspaces with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
rebootWorkspaces :: NonEmpty RebootRequest -> RebootWorkspaces
-- | See: rebootWorkspaces smart constructor.
data RebootWorkspaces
-- | The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
rwRebootWorkspaceRequests :: Lens' RebootWorkspaces (NonEmpty RebootRequest)
-- | Creates a value of RebootWorkspacesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
rebootWorkspacesResponse :: Int -> RebootWorkspacesResponse
-- | See: rebootWorkspacesResponse smart constructor.
data RebootWorkspacesResponse
-- | Information about the WorkSpaces that could not be rebooted.
rrsFailedRequests :: Lens' RebootWorkspacesResponse [FailedWorkspaceChangeRequest]
-- |
-- - - | The response status code.
--
rrsResponseStatus :: Lens' RebootWorkspacesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspacesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspacesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspacesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspacesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspacesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance Data.Data.Data Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance GHC.Show.Show Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance GHC.Read.Read Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance GHC.Classes.Eq Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspacesResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.RebootWorkspaces.RebootWorkspaces
-- | Sets the state of the specified WorkSpace.
--
-- To maintain a WorkSpace without being interrupted, set the WorkSpace
-- state to ADMIN_MAINTENANCE . WorkSpaces in this state do not
-- respond to requests to reboot, stop, start, or rebuild. An AutoStop
-- WorkSpace in this state is not stopped. Users can log into a WorkSpace
-- in the ADMIN_MAINTENANCE state.
module Network.AWS.WorkSpaces.ModifyWorkspaceState
-- | Creates a value of ModifyWorkspaceState with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyWorkspaceState :: Text -> TargetWorkspaceState -> ModifyWorkspaceState
-- | See: modifyWorkspaceState smart constructor.
data ModifyWorkspaceState
-- | The ID of the WorkSpace.
mwsWorkspaceId :: Lens' ModifyWorkspaceState Text
-- | The WorkSpace state.
mwsWorkspaceState :: Lens' ModifyWorkspaceState TargetWorkspaceState
-- | Creates a value of ModifyWorkspaceStateResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyWorkspaceStateResponse :: Int -> ModifyWorkspaceStateResponse
-- | See: modifyWorkspaceStateResponse smart constructor.
data ModifyWorkspaceStateResponse
-- |
-- - - | The response status code.
--
mwsrsResponseStatus :: Lens' ModifyWorkspaceStateResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceStateResponse
instance Data.Data.Data Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceStateResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceStateResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceStateResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceStateResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance Data.Data.Data Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance GHC.Show.Show Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance GHC.Read.Read Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance GHC.Classes.Eq Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceStateResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.ModifyWorkspaceState.ModifyWorkspaceState
-- | Modifies the specified WorkSpace properties.
module Network.AWS.WorkSpaces.ModifyWorkspaceProperties
-- | Creates a value of ModifyWorkspaceProperties with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyWorkspaceProperties :: Text -> WorkspaceProperties -> ModifyWorkspaceProperties
-- | See: modifyWorkspaceProperties smart constructor.
data ModifyWorkspaceProperties
-- | The ID of the WorkSpace.
mwpWorkspaceId :: Lens' ModifyWorkspaceProperties Text
-- | The properties of the WorkSpace.
mwpWorkspaceProperties :: Lens' ModifyWorkspaceProperties WorkspaceProperties
-- | Creates a value of ModifyWorkspacePropertiesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modifyWorkspacePropertiesResponse :: Int -> ModifyWorkspacePropertiesResponse
-- | See: modifyWorkspacePropertiesResponse smart
-- constructor.
data ModifyWorkspacePropertiesResponse
-- |
-- - - | The response status code.
--
mwprsResponseStatus :: Lens' ModifyWorkspacePropertiesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspacePropertiesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspacePropertiesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspacePropertiesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspacePropertiesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspacePropertiesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance Data.Data.Data Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance GHC.Show.Show Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance GHC.Read.Read Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance GHC.Classes.Eq Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspacePropertiesResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.ModifyWorkspaceProperties.ModifyWorkspaceProperties
-- | Disassociates the specified IP access control group from the specified
-- directory.
module Network.AWS.WorkSpaces.DisassociateIPGroups
-- | Creates a value of DisassociateIPGroups with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
disassociateIPGroups :: Text -> DisassociateIPGroups
-- | See: disassociateIPGroups smart constructor.
data DisassociateIPGroups
-- | The ID of the directory.
digDirectoryId :: Lens' DisassociateIPGroups Text
-- | The IDs of one or more IP access control groups.
digGroupIds :: Lens' DisassociateIPGroups [Text]
-- | Creates a value of DisassociateIPGroupsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
disassociateIPGroupsResponse :: Int -> DisassociateIPGroupsResponse
-- | See: disassociateIPGroupsResponse smart constructor.
data DisassociateIPGroupsResponse
-- |
-- - - | The response status code.
--
digrsResponseStatus :: Lens' DisassociateIPGroupsResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroupsResponse
instance Data.Data.Data Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroupsResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroupsResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroupsResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroupsResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance Data.Data.Data Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance GHC.Show.Show Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance GHC.Read.Read Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroupsResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.DisassociateIPGroups.DisassociateIPGroups
-- | Describes the connection status of the specified WorkSpaces.
module Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus
-- | Creates a value of DescribeWorkspacesConnectionStatus with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dwcsWorkspaceIds - The identifiers of the WorkSpaces. You
-- can specify up to 25 WorkSpaces.
-- - dwcsNextToken - The token for the next set of results. (You
-- received this token from a previous call.)
--
describeWorkspacesConnectionStatus :: DescribeWorkspacesConnectionStatus
-- | See: describeWorkspacesConnectionStatus smart
-- constructor.
data DescribeWorkspacesConnectionStatus
-- | The identifiers of the WorkSpaces. You can specify up to 25
-- WorkSpaces.
dwcsWorkspaceIds :: Lens' DescribeWorkspacesConnectionStatus (Maybe (NonEmpty Text))
-- | The token for the next set of results. (You received this token from a
-- previous call.)
dwcsNextToken :: Lens' DescribeWorkspacesConnectionStatus (Maybe Text)
-- | Creates a value of DescribeWorkspacesConnectionStatusResponse
-- with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeWorkspacesConnectionStatusResponse :: Int -> DescribeWorkspacesConnectionStatusResponse
-- | See: describeWorkspacesConnectionStatusResponse smart
-- constructor.
data DescribeWorkspacesConnectionStatusResponse
-- | The token to use to retrieve the next set of results, or null if there
-- are no more results available.
dwcsrsNextToken :: Lens' DescribeWorkspacesConnectionStatusResponse (Maybe Text)
-- | Information about the connection status of the WorkSpace.
dwcsrsWorkspacesConnectionStatus :: Lens' DescribeWorkspacesConnectionStatusResponse [WorkspaceConnectionStatus]
-- |
-- - - | The response status code.
--
dwcsrsResponseStatus :: Lens' DescribeWorkspacesConnectionStatusResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatusResponse
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatusResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatusResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatusResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatusResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatusResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.DescribeWorkspacesConnectionStatus.DescribeWorkspacesConnectionStatus
-- | Describes the specified WorkSpaces.
--
-- You can filter the results using bundle ID, directory ID, or owner,
-- but you can specify only one filter at a time.
--
-- This operation returns paginated results.
module Network.AWS.WorkSpaces.DescribeWorkspaces
-- | Creates a value of DescribeWorkspaces with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dwDirectoryId - The ID of the directory. In addition, you
-- can optionally specify a specific directory user (see
-- UserName ). This parameter cannot be combined with any other
-- filter.
-- - dwWorkspaceIds - The IDs of the WorkSpaces. This parameter
-- cannot be combined with any other filter. Because the
-- CreateWorkspaces operation is asynchronous, the identifier it
-- returns is not immediately available. If you immediately call
-- DescribeWorkspaces with this identifier, no information is
-- returned.
-- - dwUserName - The name of the directory user. You must
-- specify this parameter with DirectoryId .
-- - dwBundleId - The ID of the bundle. All WorkSpaces that are
-- created from this bundle are retrieved. This parameter cannot be
-- combined with any other filter.
-- - dwNextToken - The token for the next set of results. (You
-- received this token from a previous call.)
-- - dwLimit - The maximum number of items to return.
--
describeWorkspaces :: DescribeWorkspaces
-- | See: describeWorkspaces smart constructor.
data DescribeWorkspaces
-- | The ID of the directory. In addition, you can optionally specify a
-- specific directory user (see UserName ). This parameter
-- cannot be combined with any other filter.
dwDirectoryId :: Lens' DescribeWorkspaces (Maybe Text)
-- | The IDs of the WorkSpaces. This parameter cannot be combined with any
-- other filter. Because the CreateWorkspaces operation is
-- asynchronous, the identifier it returns is not immediately available.
-- If you immediately call DescribeWorkspaces with this
-- identifier, no information is returned.
dwWorkspaceIds :: Lens' DescribeWorkspaces (Maybe (NonEmpty Text))
-- | The name of the directory user. You must specify this parameter with
-- DirectoryId .
dwUserName :: Lens' DescribeWorkspaces (Maybe Text)
-- | The ID of the bundle. All WorkSpaces that are created from this bundle
-- are retrieved. This parameter cannot be combined with any other
-- filter.
dwBundleId :: Lens' DescribeWorkspaces (Maybe Text)
-- | The token for the next set of results. (You received this token from a
-- previous call.)
dwNextToken :: Lens' DescribeWorkspaces (Maybe Text)
-- | The maximum number of items to return.
dwLimit :: Lens' DescribeWorkspaces (Maybe Natural)
-- | Creates a value of DescribeWorkspacesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dwrsNextToken - The token to use to retrieve the next set
-- of results, or null if there are no more results available. This token
-- is valid for one day and must be used within that time frame.
-- - dwrsWorkspaces - Information about the WorkSpaces. Because
-- CreateWorkspaces is an asynchronous operation, some of the
-- returned information could be incomplete.
-- - dwrsResponseStatus - -- | The response status code.
--
describeWorkspacesResponse :: Int -> DescribeWorkspacesResponse
-- | See: describeWorkspacesResponse smart constructor.
data DescribeWorkspacesResponse
-- | The token to use to retrieve the next set of results, or null if there
-- are no more results available. This token is valid for one day and
-- must be used within that time frame.
dwrsNextToken :: Lens' DescribeWorkspacesResponse (Maybe Text)
-- | Information about the WorkSpaces. Because CreateWorkspaces is
-- an asynchronous operation, some of the returned information could be
-- incomplete.
dwrsWorkspaces :: Lens' DescribeWorkspacesResponse [Workspace]
-- |
-- - - | The response status code.
--
dwrsResponseStatus :: Lens' DescribeWorkspacesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspacesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspacesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspacesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspacesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspacesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspacesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.DescribeWorkspaces.DescribeWorkspaces
-- | Describes the available AWS Directory Service directories that are
-- registered with Amazon WorkSpaces.
--
-- This operation returns paginated results.
module Network.AWS.WorkSpaces.DescribeWorkspaceDirectories
-- | Creates a value of DescribeWorkspaceDirectories with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dwdNextToken - The token for the next set of results. (You
-- received this token from a previous call.)
-- - dwdDirectoryIds - The identifiers of the directories. If
-- the value is null, all directories are retrieved.
--
describeWorkspaceDirectories :: DescribeWorkspaceDirectories
-- | See: describeWorkspaceDirectories smart constructor.
data DescribeWorkspaceDirectories
-- | The token for the next set of results. (You received this token from a
-- previous call.)
dwdNextToken :: Lens' DescribeWorkspaceDirectories (Maybe Text)
-- | The identifiers of the directories. If the value is null, all
-- directories are retrieved.
dwdDirectoryIds :: Lens' DescribeWorkspaceDirectories (Maybe (NonEmpty Text))
-- | Creates a value of DescribeWorkspaceDirectoriesResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dwdrsDirectories - Information about the directories.
-- - dwdrsNextToken - The token to use to retrieve the next set
-- of results, or null if there are no more results available. This token
-- is valid for one day and must be used within that time frame.
-- - dwdrsResponseStatus - -- | The response status code.
--
describeWorkspaceDirectoriesResponse :: Int -> DescribeWorkspaceDirectoriesResponse
-- | See: describeWorkspaceDirectoriesResponse smart
-- constructor.
data DescribeWorkspaceDirectoriesResponse
-- | Information about the directories.
dwdrsDirectories :: Lens' DescribeWorkspaceDirectoriesResponse [WorkspaceDirectory]
-- | The token to use to retrieve the next set of results, or null if there
-- are no more results available. This token is valid for one day and
-- must be used within that time frame.
dwdrsNextToken :: Lens' DescribeWorkspaceDirectoriesResponse (Maybe Text)
-- |
-- - - | The response status code.
--
dwdrsResponseStatus :: Lens' DescribeWorkspaceDirectoriesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectoriesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectoriesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectoriesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectoriesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectoriesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectoriesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.DescribeWorkspaceDirectories.DescribeWorkspaceDirectories
-- | Describes the available WorkSpace bundles.
--
-- You can filter the results using either bundle ID or owner, but not
-- both.
--
-- This operation returns paginated results.
module Network.AWS.WorkSpaces.DescribeWorkspaceBundles
-- | Creates a value of DescribeWorkspaceBundles with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dwbBundleIds - The IDs of the bundles. This parameter
-- cannot be combined with any other filter.
-- - dwbOwner - The owner of the bundles. This parameter cannot
-- be combined with any other filter. Specify AMAZON to describe
-- the bundles provided by AWS or null to describe the bundles that
-- belong to your account.
-- - dwbNextToken - The token for the next set of results. (You
-- received this token from a previous call.)
--
describeWorkspaceBundles :: DescribeWorkspaceBundles
-- | See: describeWorkspaceBundles smart constructor.
data DescribeWorkspaceBundles
-- | The IDs of the bundles. This parameter cannot be combined with any
-- other filter.
dwbBundleIds :: Lens' DescribeWorkspaceBundles (Maybe (NonEmpty Text))
-- | The owner of the bundles. This parameter cannot be combined with any
-- other filter. Specify AMAZON to describe the bundles provided
-- by AWS or null to describe the bundles that belong to your account.
dwbOwner :: Lens' DescribeWorkspaceBundles (Maybe Text)
-- | The token for the next set of results. (You received this token from a
-- previous call.)
dwbNextToken :: Lens' DescribeWorkspaceBundles (Maybe Text)
-- | Creates a value of DescribeWorkspaceBundlesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dwbrsBundles - Information about the bundles.
-- - dwbrsNextToken - The token to use to retrieve the next set
-- of results, or null if there are no more results available. This token
-- is valid for one day and must be used within that time frame.
-- - dwbrsResponseStatus - -- | The response status code.
--
describeWorkspaceBundlesResponse :: Int -> DescribeWorkspaceBundlesResponse
-- | See: describeWorkspaceBundlesResponse smart constructor.
data DescribeWorkspaceBundlesResponse
-- | Information about the bundles.
dwbrsBundles :: Lens' DescribeWorkspaceBundlesResponse [WorkspaceBundle]
-- | The token to use to retrieve the next set of results, or null if there
-- are no more results available. This token is valid for one day and
-- must be used within that time frame.
dwbrsNextToken :: Lens' DescribeWorkspaceBundlesResponse (Maybe Text)
-- |
-- - - | The response status code.
--
dwbrsResponseStatus :: Lens' DescribeWorkspaceBundlesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundlesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundlesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundlesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundlesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundlesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundlesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.DescribeWorkspaceBundles.DescribeWorkspaceBundles
-- | Describes the specified tags for the specified WorkSpace.
module Network.AWS.WorkSpaces.DescribeTags
-- | Creates a value of DescribeTags with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dtResourceId - The ID of the WorkSpace. To find this ID,
-- use DescribeWorkspaces .
--
describeTags :: Text -> DescribeTags
-- | See: describeTags smart constructor.
data DescribeTags
-- | The ID of the WorkSpace. To find this ID, use
-- DescribeWorkspaces .
dtResourceId :: Lens' DescribeTags Text
-- | Creates a value of DescribeTagsResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describeTagsResponse :: Int -> DescribeTagsResponse
-- | See: describeTagsResponse smart constructor.
data DescribeTagsResponse
-- | The tags.
dtrsTagList :: Lens' DescribeTagsResponse [Tag]
-- |
-- - - | The response status code.
--
dtrsResponseStatus :: Lens' DescribeTagsResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeTags.DescribeTagsResponse
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeTags.DescribeTagsResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeTags.DescribeTagsResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeTags.DescribeTagsResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeTags.DescribeTagsResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeTags.DescribeTagsResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.DescribeTags.DescribeTags
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.DescribeTags.DescribeTags
-- | Describes one or more of your IP access control groups.
module Network.AWS.WorkSpaces.DescribeIPGroups
-- | Creates a value of DescribeIPGroups with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dipgGroupIds - The IDs of one or more IP access control
-- groups.
-- - dipgNextToken - The token for the next set of results. (You
-- received this token from a previous call.)
-- - dipgMaxResults - The maximum number of items to
-- return.
--
describeIPGroups :: DescribeIPGroups
-- | See: describeIPGroups smart constructor.
data DescribeIPGroups
-- | The IDs of one or more IP access control groups.
dipgGroupIds :: Lens' DescribeIPGroups [Text]
-- | The token for the next set of results. (You received this token from a
-- previous call.)
dipgNextToken :: Lens' DescribeIPGroups (Maybe Text)
-- | The maximum number of items to return.
dipgMaxResults :: Lens' DescribeIPGroups (Maybe Natural)
-- | Creates a value of DescribeIPGroupsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - digsrsResult - Information about the IP access control
-- groups.
-- - digsrsNextToken - The token to use to retrieve the next set
-- of results, or null if there are no more results available. This token
-- is valid for one day and must be used within that time frame.
-- - digsrsResponseStatus - -- | The response status code.
--
describeIPGroupsResponse :: Int -> DescribeIPGroupsResponse
-- | See: describeIPGroupsResponse smart constructor.
data DescribeIPGroupsResponse
-- | Information about the IP access control groups.
digsrsResult :: Lens' DescribeIPGroupsResponse [WorkspacesIPGroup]
-- | The token to use to retrieve the next set of results, or null if there
-- are no more results available. This token is valid for one day and
-- must be used within that time frame.
digsrsNextToken :: Lens' DescribeIPGroupsResponse (Maybe Text)
-- |
-- - - | The response status code.
--
digsrsResponseStatus :: Lens' DescribeIPGroupsResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroupsResponse
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroupsResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroupsResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroupsResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroupsResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance Data.Data.Data Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance GHC.Show.Show Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance GHC.Read.Read Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroupsResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.DescribeIPGroups.DescribeIPGroups
-- | Deletes the specified tags from the specified WorkSpace.
module Network.AWS.WorkSpaces.DeleteTags
-- | Creates a value of DeleteTags with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dResourceId - The ID of the WorkSpace. To find this ID, use
-- DescribeWorkspaces .
-- - dTagKeys - The tag keys.
--
deleteTags :: Text -> DeleteTags
-- | See: deleteTags smart constructor.
data DeleteTags
-- | The ID of the WorkSpace. To find this ID, use
-- DescribeWorkspaces .
dResourceId :: Lens' DeleteTags Text
-- | The tag keys.
dTagKeys :: Lens' DeleteTags [Text]
-- | Creates a value of DeleteTagsResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteTagsResponse :: Int -> DeleteTagsResponse
-- | See: deleteTagsResponse smart constructor.
data DeleteTagsResponse
-- |
-- - - | The response status code.
--
drsResponseStatus :: Lens' DeleteTagsResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DeleteTags.DeleteTagsResponse
instance Data.Data.Data Network.AWS.WorkSpaces.DeleteTags.DeleteTagsResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.DeleteTags.DeleteTagsResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.DeleteTags.DeleteTagsResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DeleteTags.DeleteTagsResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance Data.Data.Data Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance GHC.Show.Show Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance GHC.Read.Read Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DeleteTags.DeleteTagsResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.DeleteTags.DeleteTags
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.DeleteTags.DeleteTags
-- | Deletes the specified IP access control group.
--
-- You cannot delete an IP access control group that is associated with a
-- directory.
module Network.AWS.WorkSpaces.DeleteIPGroup
-- | Creates a value of DeleteIPGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - digGroupId - The ID of the IP access control group.
--
deleteIPGroup :: Text -> DeleteIPGroup
-- | See: deleteIPGroup smart constructor.
data DeleteIPGroup
-- | The ID of the IP access control group.
digGroupId :: Lens' DeleteIPGroup Text
-- | Creates a value of DeleteIPGroupResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteIPGroupResponse :: Int -> DeleteIPGroupResponse
-- | See: deleteIPGroupResponse smart constructor.
data DeleteIPGroupResponse
-- |
-- - - | The response status code.
--
dipgrsResponseStatus :: Lens' DeleteIPGroupResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroupResponse
instance Data.Data.Data Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroupResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroupResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroupResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroupResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance Data.Data.Data Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance GHC.Show.Show Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance GHC.Read.Read Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance GHC.Classes.Eq Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroupResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.DeleteIPGroup.DeleteIPGroup
-- | Creates one or more WorkSpaces.
--
-- This operation is asynchronous and returns before the WorkSpaces are
-- created.
module Network.AWS.WorkSpaces.CreateWorkspaces
-- | 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:
--
--
-- - cwWorkspaces - The WorkSpaces to create. You can specify up
-- to 25 WorkSpaces.
--
createWorkspaces :: NonEmpty WorkspaceRequest -> CreateWorkspaces
-- | See: createWorkspaces smart constructor.
data CreateWorkspaces
-- | The WorkSpaces to create. You can specify up to 25 WorkSpaces.
cwWorkspaces :: Lens' CreateWorkspaces (NonEmpty WorkspaceRequest)
-- | 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:
--
--
-- - cwrsFailedRequests - Information about the WorkSpaces that
-- could not be created.
-- - cwrsPendingRequests - Information about the WorkSpaces that
-- were created. Because this operation is asynchronous, the identifier
-- returned is not immediately available for use with other operations.
-- For example, if you call DescribeWorkspaces before the
-- WorkSpace is created, the information returned can be incomplete.
-- - cwrsResponseStatus - -- | The response status code.
--
createWorkspacesResponse :: Int -> CreateWorkspacesResponse
-- | See: createWorkspacesResponse smart constructor.
data CreateWorkspacesResponse
-- | Information about the WorkSpaces that could not be created.
cwrsFailedRequests :: Lens' CreateWorkspacesResponse [FailedCreateWorkspaceRequest]
-- | Information about the WorkSpaces that were created. Because this
-- operation is asynchronous, the identifier returned is not immediately
-- available for use with other operations. For example, if you call
-- DescribeWorkspaces before the WorkSpace is created, the
-- information returned can be incomplete.
cwrsPendingRequests :: Lens' CreateWorkspacesResponse [Workspace]
-- |
-- - - | The response status code.
--
cwrsResponseStatus :: Lens' CreateWorkspacesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspacesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspacesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspacesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspacesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspacesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance Data.Data.Data Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance GHC.Show.Show Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance GHC.Read.Read Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance GHC.Classes.Eq Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspacesResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.CreateWorkspaces.CreateWorkspaces
-- | Creates the specified tags for the specified WorkSpace.
module Network.AWS.WorkSpaces.CreateTags
-- | Creates a value of CreateTags with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ctResourceId - The ID of the WorkSpace. To find this ID,
-- use DescribeWorkspaces .
-- - ctTags - The tags. Each WorkSpace can have a maximum of 50
-- tags.
--
createTags :: Text -> CreateTags
-- | See: createTags smart constructor.
data CreateTags
-- | The ID of the WorkSpace. To find this ID, use
-- DescribeWorkspaces .
ctResourceId :: Lens' CreateTags Text
-- | The tags. Each WorkSpace can have a maximum of 50 tags.
ctTags :: Lens' CreateTags [Tag]
-- | Creates a value of CreateTagsResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createTagsResponse :: Int -> CreateTagsResponse
-- | See: createTagsResponse smart constructor.
data CreateTagsResponse
-- |
-- - - | The response status code.
--
ctrsResponseStatus :: Lens' CreateTagsResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.CreateTags.CreateTagsResponse
instance Data.Data.Data Network.AWS.WorkSpaces.CreateTags.CreateTagsResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.CreateTags.CreateTagsResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.CreateTags.CreateTagsResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.CreateTags.CreateTagsResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.CreateTags.CreateTags
instance Data.Data.Data Network.AWS.WorkSpaces.CreateTags.CreateTags
instance GHC.Show.Show Network.AWS.WorkSpaces.CreateTags.CreateTags
instance GHC.Read.Read Network.AWS.WorkSpaces.CreateTags.CreateTags
instance GHC.Classes.Eq Network.AWS.WorkSpaces.CreateTags.CreateTags
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.CreateTags.CreateTags
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.CreateTags.CreateTagsResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.CreateTags.CreateTags
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.CreateTags.CreateTags
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.CreateTags.CreateTags
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.CreateTags.CreateTags
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.CreateTags.CreateTags
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.CreateTags.CreateTags
-- | Creates an IP access control group.
--
-- An IP access control group provides you with the ability to control
-- the IP addresses from which users are allowed to access their
-- WorkSpaces. To specify the CIDR address ranges, add rules to your IP
-- access control group and then associate the group with your directory.
-- You can add rules when you create the group or at any time using
-- AuthorizeIpRules .
--
-- There is a default IP access control group associated with your
-- directory. If you don't associate an IP access control group with your
-- directory, the default group is used. The default group includes a
-- default rule that allows users to access their WorkSpaces from
-- anywhere. You cannot modify the default IP access control group for
-- your directory.
module Network.AWS.WorkSpaces.CreateIPGroup
-- | Creates a value of CreateIPGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createIPGroup :: Text -> CreateIPGroup
-- | See: createIPGroup smart constructor.
data CreateIPGroup
-- | The description of the group.
cigGroupDesc :: Lens' CreateIPGroup (Maybe Text)
-- | The rules to add to the group.
cigUserRules :: Lens' CreateIPGroup [IPRuleItem]
-- | The name of the group.
cigGroupName :: Lens' CreateIPGroup Text
-- | Creates a value of CreateIPGroupResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createIPGroupResponse :: Int -> CreateIPGroupResponse
-- | See: createIPGroupResponse smart constructor.
data CreateIPGroupResponse
-- | The ID of the group.
cigrsGroupId :: Lens' CreateIPGroupResponse (Maybe Text)
-- |
-- - - | The response status code.
--
cigrsResponseStatus :: Lens' CreateIPGroupResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroupResponse
instance Data.Data.Data Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroupResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroupResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroupResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroupResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance Data.Data.Data Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance GHC.Show.Show Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance GHC.Read.Read Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance GHC.Classes.Eq Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroupResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.CreateIPGroup.CreateIPGroup
-- | Adds one or more rules to the specified IP access control group.
--
-- This action gives users permission to access their WorkSpaces from the
-- CIDR address ranges specified in the rules.
module Network.AWS.WorkSpaces.AuthorizeIPRules
-- | Creates a value of AuthorizeIPRules with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
authorizeIPRules :: Text -> AuthorizeIPRules
-- | See: authorizeIPRules smart constructor.
data AuthorizeIPRules
-- | The ID of the group.
airGroupId :: Lens' AuthorizeIPRules Text
-- | The rules to add to the group.
airUserRules :: Lens' AuthorizeIPRules [IPRuleItem]
-- | Creates a value of AuthorizeIPRulesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
authorizeIPRulesResponse :: Int -> AuthorizeIPRulesResponse
-- | See: authorizeIPRulesResponse smart constructor.
data AuthorizeIPRulesResponse
-- |
-- - - | The response status code.
--
airrsResponseStatus :: Lens' AuthorizeIPRulesResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRulesResponse
instance Data.Data.Data Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRulesResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRulesResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRulesResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRulesResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance Data.Data.Data Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance GHC.Show.Show Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance GHC.Read.Read Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance GHC.Classes.Eq Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRulesResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.AuthorizeIPRules.AuthorizeIPRules
-- | Associates the specified IP access control group with the specified
-- directory.
module Network.AWS.WorkSpaces.AssociateIPGroups
-- | Creates a value of AssociateIPGroups with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
associateIPGroups :: Text -> AssociateIPGroups
-- | See: associateIPGroups smart constructor.
data AssociateIPGroups
-- | The ID of the directory.
aigDirectoryId :: Lens' AssociateIPGroups Text
-- | The IDs of one or more IP access control groups.
aigGroupIds :: Lens' AssociateIPGroups [Text]
-- | Creates a value of AssociateIPGroupsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
associateIPGroupsResponse :: Int -> AssociateIPGroupsResponse
-- | See: associateIPGroupsResponse smart constructor.
data AssociateIPGroupsResponse
-- |
-- - - | The response status code.
--
aigrsResponseStatus :: Lens' AssociateIPGroupsResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroupsResponse
instance Data.Data.Data Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroupsResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroupsResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroupsResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroupsResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance Data.Data.Data Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance GHC.Show.Show Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance GHC.Read.Read Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance GHC.Classes.Eq Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroupsResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.AssociateIPGroups.AssociateIPGroups
-- | Replaces the current rules of the specified IP access control group
-- with the specified rules.
module Network.AWS.WorkSpaces.UpdateRulesOfIPGroup
-- | Creates a value of UpdateRulesOfIPGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateRulesOfIPGroup :: Text -> UpdateRulesOfIPGroup
-- | See: updateRulesOfIPGroup smart constructor.
data UpdateRulesOfIPGroup
-- | The ID of the group.
uroigGroupId :: Lens' UpdateRulesOfIPGroup Text
-- | One or more rules.
uroigUserRules :: Lens' UpdateRulesOfIPGroup [IPRuleItem]
-- | Creates a value of UpdateRulesOfIPGroupResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateRulesOfIPGroupResponse :: Int -> UpdateRulesOfIPGroupResponse
-- | See: updateRulesOfIPGroupResponse smart constructor.
data UpdateRulesOfIPGroupResponse
-- |
-- - - | The response status code.
--
uroigrsResponseStatus :: Lens' UpdateRulesOfIPGroupResponse Int
instance GHC.Generics.Generic Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroupResponse
instance Data.Data.Data Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroupResponse
instance GHC.Show.Show Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroupResponse
instance GHC.Read.Read Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroupResponse
instance GHC.Classes.Eq Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroupResponse
instance GHC.Generics.Generic Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance Data.Data.Data Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance GHC.Show.Show Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance GHC.Read.Read Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance GHC.Classes.Eq Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance Network.AWS.Types.AWSRequest Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroupResponse
instance Data.Hashable.Class.Hashable Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance Control.DeepSeq.NFData Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance Network.AWS.Data.Path.ToPath Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
instance Network.AWS.Data.Query.ToQuery Network.AWS.WorkSpaces.UpdateRulesOfIPGroup.UpdateRulesOfIPGroup
module Network.AWS.WorkSpaces.Waiters
-- | Amazon WorkSpaces Service
--
-- Amazon WorkSpaces enables you to provision virtual, cloud-based
-- Microsoft Windows desktops for your users.
module Network.AWS.WorkSpaces
-- | API version 2015-04-08 of the Amazon WorkSpaces SDK
-- configuration.
workSpaces :: Service
-- | The user is not authorized to access a resource.
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The resource could not be created.
_ResourceCreationFailedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified resource is not available.
_ResourceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more parameter values are not valid.
_InvalidParameterValuesException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The resource is associated with a directory.
_ResourceAssociatedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The properties of this WorkSpace are currently being modified. Try
-- again in a moment.
_OperationInProgressException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified resource already exists.
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Your resource limits have been exceeded.
_ResourceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The state of the resource is not valid for this operation.
_InvalidResourceStateException :: AsError a => Getting (First ServiceError) a ServiceError
-- | This operation is not supported.
_OperationNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The configuration of this WorkSpace is not supported for this
-- operation. For more information, see the Amazon WorkSpaces
-- Administration Guide .
_UnsupportedWorkspaceConfigurationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The resource could not be found.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
data Compute
Graphics :: Compute
Performance :: Compute
Power :: Compute
Standard :: Compute
Value :: Compute
data ConnectionState
Connected :: ConnectionState
Disconnected :: ConnectionState
Unknown :: ConnectionState
data ModificationResourceEnum
ComputeType :: ModificationResourceEnum
RootVolume :: ModificationResourceEnum
UserVolume :: ModificationResourceEnum
data ModificationStateEnum
UpdateInProgress :: ModificationStateEnum
UpdateInitiated :: ModificationStateEnum
data RunningMode
AlwaysOn :: RunningMode
AutoStop :: RunningMode
data TargetWorkspaceState
AdminMaintenance :: TargetWorkspaceState
Available :: TargetWorkspaceState
data WorkspaceDirectoryState
Deregistered :: WorkspaceDirectoryState
Deregistering :: WorkspaceDirectoryState
Error' :: WorkspaceDirectoryState
Registered :: WorkspaceDirectoryState
Registering :: WorkspaceDirectoryState
data WorkspaceDirectoryType
AdConnector :: WorkspaceDirectoryType
SimpleAd :: WorkspaceDirectoryType
data WorkspaceState
WSAdminMaintenance :: WorkspaceState
WSAvailable :: WorkspaceState
WSError' :: WorkspaceState
WSImpaired :: WorkspaceState
WSMaintenance :: WorkspaceState
WSPending :: WorkspaceState
WSRebooting :: WorkspaceState
WSRebuilding :: WorkspaceState
WSStarting :: WorkspaceState
WSStopped :: WorkspaceState
WSStopping :: WorkspaceState
WSSuspended :: WorkspaceState
WSTerminated :: WorkspaceState
WSTerminating :: WorkspaceState
WSUnhealthy :: WorkspaceState
WSUpdating :: WorkspaceState
-- | Information about the compute type.
--
-- See: computeType smart constructor.
data ComputeType
-- | 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 - The compute type.
--
computeType :: ComputeType
-- | The compute type.
ctName :: Lens' ComputeType (Maybe Compute)
-- | Information about defaults used to create a WorkSpace.
--
-- See: defaultWorkspaceCreationProperties smart
-- constructor.
data DefaultWorkspaceCreationProperties
-- | 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:
--
--
defaultWorkspaceCreationProperties :: DefaultWorkspaceCreationProperties
-- | The identifier of any security groups to apply to WorkSpaces when they
-- are created.
dwcpCustomSecurityGroupId :: Lens' DefaultWorkspaceCreationProperties (Maybe Text)
-- | Indicates whether the WorkSpace user is an administrator on the
-- WorkSpace.
dwcpUserEnabledAsLocalAdministrator :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
-- | Indicates whether the directory is enabled for Amazon WorkDocs.
dwcpEnableWorkDocs :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
-- | The public IP address to attach to all WorkSpaces that are created or
-- rebuilt.
dwcpEnableInternetAccess :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool)
-- | The organizational unit (OU) in the directory for the WorkSpace
-- machine accounts.
dwcpDefaultOu :: Lens' DefaultWorkspaceCreationProperties (Maybe Text)
-- | Information about a WorkSpace that could not be created.
--
-- See: failedCreateWorkspaceRequest smart constructor.
data FailedCreateWorkspaceRequest
-- | 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:
--
--
failedCreateWorkspaceRequest :: FailedCreateWorkspaceRequest
-- | Information about the WorkSpace.
fcwrWorkspaceRequest :: Lens' FailedCreateWorkspaceRequest (Maybe WorkspaceRequest)
-- | The error code.
fcwrErrorCode :: Lens' FailedCreateWorkspaceRequest (Maybe Text)
-- | The textual error message.
fcwrErrorMessage :: Lens' FailedCreateWorkspaceRequest (Maybe Text)
-- | Information about a WorkSpace that could not be rebooted
-- (RebootWorkspaces ), rebuilt (RebuildWorkspaces ),
-- terminated (TerminateWorkspaces ), started
-- (StartWorkspaces ), or stopped (StopWorkspaces ).
--
-- See: failedWorkspaceChangeRequest smart constructor.
data FailedWorkspaceChangeRequest
-- | 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:
--
--
failedWorkspaceChangeRequest :: FailedWorkspaceChangeRequest
-- | The error code.
fwcrErrorCode :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
-- | The identifier of the WorkSpace.
fwcrWorkspaceId :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
-- | The textual error message.
fwcrErrorMessage :: Lens' FailedWorkspaceChangeRequest (Maybe Text)
-- | Information about a rule for an IP access control group.
--
-- See: ipRuleItem smart constructor.
data IPRuleItem
-- | Creates a value of IPRuleItem with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
ipRuleItem :: IPRuleItem
-- | The description.
iriRuleDesc :: Lens' IPRuleItem (Maybe Text)
-- | The IP address range, in CIDR notation.
iriIpRule :: Lens' IPRuleItem (Maybe Text)
-- | Information about a WorkSpace modification.
--
-- See: modificationState smart constructor.
data ModificationState
-- | Creates a value of ModificationState with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
modificationState :: ModificationState
-- | The modification state.
msState :: Lens' ModificationState (Maybe ModificationStateEnum)
-- | The resource.
msResource :: Lens' ModificationState (Maybe ModificationResourceEnum)
-- | Information used to reboot a WorkSpace.
--
-- See: rebootRequest smart constructor.
data RebootRequest
-- | 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:
--
--
rebootRequest :: Text -> RebootRequest
-- | The ID of the WorkSpace.
rWorkspaceId :: Lens' RebootRequest Text
-- | Information used to rebuild a WorkSpace.
--
-- See: rebuildRequest smart constructor.
data RebuildRequest
-- | 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:
--
--
rebuildRequest :: Text -> RebuildRequest
-- | The ID of the WorkSpace.
rrWorkspaceId :: Lens' RebuildRequest Text
-- | Information about the root volume for a WorkSpace bundle.
--
-- See: rootStorage smart constructor.
data RootStorage
-- | Creates a value of RootStorage with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
rootStorage :: RootStorage
-- | The size of the root volume.
rsCapacity :: Lens' RootStorage (Maybe Text)
-- | Information used to start a WorkSpace.
--
-- See: startRequest smart constructor.
data StartRequest
-- | 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:
--
--
startRequest :: StartRequest
-- | The ID of the WorkSpace.
sWorkspaceId :: Lens' StartRequest (Maybe Text)
-- | Information used to stop a WorkSpace.
--
-- See: stopRequest smart constructor.
data StopRequest
-- | 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:
--
--
stopRequest :: StopRequest
-- | The ID of the WorkSpace.
srWorkspaceId :: Lens' StopRequest (Maybe Text)
-- | Information about a tag.
--
-- See: tag smart constructor.
data Tag
-- | Creates a value of Tag with the minimum fields required to make
-- a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tagValue - The value of the tag.
-- - tagKey - The key of the tag.
--
tag :: Text -> Tag
-- | The value of the tag.
tagValue :: Lens' Tag (Maybe Text)
-- | The key of the tag.
tagKey :: Lens' Tag Text
-- | Information used to terminate a WorkSpace.
--
-- See: terminateRequest smart constructor.
data TerminateRequest
-- | 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:
--
--
terminateRequest :: Text -> TerminateRequest
-- | The ID of the WorkSpace.
trWorkspaceId :: Lens' TerminateRequest Text
-- | Information about the user storage for a WorkSpace bundle.
--
-- See: userStorage smart constructor.
data UserStorage
-- | 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:
--
--
userStorage :: UserStorage
-- | The size of the user storage.
usCapacity :: Lens' UserStorage (Maybe Text)
-- | Information about a WorkSpace.
--
-- See: workspace smart constructor.
data Workspace
-- | 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 - The identifier of the AWS Directory Service
-- directory for the WorkSpace.
-- - wState - The operational state of the WorkSpace.
-- - wIPAddress - The IP address of the WorkSpace.
-- - wModificationStates - The modification states of the
-- WorkSpace.
-- - wUserName - The user for the WorkSpace.
-- - wSubnetId - The identifier of the subnet for the
-- WorkSpace.
-- - wBundleId - The identifier of the bundle used to create the
-- WorkSpace.
-- - wWorkspaceProperties - The properties of the
-- WorkSpace.
-- - wRootVolumeEncryptionEnabled - Indicates whether the data
-- stored on the root volume is encrypted.
-- - wErrorCode - If the WorkSpace could not be created,
-- contains the error code.
-- - wVolumeEncryptionKey - The KMS key used to encrypt data
-- stored on your WorkSpace.
-- - wComputerName - The name of the WorkSpace, as seen by the
-- operating system.
-- - wWorkspaceId - The identifier of the WorkSpace.
-- - wUserVolumeEncryptionEnabled - Indicates whether the data
-- stored on the user volume is encrypted.
-- - wErrorMessage - If the WorkSpace could not be created,
-- contains a textual error message that describes the failure.
--
workspace :: Workspace
-- | The identifier of the AWS Directory Service directory for the
-- WorkSpace.
wDirectoryId :: Lens' Workspace (Maybe Text)
-- | The operational state of the WorkSpace.
wState :: Lens' Workspace (Maybe WorkspaceState)
-- | The IP address of the WorkSpace.
wIPAddress :: Lens' Workspace (Maybe Text)
-- | The modification states of the WorkSpace.
wModificationStates :: Lens' Workspace [ModificationState]
-- | The user for the WorkSpace.
wUserName :: Lens' Workspace (Maybe Text)
-- | The identifier of the subnet for the WorkSpace.
wSubnetId :: Lens' Workspace (Maybe Text)
-- | The identifier of the bundle used to create the WorkSpace.
wBundleId :: Lens' Workspace (Maybe Text)
-- | The properties of the WorkSpace.
wWorkspaceProperties :: Lens' Workspace (Maybe WorkspaceProperties)
-- | Indicates whether the data stored on the root volume is encrypted.
wRootVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool)
-- | If the WorkSpace could not be created, contains the error code.
wErrorCode :: Lens' Workspace (Maybe Text)
-- | The KMS key used to encrypt data stored on your WorkSpace.
wVolumeEncryptionKey :: Lens' Workspace (Maybe Text)
-- | The name of the WorkSpace, as seen by the operating system.
wComputerName :: Lens' Workspace (Maybe Text)
-- | The identifier of the WorkSpace.
wWorkspaceId :: Lens' Workspace (Maybe Text)
-- | Indicates whether the data stored on the user volume is encrypted.
wUserVolumeEncryptionEnabled :: Lens' Workspace (Maybe Bool)
-- | If the WorkSpace could not be created, contains a textual error
-- message that describes the failure.
wErrorMessage :: Lens' Workspace (Maybe Text)
-- | Information about a WorkSpace bundle.
--
-- See: workspaceBundle smart constructor.
data WorkspaceBundle
-- | 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:
--
--
workspaceBundle :: WorkspaceBundle
-- | The bundle identifier.
wbBundleId :: Lens' WorkspaceBundle (Maybe Text)
-- | The owner of the bundle. This is the account identifier of the owner,
-- or AMAZON if the bundle is provided by AWS.
wbOwner :: Lens' WorkspaceBundle (Maybe Text)
-- | The size of the root volume.
wbRootStorage :: Lens' WorkspaceBundle (Maybe RootStorage)
-- | The name of the bundle.
wbName :: Lens' WorkspaceBundle (Maybe Text)
-- | The compute type. For more information, see Amazon WorkSpaces
-- Bundles .
wbComputeType :: Lens' WorkspaceBundle (Maybe ComputeType)
-- | The size of the user storage.
wbUserStorage :: Lens' WorkspaceBundle (Maybe UserStorage)
-- | A description.
wbDescription :: Lens' WorkspaceBundle (Maybe Text)
-- | Describes the connection status of a WorkSpace.
--
-- See: workspaceConnectionStatus smart constructor.
data WorkspaceConnectionStatus
-- | 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:
--
--
workspaceConnectionStatus :: WorkspaceConnectionStatus
-- | The timestamp of the last known user connection.
wcsLastKnownUserConnectionTimestamp :: Lens' WorkspaceConnectionStatus (Maybe UTCTime)
-- | The timestamp of the connection state check.
wcsConnectionStateCheckTimestamp :: Lens' WorkspaceConnectionStatus (Maybe UTCTime)
-- | The ID of the WorkSpace.
wcsWorkspaceId :: Lens' WorkspaceConnectionStatus (Maybe Text)
-- | The connection state of the WorkSpace. The connection state is unknown
-- if the WorkSpace is stopped.
wcsConnectionState :: Lens' WorkspaceConnectionStatus (Maybe ConnectionState)
-- | Information about an AWS Directory Service directory for use with
-- Amazon WorkSpaces.
--
-- See: workspaceDirectory smart constructor.
data WorkspaceDirectory
-- | 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 - 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 - 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 - The directory identifier.
-- - wdState - The state of the directory's registration with
-- Amazon WorkSpaces
-- - wdCustomerUserName - The user name for the service
-- account.
-- - wdSubnetIds - The identifiers of the subnets used with the
-- directory.
-- - wdIpGroupIds - The identifiers of the IP access control
-- groups associated with the directory.
-- - wdAlias - The directory alias.
-- - wdWorkspaceSecurityGroupId - The identifier of the security
-- group that is assigned to new WorkSpaces.
-- - wdDirectoryType - The directory type.
-- - wdWorkspaceCreationProperties - The default creation
-- properties for all WorkSpaces in the directory.
-- - wdDNSIPAddresses - The IP addresses of the DNS servers for
-- the directory.
-- - wdDirectoryName - The name of the directory.
--
workspaceDirectory :: WorkspaceDirectory
-- | The registration code for the directory. This is the code that users
-- enter in their Amazon WorkSpaces client application to connect to the
-- directory.
wdRegistrationCode :: Lens' WorkspaceDirectory (Maybe Text)
-- | 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.
wdIAMRoleId :: Lens' WorkspaceDirectory (Maybe Text)
-- | The directory identifier.
wdDirectoryId :: Lens' WorkspaceDirectory (Maybe Text)
-- | The state of the directory's registration with Amazon WorkSpaces
wdState :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryState)
-- | The user name for the service account.
wdCustomerUserName :: Lens' WorkspaceDirectory (Maybe Text)
-- | The identifiers of the subnets used with the directory.
wdSubnetIds :: Lens' WorkspaceDirectory [Text]
-- | The identifiers of the IP access control groups associated with the
-- directory.
wdIpGroupIds :: Lens' WorkspaceDirectory [Text]
-- | The directory alias.
wdAlias :: Lens' WorkspaceDirectory (Maybe Text)
-- | The identifier of the security group that is assigned to new
-- WorkSpaces.
wdWorkspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text)
-- | The directory type.
wdDirectoryType :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryType)
-- | The default creation properties for all WorkSpaces in the directory.
wdWorkspaceCreationProperties :: Lens' WorkspaceDirectory (Maybe DefaultWorkspaceCreationProperties)
-- | The IP addresses of the DNS servers for the directory.
wdDNSIPAddresses :: Lens' WorkspaceDirectory [Text]
-- | The name of the directory.
wdDirectoryName :: Lens' WorkspaceDirectory (Maybe Text)
-- | Information about a WorkSpace.
--
-- See: workspaceProperties smart constructor.
data WorkspaceProperties
-- | 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:
--
--
workspaceProperties :: WorkspaceProperties
-- | The compute type. For more information, see Amazon WorkSpaces
-- Bundles .
wpComputeTypeName :: Lens' WorkspaceProperties (Maybe Compute)
-- | The running mode. For more information, see Manage the WorkSpace
-- Running Mode .
wpRunningMode :: Lens' WorkspaceProperties (Maybe RunningMode)
-- | The size of the root volume.
wpRootVolumeSizeGib :: Lens' WorkspaceProperties (Maybe Int)
-- | The time after a user logs off when WorkSpaces are automatically
-- stopped. Configured in 60 minute intervals.
wpRunningModeAutoStopTimeoutInMinutes :: Lens' WorkspaceProperties (Maybe Int)
-- | The size of the user storage.
wpUserVolumeSizeGib :: Lens' WorkspaceProperties (Maybe Int)
-- | Information used to create a WorkSpace.
--
-- See: workspaceRequest smart constructor.
data WorkspaceRequest
-- | 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 - The WorkSpace properties.
-- - wrRootVolumeEncryptionEnabled - Indicates whether the data
-- stored on the root volume is encrypted.
-- - wrVolumeEncryptionKey - The KMS key used to encrypt data
-- stored on your WorkSpace.
-- - wrUserVolumeEncryptionEnabled - Indicates whether the data
-- stored on the user volume is encrypted.
-- - wrTags - The tags for the WorkSpace.
-- - wrDirectoryId - The identifier of the AWS Directory Service
-- directory for the WorkSpace. You can use
-- DescribeWorkspaceDirectories to list the available
-- directories.
-- - wrUserName - The username of the user for the WorkSpace.
-- This username must exist in the AWS Directory Service directory for
-- the WorkSpace.
-- - wrBundleId - The identifier of the bundle for the
-- WorkSpace. You can use DescribeWorkspaceBundles to list the
-- available bundles.
--
workspaceRequest :: Text -> Text -> Text -> WorkspaceRequest
-- | The WorkSpace properties.
wrWorkspaceProperties :: Lens' WorkspaceRequest (Maybe WorkspaceProperties)
-- | Indicates whether the data stored on the root volume is encrypted.
wrRootVolumeEncryptionEnabled :: Lens' WorkspaceRequest (Maybe Bool)
-- | The KMS key used to encrypt data stored on your WorkSpace.
wrVolumeEncryptionKey :: Lens' WorkspaceRequest (Maybe Text)
-- | Indicates whether the data stored on the user volume is encrypted.
wrUserVolumeEncryptionEnabled :: Lens' WorkspaceRequest (Maybe Bool)
-- | The tags for the WorkSpace.
wrTags :: Lens' WorkspaceRequest [Tag]
-- | The identifier of the AWS Directory Service directory for the
-- WorkSpace. You can use DescribeWorkspaceDirectories to list
-- the available directories.
wrDirectoryId :: Lens' WorkspaceRequest Text
-- | The username of the user for the WorkSpace. This username must exist
-- in the AWS Directory Service directory for the WorkSpace.
wrUserName :: Lens' WorkspaceRequest Text
-- | The identifier of the bundle for the WorkSpace. You can use
-- DescribeWorkspaceBundles to list the available bundles.
wrBundleId :: Lens' WorkspaceRequest Text
-- | Information about an IP access control group.
--
-- See: workspacesIPGroup smart constructor.
data WorkspacesIPGroup
-- | Creates a value of WorkspacesIPGroup with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
workspacesIPGroup :: WorkspacesIPGroup
-- | The description of the group.
wigGroupDesc :: Lens' WorkspacesIPGroup (Maybe Text)
-- | The rules.
wigUserRules :: Lens' WorkspacesIPGroup [IPRuleItem]
-- | The ID of the group.
wigGroupId :: Lens' WorkspacesIPGroup (Maybe Text)
-- | The name of the group.
wigGroupName :: Lens' WorkspacesIPGroup (Maybe Text)