amazonka-gamelift-1.6.0: Amazon GameLift SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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.

Alias-related operations include:

  • CreateAlias
  • ListAliases
  • DescribeAlias
  • UpdateAlias
  • DeleteAlias
  • ResolveAlias

Synopsis

Creating a Request

updateAlias #

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:

  • uaRoutingStrategy - Object that specifies the fleet and routing type to use for the alias.
  • uaName - Descriptive label that is associated with an alias. Alias names do not need to be unique.
  • uaDescription - Human-readable description of an alias.
  • uaAliasId - Unique identifier for a fleet alias. Specify the alias you want to update.

data UpdateAlias #

Represents the input for a request action.

See: updateAlias smart constructor.

Instances

Eq UpdateAlias # 
Data UpdateAlias # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateAlias -> c UpdateAlias #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateAlias #

toConstr :: UpdateAlias -> Constr #

dataTypeOf :: UpdateAlias -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateAlias) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateAlias) #

gmapT :: (forall b. Data b => b -> b) -> UpdateAlias -> UpdateAlias #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAlias -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAlias -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateAlias -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateAlias -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateAlias -> m UpdateAlias #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAlias -> m UpdateAlias #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAlias -> m UpdateAlias #

Read UpdateAlias # 
Show UpdateAlias # 
Generic UpdateAlias # 

Associated Types

type Rep UpdateAlias :: * -> * #

Hashable UpdateAlias # 
ToJSON UpdateAlias # 
NFData UpdateAlias # 

Methods

rnf :: UpdateAlias -> () #

AWSRequest UpdateAlias # 
ToHeaders UpdateAlias # 

Methods

toHeaders :: UpdateAlias -> [Header] #

ToPath UpdateAlias # 
ToQuery UpdateAlias # 
type Rep UpdateAlias # 
type Rep UpdateAlias = D1 * (MetaData "UpdateAlias" "Network.AWS.GameLift.UpdateAlias" "amazonka-gamelift-1.6.0-AFaGsb9wXmY9FImAlEHdkb" False) (C1 * (MetaCons "UpdateAlias'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uaRoutingStrategy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RoutingStrategy))) (S1 * (MetaSel (Just Symbol "_uaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uaDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uaAliasId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateAlias # 

Request Lenses

uaRoutingStrategy :: Lens' UpdateAlias (Maybe RoutingStrategy) #

Object that specifies the fleet and routing type to use for the alias.

uaName :: Lens' UpdateAlias (Maybe Text) #

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

uaDescription :: Lens' UpdateAlias (Maybe Text) #

Human-readable description of an alias.

uaAliasId :: Lens' UpdateAlias Text #

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

Destructuring the Response

updateAliasResponse #

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:

data UpdateAliasResponse #

Represents the returned data in response to a request action.

See: updateAliasResponse smart constructor.

Instances

Eq UpdateAliasResponse # 
Data UpdateAliasResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateAliasResponse -> c UpdateAliasResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateAliasResponse #

toConstr :: UpdateAliasResponse -> Constr #

dataTypeOf :: UpdateAliasResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateAliasResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateAliasResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateAliasResponse -> UpdateAliasResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAliasResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateAliasResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateAliasResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateAliasResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateAliasResponse -> m UpdateAliasResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAliasResponse -> m UpdateAliasResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateAliasResponse -> m UpdateAliasResponse #

Read UpdateAliasResponse # 
Show UpdateAliasResponse # 
Generic UpdateAliasResponse # 
NFData UpdateAliasResponse # 

Methods

rnf :: UpdateAliasResponse -> () #

type Rep UpdateAliasResponse # 
type Rep UpdateAliasResponse = D1 * (MetaData "UpdateAliasResponse" "Network.AWS.GameLift.UpdateAlias" "amazonka-gamelift-1.6.0-AFaGsb9wXmY9FImAlEHdkb" False) (C1 * (MetaCons "UpdateAliasResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsAlias") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Alias))) (S1 * (MetaSel (Just Symbol "_uarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

uarsAlias :: Lens' UpdateAliasResponse (Maybe Alias) #

Object that contains the updated alias configuration.

uarsResponseStatus :: Lens' UpdateAliasResponse Int #

  • - | The response status code.