amazonka-gamelift-1.4.5: 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 #

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 specifying the fleet and routing type to use for the alias.
  • uaName - Descriptive label 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 # 
ToQuery UpdateAlias # 
ToPath UpdateAlias # 
ToHeaders UpdateAlias # 

Methods

toHeaders :: UpdateAlias -> [Header] #

type Rep UpdateAlias # 
type Rep UpdateAlias = D1 (MetaData "UpdateAlias" "Network.AWS.GameLift.UpdateAlias" "amazonka-gamelift-1.4.5-90oxfPbG0dmH3SoKqzJqw8" 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 specifying the fleet and routing type to use for the alias.

uaName :: Lens' UpdateAlias (Maybe Text) #

Descriptive label 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.4.5-90oxfPbG0dmH3SoKqzJqw8" False) (C1 (MetaCons "UpdateAliasResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uarsAlias") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Alias))) (S1 (MetaSel (Just Symbol "_uarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

uarsAlias :: Lens' UpdateAliasResponse (Maybe Alias) #

Object containing the updated alias configuration.

uarsResponseStatus :: Lens' UpdateAliasResponse Int #

  • - | The response status code.