aws-sdk-gamelift 1.74.0 → 1.76.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee8cfd2064b44afaa7ed71438b79641cd20cc11eaffad4bfb88bce12a713f766
4
- data.tar.gz: a080d01136d3303ce341e889e16b7be858ace58c53ea855d21f800cada45af53
3
+ metadata.gz: c0b7a17f5014b2afa16b18456cbf16a1071ab90e1a2a77314f4f6198d22ffd86
4
+ data.tar.gz: d9eb7f92ce1d70e933022ec3ee11495941cf60a9cdc60ae23a40431c136206cd
5
5
  SHA512:
6
- metadata.gz: 993ef140fce8cac9f726378f3d03a883cd04403a98e29b436f749db25eb0e38a99dfd07e5719ab088c83ca75d58abfea4248cf89be3ffbb3c3251513bbb5e969
7
- data.tar.gz: 9e0ed4f53e64c02afc0dad76984f6c23558d6ff0e4b3262891bcd979c9a2de63c81e32ec25f95489f1a771f931d75b69a07e54d4477ff0e9d052e2d3094e1aaf
6
+ metadata.gz: 92f766077c9cfa71e9061cf051875455fd054410e20db7fa1e4519177bbc231523217ab45affdb2695a785731fcb68057cbfb228155e91d6a843e2cbb2d2959e
7
+ data.tar.gz: f8e032166fbff6fc5484d88b59e641c62bd678a848e06c67f796c1ccd97cac919b0e3e16c53193a28f989dcc91e3db86508ea51aad1ecfd61a16f805e841811f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.76.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.75.0 (2023-12-14)
10
+ ------------------
11
+
12
+ * Feature - Amazon GameLift adds the ability to add and update the game properties of active game sessions.
13
+
4
14
  1.74.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.76.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 properties for a game session, formatted as key:value
1608
- # pairs. These properties are passed to a game server process with a
1609
- # request to start a new game session (see [Start a Game Session][1]).
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-server-api.html#gamelift-sdk-server-startsession
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 properties for a game session, formatted as key:value
2056
- # pairs. These properties are passed to a game server process with a
2057
- # request to start a new game session (see [Start a Game Session][1]).
2058
- # This information is added to the new `GameSession` object that is
2059
- # created for a successful match. This parameter is not used if
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 be continually called to track game
7112
- # session status. This practice can cause you to exceed your API limit,
7113
- # which results in errors. Instead, you must configure configure an
7114
- # Amazon Simple Notification Service (SNS) topic to receive
7115
- # notifications from FlexMatch or queues. Continuously polling game
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
- # You can search or sort by the following game session attributes:
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** -- Custom data defined in a game
7153
- # session's `GameProperty` parameter. `GameProperty` values are
7154
- # stored as key:value pairs; the filter expression must indicate the
7155
- # key and a string to search the data values for. For example, to
7156
- # search for game sessions with custom data containing the key:value
7157
- # pair "gameMode:brawl", specify the following:
7158
- # `gameSessionProperties.gameMode = "brawl"`. All custom data values
7159
- # are searched as strings.
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][2]
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/reference-awssdk.html#reference-awssdk-resources-fleets
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 properties for a game session, formatted as key:value
7463
- # pairs. These properties are passed to a game server process with a
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 properties for a game session, formatted as key:value
9128
- # pairs. These properties are passed to a game server process with a
9129
- # request to start a new game session (see [Start a Game Session][1]).
9130
- # This information is added to the new `GameSession` object that is
9131
- # created for a successful match. This parameter is not used if
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.74.0'
9478
+ context[:gem_version] = '1.76.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"))
@@ -14,6 +14,7 @@ module Aws::GameLift
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::GameLift::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -1212,14 +1212,14 @@ module Aws::GameLift
1212
1212
  # @return [String]
1213
1213
  #
1214
1214
  # @!attribute [rw] game_properties
1215
- # A set of custom properties for a game session, formatted as
1216
- # key:value pairs. These properties are passed to a game server
1217
- # process with a request to start a new game session (see [Start a
1218
- # Game Session][1]).
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-server-api.html#gamelift-sdk-server-startsession
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 properties for a game session, formatted as
1528
- # key:value pairs. These properties are passed to a game server
1529
- # process with a request to start a new game session (see [Start a
1530
- # Game Session][1]). This information is added to the new
1531
- # `GameSession` object that is created for a successful match. This
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. Check
3829
- # your game session log to see why InitSDK() was not called in time.
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 after calling
3833
- # InitSDK(). Check your game session log to see why ProcessReady()
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(). Check your game session log to see why
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() was sent within the time
3847
- # expected. Check your game session log to see why termination took
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 calling
3852
- # ProcessEnding(). Check your game session log to see why
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
- # Set of key-value pairs that contain information about a game session.
4348
- # When included in a game session request, these properties communicate
4349
- # details to be used when setting up the new game session. For example,
4350
- # a game property might specify a game mode, level, or map. Game
4351
- # properties are passed to the game server process when initiating a new
4352
- # game session. For more information, see the [ Amazon GameLift
4353
- # Developer Guide][1].
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
- # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#gamelift-sdk-client-api-create
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 properties for a game session, formatted as
4781
- # key:value pairs. These properties are passed to a game server
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 properties for a game session, formatted as
5033
- # key:value pairs. These properties are passed to a game server
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 properties for a game session, formatted as
6545
- # key:value pairs. These properties are passed to a game server
6546
- # process with a request to start a new game session (see [Start a
6547
- # Game Session][1]). This information is added to the new
6548
- # `GameSession` object that is created for a successful match. This
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 properties for a game session, formatted as
8172
- # key:value pairs. These properties are passed to a game server
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 properties for a game session, formatted as
9347
- # key:value pairs. These properties are passed to a game server
9348
- # process with a request to start a new game session (see [Start a
9349
- # Game Session][1]). This information is added to the new
9350
- # `GameSession` object that is created for a successful match. This
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-gamelift/customizations'
52
52
  # @!group service
53
53
  module Aws::GameLift
54
54
 
55
- GEM_VERSION = '1.74.0'
55
+ GEM_VERSION = '1.76.0'
56
56
 
57
57
  end