[−][src]Struct rusoto_gamelift::CreateGameSessionInput
Represents the input for a request action.
Fields
alias_id: Option<String>
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<String>
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>
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<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
Maximum number of players that can be connected simultaneously to the game session.
name: Option<String>
Descriptive label that is associated with a game session. Session names do not need to be unique.
Trait Implementations
impl Default for CreateGameSessionInput
[src]
impl Default for CreateGameSessionInput
fn default() -> CreateGameSessionInput
[src]
fn default() -> CreateGameSessionInput
Returns the "default value" for a type. Read more
impl PartialEq<CreateGameSessionInput> for CreateGameSessionInput
[src]
impl PartialEq<CreateGameSessionInput> for CreateGameSessionInput
fn eq(&self, other: &CreateGameSessionInput) -> bool
[src]
fn eq(&self, other: &CreateGameSessionInput) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateGameSessionInput) -> bool
[src]
fn ne(&self, other: &CreateGameSessionInput) -> bool
This method tests for !=
.
impl Clone for CreateGameSessionInput
[src]
impl Clone for CreateGameSessionInput
fn clone(&self) -> CreateGameSessionInput
[src]
fn clone(&self) -> CreateGameSessionInput
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for CreateGameSessionInput
[src]
impl Debug for CreateGameSessionInput
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Serialize for CreateGameSessionInput
[src]
impl Serialize for CreateGameSessionInput
Auto Trait Implementations
impl Send for CreateGameSessionInput
impl Send for CreateGameSessionInput
impl Sync for CreateGameSessionInput
impl Sync for CreateGameSessionInput
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
type Owned = T
fn to_owned(&self) -> T
[src]
fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src]
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T> Erased for T