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

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

Related actions

CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets | ValidateMatchmakingRuleSet | DeleteMatchmakingRuleSet | All APIs by task

Synopsis

Creating a Request

data ValidateMatchmakingRuleSet Source #

Represents the input for a request operation.

See: newValidateMatchmakingRuleSet smart constructor.

Constructors

ValidateMatchmakingRuleSet' 

Fields

  • ruleSetBody :: Text

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

Instances

Instances details
Eq ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Read ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Show 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 #

NFData ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Hashable ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

ToJSON ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

AWSRequest 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

type Rep ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

type Rep ValidateMatchmakingRuleSet = D1 ('MetaData "ValidateMatchmakingRuleSet" "Amazonka.GameLift.ValidateMatchmakingRuleSet" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "ValidateMatchmakingRuleSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleSetBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ValidateMatchmakingRuleSet Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

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.

Constructors

ValidateMatchmakingRuleSetResponse' 

Fields

Instances

Instances details
Eq ValidateMatchmakingRuleSetResponse Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Read ValidateMatchmakingRuleSetResponse Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Show ValidateMatchmakingRuleSetResponse Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Generic ValidateMatchmakingRuleSetResponse Source # 
Instance details

Defined in Amazonka.GameLift.ValidateMatchmakingRuleSet

Associated Types

type Rep ValidateMatchmakingRuleSetResponse :: Type -> Type #

NFData 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" "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