amazonka-codestar-1.6.1: Amazon CodeStar 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.CodeStar.UpdateProject

Contents

Description

Updates a project in AWS CodeStar.

Synopsis

Creating a Request

updateProject Source #

Arguments

:: Text

upId

-> UpdateProject 

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:

  • upName - The name of the project you want to update.
  • upDescription - The description of the project, if any.
  • upId - The ID of the project you want to update.

data UpdateProject Source #

See: updateProject smart constructor.

Instances
Eq UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Data UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

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 #

Show UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Generic UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Associated Types

type Rep UpdateProject :: Type -> Type #

Hashable UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

ToJSON UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

AWSRequest UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Associated Types

type Rs UpdateProject :: Type #

ToHeaders UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

ToPath UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

ToQuery UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

NFData UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Methods

rnf :: UpdateProject -> () #

type Rep UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

type Rep UpdateProject = D1 (MetaData "UpdateProject" "Network.AWS.CodeStar.UpdateProject" "amazonka-codestar-1.6.1-CcYQrsIZo67Ij9mcPy3qxj" False) (C1 (MetaCons "UpdateProject'" PrefixI True) (S1 (MetaSel (Just "_upName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 (MetaSel (Just "_upDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 (MetaSel (Just "_upId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Request Lenses

upName :: Lens' UpdateProject (Maybe Text) Source #

The name of the project you want to update.

upDescription :: Lens' UpdateProject (Maybe Text) Source #

The description of the project, if any.

upId :: Lens' UpdateProject Text Source #

The ID of the project you want to update.

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 #

See: updateProjectResponse smart constructor.

Instances
Eq UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Data UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

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 # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Show UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Generic UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Associated Types

type Rep UpdateProjectResponse :: Type -> Type #

NFData UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

Methods

rnf :: UpdateProjectResponse -> () #

type Rep UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.UpdateProject

type Rep UpdateProjectResponse = D1 (MetaData "UpdateProjectResponse" "Network.AWS.CodeStar.UpdateProject" "amazonka-codestar-1.6.1-CcYQrsIZo67Ij9mcPy3qxj" True) (C1 (MetaCons "UpdateProjectResponse'" PrefixI True) (S1 (MetaSel (Just "_uprsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

uprsResponseStatus :: Lens' UpdateProjectResponse Int Source #

  • - | The response status code.