

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Amazon GameLift Servers FlexMatch API 參考 (AWS SDK)
<a name="reference-awssdk-flex"></a>

本主題提供 的任務型 API Amazon GameLift Servers 操作清單FlexMatch。Amazon GameLift Servers FlexMatch 服務 API 會封裝在 `aws.gamelift` 命名空間的 AWS SDK 中。[下載 AWS SDK ](https://aws.amazon.com/tools/#SDKs)或[檢視 Amazon GameLift Servers API 參考文件](https://docs.aws.amazon.com/gamelift/latest/apireference/)。

Amazon GameLift Servers FlexMatch 提供配對服務，以搭配Amazon GameLift Servers託管解決方案託管的遊戲 （包括自訂遊戲伺服器或 的受管託管Amazon GameLift Servers Realtime，以及搭配 在 Amazon EC2 上託管Amazon GameLift Servers FleetIQ)，以及其他託管系統，例如peer-to-peer、內部部署或雲端運算基本概念。如需其他Amazon GameLift Servers託管選項的詳細資訊，請參閱 [Amazon GameLift Servers開發人員指南](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-intro.html)。

**Topics**
+ [設定配對規則和程序](#reference-awssdk-flex-configure)
+ [為玩家或玩家請求配對](#reference-awssdk-flex-place)
+ [可用的程式設計語言](#reference-awssdk-langlist)

## 設定配對規則和程序
<a name="reference-awssdk-flex-configure"></a>

呼叫這些操作來建立FlexMatch配對建構器、設定遊戲的配對程序，以及定義一組自訂規則來建立配對和團隊。

**配對組態**
+ [CreateMatchmakingConfiguration](https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateMatchmakingConfiguration.html) – 建立配對組態，其中包含評估玩家群組和建立玩家團隊的指示。使用 Amazon GameLift Servers 託管時，也請指定如何為配對建立新的遊戲工作階段。
+ [DescribeMatchmakingConfigurations](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeMatchmakingConfigurations.html) – 擷取定義 Amazon GameLift Servers區域的配對組態。
+ [UpdateMatchmakingConfiguration](https://docs.aws.amazon.com/gamelift/latest/apireference/API_UpdateMatchmakingConfiguration.html) – 變更配對組態的設定。 佇列。
+ [DeleteMatchmakingConfiguration](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteMatchmakingConfiguration.html) – 從區域移除配對組態。

**配對規則集**
+ [CreateMatchmakingRuleSet](https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateMatchmakingRuleSet.html) – 建立一組規則，以便在搜尋玩家配對時使用。
+ [DescribeMatchmakingRuleSets](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeMatchmakingRuleSets.html) – 擷取 Amazon GameLift Servers區域中定義的配對規則集。
+ [ValidateMatchmakingRuleSet](https://docs.aws.amazon.com/gamelift/latest/apireference/API_ValidateMatchmakingRuleSet.html) – 驗證一組配對規則的語法。
+ [DeleteMatchmakingRuleSet](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DeleteMatchmakingRuleSet.html) – 從區域移除配對規則集。

## 為玩家或玩家請求配對
<a name="reference-awssdk-flex-place"></a>

您可以從遊戲用戶端服務呼叫以下操作，進而管理玩家配對請求。
+ [StartMatchmaking](https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartMatchmaking.html) – 為想要在相同配對中玩遊戲的玩家或群組請求配對。
+ [DescribeMatchmaking](https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeMatchmaking.html) – 取得配對請求的詳細資訊，包括狀態。
+ [AcceptMatch](https://docs.aws.amazon.com/gamelift/latest/apireference/API_AcceptMatch.html) – 對於需要玩家接受的配對，請在玩家接受提議的配對Amazon GameLift Servers時通知 。
+ [StopMatchmaking](https://docs.aws.amazon.com/gamelift/latest/apireference/API_StopMatchmaking.html) – 取消配對請求。
+ [StartMatchBackfill](https://docs.aws.amazon.com/gamelift/latest/apireference/API_StartMatchBackfill.html) – 請求額外的玩家配對以填入現有遊戲工作階段中的空位。

## 可用的程式設計語言
<a name="reference-awssdk-langlist"></a>

支援 的 AWS SDK Amazon GameLift Servers 提供下列語言。如需開發環境支援的相關資訊，請參閱每種語言的文件。
+ C\$1\$1 [(SDK 文件](https://aws.amazon.com/sdk-for-cpp/)) ([https://sdk.amazonaws.com/cpp/api/LATEST/namespace_aws_1_1_game_lift.html](https://sdk.amazonaws.com/cpp/api/LATEST/namespace_aws_1_1_game_lift.html))
+ Java [(SDK 文件](https://aws.amazon.com/sdk-for-java/)) ([https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/gamelift/package-summary.html](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/gamelift/package-summary.html))
+ .NET ([SDK 文件） ](https://aws.amazon.com/sdk-for-net/)([https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/GameLift/NGameLift.html](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/GameLift/NGameLift.html))
+ Go [(SDK 文件](https://aws.amazon.com/sdk-for-go/)) ([https://docs.aws.amazon.com/sdk-for-go/api/service/gamelift/](https://docs.aws.amazon.com/sdk-for-go/api/service/gamelift/))
+ Python [(SDK 文件](https://aws.amazon.com/sdk-for-python/)) ([https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/gamelift.html](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/gamelift.html))
+ Ruby [(SDK 文件](https://aws.amazon.com/sdk-for-ruby/)) ([https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift.html](https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GameLift.html))
+ PHP [(SDK 文件](https://aws.amazon.com/sdk-for-php/)) ([https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.GameLift.GameLiftClient.html](https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.GameLift.GameLiftClient.html))
+ JavaScript/Node.js ([SDK 文件） ](https://aws.amazon.com/sdk-for-node-js/)([https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-gamelift/index.html](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-gamelift/index.html))