amazonka-codebuild-1.5.0: Amazon CodeBuild 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.CodeBuild.UpdateProject

Contents

Description

Changes the settings of a build project.

Synopsis

Creating a Request

updateProject Source #

Arguments

:: Text

upName

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

  • upArtifacts - Information to be changed about the build output artifacts for the build project.
  • upEnvironment - Information to be changed about the build environment for the build project.
  • upSource - Information to be changed about the build input source code for the build project.
  • upEncryptionKey - The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts. You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format alias/alias-name ).
  • upDescription - A new or replacement description of the build project.
  • upServiceRole - The replacement ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
  • upTags - The replacement set of tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags.
  • upTimeoutInMinutes - The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.
  • upName - The name of the build project.

data UpdateProject Source #

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 # 
ToJSON UpdateProject Source # 
NFData UpdateProject Source # 

Methods

rnf :: UpdateProject -> () #

AWSRequest UpdateProject Source # 
ToQuery UpdateProject Source # 
ToPath UpdateProject Source # 
ToHeaders UpdateProject Source # 
type Rep UpdateProject Source # 
type Rs UpdateProject Source # 

Request Lenses

upArtifacts :: Lens' UpdateProject (Maybe ProjectArtifacts) Source #

Information to be changed about the build output artifacts for the build project.

upEnvironment :: Lens' UpdateProject (Maybe ProjectEnvironment) Source #

Information to be changed about the build environment for the build project.

upSource :: Lens' UpdateProject (Maybe ProjectSource) Source #

Information to be changed about the build input source code for the build project.

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

The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts. You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the format alias/alias-name ).

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

A new or replacement description of the build project.

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

The replacement ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.

upTags :: Lens' UpdateProject [Tag] Source #

The replacement set of tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags.

upTimeoutInMinutes :: Lens' UpdateProject (Maybe Natural) Source #

The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.

upName :: Lens' UpdateProject Text Source #

The name of the build project.

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 # 
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.CodeBuild.UpdateProject" "amazonka-codebuild-1.5.0-2ek6cqv6qBXE0cPl3ApURV" False) (C1 (MetaCons "UpdateProjectResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uprsProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Project))) (S1 (MetaSel (Just Symbol "_uprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

uprsProject :: Lens' UpdateProjectResponse (Maybe Project) Source #

Information about the build project that was changed.

uprsResponseStatus :: Lens' UpdateProjectResponse Int Source #

  • - | The response status code.