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

Contents

Description

Updates properties for an alias. To update properties, specify the alias ID to be updated and provide the information to be changed. To reassign an alias to another fleet, provide an updated routing strategy. If successful, the updated alias record is returned.

Synopsis

Creating a Request

updateAlias Source

Arguments

:: Text

uaAliasId

-> UpdateAlias 

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

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

Request Lenses

uaRoutingStrategy :: Lens' UpdateAlias (Maybe RoutingStrategy) Source

Object specifying the fleet and routing type to use for the alias.

uaName :: Lens' UpdateAlias (Maybe Text) Source

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

uaDescription :: Lens' UpdateAlias (Maybe Text) Source

Human-readable description of the alias.

uaAliasId :: Lens' UpdateAlias Text Source

Unique identifier for a fleet alias. Specify the alias you want to update.

Destructuring the Response

updateAliasResponse Source

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

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

Response Lenses

uarsAlias :: Lens' UpdateAliasResponse (Maybe Alias) Source

Object containing the updated alias configuration.