Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.CodeBuild.UpdateProject
Description
Changes the settings of an existing build project.
- updateProject :: Text -> UpdateProject
- data UpdateProject
- upArtifacts :: Lens' UpdateProject (Maybe ProjectArtifacts)
- upEnvironment :: Lens' UpdateProject (Maybe ProjectEnvironment)
- upSource :: Lens' UpdateProject (Maybe ProjectSource)
- upEncryptionKey :: Lens' UpdateProject (Maybe Text)
- upDescription :: Lens' UpdateProject (Maybe Text)
- upServiceRole :: Lens' UpdateProject (Maybe Text)
- upTags :: Lens' UpdateProject [Tag]
- upTimeoutInMinutes :: Lens' UpdateProject (Maybe Natural)
- upName :: Lens' UpdateProject Text
- updateProjectResponse :: Int -> UpdateProjectResponse
- data UpdateProjectResponse
- uprsProject :: Lens' UpdateProjectResponse (Maybe Project)
- uprsResponseStatus :: Lens' UpdateProjectResponse Int
Creating a Request
Arguments
:: Text | |
-> 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 formatalias/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
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
Arguments
:: Int | |
-> 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:
uprsProject
- Information about the build project that was changed.uprsResponseStatus
- -- | The response status code.
data UpdateProjectResponse #
See: updateProjectResponse
smart constructor.
Response Lenses
uprsProject :: Lens' UpdateProjectResponse (Maybe Project) #
Information about the build project that was changed.
uprsResponseStatus :: Lens' UpdateProjectResponse Int #
- - | The response status code.