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

Contents

Description

Changes the settings of an existing build project.

Synopsis

Creating a Request

updateProject #

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 project's build output artifacts.
  • upEnvironment - Information to be changed about the build project's build environment.
  • upSource - Information to be changed about the build project's build input source code.
  • upEncryptionKey - The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's 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 Amazon Resource Name (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 to timeout any related build that did not get marked as completed.
  • upName - The name of the existing build project to change settings.

data UpdateProject #

See: updateProject smart constructor.

Instances

Eq UpdateProject # 
Data 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 #

Read UpdateProject # 
Show UpdateProject # 
Generic UpdateProject # 

Associated Types

type Rep UpdateProject :: * -> * #

Hashable UpdateProject # 
ToJSON UpdateProject # 
NFData UpdateProject # 

Methods

rnf :: UpdateProject -> () #

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

Request Lenses

upArtifacts :: Lens' UpdateProject (Maybe ProjectArtifacts) #

Information to be changed about the build project's build output artifacts.

upEnvironment :: Lens' UpdateProject (Maybe ProjectEnvironment) #

Information to be changed about the build project's build environment.

upSource :: Lens' UpdateProject (Maybe ProjectSource) #

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

upEncryptionKey :: Lens' UpdateProject (Maybe Text) #

The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's 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) #

A new or replacement description of the build project.

upServiceRole :: Lens' UpdateProject (Maybe Text) #

The replacement Amazon Resource Name (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] #

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) #

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

upName :: Lens' UpdateProject Text #

The name of the existing build project to change settings.

Destructuring the Response

updateProjectResponse #

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 #

See: updateProjectResponse smart constructor.

Instances

Eq UpdateProjectResponse # 
Data UpdateProjectResponse # 

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

Methods

rnf :: UpdateProjectResponse -> () #

type Rep UpdateProjectResponse # 
type Rep UpdateProjectResponse = D1 (MetaData "UpdateProjectResponse" "Network.AWS.CodeBuild.UpdateProject" "amazonka-codebuild-1.4.5-3NVU2twfIhsHq4YMwwDof3" False) (C1 (MetaCons "UpdateProjectResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uprsProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Project))) (S1 (MetaSel (Just Symbol "_uprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

uprsProject :: Lens' UpdateProjectResponse (Maybe Project) #

Information about the build project that was changed.

uprsResponseStatus :: Lens' UpdateProjectResponse Int #

  • - | The response status code.