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 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:

  • 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 Source #

Represents the input for a request action.

See: updateAlias smart constructor.

Instances

Eq UpdateAlias Source # 
Data UpdateAlias Source # 

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 Source # 
Show UpdateAlias Source # 
Generic UpdateAlias Source # 

Associated Types

type Rep UpdateAlias :: * -> * #

Hashable UpdateAlias Source # 
ToJSON UpdateAlias Source # 
NFData UpdateAlias Source # 

Methods

rnf :: UpdateAlias -> () #

AWSRequest UpdateAlias Source # 
ToPath UpdateAlias Source # 
ToHeaders UpdateAlias Source # 

Methods

toHeaders :: UpdateAlias -> [Header] #

ToQuery UpdateAlias Source # 
type Rep UpdateAlias Source # 
type Rep UpdateAlias = D1 (MetaData "UpdateAlias" "Network.AWS.GameLift.UpdateAlias" "amazonka-gamelift-1.4.5-2krZbzEaIqtLV8ATX8AZ52" 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 Source # 

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 an alias. Alias names do not need to be unique.

uaDescription :: Lens' UpdateAlias (Maybe Text) Source #

Human-readable description of an 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:

data UpdateAliasResponse Source #

Represents the returned data in response to a request action.

See: updateAliasResponse smart constructor.

Instances

Eq UpdateAliasResponse Source # 
Data UpdateAliasResponse Source # 

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 Source # 
Show UpdateAliasResponse Source # 
Generic UpdateAliasResponse Source # 
NFData UpdateAliasResponse Source # 

Methods

rnf :: UpdateAliasResponse -> () #

type Rep UpdateAliasResponse Source # 
type Rep UpdateAliasResponse = D1 (MetaData "UpdateAliasResponse" "Network.AWS.GameLift.UpdateAlias" "amazonka-gamelift-1.4.5-2krZbzEaIqtLV8ATX8AZ52" 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) Source #

Object containing the updated alias configuration.

uarsResponseStatus :: Lens' UpdateAliasResponse Int Source #

  • - | The response status code.