[][src]Struct rusoto_gamelift::CreateGameSessionInput

pub struct CreateGameSessionInput {
    pub alias_id: Option<String>,
    pub creator_id: Option<String>,
    pub fleet_id: Option<String>,
    pub game_properties: Option<Vec<GameProperty>>,
    pub game_session_data: Option<String>,
    pub game_session_id: Option<String>,
    pub idempotency_token: Option<String>,
    pub maximum_player_session_count: i64,
    pub name: Option<String>,
}

Represents the input for a request action.

Fields

alias_id: Option<String>

A unique identifier for an alias associated with the fleet to create a game session in. You can use either the alias ID or ARN value. Each request must reference either a fleet ID or alias ID, but not both.

creator_id: Option<String>

A unique identifier for a player or entity creating the game session. This ID is used to enforce a resource protection policy (if one exists) that limits the number of concurrent active game sessions one player can have.

fleet_id: Option<String>

A unique identifier for a fleet to create a game session in. You can use either the fleet ID or ARN value. Each request must reference either a fleet ID or alias ID, but not both.

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_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>

This parameter is no longer preferred. Please use IdempotencyToken instead. Custom string that uniquely identifies a request for a new game session. Maximum token length is 48 characters. If provided, this string is included in the new game session's ID. (A game session ARN has the following format: arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>.)

idempotency_token: Option<String>

Custom string that uniquely identifies a request for a new game session. Maximum token length is 48 characters. If provided, this string is included in the new game session's ID. (A game session ARN has the following format: arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>.) Idempotency tokens remain in use for 30 days after a game session has ended; game session objects are retained for this time period and then deleted.

maximum_player_session_count: i64

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

name: Option<String>

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

Trait Implementations

impl Clone for CreateGameSessionInput[src]

impl Debug for CreateGameSessionInput[src]

impl Default for CreateGameSessionInput[src]

impl PartialEq<CreateGameSessionInput> for CreateGameSessionInput[src]

impl Serialize for CreateGameSessionInput[src]

impl StructuralPartialEq for CreateGameSessionInput[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.