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

Class: Aws::GameLift::Types::AcceptMatchInput

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

Overview

Note:

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

{
  ticket_id: "MatchmakingIdStringModel", # required
  player_ids: ["NonZeroAndMaxString"], # required
  acceptance_type: "ACCEPT", # required, accepts ACCEPT, REJECT
}

Represents the input for a request operation.

Instance Attribute Summary collapse

Instance Attribute Details

#acceptance_typeString

Player response to the proposed match.

Possible values:

  • ACCEPT
  • REJECT

Returns:

  • (String)

    Player response to the proposed match.

#player_idsArray<String>

A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.

Returns:

  • (Array<String>)

    A unique identifier for a player delivering the response.

#ticket_idString

A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE; otherwise this request will fail.

Returns:

  • (String)

    A unique identifier for a matchmaking ticket.