DescribeMatchmaking
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
Request Syntax
{
"TicketIds": [ "string
" ]
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
Note
In the following list, the required parameters are described first.
- TicketIds
-
A unique identifier for a matchmaking ticket. You can include up to 10 ID values.
Type: Array of strings
Length Constraints: Maximum length of 128.
Pattern:
[a-zA-Z0-9-\.]*
Required: Yes
Response Syntax
{
"TicketList": [
{
"ConfigurationArn": "string",
"ConfigurationName": "string",
"EndTime": number,
"EstimatedWaitTime": number,
"GameSessionConnectionInfo": {
"DnsName": "string",
"GameSessionArn": "string",
"IpAddress": "string",
"MatchedPlayerSessions": [
{
"PlayerId": "string",
"PlayerSessionId": "string"
}
],
"Port": number
},
"Players": [
{
"LatencyInMs": {
"string" : number
},
"PlayerAttributes": {
"string" : {
"N": number,
"S": "string",
"SDM": {
"string" : number
},
"SL": [ "string" ]
}
},
"PlayerId": "string",
"Team": "string"
}
],
"StartTime": number,
"Status": "string",
"StatusMessage": "string",
"StatusReason": "string",
"TicketId": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- TicketList
-
A collection of existing matchmaking ticket objects matching the request.
Type: Array of MatchmakingTicket objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalServiceException
-
The service encountered an unrecoverable internal failure while processing the request. Clients can retry such requests immediately or after a waiting period.
HTTP Status Code: 500
- InvalidRequestException
-
One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.
HTTP Status Code: 400
- UnsupportedRegionException
-
The requested operation is not supported in the Region specified.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: