Class: Aws::GameLift::Types::CreatePlayerSessionsInput

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

Overview

Constant Summary collapse

SENSITIVE =
[:player_ids]

Instance Attribute Summary collapse

Instance Attribute Details

#game_session_idString

A unique identifier for the game session to add players to.

Returns:

  • (String)


2919
2920
2921
2922
2923
2924
2925
# File 'lib/aws-sdk-gamelift/types.rb', line 2919

class CreatePlayerSessionsInput < Struct.new(
  :game_session_id,
  :player_ids,
  :player_data_map)
  SENSITIVE = [:player_ids]
  include Aws::Structure
end

#player_data_mapHash<String,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. Any player data strings for player IDs that are not included in the ‘PlayerIds` parameter are ignored.

Returns:

  • (Hash<String,String>)


2919
2920
2921
2922
2923
2924
2925
# File 'lib/aws-sdk-gamelift/types.rb', line 2919

class CreatePlayerSessionsInput < Struct.new(
  :game_session_id,
  :player_ids,
  :player_data_map)
  SENSITIVE = [:player_ids]
  include Aws::Structure
end

#player_idsArray<String>

List of unique identifiers for the players to be added.

Returns:

  • (Array<String>)


2919
2920
2921
2922
2923
2924
2925
# File 'lib/aws-sdk-gamelift/types.rb', line 2919

class CreatePlayerSessionsInput < Struct.new(
  :game_session_id,
  :player_ids,
  :player_data_map)
  SENSITIVE = [:player_ids]
  include Aws::Structure
end