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

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.CreateMatchmakingConfiguration' paths: /#X-Amz-Target=GameLift.CreateMatchmakingConfiguration: 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: CreateMatchmakingConfiguration description: '

Defines a new matchmaking configuration for use with FlexMatch. Whether your are using FlexMatch with Amazon GameLift hosting or as a standalone matchmaking service, the matchmaking configuration sets out rules for matching players and forming teams. If you''re also using Amazon GameLift hosting, it defines how to start game sessions for each match. Your matchmaking system can use multiple configurations to handle different game scenarios. All matchmaking requests identify the matchmaking configuration to use and provide player attributes consistent with that configuration.

To create a matchmaking configuration, you must provide the following: configuration name and FlexMatch mode (with or without Amazon GameLift hosting); a rule set that specifies how to evaluate players and find acceptable matches; whether player acceptance is required; and the maximum time allowed for a matchmaking attempt. When using FlexMatch with Amazon GameLift hosting, you also need to identify the game session queue to use when starting a game session for the match.

In addition, you must set up an Amazon Simple Notification Service topic to receive matchmaking notifications. Provide the topic ARN in the matchmaking configuration.

Learn more

Design a FlexMatch matchmaker

Set up FlexMatch event notification

' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateMatchmakingConfigurationOutput' examples: CreateMatchmakingConfiguration200Example: summary: Default CreateMatchmakingConfiguration 200 response x-microcks-default: true value: Configuration: example-value '480': description: InvalidRequestException content: application/json: schema: $ref: '#/components/schemas/InvalidRequestException' examples: CreateMatchmakingConfiguration480Example: summary: Default CreateMatchmakingConfiguration 480 response x-microcks-default: true value: example-value '481': description: LimitExceededException content: application/json: schema: $ref: '#/components/schemas/LimitExceededException' examples: CreateMatchmakingConfiguration481Example: summary: Default CreateMatchmakingConfiguration 481 response x-microcks-default: true value: example-value '482': description: NotFoundException content: application/json: schema: $ref: '#/components/schemas/NotFoundException' examples: CreateMatchmakingConfiguration482Example: summary: Default CreateMatchmakingConfiguration 482 response x-microcks-default: true value: example-value '483': description: InternalServiceException content: application/json: schema: $ref: '#/components/schemas/InternalServiceException' examples: CreateMatchmakingConfiguration483Example: summary: Default CreateMatchmakingConfiguration 483 response x-microcks-default: true value: example-value '484': description: UnsupportedRegionException content: application/json: schema: $ref: '#/components/schemas/UnsupportedRegionException' examples: CreateMatchmakingConfiguration484Example: summary: Default CreateMatchmakingConfiguration 484 response x-microcks-default: true value: example-value '485': description: TaggingFailedException content: application/json: schema: $ref: '#/components/schemas/TaggingFailedException' examples: CreateMatchmakingConfiguration485Example: summary: Default CreateMatchmakingConfiguration 485 response x-microcks-default: true value: example-value requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateMatchmakingConfigurationInput' parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - GameLift.CreateMatchmakingConfiguration summary: Amazon GameLift Create Matchmaking Configuration x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - '#X Amz Target=GameLift.CreateMatchmakingConfiguration' components: schemas: SnsArnStringModel: type: string pattern: '[a-zA-Z0-9:_/-]*(.fifo)?' minLength: 0 maxLength: 300 NonZeroAndMaxString: type: string minLength: 1 maxLength: 1024 InternalServiceException: {} WholeNumber: type: integer minimum: 0 BackfillMode: type: string enum: - AUTOMATIC - MANUAL MatchmakingConfigurationArn: type: string pattern: ^arn:.*:matchmakingconfiguration\/[a-zA-Z0-9-\.]* description: Data type used for Matchmaking Configuration ARN. QueueArnsList: type: array items: $ref: '#/components/schemas/ArnStringModel' MatchmakingRuleSetName: type: string pattern: '[a-zA-Z0-9-\.]*|^arn:.*:matchmakingruleset\/[a-zA-Z0-9-\.]*' minLength: 1 maxLength: 256 MatchmakingRequestTimeoutInteger: type: integer minimum: 1 maximum: 43200 GameProperty: type: object required: - Key - Value properties: Key: allOf: - $ref: '#/components/schemas/GamePropertyKey' - description: The game property identifier. Value: allOf: - $ref: '#/components/schemas/GamePropertyValue' - description: The game property value. description: Set of key-value pairs that contain information about a game session. When included in a game session request, these properties communicate details to be used when setting up the new game session. For example, a game property might specify a game mode, level, or map. Game properties are passed to the game server process when initiating a new game session. For more information, see the Amazon GameLift Developer Guide. MatchmakingAcceptanceTimeoutInteger: type: integer minimum: 1 maximum: 600 GamePropertyKey: type: string maxLength: 32 GamePropertyList: type: array items: $ref: '#/components/schemas/GameProperty' maxItems: 16 FlexMatchMode: type: string enum: - STANDALONE - WITH_QUEUE GameSessionData: type: string minLength: 1 maxLength: 4096 MatchmakingRuleSetArn: type: string pattern: ^arn:.*:matchmakingruleset\/[a-zA-Z0-9-\.]* description: Data type used for Matchmaking RuleSet ARN. InvalidRequestException: {} NotFoundException: {} BooleanModel: type: boolean ArnStringModel: type: string pattern: '[a-zA-Z0-9:/-]+' minLength: 1 maxLength: 256 CreateMatchmakingConfigurationOutput: type: object properties: Configuration: allOf: - $ref: '#/components/schemas/MatchmakingConfiguration' - description: Object that describes the newly created matchmaking configuration. TaggingFailedException: {} LimitExceededException: {} Timestamp: type: string format: date-time TagKey: type: string minLength: 1 maxLength: 128 CreateMatchmakingConfigurationInput: type: object required: - Name - RequestTimeoutSeconds - AcceptanceRequired - RuleSetName title: CreateMatchmakingConfigurationInput properties: Name: allOf: - $ref: '#/components/schemas/MatchmakingIdStringModel' - description: A unique identifier for the matchmaking configuration. This name is used to identify the configuration associated with a matchmaking request or ticket. Description: allOf: - $ref: '#/components/schemas/NonZeroAndMaxString' - description: 'A human-readable description of the matchmaking configuration. ' GameSessionQueueArns: allOf: - $ref: '#/components/schemas/QueueArnsList' - 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>. Queues can be located in any Region. Queues are used to start new Amazon GameLift-hosted game sessions for matches that are created with this matchmaking configuration. If FlexMatchMode is set to STANDALONE, do not set this parameter. ' RequestTimeoutSeconds: allOf: - $ref: '#/components/schemas/MatchmakingRequestTimeoutInteger' - description: The maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out. Requests that fail due to timing out can be resubmitted as needed. AcceptanceTimeoutSeconds: allOf: - $ref: '#/components/schemas/MatchmakingAcceptanceTimeoutInteger' - description: 'The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required. ' AcceptanceRequired: allOf: - $ref: '#/components/schemas/BooleanModel' - description: 'A flag that determines whether a match that was created with this configuration must be accepted by the matched players. To require acceptance, set to TRUE. With this option enabled, matchmaking tickets use the status REQUIRES_ACCEPTANCE to indicate when a completed potential match is waiting for player acceptance. ' RuleSetName: allOf: - $ref: '#/components/schemas/MatchmakingRuleSetName' - description: A unique identifier for the matchmaking rule set to use with this configuration. You can use either the rule set name or ARN value. A matchmaking configuration can only use rule sets that are defined in the same Region. NotificationTarget: allOf: - $ref: '#/components/schemas/SnsArnStringModel' - description: An SNS topic ARN that is set up to receive matchmaking notifications. See Setting up notifications for matchmaking for more information. AdditionalPlayerCount: allOf: - $ref: '#/components/schemas/WholeNumber' - description: The number of player slots in a match to keep open for future players. For example, if the configuration's rule set specifies a match for a single 12-person team, and the additional player count is set to 2, only 10 players are selected for the match. This parameter is not used if FlexMatchMode is set to STANDALONE. CustomEventData: allOf: - $ref: '#/components/schemas/CustomEventData' - description: 'Information to be added to all events related to this matchmaking configuration. ' GameProperties: allOf: - $ref: '#/components/schemas/GamePropertyList' - description: A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process with a request to start a new game session (see Start a Game Session). This information is added to the new GameSession object that is created for a successful match. This parameter is not used if FlexMatchMode is set to STANDALONE. GameSessionData: allOf: - $ref: '#/components/schemas/GameSessionData' - description: A set of custom game session properties, formatted as a single string value. This data is passed to a game server process with a request to start a new game session (see Start a Game Session). This information is added to the new GameSession object that is created for a successful match. This parameter is not used if FlexMatchMode is set to STANDALONE. BackfillMode: allOf: - $ref: '#/components/schemas/BackfillMode' - description: The method used to backfill game sessions that are created with this matchmaking configuration. Specify MANUAL when your game manages backfill requests manually or does not use the match backfill feature. Specify AUTOMATIC to have Amazon GameLift create a backfill request whenever a game session has one or more open slots. Learn more about manual and automatic backfill in Backfill Existing Games with FlexMatch. Automatic backfill is not available when FlexMatchMode is set to STANDALONE. FlexMatchMode: allOf: - $ref: '#/components/schemas/FlexMatchMode' - description:

Indicates whether this matchmaking configuration is being used with Amazon GameLift hosting or as a standalone matchmaking solution.

Tags: allOf: - $ref: '#/components/schemas/TagList' - description: A list of labels to assign to the new matchmaking configuration resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. CustomEventData: type: string minLength: 0 maxLength: 256 TagValue: type: string minLength: 0 maxLength: 256 MatchmakingIdStringModel: type: string pattern: '[a-zA-Z0-9-\.]*' maxLength: 128 UnsupportedRegionException: {} MatchmakingConfiguration: type: object properties: Name: allOf: - $ref: '#/components/schemas/MatchmakingIdStringModel' - description: A unique identifier for the matchmaking configuration. This name is used to identify the configuration associated with a matchmaking request or ticket. ConfigurationArn: allOf: - $ref: '#/components/schemas/MatchmakingConfigurationArn' - description: The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift matchmaking configuration resource and uniquely identifies it. ARNs are unique across all Regions. Format is arn:aws:gamelift:<region>::matchmakingconfiguration/<matchmaking configuration name>. In a Amazon GameLift configuration ARN, the resource ID matches the Name value. Description: allOf: - $ref: '#/components/schemas/NonZeroAndMaxString' - description: A descriptive label that is associated with matchmaking configuration. GameSessionQueueArns: allOf: - $ref: '#/components/schemas/QueueArnsList' - 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>. Queues can be located in any Region. Queues are used to start new Amazon GameLift-hosted game sessions for matches that are created with this matchmaking configuration. This property is not set when FlexMatchMode is set to STANDALONE. RequestTimeoutSeconds: allOf: - $ref: '#/components/schemas/MatchmakingRequestTimeoutInteger' - description: The maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out. Requests that fail due to timing out can be resubmitted as needed. AcceptanceTimeoutSeconds: allOf: - $ref: '#/components/schemas/MatchmakingAcceptanceTimeoutInteger' - description: The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required. If any player rejects the match or fails to accept before the timeout, the ticket continues to look for an acceptable match. AcceptanceRequired: allOf: - $ref: '#/components/schemas/BooleanModel' - description: A flag that indicates whether a match that was created with this configuration must be accepted by the matched players. To require acceptance, set to TRUE. When this option is enabled, matchmaking tickets use the status REQUIRES_ACCEPTANCE to indicate when a completed potential match is waiting for player acceptance. RuleSetName: allOf: - $ref: '#/components/schemas/MatchmakingIdStringModel' - description: A unique identifier for the matchmaking rule set to use with this configuration. A matchmaking configuration can only use rule sets that are defined in the same Region. RuleSetArn: allOf: - $ref: '#/components/schemas/MatchmakingRuleSetArn' - description: The Amazon Resource Name (ARN) associated with the GameLift matchmaking rule set resource that this configuration uses. NotificationTarget: allOf: - $ref: '#/components/schemas/SnsArnStringModel' - description: An SNS topic ARN that is set up to receive matchmaking notifications. AdditionalPlayerCount: allOf: - $ref: '#/components/schemas/WholeNumber' - description: The number of player slots in a match to keep open for future players. For example, if the configuration's rule set specifies a match for a single 12-person team, and the additional player count is set to 2, only 10 players are selected for the match. This parameter is not used when FlexMatchMode is set to STANDALONE. CustomEventData: allOf: - $ref: '#/components/schemas/CustomEventData' - description: 'Information to attach to all events related to the matchmaking configuration. ' CreationTime: allOf: - $ref: '#/components/schemas/Timestamp' - description: A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057"). GameProperties: allOf: - $ref: '#/components/schemas/GamePropertyList' - description: A set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process with a request to start a new game session (see Start a Game Session). This information is added to the new GameSession object that is created for a successful match. This parameter is not used when FlexMatchMode is set to STANDALONE. GameSessionData: allOf: - $ref: '#/components/schemas/GameSessionData' - description: A set of custom game session properties, formatted as a single string value. This data is passed to a game server process with a request to start a new game session (see Start a Game Session). This information is added to the new GameSession object that is created for a successful match. This parameter is not used when FlexMatchMode is set to STANDALONE. BackfillMode: allOf: - $ref: '#/components/schemas/BackfillMode' - description: The method used to backfill game sessions created with this matchmaking configuration. MANUAL indicates that the game makes backfill requests or does not use the match backfill feature. AUTOMATIC indicates that GameLift creates backfill requests whenever a game session has one or more open slots. Learn more about manual and automatic backfill in Backfill existing games with FlexMatch. Automatic backfill is not available when FlexMatchMode is set to STANDALONE. FlexMatchMode: allOf: - $ref: '#/components/schemas/FlexMatchMode' - description:

Indicates whether this matchmaking configuration is being used with Amazon GameLift hosting or as a standalone matchmaking solution.

description: Guidelines for use with FlexMatch to match players into games. All matchmaking requests must specify a matchmaking configuration. GamePropertyValue: type: string maxLength: 96 Tag: type: object required: - Key - Value properties: Key: allOf: - $ref: '#/components/schemas/TagKey' - description: 'The key for a developer-defined key value pair for tagging an Amazon Web Services resource. ' Value: allOf: - $ref: '#/components/schemas/TagValue' - description: 'The value for a developer-defined key value pair for tagging an Amazon Web Services resource. ' description:

A label that you can assign to a Amazon GameLift resource.

Learn more

Tagging Amazon Web Services Resources in the Amazon Web Services General Reference

Amazon Web Services Tagging Strategies

Related actions

All APIs by task

TagList: type: array items: $ref: '#/components/schemas/Tag' minItems: 0 maxItems: 200 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