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: "MatchmakingConfigurationName", # required
  players: [ # required
    {
      player_id: "NonZeroAndMaxString",
      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 operation.

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. You can use either the configuration name or ARN value.

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

A unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and retrieve match results.

Returns:

  • (String)

    A unique identifier for a matchmaking ticket.