Smaws_Client_AppStream.UpdateFleetUpdates 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 types
You can update the DisplayName, ComputeCapacity, ImageARN, ImageName, IdleDisconnectTimeoutInSeconds, and DisconnectTimeoutInSeconds attributes.
Elastic fleet type
You can update the DisplayName, IdleDisconnectTimeoutInSeconds, DisconnectTimeoutInSeconds, MaxConcurrentSessions, SessionScriptS3Location and UsbDeviceFilterStrings attributes.
If the fleet is in the STARTING or STOPPED state, you can't update it.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentModificationException of Types.concurrent_modification_exception
| `IncompatibleImageException of Types.incompatible_image_exception
| `InvalidAccountStatusException of Types.invalid_account_status_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidRoleException of Types.invalid_role_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `OperationNotPermittedException of Types.operation_not_permitted_exception
| `RequestLimitExceededException of Types.request_limit_exceeded_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotAvailableException of Types.resource_not_available_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_fleet_request ->
(Types.update_fleet_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `IncompatibleImageException of Types.incompatible_image_exception
| `InvalidAccountStatusException of Types.invalid_account_status_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidRoleException of Types.invalid_role_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `RequestLimitExceededException of Types.request_limit_exceeded_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotAvailableException of Types.resource_not_available_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_fleet_request ->
(Types.update_fleet_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `IncompatibleImageException of Types.incompatible_image_exception
| `InvalidAccountStatusException of Types.invalid_account_status_exception
| `InvalidParameterCombinationException of
Types.invalid_parameter_combination_exception
| `InvalidRoleException of Types.invalid_role_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `RequestLimitExceededException of Types.request_limit_exceeded_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ResourceNotAvailableException of Types.resource_not_available_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result