Copyright | (c) 2013-2021 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 |
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
Related actions
CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task
Synopsis
- data ValidateMatchmakingRuleSet = ValidateMatchmakingRuleSet' {
- ruleSetBody :: Text
- newValidateMatchmakingRuleSet :: Text -> ValidateMatchmakingRuleSet
- validateMatchmakingRuleSet_ruleSetBody :: Lens' ValidateMatchmakingRuleSet Text
- data ValidateMatchmakingRuleSetResponse = ValidateMatchmakingRuleSetResponse' {
- valid :: Maybe Bool
- httpStatus :: Int
- newValidateMatchmakingRuleSetResponse :: Int -> ValidateMatchmakingRuleSetResponse
- validateMatchmakingRuleSetResponse_valid :: Lens' ValidateMatchmakingRuleSetResponse (Maybe Bool)
- validateMatchmakingRuleSetResponse_httpStatus :: Lens' ValidateMatchmakingRuleSetResponse Int
Creating a Request
data ValidateMatchmakingRuleSet Source #
Represents the input for a request operation.
See: newValidateMatchmakingRuleSet
smart constructor.
ValidateMatchmakingRuleSet' | |
|
Instances
newValidateMatchmakingRuleSet Source #
Create a value of ValidateMatchmakingRuleSet
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ruleSetBody:ValidateMatchmakingRuleSet'
, validateMatchmakingRuleSet_ruleSetBody
- A collection of matchmaking rules to validate, formatted as a JSON
string.
Request Lenses
validateMatchmakingRuleSet_ruleSetBody :: Lens' ValidateMatchmakingRuleSet Text Source #
A collection of matchmaking rules to validate, formatted as a JSON string.
Destructuring the Response
data ValidateMatchmakingRuleSetResponse Source #
Represents the returned data in response to a request operation.
See: newValidateMatchmakingRuleSetResponse
smart constructor.
ValidateMatchmakingRuleSetResponse' | |
|
Instances
Eq ValidateMatchmakingRuleSetResponse Source # | |
Read ValidateMatchmakingRuleSetResponse Source # | |
Show ValidateMatchmakingRuleSetResponse Source # | |
Generic ValidateMatchmakingRuleSetResponse Source # | |
NFData ValidateMatchmakingRuleSetResponse Source # | |
Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet rnf :: ValidateMatchmakingRuleSetResponse -> () # | |
type Rep ValidateMatchmakingRuleSetResponse Source # | |
Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet type Rep ValidateMatchmakingRuleSetResponse = D1 ('MetaData "ValidateMatchmakingRuleSetResponse" "Amazonka.GameLift.ValidateMatchmakingRuleSet" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "ValidateMatchmakingRuleSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "valid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newValidateMatchmakingRuleSetResponse Source #
Create a value of ValidateMatchmakingRuleSetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:valid:ValidateMatchmakingRuleSetResponse'
, validateMatchmakingRuleSetResponse_valid
- A response indicating whether the rule set is valid.
$sel:httpStatus:ValidateMatchmakingRuleSetResponse'
, validateMatchmakingRuleSetResponse_httpStatus
- The response's http status code.
Response Lenses
validateMatchmakingRuleSetResponse_valid :: Lens' ValidateMatchmakingRuleSetResponse (Maybe Bool) Source #
A response indicating whether the rule set is valid.
validateMatchmakingRuleSetResponse_httpStatus :: Lens' ValidateMatchmakingRuleSetResponse Int Source #
The response's http status code.