amazonka-codebuild-1.6.0: Amazon CodeBuild 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.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.
  • upBadgeEnabled - Set this to true to generate a publicly-accessible URL for your project's build badge.
  • upCache - Stores recently used information so that it can be quickly accessed at a later time.
  • upVpcConfig - VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
  • 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 # 
ToHeaders UpdateProject Source # 
ToPath UpdateProject Source # 
ToQuery UpdateProject Source # 
type Rep UpdateProject Source # 
type Rep UpdateProject = D1 * (MetaData "UpdateProject" "Network.AWS.CodeBuild.UpdateProject" "amazonka-codebuild-1.6.0-3VlWGhdhReJGNFnMlVFSyp" False) (C1 * (MetaCons "UpdateProject'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_upArtifacts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ProjectArtifacts))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upEnvironment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ProjectEnvironment))) (S1 * (MetaSel (Just Symbol "_upBadgeEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upCache") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ProjectCache))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upVpcConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe VPCConfig))) (S1 * (MetaSel (Just Symbol "_upSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ProjectSource)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_upEncryptionKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_upServiceRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Tag]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_upTimeoutInMinutes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_upName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))))
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.

upBadgeEnabled :: Lens' UpdateProject (Maybe Bool) Source #

Set this to true to generate a publicly-accessible URL for your project's build badge.

upCache :: Lens' UpdateProject (Maybe ProjectCache) Source #

Stores recently used information so that it can be quickly accessed at a later time.

upVpcConfig :: Lens' UpdateProject (Maybe VPCConfig) Source #

VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.

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.6.0-3VlWGhdhReJGNFnMlVFSyp" 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.