Struct aws_sdk_gamelift::model::game_session_placement::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for GameSessionPlacement
Implementations
A unique identifier for a game session placement.
A unique identifier for a game session placement.
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
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 with a call to StopGameSessionPlacement.
-
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.
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 with a call to StopGameSessionPlacement.
-
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.
Appends an item to game_properties
.
To override the contents of this collection use set_game_properties
.
A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session).
A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session).
The maximum number of players that can be connected simultaneously to the game session.
The maximum number of players that can be connected simultaneously to the game session.
A descriptive label that is associated with a game session. Session names do not need to be unique.
A descriptive label that is associated with a game session. Session names do not need to be unique.
A unique identifier for the game session. This value is set once the new game session is placed (placement status is
FULFILLED
).
A unique identifier for the game session. This value is set once the new game session is placed (placement status is
FULFILLED
).
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.
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.
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
).
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
).
Appends an item to player_latencies
.
To override the contents of this collection use set_player_latencies
.
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to AWS Regions.
A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to AWS Regions.
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"
).
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"
).
Time stamp indicating when this request was completed, canceled, or timed out.
Time stamp indicating when this request was completed, canceled, or timed out.
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
).
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
).
The DNS identifier assigned to the instance that is running the game session. Values have the following format:
-
TLS-enabled fleets:
.. .amazongamelift.com -
Non-TLS-enabled fleets:
ec2-
. (See Amazon EC2 Instance IP Addressing.).compute.amazonaws.com
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
The DNS identifier assigned to the instance that is running the game session. Values have the following format:
-
TLS-enabled fleets:
.. .amazongamelift.com -
Non-TLS-enabled fleets:
ec2-
. (See Amazon EC2 Instance IP Addressing.).compute.amazonaws.com
When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.
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
).
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
).
Appends an item to placed_player_sessions
.
To override the contents of this collection use set_placed_player_sessions
.
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. Retrieve full player sessions by calling DescribePlayerSessions with the player session ID.
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. Retrieve full player sessions by calling DescribePlayerSessions with the player session ID.
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).
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).
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.
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.
Consumes the builder and constructs a GameSessionPlacement
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more