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.DescribeMatchmakingRuleSets

Description

Retrieves the details for FlexMatch matchmaking rule sets. You can request all existing rule sets for the Region, or provide a list of one or more rule set names. When requesting multiple items, use the pagination parameters to retrieve results as a set of sequential pages. If successful, a rule set is returned for each requested name.

Learn more

Related actions

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

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeMatchmakingRuleSets Source #

Represents the input for a request operation.

See: newDescribeMatchmakingRuleSets smart constructor.

Constructors

DescribeMatchmakingRuleSets' 

Fields

  • nextToken :: Maybe Text

    A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.

  • names :: Maybe (NonEmpty Text)

    A list of one or more matchmaking rule set names to retrieve details for. (Note: The rule set name is different from the optional "name" field in the rule set body.) You can use either the rule set name or ARN value.

  • limit :: Maybe Natural

    The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

Instances

Instances details
Eq DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

Read DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

Show DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

Generic DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

Associated Types

type Rep DescribeMatchmakingRuleSets :: Type -> Type #

NFData DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

Hashable DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

ToJSON DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

AWSPager DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

AWSRequest DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

ToHeaders DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

ToPath DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

ToQuery DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

type Rep DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

type Rep DescribeMatchmakingRuleSets = D1 ('MetaData "DescribeMatchmakingRuleSets" "Amazonka.GameLift.DescribeMatchmakingRuleSets" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "DescribeMatchmakingRuleSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "names") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse DescribeMatchmakingRuleSets Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

newDescribeMatchmakingRuleSets :: DescribeMatchmakingRuleSets Source #

Create a value of DescribeMatchmakingRuleSets 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:nextToken:DescribeMatchmakingRuleSets', describeMatchmakingRuleSets_nextToken - A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.

$sel:names:DescribeMatchmakingRuleSets', describeMatchmakingRuleSets_names - A list of one or more matchmaking rule set names to retrieve details for. (Note: The rule set name is different from the optional "name" field in the rule set body.) You can use either the rule set name or ARN value.

$sel:limit:DescribeMatchmakingRuleSets', describeMatchmakingRuleSets_limit - The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

Request Lenses

describeMatchmakingRuleSets_nextToken :: Lens' DescribeMatchmakingRuleSets (Maybe Text) Source #

A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.

describeMatchmakingRuleSets_names :: Lens' DescribeMatchmakingRuleSets (Maybe (NonEmpty Text)) Source #

A list of one or more matchmaking rule set names to retrieve details for. (Note: The rule set name is different from the optional "name" field in the rule set body.) You can use either the rule set name or ARN value.

describeMatchmakingRuleSets_limit :: Lens' DescribeMatchmakingRuleSets (Maybe Natural) Source #

The maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.

Destructuring the Response

data DescribeMatchmakingRuleSetsResponse Source #

Represents the returned data in response to a request operation.

See: newDescribeMatchmakingRuleSetsResponse smart constructor.

Constructors

DescribeMatchmakingRuleSetsResponse' 

Fields

  • nextToken :: Maybe Text

    A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.

  • httpStatus :: Int

    The response's http status code.

  • ruleSets :: [MatchmakingRuleSet]

    A collection of requested matchmaking rule set objects.

Instances

Instances details
Eq DescribeMatchmakingRuleSetsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

Read DescribeMatchmakingRuleSetsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

Show DescribeMatchmakingRuleSetsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

Generic DescribeMatchmakingRuleSetsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

NFData DescribeMatchmakingRuleSetsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

type Rep DescribeMatchmakingRuleSetsResponse Source # 
Instance details

Defined in Amazonka.GameLift.DescribeMatchmakingRuleSets

type Rep DescribeMatchmakingRuleSetsResponse = D1 ('MetaData "DescribeMatchmakingRuleSetsResponse" "Amazonka.GameLift.DescribeMatchmakingRuleSets" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "DescribeMatchmakingRuleSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "ruleSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MatchmakingRuleSet]))))

newDescribeMatchmakingRuleSetsResponse Source #

Create a value of DescribeMatchmakingRuleSetsResponse 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:nextToken:DescribeMatchmakingRuleSets', describeMatchmakingRuleSetsResponse_nextToken - A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.

$sel:httpStatus:DescribeMatchmakingRuleSetsResponse', describeMatchmakingRuleSetsResponse_httpStatus - The response's http status code.

$sel:ruleSets:DescribeMatchmakingRuleSetsResponse', describeMatchmakingRuleSetsResponse_ruleSets - A collection of requested matchmaking rule set objects.

Response Lenses

describeMatchmakingRuleSetsResponse_nextToken :: Lens' DescribeMatchmakingRuleSetsResponse (Maybe Text) Source #

A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.