| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.AppStream.CreateFleet
Description
Creates a new fleet.
- createFleet :: Text -> Text -> Text -> ComputeCapacity -> CreateFleet
- data CreateFleet
- cfDisconnectTimeoutInSeconds :: Lens' CreateFleet (Maybe Int)
- cfMaxUserDurationInSeconds :: Lens' CreateFleet (Maybe Int)
- cfVPCConfig :: Lens' CreateFleet (Maybe VPCConfig)
- cfDisplayName :: Lens' CreateFleet (Maybe Text)
- cfDescription :: Lens' CreateFleet (Maybe Text)
- cfName :: Lens' CreateFleet Text
- cfImageName :: Lens' CreateFleet Text
- cfInstanceType :: Lens' CreateFleet Text
- cfComputeCapacity :: Lens' CreateFleet ComputeCapacity
- createFleetResponse :: Int -> CreateFleetResponse
- data CreateFleetResponse
- cfrsFleet :: Lens' CreateFleetResponse (Maybe Fleet)
- cfrsResponseStatus :: Lens' CreateFleetResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> ComputeCapacity | |
| -> CreateFleet |
Creates a value of CreateFleet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfDisconnectTimeoutInSeconds- The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to his/her previous session.cfMaxUserDurationInSeconds- The maximum time up to which a streaming session can run.cfVPCConfig- The VPC configuration for the fleet.cfDisplayName- The display name of the fleet.cfDescription- The description of the fleet.cfName- A unique identifier for the fleet.cfImageName- Unique name of the image used by the fleet.cfInstanceType- The instance type of compute resources for the fleet. Fleet instances are launched from this instance type.cfComputeCapacity- The parameters for the capacity allocated to the fleet.
data CreateFleet Source #
Contains the parameters for the new fleet to create.
See: createFleet smart constructor.
Instances
Request Lenses
cfDisconnectTimeoutInSeconds :: Lens' CreateFleet (Maybe Int) Source #
The time after disconnection when a session is considered to have ended. If a user who got disconnected reconnects within this timeout interval, the user is connected back to his/her previous session.
cfMaxUserDurationInSeconds :: Lens' CreateFleet (Maybe Int) Source #
The maximum time up to which a streaming session can run.
cfVPCConfig :: Lens' CreateFleet (Maybe VPCConfig) Source #
The VPC configuration for the fleet.
cfDisplayName :: Lens' CreateFleet (Maybe Text) Source #
The display name of the fleet.
cfDescription :: Lens' CreateFleet (Maybe Text) Source #
The description of the fleet.
cfImageName :: Lens' CreateFleet Text Source #
Unique name of the image used by the fleet.
cfInstanceType :: Lens' CreateFleet Text Source #
The instance type of compute resources for the fleet. Fleet instances are launched from this instance type.
cfComputeCapacity :: Lens' CreateFleet ComputeCapacity Source #
The parameters for the capacity allocated to the fleet.
Destructuring the Response
Arguments
| :: Int | |
| -> CreateFleetResponse |
Creates a value of CreateFleetResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cfrsFleet- The details for the created fleet.cfrsResponseStatus- -- | The response status code.
data CreateFleetResponse Source #
See: createFleetResponse smart constructor.
Response Lenses
cfrsResponseStatus :: Lens' CreateFleetResponse Int Source #
- - | The response status code.