Struct rusoto_gamelift::CreateGameSessionInput
[−]
[src]
pub struct CreateGameSessionInput { pub alias_id: Option<AliasId>, pub creator_id: Option<NonZeroAndMaxString>, pub fleet_id: Option<FleetId>, pub game_properties: Option<GamePropertyList>, pub game_session_id: Option<IdStringModel>, pub idempotency_token: Option<IdStringModel>, pub maximum_player_session_count: WholeNumber, pub name: Option<NonZeroAndMaxString>, }
Represents the input for a request action.
Fields
alias_id: Option<AliasId>
Unique identifier for an alias associated with the fleet to create a game session in. Each request must reference either a fleet ID or alias ID, but not both.
creator_id: Option<NonZeroAndMaxString>
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<FleetId>
Unique identifier for a fleet to create a game session in. Each request must reference either a fleet ID or alias ID, but not both.
game_properties: Option<GamePropertyList>
Set of developer-defined properties for a game session. These properties are passed to the server process hosting the game session.
game_session_id: Option<IdStringModel>
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 ID has the following format: arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>
.)
idempotency_token: Option<IdStringModel>
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 ID has the following format: arn:aws:gamelift:<region>::gamesession/<fleet ID>/<custom ID string or idempotency token>
.)
maximum_player_session_count: WholeNumber
Maximum number of players that can be connected simultaneously to the game session.
name: Option<NonZeroAndMaxString>
Descriptive label that is associated with a game session. Session names do not need to be unique.
Trait Implementations
impl Default for CreateGameSessionInput
[src]
fn default() -> CreateGameSessionInput
Returns the "default value" for a type. Read more
impl Debug for CreateGameSessionInput
[src]
impl Clone for CreateGameSessionInput
[src]
fn clone(&self) -> CreateGameSessionInput
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more