update_matchmaking_configuration
async
¶
update_matchmaking_configuration(
*,
config_overrides: Optional[AsyncGameLiftClientConfig] = 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/async_game_lift.py
9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 | |