Copyright | (c) 2013-2018 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 |
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:
CreateMatchmakingConfiguration
DescribeMatchmakingConfigurations
UpdateMatchmakingConfiguration
DeleteMatchmakingConfiguration
CreateMatchmakingRuleSet
DescribeMatchmakingRuleSets
ValidateMatchmakingRuleSet
- 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 #
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.
Request Lenses
vmrsRuleSetBody :: Lens' ValidateMatchmakingRuleSet Text Source #
Collection of matchmaking rules to validate, formatted as a JSON string.
Destructuring the Response
validateMatchmakingRuleSetResponse Source #
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.
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.