Class: Aws::GameLift::Types::GameSessionPlacement
- Inherits:
-
Struct
- Object
- Struct
- Aws::GameLift::Types::GameSessionPlacement
- Defined in:
- gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb
Overview
This object includes the full details of the original request plus the current status and start/end time stamps.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#dns_name ⇒ String
The DNS identifier assigned to the instance that is running the game session.
-
#end_time ⇒ Time
Time stamp indicating when this request was completed, canceled, or timed out.
-
#game_properties ⇒ Array<Types::GameProperty>
A set of custom properties for a game session, formatted as key:value pairs.
-
#game_session_arn ⇒ String
Identifier for the game session created by this placement request.
-
#game_session_data ⇒ String
A set of custom game session properties, formatted as a single string value.
-
#game_session_id ⇒ String
A unique identifier for the game session.
-
#game_session_name ⇒ String
A descriptive label that is associated with a game session.
-
#game_session_queue_name ⇒ String
A descriptive label that is associated with game session queue.
-
#game_session_region ⇒ String
Name of the Region where the game session created by this placement request is running.
-
#ip_address ⇒ String
The IP address of the game session.
-
#matchmaker_data ⇒ String
Information on the matchmaking process for this game.
-
#maximum_player_session_count ⇒ Integer
The maximum number of players that can be connected simultaneously to the game session.
-
#placed_player_sessions ⇒ Array<Types::PlacedPlayerSession>
A collection of information on player sessions created in response to the game session placement request.
-
#placement_id ⇒ String
A unique identifier for a game session placement.
-
#player_latencies ⇒ Array<Types::PlayerLatency>
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to Amazon Web Services Regions.
-
#port ⇒ Integer
The port number for the game session.
-
#start_time ⇒ Time
Time stamp indicating when this request was placed in the queue.
-
#status ⇒ String
Current status of the game session placement request.
Instance Attribute Details
#dns_name ⇒ String
The DNS identifier assigned to the instance that is running the game session. Values have the following format:
TLS-enabled fleets:
<unique identifier>.<region identifier>.amazongamelift.com
.Non-TLS-enabled fleets:
ec2-<unique identifier>.compute.amazonaws.com
. (See Amazon EC2 Instance IP Addressing.)
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#end_time ⇒ Time
Time stamp indicating when this request was completed, canceled, or timed out.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#game_properties ⇒ Array<Types::GameProperty>
A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process with a request to start a new game session (see Start a Game Session).
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#game_session_arn ⇒ String
Identifier for the game session created by this placement request.
This value is set once the new game session is placed (placement
status is FULFILLED
). This identifier is unique across all
Regions. You can use this value as a GameSessionId
value as
needed.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#game_session_data ⇒ String
A set of custom game session properties, formatted as a single
string value. This data is passed to a game server process in the
GameSession
object with a request to start a new game session (see
Start a Game Session).
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#game_session_id ⇒ String
A unique identifier for the game session. This value is set once the
new game session is placed (placement status is FULFILLED
).
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#game_session_name ⇒ String
A descriptive label that is associated with a game session. Session names do not need to be unique.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#game_session_queue_name ⇒ String
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#game_session_region ⇒ String
Name of the Region where the game session created by this placement
request is running. This value is set once the new game session is
placed (placement status is FULFILLED
).
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#ip_address ⇒ String
The IP address of the game session. To connect to a GameLift game
server, an app needs both the IP address and port number. This value
is set once the new game session is placed (placement status is
FULFILLED
).
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#matchmaker_data ⇒ String
Information on the matchmaking process for this game. Data is in JSON syntax, formatted as a string. It identifies the matchmaking configuration used to create the match, and contains data on all players assigned to the match, including player attributes and team assignments. For more details on matchmaker data, see Match Data.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#maximum_player_session_count ⇒ Integer
The maximum number of players that can be connected simultaneously to the game session.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#placed_player_sessions ⇒ Array<Types::PlacedPlayerSession>
A collection of information on player sessions created in response
to the game session placement request. These player sessions are
created only once a new game session is successfully placed
(placement status is FULFILLED
). This information includes the
player ID (as provided in the placement request) and the
corresponding player session ID.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#placement_id ⇒ String
A unique identifier for a game session placement.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#player_latencies ⇒ Array<Types::PlayerLatency>
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to Amazon Web Services Regions.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#port ⇒ Integer
The port number for the game session. To connect to a GameLift game
server, an app needs both the IP address and port number. This value
is set once the new game session is placed (placement status is
FULFILLED
).
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#start_time ⇒ Time
Time stamp indicating when this request was placed in the queue.
Format is a number expressed in Unix time as milliseconds (for
example "1469498468.057"
).
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
Current status of the game session placement request.
PENDING -- The placement request is currently in the queue waiting to be processed.
FULFILLED -- A new game session and player sessions (if requested) have been successfully created. Values for GameSessionArn and GameSessionRegion are available.
CANCELLED -- The placement request was canceled.
TIMED_OUT -- A new game session was not successfully created before the time limit expired. You can resubmit the placement request as needed.
FAILED -- GameLift is not able to complete the process of placing the game session. Common reasons are the game session terminated before the placement process was completed, or an unexpected internal error.
5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 |
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 5032 class GameSessionPlacement < Struct.new( :placement_id, :game_session_queue_name, :status, :game_properties, :maximum_player_session_count, :game_session_name, :game_session_id, :game_session_arn, :game_session_region, :player_latencies, :start_time, :end_time, :ip_address, :dns_name, :port, :placed_player_sessions, :game_session_data, :matchmaker_data) SENSITIVE = [] include Aws::Structure end |