amazonka-gamelift-1.6.0: Amazon GameLift SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.GameLift.ValidateMatchmakingRuleSet

Contents

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:

  • CreateMatchmakingConfiguration
  • DescribeMatchmakingConfigurations
  • UpdateMatchmakingConfiguration
  • DeleteMatchmakingConfiguration
  • CreateMatchmakingRuleSet
  • DescribeMatchmakingRuleSets
  • ValidateMatchmakingRuleSet

Synopsis

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.

Instances

Eq ValidateMatchmakingRuleSet Source # 
Data ValidateMatchmakingRuleSet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ValidateMatchmakingRuleSet -> c ValidateMatchmakingRuleSet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ValidateMatchmakingRuleSet #

toConstr :: ValidateMatchmakingRuleSet -> Constr #

dataTypeOf :: ValidateMatchmakingRuleSet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ValidateMatchmakingRuleSet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ValidateMatchmakingRuleSet) #

gmapT :: (forall b. Data b => b -> b) -> ValidateMatchmakingRuleSet -> ValidateMatchmakingRuleSet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ValidateMatchmakingRuleSet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ValidateMatchmakingRuleSet -> r #

gmapQ :: (forall d. Data d => d -> u) -> ValidateMatchmakingRuleSet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ValidateMatchmakingRuleSet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ValidateMatchmakingRuleSet -> m ValidateMatchmakingRuleSet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ValidateMatchmakingRuleSet -> m ValidateMatchmakingRuleSet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ValidateMatchmakingRuleSet -> m ValidateMatchmakingRuleSet #

Read ValidateMatchmakingRuleSet Source # 
Show ValidateMatchmakingRuleSet Source # 
Generic ValidateMatchmakingRuleSet Source # 
Hashable ValidateMatchmakingRuleSet Source # 
ToJSON ValidateMatchmakingRuleSet Source # 
NFData ValidateMatchmakingRuleSet Source # 
AWSRequest ValidateMatchmakingRuleSet Source # 
ToHeaders ValidateMatchmakingRuleSet Source # 
ToPath ValidateMatchmakingRuleSet Source # 
ToQuery ValidateMatchmakingRuleSet Source # 
type Rep ValidateMatchmakingRuleSet Source # 
type Rep ValidateMatchmakingRuleSet = D1 * (MetaData "ValidateMatchmakingRuleSet" "Network.AWS.GameLift.ValidateMatchmakingRuleSet" "amazonka-gamelift-1.6.0-DeAosbEJJf8D8cv8ebS5Uv" True) (C1 * (MetaCons "ValidateMatchmakingRuleSet'" PrefixI True) (S1 * (MetaSel (Just Symbol "_vmrsRuleSetBody") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs ValidateMatchmakingRuleSet Source # 

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:

data ValidateMatchmakingRuleSetResponse Source #

Represents the returned data in response to a request action.

See: validateMatchmakingRuleSetResponse smart constructor.

Instances

Eq ValidateMatchmakingRuleSetResponse Source # 
Data ValidateMatchmakingRuleSetResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ValidateMatchmakingRuleSetResponse -> c ValidateMatchmakingRuleSetResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ValidateMatchmakingRuleSetResponse #

toConstr :: ValidateMatchmakingRuleSetResponse -> Constr #

dataTypeOf :: ValidateMatchmakingRuleSetResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ValidateMatchmakingRuleSetResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ValidateMatchmakingRuleSetResponse) #

gmapT :: (forall b. Data b => b -> b) -> ValidateMatchmakingRuleSetResponse -> ValidateMatchmakingRuleSetResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ValidateMatchmakingRuleSetResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ValidateMatchmakingRuleSetResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ValidateMatchmakingRuleSetResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ValidateMatchmakingRuleSetResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ValidateMatchmakingRuleSetResponse -> m ValidateMatchmakingRuleSetResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ValidateMatchmakingRuleSetResponse -> m ValidateMatchmakingRuleSetResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ValidateMatchmakingRuleSetResponse -> m ValidateMatchmakingRuleSetResponse #

Read ValidateMatchmakingRuleSetResponse Source # 
Show ValidateMatchmakingRuleSetResponse Source # 
Generic ValidateMatchmakingRuleSetResponse Source # 
NFData ValidateMatchmakingRuleSetResponse Source # 
type Rep ValidateMatchmakingRuleSetResponse Source # 
type Rep ValidateMatchmakingRuleSetResponse = D1 * (MetaData "ValidateMatchmakingRuleSetResponse" "Network.AWS.GameLift.ValidateMatchmakingRuleSet" "amazonka-gamelift-1.6.0-DeAosbEJJf8D8cv8ebS5Uv" False) (C1 * (MetaCons "ValidateMatchmakingRuleSetResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_vmrsrsValid") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_vmrsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

vmrsrsValid :: Lens' ValidateMatchmakingRuleSetResponse (Maybe Bool) Source #

Response indicating whether or not the rule set is valid.