openapi: 3.0.0 info: version: 2015-10-01 x-release: v4 title: 'Amazon GameLift #X Amz Target=GameLift.AcceptMatch #X Amz Target=GameLift.AcceptMatch #X Amz Target=GameLift.DescribeGameSessionQueues API' description:
Amazon GameLift provides solutions for hosting session-based multiplayer game servers in the cloud, including tools for deploying, operating, and scaling game servers. Built on Amazon Web Services global computing infrastructure, GameLift helps you deliver high-performance, high-reliability, low-cost game servers while dynamically scaling your resource usage to meet player demand.
About Amazon GameLift solutions
Get more information on these Amazon GameLift solutions in the Amazon GameLift Developer Guide.
Amazon GameLift managed hosting -- Amazon GameLift offers a fully managed service to set up and maintain computing machines for hosting, manage game session and player session life cycle, and handle security, storage, and performance tracking. You can use automatic scaling tools to balance player demand and hosting costs, configure your game session management to minimize player latency, and add FlexMatch for matchmaking.
Managed hosting with Realtime Servers -- With Amazon GameLift Realtime Servers, you can quickly configure and set up ready-to-go game servers for your game. Realtime Servers provides a game server framework with core Amazon GameLift infrastructure already built in. Then use the full range of Amazon GameLift managed hosting features, including FlexMatch, for your game.
Amazon GameLift FleetIQ -- Use Amazon GameLift FleetIQ as a standalone service while hosting your games using EC2 instances and Auto Scaling groups. Amazon GameLift FleetIQ provides optimizations for game hosting, including boosting the viability of low-cost Spot Instances gaming. For a complete solution, pair the Amazon GameLift FleetIQ and FlexMatch standalone services.
Amazon GameLift FlexMatch -- Add matchmaking to your game hosting solution. FlexMatch is a customizable matchmaking service for multiplayer games. Use FlexMatch as integrated with Amazon GameLift managed hosting or incorporate FlexMatch as a standalone service into your own hosting solution.
About this API Reference
This reference guide describes the low-level service API for Amazon GameLift. With each topic in this guide, you can find links to language-specific SDK guides and the Amazon Web Services CLI reference. Useful links:
x-logo: url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: gamelift x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/gamelift-2015-10-01.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://gamelift.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon GameLift multi-region endpoint - url: https://gamelift.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The Amazon GameLift multi-region endpoint - url: http://gamelift.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon GameLift endpoint for China (Beijing) and China (Ningxia) - url: https://gamelift.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The Amazon GameLift endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#X Amz Target=GameLift.DescribeGameSessionQueues' paths: /#X-Amz-Target=GameLift.DescribeGameSessionQueues: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: DescribeGameSessionQueues description:Retrieves the properties for one or more game session queues. When requesting multiple queues, use the pagination parameters to retrieve results as a set of sequential pages. When specifying a list of queues, objects are returned only for queues that currently exist in the Region.
Learn more
responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/DescribeGameSessionQueuesOutput' examples: DescribeGameSessionQueues200Example: summary: Default DescribeGameSessionQueues 200 response x-microcks-default: true value: GameSessionQueues: example-value NextToken: example-value '480': description: InternalServiceException content: application/json: schema: $ref: '#/components/schemas/InternalServiceException' examples: DescribeGameSessionQueues480Example: summary: Default DescribeGameSessionQueues 480 response x-microcks-default: true value: example-value '481': description: InvalidRequestException content: application/json: schema: $ref: '#/components/schemas/InvalidRequestException' examples: DescribeGameSessionQueues481Example: summary: Default DescribeGameSessionQueues 481 response x-microcks-default: true value: example-value '482': description: NotFoundException content: application/json: schema: $ref: '#/components/schemas/NotFoundException' examples: DescribeGameSessionQueues482Example: summary: Default DescribeGameSessionQueues 482 response x-microcks-default: true value: example-value '483': description: UnauthorizedException content: application/json: schema: $ref: '#/components/schemas/UnauthorizedException' examples: DescribeGameSessionQueues483Example: summary: Default DescribeGameSessionQueues 483 response x-microcks-default: true value: example-value requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/DescribeGameSessionQueuesInput' parameters: - name: Limit in: query schema: type: string description: Pagination limit required: false - name: NextToken in: query schema: type: string description: Pagination token required: false - name: X-Amz-Target in: header required: true schema: type: string enum: - GameLift.DescribeGameSessionQueues summary: Amazon GameLift Describe Game Session Queues x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - '#X Amz Target=GameLift.DescribeGameSessionQueues' components: schemas: QueueSnsArnStringModel: type: string pattern: '[a-zA-Z0-9:_-]*(\.fifo)?' minLength: 0 maxLength: 300 NonZeroAndMaxString: type: string minLength: 1 maxLength: 1024 GameSessionQueueList: type: array items: $ref: '#/components/schemas/GameSessionQueue' GameSessionQueueArn: type: string pattern: ^arn:.*:gamesessionqueue\/[a-zA-Z0-9-]+ minLength: 1 maxLength: 256 DescribeGameSessionQueuesInput: type: object title: DescribeGameSessionQueuesInput properties: Names: allOf: - $ref: '#/components/schemas/GameSessionQueueNameOrArnList' - description: 'A list of queue names to retrieve information for. You can use either the queue ID or ARN value. To request settings for all queues, leave this parameter empty. ' Limit: allOf: - $ref: '#/components/schemas/PositiveInteger' - description: The maximum number of results to return. Use this parameter withNextToken to get results as a set of sequential pages. You can request up to 50 results.
NextToken:
allOf:
- $ref: '#/components/schemas/NonZeroAndMaxString'
- description: A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
InternalServiceException: {}
WholeNumber:
type: integer
minimum: 0
LocationList:
type: array
items:
$ref: '#/components/schemas/LocationStringModel'
minItems: 1
maxItems: 100
GameSessionQueueNameOrArn:
type: string
pattern: '[a-zA-Z0-9-]+|^arn:.*:gamesessionqueue\/[a-zA-Z0-9-]+'
minLength: 1
maxLength: 256
PriorityConfiguration:
type: object
properties:
PriorityOrder:
allOf:
- $ref: '#/components/schemas/PriorityTypeList'
- description: The recommended sequence to use when prioritizing where to place new game sessions. Each type can only be listed once.
LATENCY -- FleetIQ prioritizes locations where the average player latency (provided in each game session request) is lowest.
COST -- FleetIQ prioritizes destinations with the lowest current hosting costs. Cost is evaluated based on the location, instance type, and fleet type (Spot or On-Demand) for each destination in the queue.
DESTINATION -- FleetIQ prioritizes based on the order that destinations are listed in the queue configuration.
LOCATION -- FleetIQ prioritizes based on the provided order of locations, as defined in LocationOrder.
PriorityOrder property includes LOCATION. Locations are identified by Amazon Web Services Region codes such as us-west-2. Each location can only be listed once. '
description: Custom prioritization settings for use by a game session queue when placing new game sessions with available game servers. When defined, this configuration replaces the default FleetIQ prioritization process, which is as follows:
If player latency data is included in a game session request, destinations and locations are prioritized first based on lowest average latency (1), then on lowest hosting cost (2), then on destination list order (3), and finally on location (alphabetical) (4). This approach ensures that the queue's top priority is to place game sessions where average player latency is lowest, and--if latency is the same--where the hosting cost is less, etc.
If player latency data is not included, destinations and locations are prioritized first on destination list order (1), and then on location (alphabetical) (2). This approach ensures that the queue's top priority is to place game sessions on the first destination fleet listed. If that fleet has multiple locations, the game session is placed on the first location (when listed alphabetically).
Changing the priority order will affect how game sessions are placed.
QueueCustomEventData: type: string pattern: '[\s\S]*' minLength: 0 maxLength: 256 FilterConfiguration: type: object properties: AllowedLocations: allOf: - $ref: '#/components/schemas/LocationList' - description: ' A list of locations to allow game session placement in, in the form of Amazon Web Services Region codes such asus-west-2. '
description: A list of fleet locations where a game session queue can place new game sessions. You can use a filter to temporarily turn off placements for specific locations. For queues that have multi-location fleets, you can use a filter configuration allow placement with some, but not all of these locations.
DescribeGameSessionQueuesOutput:
type: object
properties:
GameSessionQueues:
allOf:
- $ref: '#/components/schemas/GameSessionQueueList'
- description: A collection of objects that describe the requested game session queues.
NextToken:
allOf:
- $ref: '#/components/schemas/NonZeroAndMaxString'
- description: A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
PlayerLatencyPolicy:
type: object
properties:
MaximumIndividualPlayerLatencyMilliseconds:
allOf:
- $ref: '#/components/schemas/WholeNumber'
- description: The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
PolicyDurationSeconds:
allOf:
- $ref: '#/components/schemas/WholeNumber'
- description: The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out.
description: 'Sets a latency cap for individual players when placing a game session. With a latency policy in force, a game session cannot be placed in a fleet location where a player reports latency higher than the cap. Latency policies are used only with placement request that provide player latency information. Player latency policies can be stacked to gradually relax latency requirements over time. '
InvalidRequestException: {}
NotFoundException: {}
ArnStringModel:
type: string
pattern: '[a-zA-Z0-9:/-]+'
minLength: 1
maxLength: 256
PlayerLatencyPolicyList:
type: array
items:
$ref: '#/components/schemas/PlayerLatencyPolicy'
UnauthorizedException: {}
GameSessionQueueDestinationList:
type: array
items:
$ref: '#/components/schemas/GameSessionQueueDestination'
GameSessionQueue:
type: object
properties:
Name:
allOf:
- $ref: '#/components/schemas/GameSessionQueueName'
- description: A descriptive label that is associated with game session queue. Queue names must be unique within each Region.
GameSessionQueueArn:
allOf:
- $ref: '#/components/schemas/GameSessionQueueArn'
- description: The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift game session queue resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::gamesessionqueue/<queue name>. In a Amazon GameLift game session queue ARN, the resource ID matches the Name value.
TimeoutInSeconds:
allOf:
- $ref: '#/components/schemas/WholeNumber'
- description: The maximum time, in seconds, that a new game session placement request remains in the queue. When a request exceeds this time, the game session placement changes to a TIMED_OUT status.
PlayerLatencyPolicies:
allOf:
- $ref: '#/components/schemas/PlayerLatencyPolicyList'
- description: 'A set of policies that act as a sliding cap on player latency. FleetIQ works to deliver low latency for most players in a game session. These policies ensure that no individual player can be placed into a game with unreasonably high latency. Use multiple policies to gradually relax latency requirements a step at a time. Multiple policies are applied based on their maximum allowed latency, starting with the lowest value. '
Destinations:
allOf:
- $ref: '#/components/schemas/GameSessionQueueDestinationList'
- description: A list of fleets and/or fleet aliases that can be used to fulfill game session placement requests in the queue. Destinations are identified by either a fleet ARN or a fleet alias ARN, and are listed in order of placement preference.
FilterConfiguration:
allOf:
- $ref: '#/components/schemas/FilterConfiguration'
- description: 'A list of locations where a queue is allowed to place new game sessions. Locations are specified in the form of Amazon Web Services Region codes, such as us-west-2. If this parameter is not set, game sessions can be placed in any queue location. '
PriorityConfiguration:
allOf:
- $ref: '#/components/schemas/PriorityConfiguration'
- description: 'Custom settings to use when prioritizing destinations and locations for game session placements. This configuration replaces the FleetIQ default prioritization process. Priority types that are not explicitly named will be automatically applied at the end of the prioritization process. '
CustomEventData:
allOf:
- $ref: '#/components/schemas/QueueCustomEventData'
- description: ' Information that is added to all events that are related to this game session queue.'
NotificationTarget:
allOf:
- $ref: '#/components/schemas/QueueSnsArnStringModel'
- description: An SNS topic ARN that is set up to receive game session placement notifications. See Setting up notifications for game session placement.
description: Configuration for a game session placement mechanism that processes requests for new game sessions. A queue can be used on its own or as part of a matchmaking solution.
LocationStringModel:
type: string
pattern: ^[A-Za-z0-9\-]+
minLength: 1
maxLength: 64
PositiveInteger:
type: integer
minimum: 1
PriorityTypeList:
type: array
items:
$ref: '#/components/schemas/PriorityType'
minItems: 1
maxItems: 4
PriorityType:
type: string
enum:
- LATENCY
- COST
- DESTINATION
- LOCATION
GameSessionQueueNameOrArnList:
type: array
items:
$ref: '#/components/schemas/GameSessionQueueNameOrArn'
GameSessionQueueName:
type: string
pattern: '[a-zA-Z0-9-]+'
minLength: 1
maxLength: 128
GameSessionQueueDestination:
type: object
properties:
DestinationArn:
allOf:
- $ref: '#/components/schemas/ArnStringModel'
- description: The Amazon Resource Name (ARN) that is assigned to fleet or fleet alias. ARNs, which include a fleet ID or alias ID and a Region name, provide a unique identifier across all Regions.
description: 'A fleet or alias designated in a game session queue. Queues fulfill requests for new game sessions by placing a new game session on any of the queue''s destinations. '
parameters:
X-Amz-Date:
name: X-Amz-Date
in: header
schema:
type: string
required: false
X-Amz-SignedHeaders:
name: X-Amz-SignedHeaders
in: header
schema:
type: string
required: false
X-Amz-Credential:
name: X-Amz-Credential
in: header
schema:
type: string
required: false
X-Amz-Content-Sha256:
name: X-Amz-Content-Sha256
in: header
schema:
type: string
required: false
X-Amz-Algorithm:
name: X-Amz-Algorithm
in: header
schema:
type: string
required: false
X-Amz-Signature:
name: X-Amz-Signature
in: header
schema:
type: string
required: false
X-Amz-Security-Token:
name: X-Amz-Security-Token
in: header
schema:
type: string
required: false
securitySchemes:
hmac:
type: apiKey
name: Authorization
in: header
description: Amazon Signature authorization v4
x-amazon-apigateway-authtype: awsSigv4
externalDocs:
description: Amazon Web Services documentation
url: https://docs.aws.amazon.com/gamelift/
x-hasEquivalentPaths: true