You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::GameLift::Types::CreatePlayerSessionInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreatePlayerSessionInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  game_session_id: "ArnStringModel", # required
  player_id: "NonZeroAndMaxString", # required
  player_data: "PlayerData",
}

Represents the input for a request action.

Instance Attribute Summary collapse

Instance Attribute Details

#game_session_idString

Unique identifier for the game session to add a player to.

Returns:

  • (String)

    Unique identifier for the game session to add a player to.

#player_dataString

Developer-defined information related to a player. Amazon GameLift does not use this data, so it can be formatted as needed for use in the game.

Returns:

  • (String)

    Developer-defined information related to a player.

#player_idString

Unique identifier for a player. Player IDs are developer-defined.

Returns:

  • (String)

    Unique identifier for a player.