import { _GameProperty } from "./_GameProperty"; import { _PlayerLatency } from "./_PlayerLatency"; import { _DesiredPlayerSession } from "./_DesiredPlayerSession"; import { NodeHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** *
Represents the input for a request action.
*/ export interface StartGameSessionPlacementInput { /** *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.
*/ PlacementId: string; /** *Name of the queue to use to place the new game session.
*/ GameSessionQueueName: string; /** *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).
*/ GameProperties?: Array<_GameProperty> | Iterable<_GameProperty>; /** *Maximum number of players that can be connected simultaneously to the game session.
*/ MaximumPlayerSessionCount: number; /** *Descriptive label that is associated with a game session. Session names do not need to be unique.
*/ GameSessionName?: string; /** *Set of values, expressed in milliseconds, indicating 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.
*/ PlayerLatencies?: Array<_PlayerLatency> | Iterable<_PlayerLatency>; /** *Set of information on each player to create a player session for.
*/ DesiredPlayerSessions?: Array<_DesiredPlayerSession> | Iterable<_DesiredPlayerSession>; /** *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).
*/ GameSessionData?: string; /** * The maximum number of times this operation should be retried. If set, this value will override the `maxRetries` configuration set on the client for this command. */ $maxRetries?: number; /** * An object that may be queried to determine if the underlying operation has been aborted. * * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ $abortSignal?: __aws_sdk_types.AbortSignal; /** * Per-request HTTP configuration options. If set, any options specified will override the corresponding HTTP option set on the client for this command. */ $httpOptions?: __HttpOptions__; }