aws-sdk-gamelift 1.119.0 → 1.121.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-gamelift/client.rb +249 -29
- data/lib/aws-sdk-gamelift/client_api.rb +65 -3
- data/lib/aws-sdk-gamelift/types.rb +450 -45
- data/lib/aws-sdk-gamelift.rb +1 -1
- data/sig/client.rbs +19 -2
- data/sig/types.rbs +42 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7a5704b9e6c776e8f804d0d71091ee249cca91da454bc5f606a38c58f1d8f0d9
|
|
4
|
+
data.tar.gz: d3d1897fbd823f52401e5f1f366cf5a84c0d042e7fbf561b573f54e77c1e27b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27252b4930a808c89254fa3a2c711fc88557d9bed8fb83cdb083a9800a45be79bca9b315cff93c9cb8a7500c0a861b8fcf8a8ab46da071deced80be96c170652
|
|
7
|
+
data.tar.gz: fa5cc2338a57bdab6b985536c7ae822b82c8b9f34726af207d8dacf532f450a0d14208e8cb6a9d6df4dff8d854e3f4c08783eb27d01956a2c7b1204dd58860f5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.121.0 (2026-03-18)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.120.0 (2026-03-04)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon GameLift Servers now offers DDoS protection for Linux-based EC2 and Container Fleets on SDKv5. The player gateway proxy relay network provides traffic validation, per-player rate limiting, and game server IP address obfuscation all with negligible added latency and no additional cost.
|
|
13
|
+
|
|
4
14
|
1.119.0 (2026-01-29)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.121.0
|
|
@@ -1259,6 +1259,43 @@ module Aws::GameLift
|
|
|
1259
1259
|
#
|
|
1260
1260
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
1261
1261
|
#
|
|
1262
|
+
# @option params [String] :player_gateway_mode
|
|
1263
|
+
# Configures player gateway for your fleet. Player gateway provides
|
|
1264
|
+
# benefits such as DDoS protection by rate limiting and validating traffic
|
|
1265
|
+
# before it reaches game servers, hiding game server IP addresses from
|
|
1266
|
+
# players, and providing updated endpoints when relay endpoints become
|
|
1267
|
+
# unhealthy.
|
|
1268
|
+
#
|
|
1269
|
+
# **How it works:** When enabled, game clients connect to relay
|
|
1270
|
+
# endpoints instead of to your game servers. Player gateway validates
|
|
1271
|
+
# player gateway tokens and routes traffic to the appropriate game
|
|
1272
|
+
# server. Your game backend calls [GetPlayerConnectionDetails][1] to
|
|
1273
|
+
# retrieve relay endpoints and player gateway tokens for your game
|
|
1274
|
+
# clients. To learn more about this topic, see [DDoS protection with
|
|
1275
|
+
# Amazon GameLift Servers player gateway][2].
|
|
1276
|
+
#
|
|
1277
|
+
# Possible values include:
|
|
1278
|
+
#
|
|
1279
|
+
# * `DISABLED` (default) -- Game clients connect to the game server
|
|
1280
|
+
# endpoint. Use this when you do not intend to integrate your game
|
|
1281
|
+
# with player gateway.
|
|
1282
|
+
#
|
|
1283
|
+
# * `ENABLED` -- Player gateway is available in fleet locations where it
|
|
1284
|
+
# is supported. Your game backend can call
|
|
1285
|
+
# [GetPlayerConnectionDetails][1] to obtain a player gateway token and
|
|
1286
|
+
# endpoints for game clients.
|
|
1287
|
+
#
|
|
1288
|
+
# * `REQUIRED` -- Player gateway is available in fleet locations where
|
|
1289
|
+
# it is supported, and the fleet can only use locations that support
|
|
1290
|
+
# this feature. Attempting to add a remote location to your fleet
|
|
1291
|
+
# which does not support player gateway will result in an
|
|
1292
|
+
# `InvalidRequestException`.
|
|
1293
|
+
#
|
|
1294
|
+
#
|
|
1295
|
+
#
|
|
1296
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_GetPlayerConnectionDetails.html
|
|
1297
|
+
# [2]: https://docs.aws.amazon.com/gameliftservers/latest/developerguide/ddos-protection-intro.html
|
|
1298
|
+
#
|
|
1262
1299
|
# @return [Types::CreateContainerFleetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1263
1300
|
#
|
|
1264
1301
|
# * {Types::CreateContainerFleetOutput#container_fleet #container_fleet} => Types::ContainerFleet
|
|
@@ -1307,6 +1344,7 @@ module Aws::GameLift
|
|
|
1307
1344
|
# value: "TagValue", # required
|
|
1308
1345
|
# },
|
|
1309
1346
|
# ],
|
|
1347
|
+
# player_gateway_mode: "DISABLED", # accepts DISABLED, ENABLED, REQUIRED
|
|
1310
1348
|
# })
|
|
1311
1349
|
#
|
|
1312
1350
|
# @example Response structure
|
|
@@ -1344,6 +1382,8 @@ module Aws::GameLift
|
|
|
1344
1382
|
# resp.container_fleet.location_attributes #=> Array
|
|
1345
1383
|
# resp.container_fleet.location_attributes[0].location #=> String
|
|
1346
1384
|
# resp.container_fleet.location_attributes[0].status #=> String, one of "PENDING", "CREATING", "CREATED", "ACTIVATING", "ACTIVE", "UPDATING", "DELETING"
|
|
1385
|
+
# resp.container_fleet.location_attributes[0].player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
1386
|
+
# resp.container_fleet.player_gateway_mode #=> String, one of "DISABLED", "ENABLED", "REQUIRED"
|
|
1347
1387
|
#
|
|
1348
1388
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateContainerFleet AWS API Documentation
|
|
1349
1389
|
#
|
|
@@ -2031,6 +2071,48 @@ module Aws::GameLift
|
|
|
2031
2071
|
#
|
|
2032
2072
|
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html
|
|
2033
2073
|
#
|
|
2074
|
+
# @option params [String] :player_gateway_mode
|
|
2075
|
+
# Configures player gateway for your fleet. Player gateway provides
|
|
2076
|
+
# benefits such as DDoS protection by rate limiting and validating traffic
|
|
2077
|
+
# before it reaches game servers, hiding game server IP addresses from
|
|
2078
|
+
# players, and providing updated endpoints when relay endpoints become
|
|
2079
|
+
# unhealthy. Note, player gateway is only available for fleets using
|
|
2080
|
+
# server SDK 5.x or later game server builds.
|
|
2081
|
+
#
|
|
2082
|
+
# **How it works:** When enabled, game clients connect to relay
|
|
2083
|
+
# endpoints instead of to your game servers. Player gateway validates
|
|
2084
|
+
# player gateway tokens and routes traffic to the appropriate game
|
|
2085
|
+
# server. Your game backend calls [GetPlayerConnectionDetails][1] to
|
|
2086
|
+
# retrieve relay endpoints and player gateway tokens for your game
|
|
2087
|
+
# clients. To learn more about this topic, see [DDoS protection with
|
|
2088
|
+
# Amazon GameLift Servers player gateway][2].
|
|
2089
|
+
#
|
|
2090
|
+
# Possible values include:
|
|
2091
|
+
#
|
|
2092
|
+
# * `DISABLED` (default) -- Game clients connect to the game server
|
|
2093
|
+
# endpoint. Use this when you do not intend to integrate your game
|
|
2094
|
+
# with player gateway.
|
|
2095
|
+
#
|
|
2096
|
+
# * `ENABLED` -- Player gateway is available in fleet locations where it
|
|
2097
|
+
# is supported. Your game backend can call
|
|
2098
|
+
# [GetPlayerConnectionDetails][1] to obtain a player gateway token and
|
|
2099
|
+
# endpoints for game clients.
|
|
2100
|
+
#
|
|
2101
|
+
# * `REQUIRED` -- Player gateway is available in fleet locations where
|
|
2102
|
+
# it is supported, and the fleet can only use locations that support
|
|
2103
|
+
# this feature. Attempting to add a remote location to your fleet
|
|
2104
|
+
# which does not support player gateway will result in an
|
|
2105
|
+
# `InvalidRequestException`.
|
|
2106
|
+
#
|
|
2107
|
+
#
|
|
2108
|
+
#
|
|
2109
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_GetPlayerConnectionDetails.html
|
|
2110
|
+
# [2]: https://docs.aws.amazon.com/gameliftservers/latest/developerguide/ddos-protection-intro.html
|
|
2111
|
+
#
|
|
2112
|
+
# @option params [Types::PlayerGatewayConfiguration] :player_gateway_configuration
|
|
2113
|
+
# Configuration settings for player gateway. Use this to specify
|
|
2114
|
+
# advanced options for how player gateway handles connections.
|
|
2115
|
+
#
|
|
2034
2116
|
# @return [Types::CreateFleetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2035
2117
|
#
|
|
2036
2118
|
# * {Types::CreateFleetOutput#fleet_attributes #fleet_attributes} => Types::FleetAttributes
|
|
@@ -2095,6 +2177,10 @@ module Aws::GameLift
|
|
|
2095
2177
|
# cost: "NonNegativeLimitedLengthDouble", # required
|
|
2096
2178
|
# },
|
|
2097
2179
|
# instance_role_credentials_provider: "SHARED_CREDENTIAL_FILE", # accepts SHARED_CREDENTIAL_FILE
|
|
2180
|
+
# player_gateway_mode: "DISABLED", # accepts DISABLED, ENABLED, REQUIRED
|
|
2181
|
+
# player_gateway_configuration: {
|
|
2182
|
+
# game_server_ip_protocol_supported: "IPv4", # accepts IPv4, DUAL_STACK
|
|
2183
|
+
# },
|
|
2098
2184
|
# })
|
|
2099
2185
|
#
|
|
2100
2186
|
# @example Response structure
|
|
@@ -2129,9 +2215,12 @@ module Aws::GameLift
|
|
|
2129
2215
|
# resp.fleet_attributes.compute_type #=> String, one of "EC2", "ANYWHERE"
|
|
2130
2216
|
# resp.fleet_attributes.anywhere_configuration.cost #=> String
|
|
2131
2217
|
# resp.fleet_attributes.instance_role_credentials_provider #=> String, one of "SHARED_CREDENTIAL_FILE"
|
|
2218
|
+
# resp.fleet_attributes.player_gateway_mode #=> String, one of "DISABLED", "ENABLED", "REQUIRED"
|
|
2219
|
+
# resp.fleet_attributes.player_gateway_configuration.game_server_ip_protocol_supported #=> String, one of "IPv4", "DUAL_STACK"
|
|
2132
2220
|
# resp.location_states #=> Array
|
|
2133
2221
|
# resp.location_states[0].location #=> String
|
|
2134
2222
|
# resp.location_states[0].status #=> String, one of "NEW", "DOWNLOADING", "VALIDATING", "BUILDING", "ACTIVATING", "ACTIVE", "DELETING", "ERROR", "TERMINATED", "NOT_FOUND"
|
|
2223
|
+
# resp.location_states[0].player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
2135
2224
|
#
|
|
2136
2225
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleet AWS API Documentation
|
|
2137
2226
|
#
|
|
@@ -2212,6 +2301,7 @@ module Aws::GameLift
|
|
|
2212
2301
|
# resp.location_states #=> Array
|
|
2213
2302
|
# resp.location_states[0].location #=> String
|
|
2214
2303
|
# resp.location_states[0].status #=> String, one of "NEW", "DOWNLOADING", "VALIDATING", "BUILDING", "ACTIVATING", "ACTIVE", "DELETING", "ERROR", "TERMINATED", "NOT_FOUND"
|
|
2304
|
+
# resp.location_states[0].player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
2215
2305
|
#
|
|
2216
2306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleetLocations AWS API Documentation
|
|
2217
2307
|
#
|
|
@@ -2547,10 +2637,15 @@ module Aws::GameLift
|
|
|
2547
2637
|
# For example: `{"Key": "difficulty", "Value": "novice"}`. For an
|
|
2548
2638
|
# example, see [Create a game session with custom properties][1].
|
|
2549
2639
|
#
|
|
2550
|
-
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
2551
|
-
#
|
|
2552
|
-
#
|
|
2553
|
-
#
|
|
2640
|
+
# <note markdown="1"> * Avoid using periods (".") in property keys if you plan to search
|
|
2641
|
+
# for game sessions by properties. Property keys containing periods
|
|
2642
|
+
# cannot be searched and will be filtered out from search results due
|
|
2643
|
+
# to search index limitations.
|
|
2644
|
+
#
|
|
2645
|
+
# * If you use SearchGameSessions API, there is a limit of 500 game
|
|
2646
|
+
# property keys across all game sessions and all fleets per region. If
|
|
2647
|
+
# the limit is exceeded, there will potentially be game session
|
|
2648
|
+
# entries missing from SearchGameSessions API results.
|
|
2554
2649
|
#
|
|
2555
2650
|
# </note>
|
|
2556
2651
|
#
|
|
@@ -2659,6 +2754,7 @@ module Aws::GameLift
|
|
|
2659
2754
|
# resp.game_session.game_session_data #=> String
|
|
2660
2755
|
# resp.game_session.matchmaker_data #=> String
|
|
2661
2756
|
# resp.game_session.location #=> String
|
|
2757
|
+
# resp.game_session.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
2662
2758
|
#
|
|
2663
2759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameSession AWS API Documentation
|
|
2664
2760
|
#
|
|
@@ -3044,10 +3140,15 @@ module Aws::GameLift
|
|
|
3044
3140
|
# for a successful match. This parameter is not used if `FlexMatchMode`
|
|
3045
3141
|
# is set to `STANDALONE`.
|
|
3046
3142
|
#
|
|
3047
|
-
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
3048
|
-
#
|
|
3049
|
-
#
|
|
3050
|
-
#
|
|
3143
|
+
# <note markdown="1"> * Avoid using periods (".") in property keys if you plan to search
|
|
3144
|
+
# for game sessions by properties. Property keys containing periods
|
|
3145
|
+
# cannot be searched and will be filtered out from search results due
|
|
3146
|
+
# to search index limitations.
|
|
3147
|
+
#
|
|
3148
|
+
# * If you use SearchGameSessions API, there is a limit of 500 game
|
|
3149
|
+
# property keys across all game sessions and all fleets per region. If
|
|
3150
|
+
# the limit is exceeded, there will potentially be game session
|
|
3151
|
+
# entries missing from SearchGameSessions API results.
|
|
3051
3152
|
#
|
|
3052
3153
|
# </note>
|
|
3053
3154
|
#
|
|
@@ -4042,6 +4143,7 @@ module Aws::GameLift
|
|
|
4042
4143
|
# resp.location_states #=> Array
|
|
4043
4144
|
# resp.location_states[0].location #=> String
|
|
4044
4145
|
# resp.location_states[0].status #=> String, one of "NEW", "DOWNLOADING", "VALIDATING", "BUILDING", "ACTIVATING", "ACTIVE", "DELETING", "ERROR", "TERMINATED", "NOT_FOUND"
|
|
4146
|
+
# resp.location_states[0].player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
4045
4147
|
#
|
|
4046
4148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteFleetLocations AWS API Documentation
|
|
4047
4149
|
#
|
|
@@ -4814,6 +4916,8 @@ module Aws::GameLift
|
|
|
4814
4916
|
# resp.container_fleet.location_attributes #=> Array
|
|
4815
4917
|
# resp.container_fleet.location_attributes[0].location #=> String
|
|
4816
4918
|
# resp.container_fleet.location_attributes[0].status #=> String, one of "PENDING", "CREATING", "CREATED", "ACTIVATING", "ACTIVE", "UPDATING", "DELETING"
|
|
4919
|
+
# resp.container_fleet.location_attributes[0].player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
4920
|
+
# resp.container_fleet.player_gateway_mode #=> String, one of "DISABLED", "ENABLED", "REQUIRED"
|
|
4817
4921
|
#
|
|
4818
4922
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeContainerFleet AWS API Documentation
|
|
4819
4923
|
#
|
|
@@ -5041,8 +5145,7 @@ module Aws::GameLift
|
|
|
5041
5145
|
req.send_request(options)
|
|
5042
5146
|
end
|
|
5043
5147
|
|
|
5044
|
-
# **This API works with the following fleet types:** EC2, Anywhere
|
|
5045
|
-
# Container
|
|
5148
|
+
# **This API works with the following fleet types:** EC2, Anywhere
|
|
5046
5149
|
#
|
|
5047
5150
|
# Retrieves core fleet-wide properties for fleets in an Amazon Web
|
|
5048
5151
|
# Services Region. Properties include the computing hardware and
|
|
@@ -5141,6 +5244,8 @@ module Aws::GameLift
|
|
|
5141
5244
|
# resp.fleet_attributes[0].compute_type #=> String, one of "EC2", "ANYWHERE"
|
|
5142
5245
|
# resp.fleet_attributes[0].anywhere_configuration.cost #=> String
|
|
5143
5246
|
# resp.fleet_attributes[0].instance_role_credentials_provider #=> String, one of "SHARED_CREDENTIAL_FILE"
|
|
5247
|
+
# resp.fleet_attributes[0].player_gateway_mode #=> String, one of "DISABLED", "ENABLED", "REQUIRED"
|
|
5248
|
+
# resp.fleet_attributes[0].player_gateway_configuration.game_server_ip_protocol_supported #=> String, one of "IPv4", "DUAL_STACK"
|
|
5144
5249
|
# resp.next_token #=> String
|
|
5145
5250
|
#
|
|
5146
5251
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetAttributes AWS API Documentation
|
|
@@ -5488,6 +5593,7 @@ module Aws::GameLift
|
|
|
5488
5593
|
# resp.location_attributes #=> Array
|
|
5489
5594
|
# resp.location_attributes[0].location_state.location #=> String
|
|
5490
5595
|
# resp.location_attributes[0].location_state.status #=> String, one of "NEW", "DOWNLOADING", "VALIDATING", "BUILDING", "ACTIVATING", "ACTIVE", "DELETING", "ERROR", "TERMINATED", "NOT_FOUND"
|
|
5596
|
+
# resp.location_attributes[0].location_state.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
5491
5597
|
# resp.location_attributes[0].stopped_actions #=> Array
|
|
5492
5598
|
# resp.location_attributes[0].stopped_actions[0] #=> String, one of "AUTO_SCALING"
|
|
5493
5599
|
# resp.location_attributes[0].update_status #=> String, one of "PENDING_UPDATE"
|
|
@@ -6137,6 +6243,7 @@ module Aws::GameLift
|
|
|
6137
6243
|
# resp.game_session_details[0].game_session.game_session_data #=> String
|
|
6138
6244
|
# resp.game_session_details[0].game_session.matchmaker_data #=> String
|
|
6139
6245
|
# resp.game_session_details[0].game_session.location #=> String
|
|
6246
|
+
# resp.game_session_details[0].game_session.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
6140
6247
|
# resp.game_session_details[0].protection_policy #=> String, one of "NoProtection", "FullProtection"
|
|
6141
6248
|
# resp.next_token #=> String
|
|
6142
6249
|
#
|
|
@@ -6163,7 +6270,14 @@ module Aws::GameLift
|
|
|
6163
6270
|
# Notification Service (SNS) topic to receive notifications from
|
|
6164
6271
|
# FlexMatch or queues. Continuously polling with
|
|
6165
6272
|
# `DescribeGameSessionPlacement` should only be used for games in
|
|
6166
|
-
# development with low game session usage.
|
|
6273
|
+
# development with low game session usage. For a reference
|
|
6274
|
+
# implementation of event-based game session placement tracking, see [
|
|
6275
|
+
# Event-based game session placement guidance][1] in the Amazon GameLift
|
|
6276
|
+
# Toolkit.
|
|
6277
|
+
#
|
|
6278
|
+
#
|
|
6279
|
+
#
|
|
6280
|
+
# [1]: https://github.com/amazon-gamelift/amazon-gamelift-toolkit/tree/main/event-based-session-placement
|
|
6167
6281
|
#
|
|
6168
6282
|
# @option params [required, String] :placement_id
|
|
6169
6283
|
# A unique identifier for a game session placement to retrieve.
|
|
@@ -6208,6 +6322,7 @@ module Aws::GameLift
|
|
|
6208
6322
|
# resp.game_session_placement.priority_configuration_override.placement_fallback_strategy #=> String, one of "DEFAULT_AFTER_SINGLE_PASS", "NONE"
|
|
6209
6323
|
# resp.game_session_placement.priority_configuration_override.location_order #=> Array
|
|
6210
6324
|
# resp.game_session_placement.priority_configuration_override.location_order[0] #=> String
|
|
6325
|
+
# resp.game_session_placement.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
6211
6326
|
#
|
|
6212
6327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionPlacement AWS API Documentation
|
|
6213
6328
|
#
|
|
@@ -6422,6 +6537,7 @@ module Aws::GameLift
|
|
|
6422
6537
|
# resp.game_sessions[0].game_session_data #=> String
|
|
6423
6538
|
# resp.game_sessions[0].matchmaker_data #=> String
|
|
6424
6539
|
# resp.game_sessions[0].location #=> String
|
|
6540
|
+
# resp.game_sessions[0].player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
6425
6541
|
# resp.next_token #=> String
|
|
6426
6542
|
#
|
|
6427
6543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessions AWS API Documentation
|
|
@@ -6433,7 +6549,7 @@ module Aws::GameLift
|
|
|
6433
6549
|
req.send_request(options)
|
|
6434
6550
|
end
|
|
6435
6551
|
|
|
6436
|
-
# **This API works with the following fleet types:**
|
|
6552
|
+
# **This API works with the following fleet types:**EC2, Container
|
|
6437
6553
|
#
|
|
6438
6554
|
# Retrieves information about the EC2 instances in an Amazon GameLift
|
|
6439
6555
|
# Servers managed fleet, including instance ID, connection data, and
|
|
@@ -6615,6 +6731,7 @@ module Aws::GameLift
|
|
|
6615
6731
|
# resp.ticket_list[0].game_session_connection_info.matched_player_sessions #=> Array
|
|
6616
6732
|
# resp.ticket_list[0].game_session_connection_info.matched_player_sessions[0].player_id #=> String
|
|
6617
6733
|
# resp.ticket_list[0].game_session_connection_info.matched_player_sessions[0].player_session_id #=> String
|
|
6734
|
+
# resp.ticket_list[0].game_session_connection_info.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
6618
6735
|
# resp.ticket_list[0].estimated_wait_time #=> Integer
|
|
6619
6736
|
#
|
|
6620
6737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmaking AWS API Documentation
|
|
@@ -7522,6 +7639,78 @@ module Aws::GameLift
|
|
|
7522
7639
|
req.send_request(options)
|
|
7523
7640
|
end
|
|
7524
7641
|
|
|
7642
|
+
# **This API works with the following fleet types:** EC2 (server SDK 5.x
|
|
7643
|
+
# or later), Container
|
|
7644
|
+
#
|
|
7645
|
+
# Retrieves connection details for game clients to connect to game
|
|
7646
|
+
# sessions.
|
|
7647
|
+
#
|
|
7648
|
+
# **Player gateway benefits:** DDoS protection with negligible impact to
|
|
7649
|
+
# latency.
|
|
7650
|
+
#
|
|
7651
|
+
# To enable player gateway on your fleet, set `PlayerGatewayMode` to
|
|
7652
|
+
# `ENABLED` or `REQUIRED` when calling [CreateFleet][1] or
|
|
7653
|
+
# [CreateContainerFleet][2].
|
|
7654
|
+
#
|
|
7655
|
+
# **How to use:** After creating a game session and adding players, call
|
|
7656
|
+
# this operation with the game session ID and player IDs. When player
|
|
7657
|
+
# gateway is enabled, the response includes connection endpoints and
|
|
7658
|
+
# player gateway tokens that your game clients can use to connect to the
|
|
7659
|
+
# game session through player gateway. To learn more about player
|
|
7660
|
+
# gateway integration, see [DDoS protection with Amazon GameLift Servers
|
|
7661
|
+
# player gateway][3].
|
|
7662
|
+
#
|
|
7663
|
+
# When player gateway is disabled or in locations where player gateway
|
|
7664
|
+
# is not supported, this operation returns game server connection
|
|
7665
|
+
# information without player gateway tokens, so that your game clients
|
|
7666
|
+
# directly connect to the game server endpoint.
|
|
7667
|
+
#
|
|
7668
|
+
#
|
|
7669
|
+
#
|
|
7670
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateFleet.html
|
|
7671
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateContainerFleet.html
|
|
7672
|
+
# [3]: https://docs.aws.amazon.com/gameliftservers/latest/developerguide/ddos-protection-intro.html
|
|
7673
|
+
#
|
|
7674
|
+
# @option params [required, String] :game_session_id
|
|
7675
|
+
# A unique identifier for the game session for which to retrieve player
|
|
7676
|
+
# connection details.
|
|
7677
|
+
#
|
|
7678
|
+
# @option params [required, Array<String>] :player_ids
|
|
7679
|
+
# List of unique identifiers for players. Connection details are
|
|
7680
|
+
# returned for each player in this list.
|
|
7681
|
+
#
|
|
7682
|
+
# @return [Types::GetPlayerConnectionDetailsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7683
|
+
#
|
|
7684
|
+
# * {Types::GetPlayerConnectionDetailsOutput#game_session_id #game_session_id} => String
|
|
7685
|
+
# * {Types::GetPlayerConnectionDetailsOutput#player_connection_details #player_connection_details} => Array<Types::PlayerConnectionDetail>
|
|
7686
|
+
#
|
|
7687
|
+
# @example Request syntax with placeholder values
|
|
7688
|
+
#
|
|
7689
|
+
# resp = client.get_player_connection_details({
|
|
7690
|
+
# game_session_id: "ArnStringModel", # required
|
|
7691
|
+
# player_ids: ["PlayerId"], # required
|
|
7692
|
+
# })
|
|
7693
|
+
#
|
|
7694
|
+
# @example Response structure
|
|
7695
|
+
#
|
|
7696
|
+
# resp.game_session_id #=> String
|
|
7697
|
+
# resp.player_connection_details #=> Array
|
|
7698
|
+
# resp.player_connection_details[0].player_id #=> String
|
|
7699
|
+
# resp.player_connection_details[0].endpoints #=> Array
|
|
7700
|
+
# resp.player_connection_details[0].endpoints[0].ip_address #=> String
|
|
7701
|
+
# resp.player_connection_details[0].endpoints[0].port #=> Integer
|
|
7702
|
+
# resp.player_connection_details[0].player_gateway_token #=> String
|
|
7703
|
+
# resp.player_connection_details[0].expiration #=> Time
|
|
7704
|
+
#
|
|
7705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GetPlayerConnectionDetails AWS API Documentation
|
|
7706
|
+
#
|
|
7707
|
+
# @overload get_player_connection_details(params = {})
|
|
7708
|
+
# @param [Hash] params ({})
|
|
7709
|
+
def get_player_connection_details(params = {}, options = {})
|
|
7710
|
+
req = build_request(:get_player_connection_details, params)
|
|
7711
|
+
req.send_request(options)
|
|
7712
|
+
end
|
|
7713
|
+
|
|
7525
7714
|
# **This API works with the following fleet types:** EC2, Anywhere,
|
|
7526
7715
|
# Container
|
|
7527
7716
|
#
|
|
@@ -7910,6 +8099,8 @@ module Aws::GameLift
|
|
|
7910
8099
|
# resp.container_fleets[0].location_attributes #=> Array
|
|
7911
8100
|
# resp.container_fleets[0].location_attributes[0].location #=> String
|
|
7912
8101
|
# resp.container_fleets[0].location_attributes[0].status #=> String, one of "PENDING", "CREATING", "CREATED", "ACTIVATING", "ACTIVE", "UPDATING", "DELETING"
|
|
8102
|
+
# resp.container_fleets[0].location_attributes[0].player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
8103
|
+
# resp.container_fleets[0].player_gateway_mode #=> String, one of "DISABLED", "ENABLED", "REQUIRED"
|
|
7913
8104
|
# resp.next_token #=> String
|
|
7914
8105
|
#
|
|
7915
8106
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListContainerFleets AWS API Documentation
|
|
@@ -9324,10 +9515,15 @@ module Aws::GameLift
|
|
|
9324
9515
|
# For examples of searching game sessions, see the ones below, and
|
|
9325
9516
|
# also see [Search game sessions by game property][3].
|
|
9326
9517
|
#
|
|
9327
|
-
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
9328
|
-
#
|
|
9329
|
-
#
|
|
9330
|
-
#
|
|
9518
|
+
# <note markdown="1"> * Avoid using periods (".") in property keys if you plan to search
|
|
9519
|
+
# for game sessions by properties. Property keys containing periods
|
|
9520
|
+
# cannot be searched and will be filtered out from search results
|
|
9521
|
+
# due to search index limitations.
|
|
9522
|
+
#
|
|
9523
|
+
# * If you use SearchGameSessions API, there is a limit of 500 game
|
|
9524
|
+
# property keys across all game sessions and all fleets per region.
|
|
9525
|
+
# If the limit is exceeded, there will potentially be game session
|
|
9526
|
+
# entries missing from SearchGameSessions API results.
|
|
9331
9527
|
#
|
|
9332
9528
|
# </note>
|
|
9333
9529
|
#
|
|
@@ -9498,6 +9694,7 @@ module Aws::GameLift
|
|
|
9498
9694
|
# resp.game_sessions[0].game_session_data #=> String
|
|
9499
9695
|
# resp.game_sessions[0].matchmaker_data #=> String
|
|
9500
9696
|
# resp.game_sessions[0].location #=> String
|
|
9697
|
+
# resp.game_sessions[0].player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
9501
9698
|
# resp.next_token #=> String
|
|
9502
9699
|
#
|
|
9503
9700
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/SearchGameSessions AWS API Documentation
|
|
@@ -9686,10 +9883,15 @@ module Aws::GameLift
|
|
|
9686
9883
|
# A set of key-value pairs that can store custom data in a game session.
|
|
9687
9884
|
# For example: `{"Key": "difficulty", "Value": "novice"}`.
|
|
9688
9885
|
#
|
|
9689
|
-
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
9690
|
-
#
|
|
9691
|
-
#
|
|
9692
|
-
#
|
|
9886
|
+
# <note markdown="1"> * Avoid using periods (".") in property keys if you plan to search
|
|
9887
|
+
# for game sessions by properties. Property keys containing periods
|
|
9888
|
+
# cannot be searched and will be filtered out from search results due
|
|
9889
|
+
# to search index limitations.
|
|
9890
|
+
#
|
|
9891
|
+
# * If you use SearchGameSessions API, there is a limit of 500 game
|
|
9892
|
+
# property keys across all game sessions and all fleets per region. If
|
|
9893
|
+
# the limit is exceeded, there will potentially be game session
|
|
9894
|
+
# entries missing from SearchGameSessions API results.
|
|
9693
9895
|
#
|
|
9694
9896
|
# </note>
|
|
9695
9897
|
#
|
|
@@ -9800,6 +10002,7 @@ module Aws::GameLift
|
|
|
9800
10002
|
# resp.game_session_placement.priority_configuration_override.placement_fallback_strategy #=> String, one of "DEFAULT_AFTER_SINGLE_PASS", "NONE"
|
|
9801
10003
|
# resp.game_session_placement.priority_configuration_override.location_order #=> Array
|
|
9802
10004
|
# resp.game_session_placement.priority_configuration_override.location_order[0] #=> String
|
|
10005
|
+
# resp.game_session_placement.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
9803
10006
|
#
|
|
9804
10007
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartGameSessionPlacement AWS API Documentation
|
|
9805
10008
|
#
|
|
@@ -9951,6 +10154,7 @@ module Aws::GameLift
|
|
|
9951
10154
|
# resp.matchmaking_ticket.game_session_connection_info.matched_player_sessions #=> Array
|
|
9952
10155
|
# resp.matchmaking_ticket.game_session_connection_info.matched_player_sessions[0].player_id #=> String
|
|
9953
10156
|
# resp.matchmaking_ticket.game_session_connection_info.matched_player_sessions[0].player_session_id #=> String
|
|
10157
|
+
# resp.matchmaking_ticket.game_session_connection_info.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
9954
10158
|
# resp.matchmaking_ticket.estimated_wait_time #=> Integer
|
|
9955
10159
|
#
|
|
9956
10160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartMatchBackfill AWS API Documentation
|
|
@@ -10068,6 +10272,7 @@ module Aws::GameLift
|
|
|
10068
10272
|
# resp.matchmaking_ticket.game_session_connection_info.matched_player_sessions #=> Array
|
|
10069
10273
|
# resp.matchmaking_ticket.game_session_connection_info.matched_player_sessions[0].player_id #=> String
|
|
10070
10274
|
# resp.matchmaking_ticket.game_session_connection_info.matched_player_sessions[0].player_session_id #=> String
|
|
10275
|
+
# resp.matchmaking_ticket.game_session_connection_info.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
10071
10276
|
# resp.matchmaking_ticket.estimated_wait_time #=> Integer
|
|
10072
10277
|
#
|
|
10073
10278
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartMatchmaking AWS API Documentation
|
|
@@ -10217,6 +10422,7 @@ module Aws::GameLift
|
|
|
10217
10422
|
# resp.game_session_placement.priority_configuration_override.placement_fallback_strategy #=> String, one of "DEFAULT_AFTER_SINGLE_PASS", "NONE"
|
|
10218
10423
|
# resp.game_session_placement.priority_configuration_override.location_order #=> Array
|
|
10219
10424
|
# resp.game_session_placement.priority_configuration_override.location_order[0] #=> String
|
|
10425
|
+
# resp.game_session_placement.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
10220
10426
|
#
|
|
10221
10427
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopGameSessionPlacement AWS API Documentation
|
|
10222
10428
|
#
|
|
@@ -10551,6 +10757,7 @@ module Aws::GameLift
|
|
|
10551
10757
|
# resp.game_session.game_session_data #=> String
|
|
10552
10758
|
# resp.game_session.matchmaker_data #=> String
|
|
10553
10759
|
# resp.game_session.location #=> String
|
|
10760
|
+
# resp.game_session.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
10554
10761
|
#
|
|
10555
10762
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/TerminateGameSession AWS API Documentation
|
|
10556
10763
|
#
|
|
@@ -11000,6 +11207,8 @@ module Aws::GameLift
|
|
|
11000
11207
|
# resp.container_fleet.location_attributes #=> Array
|
|
11001
11208
|
# resp.container_fleet.location_attributes[0].location #=> String
|
|
11002
11209
|
# resp.container_fleet.location_attributes[0].status #=> String, one of "PENDING", "CREATING", "CREATED", "ACTIVATING", "ACTIVE", "UPDATING", "DELETING"
|
|
11210
|
+
# resp.container_fleet.location_attributes[0].player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
11211
|
+
# resp.container_fleet.player_gateway_mode #=> String, one of "DISABLED", "ENABLED", "REQUIRED"
|
|
11003
11212
|
#
|
|
11004
11213
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateContainerFleet AWS API Documentation
|
|
11005
11214
|
#
|
|
@@ -11867,10 +12076,15 @@ module Aws::GameLift
|
|
|
11867
12076
|
# There is no way to delete properties. For an example, see [Update the
|
|
11868
12077
|
# value of a game property][1].
|
|
11869
12078
|
#
|
|
11870
|
-
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
11871
|
-
#
|
|
11872
|
-
#
|
|
11873
|
-
#
|
|
12079
|
+
# <note markdown="1"> * Avoid using periods (".") in property keys if you plan to search
|
|
12080
|
+
# for game sessions by properties. Property keys containing periods
|
|
12081
|
+
# cannot be searched and will be filtered out from search results due
|
|
12082
|
+
# to search index limitations.
|
|
12083
|
+
#
|
|
12084
|
+
# * If you use SearchGameSessions API, there is a limit of 500 game
|
|
12085
|
+
# property keys across all game sessions and all fleets per region. If
|
|
12086
|
+
# the limit is exceeded, there will potentially be game session
|
|
12087
|
+
# entries missing from SearchGameSessions API results.
|
|
11874
12088
|
#
|
|
11875
12089
|
# </note>
|
|
11876
12090
|
#
|
|
@@ -11921,6 +12135,7 @@ module Aws::GameLift
|
|
|
11921
12135
|
# resp.game_session.game_session_data #=> String
|
|
11922
12136
|
# resp.game_session.matchmaker_data #=> String
|
|
11923
12137
|
# resp.game_session.location #=> String
|
|
12138
|
+
# resp.game_session.player_gateway_status #=> String, one of "DISABLED", "ENABLED"
|
|
11924
12139
|
#
|
|
11925
12140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSession AWS API Documentation
|
|
11926
12141
|
#
|
|
@@ -12149,10 +12364,15 @@ module Aws::GameLift
|
|
|
12149
12364
|
# for a successful match. This parameter is not used if `FlexMatchMode`
|
|
12150
12365
|
# is set to `STANDALONE`.
|
|
12151
12366
|
#
|
|
12152
|
-
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
12153
|
-
#
|
|
12154
|
-
#
|
|
12155
|
-
#
|
|
12367
|
+
# <note markdown="1"> * Avoid using periods (".") in property keys if you plan to search
|
|
12368
|
+
# for game sessions by properties. Property keys containing periods
|
|
12369
|
+
# cannot be searched and will be filtered out from search results due
|
|
12370
|
+
# to search index limitations.
|
|
12371
|
+
#
|
|
12372
|
+
# * If you use SearchGameSessions API, there is a limit of 500 game
|
|
12373
|
+
# property keys across all game sessions and all fleets per region. If
|
|
12374
|
+
# the limit is exceeded, there will potentially be game session
|
|
12375
|
+
# entries missing from SearchGameSessions API results.
|
|
12156
12376
|
#
|
|
12157
12377
|
# </note>
|
|
12158
12378
|
#
|
|
@@ -12504,7 +12724,7 @@ module Aws::GameLift
|
|
|
12504
12724
|
tracer: tracer
|
|
12505
12725
|
)
|
|
12506
12726
|
context[:gem_name] = 'aws-sdk-gamelift'
|
|
12507
|
-
context[:gem_version] = '1.
|
|
12727
|
+
context[:gem_version] = '1.121.0'
|
|
12508
12728
|
Seahorse::Client::Request.new(handlers, context)
|
|
12509
12729
|
end
|
|
12510
12730
|
|