amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Synopsis

Creating a Request

data StopMatchmaking Source #

See: newStopMatchmaking smart constructor.

Constructors

StopMatchmaking' 

Fields

  • ticketId :: Text

    A unique identifier for a matchmaking ticket.

Instances

Instances details
ToJSON StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.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

AWSRequest StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Associated Types

type AWSResponse StopMatchmaking #

Generic StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Associated Types

type Rep StopMatchmaking :: Type -> Type #

Read StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Show StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

NFData StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Methods

rnf :: StopMatchmaking -> () #

Eq StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Hashable StopMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

type AWSResponse 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" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "StopMatchmaking'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ticketId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Associated Types

type Rep StopMatchmakingResponse :: Type -> Type #

Read StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Show StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

NFData StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

Methods

rnf :: StopMatchmakingResponse -> () #

Eq StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

type Rep StopMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.StopMatchmaking

type Rep StopMatchmakingResponse = D1 ('MetaData "StopMatchmakingResponse" "Amazonka.GameLift.StopMatchmaking" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" '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