aws-sdk-gamelift 1.97.0 → 1.98.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-gamelift/client.rb +155 -87
- data/lib/aws-sdk-gamelift/client_api.rb +14 -2
- data/lib/aws-sdk-gamelift/types.rb +155 -60
- data/lib/aws-sdk-gamelift.rb +1 -1
- data/sig/client.rbs +5 -1
- data/sig/types.rbs +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24e268796d25bf08c2b521f8c4edc0ace29f0a24742addf10b7809087d043122
|
4
|
+
data.tar.gz: 431399c6e95a708ad5dba69a884cc235880ec3a1d66c81fc305d6fd30fde5647
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d8b58d78ac33ffcc9efbbf8615d9026f1473f59a93bf0b778fd3b15b91f39f4c469abbf60d7c16a5758fca3d483963063f4e53fec82e88f17ff10a3f0885c8f
|
7
|
+
data.tar.gz: 418e9a6576cd99a2d58cdf73c30a11fcc3f823b8e93ae902e6215bcdac1244d1b46717d721a1a71301e80e6bfec92837c6e98a327f543704679a303c27512edb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.98.0 (2025-01-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon GameLift releases a new game session placement feature: PriorityConfigurationOverride. You can now override how a game session queue prioritizes placement locations for a single StartGameSessionPlacement request.
|
8
|
+
|
4
9
|
1.97.0 (2025-01-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.98.0
|
@@ -1196,7 +1196,7 @@ module Aws::GameLift
|
|
1196
1196
|
# @example Request syntax with placeholder values
|
1197
1197
|
#
|
1198
1198
|
# resp = client.create_container_fleet({
|
1199
|
-
# fleet_role_arn: "
|
1199
|
+
# fleet_role_arn: "IamRoleArn", # required
|
1200
1200
|
# description: "NonZeroAndMaxString",
|
1201
1201
|
# game_server_container_group_definition_name: "ContainerGroupDefinitionNameOrArn",
|
1202
1202
|
# per_instance_container_group_definition_name: "ContainerGroupDefinitionNameOrArn",
|
@@ -5882,9 +5882,9 @@ module Aws::GameLift
|
|
5882
5882
|
#
|
5883
5883
|
# This operation is not designed to be continually called to track game
|
5884
5884
|
# session status. This practice can cause you to exceed your API limit,
|
5885
|
-
# which results in errors. Instead, you must configure
|
5886
|
-
#
|
5887
|
-
#
|
5885
|
+
# which results in errors. Instead, you must configure an Amazon Simple
|
5886
|
+
# Notification Service (SNS) topic to receive notifications from
|
5887
|
+
# FlexMatch or queues. Continuously polling with
|
5888
5888
|
# `DescribeGameSessionPlacement` should only be used for games in
|
5889
5889
|
# development with low game session usage.
|
5890
5890
|
#
|
@@ -5928,6 +5928,9 @@ module Aws::GameLift
|
|
5928
5928
|
# resp.game_session_placement.placed_player_sessions[0].player_session_id #=> String
|
5929
5929
|
# resp.game_session_placement.game_session_data #=> String
|
5930
5930
|
# resp.game_session_placement.matchmaker_data #=> String
|
5931
|
+
# resp.game_session_placement.priority_configuration_override.placement_fallback_strategy #=> String, one of "DEFAULT_AFTER_SINGLE_PASS", "NONE"
|
5932
|
+
# resp.game_session_placement.priority_configuration_override.location_order #=> Array
|
5933
|
+
# resp.game_session_placement.priority_configuration_override.location_order[0] #=> String
|
5931
5934
|
#
|
5932
5935
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionPlacement AWS API Documentation
|
5933
5936
|
#
|
@@ -9175,55 +9178,83 @@ module Aws::GameLift
|
|
9175
9178
|
req.send_request(options)
|
9176
9179
|
end
|
9177
9180
|
|
9178
|
-
#
|
9179
|
-
# placement request, Amazon GameLift
|
9180
|
-
# the
|
9181
|
-
# the
|
9182
|
-
#
|
9183
|
-
# A game session placement request can also request player sessions.
|
9184
|
-
# When a new game session is successfully created, Amazon GameLift
|
9185
|
-
# creates a player session for each player included in the request.
|
9181
|
+
# Makes a request to start a new game session using a game session
|
9182
|
+
# queue. When processing a placement request in a queue, Amazon GameLift
|
9183
|
+
# finds the best possible available resource to host the game session
|
9184
|
+
# and prompts the resource to start the game session.
|
9186
9185
|
#
|
9187
|
-
#
|
9188
|
-
# fleet in the order they are listed in the queue configuration.
|
9189
|
-
# Ideally, a queue's destinations are listed in preference order.
|
9190
|
-
#
|
9191
|
-
# Alternatively, when requesting a game session with players, you can
|
9192
|
-
# also provide latency data for each player in relevant Regions. Latency
|
9193
|
-
# data indicates the performance lag a player experiences when connected
|
9194
|
-
# to a fleet in the Region. Amazon GameLift uses latency data to reorder
|
9195
|
-
# the list of destinations to place the game session in a Region with
|
9196
|
-
# minimal lag. If latency data is provided for multiple players, Amazon
|
9197
|
-
# GameLift calculates each Region's average lag for all players and
|
9198
|
-
# reorders to get the best game play across all players.
|
9186
|
+
# **Request options**
|
9199
9187
|
#
|
9200
|
-
#
|
9188
|
+
# Call this API with the following minimum parameters:
|
9189
|
+
# *GameSessionQueueName*, *MaximumPlayerSessionCount*, and
|
9190
|
+
# *PlacementID*. You can also include game session data (data formatted
|
9191
|
+
# as strings) or game properties (data formatted as key-value pairs) to
|
9192
|
+
# pass to the new game session.
|
9193
|
+
#
|
9194
|
+
# * You can change how Amazon GameLift chooses a hosting resource for
|
9195
|
+
# the new game session. Prioritizing resources for game session
|
9196
|
+
# placements is defined when you configure a game session queue. You
|
9197
|
+
# can use the default prioritization process or specify a custom
|
9198
|
+
# process by providing a [ PriorityConfiguration][1] when you create
|
9199
|
+
# or update a queue.
|
9200
|
+
#
|
9201
|
+
# * Prioritize based on resource cost and location, using the queue's
|
9202
|
+
# configured priority settings. Call this API with the minimum
|
9203
|
+
# parameters.
|
9204
|
+
#
|
9205
|
+
# * Prioritize based on latency. Include a set of values for
|
9206
|
+
# *PlayerLatencies*. You can provide latency data with or without
|
9207
|
+
# player session data. This option instructs Amazon GameLift to
|
9208
|
+
# reorder the queue's prioritized locations list based on the
|
9209
|
+
# latency data. If latency data is provided for multiple players,
|
9210
|
+
# Amazon GameLift calculates each location's average latency for
|
9211
|
+
# all players and reorders to find the lowest latency across all
|
9212
|
+
# players. Don't include latency data if you're providing a custom
|
9213
|
+
# list of locations.
|
9214
|
+
#
|
9215
|
+
# * Prioritize based on a custom list of locations. If you're using a
|
9216
|
+
# queue that's configured to prioritize location first (see
|
9217
|
+
# [PriorityConfiguration][1] for game session queues), use the
|
9218
|
+
# *PriorityConfigurationOverride* parameter to substitute a
|
9219
|
+
# different location list for this placement request. When
|
9220
|
+
# prioritizing placements by location, Amazon GameLift searches each
|
9221
|
+
# location in prioritized order to find an available hosting
|
9222
|
+
# resource for the new game session. You can choose whether to use
|
9223
|
+
# the override list for the first placement attempt only or for all
|
9224
|
+
# attempts.
|
9225
|
+
# * You can request new player sessions for a group of players. Include
|
9226
|
+
# the *DesiredPlayerSessions* parameter and include at minimum a
|
9227
|
+
# unique player ID for each. You can also include player-specific data
|
9228
|
+
# to pass to the new game session.
|
9201
9229
|
#
|
9202
|
-
#
|
9230
|
+
# **Result**
|
9203
9231
|
#
|
9204
|
-
#
|
9205
|
-
#
|
9232
|
+
# If successful, this request generates a new game session placement
|
9233
|
+
# request and adds it to the game session queue for Amazon GameLift to
|
9234
|
+
# process in turn. You can track the status of individual placement
|
9235
|
+
# requests by calling [DescribeGameSessionPlacement][2]. A new game
|
9236
|
+
# session is running if the status is `FULFILLED` and the request
|
9237
|
+
# returns the game session connection information (IP address and port).
|
9238
|
+
# If you include player session data, Amazon GameLift creates a player
|
9239
|
+
# session for each player ID in the request.
|
9206
9240
|
#
|
9207
|
-
#
|
9208
|
-
#
|
9209
|
-
# optional, but if you include it, you must also provide a unique ID
|
9210
|
-
# for each player)
|
9241
|
+
# The request results in a `BadRequestException` in the following
|
9242
|
+
# situations:
|
9211
9243
|
#
|
9212
|
-
# *
|
9213
|
-
#
|
9244
|
+
# * If the request includes both *PlayerLatencies* and
|
9245
|
+
# *PriorityConfigurationOverride* parameters.
|
9214
9246
|
#
|
9215
|
-
# If
|
9247
|
+
# * If the request includes the *PriorityConfigurationOverride*
|
9248
|
+
# parameter and designates a queue doesn't prioritize locations.
|
9216
9249
|
#
|
9217
|
-
#
|
9218
|
-
#
|
9219
|
-
# the
|
9220
|
-
# game session ARN and Region are referenced. If the placement request
|
9221
|
-
# times out, you can resubmit the request or retry it with a different
|
9222
|
-
# queue.
|
9250
|
+
# Amazon GameLift continues to retry each placement request until it
|
9251
|
+
# reaches the queue's timeout setting. If a request times out, you can
|
9252
|
+
# resubmit the request to the same queue or try a different queue.
|
9223
9253
|
#
|
9224
9254
|
#
|
9225
9255
|
#
|
9226
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/
|
9256
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_PriorityConfiguration.html
|
9257
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionPlacement.html
|
9227
9258
|
#
|
9228
9259
|
# @option params [required, String] :placement_id
|
9229
9260
|
# A unique identifier to assign to the new game session placement. This
|
@@ -9248,9 +9279,10 @@ module Aws::GameLift
|
|
9248
9279
|
#
|
9249
9280
|
# @option params [Array<Types::PlayerLatency>] :player_latencies
|
9250
9281
|
# A set of values, expressed in milliseconds, that indicates the amount
|
9251
|
-
# of latency that a player experiences when connected to
|
9252
|
-
# This information is used to try to place the new
|
9253
|
-
# can offer the best possible gameplay experience
|
9282
|
+
# of latency that a player experiences when connected to Amazon Web
|
9283
|
+
# Services Regions. This information is used to try to place the new
|
9284
|
+
# game session where it can offer the best possible gameplay experience
|
9285
|
+
# for the players.
|
9254
9286
|
#
|
9255
9287
|
# @option params [Array<Types::DesiredPlayerSession>] :desired_player_sessions
|
9256
9288
|
# Set of information on each player to create a player session for.
|
@@ -9265,6 +9297,15 @@ module Aws::GameLift
|
|
9265
9297
|
#
|
9266
9298
|
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
9267
9299
|
#
|
9300
|
+
# @option params [Types::PriorityConfigurationOverride] :priority_configuration_override
|
9301
|
+
# A prioritized list of locations to use for the game session placement
|
9302
|
+
# and instructions on how to use it. This list overrides a queue's
|
9303
|
+
# prioritized location list for this game session placement request
|
9304
|
+
# only. You can include Amazon Web Services Regions, local zones, and
|
9305
|
+
# custom locations (for Anywhere fleets). Choose a fallback strategy to
|
9306
|
+
# instruct Amazon GameLift to use the override list for the first
|
9307
|
+
# placement attempt only or for all placement attempts.
|
9308
|
+
#
|
9268
9309
|
# @return [Types::StartGameSessionPlacementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9269
9310
|
#
|
9270
9311
|
# * {Types::StartGameSessionPlacementOutput#game_session_placement #game_session_placement} => Types::GameSessionPlacement
|
@@ -9296,6 +9337,10 @@ module Aws::GameLift
|
|
9296
9337
|
# },
|
9297
9338
|
# ],
|
9298
9339
|
# game_session_data: "LargeGameSessionData",
|
9340
|
+
# priority_configuration_override: {
|
9341
|
+
# placement_fallback_strategy: "DEFAULT_AFTER_SINGLE_PASS", # accepts DEFAULT_AFTER_SINGLE_PASS, NONE
|
9342
|
+
# location_order: ["LocationStringModel"], # required
|
9343
|
+
# },
|
9299
9344
|
# })
|
9300
9345
|
#
|
9301
9346
|
# @example Response structure
|
@@ -9325,6 +9370,9 @@ module Aws::GameLift
|
|
9325
9370
|
# resp.game_session_placement.placed_player_sessions[0].player_session_id #=> String
|
9326
9371
|
# resp.game_session_placement.game_session_data #=> String
|
9327
9372
|
# resp.game_session_placement.matchmaker_data #=> String
|
9373
|
+
# resp.game_session_placement.priority_configuration_override.placement_fallback_strategy #=> String, one of "DEFAULT_AFTER_SINGLE_PASS", "NONE"
|
9374
|
+
# resp.game_session_placement.priority_configuration_override.location_order #=> Array
|
9375
|
+
# resp.game_session_placement.priority_configuration_override.location_order[0] #=> String
|
9328
9376
|
#
|
9329
9377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartGameSessionPlacement AWS API Documentation
|
9330
9378
|
#
|
@@ -9714,6 +9762,9 @@ module Aws::GameLift
|
|
9714
9762
|
# resp.game_session_placement.placed_player_sessions[0].player_session_id #=> String
|
9715
9763
|
# resp.game_session_placement.game_session_data #=> String
|
9716
9764
|
# resp.game_session_placement.matchmaker_data #=> String
|
9765
|
+
# resp.game_session_placement.priority_configuration_override.placement_fallback_strategy #=> String, one of "DEFAULT_AFTER_SINGLE_PASS", "NONE"
|
9766
|
+
# resp.game_session_placement.priority_configuration_override.location_order #=> Array
|
9767
|
+
# resp.game_session_placement.priority_configuration_override.location_order[0] #=> String
|
9717
9768
|
#
|
9718
9769
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopGameSessionPlacement AWS API Documentation
|
9719
9770
|
#
|
@@ -9918,45 +9969,59 @@ module Aws::GameLift
|
|
9918
9969
|
req.send_request(options)
|
9919
9970
|
end
|
9920
9971
|
|
9921
|
-
# Ends a game session that's currently in progress.
|
9922
|
-
#
|
9923
|
-
#
|
9924
|
-
#
|
9925
|
-
#
|
9926
|
-
#
|
9927
|
-
#
|
9928
|
-
#
|
9972
|
+
# Ends a game session that's currently in progress. Use this action to
|
9973
|
+
# terminate any game session that isn't in `ERROR` status. Terminating
|
9974
|
+
# a game session is the most efficient way to free up a server process
|
9975
|
+
# when it's hosting a game session that's in a bad state or not ending
|
9976
|
+
# properly. You can use this action to terminate a game session that's
|
9977
|
+
# being hosted on any type of Amazon GameLift fleet compute, including
|
9978
|
+
# computes for managed EC2, managed container, and Anywhere fleets. The
|
9979
|
+
# game server must be integrated with Amazon GameLift server SDK 5.x or
|
9980
|
+
# greater.
|
9981
|
+
#
|
9982
|
+
# **Request options**
|
9929
9983
|
#
|
9930
|
-
#
|
9984
|
+
# Request termination for a single game session. Provide the game
|
9985
|
+
# session ID and the termination mode. There are two potential methods
|
9986
|
+
# for terminating a game session:
|
9931
9987
|
#
|
9932
|
-
# *
|
9933
|
-
#
|
9934
|
-
#
|
9988
|
+
# * Initiate a graceful termination using the normal game session
|
9989
|
+
# shutdown sequence. With this mode, the Amazon GameLift service
|
9990
|
+
# prompts the server process that's hosting the game session by
|
9991
|
+
# calling the server SDK callback method `OnProcessTerminate()`. The
|
9992
|
+
# callback implementation is part of the custom game server code. It
|
9935
9993
|
# might involve a variety of actions to gracefully end a game session,
|
9936
|
-
# such as notifying players,
|
9994
|
+
# such as notifying players, before stopping the server process.
|
9937
9995
|
#
|
9938
|
-
# *
|
9939
|
-
#
|
9940
|
-
#
|
9941
|
-
#
|
9996
|
+
# * Force an immediate game session termination. With this mode, the
|
9997
|
+
# Amazon GameLift service takes action to stop the server process,
|
9998
|
+
# which ends the game session without the normal game session shutdown
|
9999
|
+
# sequence.
|
9942
10000
|
#
|
9943
|
-
# **
|
10001
|
+
# **Results**
|
9944
10002
|
#
|
9945
|
-
#
|
9946
|
-
#
|
10003
|
+
# If successful, game session termination is initiated. During this
|
10004
|
+
# activity, the game session status is changed to `TERMINATING`. When
|
10005
|
+
# completed, the server process that was hosting the game session has
|
10006
|
+
# been stopped and replaced with a new server process that's ready to
|
10007
|
+
# host a new game session. The old game session's status is changed to
|
10008
|
+
# `TERMINATED` with a status reason that indicates the termination
|
10009
|
+
# method used.
|
9947
10010
|
#
|
9948
|
-
#
|
10011
|
+
# **Learn more**
|
9949
10012
|
#
|
9950
|
-
#
|
10013
|
+
# [Add Amazon GameLift to your game server][1]
|
9951
10014
|
#
|
9952
|
-
#
|
9953
|
-
#
|
9954
|
-
#
|
9955
|
-
#
|
9956
|
-
#
|
9957
|
-
#
|
9958
|
-
#
|
9959
|
-
#
|
10015
|
+
# Amazon GameLift server SDK 5 reference guide for
|
10016
|
+
# `OnProcessTerminate()` ([C++][2]) ([C#][3]) ([Unreal][4]) ([Go][5])
|
10017
|
+
#
|
10018
|
+
#
|
10019
|
+
#
|
10020
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html
|
10021
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk5-cpp-initsdk.html
|
10022
|
+
# [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk5-csharp-initsdk.html
|
10023
|
+
# [4]: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk5-unreal-initsdk.html
|
10024
|
+
# [5]: https://docs.aws.amazon.com/gamelift/latest/developerguide/integration-server-sdk-go-initsdk.html
|
9960
10025
|
#
|
9961
10026
|
# @option params [required, String] :game_session_id
|
9962
10027
|
# A unique identifier for the game session to be terminated. A game
|
@@ -9968,17 +10033,20 @@ module Aws::GameLift
|
|
9968
10033
|
# The method to use to terminate the game session. Available methods
|
9969
10034
|
# include:
|
9970
10035
|
#
|
9971
|
-
# * `TRIGGER_ON_PROCESS_TERMINATE` –
|
9972
|
-
#
|
9973
|
-
#
|
9974
|
-
#
|
9975
|
-
#
|
9976
|
-
#
|
9977
|
-
#
|
9978
|
-
#
|
9979
|
-
#
|
9980
|
-
#
|
9981
|
-
#
|
10036
|
+
# * `TRIGGER_ON_PROCESS_TERMINATE` – Prompts the Amazon GameLift service
|
10037
|
+
# to send an `OnProcessTerminate()` callback to the server process and
|
10038
|
+
# initiate the normal game session shutdown sequence. The
|
10039
|
+
# `OnProcessTerminate` method, which is implemented in the game server
|
10040
|
+
# code, must include a call to the server SDK action
|
10041
|
+
# `ProcessEnding()`, which is how the server process signals to Amazon
|
10042
|
+
# GameLift that a game session is ending. If the server process
|
10043
|
+
# doesn't call `ProcessEnding()`, the game session termination won't
|
10044
|
+
# conclude successfully.
|
10045
|
+
#
|
10046
|
+
# * `FORCE_TERMINATE` – Prompts the Amazon GameLift service to stop the
|
10047
|
+
# server process immediately. Amazon GameLift takes action (depending
|
10048
|
+
# on the type of fleet) to shut down the server process without the
|
10049
|
+
# normal game session shutdown sequence.
|
9982
10050
|
#
|
9983
10051
|
# <note markdown="1"> This method is not available for game sessions that are running on
|
9984
10052
|
# Anywhere fleets unless the fleet is deployed with the Amazon
|
@@ -11865,7 +11933,7 @@ module Aws::GameLift
|
|
11865
11933
|
tracer: tracer
|
11866
11934
|
)
|
11867
11935
|
context[:gem_name] = 'aws-sdk-gamelift'
|
11868
|
-
context[:gem_version] = '1.
|
11936
|
+
context[:gem_version] = '1.98.0'
|
11869
11937
|
Seahorse::Client::Request.new(handlers, context)
|
11870
11938
|
end
|
11871
11939
|
|
@@ -407,6 +407,7 @@ module Aws::GameLift
|
|
407
407
|
LocationList = Shapes::ListShape.new(name: 'LocationList')
|
408
408
|
LocationModel = Shapes::StructureShape.new(name: 'LocationModel')
|
409
409
|
LocationModelList = Shapes::ListShape.new(name: 'LocationModelList')
|
410
|
+
LocationOrderOverrideList = Shapes::ListShape.new(name: 'LocationOrderOverrideList')
|
410
411
|
LocationState = Shapes::StructureShape.new(name: 'LocationState')
|
411
412
|
LocationStateList = Shapes::ListShape.new(name: 'LocationStateList')
|
412
413
|
LocationStringModel = Shapes::StringShape.new(name: 'LocationStringModel')
|
@@ -455,6 +456,7 @@ module Aws::GameLift
|
|
455
456
|
OutOfCapacityException = Shapes::StructureShape.new(name: 'OutOfCapacityException')
|
456
457
|
PlacedPlayerSession = Shapes::StructureShape.new(name: 'PlacedPlayerSession')
|
457
458
|
PlacedPlayerSessionList = Shapes::ListShape.new(name: 'PlacedPlayerSessionList')
|
459
|
+
PlacementFallbackStrategy = Shapes::StringShape.new(name: 'PlacementFallbackStrategy')
|
458
460
|
Player = Shapes::StructureShape.new(name: 'Player')
|
459
461
|
PlayerAttributeMap = Shapes::MapShape.new(name: 'PlayerAttributeMap')
|
460
462
|
PlayerAttributeString = Shapes::StringShape.new(name: 'PlayerAttributeString')
|
@@ -480,6 +482,7 @@ module Aws::GameLift
|
|
480
482
|
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
|
481
483
|
PositiveLong = Shapes::IntegerShape.new(name: 'PositiveLong')
|
482
484
|
PriorityConfiguration = Shapes::StructureShape.new(name: 'PriorityConfiguration')
|
485
|
+
PriorityConfigurationOverride = Shapes::StructureShape.new(name: 'PriorityConfigurationOverride')
|
483
486
|
PriorityType = Shapes::StringShape.new(name: 'PriorityType')
|
484
487
|
PriorityTypeList = Shapes::ListShape.new(name: 'PriorityTypeList')
|
485
488
|
ProtectionPolicy = Shapes::StringShape.new(name: 'ProtectionPolicy')
|
@@ -714,7 +717,7 @@ module Aws::GameLift
|
|
714
717
|
|
715
718
|
ContainerFleet.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "FleetId"))
|
716
719
|
ContainerFleet.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, location_name: "FleetArn"))
|
717
|
-
ContainerFleet.add_member(:fleet_role_arn, Shapes::ShapeRef.new(shape:
|
720
|
+
ContainerFleet.add_member(:fleet_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "FleetRoleArn"))
|
718
721
|
ContainerFleet.add_member(:game_server_container_group_definition_name, Shapes::ShapeRef.new(shape: ContainerGroupDefinitionName, location_name: "GameServerContainerGroupDefinitionName"))
|
719
722
|
ContainerFleet.add_member(:game_server_container_group_definition_arn, Shapes::ShapeRef.new(shape: ContainerGroupDefinitionArn, location_name: "GameServerContainerGroupDefinitionArn"))
|
720
723
|
ContainerFleet.add_member(:per_instance_container_group_definition_name, Shapes::ShapeRef.new(shape: ContainerGroupDefinitionName, location_name: "PerInstanceContainerGroupDefinitionName"))
|
@@ -815,7 +818,7 @@ module Aws::GameLift
|
|
815
818
|
CreateBuildOutput.add_member(:storage_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "StorageLocation"))
|
816
819
|
CreateBuildOutput.struct_class = Types::CreateBuildOutput
|
817
820
|
|
818
|
-
CreateContainerFleetInput.add_member(:fleet_role_arn, Shapes::ShapeRef.new(shape:
|
821
|
+
CreateContainerFleetInput.add_member(:fleet_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "FleetRoleArn"))
|
819
822
|
CreateContainerFleetInput.add_member(:description, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "Description"))
|
820
823
|
CreateContainerFleetInput.add_member(:game_server_container_group_definition_name, Shapes::ShapeRef.new(shape: ContainerGroupDefinitionNameOrArn, location_name: "GameServerContainerGroupDefinitionName"))
|
821
824
|
CreateContainerFleetInput.add_member(:per_instance_container_group_definition_name, Shapes::ShapeRef.new(shape: ContainerGroupDefinitionNameOrArn, location_name: "PerInstanceContainerGroupDefinitionName"))
|
@@ -1620,6 +1623,7 @@ module Aws::GameLift
|
|
1620
1623
|
GameSessionPlacement.add_member(:placed_player_sessions, Shapes::ShapeRef.new(shape: PlacedPlayerSessionList, location_name: "PlacedPlayerSessions"))
|
1621
1624
|
GameSessionPlacement.add_member(:game_session_data, Shapes::ShapeRef.new(shape: LargeGameSessionData, location_name: "GameSessionData"))
|
1622
1625
|
GameSessionPlacement.add_member(:matchmaker_data, Shapes::ShapeRef.new(shape: MatchmakerData, location_name: "MatchmakerData"))
|
1626
|
+
GameSessionPlacement.add_member(:priority_configuration_override, Shapes::ShapeRef.new(shape: PriorityConfigurationOverride, location_name: "PriorityConfigurationOverride"))
|
1623
1627
|
GameSessionPlacement.struct_class = Types::GameSessionPlacement
|
1624
1628
|
|
1625
1629
|
GameSessionQueue.add_member(:name, Shapes::ShapeRef.new(shape: GameSessionQueueName, location_name: "Name"))
|
@@ -1885,6 +1889,8 @@ module Aws::GameLift
|
|
1885
1889
|
|
1886
1890
|
LocationModelList.member = Shapes::ShapeRef.new(shape: LocationModel)
|
1887
1891
|
|
1892
|
+
LocationOrderOverrideList.member = Shapes::ShapeRef.new(shape: LocationStringModel)
|
1893
|
+
|
1888
1894
|
LocationState.add_member(:location, Shapes::ShapeRef.new(shape: LocationStringModel, location_name: "Location"))
|
1889
1895
|
LocationState.add_member(:status, Shapes::ShapeRef.new(shape: FleetStatus, location_name: "Status"))
|
1890
1896
|
LocationState.struct_class = Types::LocationState
|
@@ -2031,6 +2037,10 @@ module Aws::GameLift
|
|
2031
2037
|
PriorityConfiguration.add_member(:location_order, Shapes::ShapeRef.new(shape: LocationList, location_name: "LocationOrder"))
|
2032
2038
|
PriorityConfiguration.struct_class = Types::PriorityConfiguration
|
2033
2039
|
|
2040
|
+
PriorityConfigurationOverride.add_member(:placement_fallback_strategy, Shapes::ShapeRef.new(shape: PlacementFallbackStrategy, location_name: "PlacementFallbackStrategy"))
|
2041
|
+
PriorityConfigurationOverride.add_member(:location_order, Shapes::ShapeRef.new(shape: LocationOrderOverrideList, required: true, location_name: "LocationOrder"))
|
2042
|
+
PriorityConfigurationOverride.struct_class = Types::PriorityConfigurationOverride
|
2043
|
+
|
2034
2044
|
PriorityTypeList.member = Shapes::ShapeRef.new(shape: PriorityType)
|
2035
2045
|
|
2036
2046
|
PutScalingPolicyInput.add_member(:name, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, required: true, location_name: "Name"))
|
@@ -2178,6 +2188,7 @@ module Aws::GameLift
|
|
2178
2188
|
StartGameSessionPlacementInput.add_member(:player_latencies, Shapes::ShapeRef.new(shape: PlayerLatencyList, location_name: "PlayerLatencies"))
|
2179
2189
|
StartGameSessionPlacementInput.add_member(:desired_player_sessions, Shapes::ShapeRef.new(shape: DesiredPlayerSessionList, location_name: "DesiredPlayerSessions"))
|
2180
2190
|
StartGameSessionPlacementInput.add_member(:game_session_data, Shapes::ShapeRef.new(shape: LargeGameSessionData, location_name: "GameSessionData"))
|
2191
|
+
StartGameSessionPlacementInput.add_member(:priority_configuration_override, Shapes::ShapeRef.new(shape: PriorityConfigurationOverride, location_name: "PriorityConfigurationOverride"))
|
2181
2192
|
StartGameSessionPlacementInput.struct_class = Types::StartGameSessionPlacementInput
|
2182
2193
|
|
2183
2194
|
StartGameSessionPlacementOutput.add_member(:game_session_placement, Shapes::ShapeRef.new(shape: GameSessionPlacement, location_name: "GameSessionPlacement"))
|
@@ -3883,6 +3894,7 @@ module Aws::GameLift
|
|
3883
3894
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
3884
3895
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3885
3896
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3897
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedRegionException)
|
3886
3898
|
end)
|
3887
3899
|
|
3888
3900
|
api.add_operation(:start_match_backfill, Seahorse::Model::Operation.new.tap do |o|
|
@@ -5338,10 +5338,10 @@ module Aws::GameLift
|
|
5338
5338
|
end
|
5339
5339
|
|
5340
5340
|
# A list of fleet locations where a game session queue can place new
|
5341
|
-
# game sessions. You can use a filter to temporarily
|
5342
|
-
#
|
5343
|
-
# you can use a filter configuration allow
|
5344
|
-
# all of
|
5341
|
+
# game sessions. You can use a filter to temporarily exclude specific
|
5342
|
+
# locations from receiving placements. For queues that have
|
5343
|
+
# multi-location fleets, you can use a filter configuration allow
|
5344
|
+
# placement with some, but not all, of a fleet's locations.
|
5345
5345
|
#
|
5346
5346
|
# @!attribute [rw] allowed_locations
|
5347
5347
|
# A list of locations to allow game session placement in, in the form
|
@@ -6830,7 +6830,7 @@ module Aws::GameLift
|
|
6830
6830
|
# before succeeding. With each attempt it creates a
|
6831
6831
|
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_GameSession][1]
|
6832
6832
|
# object and updates this placement object with the new game session
|
6833
|
-
# properties
|
6833
|
+
# properties.
|
6834
6834
|
#
|
6835
6835
|
# </note>
|
6836
6836
|
#
|
@@ -6902,8 +6902,8 @@ module Aws::GameLift
|
|
6902
6902
|
#
|
6903
6903
|
# @!attribute [rw] player_latencies
|
6904
6904
|
# A set of values, expressed in milliseconds, that indicates the
|
6905
|
-
# amount of latency that a player experiences when connected to
|
6906
|
-
# Regions.
|
6905
|
+
# amount of latency that a player experiences when connected to Amazon
|
6906
|
+
# Web Services Regions.
|
6907
6907
|
# @return [Array<Types::PlayerLatency>]
|
6908
6908
|
#
|
6909
6909
|
# @!attribute [rw] start_time
|
@@ -6982,6 +6982,17 @@ module Aws::GameLift
|
|
6982
6982
|
# [1]: https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-server.html#match-server-data
|
6983
6983
|
# @return [String]
|
6984
6984
|
#
|
6985
|
+
# @!attribute [rw] priority_configuration_override
|
6986
|
+
# A prioritized list of locations to use with a game session placement
|
6987
|
+
# request and instructions on how to use it. This list overrides a
|
6988
|
+
# queue's prioritized location list for a single game session
|
6989
|
+
# placement request only. The list can include Amazon Web Services
|
6990
|
+
# Regions, local zones, and custom locations (for Anywhere fleets).
|
6991
|
+
# The fallback strategy instructs Amazon GameLift to use the override
|
6992
|
+
# list for the first placement attempt only or for all placement
|
6993
|
+
# attempts.
|
6994
|
+
# @return [Types::PriorityConfigurationOverride]
|
6995
|
+
#
|
6985
6996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GameSessionPlacement AWS API Documentation
|
6986
6997
|
#
|
6987
6998
|
class GameSessionPlacement < Struct.new(
|
@@ -7002,7 +7013,8 @@ module Aws::GameLift
|
|
7002
7013
|
:port,
|
7003
7014
|
:placed_player_sessions,
|
7004
7015
|
:game_session_data,
|
7005
|
-
:matchmaker_data
|
7016
|
+
:matchmaker_data,
|
7017
|
+
:priority_configuration_override)
|
7006
7018
|
SENSITIVE = [:ip_address, :port]
|
7007
7019
|
include Aws::Structure
|
7008
7020
|
end
|
@@ -9082,9 +9094,10 @@ module Aws::GameLift
|
|
9082
9094
|
#
|
9083
9095
|
# @!attribute [rw] latency_in_ms
|
9084
9096
|
# A set of values, expressed in milliseconds, that indicates the
|
9085
|
-
# amount of latency that a player experiences when connected to
|
9086
|
-
# Regions. If this property is present, FlexMatch
|
9087
|
-
# the match only in Regions for which latency is
|
9097
|
+
# amount of latency that a player experiences when connected to Amazon
|
9098
|
+
# Web Services Regions. If this property is present, FlexMatch
|
9099
|
+
# considers placing the match only in Regions for which latency is
|
9100
|
+
# reported.
|
9088
9101
|
#
|
9089
9102
|
# If a matchmaker has a rule that evaluates player latency, players
|
9090
9103
|
# must report latency in order to be matched. If no latency is
|
@@ -9291,52 +9304,61 @@ module Aws::GameLift
|
|
9291
9304
|
include Aws::Structure
|
9292
9305
|
end
|
9293
9306
|
|
9294
|
-
# Custom prioritization settings for
|
9295
|
-
#
|
9296
|
-
#
|
9297
|
-
# process, which is as follows:
|
9307
|
+
# Custom prioritization settings for a game session queue to use when
|
9308
|
+
# searching for available game servers to place new game sessions. This
|
9309
|
+
# configuration replaces the default FleetIQ prioritization process.
|
9298
9310
|
#
|
9299
|
-
#
|
9300
|
-
#
|
9301
|
-
# average latency (1), then on lowest hosting cost (2), then on
|
9302
|
-
# destination list order (3), and finally on location (alphabetical)
|
9303
|
-
# (4). This approach ensures that the queue's top priority is to
|
9304
|
-
# place game sessions where average player latency is lowest, and--if
|
9305
|
-
# latency is the same--where the hosting cost is less, etc.
|
9311
|
+
# By default, a queue makes placements based on the following default
|
9312
|
+
# prioritizations:
|
9306
9313
|
#
|
9307
|
-
# * If player latency data is
|
9308
|
-
#
|
9309
|
-
#
|
9310
|
-
#
|
9311
|
-
#
|
9312
|
-
#
|
9314
|
+
# * If player latency data is included in a game session request, Amazon
|
9315
|
+
# GameLift prioritizes placing game sessions where the average player
|
9316
|
+
# latency is lowest. Amazon GameLift re-orders the queue's
|
9317
|
+
# destinations and locations (for multi-location fleets) based on the
|
9318
|
+
# following priorities: (1) the lowest average latency across all
|
9319
|
+
# players, (2) the lowest hosting cost, (3) the queue's default
|
9320
|
+
# destination order, and then (4), an alphabetic list of locations.
|
9313
9321
|
#
|
9314
|
-
#
|
9322
|
+
# * If player latency data is not included, Amazon GameLift prioritizes
|
9323
|
+
# placing game sessions in the queue's first destination. If that
|
9324
|
+
# fleet has multiple locations, the game session is placed on the
|
9325
|
+
# first location (when listed alphabetically). Amazon GameLift
|
9326
|
+
# re-orders the queue's destinations and locations (for
|
9327
|
+
# multi-location fleets) based on the following priorities: (1) the
|
9328
|
+
# queue's default destination order, and then (2) an alphabetic list
|
9329
|
+
# of locations.
|
9315
9330
|
#
|
9316
9331
|
# @!attribute [rw] priority_order
|
9317
|
-
#
|
9318
|
-
#
|
9332
|
+
# A custom sequence to use when prioritizing where to place new game
|
9333
|
+
# sessions. Each priority type is listed once.
|
9319
9334
|
#
|
9320
|
-
# * `LATENCY` --
|
9321
|
-
# player latency
|
9335
|
+
# * `LATENCY` -- Amazon GameLift prioritizes locations where the
|
9336
|
+
# average player latency is lowest. Player latency data is provided
|
9337
|
+
# in each game session placement request.
|
9322
9338
|
#
|
9323
|
-
# * `COST` --
|
9324
|
-
# hosting costs. Cost is evaluated based on the location,
|
9325
|
-
# type, and fleet type (Spot or On-Demand)
|
9326
|
-
# the queue.
|
9339
|
+
# * `COST` -- Amazon GameLift prioritizes destinations with the lowest
|
9340
|
+
# current hosting costs. Cost is evaluated based on the location,
|
9341
|
+
# instance type, and fleet type (Spot or On-Demand) of each
|
9342
|
+
# destination in the queue.
|
9327
9343
|
#
|
9328
|
-
# * `DESTINATION` --
|
9329
|
-
#
|
9344
|
+
# * `DESTINATION` -- Amazon GameLift prioritizes based on the list
|
9345
|
+
# order of destinations in the queue configuration.
|
9330
9346
|
#
|
9331
|
-
# * `LOCATION` --
|
9332
|
-
# locations, as defined in `LocationOrder`.
|
9347
|
+
# * `LOCATION` -- Amazon GameLift prioritizes based on the provided
|
9348
|
+
# order of locations, as defined in `LocationOrder`.
|
9333
9349
|
# @return [Array<String>]
|
9334
9350
|
#
|
9335
9351
|
# @!attribute [rw] location_order
|
9336
9352
|
# The prioritization order to use for fleet locations, when the
|
9337
|
-
# `PriorityOrder` property includes `LOCATION`. Locations
|
9338
|
-
#
|
9339
|
-
# Each location
|
9353
|
+
# `PriorityOrder` property includes `LOCATION`. Locations can include
|
9354
|
+
# Amazon Web Services Region codes (such as `us-west-2`), local zones,
|
9355
|
+
# and custom locations (for Anywhere fleets). Each location must be
|
9356
|
+
# listed only once. For details, see [Amazon GameLift service
|
9357
|
+
# locations.][1]
|
9358
|
+
#
|
9359
|
+
#
|
9360
|
+
#
|
9361
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html
|
9340
9362
|
# @return [Array<String>]
|
9341
9363
|
#
|
9342
9364
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/PriorityConfiguration AWS API Documentation
|
@@ -9348,6 +9370,65 @@ module Aws::GameLift
|
|
9348
9370
|
include Aws::Structure
|
9349
9371
|
end
|
9350
9372
|
|
9373
|
+
# An alternate list of prioritized locations for use with a game session
|
9374
|
+
# queue. When this property is included in a
|
9375
|
+
# [StartGameSessionPlacement][1] request, this list overrides the
|
9376
|
+
# queue's default location prioritization, as defined in the queue's
|
9377
|
+
# [PriorityConfiguration](gamelift/latest/apireference/API_PriorityConfiguration.html)
|
9378
|
+
# setting (*LocationOrder*). This property overrides the queue's
|
9379
|
+
# default priority list for individual placement requests only. Use this
|
9380
|
+
# property only with queues that have a `PriorityConfiguration` setting
|
9381
|
+
# that prioritizes first.
|
9382
|
+
#
|
9383
|
+
# <note markdown="1"> A priority configuration override list does not override a queue's
|
9384
|
+
# FilterConfiguration setting, if the queue has one. Filter
|
9385
|
+
# configurations are used to limit placements to a subset of the
|
9386
|
+
# locations in a queue's destinations. If the override list includes a
|
9387
|
+
# location that's not included in the FilterConfiguration allowed list,
|
9388
|
+
# Amazon GameLift won't attempt to place a game session there.
|
9389
|
+
#
|
9390
|
+
# </note>
|
9391
|
+
#
|
9392
|
+
#
|
9393
|
+
#
|
9394
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartGameSessionPlacement.html
|
9395
|
+
#
|
9396
|
+
# @!attribute [rw] placement_fallback_strategy
|
9397
|
+
# Instructions for how to use the override list if the first round of
|
9398
|
+
# placement attempts fails. The first round is a failure if Amazon
|
9399
|
+
# GameLift searches all listed locations, in all of the queue's
|
9400
|
+
# destinations, without finding an available hosting resource for a
|
9401
|
+
# new game session. Valid strategies include:
|
9402
|
+
#
|
9403
|
+
# * `DEFAULT_AFTER_SINGLE_PASS` -- After the first round of placement
|
9404
|
+
# attempts, discard the override list and use the queue's default
|
9405
|
+
# location priority list. Continue to use the queue's default list
|
9406
|
+
# until the placement request times out.
|
9407
|
+
#
|
9408
|
+
# * `NONE` -- Continue to use the override list for all rounds of
|
9409
|
+
# placement attempts until the placement request times out.
|
9410
|
+
# @return [String]
|
9411
|
+
#
|
9412
|
+
# @!attribute [rw] location_order
|
9413
|
+
# A prioritized list of hosting locations. The list can include Amazon
|
9414
|
+
# Web Services Regions (such as `us-west-2`), local zones, and custom
|
9415
|
+
# locations (for Anywhere fleets). Each location must be listed only
|
9416
|
+
# once. For details, see [Amazon GameLift service locations.][1]
|
9417
|
+
#
|
9418
|
+
#
|
9419
|
+
#
|
9420
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html
|
9421
|
+
# @return [Array<String>]
|
9422
|
+
#
|
9423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/PriorityConfigurationOverride AWS API Documentation
|
9424
|
+
#
|
9425
|
+
class PriorityConfigurationOverride < Struct.new(
|
9426
|
+
:placement_fallback_strategy,
|
9427
|
+
:location_order)
|
9428
|
+
SENSITIVE = []
|
9429
|
+
include Aws::Structure
|
9430
|
+
end
|
9431
|
+
|
9351
9432
|
# @!attribute [rw] name
|
9352
9433
|
# A descriptive label that is associated with a fleet's scaling
|
9353
9434
|
# policy. Policy names do not need to be unique. A fleet can have only
|
@@ -10360,10 +10441,10 @@ module Aws::GameLift
|
|
10360
10441
|
#
|
10361
10442
|
# @!attribute [rw] player_latencies
|
10362
10443
|
# A set of values, expressed in milliseconds, that indicates the
|
10363
|
-
# amount of latency that a player experiences when connected to
|
10364
|
-
# Regions. This information is used to try to place the
|
10365
|
-
# session where it can offer the best possible gameplay
|
10366
|
-
# the players.
|
10444
|
+
# amount of latency that a player experiences when connected to Amazon
|
10445
|
+
# Web Services Regions. This information is used to try to place the
|
10446
|
+
# new game session where it can offer the best possible gameplay
|
10447
|
+
# experience for the players.
|
10367
10448
|
# @return [Array<Types::PlayerLatency>]
|
10368
10449
|
#
|
10369
10450
|
# @!attribute [rw] desired_player_sessions
|
@@ -10381,6 +10462,16 @@ module Aws::GameLift
|
|
10381
10462
|
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
10382
10463
|
# @return [String]
|
10383
10464
|
#
|
10465
|
+
# @!attribute [rw] priority_configuration_override
|
10466
|
+
# A prioritized list of locations to use for the game session
|
10467
|
+
# placement and instructions on how to use it. This list overrides a
|
10468
|
+
# queue's prioritized location list for this game session placement
|
10469
|
+
# request only. You can include Amazon Web Services Regions, local
|
10470
|
+
# zones, and custom locations (for Anywhere fleets). Choose a fallback
|
10471
|
+
# strategy to instruct Amazon GameLift to use the override list for
|
10472
|
+
# the first placement attempt only or for all placement attempts.
|
10473
|
+
# @return [Types::PriorityConfigurationOverride]
|
10474
|
+
#
|
10384
10475
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartGameSessionPlacementInput AWS API Documentation
|
10385
10476
|
#
|
10386
10477
|
class StartGameSessionPlacementInput < Struct.new(
|
@@ -10391,7 +10482,8 @@ module Aws::GameLift
|
|
10391
10482
|
:game_session_name,
|
10392
10483
|
:player_latencies,
|
10393
10484
|
:desired_player_sessions,
|
10394
|
-
:game_session_data
|
10485
|
+
:game_session_data,
|
10486
|
+
:priority_configuration_override)
|
10395
10487
|
SENSITIVE = []
|
10396
10488
|
include Aws::Structure
|
10397
10489
|
end
|
@@ -11097,17 +11189,20 @@ module Aws::GameLift
|
|
11097
11189
|
# The method to use to terminate the game session. Available methods
|
11098
11190
|
# include:
|
11099
11191
|
#
|
11100
|
-
# * `TRIGGER_ON_PROCESS_TERMINATE` –
|
11101
|
-
#
|
11102
|
-
#
|
11103
|
-
#
|
11104
|
-
#
|
11105
|
-
#
|
11106
|
-
#
|
11107
|
-
#
|
11108
|
-
#
|
11109
|
-
#
|
11110
|
-
#
|
11192
|
+
# * `TRIGGER_ON_PROCESS_TERMINATE` – Prompts the Amazon GameLift
|
11193
|
+
# service to send an `OnProcessTerminate()` callback to the server
|
11194
|
+
# process and initiate the normal game session shutdown sequence.
|
11195
|
+
# The `OnProcessTerminate` method, which is implemented in the game
|
11196
|
+
# server code, must include a call to the server SDK action
|
11197
|
+
# `ProcessEnding()`, which is how the server process signals to
|
11198
|
+
# Amazon GameLift that a game session is ending. If the server
|
11199
|
+
# process doesn't call `ProcessEnding()`, the game session
|
11200
|
+
# termination won't conclude successfully.
|
11201
|
+
#
|
11202
|
+
# * `FORCE_TERMINATE` – Prompts the Amazon GameLift service to stop
|
11203
|
+
# the server process immediately. Amazon GameLift takes action
|
11204
|
+
# (depending on the type of fleet) to shut down the server process
|
11205
|
+
# without the normal game session shutdown sequence.
|
11111
11206
|
#
|
11112
11207
|
# <note markdown="1"> This method is not available for game sessions that are running on
|
11113
11208
|
# Anywhere fleets unless the fleet is deployed with the Amazon
|
data/lib/aws-sdk-gamelift.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1529,7 +1529,11 @@ module Aws
|
|
1529
1529
|
player_data: ::String?
|
1530
1530
|
},
|
1531
1531
|
],
|
1532
|
-
?game_session_data: ::String
|
1532
|
+
?game_session_data: ::String,
|
1533
|
+
?priority_configuration_override: {
|
1534
|
+
placement_fallback_strategy: ("DEFAULT_AFTER_SINGLE_PASS" | "NONE")?,
|
1535
|
+
location_order: Array[::String]
|
1536
|
+
}
|
1533
1537
|
) -> _StartGameSessionPlacementResponseSuccess
|
1534
1538
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartGameSessionPlacementResponseSuccess
|
1535
1539
|
|
data/sig/types.rbs
CHANGED
@@ -1298,6 +1298,7 @@ module Aws::GameLift
|
|
1298
1298
|
attr_accessor placed_player_sessions: ::Array[Types::PlacedPlayerSession]
|
1299
1299
|
attr_accessor game_session_data: ::String
|
1300
1300
|
attr_accessor matchmaker_data: ::String
|
1301
|
+
attr_accessor priority_configuration_override: Types::PriorityConfigurationOverride
|
1301
1302
|
SENSITIVE: [:ip_address, :port]
|
1302
1303
|
end
|
1303
1304
|
|
@@ -1773,6 +1774,12 @@ module Aws::GameLift
|
|
1773
1774
|
SENSITIVE: []
|
1774
1775
|
end
|
1775
1776
|
|
1777
|
+
class PriorityConfigurationOverride
|
1778
|
+
attr_accessor placement_fallback_strategy: ("DEFAULT_AFTER_SINGLE_PASS" | "NONE")
|
1779
|
+
attr_accessor location_order: ::Array[::String]
|
1780
|
+
SENSITIVE: []
|
1781
|
+
end
|
1782
|
+
|
1776
1783
|
class PutScalingPolicyInput
|
1777
1784
|
attr_accessor name: ::String
|
1778
1785
|
attr_accessor fleet_id: ::String
|
@@ -1957,6 +1964,7 @@ module Aws::GameLift
|
|
1957
1964
|
attr_accessor player_latencies: ::Array[Types::PlayerLatency]
|
1958
1965
|
attr_accessor desired_player_sessions: ::Array[Types::DesiredPlayerSession]
|
1959
1966
|
attr_accessor game_session_data: ::String
|
1967
|
+
attr_accessor priority_configuration_override: Types::PriorityConfigurationOverride
|
1960
1968
|
SENSITIVE: []
|
1961
1969
|
end
|
1962
1970
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-gamelift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.98.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|