| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.GameLift.ValidateMatchmakingRuleSet
Description
Validates the syntax of a matchmaking rule or rule set. This operation checks that the rule set uses syntactically correct JSON and that it conforms to allowed property expressions. To validate syntax, provide a rule set string.
Operations related to match configurations and rule sets include:
CreateMatchmakingConfigurationDescribeMatchmakingConfigurationsUpdateMatchmakingConfigurationDeleteMatchmakingConfigurationCreateMatchmakingRuleSetDescribeMatchmakingRuleSetsValidateMatchmakingRuleSet
- validateMatchmakingRuleSet :: Text -> ValidateMatchmakingRuleSet
- data ValidateMatchmakingRuleSet
- vmrsRuleSetBody :: Lens' ValidateMatchmakingRuleSet Text
- validateMatchmakingRuleSetResponse :: Int -> ValidateMatchmakingRuleSetResponse
- data ValidateMatchmakingRuleSetResponse
- vmrsrsValid :: Lens' ValidateMatchmakingRuleSetResponse (Maybe Bool)
- vmrsrsResponseStatus :: Lens' ValidateMatchmakingRuleSetResponse Int
Creating a Request
validateMatchmakingRuleSet Source #
Arguments
| :: Text | |
| -> ValidateMatchmakingRuleSet |
Creates a value of ValidateMatchmakingRuleSet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vmrsRuleSetBody- Collection of matchmaking rules to validate, formatted as a JSON string.
data ValidateMatchmakingRuleSet Source #
Represents the input for a request action.
See: validateMatchmakingRuleSet smart constructor.
Instances
Request Lenses
vmrsRuleSetBody :: Lens' ValidateMatchmakingRuleSet Text Source #
Collection of matchmaking rules to validate, formatted as a JSON string.
Destructuring the Response
validateMatchmakingRuleSetResponse Source #
Arguments
| :: Int | |
| -> ValidateMatchmakingRuleSetResponse |
Creates a value of ValidateMatchmakingRuleSetResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vmrsrsValid- Response indicating whether or not the rule set is valid.vmrsrsResponseStatus- -- | The response status code.
data ValidateMatchmakingRuleSetResponse Source #
Represents the returned data in response to a request action.
See: validateMatchmakingRuleSetResponse smart constructor.
Instances
Response Lenses
vmrsrsValid :: Lens' ValidateMatchmakingRuleSetResponse (Maybe Bool) Source #
Response indicating whether or not the rule set is valid.
vmrsrsResponseStatus :: Lens' ValidateMatchmakingRuleSetResponse Int Source #
- - | The response status code.