update_matchmaking_configuration
¶
update_matchmaking_configuration(
*,
config_overrides: Optional[GameLiftClientConfig] = None,
name: Optional[MatchmakingConfigurationName] = None,
description: Optional[NonZeroAndMaxString] = None,
game_session_queue_arns: Optional[QueueArnsList] = None,
request_timeout_seconds: Optional[MatchmakingRequestTimeoutInteger] = None,
acceptance_timeout_seconds: Optional[MatchmakingAcceptanceTimeoutInteger] = None,
acceptance_required: Optional[BooleanModel] = None,
rule_set_name: Optional[MatchmakingRuleSetName] = None,
notification_target: Optional[SnsArnStringModel] = None,
additional_player_count: Optional[WholeNumber] = None,
custom_event_data: Optional[CustomEventData] = None,
game_properties: Optional[GamePropertyList] = None,
game_session_data: Optional[GameSessionData] = None,
backfill_mode: Optional[BackfillMode] = None,
flex_match_mode: Optional[FlexMatchMode] = None,
) -> UpdateMatchmakingConfigurationOutput
This API works with the following fleet types: EC2, Anywhere, Container
Updates settings for a FlexMatch matchmaking configuration. These changes affect all matches and game sessions that are created after the update. To update settings, specify the configuration name to be updated and provide the new settings.
Learn more
Parameters:
-
name(Optional[MatchmakingConfigurationName], default:None) –A unique identifier for the matchmaking configuration to update. You can use either the configuration name or ARN value.
-
description(Optional[NonZeroAndMaxString], default:None) –A description for the matchmaking configuration.
-
game_session_queue_arns(Optional[QueueArnsList], default:None) –The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers game session queue resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:. Queues can be located in any Region. Queues are used to start new Amazon GameLift Servers-hosted game sessions for matches that are created with this matchmaking configuration. A matchmaking configuration supports only one queue; if you specify more than one ARN, the request fails with an::gamesessionqueue/ InvalidRequestException. IfFlexMatchModeis set toSTANDALONE, do not set this parameter. -
request_timeout_seconds(Optional[MatchmakingRequestTimeoutInteger], default:None) –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.
-
acceptance_timeout_seconds(Optional[MatchmakingAcceptanceTimeoutInteger], default:None) –The length of time (in seconds) to wait for players to accept a proposed match, if acceptance is required.
-
acceptance_required(Optional[BooleanModel], default:None) –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. With this option enabled, matchmaking tickets use the status
REQUIRES_ACCEPTANCEto indicate when a completed potential match is waiting for player acceptance. -
rule_set_name(Optional[MatchmakingRuleSetName], default:None) –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.
-
notification_target(Optional[SnsArnStringModel], default:None) –An SNS topic ARN that is set up to receive matchmaking notifications. See Setting up notifications for matchmaking for more information.
-
additional_player_count(Optional[WholeNumber], default:None) –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
FlexMatchModeis set toSTANDALONE. -
custom_event_data(Optional[CustomEventData], default:None) –Information to add to all events related to the matchmaking configuration.
-
game_properties(Optional[GamePropertyList], default:None) –A set of key-value pairs that can store custom data in a game session. For example:
{"Key": "difficulty", "Value": "novice"}. This information is added to the newGameSessionobject that is created for a successful match. This parameter is not used ifFlexMatchModeis set toSTANDALONE.-
Avoid using periods (".") in property keys if you plan to search for game sessions by properties. Property keys containing periods cannot be searched and will be filtered out from search results due to search index limitations.
-
If you use SearchGameSessions API, there is a limit of 500 game property keys across all game sessions and all fleets per region. If the limit is exceeded, there will potentially be game session entries missing from SearchGameSessions API results.
-
-
game_session_data(Optional[GameSessionData], default:None) –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. For more information, see Start a game session. This information is added to the game session that is created for a successful match. This parameter is not used if
FlexMatchModeis set toSTANDALONE. -
backfill_mode(Optional[BackfillMode], default:None) –The method that is used to backfill game sessions 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 GameLift create a match 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
FlexMatchModeis set toSTANDALONE. -
flex_match_mode(Optional[FlexMatchMode], default:None) –Indicates whether this matchmaking configuration is being used with Amazon GameLift Servers hosting or as a standalone matchmaking solution.
-
STANDALONE - FlexMatch forms matches and returns match information, including players and team assignments, in a MatchmakingSucceeded event.
-
WITH_QUEUE - FlexMatch forms matches and uses the specified Amazon GameLift Servers queue to start a game session for the match.
-
Raises:
-
InternalServiceException–The service encountered an unrecoverable internal failure while processing the request. Clients can retry such requests immediately or after a waiting period.
-
InvalidRequestException–One or more parameter values in the request are invalid. Correct the invalid parameter values before retrying.
-
NotFoundException–The requested resource was not found. The resource was either not created yet or deleted.
-
UnsupportedRegionException–The requested operation is not supported in the Region specified.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_gamelift/_services/game_lift.py
11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 | |