Smaws_Client_GameLift.UpdateRuntimeConfigurationThis API works with the following fleet types: EC2
Updates the runtime configuration for the specified fleet. The runtime configuration tells Amazon GameLift Servers how to launch server processes on computes in managed EC2 and Anywhere fleets. You can update a fleet's runtime configuration at any time after the fleet is created; it does not need to be in ACTIVE status.
To update runtime configuration, specify the fleet ID and provide a RuntimeConfiguration with an updated set of server process configurations.
If successful, the fleet's runtime configuration settings are updated. Fleet computes that run game server processes regularly check for and receive updated runtime configurations. The computes immediately take action to comply with the new configuration by launching new server processes or by not replacing existing processes when they shut down. Updating a fleet's runtime configuration never affects existing server processes.
Learn more
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidFleetStatusException of Types.invalid_fleet_status_exception
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NotFoundException of Types.not_found_exception
| `UnauthorizedException of Types.unauthorized_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_runtime_configuration_input ->
(Types.update_runtime_configuration_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidFleetStatusException of Types.invalid_fleet_status_exception
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NotFoundException of Types.not_found_exception
| `UnauthorizedException of Types.unauthorized_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_runtime_configuration_input ->
(Types.update_runtime_configuration_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidFleetStatusException of Types.invalid_fleet_status_exception
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `NotFoundException of Types.not_found_exception
| `UnauthorizedException of Types.unauthorized_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result