-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon WorkSpaces SDK. -- @package amazonka-workspaces @version 0.3.5 module Network.AWS.WorkSpaces.Types -- | Version 2015-04-08 of the Amazon WorkSpaces service. data WorkSpaces data JSONError :: * data WorkspaceRequest -- | WorkspaceRequest constructor. -- -- The fields accessible through corresponding lenses are: -- -- workspaceRequest :: Text -> Text -> Text -> WorkspaceRequest -- | The identifier of the bundle to create the WorkSpace from. You can use -- the DescribeWorkspaceBundles operation to obtain a list of -- the bundles that are available. wBundleId :: Lens' WorkspaceRequest Text -- | The identifier of the AWS Directory Service directory to create the -- WorkSpace in. You can use the DescribeWorkspaceDirectories -- operation to obtain a list of the directories that are available. wDirectoryId :: Lens' WorkspaceRequest Text -- | The username that the WorkSpace is assigned to. This username must -- exist in the AWS Directory Service directory specified by the -- DirectoryId member. wUserName :: Lens' WorkspaceRequest Text data WorkspaceDirectory -- | WorkspaceDirectory constructor. -- -- The fields accessible through corresponding lenses are: -- -- workspaceDirectory :: WorkspaceDirectory -- | The directory alias. wdAlias :: Lens' WorkspaceDirectory (Maybe Text) -- | The user name for the service account. wdCustomerUserName :: Lens' WorkspaceDirectory (Maybe Text) -- | The directory identifier. wdDirectoryId :: Lens' WorkspaceDirectory (Maybe Text) -- | The name of the directory. wdDirectoryName :: Lens' WorkspaceDirectory (Maybe Text) -- | The directory type. wdDirectoryType :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryType) -- | An array of strings that contains the IP addresses of the DNS servers -- for the directory. wdDnsIpAddresses :: Lens' WorkspaceDirectory [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 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 state of the directory's registration with Amazon WorkSpaces wdState :: Lens' WorkspaceDirectory (Maybe WorkspaceDirectoryState) -- | An array of strings that contains the identifiers of the subnets used -- with the directory. wdSubnetIds :: Lens' WorkspaceDirectory [Text] -- | A structure that specifies the default creation properties for all -- WorkSpaces in the directory. wdWorkspaceCreationProperties :: Lens' WorkspaceDirectory (Maybe DefaultWorkspaceCreationProperties) -- | The identifier of the security group that is assigned to new -- WorkSpaces. wdWorkspaceSecurityGroupId :: Lens' WorkspaceDirectory (Maybe Text) data Compute -- | PERFORMANCE Performance :: Compute -- | STANDARD Standard :: Compute -- | VALUE Value :: Compute data Workspace -- | Workspace constructor. -- -- The fields accessible through corresponding lenses are: -- -- workspace :: Workspace -- | The identifier of the bundle that the WorkSpace was created from. w1BundleId :: Lens' Workspace (Maybe Text) -- | The identifier of the AWS Directory Service directory that the -- WorkSpace belongs to. w1DirectoryId :: Lens' Workspace (Maybe Text) -- | If the WorkSpace could not be created, this contains the error code. w1ErrorCode :: Lens' Workspace (Maybe Text) -- | If the WorkSpace could not be created, this contains a textual error -- message that describes the failure. w1ErrorMessage :: Lens' Workspace (Maybe Text) -- | The IP address of the WorkSpace. w1IpAddress :: Lens' Workspace (Maybe Text) -- | The operational state of the WorkSpace. w1State :: Lens' Workspace (Maybe WorkspaceState) -- | The identifier of the subnet that the WorkSpace is in. w1SubnetId :: Lens' Workspace (Maybe Text) -- | The user that the WorkSpace is assigned to. w1UserName :: Lens' Workspace (Maybe Text) -- | The identifier of the WorkSpace. w1WorkspaceId :: Lens' Workspace (Maybe Text) data RebuildRequest -- | RebuildRequest constructor. -- -- The fields accessible through corresponding lenses are: -- -- rebuildRequest :: Text -> RebuildRequest -- | The identifier of the WorkSpace to rebuild. rWorkspaceId :: Lens' RebuildRequest Text data FailedCreateWorkspaceRequest -- | FailedCreateWorkspaceRequest constructor. -- -- The fields accessible through corresponding lenses are: -- -- failedCreateWorkspaceRequest :: FailedCreateWorkspaceRequest -- | The error code. fcwErrorCode :: Lens' FailedCreateWorkspaceRequest (Maybe Text) -- | The textual error message. fcwErrorMessage :: Lens' FailedCreateWorkspaceRequest (Maybe Text) -- | A WorkspaceRequest object that contains the information about -- the WorkSpace that could not be created. fcwWorkspaceRequest :: Lens' FailedCreateWorkspaceRequest (Maybe WorkspaceRequest) data WorkspaceDirectoryState -- | DEREGISTERED Deregistered :: WorkspaceDirectoryState -- | DEREGISTERING Deregistering :: WorkspaceDirectoryState -- | ERROR Error :: WorkspaceDirectoryState -- | REGISTERED Registered :: WorkspaceDirectoryState -- | REGISTERING Registering :: WorkspaceDirectoryState data FailedWorkspaceChangeRequest -- | FailedWorkspaceChangeRequest constructor. -- -- The fields accessible through corresponding lenses are: -- -- failedWorkspaceChangeRequest :: FailedWorkspaceChangeRequest -- | The error code. fwcErrorCode :: Lens' FailedWorkspaceChangeRequest (Maybe Text) -- | The textual error message. fwcErrorMessage :: Lens' FailedWorkspaceChangeRequest (Maybe Text) -- | The identifier of the WorkSpace. fwcWorkspaceId :: Lens' FailedWorkspaceChangeRequest (Maybe Text) data WorkspaceDirectoryType -- | AD_CONNECTOR AdConnector :: WorkspaceDirectoryType -- | SIMPLE_AD SimpleAd :: WorkspaceDirectoryType data WorkspaceState -- | AVAILABLE WSAvailable :: WorkspaceState -- | ERROR WSError :: WorkspaceState -- | IMPAIRED WSImpaired :: WorkspaceState -- | PENDING WSPending :: WorkspaceState -- | REBOOTING WSRebooting :: WorkspaceState -- | REBUILDING WSRebuilding :: WorkspaceState -- | SUSPENDED WSSuspended :: WorkspaceState -- | TERMINATED WSTerminated :: WorkspaceState -- | TERMINATING WSTerminating :: WorkspaceState -- | UNHEALTHY WSUnhealthy :: WorkspaceState data ComputeType -- | ComputeType constructor. -- -- The fields accessible through corresponding lenses are: -- -- computeType :: ComputeType -- | The name of the compute type for the bundle. ctName :: Lens' ComputeType (Maybe Compute) data RebootRequest -- | RebootRequest constructor. -- -- The fields accessible through corresponding lenses are: -- -- rebootRequest :: Text -> RebootRequest -- | The identifier of the WorkSpace to reboot. r1WorkspaceId :: Lens' RebootRequest Text data UserStorage -- | UserStorage constructor. -- -- The fields accessible through corresponding lenses are: -- -- userStorage :: UserStorage -- | The amount of user storage for the bundle. usCapacity :: Lens' UserStorage (Maybe Text) data TerminateRequest -- | TerminateRequest constructor. -- -- The fields accessible through corresponding lenses are: -- -- terminateRequest :: Text -> TerminateRequest -- | The identifier of the WorkSpace to terminate. tWorkspaceId :: Lens' TerminateRequest Text data DefaultWorkspaceCreationProperties -- | DefaultWorkspaceCreationProperties constructor. -- -- The fields accessible through corresponding lenses are: -- -- defaultWorkspaceCreationProperties :: DefaultWorkspaceCreationProperties -- | The identifier of any custom security groups that are applied to the -- WorkSpaces when they are created. dwcpCustomSecurityGroupId :: Lens' DefaultWorkspaceCreationProperties (Maybe Text) -- | The organizational unit (OU) in the directory that the WorkSpace -- machine accounts are placed in. dwcpDefaultOu :: Lens' DefaultWorkspaceCreationProperties (Maybe Text) -- | A public IP address will be attached to all WorkSpaces that are -- created or rebuilt. dwcpEnableInternetAccess :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool) -- | Specifies if the directory is enabled for Amazon WorkDocs. dwcpEnableWorkDocs :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool) -- | The WorkSpace user is an administrator on the WorkSpace. dwcpUserEnabledAsLocalAdministrator :: Lens' DefaultWorkspaceCreationProperties (Maybe Bool) data WorkspaceBundle -- | WorkspaceBundle constructor. -- -- The fields accessible through corresponding lenses are: -- -- workspaceBundle :: WorkspaceBundle -- | The bundle identifier. wbBundleId :: Lens' WorkspaceBundle (Maybe Text) -- | A ComputeType object that specifies the compute type for the -- bundle. wbComputeType :: Lens' WorkspaceBundle (Maybe ComputeType) -- | The bundle description. wbDescription :: Lens' WorkspaceBundle (Maybe Text) -- | The name of the bundle. wbName :: Lens' WorkspaceBundle (Maybe Text) -- | The owner of the bundle. This contains the owner's account identifier, -- or AMAZON if the bundle is provided by AWS. wbOwner :: Lens' WorkspaceBundle (Maybe Text) -- | A UserStorage object that specifies the amount of user storage -- that the bundle contains. wbUserStorage :: Lens' WorkspaceBundle (Maybe UserStorage) instance Eq WorkspaceRequest instance Ord WorkspaceRequest instance Read WorkspaceRequest instance Show WorkspaceRequest instance Eq Compute instance Ord Compute instance Read Compute instance Show Compute instance Generic Compute instance Enum Compute instance Eq RebuildRequest instance Ord RebuildRequest instance Read RebuildRequest instance Show RebuildRequest instance Monoid RebuildRequest instance IsString RebuildRequest instance Eq FailedCreateWorkspaceRequest instance Read FailedCreateWorkspaceRequest instance Show FailedCreateWorkspaceRequest instance Eq WorkspaceDirectoryState instance Ord WorkspaceDirectoryState instance Read WorkspaceDirectoryState instance Show WorkspaceDirectoryState instance Generic WorkspaceDirectoryState instance Enum WorkspaceDirectoryState instance Eq FailedWorkspaceChangeRequest instance Ord FailedWorkspaceChangeRequest instance Read FailedWorkspaceChangeRequest instance Show FailedWorkspaceChangeRequest instance Eq WorkspaceDirectoryType instance Ord WorkspaceDirectoryType instance Read WorkspaceDirectoryType instance Show WorkspaceDirectoryType instance Generic WorkspaceDirectoryType instance Enum WorkspaceDirectoryType instance Eq WorkspaceState instance Ord WorkspaceState instance Read WorkspaceState instance Show WorkspaceState instance Generic WorkspaceState instance Enum WorkspaceState instance Eq Workspace instance Read Workspace instance Show Workspace instance Eq ComputeType instance Read ComputeType instance Show ComputeType instance Eq RebootRequest instance Ord RebootRequest instance Read RebootRequest instance Show RebootRequest instance Monoid RebootRequest instance IsString RebootRequest instance Eq UserStorage instance Ord UserStorage instance Read UserStorage instance Show UserStorage instance Monoid UserStorage instance Eq TerminateRequest instance Ord TerminateRequest instance Read TerminateRequest instance Show TerminateRequest instance Monoid TerminateRequest instance IsString TerminateRequest instance Eq DefaultWorkspaceCreationProperties instance Ord DefaultWorkspaceCreationProperties instance Read DefaultWorkspaceCreationProperties instance Show DefaultWorkspaceCreationProperties instance Eq WorkspaceDirectory instance Read WorkspaceDirectory instance Show WorkspaceDirectory instance Eq WorkspaceBundle instance Read WorkspaceBundle instance Show WorkspaceBundle instance Datatype D1Compute instance Constructor C1_0Compute instance Constructor C1_1Compute instance Constructor C1_2Compute instance Datatype D1WorkspaceDirectoryState instance Constructor C1_0WorkspaceDirectoryState instance Constructor C1_1WorkspaceDirectoryState instance Constructor C1_2WorkspaceDirectoryState instance Constructor C1_3WorkspaceDirectoryState instance Constructor C1_4WorkspaceDirectoryState instance Datatype D1WorkspaceDirectoryType instance Constructor C1_0WorkspaceDirectoryType instance Constructor C1_1WorkspaceDirectoryType instance Datatype D1WorkspaceState instance Constructor C1_0WorkspaceState instance Constructor C1_1WorkspaceState instance Constructor C1_2WorkspaceState instance Constructor C1_3WorkspaceState instance Constructor C1_4WorkspaceState instance Constructor C1_5WorkspaceState instance Constructor C1_6WorkspaceState instance Constructor C1_7WorkspaceState instance Constructor C1_8WorkspaceState instance Constructor C1_9WorkspaceState instance ToJSON WorkspaceBundle instance FromJSON WorkspaceBundle instance ToJSON DefaultWorkspaceCreationProperties instance FromJSON DefaultWorkspaceCreationProperties instance ToJSON TerminateRequest instance FromJSON TerminateRequest instance ToJSON UserStorage instance FromJSON UserStorage instance ToJSON RebootRequest instance FromJSON RebootRequest instance ToJSON ComputeType instance FromJSON ComputeType instance ToJSON WorkspaceState instance FromJSON WorkspaceState instance ToQuery WorkspaceState instance ToHeader WorkspaceState instance ToByteString WorkspaceState instance ToText WorkspaceState instance FromText WorkspaceState instance Hashable WorkspaceState instance ToJSON WorkspaceDirectoryType instance FromJSON WorkspaceDirectoryType instance ToQuery WorkspaceDirectoryType instance ToHeader WorkspaceDirectoryType instance ToByteString WorkspaceDirectoryType instance ToText WorkspaceDirectoryType instance FromText WorkspaceDirectoryType instance Hashable WorkspaceDirectoryType instance ToJSON FailedWorkspaceChangeRequest instance FromJSON FailedWorkspaceChangeRequest instance ToJSON WorkspaceDirectoryState instance FromJSON WorkspaceDirectoryState instance ToQuery WorkspaceDirectoryState instance ToHeader WorkspaceDirectoryState instance ToByteString WorkspaceDirectoryState instance ToText WorkspaceDirectoryState instance FromText WorkspaceDirectoryState instance Hashable WorkspaceDirectoryState instance ToJSON FailedCreateWorkspaceRequest instance FromJSON FailedCreateWorkspaceRequest instance ToJSON RebuildRequest instance FromJSON RebuildRequest instance ToJSON Workspace instance FromJSON Workspace instance ToJSON Compute instance FromJSON Compute instance ToQuery Compute instance ToHeader Compute instance ToByteString Compute instance ToText Compute instance FromText Compute instance Hashable Compute instance ToJSON WorkspaceDirectory instance FromJSON WorkspaceDirectory instance ToJSON WorkspaceRequest instance FromJSON WorkspaceRequest instance AWSService WorkSpaces -- | Terminates the specified WorkSpaces. -- -- Terminating a WorkSpace is a permanent action and cannot be undone. -- The user's data is not maintained and will be 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 will return before the WorkSpaces -- have been completely terminated. -- -- -- http://docs.aws.amazon.com/workspaces/latest/devguide/API_TerminateWorkspaces.html module Network.AWS.WorkSpaces.TerminateWorkspaces data TerminateWorkspaces -- | TerminateWorkspaces constructor. -- -- The fields accessible through corresponding lenses are: -- -- terminateWorkspaces :: NonEmpty TerminateRequest -> TerminateWorkspaces -- | An array of structures that specify the WorkSpaces to terminate. twTerminateWorkspaceRequests :: Lens' TerminateWorkspaces (NonEmpty TerminateRequest) data TerminateWorkspacesResponse -- | TerminateWorkspacesResponse constructor. -- -- The fields accessible through corresponding lenses are: -- -- terminateWorkspacesResponse :: TerminateWorkspacesResponse -- | An array of structures that represent any WorkSpaces that could not be -- terminated. twrFailedRequests :: Lens' TerminateWorkspacesResponse [FailedWorkspaceChangeRequest] instance Eq TerminateWorkspaces instance Read TerminateWorkspaces instance Show TerminateWorkspaces instance Semigroup TerminateWorkspaces instance Eq TerminateWorkspacesResponse instance Read TerminateWorkspacesResponse instance Show TerminateWorkspacesResponse instance Monoid TerminateWorkspacesResponse instance Semigroup TerminateWorkspacesResponse instance FromJSON TerminateWorkspacesResponse instance AWSRequest TerminateWorkspaces instance ToJSON TerminateWorkspaces instance ToHeaders TerminateWorkspaces instance ToQuery TerminateWorkspaces instance ToPath TerminateWorkspaces instance IsList TerminateWorkspacesResponse -- | Rebuilds the specified WorkSpaces. -- -- Rebuilding a WorkSpace is a potentially destructive action that can -- result in the loss of data. Rebuilding a WorkSpace causes the -- following to occur: -- -- The system is restored to the image of the bundle that the WorkSpace -- is created from. Any applications that have been installed, or system -- settings that have been made since the WorkSpace was created will be -- lost. The data drive (D drive) is re-created from the last automatic -- snapshot taken of the data drive. The current contents of the data -- drive are overwritten. Automatic snapshots of the data drive are taken -- every 12 hours, so the snapshot can be as much as 12 hours old. To be -- able to rebuild a WorkSpace, the WorkSpace must have a State of -- AVAILABLE or ERROR. -- -- This operation is asynchronous and will return before the WorkSpaces -- have been completely rebuilt. -- -- -- http://docs.aws.amazon.com/workspaces/latest/devguide/API_RebuildWorkspaces.html module Network.AWS.WorkSpaces.RebuildWorkspaces data RebuildWorkspaces -- | RebuildWorkspaces constructor. -- -- The fields accessible through corresponding lenses are: -- -- rebuildWorkspaces :: NonEmpty RebuildRequest -> RebuildWorkspaces -- | An array of structures that specify the WorkSpaces to rebuild. rwRebuildWorkspaceRequests :: Lens' RebuildWorkspaces (NonEmpty RebuildRequest) data RebuildWorkspacesResponse -- | RebuildWorkspacesResponse constructor. -- -- The fields accessible through corresponding lenses are: -- -- rebuildWorkspacesResponse :: RebuildWorkspacesResponse -- | An array of structures that represent any WorkSpaces that could not be -- rebuilt. rwrFailedRequests :: Lens' RebuildWorkspacesResponse [FailedWorkspaceChangeRequest] instance Eq RebuildWorkspaces instance Read RebuildWorkspaces instance Show RebuildWorkspaces instance Semigroup RebuildWorkspaces instance Eq RebuildWorkspacesResponse instance Read RebuildWorkspacesResponse instance Show RebuildWorkspacesResponse instance Monoid RebuildWorkspacesResponse instance Semigroup RebuildWorkspacesResponse instance FromJSON RebuildWorkspacesResponse instance AWSRequest RebuildWorkspaces instance ToJSON RebuildWorkspaces instance ToHeaders RebuildWorkspaces instance ToQuery RebuildWorkspaces instance ToPath RebuildWorkspaces instance IsList RebuildWorkspacesResponse -- | Reboots the specified WorkSpaces. -- -- To be able to reboot a WorkSpace, the WorkSpace must have a State of -- AVAILABLE, IMPAIRED, or INOPERABLE. -- -- This operation is asynchronous and will return before the WorkSpaces -- have rebooted. -- -- -- http://docs.aws.amazon.com/workspaces/latest/devguide/API_RebootWorkspaces.html module Network.AWS.WorkSpaces.RebootWorkspaces data RebootWorkspaces -- | RebootWorkspaces constructor. -- -- The fields accessible through corresponding lenses are: -- -- rebootWorkspaces :: NonEmpty RebootRequest -> RebootWorkspaces -- | An array of structures that specify the WorkSpaces to reboot. rwRebootWorkspaceRequests :: Lens' RebootWorkspaces (NonEmpty RebootRequest) data RebootWorkspacesResponse -- | RebootWorkspacesResponse constructor. -- -- The fields accessible through corresponding lenses are: -- -- rebootWorkspacesResponse :: RebootWorkspacesResponse -- | An array of structures that represent any WorkSpaces that could not be -- rebooted. rwr1FailedRequests :: Lens' RebootWorkspacesResponse [FailedWorkspaceChangeRequest] instance Eq RebootWorkspaces instance Read RebootWorkspaces instance Show RebootWorkspaces instance Semigroup RebootWorkspaces instance Eq RebootWorkspacesResponse instance Read RebootWorkspacesResponse instance Show RebootWorkspacesResponse instance Monoid RebootWorkspacesResponse instance Semigroup RebootWorkspacesResponse instance FromJSON RebootWorkspacesResponse instance AWSRequest RebootWorkspaces instance ToJSON RebootWorkspaces instance ToHeaders RebootWorkspaces instance ToQuery RebootWorkspaces instance ToPath RebootWorkspaces instance IsList RebootWorkspacesResponse -- | Obtains information about the specified WorkSpaces. -- -- Only one of the filter parameters, such as BundleId, -- DirectoryId, or WorkspaceIds, can be specified at a -- time. -- -- This operation supports pagination with the use of the -- NextToken request and response parameters. If more results -- are available, the NextToken response member contains a token -- that you pass in the next call to this operation to retrieve the next -- set of items. -- -- -- http://docs.aws.amazon.com/workspaces/latest/devguide/API_DescribeWorkspaces.html module Network.AWS.WorkSpaces.DescribeWorkspaces data DescribeWorkspaces -- | DescribeWorkspaces constructor. -- -- The fields accessible through corresponding lenses are: -- -- describeWorkspaces :: NonEmpty Text -> DescribeWorkspaces -- | The identifier of a bundle to obtain the WorkSpaces for. All -- WorkSpaces that are created from this bundle will be retrieved. This -- parameter cannot be combined with any other filter parameter. dwBundleId :: Lens' DescribeWorkspaces (Maybe Text) -- | Specifies the directory identifier to which to limit the WorkSpaces. -- Optionally, you can specify a specific directory user with the -- UserName parameter. This parameter cannot be combined with -- any other filter parameter. dwDirectoryId :: Lens' DescribeWorkspaces (Maybe Text) -- | The maximum number of items to return. dwLimit :: Lens' DescribeWorkspaces (Maybe Natural) -- | The NextToken value from a previous call to this operation. -- Pass null if this is the first call. dwNextToken :: Lens' DescribeWorkspaces (Maybe Text) -- | Used with the DirectoryId parameter to specify the directory -- user for which to obtain the WorkSpace. dwUserName :: Lens' DescribeWorkspaces (Maybe Text) -- | An array of strings that contain the identifiers of the WorkSpaces for -- which to retrieve information. This parameter cannot be combined with -- any other filter parameter. -- -- Because the CreateWorkspaces operation is asynchronous, the -- identifier returned by CreateWorkspaces is not immediately -- available. If you immediately call DescribeWorkspaces with this -- identifier, no information will be returned. dwWorkspaceIds :: Lens' DescribeWorkspaces (NonEmpty Text) data DescribeWorkspacesResponse -- | DescribeWorkspacesResponse constructor. -- -- The fields accessible through corresponding lenses are: -- -- describeWorkspacesResponse :: DescribeWorkspacesResponse -- | If not null, more results are available. Pass this value for the -- NextToken parameter in a subsequent call to this operation to -- retrieve the next set of items. This token is valid for one day and -- must be used within that timeframe. dwrNextToken :: Lens' DescribeWorkspacesResponse (Maybe Text) -- | An array of structures that contain the information about the -- WorkSpaces. -- -- Because the CreateWorkspaces operation is asynchronous, some -- of this information may be incomplete for a newly-created WorkSpace. dwrWorkspaces :: Lens' DescribeWorkspacesResponse [Workspace] instance Eq DescribeWorkspaces instance Ord DescribeWorkspaces instance Read DescribeWorkspaces instance Show DescribeWorkspaces instance Eq DescribeWorkspacesResponse instance Read DescribeWorkspacesResponse instance Show DescribeWorkspacesResponse instance FromJSON DescribeWorkspacesResponse instance AWSRequest DescribeWorkspaces instance ToJSON DescribeWorkspaces instance ToHeaders DescribeWorkspaces instance ToQuery DescribeWorkspaces instance ToPath DescribeWorkspaces -- | Retrieves information about the AWS Directory Service directories in -- the region that are registered with Amazon WorkSpaces and are -- available to your account. -- -- This operation supports pagination with the use of the -- NextToken request and response parameters. If more results -- are available, the NextToken response member contains a token -- that you pass in the next call to this operation to retrieve the next -- set of items. -- -- -- http://docs.aws.amazon.com/workspaces/latest/devguide/API_DescribeWorkspaceDirectories.html module Network.AWS.WorkSpaces.DescribeWorkspaceDirectories data DescribeWorkspaceDirectories -- | DescribeWorkspaceDirectories constructor. -- -- The fields accessible through corresponding lenses are: -- -- describeWorkspaceDirectories :: NonEmpty Text -> DescribeWorkspaceDirectories -- | An array of strings that contains the directory identifiers to -- retrieve information for. If this member is null, all directories are -- retrieved. dwdDirectoryIds :: Lens' DescribeWorkspaceDirectories (NonEmpty Text) -- | The NextToken value from a previous call to this operation. -- Pass null if this is the first call. dwdNextToken :: Lens' DescribeWorkspaceDirectories (Maybe Text) data DescribeWorkspaceDirectoriesResponse -- | DescribeWorkspaceDirectoriesResponse constructor. -- -- The fields accessible through corresponding lenses are: -- -- describeWorkspaceDirectoriesResponse :: DescribeWorkspaceDirectoriesResponse -- | An array of structures that contain information about the directories. dwdrDirectories :: Lens' DescribeWorkspaceDirectoriesResponse [WorkspaceDirectory] -- | If not null, more results are available. Pass this value for the -- NextToken parameter in a subsequent call to this operation to -- retrieve the next set of items. This token is valid for one day and -- must be used within that timeframe. dwdrNextToken :: Lens' DescribeWorkspaceDirectoriesResponse (Maybe Text) instance Eq DescribeWorkspaceDirectories instance Ord DescribeWorkspaceDirectories instance Read DescribeWorkspaceDirectories instance Show DescribeWorkspaceDirectories instance Eq DescribeWorkspaceDirectoriesResponse instance Read DescribeWorkspaceDirectoriesResponse instance Show DescribeWorkspaceDirectoriesResponse instance FromJSON DescribeWorkspaceDirectoriesResponse instance AWSRequest DescribeWorkspaceDirectories instance ToJSON DescribeWorkspaceDirectories instance ToHeaders DescribeWorkspaceDirectories instance ToQuery DescribeWorkspaceDirectories instance ToPath DescribeWorkspaceDirectories -- | Obtains information about the WorkSpace bundles that are available to -- your account in the specified region. -- -- You can filter the results with either the BundleIds -- parameter, or the Owner parameter, but not both. -- -- This operation supports pagination with the use of the -- NextToken request and response parameters. If more results -- are available, the NextToken response member contains a token -- that you pass in the next call to this operation to retrieve the next -- set of items. -- -- -- http://docs.aws.amazon.com/workspaces/latest/devguide/API_DescribeWorkspaceBundles.html module Network.AWS.WorkSpaces.DescribeWorkspaceBundles data DescribeWorkspaceBundles -- | DescribeWorkspaceBundles constructor. -- -- The fields accessible through corresponding lenses are: -- -- describeWorkspaceBundles :: NonEmpty Text -> DescribeWorkspaceBundles -- | An array of strings that contains the identifiers of the bundles to -- retrieve. This parameter cannot be combined with any other filter -- parameter. dwbBundleIds :: Lens' DescribeWorkspaceBundles (NonEmpty Text) -- | The NextToken value from a previous call to this operation. -- Pass null if this is the first call. dwbNextToken :: Lens' DescribeWorkspaceBundles (Maybe Text) -- | The owner of the bundles to retrieve. This parameter cannot be -- combined with any other filter parameter. -- -- This contains one of the following values: -- -- null - Retrieves the bundles that belong to the account making the -- call. AMAZON - Retrieves the bundles that are provided by -- AWS. dwbOwner :: Lens' DescribeWorkspaceBundles (Maybe Text) data DescribeWorkspaceBundlesResponse -- | DescribeWorkspaceBundlesResponse constructor. -- -- The fields accessible through corresponding lenses are: -- -- describeWorkspaceBundlesResponse :: DescribeWorkspaceBundlesResponse -- | An array of structures that contain information about the bundles. dwbrBundles :: Lens' DescribeWorkspaceBundlesResponse [WorkspaceBundle] -- | If not null, more results are available. Pass this value for the -- NextToken parameter in a subsequent call to this operation to -- retrieve the next set of items. This token is valid for one day and -- must be used within that timeframe. dwbrNextToken :: Lens' DescribeWorkspaceBundlesResponse (Maybe Text) instance Eq DescribeWorkspaceBundles instance Ord DescribeWorkspaceBundles instance Read DescribeWorkspaceBundles instance Show DescribeWorkspaceBundles instance Eq DescribeWorkspaceBundlesResponse instance Read DescribeWorkspaceBundlesResponse instance Show DescribeWorkspaceBundlesResponse instance FromJSON DescribeWorkspaceBundlesResponse instance AWSRequest DescribeWorkspaceBundles instance ToJSON DescribeWorkspaceBundles instance ToHeaders DescribeWorkspaceBundles instance ToQuery DescribeWorkspaceBundles instance ToPath DescribeWorkspaceBundles -- | Creates one or more WorkSpaces. -- -- This operation is asynchronous and returns before the WorkSpaces are -- created. -- -- -- http://docs.aws.amazon.com/workspaces/latest/devguide/API_CreateWorkspaces.html module Network.AWS.WorkSpaces.CreateWorkspaces data CreateWorkspaces -- | CreateWorkspaces constructor. -- -- The fields accessible through corresponding lenses are: -- -- createWorkspaces :: NonEmpty WorkspaceRequest -> CreateWorkspaces -- | An array of structures that specify the WorkSpaces to create. cwWorkspaces :: Lens' CreateWorkspaces (NonEmpty WorkspaceRequest) data CreateWorkspacesResponse -- | CreateWorkspacesResponse constructor. -- -- The fields accessible through corresponding lenses are: -- -- createWorkspacesResponse :: CreateWorkspacesResponse -- | An array of structures that represent the WorkSpaces that could not be -- created. cwrFailedRequests :: Lens' CreateWorkspacesResponse [FailedCreateWorkspaceRequest] -- | An array of structures that represent the WorkSpaces that were -- created. -- -- Because this operation is asynchronous, the identifier in -- WorkspaceId is not immediately available. If you immediately -- call DescribeWorkspaces with this identifier, no information -- will be returned. cwrPendingRequests :: Lens' CreateWorkspacesResponse [Workspace] instance Eq CreateWorkspaces instance Read CreateWorkspaces instance Show CreateWorkspaces instance Semigroup CreateWorkspaces instance Eq CreateWorkspacesResponse instance Read CreateWorkspacesResponse instance Show CreateWorkspacesResponse instance FromJSON CreateWorkspacesResponse instance AWSRequest CreateWorkspaces instance ToJSON CreateWorkspaces instance ToHeaders CreateWorkspaces instance ToQuery CreateWorkspaces instance ToPath CreateWorkspaces -- | Amazon WorkSpaces offers you an easy way to provide a cloud-based -- desktop experience to your end-users. You simply select from a choice -- of bundles that offer a range of different amounts of CPU, memory, -- storage, and a choice of applications. Users can connect from a PC, -- Mac desktop computer, iPad, Kindle, or Android tablet. module Network.AWS.WorkSpaces