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

Contents

Description

Creates a build project.

Synopsis

Creating a Request

createProject Source #

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

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

  • cpEncryptionKey - The 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 ).
  • cpDescription - A meaningful description of the build project.
  • cpServiceRole - The 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.
  • cpTags - A set of tags for this build project. These tags are available for use by AWS services that support AWS CodeBuild build project tags.
  • cpTimeoutInMinutes - How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.
  • cpName - The build project's name.
  • cpSource - Information about the build project's build input source code.
  • cpArtifacts - Information about the build project's build output artifacts.
  • cpEnvironment - Information about the build project's build environment.

data CreateProject Source #

See: createProject smart constructor.

Instances

Eq CreateProject Source # 
Data CreateProject Source # 

Methods

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

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

toConstr :: CreateProject -> Constr #

dataTypeOf :: CreateProject -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateProject Source # 
Show CreateProject Source # 
Generic CreateProject Source # 

Associated Types

type Rep CreateProject :: * -> * #

Hashable CreateProject Source # 
ToJSON CreateProject Source # 
NFData CreateProject Source # 

Methods

rnf :: CreateProject -> () #

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

Request Lenses

cpEncryptionKey :: Lens' CreateProject (Maybe Text) Source #

The 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 ).

cpDescription :: Lens' CreateProject (Maybe Text) Source #

A meaningful description of the build project.

cpServiceRole :: Lens' CreateProject (Maybe Text) Source #

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

cpTags :: Lens' CreateProject [Tag] Source #

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

cpTimeoutInMinutes :: Lens' CreateProject (Maybe Natural) Source #

How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any related build that does not get marked as completed. The default is 60 minutes.

cpName :: Lens' CreateProject Text Source #

The build project's name.

cpSource :: Lens' CreateProject ProjectSource Source #

Information about the build project's build input source code.

cpArtifacts :: Lens' CreateProject ProjectArtifacts Source #

Information about the build project's build output artifacts.

cpEnvironment :: Lens' CreateProject ProjectEnvironment Source #

Information about the build project's build environment.

Destructuring the Response

createProjectResponse Source #

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

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

data CreateProjectResponse Source #

See: createProjectResponse smart constructor.

Instances

Eq CreateProjectResponse Source # 
Data CreateProjectResponse Source # 

Methods

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

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

toConstr :: CreateProjectResponse -> Constr #

dataTypeOf :: CreateProjectResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateProjectResponse Source # 
Show CreateProjectResponse Source # 
Generic CreateProjectResponse Source # 
NFData CreateProjectResponse Source # 

Methods

rnf :: CreateProjectResponse -> () #

type Rep CreateProjectResponse Source # 
type Rep CreateProjectResponse = D1 (MetaData "CreateProjectResponse" "Network.AWS.CodeBuild.CreateProject" "amazonka-codebuild-1.4.5-5xjVRZX955TPfXRasHWjB" False) (C1 (MetaCons "CreateProjectResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cprsProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Project))) (S1 (MetaSel (Just Symbol "_cprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

cprsProject :: Lens' CreateProjectResponse (Maybe Project) Source #

Information about the build project that was created.

cprsResponseStatus :: Lens' CreateProjectResponse Int Source #

  • - | The response status code.