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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-gamelift/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:player_id]

Instance Attribute Summary collapse

Instance Attribute Details

#game_session_idString

A unique identifier for the game session to add a player to.

Returns:

  • (String)


1689
1690
1691
1692
1693
1694
1695
# File 'lib/aws-sdk-gamelift/types.rb', line 1689

class CreatePlayerSessionInput < Struct.new(
  :game_session_id,
  :player_id,
  :player_data)
  SENSITIVE = [:player_id]
  include Aws::Structure
end

#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)


1689
1690
1691
1692
1693
1694
1695
# File 'lib/aws-sdk-gamelift/types.rb', line 1689

class CreatePlayerSessionInput < Struct.new(
  :game_session_id,
  :player_id,
  :player_data)
  SENSITIVE = [:player_id]
  include Aws::Structure
end

#player_idString

A unique identifier for a player. Player IDs are developer-defined.

Returns:

  • (String)


1689
1690
1691
1692
1693
1694
1695
# File 'lib/aws-sdk-gamelift/types.rb', line 1689

class CreatePlayerSessionInput < Struct.new(
  :game_session_id,
  :player_id,
  :player_data)
  SENSITIVE = [:player_id]
  include Aws::Structure
end