amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GameLift.ValidateMatchmakingRuleSet

Description

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

Synopsis

Creating a Request

data ValidateMatchmakingRuleSet Source #

See: newValidateMatchmakingRuleSet smart constructor.

Constructors

ValidateMatchmakingRuleSet' 

Fields

  • ruleSetBody :: Text

    A collection of matchmaking rules to validate, formatted as a JSON string.

Instances

Instances details
ToJSON ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

ToHeaders ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

ToPath ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

ToQuery ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

AWSRequest ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Generic ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Associated Types

type Rep ValidateMatchmakingRuleSet :: Type -> Type #

Read ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Show ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

NFData ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Eq ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Hashable ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

type AWSResponse ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

type Rep ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

type Rep ValidateMatchmakingRuleSet = D1 ('MetaData "ValidateMatchmakingRuleSet" "Amazonka.GameLift.ValidateMatchmakingRuleSet" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "ValidateMatchmakingRuleSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleSetBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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 #

Constructors

ValidateMatchmakingRuleSetResponse' 

Fields

Instances

Instances details
Generic ValidateMatchmakingRuleSetResponse Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Associated Types

type Rep ValidateMatchmakingRuleSetResponse :: Type -> Type #

Read ValidateMatchmakingRuleSetResponse Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Show ValidateMatchmakingRuleSetResponse Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

NFData ValidateMatchmakingRuleSetResponse Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Eq ValidateMatchmakingRuleSetResponse Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

type Rep ValidateMatchmakingRuleSetResponse Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

type Rep ValidateMatchmakingRuleSetResponse = D1 ('MetaData "ValidateMatchmakingRuleSetResponse" "Amazonka.GameLift.ValidateMatchmakingRuleSet" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" '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