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

Class: Aws::GameLift::Types::StartMatchmakingInput

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

Overview

Note:

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

{
  ticket_id: "MatchmakingIdStringModel",
  configuration_name: "MatchmakingIdStringModel", # required
  players: [ # required
    {
      player_id: "PlayerIdStringModel",
      player_attributes: {
        "NonZeroAndMaxString" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
      },
      team: "NonZeroAndMaxString",
      latency_in_ms: {
        "NonEmptyString" => 1,
      },
    },
  ],
}

Represents the input for a request action.

Instance Attribute Summary collapse

Instance Attribute Details

#configuration_nameString

Name of the matchmaking configuration to use for this request. Matchmaking configurations must exist in the same region as this request.

Returns:

  • (String)

    Name of the matchmaking configuration to use for this request.

#playersArray<Types::Player>

Information on each player to be matched. This information must include a player ID, and may contain player attributes and latency data to be used in the matchmaking process. After a successful match, Player objects contain the name of the team the player is assigned to.

Returns:

  • (Array<Types::Player>)

    Information on each player to be matched.

#ticket_idString

Unique identifier for a matchmaking ticket. Use this identifier to track the matchmaking ticket status and retrieve match results.

Returns:

  • (String)

    Unique identifier for a matchmaking ticket.