libZSservicesZSamazonka-gameliftZSamazonka-gamelift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GameLift.StopMatchmaking

Description

Cancels a matchmaking ticket or match backfill ticket that is currently being processed. To stop the matchmaking operation, specify the ticket ID. If successful, work on the ticket is stopped, and the ticket status is changed to CANCELLED.

This call is also used to turn off automatic backfill for an individual game session. This is for game sessions that are created with a matchmaking configuration that has automatic backfill enabled. The ticket ID is included in the MatchmakerData of an updated game session object, which is provided to the game server.

If the operation is successful, the service sends back an empty JSON struct with the HTTP 200 response (not an empty HTTP body).

Learn more

Add FlexMatch to a game client

Related actions

StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | StartMatchBackfill | All APIs by task

Synopsis

Creating a Request

data StopMatchmaking Source #

Represents the input for a request operation.

See: newStopMatchmaking smart constructor.

Constructors

StopMatchmaking' 

Fields

  • ticketId :: Text

    A unique identifier for a matchmaking ticket.

Instances

Instances details
Eq StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Read StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Show StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Generic StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Associated Types

type Rep StopMatchmaking :: Type -> Type #

NFData StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Methods

rnf :: StopMatchmaking -> () #

Hashable StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

ToJSON StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

AWSRequest StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Associated Types

type AWSResponse StopMatchmaking #

ToHeaders StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

ToPath StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

ToQuery StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

type Rep StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

type Rep StopMatchmaking = D1 ('MetaData "StopMatchmaking" "Amazonka.GameLift.StopMatchmaking" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "StopMatchmaking'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ticketId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

newStopMatchmaking Source #

Create a value of StopMatchmaking with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ticketId:StopMatchmaking', stopMatchmaking_ticketId - A unique identifier for a matchmaking ticket.

Request Lenses

stopMatchmaking_ticketId :: Lens' StopMatchmaking Text Source #

A unique identifier for a matchmaking ticket.

Destructuring the Response

data StopMatchmakingResponse Source #

See: newStopMatchmakingResponse smart constructor.

Constructors

StopMatchmakingResponse' 

Fields

Instances

Instances details
Eq StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Read StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Show StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Generic StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Associated Types

type Rep StopMatchmakingResponse :: Type -> Type #

NFData StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Methods

rnf :: StopMatchmakingResponse -> () #

type Rep StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

type Rep StopMatchmakingResponse = D1 ('MetaData "StopMatchmakingResponse" "Amazonka.GameLift.StopMatchmaking" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "StopMatchmakingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStopMatchmakingResponse Source #

Create a value of StopMatchmakingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:StopMatchmakingResponse', stopMatchmakingResponse_httpStatus - The response's http status code.

Response Lenses