[][src]Struct rusoto_gamelift::GameSessionPlacement

pub struct GameSessionPlacement {
    pub dns_name: Option<String>,
    pub end_time: Option<f64>,
    pub game_properties: Option<Vec<GameProperty>>,
    pub game_session_arn: Option<String>,
    pub game_session_data: Option<String>,
    pub game_session_id: Option<String>,
    pub game_session_name: Option<String>,
    pub game_session_queue_name: Option<String>,
    pub game_session_region: Option<String>,
    pub ip_address: Option<String>,
    pub matchmaker_data: Option<String>,
    pub maximum_player_session_count: Option<i64>,
    pub placed_player_sessions: Option<Vec<PlacedPlayerSession>>,
    pub placement_id: Option<String>,
    pub player_latencies: Option<Vec<PlayerLatency>>,
    pub port: Option<i64>,
    pub start_time: Option<f64>,
    pub status: Option<String>,
}

Object that describes a StartGameSessionPlacement request. This object includes the full details of the original request plus the current status and start/end time stamps.

Game session placement-related operations include:

Fields

dns_name: Option<String>end_time: Option<f64>

Time stamp indicating when this request was completed, canceled, or timed out.

game_properties: Option<Vec<GameProperty>>

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).

game_session_arn: Option<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.

game_session_data: Option<String>

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).

game_session_id: Option<String>

Unique identifier for the game session. This value is set once the new game session is placed (placement status is FULFILLED).

game_session_name: Option<String>

Descriptive label that is associated with a game session. Session names do not need to be unique.

game_session_queue_name: Option<String>

Descriptive label that is associated with game session queue. Queue names must be unique within each region.

game_session_region: Option<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).

ip_address: Option<String>

IP address of the game session. To connect to a Amazon 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).

matchmaker_data: Option<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.

maximum_player_session_count: Option<i64>

Maximum number of players that can be connected simultaneously to the game session.

placed_player_sessions: Option<Vec<PlacedPlayerSession>>

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.

placement_id: Option<String>

Unique identifier for a game session placement.

player_latencies: Option<Vec<PlayerLatency>>

Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when connected to AWS regions.

port: Option<i64>

Port number for the game session. To connect to a Amazon 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).

start_time: Option<f64>

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").

status: Option<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 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.

Trait Implementations

impl Clone for GameSessionPlacement[src]

impl Default for GameSessionPlacement[src]

impl PartialEq<GameSessionPlacement> for GameSessionPlacement[src]

impl Debug for GameSessionPlacement[src]

impl<'de> Deserialize<'de> for GameSessionPlacement[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self