Sets a latency cap for individual players when placing a game session. With a latency policy in force, a game session cannot be placed in a fleet location where a player reports latency higher than the cap. Latency policies are used only with placement request that provide player latency information. Player latency policies can be stacked to gradually relax latency requirements over time.
Type: objectProperties: 2
Amazon Web ServicesCloud ComputingGame ServersGamingMultiplayerMatchmakingFlex MatchFleetIQ
PlayerLatencyPolicy is a JSON Structure definition published by Amazon GameLift, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-gamelift/refs/heads/main/json-structure/gamelift-player-latency-policy-structure.json",
"name": "PlayerLatencyPolicy",
"description": "Sets a latency cap for individual players when placing a game session. With a latency policy in force, a game session cannot be placed in a fleet location where a player reports latency higher than the cap. Latency policies are used only with placement request that provide player latency information. Player latency policies can be stacked to gradually relax latency requirements over time. ",
"type": "object",
"properties": {
"MaximumIndividualPlayerLatencyMilliseconds": {
"allOf": [
{
"$ref": "#/components/schemas/WholeNumber"
},
{
"description": "The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property."
}
]
},
"PolicyDurationSeconds": {
"allOf": [
{
"$ref": "#/components/schemas/WholeNumber"
},
{
"description": "The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out."
}
]
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.