| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.AppStream.UpdateFleet
Description
Updates the specified fleet.
If the fleet is in the STOPPED state, you can update any attribute except the fleet name. If the fleet is in the RUNNING state, you can update the DisplayName and ComputeCapacity attributes. If the fleet is in the STARTING or STOPPING state, you can't update it.
- updateFleet :: Text -> UpdateFleet
- data UpdateFleet
- ufDomainJoinInfo :: Lens' UpdateFleet (Maybe DomainJoinInfo)
- ufDisconnectTimeoutInSeconds :: Lens' UpdateFleet (Maybe Int)
- ufMaxUserDurationInSeconds :: Lens' UpdateFleet (Maybe Int)
- ufAttributesToDelete :: Lens' UpdateFleet [FleetAttribute]
- ufDeleteVPCConfig :: Lens' UpdateFleet (Maybe Bool)
- ufInstanceType :: Lens' UpdateFleet (Maybe Text)
- ufVPCConfig :: Lens' UpdateFleet (Maybe VPCConfig)
- ufDisplayName :: Lens' UpdateFleet (Maybe Text)
- ufEnableDefaultInternetAccess :: Lens' UpdateFleet (Maybe Bool)
- 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:
ufDomainJoinInfo- The information needed for streaming instances to join a domain.ufDisconnectTimeoutInSeconds- The time after disconnection when a session is considered to have ended, in seconds. If a user who was disconnected reconnects within this time interval, the user is connected to their previous session. Specify a value between 60 and 57600.ufMaxUserDurationInSeconds- The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600.ufAttributesToDelete- The fleet attributes to delete.ufDeleteVPCConfig- Deletes the VPC association for the specified fleet.ufInstanceType- The instance type to use when launching fleet instances. The following instance types are available: * stream.standard.medium * stream.standard.large * stream.compute.large * stream.compute.xlarge * stream.compute.2xlarge * stream.compute.4xlarge * stream.compute.8xlarge * stream.memory.large * stream.memory.xlarge * stream.memory.2xlarge * stream.memory.4xlarge * stream.memory.8xlarge * stream.graphics-design.large * stream.graphics-design.xlarge * stream.graphics-design.2xlarge * stream.graphics-design.4xlarge * stream.graphics-desktop.2xlarge * stream.graphics-pro.4xlarge * stream.graphics-pro.8xlarge * stream.graphics-pro.16xlargeufVPCConfig- The VPC configuration for the fleet.ufDisplayName- The fleet name displayed to end users.ufEnableDefaultInternetAccess- Enables or disables default internet access for the fleet.ufImageName- The name of the image used by the fleet.ufDescription- The description displayed to end users.ufComputeCapacity- The desired capacity for the fleet.ufName- A unique name for the fleet.
data UpdateFleet Source #
See: updateFleet smart constructor.
Instances
Request Lenses
ufDomainJoinInfo :: Lens' UpdateFleet (Maybe DomainJoinInfo) Source #
The information needed for streaming instances to join a domain.
ufDisconnectTimeoutInSeconds :: Lens' UpdateFleet (Maybe Int) Source #
The time after disconnection when a session is considered to have ended, in seconds. If a user who was disconnected reconnects within this time interval, the user is connected to their previous session. Specify a value between 60 and 57600.
ufMaxUserDurationInSeconds :: Lens' UpdateFleet (Maybe Int) Source #
The maximum time that a streaming session can run, in seconds. Specify a value between 600 and 57600.
ufAttributesToDelete :: Lens' UpdateFleet [FleetAttribute] Source #
The fleet attributes to delete.
ufDeleteVPCConfig :: Lens' UpdateFleet (Maybe Bool) Source #
Deletes the VPC association for the specified fleet.
ufInstanceType :: Lens' UpdateFleet (Maybe Text) Source #
The instance type to use when launching fleet instances. The following instance types are available: * stream.standard.medium * stream.standard.large * stream.compute.large * stream.compute.xlarge * stream.compute.2xlarge * stream.compute.4xlarge * stream.compute.8xlarge * stream.memory.large * stream.memory.xlarge * stream.memory.2xlarge * stream.memory.4xlarge * stream.memory.8xlarge * stream.graphics-design.large * stream.graphics-design.xlarge * stream.graphics-design.2xlarge * stream.graphics-design.4xlarge * stream.graphics-desktop.2xlarge * stream.graphics-pro.4xlarge * stream.graphics-pro.8xlarge * stream.graphics-pro.16xlarge
ufVPCConfig :: Lens' UpdateFleet (Maybe VPCConfig) Source #
The VPC configuration for the fleet.
ufDisplayName :: Lens' UpdateFleet (Maybe Text) Source #
The fleet name displayed to end users.
ufEnableDefaultInternetAccess :: Lens' UpdateFleet (Maybe Bool) Source #
Enables or disables default internet access for the fleet.
ufImageName :: Lens' UpdateFleet (Maybe Text) Source #
The name of the image used by the fleet.
ufDescription :: Lens' UpdateFleet (Maybe Text) Source #
The description displayed to end users.
ufComputeCapacity :: Lens' UpdateFleet (Maybe ComputeCapacity) Source #
The desired capacity for 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- Information about the fleet.ufrsResponseStatus- -- | The response status code.
data UpdateFleetResponse Source #
See: updateFleetResponse smart constructor.
Response Lenses
ufrsResponseStatus :: Lens' UpdateFleetResponse Int Source #
- - | The response status code.