aws-sdk-gamelift 1.73.0 → 1.75.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 +58 -50
- data/lib/aws-sdk-gamelift/client_api.rb +1 -0
- data/lib/aws-sdk-gamelift/plugins/endpoints.rb +3 -2
- data/lib/aws-sdk-gamelift/types.rb +68 -80
- data/lib/aws-sdk-gamelift.rb +1 -1
- 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: 9c9dd4058b046bfd07e0cad47e29fad98954c734f0df440d62aa3788a3ab5eda
|
4
|
+
data.tar.gz: 19559d5b1e54174006d8f2032f348673cf8da61fe5e8548bf7e2100f629dea41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db0e00c16abe03100b88ee439a11a85fa5950b543485e320ea335285aaf78b2a4915f0cb89800a70e8b318ca4b55c450fafe7af4ee10fc5197e61867ba51f111
|
7
|
+
data.tar.gz: 886f46eec28a73607ca3824c1a7bfe37445e54fc0f7dc85ff1980861d87f56794c2bf60aaf66a6e6ca8fca25867bc15e11b1c695f287de8f8abd18a110e1ceca
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.75.0 (2023-12-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon GameLift adds the ability to add and update the game properties of active game sessions.
|
8
|
+
|
9
|
+
1.74.0 (2023-11-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.73.0 (2023-11-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.75.0
|
@@ -1604,13 +1604,13 @@ module Aws::GameLift
|
|
1604
1604
|
# names do not need to be unique.
|
1605
1605
|
#
|
1606
1606
|
# @option params [Array<Types::GameProperty>] :game_properties
|
1607
|
-
# A set of custom
|
1608
|
-
#
|
1609
|
-
#
|
1607
|
+
# A set of key-value pairs that can store custom data in a game session.
|
1608
|
+
# For example: `\{"Key": "difficulty", "Value": "novice"\}`. For an
|
1609
|
+
# example, see [Create a game session with custom properties][1].
|
1610
1610
|
#
|
1611
1611
|
#
|
1612
1612
|
#
|
1613
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-
|
1613
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-create
|
1614
1614
|
#
|
1615
1615
|
# @option params [String] :creator_id
|
1616
1616
|
# A unique identifier for a player or entity creating the game session.
|
@@ -2052,16 +2052,11 @@ module Aws::GameLift
|
|
2052
2052
|
# configuration.
|
2053
2053
|
#
|
2054
2054
|
# @option params [Array<Types::GameProperty>] :game_properties
|
2055
|
-
# A set of custom
|
2056
|
-
#
|
2057
|
-
#
|
2058
|
-
# This
|
2059
|
-
#
|
2060
|
-
# `FlexMatchMode` is set to `STANDALONE`.
|
2061
|
-
#
|
2062
|
-
#
|
2063
|
-
#
|
2064
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
2055
|
+
# A set of key-value pairs that can store custom data in a game session.
|
2056
|
+
# For example: `\{"Key": "difficulty", "Value": "novice"\}`. This
|
2057
|
+
# information is added to the new `GameSession` object that is created
|
2058
|
+
# for a successful match. This parameter is not used if `FlexMatchMode`
|
2059
|
+
# is set to `STANDALONE`.
|
2065
2060
|
#
|
2066
2061
|
# @option params [String] :game_session_data
|
2067
2062
|
# A set of custom game session properties, formatted as a single string
|
@@ -7108,13 +7103,11 @@ module Aws::GameLift
|
|
7108
7103
|
# Retrieves all active game sessions that match a set of search criteria
|
7109
7104
|
# and sorts them into a specified order.
|
7110
7105
|
#
|
7111
|
-
# This operation is not designed to
|
7112
|
-
#
|
7113
|
-
#
|
7114
|
-
#
|
7115
|
-
#
|
7116
|
-
# session status with `DescribeGameSessions` should only be used for
|
7117
|
-
# games in development with low game session usage.
|
7106
|
+
# This operation is not designed to continually track game session
|
7107
|
+
# status because that practice can cause you to exceed your API limit
|
7108
|
+
# and generate errors. Instead, configure an Amazon Simple Notification
|
7109
|
+
# Service (Amazon SNS) topic to receive notifications from a matchmaker
|
7110
|
+
# or game session placement queue.
|
7118
7111
|
#
|
7119
7112
|
# When searching for game sessions, you specify exactly where you want
|
7120
7113
|
# to search and provide a search filter expression, a sort expression,
|
@@ -7141,7 +7134,9 @@ module Aws::GameLift
|
|
7141
7134
|
# in `ACTIVE` status only. To retrieve information on game sessions in
|
7142
7135
|
# other statuses, use [DescribeGameSessions][1] .
|
7143
7136
|
#
|
7144
|
-
#
|
7137
|
+
# To set search and sort criteria, create a filter expression using the
|
7138
|
+
# following game session attributes. For game session search examples,
|
7139
|
+
# see the Examples section of this topic.
|
7145
7140
|
#
|
7146
7141
|
# * **gameSessionId** -- A unique identifier for the game session. You
|
7147
7142
|
# can use either a `GameSessionId` or `GameSessionArn` value.
|
@@ -7149,14 +7144,18 @@ module Aws::GameLift
|
|
7149
7144
|
# * **gameSessionName** -- Name assigned to a game session. Game session
|
7150
7145
|
# names do not need to be unique to a game session.
|
7151
7146
|
#
|
7152
|
-
# * **gameSessionProperties** --
|
7153
|
-
#
|
7154
|
-
#
|
7155
|
-
#
|
7156
|
-
#
|
7157
|
-
#
|
7158
|
-
#
|
7159
|
-
#
|
7147
|
+
# * **gameSessionProperties** -- A set of key-value pairs that can store
|
7148
|
+
# custom data in a game session. For example: `\{"Key": "difficulty",
|
7149
|
+
# "Value": "novice"\}`. The filter expression must specify the
|
7150
|
+
# GameProperty -- a `Key` and a string `Value` to search for the game
|
7151
|
+
# sessions.
|
7152
|
+
#
|
7153
|
+
# For example, to search for the above key-value pair, specify the
|
7154
|
+
# following search filter: `gameSessionProperties.difficulty =
|
7155
|
+
# "novice"`. All game property values are searched as strings.
|
7156
|
+
#
|
7157
|
+
# For examples of searching game sessions, see the ones below, and
|
7158
|
+
# also see [Search game sessions by game property][2].
|
7160
7159
|
#
|
7161
7160
|
# * **maximumSessions** -- Maximum number of player sessions allowed for
|
7162
7161
|
# a game session.
|
@@ -7182,12 +7181,13 @@ module Aws::GameLift
|
|
7182
7181
|
#
|
7183
7182
|
# </note>
|
7184
7183
|
#
|
7185
|
-
# [All APIs by task][
|
7184
|
+
# [All APIs by task][3]
|
7186
7185
|
#
|
7187
7186
|
#
|
7188
7187
|
#
|
7189
7188
|
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessions.html
|
7190
|
-
# [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/
|
7189
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-search
|
7190
|
+
# [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets
|
7191
7191
|
#
|
7192
7192
|
# @option params [String] :fleet_id
|
7193
7193
|
# A unique identifier for the fleet to search for active game sessions.
|
@@ -7459,13 +7459,8 @@ module Aws::GameLift
|
|
7459
7459
|
# either the queue name or ARN value.
|
7460
7460
|
#
|
7461
7461
|
# @option params [Array<Types::GameProperty>] :game_properties
|
7462
|
-
# A set of custom
|
7463
|
-
#
|
7464
|
-
# request to start a new game session (see [Start a Game Session][1]).
|
7465
|
-
#
|
7466
|
-
#
|
7467
|
-
#
|
7468
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
7462
|
+
# A set of key-value pairs that can store custom data in a game session.
|
7463
|
+
# For example: `\{"Key": "difficulty", "Value": "novice"\}`.
|
7469
7464
|
#
|
7470
7465
|
# @option params [required, Integer] :maximum_player_session_count
|
7471
7466
|
# The maximum number of players that can be connected simultaneously to
|
@@ -8871,6 +8866,18 @@ module Aws::GameLift
|
|
8871
8866
|
# * **FullProtection** -- If the game session is in an `ACTIVE` status,
|
8872
8867
|
# it cannot be terminated during a scale-down event.
|
8873
8868
|
#
|
8869
|
+
# @option params [Array<Types::GameProperty>] :game_properties
|
8870
|
+
# A set of key-value pairs that can store custom data in a game session.
|
8871
|
+
# For example: `\{"Key": "difficulty", "Value": "novice"\}`. You can use
|
8872
|
+
# this parameter to modify game properties in an active game session.
|
8873
|
+
# This action adds new properties and modifies existing properties.
|
8874
|
+
# There is no way to delete properties. For an example, see [Update the
|
8875
|
+
# value of a game property][1].
|
8876
|
+
#
|
8877
|
+
#
|
8878
|
+
#
|
8879
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-update
|
8880
|
+
#
|
8874
8881
|
# @return [Types::UpdateGameSessionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8875
8882
|
#
|
8876
8883
|
# * {Types::UpdateGameSessionOutput#game_session #game_session} => Types::GameSession
|
@@ -8883,6 +8890,12 @@ module Aws::GameLift
|
|
8883
8890
|
# name: "NonZeroAndMaxString",
|
8884
8891
|
# player_session_creation_policy: "ACCEPT_ALL", # accepts ACCEPT_ALL, DENY_ALL
|
8885
8892
|
# protection_policy: "NoProtection", # accepts NoProtection, FullProtection
|
8893
|
+
# game_properties: [
|
8894
|
+
# {
|
8895
|
+
# key: "GamePropertyKey", # required
|
8896
|
+
# value: "GamePropertyValue", # required
|
8897
|
+
# },
|
8898
|
+
# ],
|
8886
8899
|
# })
|
8887
8900
|
#
|
8888
8901
|
# @example Response structure
|
@@ -9124,16 +9137,11 @@ module Aws::GameLift
|
|
9124
9137
|
# configuration.
|
9125
9138
|
#
|
9126
9139
|
# @option params [Array<Types::GameProperty>] :game_properties
|
9127
|
-
# A set of custom
|
9128
|
-
#
|
9129
|
-
#
|
9130
|
-
# This
|
9131
|
-
#
|
9132
|
-
# `FlexMatchMode` is set to `STANDALONE`.
|
9133
|
-
#
|
9134
|
-
#
|
9135
|
-
#
|
9136
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
9140
|
+
# A set of key-value pairs that can store custom data in a game session.
|
9141
|
+
# For example: `\{"Key": "difficulty", "Value": "novice"\}`. This
|
9142
|
+
# information is added to the new `GameSession` object that is created
|
9143
|
+
# for a successful match. This parameter is not used if `FlexMatchMode`
|
9144
|
+
# is set to `STANDALONE`.
|
9137
9145
|
#
|
9138
9146
|
# @option params [String] :game_session_data
|
9139
9147
|
# A set of custom game session properties, formatted as a single string
|
@@ -9467,7 +9475,7 @@ module Aws::GameLift
|
|
9467
9475
|
params: params,
|
9468
9476
|
config: config)
|
9469
9477
|
context[:gem_name] = 'aws-sdk-gamelift'
|
9470
|
-
context[:gem_version] = '1.
|
9478
|
+
context[:gem_version] = '1.75.0'
|
9471
9479
|
Seahorse::Client::Request.new(handlers, context)
|
9472
9480
|
end
|
9473
9481
|
|
@@ -1950,6 +1950,7 @@ module Aws::GameLift
|
|
1950
1950
|
UpdateGameSessionInput.add_member(:name, Shapes::ShapeRef.new(shape: NonZeroAndMaxString, location_name: "Name"))
|
1951
1951
|
UpdateGameSessionInput.add_member(:player_session_creation_policy, Shapes::ShapeRef.new(shape: PlayerSessionCreationPolicy, location_name: "PlayerSessionCreationPolicy"))
|
1952
1952
|
UpdateGameSessionInput.add_member(:protection_policy, Shapes::ShapeRef.new(shape: ProtectionPolicy, location_name: "ProtectionPolicy"))
|
1953
|
+
UpdateGameSessionInput.add_member(:game_properties, Shapes::ShapeRef.new(shape: GamePropertyList, location_name: "GameProperties"))
|
1953
1954
|
UpdateGameSessionInput.struct_class = Types::UpdateGameSessionInput
|
1954
1955
|
|
1955
1956
|
UpdateGameSessionOutput.add_member(:game_session, Shapes::ShapeRef.new(shape: GameSession, location_name: "GameSession"))
|
@@ -25,16 +25,17 @@ module Aws::GameLift
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -1212,14 +1212,14 @@ module Aws::GameLift
|
|
1212
1212
|
# @return [String]
|
1213
1213
|
#
|
1214
1214
|
# @!attribute [rw] game_properties
|
1215
|
-
# A set of custom
|
1216
|
-
#
|
1217
|
-
#
|
1218
|
-
#
|
1215
|
+
# A set of key-value pairs that can store custom data in a game
|
1216
|
+
# session. For example: `\{"Key": "difficulty", "Value": "novice"\}`.
|
1217
|
+
# For an example, see [Create a game session with custom
|
1218
|
+
# properties][1].
|
1219
1219
|
#
|
1220
1220
|
#
|
1221
1221
|
#
|
1222
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-
|
1222
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-create
|
1223
1223
|
# @return [Array<Types::GameProperty>]
|
1224
1224
|
#
|
1225
1225
|
# @!attribute [rw] creator_id
|
@@ -1524,16 +1524,11 @@ module Aws::GameLift
|
|
1524
1524
|
# @return [String]
|
1525
1525
|
#
|
1526
1526
|
# @!attribute [rw] game_properties
|
1527
|
-
# A set of custom
|
1528
|
-
#
|
1529
|
-
#
|
1530
|
-
#
|
1531
|
-
# `
|
1532
|
-
# parameter is not used if `FlexMatchMode` is set to `STANDALONE`.
|
1533
|
-
#
|
1534
|
-
#
|
1535
|
-
#
|
1536
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
1527
|
+
# A set of key-value pairs that can store custom data in a game
|
1528
|
+
# session. For example: `\{"Key": "difficulty", "Value": "novice"\}`.
|
1529
|
+
# This information is added to the new `GameSession` object that is
|
1530
|
+
# created for a successful match. This parameter is not used if
|
1531
|
+
# `FlexMatchMode` is set to `STANDALONE`.
|
1537
1532
|
# @return [Array<Types::GameProperty>]
|
1538
1533
|
#
|
1539
1534
|
# @!attribute [rw] game_session_data
|
@@ -3825,17 +3820,18 @@ module Aws::GameLift
|
|
3825
3820
|
# operating system of the Fleet.
|
3826
3821
|
#
|
3827
3822
|
# * SERVER\_PROCESS\_SDK\_INITIALIZATION\_TIMEOUT -- The server
|
3828
|
-
# process did not call InitSDK() within the time expected
|
3829
|
-
# your game session log to see why InitSDK() was
|
3823
|
+
# process did not call `InitSDK()` within the time expected (5
|
3824
|
+
# minutes). Check your game session log to see why `InitSDK()` was
|
3825
|
+
# not called in time.
|
3830
3826
|
#
|
3831
3827
|
# * SERVER\_PROCESS\_PROCESS\_READY\_TIMEOUT -- The server process did
|
3832
|
-
# not call ProcessReady() within the time expected
|
3833
|
-
# InitSDK()
|
3834
|
-
# was not called in time.
|
3828
|
+
# not call `ProcessReady()` within the time expected (5 minutes)
|
3829
|
+
# after calling `InitSDK()`. Check your game session log to see why
|
3830
|
+
# `ProcessReady()` was not called in time.
|
3835
3831
|
#
|
3836
3832
|
# * SERVER\_PROCESS\_CRASHED -- The server process exited without
|
3837
|
-
# calling ProcessEnding()
|
3838
|
-
# ProcessEnding() was not called.
|
3833
|
+
# calling `ProcessEnding()`. Check your game session log to see why
|
3834
|
+
# `ProcessEnding()` was not called.
|
3839
3835
|
#
|
3840
3836
|
# * SERVER\_PROCESS\_TERMINATED\_UNHEALTHY -- The server process did
|
3841
3837
|
# not report a valid health check for too long and was therefore
|
@@ -3843,20 +3839,20 @@ module Aws::GameLift
|
|
3843
3839
|
# thread became stuck processing a synchronous task for too long.
|
3844
3840
|
#
|
3845
3841
|
# * SERVER\_PROCESS\_FORCE\_TERMINATED -- The server process did not
|
3846
|
-
# exit cleanly after OnProcessTerminate()
|
3847
|
-
#
|
3842
|
+
# exit cleanly within the time expected after `OnProcessTerminate()`
|
3843
|
+
# was sent. Check your game session log to see why termination took
|
3848
3844
|
# longer than expected.
|
3849
3845
|
#
|
3850
3846
|
# * SERVER\_PROCESS\_PROCESS\_EXIT\_TIMEOUT -- The server process did
|
3851
|
-
# not exit cleanly within the time expected after
|
3852
|
-
# ProcessEnding()
|
3847
|
+
# not exit cleanly within the time expected (30 seconds) after
|
3848
|
+
# calling `ProcessEnding()`. Check your game session log to see why
|
3853
3849
|
# termination took longer than expected.
|
3854
3850
|
#
|
3855
3851
|
# **Game session events:**
|
3856
3852
|
#
|
3857
3853
|
# * GAME\_SESSION\_ACTIVATION\_TIMEOUT -- GameSession failed to
|
3858
3854
|
# activate within the expected time. Check your game session log to
|
3859
|
-
# see why ActivateGameSession() took longer to complete than
|
3855
|
+
# see why `ActivateGameSession()` took longer to complete than
|
3860
3856
|
# expected.
|
3861
3857
|
#
|
3862
3858
|
# ^
|
@@ -4344,17 +4340,23 @@ module Aws::GameLift
|
|
4344
4340
|
include Aws::Structure
|
4345
4341
|
end
|
4346
4342
|
|
4347
|
-
#
|
4348
|
-
#
|
4349
|
-
#
|
4350
|
-
#
|
4351
|
-
#
|
4352
|
-
#
|
4353
|
-
#
|
4343
|
+
# This key-value pair can store custom data about a game session. For
|
4344
|
+
# example, you might use a `GameProperty` to track a game session's
|
4345
|
+
# map, level of difficulty, or remaining time. The difficulty level
|
4346
|
+
# could be specified like this: `\{"Key": "difficulty",
|
4347
|
+
# "Value":"Novice"\}`.
|
4348
|
+
#
|
4349
|
+
# You can set game properties when creating a game session. You can also
|
4350
|
+
# modify game properties of an active game session. When searching for
|
4351
|
+
# game sessions, you can filter on game property keys and values. You
|
4352
|
+
# can't delete game properties from a game session.
|
4354
4353
|
#
|
4354
|
+
# For examples of working with game properties, see [Create a game
|
4355
|
+
# session with properties][1].
|
4355
4356
|
#
|
4356
4357
|
#
|
4357
|
-
#
|
4358
|
+
#
|
4359
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties
|
4358
4360
|
#
|
4359
4361
|
# @!attribute [rw] key
|
4360
4362
|
# The game property identifier.
|
@@ -4777,14 +4779,8 @@ module Aws::GameLift
|
|
4777
4779
|
# @return [String]
|
4778
4780
|
#
|
4779
4781
|
# @!attribute [rw] game_properties
|
4780
|
-
# A set of custom
|
4781
|
-
#
|
4782
|
-
# process with a request to start a new game session (see [Start a
|
4783
|
-
# Game Session][1]).
|
4784
|
-
#
|
4785
|
-
#
|
4786
|
-
#
|
4787
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
4782
|
+
# A set of key-value pairs that can store custom data in a game
|
4783
|
+
# session. For example: `\{"Key": "difficulty", "Value": "novice"\}`.
|
4788
4784
|
# @return [Array<Types::GameProperty>]
|
4789
4785
|
#
|
4790
4786
|
# @!attribute [rw] ip_address
|
@@ -5029,14 +5025,8 @@ module Aws::GameLift
|
|
5029
5025
|
# @return [String]
|
5030
5026
|
#
|
5031
5027
|
# @!attribute [rw] game_properties
|
5032
|
-
# A set of custom
|
5033
|
-
#
|
5034
|
-
# process with a request to start a new game session (see [Start a
|
5035
|
-
# Game Session][1]).
|
5036
|
-
#
|
5037
|
-
#
|
5038
|
-
#
|
5039
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
5028
|
+
# A set of key-value pairs that can store custom data in a game
|
5029
|
+
# session. For example: `\{"Key": "difficulty", "Value": "novice"\}`.
|
5040
5030
|
# @return [Array<Types::GameProperty>]
|
5041
5031
|
#
|
5042
5032
|
# @!attribute [rw] maximum_player_session_count
|
@@ -6541,16 +6531,11 @@ module Aws::GameLift
|
|
6541
6531
|
# @return [Time]
|
6542
6532
|
#
|
6543
6533
|
# @!attribute [rw] game_properties
|
6544
|
-
# A set of custom
|
6545
|
-
#
|
6546
|
-
#
|
6547
|
-
#
|
6548
|
-
# `
|
6549
|
-
# parameter is not used when `FlexMatchMode` is set to `STANDALONE`.
|
6550
|
-
#
|
6551
|
-
#
|
6552
|
-
#
|
6553
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
6534
|
+
# A set of key-value pairs that can store custom data in a game
|
6535
|
+
# session. For example: `\{"Key": "difficulty", "Value": "novice"\}`.
|
6536
|
+
# This information is added to the new `GameSession` object that is
|
6537
|
+
# created for a successful match. This parameter is not used when
|
6538
|
+
# `FlexMatchMode` is set to `STANDALONE`.
|
6554
6539
|
# @return [Array<Types::GameProperty>]
|
6555
6540
|
#
|
6556
6541
|
# @!attribute [rw] game_session_data
|
@@ -8168,14 +8153,8 @@ module Aws::GameLift
|
|
8168
8153
|
# @return [String]
|
8169
8154
|
#
|
8170
8155
|
# @!attribute [rw] game_properties
|
8171
|
-
# A set of custom
|
8172
|
-
#
|
8173
|
-
# process with a request to start a new game session (see [Start a
|
8174
|
-
# Game Session][1]).
|
8175
|
-
#
|
8176
|
-
#
|
8177
|
-
#
|
8178
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
8156
|
+
# A set of key-value pairs that can store custom data in a game
|
8157
|
+
# session. For example: `\{"Key": "difficulty", "Value": "novice"\}`.
|
8179
8158
|
# @return [Array<Types::GameProperty>]
|
8180
8159
|
#
|
8181
8160
|
# @!attribute [rw] maximum_player_session_count
|
@@ -9153,6 +9132,19 @@ module Aws::GameLift
|
|
9153
9132
|
# status, it cannot be terminated during a scale-down event.
|
9154
9133
|
# @return [String]
|
9155
9134
|
#
|
9135
|
+
# @!attribute [rw] game_properties
|
9136
|
+
# A set of key-value pairs that can store custom data in a game
|
9137
|
+
# session. For example: `\{"Key": "difficulty", "Value": "novice"\}`.
|
9138
|
+
# You can use this parameter to modify game properties in an active
|
9139
|
+
# game session. This action adds new properties and modifies existing
|
9140
|
+
# properties. There is no way to delete properties. For an example,
|
9141
|
+
# see [Update the value of a game property][1].
|
9142
|
+
#
|
9143
|
+
#
|
9144
|
+
#
|
9145
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-update
|
9146
|
+
# @return [Array<Types::GameProperty>]
|
9147
|
+
#
|
9156
9148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSessionInput AWS API Documentation
|
9157
9149
|
#
|
9158
9150
|
class UpdateGameSessionInput < Struct.new(
|
@@ -9160,7 +9152,8 @@ module Aws::GameLift
|
|
9160
9152
|
:maximum_player_session_count,
|
9161
9153
|
:name,
|
9162
9154
|
:player_session_creation_policy,
|
9163
|
-
:protection_policy
|
9155
|
+
:protection_policy,
|
9156
|
+
:game_properties)
|
9164
9157
|
SENSITIVE = []
|
9165
9158
|
include Aws::Structure
|
9166
9159
|
end
|
@@ -9343,16 +9336,11 @@ module Aws::GameLift
|
|
9343
9336
|
# @return [String]
|
9344
9337
|
#
|
9345
9338
|
# @!attribute [rw] game_properties
|
9346
|
-
# A set of custom
|
9347
|
-
#
|
9348
|
-
#
|
9349
|
-
#
|
9350
|
-
# `
|
9351
|
-
# parameter is not used if `FlexMatchMode` is set to `STANDALONE`.
|
9352
|
-
#
|
9353
|
-
#
|
9354
|
-
#
|
9355
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession
|
9339
|
+
# A set of key-value pairs that can store custom data in a game
|
9340
|
+
# session. For example: `\{"Key": "difficulty", "Value": "novice"\}`.
|
9341
|
+
# This information is added to the new `GameSession` object that is
|
9342
|
+
# created for a successful match. This parameter is not used if
|
9343
|
+
# `FlexMatchMode` is set to `STANDALONE`.
|
9356
9344
|
# @return [Array<Types::GameProperty>]
|
9357
9345
|
#
|
9358
9346
|
# @!attribute [rw] game_session_data
|
data/lib/aws-sdk-gamelift.rb
CHANGED
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.75.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: 2023-
|
11
|
+
date: 2023-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|