Module Smaws_Client_GameLift.UpdateFleetAttributes

This API works with the following fleet types: EC2, Anywhere, Container

Updates a fleet's mutable attributes, such as game session protection and resource creation limits.

To update fleet attributes, specify the fleet ID and the property values that you want to change. If successful, Amazon GameLift Servers returns the identifiers for the updated fleet.

A managed fleet's runtime environment, which depends on the fleet's Amazon Machine Image {AMI} version, can't be updated. You must create a new fleet. As a best practice, we recommend replacing your managed fleets every 30 days to maintain a secure and up-to-date runtime environment for your hosted game servers. For guidance, see Security best practices for Amazon GameLift Servers.

Learn more

Setting up Amazon GameLift Servers fleets

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `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 ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_fleet_attributes_input -> (Types.update_fleet_attributes_output, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `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.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_fleet_attributes_input -> (Types.update_fleet_attributes_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `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