// 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 (SNS)
// to receive notifications, and provide the topic ARN in the matchmaking
// configuration. Continuously poling ticket status with DescribeMatchmaking should
// only be used for games in development with low matchmaking usage. Learn more
// Add FlexMatch to a Game Client
// (https://docs.aws.amazon.com/gamelift/latest/developerguide/match-client.html)
// Set Up FlexMatch Event Notification
// (https://docs.aws.amazon.com/gamelift/latest/developerguide/match-notification.html)
// Related operations
//
// * StartMatchmaking
//
// * DescribeMatchmaking
//
// *
// StopMatchmaking
//
// * AcceptMatch
//
// * StartMatchBackfill
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 (SNS)
to receive notifications, and provide the topic ARN in the matchmaking
configuration. Continuously poling ticket status with DescribeMatchmaking should
only be used for games in development with low matchmaking usage. Learn more
Add FlexMatch to a Game Client

Set Up FlexMatch Event Notification

Related operations

StartMatchmaking

DescribeMatchmaking

StopMatchmaking

AcceptMatch

StartMatchBackfill
// 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 ( SNS ) // to receive notifications and provide the topic ARN in the matchmaking // configuration . Continuously poling ticket status with DescribeMatchmaking should // only be used for games in development with low matchmaking usage . Learn more // Add FlexMatch to a Game Client // ( https : // docs . aws . amazon . com / gamelift / latest / developerguide / match - client . html ) // Set Up FlexMatch Event Notification // ( https : // docs . aws . amazon . com / gamelift / latest / developerguide / match - notification . html ) // Related operations // // * StartMatchmaking // // * DescribeMatchmaking // // * // StopMatchmaking // // * AcceptMatch // // * StartMatchBackfill
func (c *Client) DescribeMatchmaking(ctx context.Context, params *DescribeMatchmakingInput, optFns ...func(*Options)) (*DescribeMatchmakingOutput, error) {
	if params == nil {
		params = &DescribeMatchmakingInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeMatchmaking", params, optFns, addOperationDescribeMatchmakingMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeMatchmakingOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeMatchmaking ( ctx context . Context , params * DescribeMatchmakingInput , optFns ... func ( * Options ) ) ( * DescribeMatchmakingOutput , error ) { if params == nil { params = & DescribeMatchmakingInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeMatchmakingMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeMatchmakingOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves one or more matchmaking tickets.
Retrieves one or more matchmaking tickets .