Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Changes the settings of a 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
:: 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 output artifacts for the build project.upEnvironment
- Information to be changed about the build environment for the build project.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 formatalias/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.
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.
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.
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:
uprsProject
- Information about the build project that was changed.uprsResponseStatus
- -- | The response status code.
data UpdateProjectResponse Source #
See: updateProjectResponse
smart constructor.
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.