Smaws_Client_GameLift.ValidateMatchmakingRuleSetThis API works with the following fleet types: EC2, Anywhere, Container
Validates the syntax of a matchmaking rule or rule set. This operation checks that the rule set is using syntactically correct JSON and that it conforms to allowed property expressions. To validate syntax, provide a rule set JSON string.
Learn more
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidRequestException of Types.invalid_request_exception
| `UnsupportedRegionException of Types.unsupported_region_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.validate_matchmaking_rule_set_input ->
(Types.validate_matchmaking_rule_set_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceException of Types.internal_service_exception
| `InvalidRequestException of Types.invalid_request_exception
| `UnsupportedRegionException of Types.unsupported_region_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.validate_matchmaking_rule_set_input ->
(Types.validate_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
| `UnsupportedRegionException of Types.unsupported_region_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result