aws-sdk-gamelift 1.118.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-gamelift/client.rb +47 -4
- data/lib/aws-sdk-gamelift/client_api.rb +10 -0
- data/lib/aws-sdk-gamelift/types.rb +89 -4
- data/lib/aws-sdk-gamelift.rb +1 -1
- data/sig/client.rbs +6 -1
- data/sig/types.rbs +9 -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,11 @@
|
|
|
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
|
+
|
|
4
9
|
1.118.0 (2026-01-22)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.119.0
|
|
@@ -2765,6 +2765,10 @@ module Aws::GameLift
|
|
|
2765
2765
|
# game session placement changes to a `TIMED_OUT` status. If you don't
|
|
2766
2766
|
# specify a request timeout, the queue uses a default value.
|
|
2767
2767
|
#
|
|
2768
|
+
# <note markdown="1"> The minimum value is 10 and the maximum value is 600.
|
|
2769
|
+
#
|
|
2770
|
+
# </note>
|
|
2771
|
+
#
|
|
2768
2772
|
# @option params [Array<Types::PlayerLatencyPolicy>] :player_latency_policies
|
|
2769
2773
|
# A set of policies that enforce a sliding cap on player latency when
|
|
2770
2774
|
# processing game sessions placement requests. Use multiple policies to
|
|
@@ -5244,6 +5248,8 @@ module Aws::GameLift
|
|
|
5244
5248
|
# resp.fleet_capacity[0].game_server_container_group_counts.active #=> Integer
|
|
5245
5249
|
# resp.fleet_capacity[0].game_server_container_group_counts.idle #=> Integer
|
|
5246
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
|
|
5247
5253
|
# resp.next_token #=> String
|
|
5248
5254
|
#
|
|
5249
5255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetCapacity AWS API Documentation
|
|
@@ -5564,6 +5570,8 @@ module Aws::GameLift
|
|
|
5564
5570
|
# resp.fleet_capacity.game_server_container_group_counts.active #=> Integer
|
|
5565
5571
|
# resp.fleet_capacity.game_server_container_group_counts.idle #=> Integer
|
|
5566
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
|
|
5567
5575
|
#
|
|
5568
5576
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetLocationCapacity AWS API Documentation
|
|
5569
5577
|
#
|
|
@@ -11378,8 +11386,6 @@ module Aws::GameLift
|
|
|
11378
11386
|
# configuration. For fleets with multiple locations, use this operation
|
|
11379
11387
|
# to manage capacity settings in each location individually.
|
|
11380
11388
|
#
|
|
11381
|
-
# Use this operation to set these fleet capacity properties:
|
|
11382
|
-
#
|
|
11383
11389
|
# * Minimum/maximum size: Set hard limits on the number of Amazon EC2
|
|
11384
11390
|
# instances allowed. If Amazon GameLift Servers receives a
|
|
11385
11391
|
# request--either through manual update or automatic scaling--it
|
|
@@ -11411,6 +11417,26 @@ module Aws::GameLift
|
|
|
11411
11417
|
# location. You can track a fleet's current capacity by calling
|
|
11412
11418
|
# [DescribeFleetCapacity][2] or [DescribeFleetLocationCapacity][3].
|
|
11413
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
|
+
#
|
|
11414
11440
|
# **Learn more**
|
|
11415
11441
|
#
|
|
11416
11442
|
# [Scaling fleet capacity][4]
|
|
@@ -11434,7 +11460,9 @@ module Aws::GameLift
|
|
|
11434
11460
|
#
|
|
11435
11461
|
# @option params [Integer] :min_size
|
|
11436
11462
|
# The minimum number of instances that are allowed in the specified
|
|
11437
|
-
# 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.
|
|
11438
11466
|
#
|
|
11439
11467
|
# @option params [Integer] :max_size
|
|
11440
11468
|
# The maximum number of instances that are allowed in the specified
|
|
@@ -11444,11 +11472,16 @@ module Aws::GameLift
|
|
|
11444
11472
|
# The name of a remote location to update fleet capacity settings for,
|
|
11445
11473
|
# in the form of an Amazon Web Services Region code such as `us-west-2`.
|
|
11446
11474
|
#
|
|
11475
|
+
# @option params [Types::ManagedCapacityConfiguration] :managed_capacity_configuration
|
|
11476
|
+
# Configuration for Amazon GameLift Servers-managed capacity scaling
|
|
11477
|
+
# options.
|
|
11478
|
+
#
|
|
11447
11479
|
# @return [Types::UpdateFleetCapacityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
11448
11480
|
#
|
|
11449
11481
|
# * {Types::UpdateFleetCapacityOutput#fleet_id #fleet_id} => String
|
|
11450
11482
|
# * {Types::UpdateFleetCapacityOutput#fleet_arn #fleet_arn} => String
|
|
11451
11483
|
# * {Types::UpdateFleetCapacityOutput#location #location} => String
|
|
11484
|
+
# * {Types::UpdateFleetCapacityOutput#managed_capacity_configuration #managed_capacity_configuration} => Types::ManagedCapacityConfiguration
|
|
11452
11485
|
#
|
|
11453
11486
|
# @example Request syntax with placeholder values
|
|
11454
11487
|
#
|
|
@@ -11458,6 +11491,10 @@ module Aws::GameLift
|
|
|
11458
11491
|
# min_size: 1,
|
|
11459
11492
|
# max_size: 1,
|
|
11460
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
|
+
# },
|
|
11461
11498
|
# })
|
|
11462
11499
|
#
|
|
11463
11500
|
# @example Response structure
|
|
@@ -11465,6 +11502,8 @@ module Aws::GameLift
|
|
|
11465
11502
|
# resp.fleet_id #=> String
|
|
11466
11503
|
# resp.fleet_arn #=> String
|
|
11467
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
|
|
11468
11507
|
#
|
|
11469
11508
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetCapacity AWS API Documentation
|
|
11470
11509
|
#
|
|
@@ -11918,6 +11957,10 @@ module Aws::GameLift
|
|
|
11918
11957
|
# request remains in the queue. When a request exceeds this time, the
|
|
11919
11958
|
# game session placement changes to a `TIMED_OUT` status.
|
|
11920
11959
|
#
|
|
11960
|
+
# <note markdown="1"> The minimum value is 10 and the maximum value is 600.
|
|
11961
|
+
#
|
|
11962
|
+
# </note>
|
|
11963
|
+
#
|
|
11921
11964
|
# @option params [Array<Types::PlayerLatencyPolicy>] :player_latency_policies
|
|
11922
11965
|
# A set of policies that enforce a sliding cap on player latency when
|
|
11923
11966
|
# processing game sessions placement requests. Use multiple policies to
|
|
@@ -12461,7 +12504,7 @@ module Aws::GameLift
|
|
|
12461
12504
|
tracer: tracer
|
|
12462
12505
|
)
|
|
12463
12506
|
context[:gem_name] = 'aws-sdk-gamelift'
|
|
12464
|
-
context[:gem_version] = '1.
|
|
12507
|
+
context[:gem_version] = '1.119.0'
|
|
12465
12508
|
Seahorse::Client::Request.new(handlers, context)
|
|
12466
12509
|
end
|
|
12467
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')
|
|
@@ -510,6 +511,7 @@ module Aws::GameLift
|
|
|
510
511
|
RuleSetLimit = Shapes::IntegerShape.new(name: 'RuleSetLimit')
|
|
511
512
|
RuntimeConfiguration = Shapes::StructureShape.new(name: 'RuntimeConfiguration')
|
|
512
513
|
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
|
514
|
+
ScaleInAfterInactivityMinutes = Shapes::IntegerShape.new(name: 'ScaleInAfterInactivityMinutes')
|
|
513
515
|
ScalingAdjustmentType = Shapes::StringShape.new(name: 'ScalingAdjustmentType')
|
|
514
516
|
ScalingPolicy = Shapes::StructureShape.new(name: 'ScalingPolicy')
|
|
515
517
|
ScalingPolicyList = Shapes::ListShape.new(name: 'ScalingPolicyList')
|
|
@@ -609,6 +611,7 @@ module Aws::GameLift
|
|
|
609
611
|
VpcSubnets = Shapes::ListShape.new(name: 'VpcSubnets')
|
|
610
612
|
WeightedCapacity = Shapes::StringShape.new(name: 'WeightedCapacity')
|
|
611
613
|
WholeNumber = Shapes::IntegerShape.new(name: 'WholeNumber')
|
|
614
|
+
ZeroCapacityStrategy = Shapes::StringShape.new(name: 'ZeroCapacityStrategy')
|
|
612
615
|
ZipBlob = Shapes::BlobShape.new(name: 'ZipBlob')
|
|
613
616
|
|
|
614
617
|
AcceptMatchInput.add_member(:ticket_id, Shapes::ShapeRef.new(shape: MatchmakingIdStringModel, required: true, location_name: "TicketId"))
|
|
@@ -1453,6 +1456,7 @@ module Aws::GameLift
|
|
|
1453
1456
|
FleetCapacity.add_member(:instance_counts, Shapes::ShapeRef.new(shape: EC2InstanceCounts, location_name: "InstanceCounts"))
|
|
1454
1457
|
FleetCapacity.add_member(:location, Shapes::ShapeRef.new(shape: LocationStringModel, location_name: "Location"))
|
|
1455
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"))
|
|
1456
1460
|
FleetCapacity.struct_class = Types::FleetCapacity
|
|
1457
1461
|
|
|
1458
1462
|
FleetCapacityExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
|
|
@@ -1913,6 +1917,10 @@ module Aws::GameLift
|
|
|
1913
1917
|
LogConfiguration.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArnStringModel, location_name: "LogGroupArn"))
|
|
1914
1918
|
LogConfiguration.struct_class = Types::LogConfiguration
|
|
1915
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
|
+
|
|
1916
1924
|
MatchedPlayerSession.add_member(:player_id, Shapes::ShapeRef.new(shape: PlayerId, location_name: "PlayerId"))
|
|
1917
1925
|
MatchedPlayerSession.add_member(:player_session_id, Shapes::ShapeRef.new(shape: PlayerSessionId, location_name: "PlayerSessionId"))
|
|
1918
1926
|
MatchedPlayerSession.struct_class = Types::MatchedPlayerSession
|
|
@@ -2394,11 +2402,13 @@ module Aws::GameLift
|
|
|
2394
2402
|
UpdateFleetCapacityInput.add_member(:min_size, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "MinSize"))
|
|
2395
2403
|
UpdateFleetCapacityInput.add_member(:max_size, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "MaxSize"))
|
|
2396
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"))
|
|
2397
2406
|
UpdateFleetCapacityInput.struct_class = Types::UpdateFleetCapacityInput
|
|
2398
2407
|
|
|
2399
2408
|
UpdateFleetCapacityOutput.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "FleetId"))
|
|
2400
2409
|
UpdateFleetCapacityOutput.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, location_name: "FleetArn"))
|
|
2401
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"))
|
|
2402
2412
|
UpdateFleetCapacityOutput.struct_class = Types::UpdateFleetCapacityOutput
|
|
2403
2413
|
|
|
2404
2414
|
UpdateFleetPortSettingsInput.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdOrArn, required: true, location_name: "FleetId"))
|
|
@@ -2601,6 +2601,10 @@ module Aws::GameLift
|
|
|
2601
2601
|
# request remains in the queue. When a request exceeds this time, the
|
|
2602
2602
|
# game session placement changes to a `TIMED_OUT` status. If you
|
|
2603
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>
|
|
2604
2608
|
# @return [Integer]
|
|
2605
2609
|
#
|
|
2606
2610
|
# @!attribute [rw] player_latency_policies
|
|
@@ -5797,6 +5801,10 @@ module Aws::GameLift
|
|
|
5797
5801
|
# container fleet.
|
|
5798
5802
|
# @return [Types::GameServerContainerGroupCounts]
|
|
5799
5803
|
#
|
|
5804
|
+
# @!attribute [rw] managed_capacity_configuration
|
|
5805
|
+
# Configuration settings for managed capacity scaling.
|
|
5806
|
+
# @return [Types::ManagedCapacityConfiguration]
|
|
5807
|
+
#
|
|
5800
5808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/FleetCapacity AWS API Documentation
|
|
5801
5809
|
#
|
|
5802
5810
|
class FleetCapacity < Struct.new(
|
|
@@ -5805,7 +5813,8 @@ module Aws::GameLift
|
|
|
5805
5813
|
:instance_type,
|
|
5806
5814
|
:instance_counts,
|
|
5807
5815
|
:location,
|
|
5808
|
-
:game_server_container_group_counts
|
|
5816
|
+
:game_server_container_group_counts,
|
|
5817
|
+
:managed_capacity_configuration)
|
|
5809
5818
|
SENSITIVE = []
|
|
5810
5819
|
include Aws::Structure
|
|
5811
5820
|
end
|
|
@@ -7139,6 +7148,10 @@ module Aws::GameLift
|
|
|
7139
7148
|
# The maximum time, in seconds, that a new game session placement
|
|
7140
7149
|
# request remains in the queue. When a request exceeds this time, the
|
|
7141
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>
|
|
7142
7155
|
# @return [Integer]
|
|
7143
7156
|
#
|
|
7144
7157
|
# @!attribute [rw] player_latency_policies
|
|
@@ -8685,6 +8698,59 @@ module Aws::GameLift
|
|
|
8685
8698
|
include Aws::Structure
|
|
8686
8699
|
end
|
|
8687
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
|
+
|
|
8688
8754
|
# Represents a new player session that is created as a result of a
|
|
8689
8755
|
# successful FlexMatch match. A successful match automatically creates
|
|
8690
8756
|
# new player sessions for every player ID in the original matchmaking
|
|
@@ -11878,7 +11944,10 @@ module Aws::GameLift
|
|
|
11878
11944
|
#
|
|
11879
11945
|
# @!attribute [rw] min_size
|
|
11880
11946
|
# The minimum number of instances that are allowed in the specified
|
|
11881
|
-
# 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.
|
|
11882
11951
|
# @return [Integer]
|
|
11883
11952
|
#
|
|
11884
11953
|
# @!attribute [rw] max_size
|
|
@@ -11892,6 +11961,11 @@ module Aws::GameLift
|
|
|
11892
11961
|
# `us-west-2`.
|
|
11893
11962
|
# @return [String]
|
|
11894
11963
|
#
|
|
11964
|
+
# @!attribute [rw] managed_capacity_configuration
|
|
11965
|
+
# Configuration for Amazon GameLift Servers-managed capacity scaling
|
|
11966
|
+
# options.
|
|
11967
|
+
# @return [Types::ManagedCapacityConfiguration]
|
|
11968
|
+
#
|
|
11895
11969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetCapacityInput AWS API Documentation
|
|
11896
11970
|
#
|
|
11897
11971
|
class UpdateFleetCapacityInput < Struct.new(
|
|
@@ -11899,7 +11973,8 @@ module Aws::GameLift
|
|
|
11899
11973
|
:desired_instances,
|
|
11900
11974
|
:min_size,
|
|
11901
11975
|
:max_size,
|
|
11902
|
-
:location
|
|
11976
|
+
:location,
|
|
11977
|
+
:managed_capacity_configuration)
|
|
11903
11978
|
SENSITIVE = []
|
|
11904
11979
|
include Aws::Structure
|
|
11905
11980
|
end
|
|
@@ -11924,12 +11999,18 @@ module Aws::GameLift
|
|
|
11924
11999
|
# Services Region code, such as `us-west-2`.
|
|
11925
12000
|
# @return [String]
|
|
11926
12001
|
#
|
|
12002
|
+
# @!attribute [rw] managed_capacity_configuration
|
|
12003
|
+
# Configuration for Amazon GameLift Servers-managed capacity scaling
|
|
12004
|
+
# options.
|
|
12005
|
+
# @return [Types::ManagedCapacityConfiguration]
|
|
12006
|
+
#
|
|
11927
12007
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetCapacityOutput AWS API Documentation
|
|
11928
12008
|
#
|
|
11929
12009
|
class UpdateFleetCapacityOutput < Struct.new(
|
|
11930
12010
|
:fleet_id,
|
|
11931
12011
|
:fleet_arn,
|
|
11932
|
-
:location
|
|
12012
|
+
:location,
|
|
12013
|
+
:managed_capacity_configuration)
|
|
11933
12014
|
SENSITIVE = []
|
|
11934
12015
|
include Aws::Structure
|
|
11935
12016
|
end
|
|
@@ -12213,6 +12294,10 @@ module Aws::GameLift
|
|
|
12213
12294
|
# The maximum time, in seconds, that a new game session placement
|
|
12214
12295
|
# request remains in the queue. When a request exceeds this time, the
|
|
12215
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>
|
|
12216
12301
|
# @return [Integer]
|
|
12217
12302
|
#
|
|
12218
12303
|
# @!attribute [rw] player_latency_policies
|
data/lib/aws-sdk-gamelift.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1858,6 +1858,7 @@ module Aws
|
|
|
1858
1858
|
def fleet_id: () -> ::String
|
|
1859
1859
|
def fleet_arn: () -> ::String
|
|
1860
1860
|
def location: () -> ::String
|
|
1861
|
+
def managed_capacity_configuration: () -> Types::ManagedCapacityConfiguration
|
|
1861
1862
|
end
|
|
1862
1863
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift/Client.html#update_fleet_capacity-instance_method
|
|
1863
1864
|
def update_fleet_capacity: (
|
|
@@ -1865,7 +1866,11 @@ module Aws
|
|
|
1865
1866
|
?desired_instances: ::Integer,
|
|
1866
1867
|
?min_size: ::Integer,
|
|
1867
1868
|
?max_size: ::Integer,
|
|
1868
|
-
?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
|
+
}
|
|
1869
1874
|
) -> _UpdateFleetCapacityResponseSuccess
|
|
1870
1875
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFleetCapacityResponseSuccess
|
|
1871
1876
|
|
data/sig/types.rbs
CHANGED
|
@@ -1117,6 +1117,7 @@ module Aws::GameLift
|
|
|
1117
1117
|
attr_accessor instance_counts: Types::EC2InstanceCounts
|
|
1118
1118
|
attr_accessor location: ::String
|
|
1119
1119
|
attr_accessor game_server_container_group_counts: Types::GameServerContainerGroupCounts
|
|
1120
|
+
attr_accessor managed_capacity_configuration: Types::ManagedCapacityConfiguration
|
|
1120
1121
|
SENSITIVE: []
|
|
1121
1122
|
end
|
|
1122
1123
|
|
|
@@ -1662,6 +1663,12 @@ module Aws::GameLift
|
|
|
1662
1663
|
SENSITIVE: []
|
|
1663
1664
|
end
|
|
1664
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
|
+
|
|
1665
1672
|
class MatchedPlayerSession
|
|
1666
1673
|
attr_accessor player_id: ::String
|
|
1667
1674
|
attr_accessor player_session_id: ::String
|
|
@@ -2236,6 +2243,7 @@ module Aws::GameLift
|
|
|
2236
2243
|
attr_accessor min_size: ::Integer
|
|
2237
2244
|
attr_accessor max_size: ::Integer
|
|
2238
2245
|
attr_accessor location: ::String
|
|
2246
|
+
attr_accessor managed_capacity_configuration: Types::ManagedCapacityConfiguration
|
|
2239
2247
|
SENSITIVE: []
|
|
2240
2248
|
end
|
|
2241
2249
|
|
|
@@ -2243,6 +2251,7 @@ module Aws::GameLift
|
|
|
2243
2251
|
attr_accessor fleet_id: ::String
|
|
2244
2252
|
attr_accessor fleet_arn: ::String
|
|
2245
2253
|
attr_accessor location: ::String
|
|
2254
|
+
attr_accessor managed_capacity_configuration: Types::ManagedCapacityConfiguration
|
|
2246
2255
|
SENSITIVE: []
|
|
2247
2256
|
end
|
|
2248
2257
|
|