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.DescribeMatchmaking

Description

Retrieves one or more matchmaking tickets. Use this operation to retrieve ticket information, including--after a successful match is made--connection information for the resulting new game session.

To request matchmaking tickets, provide a list of up to 10 ticket IDs. If the request is successful, a ticket object is returned for each requested ID that currently exists.

This operation is not designed to be continually called to track matchmaking ticket status. This practice can cause you to exceed your API limit, which results in errors. Instead, as a best practice, set up an Amazon Simple Notification Service to receive notifications, and provide the topic ARN in the matchmaking configuration.

Learn more

Add FlexMatch to a game client

Set Up FlexMatch event notification

Synopsis

Creating a Request

data DescribeMatchmaking Source #

See: newDescribeMatchmaking smart constructor.

Constructors

DescribeMatchmaking' 

Fields

  • ticketIds :: [Text]

    A unique identifier for a matchmaking ticket. You can include up to 10 ID values.

Instances

Instances details
ToJSON DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

ToHeaders DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

ToPath DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

ToQuery DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

AWSRequest DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

Associated Types

type AWSResponse DescribeMatchmaking #

Generic DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

Associated Types

type Rep DescribeMatchmaking :: Type -> Type #

Read DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

Show DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

NFData DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

Methods

rnf :: DescribeMatchmaking -> () #

Eq DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

Hashable DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

type AWSResponse DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

type Rep DescribeMatchmaking Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

type Rep DescribeMatchmaking = D1 ('MetaData "DescribeMatchmaking" "Amazonka.GameLift.DescribeMatchmaking" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DescribeMatchmaking'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ticketIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newDescribeMatchmaking :: DescribeMatchmaking Source #

Create a value of DescribeMatchmaking 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:ticketIds:DescribeMatchmaking', describeMatchmaking_ticketIds - A unique identifier for a matchmaking ticket. You can include up to 10 ID values.

Request Lenses

describeMatchmaking_ticketIds :: Lens' DescribeMatchmaking [Text] Source #

A unique identifier for a matchmaking ticket. You can include up to 10 ID values.

Destructuring the Response

data DescribeMatchmakingResponse Source #

See: newDescribeMatchmakingResponse smart constructor.

Constructors

DescribeMatchmakingResponse' 

Fields

Instances

Instances details
Generic DescribeMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

Associated Types

type Rep DescribeMatchmakingResponse :: Type -> Type #

Read DescribeMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

Show DescribeMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

NFData DescribeMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

Eq DescribeMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

type Rep DescribeMatchmakingResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmaking

type Rep DescribeMatchmakingResponse = D1 ('MetaData "DescribeMatchmakingResponse" "Amazonka.GameLift.DescribeMatchmaking" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "DescribeMatchmakingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ticketList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MatchmakingTicket])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeMatchmakingResponse Source #

Create a value of DescribeMatchmakingResponse 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:ticketList:DescribeMatchmakingResponse', describeMatchmakingResponse_ticketList - A collection of existing matchmaking ticket objects matching the request.

$sel:httpStatus:DescribeMatchmakingResponse', describeMatchmakingResponse_httpStatus - The response's http status code.

Response Lenses

describeMatchmakingResponse_ticketList :: Lens' DescribeMatchmakingResponse (Maybe [MatchmakingTicket]) Source #

A collection of existing matchmaking ticket objects matching the request.