amazonka-codebuild-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

Data UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.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 Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

Show UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

Generic UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

Associated Types

type Rep UpdateProject :: Type -> Type #

Hashable UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

ToJSON UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

AWSRequest UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

Associated Types

type Rs UpdateProject :: Type #

ToHeaders UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

ToPath UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

ToQuery UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

NFData UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

Methods

rnf :: UpdateProject -> () #

type Rep UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

type Rep UpdateProject = D1 (MetaData "UpdateProject" "Network.AWS.CodeBuild.UpdateProject" "amazonka-codebuild-1.6.1-CHtoXrKmhWY3Wp1eAVtcUH" False) (C1 (MetaCons "UpdateProject'" PrefixI True) (((S1 (MetaSel (Just "_upArtifacts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProjectArtifacts)) :*: (S1 (MetaSel (Just "_upEnvironment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProjectEnvironment)) :*: S1 (MetaSel (Just "_upBadgeEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_upCache") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProjectCache)) :*: (S1 (MetaSel (Just "_upVpcConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe VPCConfig)) :*: S1 (MetaSel (Just "_upSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProjectSource))))) :*: ((S1 (MetaSel (Just "_upEncryptionKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_upDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_upServiceRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_upTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 (MetaSel (Just "_upTimeoutInMinutes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_upName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs UpdateProject Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

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

Defined in Network.AWS.CodeBuild.UpdateProject

Data UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeBuild.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.CodeBuild.UpdateProject

Show UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

Generic UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

Associated Types

type Rep UpdateProjectResponse :: Type -> Type #

NFData UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

Methods

rnf :: UpdateProjectResponse -> () #

type Rep UpdateProjectResponse Source # 
Instance details

Defined in Network.AWS.CodeBuild.UpdateProject

type Rep UpdateProjectResponse = D1 (MetaData "UpdateProjectResponse" "Network.AWS.CodeBuild.UpdateProject" "amazonka-codebuild-1.6.1-CHtoXrKmhWY3Wp1eAVtcUH" False) (C1 (MetaCons "UpdateProjectResponse'" PrefixI True) (S1 (MetaSel (Just "_uprsProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Project)) :*: S1 (MetaSel (Just "_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.