updateFleet
inline suspend fun AppStreamClient.updateFleet(crossinline block: UpdateFleetRequest.Builder.() -> Unit): UpdateFleetResponse
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 following based on the fleet type:
Always-On and On-Demand fleet typesYou can update the
DisplayName
,ComputeCapacity
,ImageARN
,ImageName
,IdleDisconnectTimeoutInSeconds
, andDisconnectTimeoutInSeconds
attributes.Elastic fleet typeYou can update the
DisplayName
,IdleDisconnectTimeoutInSeconds
,DisconnectTimeoutInSeconds
,MaxConcurrentSessions
,SessionScriptS3Location
andUsbDeviceFilterStrings
attributes.
If the fleet is in the STARTING
or STOPPED
state, you can't update it.