aws-sdk-gamelift 1.96.0 → 1.97.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 +322 -155
- data/lib/aws-sdk-gamelift/client_api.rb +24 -0
- data/lib/aws-sdk-gamelift/types.rb +356 -119
- data/lib/aws-sdk-gamelift.rb +1 -1
- data/sig/client.rbs +11 -0
- data/sig/types.rbs +12 -1
- metadata +2 -2
@@ -718,41 +718,37 @@ module Aws::GameLift
|
|
718
718
|
req.send_request(options)
|
719
719
|
end
|
720
720
|
|
721
|
-
# Creates
|
722
|
-
#
|
723
|
-
#
|
721
|
+
# Creates a new Amazon GameLift build resource for your game server
|
722
|
+
# binary files. Combine game server binaries into a zip file for use
|
723
|
+
# with Amazon GameLift.
|
724
724
|
#
|
725
|
-
#
|
725
|
+
# When setting up a new game build for Amazon GameLift, we recommend
|
726
|
+
# using the CLI command <b> <a
|
726
727
|
# href="https://docs.aws.amazon.com/cli/latest/reference/gamelift/upload-build.html">upload-build</a>
|
727
|
-
# </b
|
728
|
-
# build
|
729
|
-
#
|
730
|
-
#
|
731
|
-
#
|
732
|
-
#
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
737
|
-
#
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
747
|
-
#
|
748
|
-
#
|
749
|
-
#
|
750
|
-
#
|
751
|
-
# Amazon GameLift Amazon S3.
|
752
|
-
#
|
753
|
-
# If successful, this action creates a new build resource with a unique
|
754
|
-
# build ID and places it in `INITIALIZED` status. When the build reaches
|
755
|
-
# `READY` status, you can create fleets with it.
|
728
|
+
# </b>. This helper command combines two tasks: (1) it uploads your
|
729
|
+
# build files from a file directory to an Amazon GameLift Amazon S3
|
730
|
+
# location, and (2) it creates a new build resource.
|
731
|
+
#
|
732
|
+
# You can use the `CreateBuild` operation in the following scenarios:
|
733
|
+
#
|
734
|
+
# * Create a new game build with build files that are in an Amazon S3
|
735
|
+
# location under an Amazon Web Services account that you control. To
|
736
|
+
# use this option, you give Amazon GameLift access to the Amazon S3
|
737
|
+
# bucket. With permissions in place, specify a build name, operating
|
738
|
+
# system, and the Amazon S3 storage location of your game build.
|
739
|
+
#
|
740
|
+
# * Upload your build files to a Amazon GameLift Amazon S3 location. To
|
741
|
+
# use this option, specify a build name and operating system. This
|
742
|
+
# operation creates a new build resource and also returns an Amazon S3
|
743
|
+
# location with temporary access credentials. Use the credentials to
|
744
|
+
# manually upload your build files to the specified Amazon S3
|
745
|
+
# location. For more information, see [Uploading Objects][1] in the
|
746
|
+
# *Amazon S3 Developer Guide*. After you upload build files to the
|
747
|
+
# Amazon GameLift Amazon S3 location, you can't update them.
|
748
|
+
#
|
749
|
+
# If successful, this operation creates a new build resource with a
|
750
|
+
# unique build ID and places it in `INITIALIZED` status. A build must be
|
751
|
+
# in `READY` status before you can create fleets with it.
|
756
752
|
#
|
757
753
|
# **Learn more**
|
758
754
|
#
|
@@ -790,11 +786,12 @@ module Aws::GameLift
|
|
790
786
|
# `SizeOnDisk` of 0.
|
791
787
|
#
|
792
788
|
# @option params [String] :operating_system
|
793
|
-
# The
|
789
|
+
# The operating system that your game server binaries run on. This value
|
794
790
|
# determines the type of fleet resources that you use for this build. If
|
795
791
|
# your game build contains multiple executables, they all must run on
|
796
|
-
# the same operating system.
|
797
|
-
# default value. You can't change a
|
792
|
+
# the same operating system. You must specify a valid operating system
|
793
|
+
# in this request. There is no default value. You can't change a
|
794
|
+
# build's operating system later.
|
798
795
|
#
|
799
796
|
# <note markdown="1"> Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more
|
800
797
|
# details in the [Amazon Linux 2 FAQs][1]. For game servers that are
|
@@ -994,8 +991,13 @@ module Aws::GameLift
|
|
994
991
|
# specific version number.
|
995
992
|
#
|
996
993
|
# Create a container group definition by calling
|
997
|
-
# CreateContainerGroupDefinition. This operation creates a
|
998
|
-
# ContainerGroupDefinition resource.
|
994
|
+
# [CreateContainerGroupDefinition][1]. This operation creates a
|
995
|
+
# [ContainerGroupDefinition][2] resource.
|
996
|
+
#
|
997
|
+
#
|
998
|
+
#
|
999
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateContainerGroupDefinition.html
|
1000
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ContainerGroupDefinition.html
|
999
1001
|
#
|
1000
1002
|
# @option params [String] :per_instance_container_group_definition_name
|
1001
1003
|
# The name of a container group definition resource that describes a set
|
@@ -1007,8 +1009,15 @@ module Aws::GameLift
|
|
1007
1009
|
# with a specific version number.
|
1008
1010
|
#
|
1009
1011
|
# Create a container group definition by calling
|
1010
|
-
#
|
1011
|
-
#
|
1012
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_CreateContainerGroupDefinition.html][1].
|
1013
|
+
# This operation creates a
|
1014
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_ContainerGroupDefinition.html][2]
|
1015
|
+
# resource.
|
1016
|
+
#
|
1017
|
+
#
|
1018
|
+
#
|
1019
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateContainerGroupDefinition.html
|
1020
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ContainerGroupDefinition.html
|
1012
1021
|
#
|
1013
1022
|
# @option params [Types::ConnectionPortRange] :instance_connection_port_range
|
1014
1023
|
# The set of port numbers to open on each fleet instance. A fleet's
|
@@ -1279,7 +1288,7 @@ module Aws::GameLift
|
|
1279
1288
|
# containers for hosting your game server with Amazon GameLift managed
|
1280
1289
|
# containers hosting. An Amazon GameLift container group is similar to a
|
1281
1290
|
# container task or pod. Use container group definitions when you create
|
1282
|
-
# a container fleet with CreateContainerFleet.
|
1291
|
+
# a container fleet with [CreateContainerFleet][1].
|
1283
1292
|
#
|
1284
1293
|
# A container group definition determines how Amazon GameLift deploys
|
1285
1294
|
# your containers to each instance in a container fleet. You can
|
@@ -1318,7 +1327,7 @@ module Aws::GameLift
|
|
1318
1327
|
#
|
1319
1328
|
# <note markdown="1"> This operation requires Identity and Access Management (IAM)
|
1320
1329
|
# permissions to access container images in Amazon ECR repositories. See
|
1321
|
-
# [ IAM permissions for Amazon GameLift][
|
1330
|
+
# [ IAM permissions for Amazon GameLift][2] for help setting the
|
1322
1331
|
# appropriate permissions.
|
1323
1332
|
#
|
1324
1333
|
# </note>
|
@@ -1375,12 +1384,14 @@ module Aws::GameLift
|
|
1375
1384
|
# If successful, this request creates a `ContainerGroupDefinition`
|
1376
1385
|
# resource and assigns a unique ARN value. You can update most
|
1377
1386
|
# properties of a container group definition by calling
|
1378
|
-
# UpdateContainerGroupDefinition, and optionally save the update as
|
1379
|
-
# new version.
|
1387
|
+
# [UpdateContainerGroupDefinition][3], and optionally save the update as
|
1388
|
+
# a new version.
|
1380
1389
|
#
|
1381
1390
|
#
|
1382
1391
|
#
|
1383
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/
|
1392
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateContainerFleet.html
|
1393
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-iam-policy-examples.html
|
1394
|
+
# [3]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateContainerGroupDefinition.html
|
1384
1395
|
#
|
1385
1396
|
# @option params [required, String] :name
|
1386
1397
|
# A descriptive identifier for the container group definition. The name
|
@@ -1757,11 +1768,15 @@ module Aws::GameLift
|
|
1757
1768
|
# access game server processes and other processes on this fleet. Set
|
1758
1769
|
# this parameter for managed EC2 fleets. You can leave this parameter
|
1759
1770
|
# empty when creating the fleet, but you must call
|
1760
|
-
#
|
1761
|
-
#
|
1762
|
-
#
|
1763
|
-
#
|
1764
|
-
# and UDP ranges.
|
1771
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_UpdateFleetPortSettings][1]
|
1772
|
+
# to set it before players can connect to game sessions. As a best
|
1773
|
+
# practice, we recommend opening ports for remote access only when you
|
1774
|
+
# need them and closing them when you're finished. For Realtime Servers
|
1775
|
+
# fleets, Amazon GameLift automatically sets TCP and UDP ranges.
|
1776
|
+
#
|
1777
|
+
#
|
1778
|
+
#
|
1779
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateFleetPortSettings
|
1765
1780
|
#
|
1766
1781
|
# @option params [String] :new_game_session_protection_policy
|
1767
1782
|
# The status of termination protection for active game sessions on the
|
@@ -1905,10 +1920,9 @@ module Aws::GameLift
|
|
1905
1920
|
# * `EC2` – The game server build is deployed to Amazon EC2 instances
|
1906
1921
|
# for cloud hosting. This is the default setting.
|
1907
1922
|
#
|
1908
|
-
# * `ANYWHERE` –
|
1909
|
-
# compute resources that
|
1910
|
-
#
|
1911
|
-
# parameter.
|
1923
|
+
# * `ANYWHERE` – Game servers and supporting software are deployed to
|
1924
|
+
# compute resources that you provide and manage. With this compute
|
1925
|
+
# type, you can also set the `AnywhereConfiguration` parameter.
|
1912
1926
|
#
|
1913
1927
|
# @option params [Types::AnywhereConfiguration] :anywhere_configuration
|
1914
1928
|
# Amazon GameLift Anywhere configuration options.
|
@@ -2038,10 +2052,9 @@ module Aws::GameLift
|
|
2038
2052
|
req.send_request(options)
|
2039
2053
|
end
|
2040
2054
|
|
2041
|
-
# Adds remote locations to
|
2042
|
-
#
|
2043
|
-
#
|
2044
|
-
# other configuration settings.
|
2055
|
+
# Adds remote locations to an EC2 and begins populating the new
|
2056
|
+
# locations with instances. The new instances conform to the fleet's
|
2057
|
+
# instance type, auto-scaling, and other configuration settings.
|
2045
2058
|
#
|
2046
2059
|
# <note markdown="1"> You can't add remote locations to a fleet that resides in an Amazon
|
2047
2060
|
# Web Services Region that doesn't support multiple locations. Fleets
|
@@ -2367,7 +2380,7 @@ module Aws::GameLift
|
|
2367
2380
|
# location. This operation prompts an available server process to start
|
2368
2381
|
# a game session and retrieves connection information for the new game
|
2369
2382
|
# session. As an alternative, consider using the Amazon GameLift game
|
2370
|
-
# session placement feature with [StartGameSessionPlacement][1]
|
2383
|
+
# session placement feature with [StartGameSessionPlacement][1], which
|
2371
2384
|
# uses the FleetIQ algorithm and queues to optimize the placement
|
2372
2385
|
# process.
|
2373
2386
|
#
|
@@ -2531,7 +2544,7 @@ module Aws::GameLift
|
|
2531
2544
|
# resp.game_session.current_player_session_count #=> Integer
|
2532
2545
|
# resp.game_session.maximum_player_session_count #=> Integer
|
2533
2546
|
# resp.game_session.status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
|
2534
|
-
# resp.game_session.status_reason #=> String, one of "INTERRUPTED"
|
2547
|
+
# resp.game_session.status_reason #=> String, one of "INTERRUPTED", "TRIGGERED_ON_PROCESS_TERMINATE", "FORCE_TERMINATED"
|
2535
2548
|
# resp.game_session.game_properties #=> Array
|
2536
2549
|
# resp.game_session.game_properties[0].key #=> String
|
2537
2550
|
# resp.game_session.game_properties[0].value #=> String
|
@@ -3245,16 +3258,16 @@ module Aws::GameLift
|
|
3245
3258
|
req.send_request(options)
|
3246
3259
|
end
|
3247
3260
|
|
3248
|
-
# Creates a script
|
3249
|
-
# scripts are JavaScript
|
3250
|
-
# optional custom game logic for your game.
|
3251
|
-
#
|
3252
|
-
#
|
3261
|
+
# Creates a new script record for your Realtime Servers script. Realtime
|
3262
|
+
# scripts are JavaScript that provide configuration settings and
|
3263
|
+
# optional custom game logic for your game. The script is deployed when
|
3264
|
+
# you create a Realtime Servers fleet to host your game sessions. Script
|
3265
|
+
# logic is executed during an active game session.
|
3253
3266
|
#
|
3254
|
-
# To create a script
|
3255
|
-
# script file(s). The script files and all dependencies must be
|
3256
|
-
# into a single
|
3257
|
-
#
|
3267
|
+
# To create a new script record, specify a script name and provide the
|
3268
|
+
# script file(s). The script files and all dependencies must be zipped
|
3269
|
+
# into a single file. You can pull the zip file from either of these
|
3270
|
+
# locations:
|
3258
3271
|
#
|
3259
3272
|
# * A locally available directory. Use the *ZipFile* parameter for this
|
3260
3273
|
# option.
|
@@ -3265,9 +3278,12 @@ module Aws::GameLift
|
|
3265
3278
|
# (IAM) role that allows the Amazon GameLift service to access your S3
|
3266
3279
|
# bucket.
|
3267
3280
|
#
|
3268
|
-
# If the call is successful,
|
3269
|
-
#
|
3270
|
-
#
|
3281
|
+
# If the call is successful, a new script record is created with a
|
3282
|
+
# unique script ID. If the script file is provided as a local file, the
|
3283
|
+
# file is uploaded to an Amazon GameLift-owned S3 bucket and the script
|
3284
|
+
# record's storage location reflects this location. If the script file
|
3285
|
+
# is provided as an S3 bucket, Amazon GameLift accesses the file at this
|
3286
|
+
# storage location as needed for deployment.
|
3271
3287
|
#
|
3272
3288
|
# **Learn more**
|
3273
3289
|
#
|
@@ -3665,8 +3681,7 @@ module Aws::GameLift
|
|
3665
3681
|
req.send_request(options)
|
3666
3682
|
end
|
3667
3683
|
|
3668
|
-
# Deletes a container group definition.
|
3669
|
-
# definition if there are no fleets using the definition.
|
3684
|
+
# Deletes a container group definition.
|
3670
3685
|
#
|
3671
3686
|
# **Request options:**
|
3672
3687
|
#
|
@@ -3683,6 +3698,20 @@ module Aws::GameLift
|
|
3683
3698
|
# retain. For example, set `VersionCountToRetain` to 5 to delete all
|
3684
3699
|
# but the five most recent versions.
|
3685
3700
|
#
|
3701
|
+
# **Result**
|
3702
|
+
#
|
3703
|
+
# If successful, Amazon GameLift removes the container group definition
|
3704
|
+
# versions that you request deletion for. This request will fail for any
|
3705
|
+
# requested versions if the following is true:
|
3706
|
+
#
|
3707
|
+
# * If the version is being used in an active fleet
|
3708
|
+
#
|
3709
|
+
# * If the version is being deployed to a fleet in a deployment that's
|
3710
|
+
# currently in progress.
|
3711
|
+
#
|
3712
|
+
# * If the version is designated as a rollback definition in a fleet
|
3713
|
+
# deployment that's currently in progress.
|
3714
|
+
#
|
3686
3715
|
# **Learn more**
|
3687
3716
|
#
|
3688
3717
|
# * [Manage a container group definition][1]
|
@@ -4399,7 +4428,8 @@ module Aws::GameLift
|
|
4399
4428
|
end
|
4400
4429
|
|
4401
4430
|
# Retrieves properties for a compute resource in an Amazon GameLift
|
4402
|
-
# fleet. To get a list of all computes in a fleet, call
|
4431
|
+
# fleet. To get a list of all computes in a fleet, call
|
4432
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_ListCompute.html][1].
|
4403
4433
|
#
|
4404
4434
|
# To request information on a specific compute, provide the fleet ID and
|
4405
4435
|
# compute name.
|
@@ -4414,6 +4444,10 @@ module Aws::GameLift
|
|
4414
4444
|
# * For Anywhere fleets, this operation returns information about the
|
4415
4445
|
# registered compute.
|
4416
4446
|
#
|
4447
|
+
#
|
4448
|
+
#
|
4449
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListCompute.html
|
4450
|
+
#
|
4417
4451
|
# @option params [required, String] :fleet_id
|
4418
4452
|
# A unique identifier for the fleet that the compute belongs to. You can
|
4419
4453
|
# use either the fleet ID or ARN value.
|
@@ -4872,7 +4906,8 @@ module Aws::GameLift
|
|
4872
4906
|
#
|
4873
4907
|
# With multi-location fleets, this operation retrieves data for the
|
4874
4908
|
# fleet's home Region only. To retrieve capacity for remote locations,
|
4875
|
-
# see
|
4909
|
+
# see
|
4910
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_DescribeFleetLocationCapacity.html][1].
|
4876
4911
|
#
|
4877
4912
|
# This operation can be used in the following ways:
|
4878
4913
|
#
|
@@ -4898,14 +4933,15 @@ module Aws::GameLift
|
|
4898
4933
|
#
|
4899
4934
|
# **Learn more**
|
4900
4935
|
#
|
4901
|
-
# [Setting up Amazon GameLift fleets][
|
4936
|
+
# [Setting up Amazon GameLift fleets][2]
|
4902
4937
|
#
|
4903
|
-
# [GameLift metrics for fleets][
|
4938
|
+
# [GameLift metrics for fleets][3]
|
4904
4939
|
#
|
4905
4940
|
#
|
4906
4941
|
#
|
4907
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/
|
4908
|
-
# [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/
|
4942
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html
|
4943
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html
|
4944
|
+
# [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html#gamelift-metrics-fleet
|
4909
4945
|
#
|
4910
4946
|
# @option params [Array<String>] :fleet_ids
|
4911
4947
|
# A unique identifier for the fleet to retrieve capacity information
|
@@ -5343,13 +5379,11 @@ module Aws::GameLift
|
|
5343
5379
|
req.send_request(options)
|
5344
5380
|
end
|
5345
5381
|
|
5346
|
-
# Retrieves a fleet's inbound connection permissions.
|
5382
|
+
# Retrieves a fleet's inbound connection permissions. Connection
|
5347
5383
|
# permissions specify IP addresses and port settings that incoming
|
5348
5384
|
# traffic can use to access server processes in the fleet. Game server
|
5349
5385
|
# processes that are running in the fleet must use a port that falls
|
5350
|
-
# within this range.
|
5351
|
-
# container fleet, the port settings should include one or more of the
|
5352
|
-
# container fleet's connection ports.
|
5386
|
+
# within this range.
|
5353
5387
|
#
|
5354
5388
|
# Use this operation in the following ways:
|
5355
5389
|
#
|
@@ -5817,7 +5851,7 @@ module Aws::GameLift
|
|
5817
5851
|
# resp.game_session_details[0].game_session.current_player_session_count #=> Integer
|
5818
5852
|
# resp.game_session_details[0].game_session.maximum_player_session_count #=> Integer
|
5819
5853
|
# resp.game_session_details[0].game_session.status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
|
5820
|
-
# resp.game_session_details[0].game_session.status_reason #=> String, one of "INTERRUPTED"
|
5854
|
+
# resp.game_session_details[0].game_session.status_reason #=> String, one of "INTERRUPTED", "TRIGGERED_ON_PROCESS_TERMINATE", "FORCE_TERMINATED"
|
5821
5855
|
# resp.game_session_details[0].game_session.game_properties #=> Array
|
5822
5856
|
# resp.game_session_details[0].game_session.game_properties[0].key #=> String
|
5823
5857
|
# resp.game_session_details[0].game_session.game_properties[0].value #=> String
|
@@ -6090,7 +6124,7 @@ module Aws::GameLift
|
|
6090
6124
|
# resp.game_sessions[0].current_player_session_count #=> Integer
|
6091
6125
|
# resp.game_sessions[0].maximum_player_session_count #=> Integer
|
6092
6126
|
# resp.game_sessions[0].status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
|
6093
|
-
# resp.game_sessions[0].status_reason #=> String, one of "INTERRUPTED"
|
6127
|
+
# resp.game_sessions[0].status_reason #=> String, one of "INTERRUPTED", "TRIGGERED_ON_PROCESS_TERMINATE", "FORCE_TERMINATED"
|
6094
6128
|
# resp.game_sessions[0].game_properties #=> Array
|
6095
6129
|
# resp.game_sessions[0].game_properties[0].key #=> String
|
6096
6130
|
# resp.game_sessions[0].game_properties[0].value #=> String
|
@@ -6117,8 +6151,12 @@ module Aws::GameLift
|
|
6117
6151
|
# managed fleet, including instance ID, connection data, and status. You
|
6118
6152
|
# can use this operation with a multi-location fleet to get
|
6119
6153
|
# location-specific instance information. As an alternative, use the
|
6120
|
-
# operations
|
6121
|
-
#
|
6154
|
+
# operations
|
6155
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_ListCompute][1]
|
6156
|
+
# and
|
6157
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_DescribeCompute][2]
|
6158
|
+
# to retrieve information for compute resources, including EC2 and
|
6159
|
+
# Anywhere fleets.
|
6122
6160
|
#
|
6123
6161
|
# You can call this operation in the following ways:
|
6124
6162
|
#
|
@@ -6141,19 +6179,21 @@ module Aws::GameLift
|
|
6141
6179
|
#
|
6142
6180
|
# **Learn more**
|
6143
6181
|
#
|
6144
|
-
# [Remotely connect to fleet instances][
|
6182
|
+
# [Remotely connect to fleet instances][3]
|
6145
6183
|
#
|
6146
|
-
# [Debug fleet issues][
|
6184
|
+
# [Debug fleet issues][4]
|
6147
6185
|
#
|
6148
6186
|
# **Related actions**
|
6149
6187
|
#
|
6150
|
-
# [All APIs by task][
|
6188
|
+
# [All APIs by task][5]
|
6151
6189
|
#
|
6152
6190
|
#
|
6153
6191
|
#
|
6154
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/
|
6155
|
-
# [2]: https://docs.aws.amazon.com/gamelift/latest/
|
6156
|
-
# [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/
|
6192
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListCompute
|
6193
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeCompute
|
6194
|
+
# [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html
|
6195
|
+
# [4]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html
|
6196
|
+
# [5]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets
|
6157
6197
|
#
|
6158
6198
|
# @option params [required, String] :fleet_id
|
6159
6199
|
# A unique identifier for the fleet to retrieve instance information
|
@@ -6571,10 +6611,11 @@ module Aws::GameLift
|
|
6571
6611
|
end
|
6572
6612
|
|
6573
6613
|
# Retrieves a fleet's runtime configuration settings. The runtime
|
6574
|
-
# configuration determines which server processes run, and how
|
6575
|
-
#
|
6576
|
-
#
|
6577
|
-
#
|
6614
|
+
# configuration determines which server processes run, and how, on
|
6615
|
+
# computes in the fleet. For managed EC2 fleets, the runtime
|
6616
|
+
# configuration describes server processes that run on each fleet
|
6617
|
+
# instance. can update a fleet's runtime configuration at any time
|
6618
|
+
# using [UpdateRuntimeConfiguration][1].
|
6578
6619
|
#
|
6579
6620
|
# To get the current runtime configuration for a fleet, provide the
|
6580
6621
|
# fleet ID.
|
@@ -6585,14 +6626,15 @@ module Aws::GameLift
|
|
6585
6626
|
#
|
6586
6627
|
# **Learn more**
|
6587
6628
|
#
|
6588
|
-
# [Setting up Amazon GameLift fleets][
|
6629
|
+
# [Setting up Amazon GameLift fleets][2]
|
6589
6630
|
#
|
6590
|
-
# [Running multiple processes on a fleet][
|
6631
|
+
# [Running multiple processes on a fleet][3]
|
6591
6632
|
#
|
6592
6633
|
#
|
6593
6634
|
#
|
6594
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/
|
6595
|
-
# [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-
|
6635
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateRuntimeConfiguration.html
|
6636
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html
|
6637
|
+
# [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-multiprocess.html
|
6596
6638
|
#
|
6597
6639
|
# @option params [required, String] :fleet_id
|
6598
6640
|
# A unique identifier for the fleet to get the runtime configuration
|
@@ -6897,8 +6939,13 @@ module Aws::GameLift
|
|
6897
6939
|
#
|
6898
6940
|
# @option params [required, String] :compute_name
|
6899
6941
|
# A unique identifier for the compute resource that you want to connect
|
6900
|
-
# to. For an EC2 fleet compute, use the instance ID. Use
|
6901
|
-
#
|
6942
|
+
# to. For an EC2 fleet compute, use the instance ID. Use
|
6943
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_ListCompute.html][1]
|
6944
|
+
# to retrieve compute identifiers.
|
6945
|
+
#
|
6946
|
+
#
|
6947
|
+
#
|
6948
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListCompute.html
|
6902
6949
|
#
|
6903
6950
|
# @return [Types::GetComputeAccessOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6904
6951
|
#
|
@@ -7062,11 +7109,12 @@ module Aws::GameLift
|
|
7062
7109
|
# GameLift managed fleet. Use this operation to connect to instances
|
7063
7110
|
# with game servers that use Amazon GameLift server SDK 4.x or earlier.
|
7064
7111
|
# To connect to instances with game servers that use server SDK 5.x or
|
7065
|
-
# later, call
|
7112
|
+
# later, call
|
7113
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_GetComputeAccess][1].
|
7066
7114
|
#
|
7067
7115
|
# To request access to an instance, specify IDs for the instance and the
|
7068
7116
|
# fleet it belongs to. You can retrieve instance IDs for a fleet by
|
7069
|
-
# calling [DescribeInstances][
|
7117
|
+
# calling [DescribeInstances][2] with the fleet ID.
|
7070
7118
|
#
|
7071
7119
|
# If successful, this operation returns an IP address and credentials.
|
7072
7120
|
# The returned credentials match the operating system of the instance,
|
@@ -7078,26 +7126,27 @@ module Aws::GameLift
|
|
7078
7126
|
# * For a Linux instance: returns a user name and secret (RSA private
|
7079
7127
|
# key) for use with an SSH client. You must save the secret to a
|
7080
7128
|
# `.pem` file. If you're using the CLI, see the example [ Get
|
7081
|
-
# credentials for a Linux instance][
|
7129
|
+
# credentials for a Linux instance][3] for tips on automatically
|
7082
7130
|
# saving the secret to a `.pem` file.
|
7083
7131
|
#
|
7084
7132
|
# **Learn more**
|
7085
7133
|
#
|
7086
|
-
# [Remotely connect to fleet instances][
|
7134
|
+
# [Remotely connect to fleet instances][4]
|
7087
7135
|
#
|
7088
|
-
# [Debug fleet issues][
|
7136
|
+
# [Debug fleet issues][5]
|
7089
7137
|
#
|
7090
7138
|
# **Related actions**
|
7091
7139
|
#
|
7092
|
-
# [All APIs by task][
|
7140
|
+
# [All APIs by task][6]
|
7093
7141
|
#
|
7094
7142
|
#
|
7095
7143
|
#
|
7096
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/
|
7097
|
-
# [2]: https://docs.aws.amazon.com/gamelift/latest/apireference/
|
7098
|
-
# [3]: https://docs.aws.amazon.com/gamelift/latest/
|
7099
|
-
# [4]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-
|
7100
|
-
# [5]: https://docs.aws.amazon.com/gamelift/latest/developerguide/
|
7144
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_GetComputeAccess
|
7145
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeInstances.html
|
7146
|
+
# [3]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_GetInstanceAccess.html#API_GetInstanceAccess_Examples
|
7147
|
+
# [4]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html
|
7148
|
+
# [5]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html
|
7149
|
+
# [6]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets
|
7101
7150
|
#
|
7102
7151
|
# @option params [required, String] :fleet_id
|
7103
7152
|
# A unique identifier for the fleet that contains the instance you want
|
@@ -7670,7 +7719,7 @@ module Aws::GameLift
|
|
7670
7719
|
#
|
7671
7720
|
# This operation returns only the latest version of each definition. To
|
7672
7721
|
# retrieve all versions of a container group definition, use
|
7673
|
-
# ListContainerGroupDefinitionVersions.
|
7722
|
+
# [ListContainerGroupDefinitionVersions][1].
|
7674
7723
|
#
|
7675
7724
|
# **Request options:**
|
7676
7725
|
#
|
@@ -7691,15 +7740,9 @@ module Aws::GameLift
|
|
7691
7740
|
#
|
7692
7741
|
# </note>
|
7693
7742
|
#
|
7694
|
-
# **Learn more**
|
7695
|
-
#
|
7696
|
-
# * [Manage a container group definition][1]
|
7697
|
-
#
|
7698
|
-
# ^
|
7699
|
-
#
|
7700
7743
|
#
|
7701
7744
|
#
|
7702
|
-
# [1]: https://docs.aws.amazon.com/gamelift/latest/
|
7745
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListContainerGroupDefinitionVersions.html
|
7703
7746
|
#
|
7704
7747
|
# @option params [String] :container_group_type
|
7705
7748
|
# The type of container group to retrieve. Container group type
|
@@ -7802,7 +7845,8 @@ module Aws::GameLift
|
|
7802
7845
|
end
|
7803
7846
|
|
7804
7847
|
# Retrieves a collection of container fleet deployments in an Amazon Web
|
7805
|
-
# Services Region.
|
7848
|
+
# Services Region. Use the pagination parameters to retrieve results as
|
7849
|
+
# a set of sequential pages.
|
7806
7850
|
#
|
7807
7851
|
# **Request options**
|
7808
7852
|
#
|
@@ -7812,19 +7856,13 @@ module Aws::GameLift
|
|
7812
7856
|
# * Get a list of all deployments for a fleet. Specify the container
|
7813
7857
|
# fleet ID or ARN value.
|
7814
7858
|
#
|
7815
|
-
# * To get a list of all Realtime Servers fleets with a specific
|
7816
|
-
# configuration script, provide the script ID.
|
7817
|
-
#
|
7818
|
-
# Use the pagination parameters to retrieve results as a set of
|
7819
|
-
# sequential pages.
|
7820
|
-
#
|
7821
7859
|
# **Results**
|
7822
7860
|
#
|
7823
7861
|
# If successful, this operation returns a list of deployments that match
|
7824
7862
|
# the request parameters. A NextToken value is also returned if there
|
7825
7863
|
# are more result pages to retrieve.
|
7826
7864
|
#
|
7827
|
-
# <note markdown="1">
|
7865
|
+
# <note markdown="1"> Deployments are returned starting with the latest.
|
7828
7866
|
#
|
7829
7867
|
# </note>
|
7830
7868
|
#
|
@@ -8869,7 +8907,7 @@ module Aws::GameLift
|
|
8869
8907
|
# If successful, a `GameSession` object is returned for each game
|
8870
8908
|
# session that matches the request. Search finds game sessions that are
|
8871
8909
|
# in `ACTIVE` status only. To retrieve information on game sessions in
|
8872
|
-
# other statuses, use [DescribeGameSessions][1]
|
8910
|
+
# other statuses, use [DescribeGameSessions][1].
|
8873
8911
|
#
|
8874
8912
|
# To set search and sort criteria, create a filter expression using the
|
8875
8913
|
# following game session attributes. For game session search examples,
|
@@ -8884,15 +8922,15 @@ module Aws::GameLift
|
|
8884
8922
|
# * **gameSessionProperties** -- A set of key-value pairs that can store
|
8885
8923
|
# custom data in a game session. For example: `{"Key": "difficulty",
|
8886
8924
|
# "Value": "novice"}`. The filter expression must specify the
|
8887
|
-
#
|
8888
|
-
# sessions.
|
8925
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_GameProperty][2]
|
8926
|
+
# -- a `Key` and a string `Value` to search for the game sessions.
|
8889
8927
|
#
|
8890
8928
|
# For example, to search for the above key-value pair, specify the
|
8891
8929
|
# following search filter: `gameSessionProperties.difficulty =
|
8892
8930
|
# "novice"`. All game property values are searched as strings.
|
8893
8931
|
#
|
8894
8932
|
# For examples of searching game sessions, see the ones below, and
|
8895
|
-
# also see [Search game sessions by game property][
|
8933
|
+
# also see [Search game sessions by game property][3].
|
8896
8934
|
#
|
8897
8935
|
# * **maximumSessions** -- Maximum number of player sessions allowed for
|
8898
8936
|
# a game session.
|
@@ -8918,13 +8956,14 @@ module Aws::GameLift
|
|
8918
8956
|
#
|
8919
8957
|
# </note>
|
8920
8958
|
#
|
8921
|
-
# [All APIs by task][
|
8959
|
+
# [All APIs by task][4]
|
8922
8960
|
#
|
8923
8961
|
#
|
8924
8962
|
#
|
8925
8963
|
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessions.html
|
8926
|
-
# [2]: https://docs.aws.amazon.com/gamelift/latest/
|
8927
|
-
# [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/
|
8964
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_GameProperty
|
8965
|
+
# [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#game-properties-search
|
8966
|
+
# [4]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets
|
8928
8967
|
#
|
8929
8968
|
# @option params [String] :fleet_id
|
8930
8969
|
# A unique identifier for the fleet to search for active game sessions.
|
@@ -9048,7 +9087,7 @@ module Aws::GameLift
|
|
9048
9087
|
# resp.game_sessions[0].current_player_session_count #=> Integer
|
9049
9088
|
# resp.game_sessions[0].maximum_player_session_count #=> Integer
|
9050
9089
|
# resp.game_sessions[0].status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
|
9051
|
-
# resp.game_sessions[0].status_reason #=> String, one of "INTERRUPTED"
|
9090
|
+
# resp.game_sessions[0].status_reason #=> String, one of "INTERRUPTED", "TRIGGERED_ON_PROCESS_TERMINATE", "FORCE_TERMINATED"
|
9052
9091
|
# resp.game_sessions[0].game_properties #=> Array
|
9053
9092
|
# resp.game_sessions[0].game_properties[0].key #=> String
|
9054
9093
|
# resp.game_sessions[0].game_properties[0].value #=> String
|
@@ -9179,7 +9218,7 @@ module Aws::GameLift
|
|
9179
9218
|
# [DescribeGameSessionPlacement][1] and check the request's status. If
|
9180
9219
|
# the status is `FULFILLED`, a new game session has been created and a
|
9181
9220
|
# game session ARN and Region are referenced. If the placement request
|
9182
|
-
# times out,
|
9221
|
+
# times out, you can resubmit the request or retry it with a different
|
9183
9222
|
# queue.
|
9184
9223
|
#
|
9185
9224
|
#
|
@@ -9879,6 +9918,119 @@ module Aws::GameLift
|
|
9879
9918
|
req.send_request(options)
|
9880
9919
|
end
|
9881
9920
|
|
9921
|
+
# Ends a game session that's currently in progress. You can use this
|
9922
|
+
# action to terminate any game session that isn't in `TERMINATED` or
|
9923
|
+
# `TERMINATING` status. Terminating a game session is the most efficient
|
9924
|
+
# way to free up a server process when it's hosting a game session
|
9925
|
+
# that's in a bad state or not ending naturally. You can use this
|
9926
|
+
# action to terminate a game session that's being hosted on any type of
|
9927
|
+
# Amazon GameLift fleet compute, including computes for managed EC2,
|
9928
|
+
# managed container, and Anywhere fleets.
|
9929
|
+
#
|
9930
|
+
# There are two potential methods for terminating a game session:
|
9931
|
+
#
|
9932
|
+
# * With a graceful termination, the Amazon GameLift service prompts the
|
9933
|
+
# server process to initiate its normal game session shutdown
|
9934
|
+
# sequence. This sequence is implemented in the game server code and
|
9935
|
+
# might involve a variety of actions to gracefully end a game session,
|
9936
|
+
# such as notifying players, and stop the server process.
|
9937
|
+
#
|
9938
|
+
# * With a forceful termination, the Amazon GameLift service takes
|
9939
|
+
# immediate action to terminate the game session by stopping the
|
9940
|
+
# server process. Termination occurs without the normal game session
|
9941
|
+
# shutdown sequence.
|
9942
|
+
#
|
9943
|
+
# **Request options**
|
9944
|
+
#
|
9945
|
+
# * Request termination for a single game session. Provide the game
|
9946
|
+
# session ID and the termination method.
|
9947
|
+
#
|
9948
|
+
# ^
|
9949
|
+
#
|
9950
|
+
# **Results**
|
9951
|
+
#
|
9952
|
+
# If successful, game session termination is initiated, which includes
|
9953
|
+
# changing the game session status to `TERMINATING`. As a result of this
|
9954
|
+
# action, and depending on the implementation of `OnProcessTerminate()`,
|
9955
|
+
# the server process either becomes available to host a new game
|
9956
|
+
# session, or it's recycled and a new server process started with
|
9957
|
+
# availability to host a game session. The game session status is
|
9958
|
+
# changed to `TERMINATED`, with a status reason that indicates the
|
9959
|
+
# termination method used.
|
9960
|
+
#
|
9961
|
+
# @option params [required, String] :game_session_id
|
9962
|
+
# A unique identifier for the game session to be terminated. A game
|
9963
|
+
# session ARN has the following format:
|
9964
|
+
# `arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string
|
9965
|
+
# or idempotency token>`.
|
9966
|
+
#
|
9967
|
+
# @option params [required, String] :termination_mode
|
9968
|
+
# The method to use to terminate the game session. Available methods
|
9969
|
+
# include:
|
9970
|
+
#
|
9971
|
+
# * `TRIGGER_ON_PROCESS_TERMINATE` – Sends an `OnProcessTerminate()`
|
9972
|
+
# callback to the server process to initiate the normal game session
|
9973
|
+
# shutdown sequence. At a minimum, the callback method must include a
|
9974
|
+
# call to the server SDK action `ProcessEnding()`, which is how the
|
9975
|
+
# server process signals that a game session is ending. If the server
|
9976
|
+
# process doesn't call `ProcessEnding()`, this termination method
|
9977
|
+
# won't be successful.
|
9978
|
+
#
|
9979
|
+
# * `FORCE_TERMINATE` – Takes action to stop the server process, using
|
9980
|
+
# existing methods to control how server processes run on an Amazon
|
9981
|
+
# GameLift managed compute.
|
9982
|
+
#
|
9983
|
+
# <note markdown="1"> This method is not available for game sessions that are running on
|
9984
|
+
# Anywhere fleets unless the fleet is deployed with the Amazon
|
9985
|
+
# GameLift Agent. In this scenario, a force terminate request results
|
9986
|
+
# in an invalid or bad request exception.
|
9987
|
+
#
|
9988
|
+
# </note>
|
9989
|
+
#
|
9990
|
+
# @return [Types::TerminateGameSessionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9991
|
+
#
|
9992
|
+
# * {Types::TerminateGameSessionOutput#game_session #game_session} => Types::GameSession
|
9993
|
+
#
|
9994
|
+
# @example Request syntax with placeholder values
|
9995
|
+
#
|
9996
|
+
# resp = client.terminate_game_session({
|
9997
|
+
# game_session_id: "ArnStringModel", # required
|
9998
|
+
# termination_mode: "TRIGGER_ON_PROCESS_TERMINATE", # required, accepts TRIGGER_ON_PROCESS_TERMINATE, FORCE_TERMINATE
|
9999
|
+
# })
|
10000
|
+
#
|
10001
|
+
# @example Response structure
|
10002
|
+
#
|
10003
|
+
# resp.game_session.game_session_id #=> String
|
10004
|
+
# resp.game_session.name #=> String
|
10005
|
+
# resp.game_session.fleet_id #=> String
|
10006
|
+
# resp.game_session.fleet_arn #=> String
|
10007
|
+
# resp.game_session.creation_time #=> Time
|
10008
|
+
# resp.game_session.termination_time #=> Time
|
10009
|
+
# resp.game_session.current_player_session_count #=> Integer
|
10010
|
+
# resp.game_session.maximum_player_session_count #=> Integer
|
10011
|
+
# resp.game_session.status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
|
10012
|
+
# resp.game_session.status_reason #=> String, one of "INTERRUPTED", "TRIGGERED_ON_PROCESS_TERMINATE", "FORCE_TERMINATED"
|
10013
|
+
# resp.game_session.game_properties #=> Array
|
10014
|
+
# resp.game_session.game_properties[0].key #=> String
|
10015
|
+
# resp.game_session.game_properties[0].value #=> String
|
10016
|
+
# resp.game_session.ip_address #=> String
|
10017
|
+
# resp.game_session.dns_name #=> String
|
10018
|
+
# resp.game_session.port #=> Integer
|
10019
|
+
# resp.game_session.player_session_creation_policy #=> String, one of "ACCEPT_ALL", "DENY_ALL"
|
10020
|
+
# resp.game_session.creator_id #=> String
|
10021
|
+
# resp.game_session.game_session_data #=> String
|
10022
|
+
# resp.game_session.matchmaker_data #=> String
|
10023
|
+
# resp.game_session.location #=> String
|
10024
|
+
#
|
10025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/TerminateGameSession AWS API Documentation
|
10026
|
+
#
|
10027
|
+
# @overload terminate_game_session(params = {})
|
10028
|
+
# @param [Hash] params ({})
|
10029
|
+
def terminate_game_session(params = {}, options = {})
|
10030
|
+
req = build_request(:terminate_game_session, params)
|
10031
|
+
req.send_request(options)
|
10032
|
+
end
|
10033
|
+
|
9882
10034
|
# Removes a tag assigned to a Amazon GameLift resource. You can use
|
9883
10035
|
# resource tags to organize Amazon Web Services resources for a range of
|
9884
10036
|
# purposes. This operation handles the permissions necessary to manage
|
@@ -10069,7 +10221,7 @@ module Aws::GameLift
|
|
10069
10221
|
# Updates the properties of a managed container fleet. Depending on the
|
10070
10222
|
# properties being updated, this operation might initiate a fleet
|
10071
10223
|
# deployment. You can track deployments for a fleet using
|
10072
|
-
#
|
10224
|
+
# [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_DescribeFleetDeployment.html][1].
|
10073
10225
|
#
|
10074
10226
|
# **Request options**
|
10075
10227
|
#
|
@@ -10111,6 +10263,10 @@ module Aws::GameLift
|
|
10111
10263
|
# If a second update request initiates a deployment while another
|
10112
10264
|
# deployment is in progress, the first deployment is cancelled.
|
10113
10265
|
#
|
10266
|
+
#
|
10267
|
+
#
|
10268
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetDeployment.html
|
10269
|
+
#
|
10114
10270
|
# @option params [required, String] :fleet_id
|
10115
10271
|
# A unique identifier for the container fleet to update. You can use
|
10116
10272
|
# either the fleet ID or ARN value.
|
@@ -10125,8 +10281,13 @@ module Aws::GameLift
|
|
10125
10281
|
# you can only update or replace it with another definition.
|
10126
10282
|
#
|
10127
10283
|
# Update a container group definition by calling
|
10128
|
-
# UpdateContainerGroupDefinition. This operation creates a
|
10129
|
-
# ContainerGroupDefinition resource with an incremented version.
|
10284
|
+
# [UpdateContainerGroupDefinition][1]. This operation creates a
|
10285
|
+
# [ContainerGroupDefinition][2] resource with an incremented version.
|
10286
|
+
#
|
10287
|
+
#
|
10288
|
+
#
|
10289
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateContainerGroupDefinition.html
|
10290
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ContainerGroupDefinition.html
|
10130
10291
|
#
|
10131
10292
|
# @option params [String] :per_instance_container_group_definition_name
|
10132
10293
|
# The name or ARN value of a new per-instance container group definition
|
@@ -10136,12 +10297,17 @@ module Aws::GameLift
|
|
10136
10297
|
# version of a container group definition, you can use the name value.
|
10137
10298
|
#
|
10138
10299
|
# Update a container group definition by calling
|
10139
|
-
# UpdateContainerGroupDefinition. This operation creates a
|
10140
|
-
# ContainerGroupDefinition resource with an incremented version.
|
10300
|
+
# [UpdateContainerGroupDefinition][1]. This operation creates a
|
10301
|
+
# [ContainerGroupDefinition][2] resource with an incremented version.
|
10141
10302
|
#
|
10142
10303
|
# To remove a fleet's per-instance container group definition, leave
|
10143
10304
|
# this parameter empty and use the parameter `RemoveAttributes`.
|
10144
10305
|
#
|
10306
|
+
#
|
10307
|
+
#
|
10308
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateContainerGroupDefinition.html
|
10309
|
+
# [2]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ContainerGroupDefinition.html
|
10310
|
+
#
|
10145
10311
|
# @option params [Integer] :game_server_container_groups_per_instance
|
10146
10312
|
# The number of times to replicate the game server container group on
|
10147
10313
|
# each fleet instance. By default, Amazon GameLift calculates the
|
@@ -10331,7 +10497,11 @@ module Aws::GameLift
|
|
10331
10497
|
# If the container group definition version is used in an active fleets,
|
10332
10498
|
# the update automatically initiates a new fleet deployment of the new
|
10333
10499
|
# version. You can track a fleet's deployments using
|
10334
|
-
# ListFleetDeployments.
|
10500
|
+
# [ListFleetDeployments][1].
|
10501
|
+
#
|
10502
|
+
#
|
10503
|
+
#
|
10504
|
+
# [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_ListFleetDeployments.html
|
10335
10505
|
#
|
10336
10506
|
# @option params [required, String] :name
|
10337
10507
|
# A descriptive identifier for the container group definition. The name
|
@@ -10576,7 +10746,7 @@ module Aws::GameLift
|
|
10576
10746
|
# The game session protection policy to apply to all new game sessions
|
10577
10747
|
# created in this fleet. Game sessions that already exist are not
|
10578
10748
|
# affected. You can set protection for individual game sessions using
|
10579
|
-
# [UpdateGameSession][1].
|
10749
|
+
# [UpdateGameSession][1] .
|
10580
10750
|
#
|
10581
10751
|
# * **NoProtection** -- The game session can be terminated during a
|
10582
10752
|
# scale-down event.
|
@@ -10751,9 +10921,6 @@ module Aws::GameLift
|
|
10751
10921
|
# in `InboundPermissionRevocations`. Permissions to be removed must
|
10752
10922
|
# match existing fleet permissions.
|
10753
10923
|
#
|
10754
|
-
# For a container fleet, inbound permissions must specify port numbers
|
10755
|
-
# that are defined in the fleet's connection port settings.
|
10756
|
-
#
|
10757
10924
|
# If successful, the fleet ID for the updated fleet is returned. For
|
10758
10925
|
# fleets with remote locations, port setting updates can take time to
|
10759
10926
|
# propagate across all locations. You can check the status of updates in
|
@@ -11081,11 +11248,11 @@ module Aws::GameLift
|
|
11081
11248
|
# @option params [String] :protection_policy
|
11082
11249
|
# Game session protection policy to apply to this game session only.
|
11083
11250
|
#
|
11084
|
-
# *
|
11251
|
+
# * `NoProtection` -- The game session can be terminated during a
|
11085
11252
|
# scale-down event.
|
11086
11253
|
#
|
11087
|
-
# *
|
11088
|
-
#
|
11254
|
+
# * `FullProtection` -- If the game session is in an `ACTIVE` status, it
|
11255
|
+
# cannot be terminated during a scale-down event.
|
11089
11256
|
#
|
11090
11257
|
# @option params [Array<Types::GameProperty>] :game_properties
|
11091
11258
|
# A set of key-value pairs that can store custom data in a game session.
|
@@ -11130,7 +11297,7 @@ module Aws::GameLift
|
|
11130
11297
|
# resp.game_session.current_player_session_count #=> Integer
|
11131
11298
|
# resp.game_session.maximum_player_session_count #=> Integer
|
11132
11299
|
# resp.game_session.status #=> String, one of "ACTIVE", "ACTIVATING", "TERMINATED", "TERMINATING", "ERROR"
|
11133
|
-
# resp.game_session.status_reason #=> String, one of "INTERRUPTED"
|
11300
|
+
# resp.game_session.status_reason #=> String, one of "INTERRUPTED", "TRIGGERED_ON_PROCESS_TERMINATE", "FORCE_TERMINATED"
|
11134
11301
|
# resp.game_session.game_properties #=> Array
|
11135
11302
|
# resp.game_session.game_properties[0].key #=> String
|
11136
11303
|
# resp.game_session.game_properties[0].value #=> String
|
@@ -11698,7 +11865,7 @@ module Aws::GameLift
|
|
11698
11865
|
tracer: tracer
|
11699
11866
|
)
|
11700
11867
|
context[:gem_name] = 'aws-sdk-gamelift'
|
11701
|
-
context[:gem_version] = '1.
|
11868
|
+
context[:gem_version] = '1.97.0'
|
11702
11869
|
Seahorse::Client::Request.new(handlers, context)
|
11703
11870
|
end
|
11704
11871
|
|