amazonka-mobile-1.5.0: Amazon Mobile SDK.

Copyright(c) 2013-2017 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.Mobile.UpdateProject

Contents

Description

Update an existing project.

Synopsis

Creating a Request

updateProject Source #

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

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

  • upContents - ZIP or YAML file which contains project configuration to be updated. This should be the contents of the file downloaded from the URL provided in an export project operation. -- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.
  • upProjectId - Unique project identifier.

data UpdateProject Source #

Request structure used for requests to update project configuration.

See: updateProject smart constructor.

Instances

Eq UpdateProject Source # 
Data UpdateProject Source # 

Methods

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

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

toConstr :: UpdateProject -> Constr #

dataTypeOf :: UpdateProject -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateProject Source # 
Show UpdateProject Source # 
Generic UpdateProject Source # 

Associated Types

type Rep UpdateProject :: * -> * #

Hashable UpdateProject Source # 
NFData UpdateProject Source # 

Methods

rnf :: UpdateProject -> () #

AWSRequest UpdateProject Source # 
ToBody UpdateProject Source # 
ToQuery UpdateProject Source # 
ToPath UpdateProject Source # 
ToHeaders UpdateProject Source # 
type Rep UpdateProject Source # 
type Rep UpdateProject = D1 (MetaData "UpdateProject" "Network.AWS.Mobile.UpdateProject" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) (C1 (MetaCons "UpdateProject'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_upContents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Base64))) (S1 (MetaSel (Just Symbol "_upProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateProject Source # 

Request Lenses

upContents :: Lens' UpdateProject (Maybe ByteString) Source #

ZIP or YAML file which contains project configuration to be updated. This should be the contents of the file downloaded from the URL provided in an export project operation. -- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

upProjectId :: Lens' UpdateProject Text Source #

Unique project identifier.

Destructuring the Response

updateProjectResponse Source #

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

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

data UpdateProjectResponse Source #

Result structure used for requests to updated project configuration.

See: updateProjectResponse smart constructor.

Instances

Eq UpdateProjectResponse Source # 
Data UpdateProjectResponse Source # 

Methods

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

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

toConstr :: UpdateProjectResponse -> Constr #

dataTypeOf :: UpdateProjectResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateProjectResponse Source # 
Show UpdateProjectResponse Source # 
Generic UpdateProjectResponse Source # 
NFData UpdateProjectResponse Source # 

Methods

rnf :: UpdateProjectResponse -> () #

type Rep UpdateProjectResponse Source # 
type Rep UpdateProjectResponse = D1 (MetaData "UpdateProjectResponse" "Network.AWS.Mobile.UpdateProject" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) (C1 (MetaCons "UpdateProjectResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uprsDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProjectDetails))) (S1 (MetaSel (Just Symbol "_uprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

uprsDetails :: Lens' UpdateProjectResponse (Maybe ProjectDetails) Source #

Detailed information about the updated AWS Mobile Hub project.

uprsResponseStatus :: Lens' UpdateProjectResponse Int Source #

  • - | The response status code.