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

Contents

Description

Updates metadata in a build record, including the build name and version. To update the metadata, specify the build ID to update and provide the new values. If successful, a build object containing the updated metadata is returned.

Synopsis

Creating a Request

updateBuild Source #

Arguments

:: Text

ubBuildId

-> UpdateBuild 

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

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

  • ubName - Descriptive label associated with a build. Build names do not need to be unique.
  • ubVersion - Version associated with this build. Version strings do not need to be unique to a build.
  • ubBuildId - Unique identifier of the build you want to update.

data UpdateBuild Source #

Represents the input for a request action.

See: updateBuild smart constructor.

Instances

Eq UpdateBuild Source # 
Data UpdateBuild Source # 

Methods

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

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

toConstr :: UpdateBuild -> Constr #

dataTypeOf :: UpdateBuild -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateBuild Source # 
Show UpdateBuild Source # 
Generic UpdateBuild Source # 

Associated Types

type Rep UpdateBuild :: * -> * #

Hashable UpdateBuild Source # 
ToJSON UpdateBuild Source # 
NFData UpdateBuild Source # 

Methods

rnf :: UpdateBuild -> () #

AWSRequest UpdateBuild Source # 
ToPath UpdateBuild Source # 
ToHeaders UpdateBuild Source # 

Methods

toHeaders :: UpdateBuild -> [Header] #

ToQuery UpdateBuild Source # 
type Rep UpdateBuild Source # 
type Rep UpdateBuild = D1 (MetaData "UpdateBuild" "Network.AWS.GameLift.UpdateBuild" "amazonka-gamelift-1.4.5-2krZbzEaIqtLV8ATX8AZ52" False) (C1 (MetaCons "UpdateBuild'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ubName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ubVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ubBuildId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateBuild Source # 

Request Lenses

ubName :: Lens' UpdateBuild (Maybe Text) Source #

Descriptive label associated with a build. Build names do not need to be unique.

ubVersion :: Lens' UpdateBuild (Maybe Text) Source #

Version associated with this build. Version strings do not need to be unique to a build.

ubBuildId :: Lens' UpdateBuild Text Source #

Unique identifier of the build you want to update.

Destructuring the Response

updateBuildResponse Source #

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

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

data UpdateBuildResponse Source #

Represents the returned data in response to a request action.

See: updateBuildResponse smart constructor.

Instances

Eq UpdateBuildResponse Source # 
Data UpdateBuildResponse Source # 

Methods

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

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

toConstr :: UpdateBuildResponse -> Constr #

dataTypeOf :: UpdateBuildResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateBuildResponse Source # 
Show UpdateBuildResponse Source # 
Generic UpdateBuildResponse Source # 
NFData UpdateBuildResponse Source # 

Methods

rnf :: UpdateBuildResponse -> () #

type Rep UpdateBuildResponse Source # 
type Rep UpdateBuildResponse = D1 (MetaData "UpdateBuildResponse" "Network.AWS.GameLift.UpdateBuild" "amazonka-gamelift-1.4.5-2krZbzEaIqtLV8ATX8AZ52" False) (C1 (MetaCons "UpdateBuildResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ubrsBuild") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Build))) (S1 (MetaSel (Just Symbol "_ubrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

ubrsBuild :: Lens' UpdateBuildResponse (Maybe Build) Source #

Object containing the updated build record.

ubrsResponseStatus :: Lens' UpdateBuildResponse Int Source #

  • - | The response status code.