CreatePlayerSessionsInput

public struct CreatePlayerSessionsInput : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A unique identifier for the game session to add players to.

    Declaration

    Swift

    public let gameSessionId: String
  • Map of string pairs, each specifying a player ID and a set of developer-defined information related to the player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game. Player data strings for player IDs not included in the PlayerIds parameter are ignored.

    Declaration

    Swift

    public let playerDataMap: [String : String]?
  • List of unique identifiers for the players to be added.

    Declaration

    Swift

    public let playerIds: [String]
  • Undocumented

    Declaration

    Swift

    public init(gameSessionId: String, playerDataMap: [String : String]? = nil, playerIds: [String])
  • Declaration

    Swift

    public func validate(name: String) throws