Values.UpdateFleetAttributesInputSourceThis 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
type nonrec t = {fleetId : FleetIdOrArn.t;A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN value.
*)name : NonZeroAndMaxString.t option;A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
*)description : NonZeroAndMaxString.t option;A human-readable description of a fleet.
*)newGameSessionProtectionPolicy : ProtectionPolicy.t option;The game session protection policy to apply to all new game sessions created in this fleet. Game sessions that already exist are not affected. You can set protection for individual game sessions using UpdateGameSession . NoProtection -- The game session can be terminated during a scale-down event. FullProtection -- If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event.
*)resourceCreationLimitPolicy : ResourceCreationLimitPolicy.t option;Policy settings that limit the number of game sessions an individual player can create over a span of time.
*)metricGroups : MetricGroupList.t option;The name of a metric group to add this fleet to. Use a metric group in Amazon CloudWatch to aggregate the metrics from multiple fleets. Provide an existing metric group name, or create a new metric group by providing a new name. A fleet can only be in one metric group at a time.
*)anywhereConfiguration : AnywhereConfiguration.t option;Amazon GameLift Servers Anywhere configuration options.
*)}val make :
?name:??? ->
?description:??? ->
?newGameSessionProtectionPolicy:??? ->
?resourceCreationLimitPolicy:??? ->
?metricGroups:??? ->
?anywhereConfiguration:??? ->
fleetId:FleetIdOrArn.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of [> `String of MetricGroup.t ] list
| `String of FleetIdOrArn.t
| `Structure of
(string
* [> `Integer of WholeNumber.t
| `String of NonNegativeLimitedLengthDouble.t ])
list ])
list ]