Module Smaws_Client_GameLift.CreateMatchmakingRuleSet

This API works with the following fleet types: EC2, Anywhere, Container

Creates a new rule set for FlexMatch matchmaking. A rule set describes the type of match to create, such as the number and size of teams. It also sets the parameters for acceptable player matches, such as minimum skill level or character type.

To create a matchmaking rule set, provide unique rule set name and the rule set body in JSON format. Rule sets must be defined in the same Region as the matchmaking configuration they are used with.

Since matchmaking rule sets cannot be edited, it is a good idea to check the rule set syntax using ValidateMatchmakingRuleSet before creating a new rule set.

Learn more

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `LimitExceededException of Types.limit_exceeded_exception | `TaggingFailedException of Types.tagging_failed_exception | `UnsupportedRegionException of Types.unsupported_region_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_matchmaking_rule_set_input -> (Types.create_matchmaking_rule_set_output, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `LimitExceededException of Types.limit_exceeded_exception | `TaggingFailedException of Types.tagging_failed_exception | `UnsupportedRegionException of Types.unsupported_region_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_matchmaking_rule_set_input -> (Types.create_matchmaking_rule_set_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServiceException of Types.internal_service_exception | `InvalidRequestException of Types.invalid_request_exception | `LimitExceededException of Types.limit_exceeded_exception | `TaggingFailedException of Types.tagging_failed_exception | `UnsupportedRegionException of Types.unsupported_region_exception ] * Smaws_Lib.Response.metadata) Stdlib.result