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.UpdateFleet
Description
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
Arguments
:: 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.
Request Lenses
ufDisconnectTimeoutInSeconds :: Lens' UpdateFleet (Maybe Int) #
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) #
The maximum time during which a streaming session can run.
ufDeleteVPCConfig :: Lens' UpdateFleet (Maybe Bool) #
Delete the VPC association for the specified fleet.
ufInstanceType :: Lens' UpdateFleet (Maybe Text) #
The instance type of compute resources for the fleet. Fleet instances are launched from this instance type.
ufVPCConfig :: Lens' UpdateFleet (Maybe VPCConfig) #
The VPC configuration for the fleet.
ufDisplayName :: Lens' UpdateFleet (Maybe Text) #
The name displayed to end users on the AppStream 2.0 portal.
ufImageName :: Lens' UpdateFleet (Maybe Text) #
The image name from which a fleet is created.
ufDescription :: Lens' UpdateFleet (Maybe Text) #
The description displayed to end users on the AppStream 2.0 portal.
ufComputeCapacity :: Lens' UpdateFleet (Maybe ComputeCapacity) #
The parameters for the capacity allocated to the fleet.
ufName :: Lens' UpdateFleet Text #
The name of the fleet.
Destructuring the Response
Arguments
:: Int | |
-> UpdateFleetResponse |
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 #
See: updateFleetResponse
smart constructor.
Response Lenses
ufrsResponseStatus :: Lens' UpdateFleetResponse Int #
- - | The response status code.