logo
pub struct StartGameSessionPlacementInput {
    pub desired_player_sessions: Option<Vec<DesiredPlayerSession>>,
    pub game_properties: Option<Vec<GameProperty>>,
    pub game_session_data: Option<String>,
    pub game_session_name: Option<String>,
    pub game_session_queue_name: String,
    pub maximum_player_session_count: i64,
    pub placement_id: String,
    pub player_latencies: Option<Vec<PlayerLatency>>,
}
Expand description

Represents the input for a request operation.

Fields

desired_player_sessions: Option<Vec<DesiredPlayerSession>>

Set of information on each player to create a player session for.

game_properties: Option<Vec<GameProperty>>

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

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

game_session_name: Option<String>

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

game_session_queue_name: String

Name of the queue to use to place the new game session. You can use either the queue name or ARN value.

maximum_player_session_count: i64

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

placement_id: String

A unique identifier to assign to the new game session placement. This value is developer-defined. The value must be unique across all Regions and cannot be reused unless you are resubmitting a canceled or timed-out placement request.

player_latencies: Option<Vec<PlayerLatency>>

A set of values, expressed in milliseconds, that indicates the amount of latency that a player experiences when connected to AWS Regions. This information is used to try to place the new game session where it can offer the best possible gameplay experience for the players.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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