aws-sdk-gamelift 1.62.0 → 1.63.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 +46 -33
- data/lib/aws-sdk-gamelift/client_api.rb +9 -0
- data/lib/aws-sdk-gamelift/types.rb +44 -11
- data/lib/aws-sdk-gamelift.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86f595da881b4621e4c248b656ca7476d176cec9b077cb742e17e6e0d1b12692
|
4
|
+
data.tar.gz: 7eba1d74cde02868f44a3eecc5007010a930dedf9ccdef11ba7e079eaf660790
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 144af29ae9d76827f246e3144b9c86f11f701f9f091441c57b6363afd07df89ac115acd5eae737a28cc5397d587e9eaf1100478b2a1be26d73c20b9fc86a9351
|
7
|
+
data.tar.gz: 00ecd5e78cfcc260d9b14b828fbaf7a716167b1ab33feb0672328c73e1f6b57978817b6060171214c9f689d7def64cbc9ac53f8365d0d64c244f09229454382c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.63.0 (2023-05-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - GameLift FleetIQ users can now filter game server claim requests to exclude servers on instances that are draining.
|
8
|
+
|
4
9
|
1.62.0 (2023-04-20)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.63.0
|
@@ -460,7 +460,9 @@ module Aws::GameLift
|
|
460
460
|
# specify a game server ID, although this approach bypasses Amazon
|
461
461
|
# GameLift FleetIQ placement optimization. Optionally, include game data
|
462
462
|
# to pass to the game server at the start of a game session, such as a
|
463
|
-
# game map or player information.
|
463
|
+
# game map or player information. Filter options may be included to
|
464
|
+
# further restrict how a game server is chosen, such as only allowing
|
465
|
+
# game servers on `ACTIVE` instances to be claimed.
|
464
466
|
#
|
465
467
|
# When a game server is successfully claimed, connection information is
|
466
468
|
# returned. A claimed game server's utilization status remains
|
@@ -478,21 +480,17 @@ module Aws::GameLift
|
|
478
480
|
#
|
479
481
|
# * If the game server claim status is `CLAIMED`.
|
480
482
|
#
|
481
|
-
#
|
482
|
-
#
|
483
|
-
#
|
484
|
-
# [DescribeGameServerInstances][1] .
|
485
|
-
#
|
486
|
-
# </note>
|
483
|
+
# * If the game server is running on an instance in `DRAINING` status
|
484
|
+
# and provided filter option does not allow placing on `DRAINING`
|
485
|
+
# instances.
|
487
486
|
#
|
488
487
|
# **Learn more**
|
489
488
|
#
|
490
|
-
# [Amazon GameLift FleetIQ Guide][
|
489
|
+
# [Amazon GameLift FleetIQ Guide][1]
|
491
490
|
#
|
492
491
|
#
|
493
492
|
#
|
494
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/
|
495
|
-
# [2]: https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html
|
493
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html
|
496
494
|
#
|
497
495
|
# @option params [required, String] :game_server_group_name
|
498
496
|
# A unique identifier for the game server group where the game server is
|
@@ -510,6 +508,9 @@ module Aws::GameLift
|
|
510
508
|
# value. This data is passed to a game client or service when it
|
511
509
|
# requests information on game servers.
|
512
510
|
#
|
511
|
+
# @option params [Types::ClaimFilterOption] :filter_option
|
512
|
+
# Object that restricts how a claimed game server is chosen.
|
513
|
+
#
|
513
514
|
# @return [Types::ClaimGameServerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
514
515
|
#
|
515
516
|
# * {Types::ClaimGameServerOutput#game_server #game_server} => Types::GameServer
|
@@ -520,6 +521,9 @@ module Aws::GameLift
|
|
520
521
|
# game_server_group_name: "GameServerGroupNameOrArn", # required
|
521
522
|
# game_server_id: "GameServerId",
|
522
523
|
# game_server_data: "GameServerData",
|
524
|
+
# filter_option: {
|
525
|
+
# instance_statuses: ["ACTIVE"], # accepts ACTIVE, DRAINING
|
526
|
+
# },
|
523
527
|
# })
|
524
528
|
#
|
525
529
|
# @example Response structure
|
@@ -644,25 +648,25 @@ module Aws::GameLift
|
|
644
648
|
# using the CLI command <b> <a
|
645
649
|
# href="https://docs.aws.amazon.com/cli/latest/reference/gamelift/upload-build.html">upload-build</a>
|
646
650
|
# </b>. This helper command combines two tasks: (1) it uploads your
|
647
|
-
# build files from a file directory to
|
651
|
+
# build files from a file directory to an Amazon GameLift Amazon S3
|
648
652
|
# location, and (2) it creates a new build resource.
|
649
653
|
#
|
650
|
-
# You can use the operation in the following scenarios:
|
654
|
+
# You can use the `CreateBuild` operation in the following scenarios:
|
651
655
|
#
|
652
|
-
# *
|
656
|
+
# * Create a new game build with build files that are in an Amazon S3
|
653
657
|
# location under an Amazon Web Services account that you control. To
|
654
658
|
# use this option, you give Amazon GameLift access to the Amazon S3
|
655
659
|
# bucket. With permissions in place, specify a build name, operating
|
656
660
|
# system, and the Amazon S3 storage location of your game build.
|
657
661
|
#
|
658
|
-
# *
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
664
|
-
#
|
665
|
-
#
|
662
|
+
# * Upload your build files to a Amazon GameLift Amazon S3 location. To
|
663
|
+
# use this option, specify a build name and operating system. This
|
664
|
+
# operation creates a new build resource and also returns an Amazon S3
|
665
|
+
# location with temporary access credentials. Use the credentials to
|
666
|
+
# manually upload your build files to the specified Amazon S3
|
667
|
+
# location. For more information, see [Uploading Objects][1] in the
|
668
|
+
# *Amazon S3 Developer Guide*. After you upload build files to the
|
669
|
+
# Amazon GameLift Amazon S3 location, you can't update them.
|
666
670
|
#
|
667
671
|
# If successful, this operation creates a new build resource with a
|
668
672
|
# unique build ID and places it in `INITIALIZED` status. A build must be
|
@@ -704,12 +708,19 @@ module Aws::GameLift
|
|
704
708
|
# `SizeOnDisk` of 0.
|
705
709
|
#
|
706
710
|
# @option params [String] :operating_system
|
707
|
-
# The operating system that
|
708
|
-
#
|
709
|
-
#
|
710
|
-
#
|
711
|
-
#
|
712
|
-
#
|
711
|
+
# The operating system that your game server binaries run on. This value
|
712
|
+
# determines the type of fleet resources that you use for this build. If
|
713
|
+
# your game build contains multiple executables, they all must run on
|
714
|
+
# the same operating system. You must specify a valid operating system
|
715
|
+
# in this request. There is no default value. You can't change a
|
716
|
+
# build's operating system later.
|
717
|
+
#
|
718
|
+
# <note markdown="1"> If you have active fleets using the Windows Server 2012 operating
|
719
|
+
# system, you can continue to create new builds using this OS until
|
720
|
+
# October 10, 2023, when Microsoft ends its support. All others must use
|
721
|
+
# Windows Server 2016 when creating new Windows-based builds.
|
722
|
+
#
|
723
|
+
# </note>
|
713
724
|
#
|
714
725
|
# @option params [Array<Types::Tag>] :tags
|
715
726
|
# A list of labels to assign to the new build resource. Tags are
|
@@ -1723,7 +1734,8 @@ module Aws::GameLift
|
|
1723
1734
|
# @option params [Integer] :timeout_in_seconds
|
1724
1735
|
# The maximum time, in seconds, that a new game session placement
|
1725
1736
|
# request remains in the queue. When a request exceeds this time, the
|
1726
|
-
# game session placement changes to a `TIMED_OUT` status.
|
1737
|
+
# game session placement changes to a `TIMED_OUT` status. By default,
|
1738
|
+
# this property is set to `600`.
|
1727
1739
|
#
|
1728
1740
|
# @option params [Array<Types::PlayerLatencyPolicy>] :player_latency_policies
|
1729
1741
|
# A set of policies that act as a sliding cap on player latency. FleetIQ
|
@@ -5684,9 +5696,9 @@ module Aws::GameLift
|
|
5684
5696
|
end
|
5685
5697
|
|
5686
5698
|
# Retrieves the location of stored game session logs for a specified
|
5687
|
-
# game session. When a game session is
|
5688
|
-
# automatically stores the logs in Amazon S3
|
5689
|
-
# days. Use this URL to download the logs.
|
5699
|
+
# game session on Amazon GameLift managed fleets. When a game session is
|
5700
|
+
# terminated, Amazon GameLift automatically stores the logs in Amazon S3
|
5701
|
+
# and retains them for 14 days. Use this URL to download the logs.
|
5690
5702
|
#
|
5691
5703
|
# <note markdown="1"> See the [Amazon Web Services Service Limits][1] page for maximum log
|
5692
5704
|
# file sizes. Log files that exceed this limit are not saved.
|
@@ -8804,7 +8816,8 @@ module Aws::GameLift
|
|
8804
8816
|
# @option params [Integer] :timeout_in_seconds
|
8805
8817
|
# The maximum time, in seconds, that a new game session placement
|
8806
8818
|
# request remains in the queue. When a request exceeds this time, the
|
8807
|
-
# game session placement changes to a `TIMED_OUT` status.
|
8819
|
+
# game session placement changes to a `TIMED_OUT` status. By default,
|
8820
|
+
# this property is set to `600`.
|
8808
8821
|
#
|
8809
8822
|
# @option params [Array<Types::PlayerLatencyPolicy>] :player_latency_policies
|
8810
8823
|
# A set of policies that act as a sliding cap on player latency. FleetIQ
|
@@ -9330,7 +9343,7 @@ module Aws::GameLift
|
|
9330
9343
|
params: params,
|
9331
9344
|
config: config)
|
9332
9345
|
context[:gem_name] = 'aws-sdk-gamelift'
|
9333
|
-
context[:gem_version] = '1.
|
9346
|
+
context[:gem_version] = '1.63.0'
|
9334
9347
|
Seahorse::Client::Request.new(handlers, context)
|
9335
9348
|
end
|
9336
9349
|
|
@@ -38,6 +38,7 @@ module Aws::GameLift
|
|
38
38
|
BuildStatus = Shapes::StringShape.new(name: 'BuildStatus')
|
39
39
|
CertificateConfiguration = Shapes::StructureShape.new(name: 'CertificateConfiguration')
|
40
40
|
CertificateType = Shapes::StringShape.new(name: 'CertificateType')
|
41
|
+
ClaimFilterOption = Shapes::StructureShape.new(name: 'ClaimFilterOption')
|
41
42
|
ClaimGameServerInput = Shapes::StructureShape.new(name: 'ClaimGameServerInput')
|
42
43
|
ClaimGameServerOutput = Shapes::StructureShape.new(name: 'ClaimGameServerOutput')
|
43
44
|
ComparisonOperatorType = Shapes::StringShape.new(name: 'ComparisonOperatorType')
|
@@ -179,6 +180,8 @@ module Aws::GameLift
|
|
179
180
|
EventCode = Shapes::StringShape.new(name: 'EventCode')
|
180
181
|
EventList = Shapes::ListShape.new(name: 'EventList')
|
181
182
|
FilterConfiguration = Shapes::StructureShape.new(name: 'FilterConfiguration')
|
183
|
+
FilterInstanceStatus = Shapes::StringShape.new(name: 'FilterInstanceStatus')
|
184
|
+
FilterInstanceStatuses = Shapes::ListShape.new(name: 'FilterInstanceStatuses')
|
182
185
|
FleetAction = Shapes::StringShape.new(name: 'FleetAction')
|
183
186
|
FleetActionList = Shapes::ListShape.new(name: 'FleetActionList')
|
184
187
|
FleetArn = Shapes::StringShape.new(name: 'FleetArn')
|
@@ -536,9 +539,13 @@ module Aws::GameLift
|
|
536
539
|
CertificateConfiguration.add_member(:certificate_type, Shapes::ShapeRef.new(shape: CertificateType, required: true, location_name: "CertificateType"))
|
537
540
|
CertificateConfiguration.struct_class = Types::CertificateConfiguration
|
538
541
|
|
542
|
+
ClaimFilterOption.add_member(:instance_statuses, Shapes::ShapeRef.new(shape: FilterInstanceStatuses, location_name: "InstanceStatuses"))
|
543
|
+
ClaimFilterOption.struct_class = Types::ClaimFilterOption
|
544
|
+
|
539
545
|
ClaimGameServerInput.add_member(:game_server_group_name, Shapes::ShapeRef.new(shape: GameServerGroupNameOrArn, required: true, location_name: "GameServerGroupName"))
|
540
546
|
ClaimGameServerInput.add_member(:game_server_id, Shapes::ShapeRef.new(shape: GameServerId, location_name: "GameServerId"))
|
541
547
|
ClaimGameServerInput.add_member(:game_server_data, Shapes::ShapeRef.new(shape: GameServerData, location_name: "GameServerData"))
|
548
|
+
ClaimGameServerInput.add_member(:filter_option, Shapes::ShapeRef.new(shape: ClaimFilterOption, location_name: "FilterOption"))
|
542
549
|
ClaimGameServerInput.struct_class = Types::ClaimGameServerInput
|
543
550
|
|
544
551
|
ClaimGameServerOutput.add_member(:game_server, Shapes::ShapeRef.new(shape: GameServer, location_name: "GameServer"))
|
@@ -1099,6 +1106,8 @@ module Aws::GameLift
|
|
1099
1106
|
FilterConfiguration.add_member(:allowed_locations, Shapes::ShapeRef.new(shape: LocationList, location_name: "AllowedLocations"))
|
1100
1107
|
FilterConfiguration.struct_class = Types::FilterConfiguration
|
1101
1108
|
|
1109
|
+
FilterInstanceStatuses.member = Shapes::ShapeRef.new(shape: FilterInstanceStatus)
|
1110
|
+
|
1102
1111
|
FleetActionList.member = Shapes::ShapeRef.new(shape: FleetAction)
|
1103
1112
|
|
1104
1113
|
FleetAttributes.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, location_name: "FleetId"))
|
@@ -322,6 +322,25 @@ module Aws::GameLift
|
|
322
322
|
include Aws::Structure
|
323
323
|
end
|
324
324
|
|
325
|
+
# **This data type is used with the Amazon GameLift FleetIQ and game
|
326
|
+
# server groups.**
|
327
|
+
#
|
328
|
+
# Filters which game servers may be claimed when calling
|
329
|
+
# `ClaimGameServer`.
|
330
|
+
#
|
331
|
+
# @!attribute [rw] instance_statuses
|
332
|
+
# List of instance statuses that game servers may be claimed on. If
|
333
|
+
# provided, the list must contain the `ACTIVE` status.
|
334
|
+
# @return [Array<String>]
|
335
|
+
#
|
336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ClaimFilterOption AWS API Documentation
|
337
|
+
#
|
338
|
+
class ClaimFilterOption < Struct.new(
|
339
|
+
:instance_statuses)
|
340
|
+
SENSITIVE = []
|
341
|
+
include Aws::Structure
|
342
|
+
end
|
343
|
+
|
325
344
|
# @!attribute [rw] game_server_group_name
|
326
345
|
# A unique identifier for the game server group where the game server
|
327
346
|
# is running. If you are not specifying a game server to claim, this
|
@@ -341,12 +360,17 @@ module Aws::GameLift
|
|
341
360
|
# requests information on game servers.
|
342
361
|
# @return [String]
|
343
362
|
#
|
363
|
+
# @!attribute [rw] filter_option
|
364
|
+
# Object that restricts how a claimed game server is chosen.
|
365
|
+
# @return [Types::ClaimFilterOption]
|
366
|
+
#
|
344
367
|
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ClaimGameServerInput AWS API Documentation
|
345
368
|
#
|
346
369
|
class ClaimGameServerInput < Struct.new(
|
347
370
|
:game_server_group_name,
|
348
371
|
:game_server_id,
|
349
|
-
:game_server_data
|
372
|
+
:game_server_data,
|
373
|
+
:filter_option)
|
350
374
|
SENSITIVE = []
|
351
375
|
include Aws::Structure
|
352
376
|
end
|
@@ -534,13 +558,19 @@ module Aws::GameLift
|
|
534
558
|
# @return [Types::S3Location]
|
535
559
|
#
|
536
560
|
# @!attribute [rw] operating_system
|
537
|
-
# The operating system that
|
538
|
-
#
|
539
|
-
#
|
540
|
-
#
|
541
|
-
# operating system
|
542
|
-
#
|
543
|
-
#
|
561
|
+
# The operating system that your game server binaries run on. This
|
562
|
+
# value determines the type of fleet resources that you use for this
|
563
|
+
# build. If your game build contains multiple executables, they all
|
564
|
+
# must run on the same operating system. You must specify a valid
|
565
|
+
# operating system in this request. There is no default value. You
|
566
|
+
# can't change a build's operating system later.
|
567
|
+
#
|
568
|
+
# <note markdown="1"> If you have active fleets using the Windows Server 2012 operating
|
569
|
+
# system, you can continue to create new builds using this OS until
|
570
|
+
# October 10, 2023, when Microsoft ends its support. All others must
|
571
|
+
# use Windows Server 2016 when creating new Windows-based builds.
|
572
|
+
#
|
573
|
+
# </note>
|
544
574
|
# @return [String]
|
545
575
|
#
|
546
576
|
# @!attribute [rw] tags
|
@@ -1257,7 +1287,8 @@ module Aws::GameLift
|
|
1257
1287
|
# @!attribute [rw] timeout_in_seconds
|
1258
1288
|
# The maximum time, in seconds, that a new game session placement
|
1259
1289
|
# request remains in the queue. When a request exceeds this time, the
|
1260
|
-
# game session placement changes to a `TIMED_OUT` status.
|
1290
|
+
# game session placement changes to a `TIMED_OUT` status. By default,
|
1291
|
+
# this property is set to `600`.
|
1261
1292
|
# @return [Integer]
|
1262
1293
|
#
|
1263
1294
|
# @!attribute [rw] player_latency_policies
|
@@ -5106,7 +5137,8 @@ module Aws::GameLift
|
|
5106
5137
|
# @!attribute [rw] timeout_in_seconds
|
5107
5138
|
# The maximum time, in seconds, that a new game session placement
|
5108
5139
|
# request remains in the queue. When a request exceeds this time, the
|
5109
|
-
# game session placement changes to a `TIMED_OUT` status.
|
5140
|
+
# game session placement changes to a `TIMED_OUT` status. By default,
|
5141
|
+
# this property is set to `600`.
|
5110
5142
|
# @return [Integer]
|
5111
5143
|
#
|
5112
5144
|
# @!attribute [rw] player_latency_policies
|
@@ -9074,7 +9106,8 @@ module Aws::GameLift
|
|
9074
9106
|
# @!attribute [rw] timeout_in_seconds
|
9075
9107
|
# The maximum time, in seconds, that a new game session placement
|
9076
9108
|
# request remains in the queue. When a request exceeds this time, the
|
9077
|
-
# game session placement changes to a `TIMED_OUT` status.
|
9109
|
+
# game session placement changes to a `TIMED_OUT` status. By default,
|
9110
|
+
# this property is set to `600`.
|
9078
9111
|
# @return [Integer]
|
9079
9112
|
#
|
9080
9113
|
# @!attribute [rw] player_latency_policies
|
data/lib/aws-sdk-gamelift.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-gamelift
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.63.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|