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 |
Updates an existing fleet. All the attributes except the fleet name can be updated in the STOPPED state. Only ComputeCapacity and ImageName can be updated in any other state.
- updateFleet :: Text -> UpdateFleet
- data UpdateFleet
- ufDisconnectTimeoutInSeconds :: Lens' UpdateFleet (Maybe Int)
- ufMaxUserDurationInSeconds :: Lens' UpdateFleet (Maybe Int)
- ufDeleteVPCConfig :: Lens' UpdateFleet (Maybe Bool)
- ufInstanceType :: Lens' UpdateFleet (Maybe Text)
- ufVPCConfig :: Lens' UpdateFleet (Maybe VPCConfig)
- ufDisplayName :: Lens' UpdateFleet (Maybe Text)
- ufImageName :: Lens' UpdateFleet (Maybe Text)
- ufDescription :: Lens' UpdateFleet (Maybe Text)
- ufComputeCapacity :: Lens' UpdateFleet (Maybe ComputeCapacity)
- ufName :: Lens' UpdateFleet Text
- updateFleetResponse :: Int -> UpdateFleetResponse
- data UpdateFleetResponse
- ufrsFleet :: Lens' UpdateFleetResponse (Maybe Fleet)
- ufrsResponseStatus :: Lens' UpdateFleetResponse Int
Creating a Request
:: Text | |
-> UpdateFleet |
Creates a value of UpdateFleet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ufDisconnectTimeoutInSeconds
- The time after disconnection when a session is considered to have ended. When the user reconnects after a disconnection, the user is connected to the same instance within this time interval.ufMaxUserDurationInSeconds
- The maximum time during which a streaming session can run.ufDeleteVPCConfig
- Delete the VPC association for the specified fleet.ufInstanceType
- The instance type of compute resources for the fleet. Fleet instances are launched from this instance type.ufVPCConfig
- The VPC configuration for the fleet.ufDisplayName
- The name displayed to end users on the AppStream 2.0 portal.ufImageName
- The image name from which a fleet is created.ufDescription
- The description displayed to end users on the AppStream 2.0 portal.ufComputeCapacity
- The parameters for the capacity allocated to the fleet.ufName
- The name of the fleet.
data UpdateFleet Source #
See: updateFleet
smart constructor.
Request Lenses
ufDisconnectTimeoutInSeconds :: Lens' UpdateFleet (Maybe Int) Source #
The time after disconnection when a session is considered to have ended. When the user reconnects after a disconnection, the user is connected to the same instance within this time interval.
ufMaxUserDurationInSeconds :: Lens' UpdateFleet (Maybe Int) Source #
The maximum time during which a streaming session can run.
ufDeleteVPCConfig :: Lens' UpdateFleet (Maybe Bool) Source #
Delete the VPC association for the specified fleet.
ufInstanceType :: Lens' UpdateFleet (Maybe Text) Source #
The instance type of compute resources for the fleet. Fleet instances are launched from this instance type.
ufVPCConfig :: Lens' UpdateFleet (Maybe VPCConfig) Source #
The VPC configuration for the fleet.
ufDisplayName :: Lens' UpdateFleet (Maybe Text) Source #
The name displayed to end users on the AppStream 2.0 portal.
ufImageName :: Lens' UpdateFleet (Maybe Text) Source #
The image name from which a fleet is created.
ufDescription :: Lens' UpdateFleet (Maybe Text) Source #
The description displayed to end users on the AppStream 2.0 portal.
ufComputeCapacity :: Lens' UpdateFleet (Maybe ComputeCapacity) Source #
The parameters for the capacity allocated to the fleet.
Destructuring the Response
Creates a value of UpdateFleetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ufrsFleet
- A list of fleet details.ufrsResponseStatus
- -- | The response status code.
data UpdateFleetResponse Source #
See: updateFleetResponse
smart constructor.
Response Lenses
ufrsResponseStatus :: Lens' UpdateFleetResponse Int Source #
- - | The response status code.