aws-sdk-gamelift 1.62.0 → 1.64.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-gamelift/client.rb +51 -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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57e768347e2935a31f445d1ba5d4ac537475c08d82ffd70bc95dcc1c9523e320
|
4
|
+
data.tar.gz: 5322fe4b882830cb49170a1899417a028c9bab0033b627a7dcd8c95e38b3eaea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26e2988c6ac56d59cfae5321c3eb82e845e14e4583a4fc71fe727ae5aa3ae0ce09bc52e65cd3d3c98998c2bb510c0b0b741f5ad8010937cd73936664af7facc8
|
7
|
+
data.tar.gz: 6547e4dedd4777673b6fee9d284cfa73f02c00e76275f1d6986e063d011808ac3c76786518c9ba4a5da182b006b040cadd5ac3fc5e898e1f056ceb9a2a2e5274
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.63.0 (2023-05-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - GameLift FleetIQ users can now filter game server claim requests to exclude servers on instances that are draining.
|
13
|
+
|
4
14
|
1.62.0 (2023-04-20)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
@@ -275,6 +275,11 @@ module Aws::GameLift
|
|
275
275
|
# in the future.
|
276
276
|
#
|
277
277
|
#
|
278
|
+
# @option options [String] :sdk_ua_app_id
|
279
|
+
# A unique and opaque application ID that is appended to the
|
280
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
281
|
+
# maximum length of 50.
|
282
|
+
#
|
278
283
|
# @option options [String] :secret_access_key
|
279
284
|
#
|
280
285
|
# @option options [String] :session_token
|
@@ -460,7 +465,9 @@ module Aws::GameLift
|
|
460
465
|
# specify a game server ID, although this approach bypasses Amazon
|
461
466
|
# GameLift FleetIQ placement optimization. Optionally, include game data
|
462
467
|
# to pass to the game server at the start of a game session, such as a
|
463
|
-
# game map or player information.
|
468
|
+
# game map or player information. Filter options may be included to
|
469
|
+
# further restrict how a game server is chosen, such as only allowing
|
470
|
+
# game servers on `ACTIVE` instances to be claimed.
|
464
471
|
#
|
465
472
|
# When a game server is successfully claimed, connection information is
|
466
473
|
# returned. A claimed game server's utilization status remains
|
@@ -478,21 +485,17 @@ module Aws::GameLift
|
|
478
485
|
#
|
479
486
|
# * If the game server claim status is `CLAIMED`.
|
480
487
|
#
|
481
|
-
#
|
482
|
-
#
|
483
|
-
#
|
484
|
-
# [DescribeGameServerInstances][1] .
|
485
|
-
#
|
486
|
-
# </note>
|
488
|
+
# * If the game server is running on an instance in `DRAINING` status
|
489
|
+
# and provided filter option does not allow placing on `DRAINING`
|
490
|
+
# instances.
|
487
491
|
#
|
488
492
|
# **Learn more**
|
489
493
|
#
|
490
|
-
# [Amazon GameLift FleetIQ Guide][
|
494
|
+
# [Amazon GameLift FleetIQ Guide][1]
|
491
495
|
#
|
492
496
|
#
|
493
497
|
#
|
494
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/
|
495
|
-
# [2]: https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html
|
498
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html
|
496
499
|
#
|
497
500
|
# @option params [required, String] :game_server_group_name
|
498
501
|
# A unique identifier for the game server group where the game server is
|
@@ -510,6 +513,9 @@ module Aws::GameLift
|
|
510
513
|
# value. This data is passed to a game client or service when it
|
511
514
|
# requests information on game servers.
|
512
515
|
#
|
516
|
+
# @option params [Types::ClaimFilterOption] :filter_option
|
517
|
+
# Object that restricts how a claimed game server is chosen.
|
518
|
+
#
|
513
519
|
# @return [Types::ClaimGameServerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
514
520
|
#
|
515
521
|
# * {Types::ClaimGameServerOutput#game_server #game_server} => Types::GameServer
|
@@ -520,6 +526,9 @@ module Aws::GameLift
|
|
520
526
|
# game_server_group_name: "GameServerGroupNameOrArn", # required
|
521
527
|
# game_server_id: "GameServerId",
|
522
528
|
# game_server_data: "GameServerData",
|
529
|
+
# filter_option: {
|
530
|
+
# instance_statuses: ["ACTIVE"], # accepts ACTIVE, DRAINING
|
531
|
+
# },
|
523
532
|
# })
|
524
533
|
#
|
525
534
|
# @example Response structure
|
@@ -644,25 +653,25 @@ module Aws::GameLift
|
|
644
653
|
# using the CLI command <b> <a
|
645
654
|
# href="https://docs.aws.amazon.com/cli/latest/reference/gamelift/upload-build.html">upload-build</a>
|
646
655
|
# </b>. This helper command combines two tasks: (1) it uploads your
|
647
|
-
# build files from a file directory to
|
656
|
+
# build files from a file directory to an Amazon GameLift Amazon S3
|
648
657
|
# location, and (2) it creates a new build resource.
|
649
658
|
#
|
650
|
-
# You can use the operation in the following scenarios:
|
659
|
+
# You can use the `CreateBuild` operation in the following scenarios:
|
651
660
|
#
|
652
|
-
# *
|
661
|
+
# * Create a new game build with build files that are in an Amazon S3
|
653
662
|
# location under an Amazon Web Services account that you control. To
|
654
663
|
# use this option, you give Amazon GameLift access to the Amazon S3
|
655
664
|
# bucket. With permissions in place, specify a build name, operating
|
656
665
|
# system, and the Amazon S3 storage location of your game build.
|
657
666
|
#
|
658
|
-
# *
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
664
|
-
#
|
665
|
-
#
|
667
|
+
# * Upload your build files to a Amazon GameLift Amazon S3 location. To
|
668
|
+
# use this option, specify a build name and operating system. This
|
669
|
+
# operation creates a new build resource and also returns an Amazon S3
|
670
|
+
# location with temporary access credentials. Use the credentials to
|
671
|
+
# manually upload your build files to the specified Amazon S3
|
672
|
+
# location. For more information, see [Uploading Objects][1] in the
|
673
|
+
# *Amazon S3 Developer Guide*. After you upload build files to the
|
674
|
+
# Amazon GameLift Amazon S3 location, you can't update them.
|
666
675
|
#
|
667
676
|
# If successful, this operation creates a new build resource with a
|
668
677
|
# unique build ID and places it in `INITIALIZED` status. A build must be
|
@@ -704,12 +713,19 @@ module Aws::GameLift
|
|
704
713
|
# `SizeOnDisk` of 0.
|
705
714
|
#
|
706
715
|
# @option params [String] :operating_system
|
707
|
-
# The operating system that
|
708
|
-
#
|
709
|
-
#
|
710
|
-
#
|
711
|
-
#
|
712
|
-
#
|
716
|
+
# The operating system that your game server binaries run on. This value
|
717
|
+
# determines the type of fleet resources that you use for this build. If
|
718
|
+
# your game build contains multiple executables, they all must run on
|
719
|
+
# the same operating system. You must specify a valid operating system
|
720
|
+
# in this request. There is no default value. You can't change a
|
721
|
+
# build's operating system later.
|
722
|
+
#
|
723
|
+
# <note markdown="1"> If you have active fleets using the Windows Server 2012 operating
|
724
|
+
# system, you can continue to create new builds using this OS until
|
725
|
+
# October 10, 2023, when Microsoft ends its support. All others must use
|
726
|
+
# Windows Server 2016 when creating new Windows-based builds.
|
727
|
+
#
|
728
|
+
# </note>
|
713
729
|
#
|
714
730
|
# @option params [Array<Types::Tag>] :tags
|
715
731
|
# A list of labels to assign to the new build resource. Tags are
|
@@ -1723,7 +1739,8 @@ module Aws::GameLift
|
|
1723
1739
|
# @option params [Integer] :timeout_in_seconds
|
1724
1740
|
# The maximum time, in seconds, that a new game session placement
|
1725
1741
|
# request remains in the queue. When a request exceeds this time, the
|
1726
|
-
# game session placement changes to a `TIMED_OUT` status.
|
1742
|
+
# game session placement changes to a `TIMED_OUT` status. By default,
|
1743
|
+
# this property is set to `600`.
|
1727
1744
|
#
|
1728
1745
|
# @option params [Array<Types::PlayerLatencyPolicy>] :player_latency_policies
|
1729
1746
|
# A set of policies that act as a sliding cap on player latency. FleetIQ
|
@@ -5684,9 +5701,9 @@ module Aws::GameLift
|
|
5684
5701
|
end
|
5685
5702
|
|
5686
5703
|
# 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.
|
5704
|
+
# game session on Amazon GameLift managed fleets. When a game session is
|
5705
|
+
# terminated, Amazon GameLift automatically stores the logs in Amazon S3
|
5706
|
+
# and retains them for 14 days. Use this URL to download the logs.
|
5690
5707
|
#
|
5691
5708
|
# <note markdown="1"> See the [Amazon Web Services Service Limits][1] page for maximum log
|
5692
5709
|
# file sizes. Log files that exceed this limit are not saved.
|
@@ -8804,7 +8821,8 @@ module Aws::GameLift
|
|
8804
8821
|
# @option params [Integer] :timeout_in_seconds
|
8805
8822
|
# The maximum time, in seconds, that a new game session placement
|
8806
8823
|
# request remains in the queue. When a request exceeds this time, the
|
8807
|
-
# game session placement changes to a `TIMED_OUT` status.
|
8824
|
+
# game session placement changes to a `TIMED_OUT` status. By default,
|
8825
|
+
# this property is set to `600`.
|
8808
8826
|
#
|
8809
8827
|
# @option params [Array<Types::PlayerLatencyPolicy>] :player_latency_policies
|
8810
8828
|
# A set of policies that act as a sliding cap on player latency. FleetIQ
|
@@ -9330,7 +9348,7 @@ module Aws::GameLift
|
|
9330
9348
|
params: params,
|
9331
9349
|
config: config)
|
9332
9350
|
context[:gem_name] = 'aws-sdk-gamelift'
|
9333
|
-
context[:gem_version] = '1.
|
9351
|
+
context[:gem_version] = '1.64.0'
|
9334
9352
|
Seahorse::Client::Request.new(handlers, context)
|
9335
9353
|
end
|
9336
9354
|
|
@@ -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.64.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-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|