amazonka-gamelift-1.4.0: Amazon GameLift SDK.

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

Network.AWS.GameLift.ListAliases

Contents

Description

Retrieves a collection of alias records 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.

Aliases are not listed in any particular order.

Synopsis

Creating a Request

listAliases :: ListAliases Source

Creates a value of ListAliases with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

laRoutingStrategyType :: Lens' ListAliases (Maybe RoutingStrategyType) Source

Type of routing to filter results on. Use this parameter to retrieve only aliases of a certain type. To retrieve all aliases, leave this parameter empty. Possible routing types include:

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

laNextToken :: Lens' ListAliases (Maybe Text) Source

Token indicating the start of the next sequential page of results. Use the token that is returned with a previous call to this action. To specify the start of the result set, do not specify a value.

laName :: Lens' ListAliases (Maybe Text) Source

Descriptive label associated with this alias. Alias names do not need to be unique.

laLimit :: Lens' ListAliases (Maybe Natural) Source

Maximum number of results to return. You can use this parameter with NextToken to get results as a set of sequential pages.

Destructuring the Response

listAliasesResponse Source

Creates a value of ListAliasesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

larsAliases :: Lens' ListAliasesResponse [Alias] Source

Collection of alias records that match the list request.

larsNextToken :: Lens' ListAliasesResponse (Maybe Text) Source

Token indicating where to resume retrieving results on the next call to this action. If no token is returned, these results represent the end of the list.

If a request has a limit that exactly matches the number of remaining results, a token is returned even though there are no more results to retrieve.