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.StartBuild

Contents

Description

Starts running a build.

Synopsis

Creating a Request

startBuild #

Creates a value of StartBuild with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sbEnvironmentVariablesOverride - A set of environment variables that overrides, for this build only, the latest ones already defined in the corresponding build project.
  • sbTimeoutInMinutesOverride - The number of build timeout minutes, from 5 to 480 (8 hours) that overrides, for this build only, the latest setting already defined in the corresponding build project.
  • sbSourceVersion - A version of the build input to be built, for this build only. If not specified, the latest version will be used. If specified, must be one of: * For AWS CodeCommit or GitHub: the commit ID to use. * For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.
  • sbBuildspecOverride - A build spec declaration that overrides, for this build only, the latest one already defined in the corresponding build project.
  • sbArtifactsOverride - Build output artifact settings that override, for this build only, the latest ones already defined in the corresponding build project.
  • sbProjectName - The name of the build project to start running a build.

data StartBuild #

See: startBuild smart constructor.

Instances

Eq StartBuild # 
Data StartBuild # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartBuild -> c StartBuild #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StartBuild #

toConstr :: StartBuild -> Constr #

dataTypeOf :: StartBuild -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StartBuild) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StartBuild) #

gmapT :: (forall b. Data b => b -> b) -> StartBuild -> StartBuild #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartBuild -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartBuild -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartBuild -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartBuild -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartBuild -> m StartBuild #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartBuild -> m StartBuild #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartBuild -> m StartBuild #

Read StartBuild # 
Show StartBuild # 
Generic StartBuild # 

Associated Types

type Rep StartBuild :: * -> * #

Hashable StartBuild # 
ToJSON StartBuild # 
NFData StartBuild # 

Methods

rnf :: StartBuild -> () #

AWSRequest StartBuild # 
ToQuery StartBuild # 
ToPath StartBuild # 
ToHeaders StartBuild # 

Methods

toHeaders :: StartBuild -> [Header] #

type Rep StartBuild # 
type Rep StartBuild = D1 (MetaData "StartBuild" "Network.AWS.CodeBuild.StartBuild" "amazonka-codebuild-1.4.5-3NVU2twfIhsHq4YMwwDof3" False) (C1 (MetaCons "StartBuild'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sbEnvironmentVariablesOverride") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EnvironmentVariable]))) ((:*:) (S1 (MetaSel (Just Symbol "_sbTimeoutInMinutesOverride") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_sbSourceVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_sbBuildspecOverride") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_sbArtifactsOverride") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProjectArtifacts))) (S1 (MetaSel (Just Symbol "_sbProjectName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs StartBuild # 

Request Lenses

sbEnvironmentVariablesOverride :: Lens' StartBuild [EnvironmentVariable] #

A set of environment variables that overrides, for this build only, the latest ones already defined in the corresponding build project.

sbTimeoutInMinutesOverride :: Lens' StartBuild (Maybe Natural) #

The number of build timeout minutes, from 5 to 480 (8 hours) that overrides, for this build only, the latest setting already defined in the corresponding build project.

sbSourceVersion :: Lens' StartBuild (Maybe Text) #

A version of the build input to be built, for this build only. If not specified, the latest version will be used. If specified, must be one of: * For AWS CodeCommit or GitHub: the commit ID to use. * For Amazon Simple Storage Service (Amazon S3): the version ID of the object representing the build input ZIP file to use.

sbBuildspecOverride :: Lens' StartBuild (Maybe Text) #

A build spec declaration that overrides, for this build only, the latest one already defined in the corresponding build project.

sbArtifactsOverride :: Lens' StartBuild (Maybe ProjectArtifacts) #

Build output artifact settings that override, for this build only, the latest ones already defined in the corresponding build project.

sbProjectName :: Lens' StartBuild Text #

The name of the build project to start running a build.

Destructuring the Response

startBuildResponse #

Creates a value of StartBuildResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data StartBuildResponse #

See: startBuildResponse smart constructor.

Instances

Eq StartBuildResponse # 
Data StartBuildResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartBuildResponse -> c StartBuildResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StartBuildResponse #

toConstr :: StartBuildResponse -> Constr #

dataTypeOf :: StartBuildResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StartBuildResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StartBuildResponse) #

gmapT :: (forall b. Data b => b -> b) -> StartBuildResponse -> StartBuildResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartBuildResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartBuildResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartBuildResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartBuildResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartBuildResponse -> m StartBuildResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartBuildResponse -> m StartBuildResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartBuildResponse -> m StartBuildResponse #

Read StartBuildResponse # 
Show StartBuildResponse # 
Generic StartBuildResponse # 
NFData StartBuildResponse # 

Methods

rnf :: StartBuildResponse -> () #

type Rep StartBuildResponse # 
type Rep StartBuildResponse = D1 (MetaData "StartBuildResponse" "Network.AWS.CodeBuild.StartBuild" "amazonka-codebuild-1.4.5-3NVU2twfIhsHq4YMwwDof3" False) (C1 (MetaCons "StartBuildResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_srsBuild") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Build))) (S1 (MetaSel (Just Symbol "_srsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

srsBuild :: Lens' StartBuildResponse (Maybe Build) #

Information about the build to be run.

srsResponseStatus :: Lens' StartBuildResponse Int #

  • - | The response status code.