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

Description

Retrieves all aliases for this AWS account. You can filter the result set by alias name and/or routing strategy type. Use the pagination parameters to retrieve results in sequential pages.

Returned aliases are not listed in any particular order.

Related actions

CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias | All APIs by task

This operation returns paginated results.

Synopsis

Creating a Request

data ListAliases Source #

Represents the input for a request operation.

See: newListAliases smart constructor.

Constructors

ListAliases' 

Fields

  • routingStrategyType :: Maybe RoutingStrategyType

    The routing type to filter results on. Use this parameter to retrieve only aliases with a certain routing type. To retrieve all aliases, leave this parameter empty.

    Possible routing types include the following:

    • SIMPLE -- The alias resolves to one specific fleet. Use this type when routing to active fleets.
    • TERMINAL -- The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.
  • 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.

  • name :: Maybe Text

    A descriptive label that is associated with an alias. Alias names do not need to be unique.

  • 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 ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Read ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Show ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Generic ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Associated Types

type Rep ListAliases :: Type -> Type #

NFData ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Methods

rnf :: ListAliases -> () #

Hashable ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

ToJSON ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

AWSPager ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

AWSRequest ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Associated Types

type AWSResponse ListAliases #

ToHeaders ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Methods

toHeaders :: ListAliases -> [Header] #

ToPath ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

ToQuery ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

type Rep ListAliases Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

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

Defined in Amazonka.GameLift.ListAliases

newListAliases :: ListAliases Source #

Create a value of ListAliases 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:routingStrategyType:ListAliases', listAliases_routingStrategyType - The routing type to filter results on. Use this parameter to retrieve only aliases with a certain routing type. To retrieve all aliases, leave this parameter empty.

Possible routing types include the following:

  • SIMPLE -- The alias resolves to one specific fleet. Use this type when routing to active fleets.
  • TERMINAL -- The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.

$sel:nextToken:ListAliases', listAliases_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:name:ListAliases', listAliases_name - A descriptive label that is associated with an alias. Alias names do not need to be unique.

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

Request Lenses

listAliases_routingStrategyType :: Lens' ListAliases (Maybe RoutingStrategyType) Source #

The routing type to filter results on. Use this parameter to retrieve only aliases with a certain routing type. To retrieve all aliases, leave this parameter empty.

Possible routing types include the following:

  • SIMPLE -- The alias resolves to one specific fleet. Use this type when routing to active fleets.
  • TERMINAL -- The alias does not resolve to a fleet but instead can be used to display a message to the user. A terminal alias throws a TerminalRoutingStrategyException with the RoutingStrategy message embedded.

listAliases_nextToken :: Lens' ListAliases (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.

listAliases_name :: Lens' ListAliases (Maybe Text) Source #

A descriptive label that is associated with an alias. Alias names do not need to be unique.

listAliases_limit :: Lens' ListAliases (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 ListAliasesResponse Source #

Represents the returned data in response to a request operation.

See: newListAliasesResponse smart constructor.

Constructors

ListAliasesResponse' 

Fields

  • aliases :: Maybe [Alias]

    A collection of alias resources that match the request parameters.

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

Instances

Instances details
Eq ListAliasesResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Read ListAliasesResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Show ListAliasesResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Generic ListAliasesResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Associated Types

type Rep ListAliasesResponse :: Type -> Type #

NFData ListAliasesResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

Methods

rnf :: ListAliasesResponse -> () #

type Rep ListAliasesResponse Source # 
Instance details

Defined in Amazonka.GameLift.ListAliases

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

newListAliasesResponse Source #

Create a value of ListAliasesResponse 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:aliases:ListAliasesResponse', listAliasesResponse_aliases - A collection of alias resources that match the request parameters.

$sel:nextToken:ListAliases', listAliasesResponse_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:ListAliasesResponse', listAliasesResponse_httpStatus - The response's http status code.

Response Lenses

listAliasesResponse_aliases :: Lens' ListAliasesResponse (Maybe [Alias]) Source #

A collection of alias resources that match the request parameters.

listAliasesResponse_nextToken :: Lens' ListAliasesResponse (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.