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)


2881
2882
2883
2884
2885
2886
2887
# File 'lib/aws-sdk-gamelift/types.rb', line 2881

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)


2881
2882
2883
2884
2885
2886
2887
# File 'lib/aws-sdk-gamelift/types.rb', line 2881

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)


2881
2882
2883
2884
2885
2886
2887
# File 'lib/aws-sdk-gamelift/types.rb', line 2881

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