aws-sdk-gamelift 1.117.0 → 1.119.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 +110 -7
- data/lib/aws-sdk-gamelift/client_api.rb +13 -0
- data/lib/aws-sdk-gamelift/types.rb +184 -14
- data/lib/aws-sdk-gamelift.rb +1 -1
- data/sig/client.rbs +8 -2
- data/sig/types.rbs +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '02396c6cf3eea467210a0907f58cbacccc53d885da54402360125e1c9c2839b0'
|
|
4
|
+
data.tar.gz: ab5af093df99f3f6140259082bc8d0d8b764d3c77b6a920ca0215bb5ab95772e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 882d6a29b39e4b0cb910010f2d460faebb20575e151c25114a0b3da3d03f9c6a05f0f5dab556008dfdc6fd116a507a69a40e529508fb5fd26223e7971db9c17f
|
|
7
|
+
data.tar.gz: 9ed25fba5018ee5526a8453ada1a38cd92738c02cef131da2c9dbab6ade153270ca50382ecf117467c26a5fce708694ce8247e05f7f5800a7c0d8be785c75933
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.119.0 (2026-01-29)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon GameLift Servers now supports automatic scaling to and from zero instances based on game session activity. Fleets scale down to zero following a defined period of no game session activity and scale up from zero when game sessions are requested, providing an option for cost optimization.
|
|
8
|
+
|
|
9
|
+
1.118.0 (2026-01-22)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Amazon GameLift Servers Realtime now supports Node.js 24.x runtime on the Amazon Linux 2023 operating system.
|
|
13
|
+
|
|
4
14
|
1.117.0 (2026-01-16)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.119.0
|
|
@@ -832,7 +832,7 @@ module Aws::GameLift
|
|
|
832
832
|
# in this request. There is no default value. You can't change a
|
|
833
833
|
# build's operating system later.
|
|
834
834
|
#
|
|
835
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
835
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See more
|
|
836
836
|
# details in the [Amazon Linux 2 FAQs][1]. For game servers that are
|
|
837
837
|
# hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
838
838
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -841,6 +841,14 @@ module Aws::GameLift
|
|
|
841
841
|
#
|
|
842
842
|
# </note>
|
|
843
843
|
#
|
|
844
|
+
# <note markdown="1"> Windows Server 2016 will reach end of support on 1/12/2027. For game
|
|
845
|
+
# servers that are hosted on Windows Server 2016 and use server SDK
|
|
846
|
+
# version 4.x for Amazon GameLift Servers, first update the game server
|
|
847
|
+
# build to server SDK 5.x, and then deploy to Windows Server 2022
|
|
848
|
+
# instances. See [ Migrate to server SDK version 5.][2]
|
|
849
|
+
#
|
|
850
|
+
# </note>
|
|
851
|
+
#
|
|
844
852
|
#
|
|
845
853
|
#
|
|
846
854
|
# [1]: http://aws.amazon.com/amazon-linux-2/faqs/
|
|
@@ -1503,7 +1511,7 @@ module Aws::GameLift
|
|
|
1503
1511
|
#
|
|
1504
1512
|
# Default value: `AMAZON_LINUX_2023`
|
|
1505
1513
|
#
|
|
1506
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
1514
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See more
|
|
1507
1515
|
# details in the [Amazon Linux 2 FAQs][1]. For game servers that are
|
|
1508
1516
|
# hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
1509
1517
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -2539,6 +2547,13 @@ module Aws::GameLift
|
|
|
2539
2547
|
# For example: `{"Key": "difficulty", "Value": "novice"}`. For an
|
|
2540
2548
|
# example, see [Create a game session with custom properties][1].
|
|
2541
2549
|
#
|
|
2550
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search for
|
|
2551
|
+
# game sessions by properties. Property keys containing periods cannot
|
|
2552
|
+
# be searched and will be filtered out from search results due to search
|
|
2553
|
+
# index limitations.
|
|
2554
|
+
#
|
|
2555
|
+
# </note>
|
|
2556
|
+
#
|
|
2542
2557
|
#
|
|
2543
2558
|
#
|
|
2544
2559
|
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-create
|
|
@@ -2750,6 +2765,10 @@ module Aws::GameLift
|
|
|
2750
2765
|
# game session placement changes to a `TIMED_OUT` status. If you don't
|
|
2751
2766
|
# specify a request timeout, the queue uses a default value.
|
|
2752
2767
|
#
|
|
2768
|
+
# <note markdown="1"> The minimum value is 10 and the maximum value is 600.
|
|
2769
|
+
#
|
|
2770
|
+
# </note>
|
|
2771
|
+
#
|
|
2753
2772
|
# @option params [Array<Types::PlayerLatencyPolicy>] :player_latency_policies
|
|
2754
2773
|
# A set of policies that enforce a sliding cap on player latency when
|
|
2755
2774
|
# processing game sessions placement requests. Use multiple policies to
|
|
@@ -3025,6 +3044,13 @@ module Aws::GameLift
|
|
|
3025
3044
|
# for a successful match. This parameter is not used if `FlexMatchMode`
|
|
3026
3045
|
# is set to `STANDALONE`.
|
|
3027
3046
|
#
|
|
3047
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search for
|
|
3048
|
+
# game sessions by properties. Property keys containing periods cannot
|
|
3049
|
+
# be searched and will be filtered out from search results due to search
|
|
3050
|
+
# index limitations.
|
|
3051
|
+
#
|
|
3052
|
+
# </note>
|
|
3053
|
+
#
|
|
3028
3054
|
# @option params [String] :game_session_data
|
|
3029
3055
|
# A set of custom game session properties, formatted as a single string
|
|
3030
3056
|
# value. This data is passed to a game server process with a request to
|
|
@@ -3497,6 +3523,11 @@ module Aws::GameLift
|
|
|
3497
3523
|
# [3]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_UntagResource.html
|
|
3498
3524
|
# [4]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListTagsForResource.html
|
|
3499
3525
|
#
|
|
3526
|
+
# @option params [String] :node_js_version
|
|
3527
|
+
# The Node.js version used for execution of your Realtime script. The
|
|
3528
|
+
# valid values are `10.x | 24.x`. By default, `NodeJsVersion` is `10.x`.
|
|
3529
|
+
# This value cannot be updated later.
|
|
3530
|
+
#
|
|
3500
3531
|
# @return [Types::CreateScriptOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3501
3532
|
#
|
|
3502
3533
|
# * {Types::CreateScriptOutput#script #script} => Types::Script
|
|
@@ -3519,6 +3550,7 @@ module Aws::GameLift
|
|
|
3519
3550
|
# value: "TagValue", # required
|
|
3520
3551
|
# },
|
|
3521
3552
|
# ],
|
|
3553
|
+
# node_js_version: "NodeJsVersion",
|
|
3522
3554
|
# })
|
|
3523
3555
|
#
|
|
3524
3556
|
# @example Response structure
|
|
@@ -3533,6 +3565,7 @@ module Aws::GameLift
|
|
|
3533
3565
|
# resp.script.storage_location.key #=> String
|
|
3534
3566
|
# resp.script.storage_location.role_arn #=> String
|
|
3535
3567
|
# resp.script.storage_location.object_version #=> String
|
|
3568
|
+
# resp.script.node_js_version #=> String
|
|
3536
3569
|
#
|
|
3537
3570
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateScript AWS API Documentation
|
|
3538
3571
|
#
|
|
@@ -5215,6 +5248,8 @@ module Aws::GameLift
|
|
|
5215
5248
|
# resp.fleet_capacity[0].game_server_container_group_counts.active #=> Integer
|
|
5216
5249
|
# resp.fleet_capacity[0].game_server_container_group_counts.idle #=> Integer
|
|
5217
5250
|
# resp.fleet_capacity[0].game_server_container_group_counts.terminating #=> Integer
|
|
5251
|
+
# resp.fleet_capacity[0].managed_capacity_configuration.zero_capacity_strategy #=> String, one of "MANUAL", "SCALE_TO_AND_FROM_ZERO"
|
|
5252
|
+
# resp.fleet_capacity[0].managed_capacity_configuration.scale_in_after_inactivity_minutes #=> Integer
|
|
5218
5253
|
# resp.next_token #=> String
|
|
5219
5254
|
#
|
|
5220
5255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetCapacity AWS API Documentation
|
|
@@ -5535,6 +5570,8 @@ module Aws::GameLift
|
|
|
5535
5570
|
# resp.fleet_capacity.game_server_container_group_counts.active #=> Integer
|
|
5536
5571
|
# resp.fleet_capacity.game_server_container_group_counts.idle #=> Integer
|
|
5537
5572
|
# resp.fleet_capacity.game_server_container_group_counts.terminating #=> Integer
|
|
5573
|
+
# resp.fleet_capacity.managed_capacity_configuration.zero_capacity_strategy #=> String, one of "MANUAL", "SCALE_TO_AND_FROM_ZERO"
|
|
5574
|
+
# resp.fleet_capacity.managed_capacity_configuration.scale_in_after_inactivity_minutes #=> Integer
|
|
5538
5575
|
#
|
|
5539
5576
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetLocationCapacity AWS API Documentation
|
|
5540
5577
|
#
|
|
@@ -7077,6 +7114,7 @@ module Aws::GameLift
|
|
|
7077
7114
|
# resp.script.storage_location.key #=> String
|
|
7078
7115
|
# resp.script.storage_location.role_arn #=> String
|
|
7079
7116
|
# resp.script.storage_location.object_version #=> String
|
|
7117
|
+
# resp.script.node_js_version #=> String
|
|
7080
7118
|
#
|
|
7081
7119
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeScript AWS API Documentation
|
|
7082
7120
|
#
|
|
@@ -8565,6 +8603,7 @@ module Aws::GameLift
|
|
|
8565
8603
|
# resp.scripts[0].storage_location.key #=> String
|
|
8566
8604
|
# resp.scripts[0].storage_location.role_arn #=> String
|
|
8567
8605
|
# resp.scripts[0].storage_location.object_version #=> String
|
|
8606
|
+
# resp.scripts[0].node_js_version #=> String
|
|
8568
8607
|
# resp.next_token #=> String
|
|
8569
8608
|
#
|
|
8570
8609
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListScripts AWS API Documentation
|
|
@@ -9285,6 +9324,13 @@ module Aws::GameLift
|
|
|
9285
9324
|
# For examples of searching game sessions, see the ones below, and
|
|
9286
9325
|
# also see [Search game sessions by game property][3].
|
|
9287
9326
|
#
|
|
9327
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
9328
|
+
# for game sessions by properties. Property keys containing periods
|
|
9329
|
+
# cannot be searched and will be filtered out from search results due
|
|
9330
|
+
# to search index limitations.
|
|
9331
|
+
#
|
|
9332
|
+
# </note>
|
|
9333
|
+
#
|
|
9288
9334
|
# * **maximumSessions** -- Maximum number of player sessions allowed for
|
|
9289
9335
|
# a game session.
|
|
9290
9336
|
#
|
|
@@ -9640,6 +9686,13 @@ module Aws::GameLift
|
|
|
9640
9686
|
# A set of key-value pairs that can store custom data in a game session.
|
|
9641
9687
|
# For example: `{"Key": "difficulty", "Value": "novice"}`.
|
|
9642
9688
|
#
|
|
9689
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search for
|
|
9690
|
+
# game sessions by properties. Property keys containing periods cannot
|
|
9691
|
+
# be searched and will be filtered out from search results due to search
|
|
9692
|
+
# index limitations.
|
|
9693
|
+
#
|
|
9694
|
+
# </note>
|
|
9695
|
+
#
|
|
9643
9696
|
# @option params [required, Integer] :maximum_player_session_count
|
|
9644
9697
|
# The maximum number of players that can be connected simultaneously to
|
|
9645
9698
|
# the game session.
|
|
@@ -11045,7 +11098,7 @@ module Aws::GameLift
|
|
|
11045
11098
|
# The platform that all containers in the group use. Containers in a
|
|
11046
11099
|
# group must run on the same operating system.
|
|
11047
11100
|
#
|
|
11048
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
11101
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See more
|
|
11049
11102
|
# details in the [Amazon Linux 2 FAQs][1]. For game servers that are
|
|
11050
11103
|
# hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
11051
11104
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -11333,8 +11386,6 @@ module Aws::GameLift
|
|
|
11333
11386
|
# configuration. For fleets with multiple locations, use this operation
|
|
11334
11387
|
# to manage capacity settings in each location individually.
|
|
11335
11388
|
#
|
|
11336
|
-
# Use this operation to set these fleet capacity properties:
|
|
11337
|
-
#
|
|
11338
11389
|
# * Minimum/maximum size: Set hard limits on the number of Amazon EC2
|
|
11339
11390
|
# instances allowed. If Amazon GameLift Servers receives a
|
|
11340
11391
|
# request--either through manual update or automatic scaling--it
|
|
@@ -11366,6 +11417,26 @@ module Aws::GameLift
|
|
|
11366
11417
|
# location. You can track a fleet's current capacity by calling
|
|
11367
11418
|
# [DescribeFleetCapacity][2] or [DescribeFleetLocationCapacity][3].
|
|
11368
11419
|
#
|
|
11420
|
+
# Use ManagedCapacityConfiguration with the
|
|
11421
|
+
# "SCALE\_TO\_AND\_FROM\_ZERO" ZeroCapacityStrategy to enable Amazon
|
|
11422
|
+
# GameLift Servers to fully manage the MinSize value, switching between
|
|
11423
|
+
# 0 and 1 based on game session activity. This is ideal for eliminating
|
|
11424
|
+
# compute costs during periods of no game activity. It is particularly
|
|
11425
|
+
# beneficial during development when you're away from your desk,
|
|
11426
|
+
# iterating on builds for extended periods, in production environments
|
|
11427
|
+
# serving low-traffic locations, or for games with long, predictable
|
|
11428
|
+
# downtime windows. By automatically managing capacity between 0 and 1
|
|
11429
|
+
# instances, you avoid paying for idle instances while maintaining the
|
|
11430
|
+
# ability to serve game sessions when demand arrives. Note that while
|
|
11431
|
+
# scale-out is triggered immediately upon receiving a game session
|
|
11432
|
+
# request, actual game session availability depends on your server
|
|
11433
|
+
# process startup time, so this approach works best with multi-location
|
|
11434
|
+
# Fleets where cold-start latency is tolerable. With a "MANUAL"
|
|
11435
|
+
# ZeroCapacityStrategy Amazon GameLift Servers will not modify Fleet
|
|
11436
|
+
# MinSize values automatically and will not scale out from zero
|
|
11437
|
+
# instances in response to game sessions. This is configurable
|
|
11438
|
+
# per-location.
|
|
11439
|
+
#
|
|
11369
11440
|
# **Learn more**
|
|
11370
11441
|
#
|
|
11371
11442
|
# [Scaling fleet capacity][4]
|
|
@@ -11389,7 +11460,9 @@ module Aws::GameLift
|
|
|
11389
11460
|
#
|
|
11390
11461
|
# @option params [Integer] :min_size
|
|
11391
11462
|
# The minimum number of instances that are allowed in the specified
|
|
11392
|
-
# fleet location. If this parameter is not set, the default is 0.
|
|
11463
|
+
# fleet location. If this parameter is not set, the default is 0. This
|
|
11464
|
+
# parameter cannot be set when using a ManagedCapacityConfiguration
|
|
11465
|
+
# where ZeroCapacityStrategy has a value of SCALE\_TO\_AND\_FROM\_ZERO.
|
|
11393
11466
|
#
|
|
11394
11467
|
# @option params [Integer] :max_size
|
|
11395
11468
|
# The maximum number of instances that are allowed in the specified
|
|
@@ -11399,11 +11472,16 @@ module Aws::GameLift
|
|
|
11399
11472
|
# The name of a remote location to update fleet capacity settings for,
|
|
11400
11473
|
# in the form of an Amazon Web Services Region code such as `us-west-2`.
|
|
11401
11474
|
#
|
|
11475
|
+
# @option params [Types::ManagedCapacityConfiguration] :managed_capacity_configuration
|
|
11476
|
+
# Configuration for Amazon GameLift Servers-managed capacity scaling
|
|
11477
|
+
# options.
|
|
11478
|
+
#
|
|
11402
11479
|
# @return [Types::UpdateFleetCapacityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
11403
11480
|
#
|
|
11404
11481
|
# * {Types::UpdateFleetCapacityOutput#fleet_id #fleet_id} => String
|
|
11405
11482
|
# * {Types::UpdateFleetCapacityOutput#fleet_arn #fleet_arn} => String
|
|
11406
11483
|
# * {Types::UpdateFleetCapacityOutput#location #location} => String
|
|
11484
|
+
# * {Types::UpdateFleetCapacityOutput#managed_capacity_configuration #managed_capacity_configuration} => Types::ManagedCapacityConfiguration
|
|
11407
11485
|
#
|
|
11408
11486
|
# @example Request syntax with placeholder values
|
|
11409
11487
|
#
|
|
@@ -11413,6 +11491,10 @@ module Aws::GameLift
|
|
|
11413
11491
|
# min_size: 1,
|
|
11414
11492
|
# max_size: 1,
|
|
11415
11493
|
# location: "LocationStringModel",
|
|
11494
|
+
# managed_capacity_configuration: {
|
|
11495
|
+
# zero_capacity_strategy: "MANUAL", # accepts MANUAL, SCALE_TO_AND_FROM_ZERO
|
|
11496
|
+
# scale_in_after_inactivity_minutes: 1,
|
|
11497
|
+
# },
|
|
11416
11498
|
# })
|
|
11417
11499
|
#
|
|
11418
11500
|
# @example Response structure
|
|
@@ -11420,6 +11502,8 @@ module Aws::GameLift
|
|
|
11420
11502
|
# resp.fleet_id #=> String
|
|
11421
11503
|
# resp.fleet_arn #=> String
|
|
11422
11504
|
# resp.location #=> String
|
|
11505
|
+
# resp.managed_capacity_configuration.zero_capacity_strategy #=> String, one of "MANUAL", "SCALE_TO_AND_FROM_ZERO"
|
|
11506
|
+
# resp.managed_capacity_configuration.scale_in_after_inactivity_minutes #=> Integer
|
|
11423
11507
|
#
|
|
11424
11508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetCapacity AWS API Documentation
|
|
11425
11509
|
#
|
|
@@ -11783,6 +11867,13 @@ module Aws::GameLift
|
|
|
11783
11867
|
# There is no way to delete properties. For an example, see [Update the
|
|
11784
11868
|
# value of a game property][1].
|
|
11785
11869
|
#
|
|
11870
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search for
|
|
11871
|
+
# game sessions by properties. Property keys containing periods cannot
|
|
11872
|
+
# be searched and will be filtered out from search results due to search
|
|
11873
|
+
# index limitations.
|
|
11874
|
+
#
|
|
11875
|
+
# </note>
|
|
11876
|
+
#
|
|
11786
11877
|
#
|
|
11787
11878
|
#
|
|
11788
11879
|
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-update
|
|
@@ -11866,6 +11957,10 @@ module Aws::GameLift
|
|
|
11866
11957
|
# request remains in the queue. When a request exceeds this time, the
|
|
11867
11958
|
# game session placement changes to a `TIMED_OUT` status.
|
|
11868
11959
|
#
|
|
11960
|
+
# <note markdown="1"> The minimum value is 10 and the maximum value is 600.
|
|
11961
|
+
#
|
|
11962
|
+
# </note>
|
|
11963
|
+
#
|
|
11869
11964
|
# @option params [Array<Types::PlayerLatencyPolicy>] :player_latency_policies
|
|
11870
11965
|
# A set of policies that enforce a sliding cap on player latency when
|
|
11871
11966
|
# processing game sessions placement requests. Use multiple policies to
|
|
@@ -12054,6 +12149,13 @@ module Aws::GameLift
|
|
|
12054
12149
|
# for a successful match. This parameter is not used if `FlexMatchMode`
|
|
12055
12150
|
# is set to `STANDALONE`.
|
|
12056
12151
|
#
|
|
12152
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search for
|
|
12153
|
+
# game sessions by properties. Property keys containing periods cannot
|
|
12154
|
+
# be searched and will be filtered out from search results due to search
|
|
12155
|
+
# index limitations.
|
|
12156
|
+
#
|
|
12157
|
+
# </note>
|
|
12158
|
+
#
|
|
12057
12159
|
# @option params [String] :game_session_data
|
|
12058
12160
|
# A set of custom game session properties, formatted as a single string
|
|
12059
12161
|
# value. This data is passed to a game server process with a request to
|
|
@@ -12328,6 +12430,7 @@ module Aws::GameLift
|
|
|
12328
12430
|
# resp.script.storage_location.key #=> String
|
|
12329
12431
|
# resp.script.storage_location.role_arn #=> String
|
|
12330
12432
|
# resp.script.storage_location.object_version #=> String
|
|
12433
|
+
# resp.script.node_js_version #=> String
|
|
12331
12434
|
#
|
|
12332
12435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateScript AWS API Documentation
|
|
12333
12436
|
#
|
|
@@ -12401,7 +12504,7 @@ module Aws::GameLift
|
|
|
12401
12504
|
tracer: tracer
|
|
12402
12505
|
)
|
|
12403
12506
|
context[:gem_name] = 'aws-sdk-gamelift'
|
|
12404
|
-
context[:gem_version] = '1.
|
|
12507
|
+
context[:gem_version] = '1.119.0'
|
|
12405
12508
|
Seahorse::Client::Request.new(handlers, context)
|
|
12406
12509
|
end
|
|
12407
12510
|
|
|
@@ -417,6 +417,7 @@ module Aws::GameLift
|
|
|
417
417
|
LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
|
|
418
418
|
LogDestination = Shapes::StringShape.new(name: 'LogDestination')
|
|
419
419
|
LogGroupArnStringModel = Shapes::StringShape.new(name: 'LogGroupArnStringModel')
|
|
420
|
+
ManagedCapacityConfiguration = Shapes::StructureShape.new(name: 'ManagedCapacityConfiguration')
|
|
420
421
|
MatchedPlayerSession = Shapes::StructureShape.new(name: 'MatchedPlayerSession')
|
|
421
422
|
MatchedPlayerSessionList = Shapes::ListShape.new(name: 'MatchedPlayerSessionList')
|
|
422
423
|
MatchmakerData = Shapes::StringShape.new(name: 'MatchmakerData')
|
|
@@ -443,6 +444,7 @@ module Aws::GameLift
|
|
|
443
444
|
MetricGroupList = Shapes::ListShape.new(name: 'MetricGroupList')
|
|
444
445
|
MetricName = Shapes::StringShape.new(name: 'MetricName')
|
|
445
446
|
MinimumHealthyPercentage = Shapes::IntegerShape.new(name: 'MinimumHealthyPercentage')
|
|
447
|
+
NodeJsVersion = Shapes::StringShape.new(name: 'NodeJsVersion')
|
|
446
448
|
NonBlankAndLengthConstraintString = Shapes::StringShape.new(name: 'NonBlankAndLengthConstraintString')
|
|
447
449
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
|
448
450
|
NonNegativeDouble = Shapes::FloatShape.new(name: 'NonNegativeDouble')
|
|
@@ -509,6 +511,7 @@ module Aws::GameLift
|
|
|
509
511
|
RuleSetLimit = Shapes::IntegerShape.new(name: 'RuleSetLimit')
|
|
510
512
|
RuntimeConfiguration = Shapes::StructureShape.new(name: 'RuntimeConfiguration')
|
|
511
513
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
|
514
|
+
ScaleInAfterInactivityMinutes = Shapes::IntegerShape.new(name: 'ScaleInAfterInactivityMinutes')
|
|
512
515
|
ScalingAdjustmentType = Shapes::StringShape.new(name: 'ScalingAdjustmentType')
|
|
513
516
|
ScalingPolicy = Shapes::StructureShape.new(name: 'ScalingPolicy')
|
|
514
517
|
ScalingPolicyList = Shapes::ListShape.new(name: 'ScalingPolicyList')
|
|
@@ -608,6 +611,7 @@ module Aws::GameLift
|
|
|
608
611
|
VpcSubnets = Shapes::ListShape.new(name: 'VpcSubnets')
|
|
609
612
|
WeightedCapacity = Shapes::StringShape.new(name: 'WeightedCapacity')
|
|
610
613
|
WholeNumber = Shapes::IntegerShape.new(name: 'WholeNumber')
|
|
614
|
+
ZeroCapacityStrategy = Shapes::StringShape.new(name: 'ZeroCapacityStrategy')
|
|
611
615
|
ZipBlob = Shapes::BlobShape.new(name: 'ZipBlob')
|
|
612
616
|
|
|
613
617
|
AcceptMatchInput.add_member(:ticket_id, Shapes::ShapeRef.new(shape: MatchmakingIdStringModel, required: true, location_name: "TicketId"))
|
|
@@ -993,6 +997,7 @@ module Aws::GameLift
|
|
|
993
997
|
CreateScriptInput.add_member(:storage_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "StorageLocation"))
|
|
994
998
|
CreateScriptInput.add_member(:zip_file, Shapes::ShapeRef.new(shape: ZipBlob, location_name: "ZipFile"))
|
|
995
999
|
CreateScriptInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
|
1000
|
+
CreateScriptInput.add_member(:node_js_version, Shapes::ShapeRef.new(shape: NodeJsVersion, location_name: "NodeJsVersion"))
|
|
996
1001
|
CreateScriptInput.struct_class = Types::CreateScriptInput
|
|
997
1002
|
|
|
998
1003
|
CreateScriptOutput.add_member(:script, Shapes::ShapeRef.new(shape: Script, location_name: "Script"))
|
|
@@ -1451,6 +1456,7 @@ module Aws::GameLift
|
|
|
1451
1456
|
FleetCapacity.add_member(:instance_counts, Shapes::ShapeRef.new(shape: EC2InstanceCounts, location_name: "InstanceCounts"))
|
|
1452
1457
|
FleetCapacity.add_member(:location, Shapes::ShapeRef.new(shape: LocationStringModel, location_name: "Location"))
|
|
1453
1458
|
FleetCapacity.add_member(:game_server_container_group_counts, Shapes::ShapeRef.new(shape: GameServerContainerGroupCounts, location_name: "GameServerContainerGroupCounts"))
|
|
1459
|
+
FleetCapacity.add_member(:managed_capacity_configuration, Shapes::ShapeRef.new(shape: ManagedCapacityConfiguration, location_name: "ManagedCapacityConfiguration"))
|
|
1454
1460
|
FleetCapacity.struct_class = Types::FleetCapacity
|
|
1455
1461
|
|
|
1456
1462
|
FleetCapacityExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
|
|
@@ -1911,6 +1917,10 @@ module Aws::GameLift
|
|
|
1911
1917
|
LogConfiguration.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArnStringModel, location_name: "LogGroupArn"))
|
|
1912
1918
|
LogConfiguration.struct_class = Types::LogConfiguration
|
|
1913
1919
|
|
|
1920
|
+
ManagedCapacityConfiguration.add_member(:zero_capacity_strategy, Shapes::ShapeRef.new(shape: ZeroCapacityStrategy, location_name: "ZeroCapacityStrategy"))
|
|
1921
|
+
ManagedCapacityConfiguration.add_member(:scale_in_after_inactivity_minutes, Shapes::ShapeRef.new(shape: ScaleInAfterInactivityMinutes, location_name: "ScaleInAfterInactivityMinutes"))
|
|
1922
|
+
ManagedCapacityConfiguration.struct_class = Types::ManagedCapacityConfiguration
|
|
1923
|
+
|
|
1914
1924
|
MatchedPlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, location_name: "PlayerId"))
|
|
1915
1925
|
MatchedPlayerSession.add_member(:player_session_id, Shapes::ShapeRef.new(shape: PlayerSessionId, location_name: "PlayerSessionId"))
|
|
1916
1926
|
MatchedPlayerSession.struct_class = Types::MatchedPlayerSession
|
|
@@ -2153,6 +2163,7 @@ module Aws::GameLift
|
|
|
2153
2163
|
Script.add_member(:size_on_disk, Shapes::ShapeRef.new(shape: PositiveLong, location_name: "SizeOnDisk"))
|
|
2154
2164
|
Script.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
|
2155
2165
|
Script.add_member(:storage_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "StorageLocation"))
|
|
2166
|
+
Script.add_member(:node_js_version, Shapes::ShapeRef.new(shape: NodeJsVersion, location_name: "NodeJsVersion"))
|
|
2156
2167
|
Script.struct_class = Types::Script
|
|
2157
2168
|
|
|
2158
2169
|
ScriptList.member = Shapes::ShapeRef.new(shape: Script)
|
|
@@ -2391,11 +2402,13 @@ module Aws::GameLift
|
|
|
2391
2402
|
UpdateFleetCapacityInput.add_member(:min_size, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "MinSize"))
|
|
2392
2403
|
UpdateFleetCapacityInput.add_member(:max_size, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "MaxSize"))
|
|
2393
2404
|
UpdateFleetCapacityInput.add_member(:location, Shapes::ShapeRef.new(shape: LocationStringModel, location_name: "Location"))
|
|
2405
|
+
UpdateFleetCapacityInput.add_member(:managed_capacity_configuration, Shapes::ShapeRef.new(shape: ManagedCapacityConfiguration, location_name: "ManagedCapacityConfiguration"))
|
|
2394
2406
|
UpdateFleetCapacityInput.struct_class = Types::UpdateFleetCapacityInput
|
|
2395
2407
|
|
|
2396
2408
|
UpdateFleetCapacityOutput.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "FleetId"))
|
|
2397
2409
|
UpdateFleetCapacityOutput.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, location_name: "FleetArn"))
|
|
2398
2410
|
UpdateFleetCapacityOutput.add_member(:location, Shapes::ShapeRef.new(shape: LocationStringModel, location_name: "Location"))
|
|
2411
|
+
UpdateFleetCapacityOutput.add_member(:managed_capacity_configuration, Shapes::ShapeRef.new(shape: ManagedCapacityConfiguration, location_name: "ManagedCapacityConfiguration"))
|
|
2399
2412
|
UpdateFleetCapacityOutput.struct_class = Types::UpdateFleetCapacityOutput
|
|
2400
2413
|
|
|
2401
2414
|
UpdateFleetPortSettingsInput.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdOrArn, required: true, location_name: "FleetId"))
|
|
@@ -280,7 +280,7 @@ module Aws::GameLift
|
|
|
280
280
|
# This value determines the type of fleet resources that you can use
|
|
281
281
|
# for this build.
|
|
282
282
|
#
|
|
283
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
283
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See
|
|
284
284
|
# more details in the [Amazon Linux 2 FAQs][1]. For game servers that
|
|
285
285
|
# are hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
286
286
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -480,7 +480,7 @@ module Aws::GameLift
|
|
|
480
480
|
# @!attribute [rw] operating_system
|
|
481
481
|
# The type of operating system on the compute resource.
|
|
482
482
|
#
|
|
483
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
483
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See
|
|
484
484
|
# more details in the [Amazon Linux 2 FAQs][1]. For game servers that
|
|
485
485
|
# are hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
486
486
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -982,7 +982,7 @@ module Aws::GameLift
|
|
|
982
982
|
# The platform that all containers in the container group definition
|
|
983
983
|
# run on.
|
|
984
984
|
#
|
|
985
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
985
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See
|
|
986
986
|
# more details in the [Amazon Linux 2 FAQs][1]. For game servers that
|
|
987
987
|
# are hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
988
988
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -1417,7 +1417,7 @@ module Aws::GameLift
|
|
|
1417
1417
|
# operating system in this request. There is no default value. You
|
|
1418
1418
|
# can't change a build's operating system later.
|
|
1419
1419
|
#
|
|
1420
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
1420
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See
|
|
1421
1421
|
# more details in the [Amazon Linux 2 FAQs][1]. For game servers that
|
|
1422
1422
|
# are hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
1423
1423
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -1426,6 +1426,14 @@ module Aws::GameLift
|
|
|
1426
1426
|
#
|
|
1427
1427
|
# </note>
|
|
1428
1428
|
#
|
|
1429
|
+
# <note markdown="1"> Windows Server 2016 will reach end of support on 1/12/2027. For game
|
|
1430
|
+
# servers that are hosted on Windows Server 2016 and use server SDK
|
|
1431
|
+
# version 4.x for Amazon GameLift Servers, first update the game
|
|
1432
|
+
# server build to server SDK 5.x, and then deploy to Windows Server
|
|
1433
|
+
# 2022 instances. See [ Migrate to server SDK version 5.][2]
|
|
1434
|
+
#
|
|
1435
|
+
# </note>
|
|
1436
|
+
#
|
|
1429
1437
|
#
|
|
1430
1438
|
#
|
|
1431
1439
|
# [1]: http://aws.amazon.com/amazon-linux-2/faqs/
|
|
@@ -1842,7 +1850,7 @@ module Aws::GameLift
|
|
|
1842
1850
|
#
|
|
1843
1851
|
# Default value: `AMAZON_LINUX_2023`
|
|
1844
1852
|
#
|
|
1845
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
1853
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See
|
|
1846
1854
|
# more details in the [Amazon Linux 2 FAQs][1]. For game servers that
|
|
1847
1855
|
# are hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
1848
1856
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -2482,6 +2490,13 @@ module Aws::GameLift
|
|
|
2482
2490
|
# For an example, see [Create a game session with custom
|
|
2483
2491
|
# properties][1].
|
|
2484
2492
|
#
|
|
2493
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
2494
|
+
# for game sessions by properties. Property keys containing periods
|
|
2495
|
+
# cannot be searched and will be filtered out from search results due
|
|
2496
|
+
# to search index limitations.
|
|
2497
|
+
#
|
|
2498
|
+
# </note>
|
|
2499
|
+
#
|
|
2485
2500
|
#
|
|
2486
2501
|
#
|
|
2487
2502
|
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-create
|
|
@@ -2586,6 +2601,10 @@ module Aws::GameLift
|
|
|
2586
2601
|
# request remains in the queue. When a request exceeds this time, the
|
|
2587
2602
|
# game session placement changes to a `TIMED_OUT` status. If you
|
|
2588
2603
|
# don't specify a request timeout, the queue uses a default value.
|
|
2604
|
+
#
|
|
2605
|
+
# <note markdown="1"> The minimum value is 10 and the maximum value is 600.
|
|
2606
|
+
#
|
|
2607
|
+
# </note>
|
|
2589
2608
|
# @return [Integer]
|
|
2590
2609
|
#
|
|
2591
2610
|
# @!attribute [rw] player_latency_policies
|
|
@@ -2792,6 +2811,13 @@ module Aws::GameLift
|
|
|
2792
2811
|
# This information is added to the new `GameSession` object that is
|
|
2793
2812
|
# created for a successful match. This parameter is not used if
|
|
2794
2813
|
# `FlexMatchMode` is set to `STANDALONE`.
|
|
2814
|
+
#
|
|
2815
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
2816
|
+
# for game sessions by properties. Property keys containing periods
|
|
2817
|
+
# cannot be searched and will be filtered out from search results due
|
|
2818
|
+
# to search index limitations.
|
|
2819
|
+
#
|
|
2820
|
+
# </note>
|
|
2795
2821
|
# @return [Array<Types::GameProperty>]
|
|
2796
2822
|
#
|
|
2797
2823
|
# @!attribute [rw] game_session_data
|
|
@@ -3073,6 +3099,12 @@ module Aws::GameLift
|
|
|
3073
3099
|
# [4]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListTagsForResource.html
|
|
3074
3100
|
# @return [Array<Types::Tag>]
|
|
3075
3101
|
#
|
|
3102
|
+
# @!attribute [rw] node_js_version
|
|
3103
|
+
# The Node.js version used for execution of your Realtime script. The
|
|
3104
|
+
# valid values are `10.x | 24.x`. By default, `NodeJsVersion` is
|
|
3105
|
+
# `10.x`. This value cannot be updated later.
|
|
3106
|
+
# @return [String]
|
|
3107
|
+
#
|
|
3076
3108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateScriptInput AWS API Documentation
|
|
3077
3109
|
#
|
|
3078
3110
|
class CreateScriptInput < Struct.new(
|
|
@@ -3080,7 +3112,8 @@ module Aws::GameLift
|
|
|
3080
3112
|
:version,
|
|
3081
3113
|
:storage_location,
|
|
3082
3114
|
:zip_file,
|
|
3083
|
-
:tags
|
|
3115
|
+
:tags,
|
|
3116
|
+
:node_js_version)
|
|
3084
3117
|
SENSITIVE = []
|
|
3085
3118
|
include Aws::Structure
|
|
3086
3119
|
end
|
|
@@ -5586,7 +5619,7 @@ module Aws::GameLift
|
|
|
5586
5619
|
# is deployed on this fleet. This attribute is used with fleets where
|
|
5587
5620
|
# `ComputeType` is `EC2`.
|
|
5588
5621
|
#
|
|
5589
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
5622
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See
|
|
5590
5623
|
# more details in the [Amazon Linux 2 FAQs][1]. For game servers that
|
|
5591
5624
|
# are hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
5592
5625
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -5768,6 +5801,10 @@ module Aws::GameLift
|
|
|
5768
5801
|
# container fleet.
|
|
5769
5802
|
# @return [Types::GameServerContainerGroupCounts]
|
|
5770
5803
|
#
|
|
5804
|
+
# @!attribute [rw] managed_capacity_configuration
|
|
5805
|
+
# Configuration settings for managed capacity scaling.
|
|
5806
|
+
# @return [Types::ManagedCapacityConfiguration]
|
|
5807
|
+
#
|
|
5771
5808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/FleetCapacity AWS API Documentation
|
|
5772
5809
|
#
|
|
5773
5810
|
class FleetCapacity < Struct.new(
|
|
@@ -5776,7 +5813,8 @@ module Aws::GameLift
|
|
|
5776
5813
|
:instance_type,
|
|
5777
5814
|
:instance_counts,
|
|
5778
5815
|
:location,
|
|
5779
|
-
:game_server_container_group_counts
|
|
5816
|
+
:game_server_container_group_counts,
|
|
5817
|
+
:managed_capacity_configuration)
|
|
5780
5818
|
SENSITIVE = []
|
|
5781
5819
|
include Aws::Structure
|
|
5782
5820
|
end
|
|
@@ -5955,6 +5993,13 @@ module Aws::GameLift
|
|
|
5955
5993
|
#
|
|
5956
5994
|
# @!attribute [rw] key
|
|
5957
5995
|
# The game property identifier.
|
|
5996
|
+
#
|
|
5997
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
5998
|
+
# for game sessions by properties. Property keys containing periods
|
|
5999
|
+
# cannot be searched and will be filtered out from search results due
|
|
6000
|
+
# to search index limitations.
|
|
6001
|
+
#
|
|
6002
|
+
# </note>
|
|
5958
6003
|
# @return [String]
|
|
5959
6004
|
#
|
|
5960
6005
|
# @!attribute [rw] value
|
|
@@ -6628,6 +6673,13 @@ module Aws::GameLift
|
|
|
6628
6673
|
# @!attribute [rw] game_properties
|
|
6629
6674
|
# A set of key-value pairs that can store custom data in a game
|
|
6630
6675
|
# session. For example: `{"Key": "difficulty", "Value": "novice"}`.
|
|
6676
|
+
#
|
|
6677
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
6678
|
+
# for game sessions by properties. Property keys containing periods
|
|
6679
|
+
# cannot be searched and will be filtered out from search results due
|
|
6680
|
+
# to search index limitations.
|
|
6681
|
+
#
|
|
6682
|
+
# </note>
|
|
6631
6683
|
# @return [Array<Types::GameProperty>]
|
|
6632
6684
|
#
|
|
6633
6685
|
# @!attribute [rw] ip_address
|
|
@@ -6915,6 +6967,13 @@ module Aws::GameLift
|
|
|
6915
6967
|
# @!attribute [rw] game_properties
|
|
6916
6968
|
# A set of key-value pairs that can store custom data in a game
|
|
6917
6969
|
# session. For example: `{"Key": "difficulty", "Value": "novice"}`.
|
|
6970
|
+
#
|
|
6971
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
6972
|
+
# for game sessions by properties. Property keys containing periods
|
|
6973
|
+
# cannot be searched and will be filtered out from search results due
|
|
6974
|
+
# to search index limitations.
|
|
6975
|
+
#
|
|
6976
|
+
# </note>
|
|
6918
6977
|
# @return [Array<Types::GameProperty>]
|
|
6919
6978
|
#
|
|
6920
6979
|
# @!attribute [rw] maximum_player_session_count
|
|
@@ -7089,6 +7148,10 @@ module Aws::GameLift
|
|
|
7089
7148
|
# The maximum time, in seconds, that a new game session placement
|
|
7090
7149
|
# request remains in the queue. When a request exceeds this time, the
|
|
7091
7150
|
# game session placement changes to a `TIMED_OUT` status.
|
|
7151
|
+
#
|
|
7152
|
+
# <note markdown="1"> The minimum value is 10 and the maximum value is 600.
|
|
7153
|
+
#
|
|
7154
|
+
# </note>
|
|
7092
7155
|
# @return [Integer]
|
|
7093
7156
|
#
|
|
7094
7157
|
# @!attribute [rw] player_latency_policies
|
|
@@ -7459,7 +7522,7 @@ module Aws::GameLift
|
|
|
7459
7522
|
# @!attribute [rw] operating_system
|
|
7460
7523
|
# Operating system that is running on this EC2 instance.
|
|
7461
7524
|
#
|
|
7462
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
7525
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See
|
|
7463
7526
|
# more details in the [Amazon Linux 2 FAQs][1]. For game servers that
|
|
7464
7527
|
# are hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
7465
7528
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -8635,6 +8698,59 @@ module Aws::GameLift
|
|
|
8635
8698
|
include Aws::Structure
|
|
8636
8699
|
end
|
|
8637
8700
|
|
|
8701
|
+
# Use ManagedCapacityConfiguration with the
|
|
8702
|
+
# "SCALE\_TO\_AND\_FROM\_ZERO" ZeroCapacityStrategy to enable Amazon
|
|
8703
|
+
# GameLift Servers to fully manage the MinSize value, switching between
|
|
8704
|
+
# 0 and 1 based on game session activity. This is ideal for eliminating
|
|
8705
|
+
# compute costs during periods of no game activity. It is particularly
|
|
8706
|
+
# beneficial during development when you're away from your desk,
|
|
8707
|
+
# iterating on builds for extended periods, in production environments
|
|
8708
|
+
# serving low-traffic locations, or for games with long, predictable
|
|
8709
|
+
# downtime windows. By automatically managing capacity between 0 and 1
|
|
8710
|
+
# instances, you avoid paying for idle instances while maintaining the
|
|
8711
|
+
# ability to serve game sessions when demand arrives. Note that while
|
|
8712
|
+
# scale-out is triggered immediately upon receiving a game session
|
|
8713
|
+
# request, actual game session availability depends on your server
|
|
8714
|
+
# process startup time, so this approach works best with multi-location
|
|
8715
|
+
# Fleets where cold-start latency is tolerable. With a "MANUAL"
|
|
8716
|
+
# ZeroCapacityStrategy Amazon GameLift Servers will not modify Fleet
|
|
8717
|
+
# MinSize values automatically and will not scale out from zero
|
|
8718
|
+
# instances in response to game sessions.
|
|
8719
|
+
#
|
|
8720
|
+
# @!attribute [rw] zero_capacity_strategy
|
|
8721
|
+
# The strategy Amazon GameLift Servers will use to automatically scale
|
|
8722
|
+
# your capacity to and from zero instances in response to game session
|
|
8723
|
+
# activity. Game session activity refers to any active running
|
|
8724
|
+
# sessions or game session requests.
|
|
8725
|
+
#
|
|
8726
|
+
# Possible ZeroCapacityStrategy types include:
|
|
8727
|
+
#
|
|
8728
|
+
# * **MANUAL** -- (default value) Amazon GameLift Servers will not
|
|
8729
|
+
# update capacity to and from zero on your behalf.
|
|
8730
|
+
#
|
|
8731
|
+
# * **SCALE\_TO\_AND\_FROM\_ZERO** -- Amazon GameLift Servers will
|
|
8732
|
+
# automatically scale out MinSize and DesiredInstances from 0 to 1
|
|
8733
|
+
# in response to a game session request, and will scale in MinSize
|
|
8734
|
+
# and DesiredInstances to 0 after a period with no game session
|
|
8735
|
+
# activity. The duration of this scale in period can be configured
|
|
8736
|
+
# using ScaleInAfterInactivityMinutes.
|
|
8737
|
+
# @return [String]
|
|
8738
|
+
#
|
|
8739
|
+
# @!attribute [rw] scale_in_after_inactivity_minutes
|
|
8740
|
+
# Length of time, in minutes, that Amazon GameLift Servers will wait
|
|
8741
|
+
# before scaling in your MinSize and DesiredInstances to 0 after a
|
|
8742
|
+
# period with no game session activity. Default: 30 minutes.
|
|
8743
|
+
# @return [Integer]
|
|
8744
|
+
#
|
|
8745
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ManagedCapacityConfiguration AWS API Documentation
|
|
8746
|
+
#
|
|
8747
|
+
class ManagedCapacityConfiguration < Struct.new(
|
|
8748
|
+
:zero_capacity_strategy,
|
|
8749
|
+
:scale_in_after_inactivity_minutes)
|
|
8750
|
+
SENSITIVE = []
|
|
8751
|
+
include Aws::Structure
|
|
8752
|
+
end
|
|
8753
|
+
|
|
8638
8754
|
# Represents a new player session that is created as a result of a
|
|
8639
8755
|
# successful FlexMatch match. A successful match automatically creates
|
|
8640
8756
|
# new player sessions for every player ID in the original matchmaking
|
|
@@ -8769,6 +8885,13 @@ module Aws::GameLift
|
|
|
8769
8885
|
# This information is added to the new `GameSession` object that is
|
|
8770
8886
|
# created for a successful match. This parameter is not used when
|
|
8771
8887
|
# `FlexMatchMode` is set to `STANDALONE`.
|
|
8888
|
+
#
|
|
8889
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
8890
|
+
# for game sessions by properties. Property keys containing periods
|
|
8891
|
+
# cannot be searched and will be filtered out from search results due
|
|
8892
|
+
# to search index limitations.
|
|
8893
|
+
#
|
|
8894
|
+
# </note>
|
|
8772
8895
|
# @return [Array<Types::GameProperty>]
|
|
8773
8896
|
#
|
|
8774
8897
|
# @!attribute [rw] game_session_data
|
|
@@ -10241,6 +10364,12 @@ module Aws::GameLift
|
|
|
10241
10364
|
# specify an earlier version.
|
|
10242
10365
|
# @return [Types::S3Location]
|
|
10243
10366
|
#
|
|
10367
|
+
# @!attribute [rw] node_js_version
|
|
10368
|
+
# The Node.js version used for execution of your Realtime script. The
|
|
10369
|
+
# valid values are `10.x | 24.x`. By default, `NodeJsVersion` is
|
|
10370
|
+
# `10.x`. This value cannot be updated later.
|
|
10371
|
+
# @return [String]
|
|
10372
|
+
#
|
|
10244
10373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/Script AWS API Documentation
|
|
10245
10374
|
#
|
|
10246
10375
|
class Script < Struct.new(
|
|
@@ -10250,7 +10379,8 @@ module Aws::GameLift
|
|
|
10250
10379
|
:version,
|
|
10251
10380
|
:size_on_disk,
|
|
10252
10381
|
:creation_time,
|
|
10253
|
-
:storage_location
|
|
10382
|
+
:storage_location,
|
|
10383
|
+
:node_js_version)
|
|
10254
10384
|
SENSITIVE = []
|
|
10255
10385
|
include Aws::Structure
|
|
10256
10386
|
end
|
|
@@ -10494,6 +10624,13 @@ module Aws::GameLift
|
|
|
10494
10624
|
# @!attribute [rw] game_properties
|
|
10495
10625
|
# A set of key-value pairs that can store custom data in a game
|
|
10496
10626
|
# session. For example: `{"Key": "difficulty", "Value": "novice"}`.
|
|
10627
|
+
#
|
|
10628
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
10629
|
+
# for game sessions by properties. Property keys containing periods
|
|
10630
|
+
# cannot be searched and will be filtered out from search results due
|
|
10631
|
+
# to search index limitations.
|
|
10632
|
+
#
|
|
10633
|
+
# </note>
|
|
10497
10634
|
# @return [Array<Types::GameProperty>]
|
|
10498
10635
|
#
|
|
10499
10636
|
# @!attribute [rw] maximum_player_session_count
|
|
@@ -11664,7 +11801,7 @@ module Aws::GameLift
|
|
|
11664
11801
|
# The platform that all containers in the group use. Containers in a
|
|
11665
11802
|
# group must run on the same operating system.
|
|
11666
11803
|
#
|
|
11667
|
-
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/
|
|
11804
|
+
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2026. See
|
|
11668
11805
|
# more details in the [Amazon Linux 2 FAQs][1]. For game servers that
|
|
11669
11806
|
# are hosted on AL2 and use server SDK version 4.x for Amazon GameLift
|
|
11670
11807
|
# Servers, first update the game server build to server SDK 5.x, and
|
|
@@ -11807,7 +11944,10 @@ module Aws::GameLift
|
|
|
11807
11944
|
#
|
|
11808
11945
|
# @!attribute [rw] min_size
|
|
11809
11946
|
# The minimum number of instances that are allowed in the specified
|
|
11810
|
-
# fleet location. If this parameter is not set, the default is 0.
|
|
11947
|
+
# fleet location. If this parameter is not set, the default is 0. This
|
|
11948
|
+
# parameter cannot be set when using a ManagedCapacityConfiguration
|
|
11949
|
+
# where ZeroCapacityStrategy has a value of
|
|
11950
|
+
# SCALE\_TO\_AND\_FROM\_ZERO.
|
|
11811
11951
|
# @return [Integer]
|
|
11812
11952
|
#
|
|
11813
11953
|
# @!attribute [rw] max_size
|
|
@@ -11821,6 +11961,11 @@ module Aws::GameLift
|
|
|
11821
11961
|
# `us-west-2`.
|
|
11822
11962
|
# @return [String]
|
|
11823
11963
|
#
|
|
11964
|
+
# @!attribute [rw] managed_capacity_configuration
|
|
11965
|
+
# Configuration for Amazon GameLift Servers-managed capacity scaling
|
|
11966
|
+
# options.
|
|
11967
|
+
# @return [Types::ManagedCapacityConfiguration]
|
|
11968
|
+
#
|
|
11824
11969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetCapacityInput AWS API Documentation
|
|
11825
11970
|
#
|
|
11826
11971
|
class UpdateFleetCapacityInput < Struct.new(
|
|
@@ -11828,7 +11973,8 @@ module Aws::GameLift
|
|
|
11828
11973
|
:desired_instances,
|
|
11829
11974
|
:min_size,
|
|
11830
11975
|
:max_size,
|
|
11831
|
-
:location
|
|
11976
|
+
:location,
|
|
11977
|
+
:managed_capacity_configuration)
|
|
11832
11978
|
SENSITIVE = []
|
|
11833
11979
|
include Aws::Structure
|
|
11834
11980
|
end
|
|
@@ -11853,12 +11999,18 @@ module Aws::GameLift
|
|
|
11853
11999
|
# Services Region code, such as `us-west-2`.
|
|
11854
12000
|
# @return [String]
|
|
11855
12001
|
#
|
|
12002
|
+
# @!attribute [rw] managed_capacity_configuration
|
|
12003
|
+
# Configuration for Amazon GameLift Servers-managed capacity scaling
|
|
12004
|
+
# options.
|
|
12005
|
+
# @return [Types::ManagedCapacityConfiguration]
|
|
12006
|
+
#
|
|
11856
12007
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetCapacityOutput AWS API Documentation
|
|
11857
12008
|
#
|
|
11858
12009
|
class UpdateFleetCapacityOutput < Struct.new(
|
|
11859
12010
|
:fleet_id,
|
|
11860
12011
|
:fleet_arn,
|
|
11861
|
-
:location
|
|
12012
|
+
:location,
|
|
12013
|
+
:managed_capacity_configuration)
|
|
11862
12014
|
SENSITIVE = []
|
|
11863
12015
|
include Aws::Structure
|
|
11864
12016
|
end
|
|
@@ -12095,6 +12247,13 @@ module Aws::GameLift
|
|
|
12095
12247
|
# properties. There is no way to delete properties. For an example,
|
|
12096
12248
|
# see [Update the value of a game property][1].
|
|
12097
12249
|
#
|
|
12250
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
12251
|
+
# for game sessions by properties. Property keys containing periods
|
|
12252
|
+
# cannot be searched and will be filtered out from search results due
|
|
12253
|
+
# to search index limitations.
|
|
12254
|
+
#
|
|
12255
|
+
# </note>
|
|
12256
|
+
#
|
|
12098
12257
|
#
|
|
12099
12258
|
#
|
|
12100
12259
|
# [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-update
|
|
@@ -12135,6 +12294,10 @@ module Aws::GameLift
|
|
|
12135
12294
|
# The maximum time, in seconds, that a new game session placement
|
|
12136
12295
|
# request remains in the queue. When a request exceeds this time, the
|
|
12137
12296
|
# game session placement changes to a `TIMED_OUT` status.
|
|
12297
|
+
#
|
|
12298
|
+
# <note markdown="1"> The minimum value is 10 and the maximum value is 600.
|
|
12299
|
+
#
|
|
12300
|
+
# </note>
|
|
12138
12301
|
# @return [Integer]
|
|
12139
12302
|
#
|
|
12140
12303
|
# @!attribute [rw] player_latency_policies
|
|
@@ -12292,6 +12455,13 @@ module Aws::GameLift
|
|
|
12292
12455
|
# This information is added to the new `GameSession` object that is
|
|
12293
12456
|
# created for a successful match. This parameter is not used if
|
|
12294
12457
|
# `FlexMatchMode` is set to `STANDALONE`.
|
|
12458
|
+
#
|
|
12459
|
+
# <note markdown="1"> Avoid using periods (".") in property keys if you plan to search
|
|
12460
|
+
# for game sessions by properties. Property keys containing periods
|
|
12461
|
+
# cannot be searched and will be filtered out from search results due
|
|
12462
|
+
# to search index limitations.
|
|
12463
|
+
#
|
|
12464
|
+
# </note>
|
|
12295
12465
|
# @return [Array<Types::GameProperty>]
|
|
12296
12466
|
#
|
|
12297
12467
|
# @!attribute [rw] game_session_data
|
data/lib/aws-sdk-gamelift.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -596,7 +596,8 @@ module Aws
|
|
|
596
596
|
key: ::String,
|
|
597
597
|
value: ::String
|
|
598
598
|
},
|
|
599
|
-
]
|
|
599
|
+
],
|
|
600
|
+
?node_js_version: ::String
|
|
600
601
|
) -> _CreateScriptResponseSuccess
|
|
601
602
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateScriptResponseSuccess
|
|
602
603
|
|
|
@@ -1857,6 +1858,7 @@ module Aws
|
|
|
1857
1858
|
def fleet_id: () -> ::String
|
|
1858
1859
|
def fleet_arn: () -> ::String
|
|
1859
1860
|
def location: () -> ::String
|
|
1861
|
+
def managed_capacity_configuration: () -> Types::ManagedCapacityConfiguration
|
|
1860
1862
|
end
|
|
1861
1863
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#update_fleet_capacity-instance_method
|
|
1862
1864
|
def update_fleet_capacity: (
|
|
@@ -1864,7 +1866,11 @@ module Aws
|
|
|
1864
1866
|
?desired_instances: ::Integer,
|
|
1865
1867
|
?min_size: ::Integer,
|
|
1866
1868
|
?max_size: ::Integer,
|
|
1867
|
-
?location: ::String
|
|
1869
|
+
?location: ::String,
|
|
1870
|
+
?managed_capacity_configuration: {
|
|
1871
|
+
zero_capacity_strategy: ("MANUAL" | "SCALE_TO_AND_FROM_ZERO")?,
|
|
1872
|
+
scale_in_after_inactivity_minutes: ::Integer?
|
|
1873
|
+
}
|
|
1868
1874
|
) -> _UpdateFleetCapacityResponseSuccess
|
|
1869
1875
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFleetCapacityResponseSuccess
|
|
1870
1876
|
|
data/sig/types.rbs
CHANGED
|
@@ -469,6 +469,7 @@ module Aws::GameLift
|
|
|
469
469
|
attr_accessor storage_location: Types::S3Location
|
|
470
470
|
attr_accessor zip_file: ::String
|
|
471
471
|
attr_accessor tags: ::Array[Types::Tag]
|
|
472
|
+
attr_accessor node_js_version: ::String
|
|
472
473
|
SENSITIVE: []
|
|
473
474
|
end
|
|
474
475
|
|
|
@@ -1116,6 +1117,7 @@ module Aws::GameLift
|
|
|
1116
1117
|
attr_accessor instance_counts: Types::EC2InstanceCounts
|
|
1117
1118
|
attr_accessor location: ::String
|
|
1118
1119
|
attr_accessor game_server_container_group_counts: Types::GameServerContainerGroupCounts
|
|
1120
|
+
attr_accessor managed_capacity_configuration: Types::ManagedCapacityConfiguration
|
|
1119
1121
|
SENSITIVE: []
|
|
1120
1122
|
end
|
|
1121
1123
|
|
|
@@ -1661,6 +1663,12 @@ module Aws::GameLift
|
|
|
1661
1663
|
SENSITIVE: []
|
|
1662
1664
|
end
|
|
1663
1665
|
|
|
1666
|
+
class ManagedCapacityConfiguration
|
|
1667
|
+
attr_accessor zero_capacity_strategy: ("MANUAL" | "SCALE_TO_AND_FROM_ZERO")
|
|
1668
|
+
attr_accessor scale_in_after_inactivity_minutes: ::Integer
|
|
1669
|
+
SENSITIVE: []
|
|
1670
|
+
end
|
|
1671
|
+
|
|
1664
1672
|
class MatchedPlayerSession
|
|
1665
1673
|
attr_accessor player_id: ::String
|
|
1666
1674
|
attr_accessor player_session_id: ::String
|
|
@@ -1921,6 +1929,7 @@ module Aws::GameLift
|
|
|
1921
1929
|
attr_accessor size_on_disk: ::Integer
|
|
1922
1930
|
attr_accessor creation_time: ::Time
|
|
1923
1931
|
attr_accessor storage_location: Types::S3Location
|
|
1932
|
+
attr_accessor node_js_version: ::String
|
|
1924
1933
|
SENSITIVE: []
|
|
1925
1934
|
end
|
|
1926
1935
|
|
|
@@ -2234,6 +2243,7 @@ module Aws::GameLift
|
|
|
2234
2243
|
attr_accessor min_size: ::Integer
|
|
2235
2244
|
attr_accessor max_size: ::Integer
|
|
2236
2245
|
attr_accessor location: ::String
|
|
2246
|
+
attr_accessor managed_capacity_configuration: Types::ManagedCapacityConfiguration
|
|
2237
2247
|
SENSITIVE: []
|
|
2238
2248
|
end
|
|
2239
2249
|
|
|
@@ -2241,6 +2251,7 @@ module Aws::GameLift
|
|
|
2241
2251
|
attr_accessor fleet_id: ::String
|
|
2242
2252
|
attr_accessor fleet_arn: ::String
|
|
2243
2253
|
attr_accessor location: ::String
|
|
2254
|
+
attr_accessor managed_capacity_configuration: Types::ManagedCapacityConfiguration
|
|
2244
2255
|
SENSITIVE: []
|
|
2245
2256
|
end
|
|
2246
2257
|
|