-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CodeBuild SDK.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- Lenses are used for constructing and manipulating types, due to the
-- depth of nesting of AWS types and transparency regarding
-- de/serialisation into more palatable Haskell values. The provided
-- lenses should be compatible with any of the major lens libraries such
-- as lens or lens-family-core.
--
-- See Network.AWS.CodeBuild or the AWS documentation to
-- get started.
@package amazonka-codebuild
@version 1.4.5
module Network.AWS.CodeBuild.Types
-- | API version 2016-10-06 of the Amazon CodeBuild SDK
-- configuration.
codeBuild :: Service
-- | The specified AWS resource cannot be created, because an AWS resource
-- with the same settings already exists.
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An AWS service limit was exceeded for the calling AWS account.
_AccountLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The input value that was provided is not valid.
_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified AWS resource cannot be found.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
data ArtifactNamespace
ANBuildId :: ArtifactNamespace
ANNone :: ArtifactNamespace
data ArtifactPackaging
None :: ArtifactPackaging
Zip :: ArtifactPackaging
data ArtifactsType
Codepipeline :: ArtifactsType
NoArtifacts :: ArtifactsType
S3 :: ArtifactsType
data BuildPhaseType
Build :: BuildPhaseType
Completed :: BuildPhaseType
DownloadSource :: BuildPhaseType
Finalizing :: BuildPhaseType
Install :: BuildPhaseType
PostBuild :: BuildPhaseType
PreBuild :: BuildPhaseType
Provisioning :: BuildPhaseType
Submitted :: BuildPhaseType
UploadArtifacts :: BuildPhaseType
data ComputeType
BuildGENERAL1Large :: ComputeType
BuildGENERAL1Medium :: ComputeType
BuildGENERAL1Small :: ComputeType
data EnvironmentType
LinuxContainer :: EnvironmentType
data LanguageType
Android :: LanguageType
Base :: LanguageType
Docker :: LanguageType
Golang :: LanguageType
Java :: LanguageType
NodeJs :: LanguageType
Python :: LanguageType
Ruby :: LanguageType
data PlatformType
AmazonLinux :: PlatformType
Debian :: PlatformType
Ubuntu :: PlatformType
data ProjectSortByType
CreatedTime :: ProjectSortByType
LastModifiedTime :: ProjectSortByType
Name :: ProjectSortByType
data SortOrderType
Ascending :: SortOrderType
Descending :: SortOrderType
data SourceAuthType
Oauth :: SourceAuthType
data SourceType
STCodecommit :: SourceType
STCodepipeline :: SourceType
STGithub :: SourceType
STS3 :: SourceType
data StatusType
Failed :: StatusType
Fault :: StatusType
InProgress :: StatusType
Stopped :: StatusType
Succeeded :: StatusType
TimedOut :: StatusType
-- | Information about a build.
--
-- See: build smart constructor.
data Build
-- | Creates a value of Build with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bPhases - Information about all previous build phases that
-- have completed, and information about any current build phase that has
-- not yet completed.
-- - bBuildComplete - Whether the build has finished. Valid
-- values include true if completed; otherwise, false.
-- - bArn - The build's Amazon Resource Name (ARN).
-- - bStartTime - When the build process started, expressed in
-- Unix time format.
-- - bArtifacts - Information about the build's output
-- artifacts.
-- - bEnvironment - Information about the build environment for
-- this build.
-- - bInitiator - The entity that started the build. Valid
-- values include: * If AWS CodePipeline started the build, the
-- pipeline's name, for example codepipeline/my-demo-pipeline .
-- * If an AWS Identity and Access Management (IAM) user started the
-- build, the user's name, for example MyUserName . * If the
-- Jenkins plugin for AWS CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin .
-- - bCurrentPhase - The build's current build phase.
-- - bSourceVersion - Any version identifier for the version of
-- the source code to be built.
-- - bLogs - Information about the build's logs in Amazon
-- CloudWatch Logs.
-- - bEndTime - When the build process ended, expressed in Unix
-- time format.
-- - bProjectName - The build project's name.
-- - bBuildStatus - The build's current status. Valid values
-- include: * FAILED : The build failed. * FAULT : The
-- build faulted. * IN_PROGRESS : The build is still in
-- progress. * STOPPED : The build stopped. * SUCCEEDED
-- : The build succeeded. * TIMED_OUT : The build timed
-- out.
-- - bSource - Information about the source code to be
-- built.
-- - bId - The build's unique ID.
-- - bTimeoutInMinutes - How long in minutes for AWS CodeBuild
-- to wait to timeout this build if it does not get marked as
-- completed.
--
build :: Build
-- | Information about all previous build phases that have completed, and
-- information about any current build phase that has not yet completed.
bPhases :: Lens' Build [BuildPhase]
-- | Whether the build has finished. Valid values include true if
-- completed; otherwise, false.
bBuildComplete :: Lens' Build (Maybe Bool)
-- | The build's Amazon Resource Name (ARN).
bArn :: Lens' Build (Maybe Text)
-- | When the build process started, expressed in Unix time format.
bStartTime :: Lens' Build (Maybe UTCTime)
-- | Information about the build's output artifacts.
bArtifacts :: Lens' Build (Maybe BuildArtifacts)
-- | Information about the build environment for this build.
bEnvironment :: Lens' Build (Maybe ProjectEnvironment)
-- | The entity that started the build. Valid values include: * If AWS
-- CodePipeline started the build, the pipeline's name, for example
-- codepipeline/my-demo-pipeline . * If an AWS Identity and
-- Access Management (IAM) user started the build, the user's name, for
-- example MyUserName . * If the Jenkins plugin for AWS
-- CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin .
bInitiator :: Lens' Build (Maybe Text)
-- | The build's current build phase.
bCurrentPhase :: Lens' Build (Maybe Text)
-- | Any version identifier for the version of the source code to be built.
bSourceVersion :: Lens' Build (Maybe Text)
-- | Information about the build's logs in Amazon CloudWatch Logs.
bLogs :: Lens' Build (Maybe LogsLocation)
-- | When the build process ended, expressed in Unix time format.
bEndTime :: Lens' Build (Maybe UTCTime)
-- | The build project's name.
bProjectName :: Lens' Build (Maybe Text)
-- | The build's current status. Valid values include: * FAILED :
-- The build failed. * FAULT : The build faulted. *
-- IN_PROGRESS : The build is still in progress. *
-- STOPPED : The build stopped. * SUCCEEDED : The build
-- succeeded. * TIMED_OUT : The build timed out.
bBuildStatus :: Lens' Build (Maybe StatusType)
-- | Information about the source code to be built.
bSource :: Lens' Build (Maybe ProjectSource)
-- | The build's unique ID.
bId :: Lens' Build (Maybe Text)
-- | How long in minutes for AWS CodeBuild to wait to timeout this build if
-- it does not get marked as completed.
bTimeoutInMinutes :: Lens' Build (Maybe Int)
-- | Information about build output artifacts.
--
-- See: buildArtifacts smart constructor.
data BuildArtifacts
-- | Creates a value of BuildArtifacts with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - baLocation - Information about the build artifacts'
-- location.
-- - baMd5sum - The MD5 hash of the build artifact. You can use
-- this hash along with a checksum tool to confirm both file integrity
-- and authenticity.
-- - baSha256sum - The SHA-256 hash of the build artifact. You
-- can use this hash along with a checksum tool to confirm both file
-- integrity and authenticity.
--
buildArtifacts :: BuildArtifacts
-- | Information about the build artifacts' location.
baLocation :: Lens' BuildArtifacts (Maybe Text)
-- | The MD5 hash of the build artifact. You can use this hash along with a
-- checksum tool to confirm both file integrity and authenticity.
baMd5sum :: Lens' BuildArtifacts (Maybe Text)
-- | The SHA-256 hash of the build artifact. You can use this hash along
-- with a checksum tool to confirm both file integrity and authenticity.
baSha256sum :: Lens' BuildArtifacts (Maybe Text)
-- | Information about a stage for a build.
--
-- See: buildPhase smart constructor.
data BuildPhase
-- | Creates a value of BuildPhase with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bpContexts - Additional information about a build phase,
-- especially to help troubleshoot a failed build.
-- - bpStartTime - When the build phase started, expressed in
-- Unix time format.
-- - bpPhaseStatus - The build phase's current status. Valid
-- values include: * FAILED : The build phase failed. *
-- FAULT : The build phase faulted. * IN_PROGRESS : The
-- build phase is still in progress. * STOPPED : The build phase
-- stopped. * SUCCEEDED : The build phase succeeded. *
-- TIMED_OUT : The build phase timed out.
-- - bpPhaseType - The build phase's name. Valid values include:
-- * BUILD : Core build activities typically occur in this build
-- phase. * COMPLETED : The build has completed. *
-- DOWNLOAD_SOURCE : Source code is being downloaded in this
-- build phase. * FINALIZING : The build process is completing
-- in this build phase. * INSTALL : Installation activities
-- typically occur in this build phase. * POST_BUILD :
-- Post-build activities typically occur in this build phase. *
-- PRE_BUILD : Pre-build activities typically occur in this
-- build phase. * PROVISIONING : The build environment is being
-- set up. * SUBMITTED : The build has been submitted. *
-- UPLOAD_ARTIFACTS : Build output artifacts are being uploaded
-- to output location.
-- - bpEndTime - When the build phase ended, expressed in Unix
-- time format.
-- - bpDurationInSeconds - How long, in seconds, between the
-- build's phase starting and ending times.
--
buildPhase :: BuildPhase
-- | Additional information about a build phase, especially to help
-- troubleshoot a failed build.
bpContexts :: Lens' BuildPhase [PhaseContext]
-- | When the build phase started, expressed in Unix time format.
bpStartTime :: Lens' BuildPhase (Maybe UTCTime)
-- | The build phase's current status. Valid values include: *
-- FAILED : The build phase failed. * FAULT : The build
-- phase faulted. * IN_PROGRESS : The build phase is still in
-- progress. * STOPPED : The build phase stopped. *
-- SUCCEEDED : The build phase succeeded. * TIMED_OUT :
-- The build phase timed out.
bpPhaseStatus :: Lens' BuildPhase (Maybe StatusType)
-- | The build phase's name. Valid values include: * BUILD : Core
-- build activities typically occur in this build phase. *
-- COMPLETED : The build has completed. *
-- DOWNLOAD_SOURCE : Source code is being downloaded in this
-- build phase. * FINALIZING : The build process is completing
-- in this build phase. * INSTALL : Installation activities
-- typically occur in this build phase. * POST_BUILD :
-- Post-build activities typically occur in this build phase. *
-- PRE_BUILD : Pre-build activities typically occur in this
-- build phase. * PROVISIONING : The build environment is being
-- set up. * SUBMITTED : The build has been submitted. *
-- UPLOAD_ARTIFACTS : Build output artifacts are being uploaded
-- to output location.
bpPhaseType :: Lens' BuildPhase (Maybe BuildPhaseType)
-- | When the build phase ended, expressed in Unix time format.
bpEndTime :: Lens' BuildPhase (Maybe UTCTime)
-- | How long, in seconds, between the build's phase starting and ending
-- times.
bpDurationInSeconds :: Lens' BuildPhase (Maybe Integer)
-- | Information about a Docker image that is managed by AWS CodeBuild.
--
-- See: environmentImage smart constructor.
data EnvironmentImage
-- | Creates a value of EnvironmentImage with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
environmentImage :: EnvironmentImage
-- | The Docker image's name.
eiName :: Lens' EnvironmentImage (Maybe Text)
-- | The Docker image's description.
eiDescription :: Lens' EnvironmentImage (Maybe Text)
-- | A set of Docker images that are related by programming language and
-- are managed by AWS CodeBuild.
--
-- See: environmentLanguage smart constructor.
data EnvironmentLanguage
-- | Creates a value of EnvironmentLanguage with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - elImages - The list of Docker images that are related by
-- the specified programming language.
-- - elLanguage - The programming language for the related set
-- of Docker images.
--
environmentLanguage :: EnvironmentLanguage
-- | The list of Docker images that are related by the specified
-- programming language.
elImages :: Lens' EnvironmentLanguage [EnvironmentImage]
-- | The programming language for the related set of Docker images.
elLanguage :: Lens' EnvironmentLanguage (Maybe LanguageType)
-- | A set of Docker images that are related by platform and are managed by
-- AWS CodeBuild.
--
-- See: environmentPlatform smart constructor.
data EnvironmentPlatform
-- | Creates a value of EnvironmentPlatform with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - epPlatform - The platform's name.
-- - epLanguages - The list of programming languages that are
-- available for the specified platform.
--
environmentPlatform :: EnvironmentPlatform
-- | The platform's name.
epPlatform :: Lens' EnvironmentPlatform (Maybe PlatformType)
-- | The list of programming languages that are available for the specified
-- platform.
epLanguages :: Lens' EnvironmentPlatform [EnvironmentLanguage]
-- | Information about an environment variable for a build project or a
-- build.
--
-- See: environmentVariable smart constructor.
data EnvironmentVariable
-- | Creates a value of EnvironmentVariable with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - evName - The environment variable's name or key.
-- - evValue - The environment variable's value.
--
environmentVariable :: Text -> Text -> EnvironmentVariable
-- | The environment variable's name or key.
evName :: Lens' EnvironmentVariable Text
-- | The environment variable's value.
evValue :: Lens' EnvironmentVariable Text
-- | Information about build logs in Amazon CloudWatch Logs.
--
-- See: logsLocation smart constructor.
data LogsLocation
-- | Creates a value of LogsLocation with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - llDeepLink - The URL to an individual build log in Amazon
-- CloudWatch Logs.
-- - llGroupName - The name of the Amazon CloudWatch Logs group
-- for the associated build logs.
-- - llStreamName - The name of the Amazon CloudWatch Logs
-- stream for the associated build logs.
--
logsLocation :: LogsLocation
-- | The URL to an individual build log in Amazon CloudWatch Logs.
llDeepLink :: Lens' LogsLocation (Maybe Text)
-- | The name of the Amazon CloudWatch Logs group for the associated build
-- logs.
llGroupName :: Lens' LogsLocation (Maybe Text)
-- | The name of the Amazon CloudWatch Logs stream for the associated build
-- logs.
llStreamName :: Lens' LogsLocation (Maybe Text)
-- | Additional information about a build phase that has an error, which
-- you can use to help troubleshoot a failed build.
--
-- See: phaseContext smart constructor.
data PhaseContext
-- | Creates a value of PhaseContext with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pcMessage - An explanation of the build phase's context.
-- This explanation may include a command ID and an exit code.
-- - pcStatusCode - The status code for the context of the build
-- phase.
--
phaseContext :: PhaseContext
-- | An explanation of the build phase's context. This explanation may
-- include a command ID and an exit code.
pcMessage :: Lens' PhaseContext (Maybe Text)
-- | The status code for the context of the build phase.
pcStatusCode :: Lens' PhaseContext (Maybe Text)
-- | Information about a build project.
--
-- See: project smart constructor.
data Project
-- | Creates a value of Project with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pArn - The build project's Amazon Resource Name (ARN).
-- - pArtifacts - Information about the build project's build
-- output artifacts.
-- - pEnvironment - Information about the build environment for
-- this build project.
-- - pCreated - When the build project was created, expressed in
-- Unix time format.
-- - pName - The build project's name.
-- - pSource - Information about the build project's build input
-- source code.
-- - pEncryptionKey - The AWS Key Management Service (AWS KMS)
-- customer master key (CMK) to be used for encrypting the build
-- project's build output artifacts. This is expressed either as the
-- CMK's Amazon Resource Name (ARN) or, if specified, the CMK's alias
-- (using the format alias/alias-name ).
-- - pLastModified - When the build project's settings were last
-- modified, expressed in Unix time format.
-- - pDescription - A meaningful description of the build
-- project.
-- - pServiceRole - 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.
-- - pTags - The tags for this build project. These tags are
-- available for use by AWS services that support AWS CodeBuild build
-- project tags.
-- - pTimeoutInMinutes - How long 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. The default is 60 minutes.
--
project :: Project
-- | The build project's Amazon Resource Name (ARN).
pArn :: Lens' Project (Maybe Text)
-- | Information about the build project's build output artifacts.
pArtifacts :: Lens' Project (Maybe ProjectArtifacts)
-- | Information about the build environment for this build project.
pEnvironment :: Lens' Project (Maybe ProjectEnvironment)
-- | When the build project was created, expressed in Unix time format.
pCreated :: Lens' Project (Maybe UTCTime)
-- | The build project's name.
pName :: Lens' Project (Maybe Text)
-- | Information about the build project's build input source code.
pSource :: Lens' Project (Maybe ProjectSource)
-- | The AWS Key Management Service (AWS KMS) customer master key (CMK) to
-- be used for encrypting the build project's build output artifacts.
-- This is expressed either as the CMK's Amazon Resource Name (ARN) or,
-- if specified, the CMK's alias (using the format
-- alias/alias-name ).
pEncryptionKey :: Lens' Project (Maybe Text)
-- | When the build project's settings were last modified, expressed in
-- Unix time format.
pLastModified :: Lens' Project (Maybe UTCTime)
-- | A meaningful description of the build project.
pDescription :: Lens' Project (Maybe Text)
-- | 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.
pServiceRole :: Lens' Project (Maybe Text)
-- | The tags for this build project. These tags are available for use by
-- AWS services that support AWS CodeBuild build project tags.
pTags :: Lens' Project [Tag]
-- | How long 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. The default is 60 minutes.
pTimeoutInMinutes :: Lens' Project (Maybe Natural)
-- | Information about the build project's build output artifacts.
--
-- See: projectArtifacts smart constructor.
data ProjectArtifacts
-- | Creates a value of ProjectArtifacts with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - paPackaging - The type of build output artifact to create,
-- as follows: * If type is set to CODEPIPELINE , then
-- AWS CodePipeline will ignore this value if specified. This is because
-- AWS CodePipeline manages its build output artifacts instead of AWS
-- CodeBuild. * If type is set to NO_ARTIFACTS , then
-- this value will be ignored if specified, because no build output will
-- be produced. * If type is set to S3 , valid values
-- include: * NONE : AWS CodeBuild will create in the output
-- bucket a folder containing the build output. This is the default if
-- packaging is not specified. * ZIP : AWS CodeBuild
-- will create in the output bucket a ZIP file containing the build
-- output.
-- - paPath - Along with namespaceType and
-- name , the pattern that AWS CodeBuild will use to name and
-- store the output artifact, as follows: * If type is set to
-- CODEPIPELINE , then AWS CodePipeline will ignore this value
-- if specified. This is because AWS CodePipeline manages its build
-- output names instead of AWS CodeBuild. * If type is set to
-- NO_ARTIFACTS , then this value will be ignored if specified,
-- because no build output will be produced. * If type is set to
-- S3 , this is the path to the output artifact. If
-- path is not specified, then path will not be used.
-- For example, if path is set to MyArtifacts ,
-- namespaceType is set to NONE , and name is
-- set to MyArtifact.zip , then the output artifact would be
-- stored in the output bucket at MyArtifacts/MyArtifact.zip
-- .
-- - paLocation - Information about the build output artifact
-- location, as follows: * If type is set to
-- CODEPIPELINE , then AWS CodePipeline will ignore this value
-- if specified. This is because AWS CodePipeline manages its build
-- output locations instead of AWS CodeBuild. * If type is set
-- to NO_ARTIFACTS , then this value will be ignored if
-- specified, because no build output will be produced. * If
-- type is set to S3 , this is the name of the output
-- bucket. If path is not also specified, then location
-- can also specify the path of the output artifact in the output
-- bucket.
-- - paName - Along with path and
-- namespaceType , the pattern that AWS CodeBuild will use to
-- name and store the output artifact, as follows: * If type is
-- set to CODEPIPELINE , then AWS CodePipeline will ignore this
-- value if specified. This is because AWS CodePipeline manages its build
-- output names instead of AWS CodeBuild. * If type is set to
-- NO_ARTIFACTS , then this value will be ignored if specified,
-- because no build output will be produced. * If type is set to
-- S3 , this is the name of the output artifact object. For
-- example, if path is set to MyArtifacts ,
-- namespaceType is set to BUILD_ID , and name
-- is set to MyArtifact.zip , then the output artifact would be
-- stored in MyArtifacts/build-ID /MyArtifact.zip .
-- - paNamespaceType - Along with path and
-- name , the pattern that AWS CodeBuild will use to determine
-- the name and location to store the output artifact, as follows: * If
-- type is set to CODEPIPELINE , then AWS CodePipeline
-- will ignore this value if specified. This is because AWS CodePipeline
-- manages its build output names instead of AWS CodeBuild. * If
-- type is set to NO_ARTIFACTS , then this value will
-- be ignored if specified, because no build output will be produced. *
-- If type is set to S3 , then valid values include: *
-- BUILD_ID : Include the build ID in the location of the build
-- output artifact. * NONE : Do not include the build ID. This
-- is the default if namespaceType is not specified. For
-- example, if path is set to MyArtifacts ,
-- namespaceType is set to BUILD_ID , and name
-- is set to MyArtifact.zip , then the output artifact would be
-- stored in MyArtifacts/build-ID /MyArtifact.zip .
-- - paType - The build output artifact's type. Valid values
-- include: * CODEPIPELINE : The build project with have build
-- output generated through AWS CodePipeline. * NO_ARTIFACTS :
-- The build project will not produce any build output. * S3 :
-- The build project will store build output in Amazon Simple Storage
-- Service (Amazon S3).
--
projectArtifacts :: ArtifactsType -> ProjectArtifacts
-- | The type of build output artifact to create, as follows: * If
-- type is set to CODEPIPELINE , then AWS CodePipeline
-- will ignore this value if specified. This is because AWS CodePipeline
-- manages its build output artifacts instead of AWS CodeBuild. * If
-- type is set to NO_ARTIFACTS , then this value will
-- be ignored if specified, because no build output will be produced. *
-- If type is set to S3 , valid values include: *
-- NONE : AWS CodeBuild will create in the output bucket a
-- folder containing the build output. This is the default if
-- packaging is not specified. * ZIP : AWS CodeBuild
-- will create in the output bucket a ZIP file containing the build
-- output.
paPackaging :: Lens' ProjectArtifacts (Maybe ArtifactPackaging)
-- | Along with namespaceType and name , the pattern that
-- AWS CodeBuild will use to name and store the output artifact, as
-- follows: * If type is set to CODEPIPELINE , then AWS
-- CodePipeline will ignore this value if specified. This is because AWS
-- CodePipeline manages its build output names instead of AWS CodeBuild.
-- * If type is set to NO_ARTIFACTS , then this value
-- will be ignored if specified, because no build output will be
-- produced. * If type is set to S3 , this is the path
-- to the output artifact. If path is not specified, then
-- path will not be used. For example, if path is set
-- to MyArtifacts , namespaceType is set to
-- NONE , and name is set to MyArtifact.zip ,
-- then the output artifact would be stored in the output bucket at
-- MyArtifacts/MyArtifact.zip .
paPath :: Lens' ProjectArtifacts (Maybe Text)
-- | Information about the build output artifact location, as follows: * If
-- type is set to CODEPIPELINE , then AWS CodePipeline
-- will ignore this value if specified. This is because AWS CodePipeline
-- manages its build output locations instead of AWS CodeBuild. * If
-- type is set to NO_ARTIFACTS , then this value will
-- be ignored if specified, because no build output will be produced. *
-- If type is set to S3 , this is the name of the
-- output bucket. If path is not also specified, then
-- location can also specify the path of the output artifact in
-- the output bucket.
paLocation :: Lens' ProjectArtifacts (Maybe Text)
-- | Along with path and namespaceType , the pattern that
-- AWS CodeBuild will use to name and store the output artifact, as
-- follows: * If type is set to CODEPIPELINE , then AWS
-- CodePipeline will ignore this value if specified. This is because AWS
-- CodePipeline manages its build output names instead of AWS CodeBuild.
-- * If type is set to NO_ARTIFACTS , then this value
-- will be ignored if specified, because no build output will be
-- produced. * If type is set to S3 , this is the name
-- of the output artifact object. For example, if path is set to
-- MyArtifacts , namespaceType is set to
-- BUILD_ID , and name is set to
-- MyArtifact.zip , then the output artifact would be stored in
-- MyArtifacts/build-ID /MyArtifact.zip .
paName :: Lens' ProjectArtifacts (Maybe Text)
-- | Along with path and name , the pattern that AWS
-- CodeBuild will use to determine the name and location to store the
-- output artifact, as follows: * If type is set to
-- CODEPIPELINE , then AWS CodePipeline will ignore this value
-- if specified. This is because AWS CodePipeline manages its build
-- output names instead of AWS CodeBuild. * If type is set to
-- NO_ARTIFACTS , then this value will be ignored if specified,
-- because no build output will be produced. * If type is set to
-- S3 , then valid values include: * BUILD_ID : Include
-- the build ID in the location of the build output artifact. *
-- NONE : Do not include the build ID. This is the default if
-- namespaceType is not specified. For example, if path
-- is set to MyArtifacts , namespaceType is set to
-- BUILD_ID , and name is set to
-- MyArtifact.zip , then the output artifact would be stored in
-- MyArtifacts/build-ID /MyArtifact.zip .
paNamespaceType :: Lens' ProjectArtifacts (Maybe ArtifactNamespace)
-- | The build output artifact's type. Valid values include: *
-- CODEPIPELINE : The build project with have build output
-- generated through AWS CodePipeline. * NO_ARTIFACTS : The
-- build project will not produce any build output. * S3 : The
-- build project will store build output in Amazon Simple Storage Service
-- (Amazon S3).
paType :: Lens' ProjectArtifacts ArtifactsType
-- | Information about the build project's build environment.
--
-- See: projectEnvironment smart constructor.
data ProjectEnvironment
-- | Creates a value of ProjectEnvironment with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - peEnvironmentVariables - A set of environment variables to
-- make available to builds for this build project.
-- - peType - The type of build environment to use for related
-- builds. The only valid value is LINUX_CONTAINER , which
-- represents a Linux-based build environment.
-- - peImage - The ID of the Docker image to use for this build
-- project.
-- - peComputeType - Information about the compute resources the
-- build project will use. Available values include: *
-- BUILD_GENERAL1_SMALL : Use up to 3 GB memory and 2 vCPUs for
-- builds. * BUILD_GENERAL1_MEDIUM : Use up to 7 GB memory and 4
-- vCPUs for builds. * BUILD_GENERAL1_LARGE : Use up to 15 GB
-- memory and 8 vCPUs for builds.
--
projectEnvironment :: EnvironmentType -> Text -> ComputeType -> ProjectEnvironment
-- | A set of environment variables to make available to builds for this
-- build project.
peEnvironmentVariables :: Lens' ProjectEnvironment [EnvironmentVariable]
-- | The type of build environment to use for related builds. The only
-- valid value is LINUX_CONTAINER , which represents a
-- Linux-based build environment.
peType :: Lens' ProjectEnvironment EnvironmentType
-- | The ID of the Docker image to use for this build project.
peImage :: Lens' ProjectEnvironment Text
-- | Information about the compute resources the build project will use.
-- Available values include: * BUILD_GENERAL1_SMALL : Use up to
-- 3 GB memory and 2 vCPUs for builds. * BUILD_GENERAL1_MEDIUM :
-- Use up to 7 GB memory and 4 vCPUs for builds. *
-- BUILD_GENERAL1_LARGE : Use up to 15 GB memory and 8 vCPUs for
-- builds.
peComputeType :: Lens' ProjectEnvironment ComputeType
-- | Information about the build project's build input source code.
--
-- See: projectSource smart constructor.
data ProjectSource
-- | Creates a value of ProjectSource with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - psLocation - Information about the location of the source
-- code to be built. Valid values include: * For source code settings
-- that are specified in the source action of a pipeline in AWS
-- CodePipeline, location should not be specified. If it is
-- specified, AWS CodePipeline will ignore it. This is because AWS
-- CodePipeline uses the settings in a pipeline's source action instead
-- of this value. * For source code in an AWS CodeCommit repository, the
-- HTTPS clone URL to the repository that contains the source code and
-- the build spec (for example,
-- https://git-codecommit./region-ID/
-- .amazonaws.comv1repos/repo-name ). * For source
-- code in an Amazon Simple Storage Service (Amazon S3) input bucket, the
-- path to the ZIP file that contains the source code (for example,
-- bucket-name /path /to /object-name
-- .zip ) * For source code in a GitHub repository, the HTTPS clone
-- URL, including the user name and personal access token, to the
-- repository that contains the source code and the build spec (for
-- example, https:///login-user-name/
-- :personal-access-token github.com/repo-owner-name
-- /repo-name .git@ ). For more information, see Creating an
-- Access Token for Command-Line Use on the GitHub Help website.
-- - psAuth - Information about the authorization settings for
-- AWS CodeBuild to access the source code to be built. This information
-- is only for the AWS CodeBuild console's use. Your code should not get
-- or set this information directly.
-- - psBuildspec - The build spec declaration to use for this
-- build project's related builds. If this value is not specified, a
-- build spec must be included along with the source code to be
-- built.
-- - psType - The type of repository that contains the source
-- code to be built. Valid values include: * CODECOMMIT : The
-- source code is in an AWS CodeCommit repository. *
-- CODEPIPELINE : The source code settings are specified in the
-- source action of a pipeline in AWS CodePipeline. * GITHUB :
-- The source code is in a GitHub repository. * S3 : The source
-- code is in an Amazon Simple Storage Service (Amazon S3) input
-- bucket.
--
projectSource :: SourceType -> ProjectSource
-- | Information about the location of the source code to be built. Valid
-- values include: * For source code settings that are specified in the
-- source action of a pipeline in AWS CodePipeline, location
-- should not be specified. If it is specified, AWS CodePipeline will
-- ignore it. This is because AWS CodePipeline uses the settings in a
-- pipeline's source action instead of this value. * For source code in
-- an AWS CodeCommit repository, the HTTPS clone URL to the repository
-- that contains the source code and the build spec (for example,
-- https://git-codecommit./region-ID/
-- .amazonaws.comv1repos/repo-name ). * For source
-- code in an Amazon Simple Storage Service (Amazon S3) input bucket, the
-- path to the ZIP file that contains the source code (for example,
-- bucket-name /path /to /object-name
-- .zip ) * For source code in a GitHub repository, the HTTPS clone
-- URL, including the user name and personal access token, to the
-- repository that contains the source code and the build spec (for
-- example, https:///login-user-name/
-- :personal-access-token github.com/repo-owner-name
-- /repo-name .git@ ). For more information, see Creating an
-- Access Token for Command-Line Use on the GitHub Help website.
psLocation :: Lens' ProjectSource (Maybe Text)
-- | Information about the authorization settings for AWS CodeBuild to
-- access the source code to be built. This information is only for the
-- AWS CodeBuild console's use. Your code should not get or set this
-- information directly.
psAuth :: Lens' ProjectSource (Maybe SourceAuth)
-- | The build spec declaration to use for this build project's related
-- builds. If this value is not specified, a build spec must be included
-- along with the source code to be built.
psBuildspec :: Lens' ProjectSource (Maybe Text)
-- | The type of repository that contains the source code to be built.
-- Valid values include: * CODECOMMIT : The source code is in an
-- AWS CodeCommit repository. * CODEPIPELINE : The source code
-- settings are specified in the source action of a pipeline in AWS
-- CodePipeline. * GITHUB : The source code is in a GitHub
-- repository. * S3 : The source code is in an Amazon Simple
-- Storage Service (Amazon S3) input bucket.
psType :: Lens' ProjectSource SourceType
-- | Information about the authorization settings for AWS CodeBuild to
-- access the source code to be built.
--
-- This information is only for the AWS CodeBuild console's use. Your
-- code should not get or set this information directly.
--
-- See: sourceAuth smart constructor.
data SourceAuth
-- | Creates a value of SourceAuth with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - saResource - The resource value that applies to the
-- specified authorization type.
-- - saType - The authorization type to use. The only valid
-- value is OAUTH , which represents the OAuth authorization
-- type.
--
sourceAuth :: SourceAuthType -> SourceAuth
-- | The resource value that applies to the specified authorization type.
saResource :: Lens' SourceAuth (Maybe Text)
-- | The authorization type to use. The only valid value is OAUTH
-- , which represents the OAuth authorization type.
saType :: Lens' SourceAuth SourceAuthType
-- | A tag, consisting of a key and a value.
--
-- This tag is available for use by AWS services that support tags in AWS
-- CodeBuild.
--
-- See: tag smart constructor.
data Tag
-- | Creates a value of Tag with the minimum fields required to make
-- a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tag :: Tag
-- | The tag's value.
tagValue :: Lens' Tag (Maybe Text)
-- | The tag's key.
tagKey :: Lens' Tag (Maybe Text)
module Network.AWS.CodeBuild.Waiters
-- | Creates a build project.
module Network.AWS.CodeBuild.CreateProject
-- | 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.
--
createProject :: Text -> ProjectSource -> ProjectArtifacts -> ProjectEnvironment -> CreateProject
-- | See: createProject smart constructor.
data CreateProject
-- | 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 ).
cpEncryptionKey :: Lens' CreateProject (Maybe Text)
-- | A meaningful description of the build project.
cpDescription :: Lens' CreateProject (Maybe Text)
-- | 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.
cpServiceRole :: Lens' CreateProject (Maybe Text)
-- | A set of tags for this build project. These tags are available for use
-- by AWS services that support AWS CodeBuild build project tags.
cpTags :: Lens' CreateProject [Tag]
-- | 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.
cpTimeoutInMinutes :: Lens' CreateProject (Maybe Natural)
-- | The build project's name.
cpName :: Lens' CreateProject Text
-- | Information about the build project's build input source code.
cpSource :: Lens' CreateProject ProjectSource
-- | Information about the build project's build output artifacts.
cpArtifacts :: Lens' CreateProject ProjectArtifacts
-- | Information about the build project's build environment.
cpEnvironment :: Lens' CreateProject ProjectEnvironment
-- | 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:
--
--
createProjectResponse :: Int -> CreateProjectResponse
-- | See: createProjectResponse smart constructor.
data CreateProjectResponse
-- | Information about the build project that was created.
cprsProject :: Lens' CreateProjectResponse (Maybe Project)
-- |
-- - - | The response status code.
--
cprsResponseStatus :: Lens' CreateProjectResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.CreateProject.CreateProjectResponse
instance Data.Data.Data Network.AWS.CodeBuild.CreateProject.CreateProjectResponse
instance GHC.Show.Show Network.AWS.CodeBuild.CreateProject.CreateProjectResponse
instance GHC.Read.Read Network.AWS.CodeBuild.CreateProject.CreateProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.CreateProject.CreateProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.CreateProject.CreateProject
instance Data.Data.Data Network.AWS.CodeBuild.CreateProject.CreateProject
instance GHC.Show.Show Network.AWS.CodeBuild.CreateProject.CreateProject
instance GHC.Read.Read Network.AWS.CodeBuild.CreateProject.CreateProject
instance GHC.Classes.Eq Network.AWS.CodeBuild.CreateProject.CreateProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.CreateProject.CreateProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.CreateProject.CreateProject
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.CreateProject.CreateProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.CreateProject.CreateProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.CreateProject.CreateProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.CreateProject.CreateProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.CreateProject.CreateProject
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.CreateProject.CreateProjectResponse
-- | Attempts to stop running a build.
module Network.AWS.CodeBuild.StopBuild
-- | Creates a value of StopBuild with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - sbId - The ID of the build to attempt to stop running.
--
stopBuild :: Text -> StopBuild
-- | See: stopBuild smart constructor.
data StopBuild
-- | The ID of the build to attempt to stop running.
sbId :: Lens' StopBuild Text
-- | Creates a value of StopBuildResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - sbrsBuild - Information about the build that was attempted
-- to be stopped.
-- - sbrsResponseStatus - -- | The response status code.
--
stopBuildResponse :: Int -> StopBuildResponse
-- | See: stopBuildResponse smart constructor.
data StopBuildResponse
-- | Information about the build that was attempted to be stopped.
sbrsBuild :: Lens' StopBuildResponse (Maybe Build)
-- |
-- - - | The response status code.
--
sbrsResponseStatus :: Lens' StopBuildResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.StopBuild.StopBuildResponse
instance Data.Data.Data Network.AWS.CodeBuild.StopBuild.StopBuildResponse
instance GHC.Show.Show Network.AWS.CodeBuild.StopBuild.StopBuildResponse
instance GHC.Read.Read Network.AWS.CodeBuild.StopBuild.StopBuildResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.StopBuild.StopBuildResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.StopBuild.StopBuild
instance Data.Data.Data Network.AWS.CodeBuild.StopBuild.StopBuild
instance GHC.Show.Show Network.AWS.CodeBuild.StopBuild.StopBuild
instance GHC.Read.Read Network.AWS.CodeBuild.StopBuild.StopBuild
instance GHC.Classes.Eq Network.AWS.CodeBuild.StopBuild.StopBuild
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.StopBuild.StopBuild
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.StopBuild.StopBuild
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.StopBuild.StopBuild
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.StopBuild.StopBuild
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.StopBuild.StopBuild
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.StopBuild.StopBuild
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.StopBuild.StopBuild
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.StopBuild.StopBuildResponse
-- | Gets information about Docker images that are managed by AWS
-- CodeBuild.
module Network.AWS.CodeBuild.ListCuratedEnvironmentImages
-- | Creates a value of ListCuratedEnvironmentImages with the
-- minimum fields required to make a request.
listCuratedEnvironmentImages :: ListCuratedEnvironmentImages
-- | See: listCuratedEnvironmentImages smart constructor.
data ListCuratedEnvironmentImages
-- | Creates a value of ListCuratedEnvironmentImagesResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listCuratedEnvironmentImagesResponse :: Int -> ListCuratedEnvironmentImagesResponse
-- | See: listCuratedEnvironmentImagesResponse smart
-- constructor.
data ListCuratedEnvironmentImagesResponse
-- | Information about supported platforms for Docker images that are
-- managed by AWS CodeBuild.
lceirsPlatforms :: Lens' ListCuratedEnvironmentImagesResponse [EnvironmentPlatform]
-- |
-- - - | The response status code.
--
lceirsResponseStatus :: Lens' ListCuratedEnvironmentImagesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
instance Data.Data.Data Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
instance GHC.Show.Show Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
instance GHC.Read.Read Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Data.Data.Data Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance GHC.Show.Show Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance GHC.Read.Read Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance GHC.Classes.Eq Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImages
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
-- | Gets information about one or more builds.
module Network.AWS.CodeBuild.BatchGetBuilds
-- | Creates a value of BatchGetBuilds with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bgbIds - The IDs of the builds to get information
-- about.
--
batchGetBuilds :: NonEmpty Text -> BatchGetBuilds
-- | See: batchGetBuilds smart constructor.
data BatchGetBuilds
-- | The IDs of the builds to get information about.
bgbIds :: Lens' BatchGetBuilds (NonEmpty Text)
-- | Creates a value of BatchGetBuildsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetBuildsResponse :: Int -> BatchGetBuildsResponse
-- | See: batchGetBuildsResponse smart constructor.
data BatchGetBuildsResponse
-- | Information about the requested builds.
bgbrsBuilds :: Lens' BatchGetBuildsResponse [Build]
-- | The IDs of builds for which information could not be found.
bgbrsBuildsNotFound :: Lens' BatchGetBuildsResponse (Maybe (NonEmpty Text))
-- |
-- - - | The response status code.
--
bgbrsResponseStatus :: Lens' BatchGetBuildsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
instance Data.Data.Data Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
instance GHC.Show.Show Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
instance GHC.Read.Read Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Data.Data.Data Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance GHC.Show.Show Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance GHC.Read.Read Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance GHC.Classes.Eq Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuilds
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
-- | Gets information about one or more build projects.
module Network.AWS.CodeBuild.BatchGetProjects
-- | Creates a value of BatchGetProjects with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bgpNames - The names of the build projects to get
-- information about.
--
batchGetProjects :: NonEmpty Text -> BatchGetProjects
-- | See: batchGetProjects smart constructor.
data BatchGetProjects
-- | The names of the build projects to get information about.
bgpNames :: Lens' BatchGetProjects (NonEmpty Text)
-- | Creates a value of BatchGetProjectsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetProjectsResponse :: Int -> BatchGetProjectsResponse
-- | See: batchGetProjectsResponse smart constructor.
data BatchGetProjectsResponse
-- | The names of build projects for which information could not be found.
bgprsProjectsNotFound :: Lens' BatchGetProjectsResponse (Maybe (NonEmpty Text))
-- | Information about the requested build projects.
bgprsProjects :: Lens' BatchGetProjectsResponse [Project]
-- |
-- - - | The response status code.
--
bgprsResponseStatus :: Lens' BatchGetProjectsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
instance Data.Data.Data Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
instance GHC.Show.Show Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
instance GHC.Read.Read Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance Data.Data.Data Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance GHC.Show.Show Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance GHC.Read.Read Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance GHC.Classes.Eq Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjects
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
-- | Gets a list of build IDs for the specified build project, with each
-- build ID representing a single build.
module Network.AWS.CodeBuild.ListBuildsForProject
-- | Creates a value of ListBuildsForProject with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lbfpSortOrder - The order to list build IDs. Valid values
-- include: * ASCENDING : List the build IDs in ascending order
-- by build ID. * DESCENDING : List the build IDs in descending
-- order by build ID.
-- - lbfpNextToken - During a previous call, if there are more
-- than 100 items in the list, only the first 100 items are returned,
-- along with a unique string called a next token . To get the
-- next batch of items in the list, call this operation again, adding the
-- next token to the call. To get all of the items in the list, keep
-- calling this operation with each subsequent next token that is
-- returned, until no more next tokens are returned.
-- - lbfpProjectName - The name of the build project to get a
-- list of build IDs for.
--
listBuildsForProject :: Text -> ListBuildsForProject
-- | See: listBuildsForProject smart constructor.
data ListBuildsForProject
-- | The order to list build IDs. Valid values include: *
-- ASCENDING : List the build IDs in ascending order by build
-- ID. * DESCENDING : List the build IDs in descending order by
-- build ID.
lbfpSortOrder :: Lens' ListBuildsForProject (Maybe SortOrderType)
-- | During a previous call, if there are more than 100 items in the list,
-- only the first 100 items are returned, along with a unique string
-- called a next token . To get the next batch of items in the
-- list, call this operation again, adding the next token to the call. To
-- get all of the items in the list, keep calling this operation with
-- each subsequent next token that is returned, until no more next tokens
-- are returned.
lbfpNextToken :: Lens' ListBuildsForProject (Maybe Text)
-- | The name of the build project to get a list of build IDs for.
lbfpProjectName :: Lens' ListBuildsForProject Text
-- | Creates a value of ListBuildsForProjectResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lbfprsIds - A list of build IDs for the specified build
-- project, with each build ID representing a single build.
-- - lbfprsNextToken - If there are more than 100 items in the
-- list, only the first 100 items are returned, along with a unique
-- string called a next token . To get the next batch of items in
-- the list, call this operation again, adding the next token to the
-- call.
-- - lbfprsResponseStatus - -- | The response status code.
--
listBuildsForProjectResponse :: Int -> ListBuildsForProjectResponse
-- | See: listBuildsForProjectResponse smart constructor.
data ListBuildsForProjectResponse
-- | A list of build IDs for the specified build project, with each build
-- ID representing a single build.
lbfprsIds :: Lens' ListBuildsForProjectResponse (Maybe (NonEmpty Text))
-- | If there are more than 100 items in the list, only the first 100 items
-- are returned, along with a unique string called a next token .
-- To get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
lbfprsNextToken :: Lens' ListBuildsForProjectResponse (Maybe Text)
-- |
-- - - | The response status code.
--
lbfprsResponseStatus :: Lens' ListBuildsForProjectResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance Data.Data.Data Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance GHC.Show.Show Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance GHC.Read.Read Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Data.Data.Data Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance GHC.Show.Show Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance GHC.Read.Read Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance GHC.Classes.Eq Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProject
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
-- | Starts running a build.
module Network.AWS.CodeBuild.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.
--
startBuild :: Text -> StartBuild
-- | See: startBuild smart constructor.
data StartBuild
-- | A set of environment variables that overrides, for this build only,
-- the latest ones already defined in the corresponding build project.
sbEnvironmentVariablesOverride :: Lens' StartBuild [EnvironmentVariable]
-- | 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.
sbTimeoutInMinutesOverride :: Lens' StartBuild (Maybe Natural)
-- | 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.
sbSourceVersion :: Lens' StartBuild (Maybe Text)
-- | A build spec declaration that overrides, for this build only, the
-- latest one already defined in the corresponding build project.
sbBuildspecOverride :: Lens' StartBuild (Maybe Text)
-- | Build output artifact settings that override, for this build only, the
-- latest ones already defined in the corresponding build project.
sbArtifactsOverride :: Lens' StartBuild (Maybe ProjectArtifacts)
-- | The name of the build project to start running a build.
sbProjectName :: Lens' StartBuild Text
-- | 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:
--
--
startBuildResponse :: Int -> StartBuildResponse
-- | See: startBuildResponse smart constructor.
data StartBuildResponse
-- | Information about the build to be run.
srsBuild :: Lens' StartBuildResponse (Maybe Build)
-- |
-- - - | The response status code.
--
srsResponseStatus :: Lens' StartBuildResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.StartBuild.StartBuildResponse
instance Data.Data.Data Network.AWS.CodeBuild.StartBuild.StartBuildResponse
instance GHC.Show.Show Network.AWS.CodeBuild.StartBuild.StartBuildResponse
instance GHC.Read.Read Network.AWS.CodeBuild.StartBuild.StartBuildResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.StartBuild.StartBuildResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.StartBuild.StartBuild
instance Data.Data.Data Network.AWS.CodeBuild.StartBuild.StartBuild
instance GHC.Show.Show Network.AWS.CodeBuild.StartBuild.StartBuild
instance GHC.Read.Read Network.AWS.CodeBuild.StartBuild.StartBuild
instance GHC.Classes.Eq Network.AWS.CodeBuild.StartBuild.StartBuild
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.StartBuild.StartBuild
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.StartBuild.StartBuild
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.StartBuild.StartBuild
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.StartBuild.StartBuild
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.StartBuild.StartBuild
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.StartBuild.StartBuild
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.StartBuild.StartBuild
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.StartBuild.StartBuildResponse
-- | Gets a list of build IDs, with each build ID representing a single
-- build.
module Network.AWS.CodeBuild.ListBuilds
-- | Creates a value of ListBuilds with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lbSortOrder - The order to list build IDs. Valid values
-- include: * ASCENDING : List the build IDs in ascending order
-- by build ID. * DESCENDING : List the build IDs in descending
-- order by build ID.
-- - lbNextToken - During a previous call, if there are more
-- than 100 items in the list, only the first 100 items are returned,
-- along with a unique string called a next token . To get the
-- next batch of items in the list, call this operation again, adding the
-- next token to the call. To get all of the items in the list, keep
-- calling this operation with each subsequent next token that is
-- returned, until no more next tokens are returned.
--
listBuilds :: ListBuilds
-- | See: listBuilds smart constructor.
data ListBuilds
-- | The order to list build IDs. Valid values include: *
-- ASCENDING : List the build IDs in ascending order by build
-- ID. * DESCENDING : List the build IDs in descending order by
-- build ID.
lbSortOrder :: Lens' ListBuilds (Maybe SortOrderType)
-- | During a previous call, if there are more than 100 items in the list,
-- only the first 100 items are returned, along with a unique string
-- called a next token . To get the next batch of items in the
-- list, call this operation again, adding the next token to the call. To
-- get all of the items in the list, keep calling this operation with
-- each subsequent next token that is returned, until no more next tokens
-- are returned.
lbNextToken :: Lens' ListBuilds (Maybe Text)
-- | Creates a value of ListBuildsResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lbrsIds - A list of build IDs, with each build ID
-- representing a single build.
-- - lbrsNextToken - If there are more than 100 items in the
-- list, only the first 100 items are returned, along with a unique
-- string called a next token . To get the next batch of items in
-- the list, call this operation again, adding the next token to the
-- call.
-- - lbrsResponseStatus - -- | The response status code.
--
listBuildsResponse :: Int -> ListBuildsResponse
-- | See: listBuildsResponse smart constructor.
data ListBuildsResponse
-- | A list of build IDs, with each build ID representing a single build.
lbrsIds :: Lens' ListBuildsResponse (Maybe (NonEmpty Text))
-- | If there are more than 100 items in the list, only the first 100 items
-- are returned, along with a unique string called a next token .
-- To get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
lbrsNextToken :: Lens' ListBuildsResponse (Maybe Text)
-- |
-- - - | The response status code.
--
lbrsResponseStatus :: Lens' ListBuildsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.ListBuilds.ListBuildsResponse
instance Data.Data.Data Network.AWS.CodeBuild.ListBuilds.ListBuildsResponse
instance GHC.Show.Show Network.AWS.CodeBuild.ListBuilds.ListBuildsResponse
instance GHC.Read.Read Network.AWS.CodeBuild.ListBuilds.ListBuildsResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.ListBuilds.ListBuildsResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance Data.Data.Data Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance GHC.Show.Show Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance GHC.Read.Read Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance GHC.Classes.Eq Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.ListBuilds.ListBuilds
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.ListBuilds.ListBuildsResponse
-- | Changes the settings of an existing build project.
module Network.AWS.CodeBuild.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 format alias/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.
--
updateProject :: Text -> UpdateProject
-- | See: updateProject smart constructor.
data UpdateProject
-- | Information to be changed about the build project's build output
-- artifacts.
upArtifacts :: Lens' UpdateProject (Maybe ProjectArtifacts)
-- | Information to be changed about the build project's build environment.
upEnvironment :: Lens' UpdateProject (Maybe ProjectEnvironment)
-- | Information to be changed about the build project's build input source
-- code.
upSource :: Lens' UpdateProject (Maybe ProjectSource)
-- | 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 ).
upEncryptionKey :: Lens' UpdateProject (Maybe Text)
-- | A new or replacement description of the build project.
upDescription :: 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.
upServiceRole :: Lens' UpdateProject (Maybe Text)
-- | 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.
upTags :: Lens' UpdateProject [Tag]
-- | 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.
upTimeoutInMinutes :: Lens' UpdateProject (Maybe Natural)
-- | The name of the existing build project to change settings.
upName :: Lens' UpdateProject Text
-- | 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:
--
--
updateProjectResponse :: Int -> UpdateProjectResponse
-- | See: updateProjectResponse smart constructor.
data UpdateProjectResponse
-- | Information about the build project that was changed.
uprsProject :: Lens' UpdateProjectResponse (Maybe Project)
-- |
-- - - | The response status code.
--
uprsResponseStatus :: Lens' UpdateProjectResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.UpdateProject.UpdateProjectResponse
instance Data.Data.Data Network.AWS.CodeBuild.UpdateProject.UpdateProjectResponse
instance GHC.Show.Show Network.AWS.CodeBuild.UpdateProject.UpdateProjectResponse
instance GHC.Read.Read Network.AWS.CodeBuild.UpdateProject.UpdateProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.UpdateProject.UpdateProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance Data.Data.Data Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance GHC.Show.Show Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance GHC.Read.Read Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance GHC.Classes.Eq Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.UpdateProject.UpdateProject
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.UpdateProject.UpdateProjectResponse
-- | Deletes a build project.
module Network.AWS.CodeBuild.DeleteProject
-- | Creates a value of DeleteProject with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dpName - The name of the build project to delete.
--
deleteProject :: Text -> DeleteProject
-- | See: deleteProject smart constructor.
data DeleteProject
-- | The name of the build project to delete.
dpName :: Lens' DeleteProject Text
-- | Creates a value of DeleteProjectResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteProjectResponse :: Int -> DeleteProjectResponse
-- | See: deleteProjectResponse smart constructor.
data DeleteProjectResponse
-- |
-- - - | The response status code.
--
dprsResponseStatus :: Lens' DeleteProjectResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.DeleteProject.DeleteProjectResponse
instance Data.Data.Data Network.AWS.CodeBuild.DeleteProject.DeleteProjectResponse
instance GHC.Show.Show Network.AWS.CodeBuild.DeleteProject.DeleteProjectResponse
instance GHC.Read.Read Network.AWS.CodeBuild.DeleteProject.DeleteProjectResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.DeleteProject.DeleteProjectResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance Data.Data.Data Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance GHC.Show.Show Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance GHC.Read.Read Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance GHC.Classes.Eq Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.DeleteProject.DeleteProject
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.DeleteProject.DeleteProjectResponse
-- | Gets a list of build project names, with each build project name
-- representing a single build project.
module Network.AWS.CodeBuild.ListProjects
-- | Creates a value of ListProjects with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lpSortOrder - The order in which to list build projects.
-- Valid values include: * ASCENDING : List the build project
-- names in ascending order. * DESCENDING : List the build
-- project names in descending order. Use sortBy to specify the
-- criterion to be used to list build project names.
-- - lpNextToken - During a previous call, if there are more
-- than 100 items in the list, only the first 100 items are returned,
-- along with a unique string called a next token . To get the
-- next batch of items in the list, call this operation again, adding the
-- next token to the call. To get all of the items in the list, keep
-- calling this operation with each subsequent next token that is
-- returned, until no more next tokens are returned.
-- - lpSortBy - The criterion to be used to list build project
-- names. Valid values include: * CREATED_TIME : List the build
-- project names based on when each build project was created. *
-- LAST_MODIFIED_TIME : List the build project names based on
-- when information about each build project was last changed. *
-- NAME : List the build project names based on each build
-- project's name. Use sortOrder to specify in what order to
-- list the build project names based on the preceding criteria.
--
listProjects :: ListProjects
-- | See: listProjects smart constructor.
data ListProjects
-- | The order in which to list build projects. Valid values include: *
-- ASCENDING : List the build project names in ascending order.
-- * DESCENDING : List the build project names in descending
-- order. Use sortBy to specify the criterion to be used to list
-- build project names.
lpSortOrder :: Lens' ListProjects (Maybe SortOrderType)
-- | During a previous call, if there are more than 100 items in the list,
-- only the first 100 items are returned, along with a unique string
-- called a next token . To get the next batch of items in the
-- list, call this operation again, adding the next token to the call. To
-- get all of the items in the list, keep calling this operation with
-- each subsequent next token that is returned, until no more next tokens
-- are returned.
lpNextToken :: Lens' ListProjects (Maybe Text)
-- | The criterion to be used to list build project names. Valid values
-- include: * CREATED_TIME : List the build project names based
-- on when each build project was created. * LAST_MODIFIED_TIME
-- : List the build project names based on when information about each
-- build project was last changed. * NAME : List the build
-- project names based on each build project's name. Use
-- sortOrder to specify in what order to list the build project
-- names based on the preceding criteria.
lpSortBy :: Lens' ListProjects (Maybe ProjectSortByType)
-- | Creates a value of ListProjectsResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lprsNextToken - If there are more than 100 items in the
-- list, only the first 100 items are returned, along with a unique
-- string called a next token . To get the next batch of items in
-- the list, call this operation again, adding the next token to the
-- call.
-- - lprsProjects - The list of build project names, with each
-- build project name representing a single build project.
-- - lprsResponseStatus - -- | The response status code.
--
listProjectsResponse :: Int -> ListProjectsResponse
-- | See: listProjectsResponse smart constructor.
data ListProjectsResponse
-- | If there are more than 100 items in the list, only the first 100 items
-- are returned, along with a unique string called a next token .
-- To get the next batch of items in the list, call this operation again,
-- adding the next token to the call.
lprsNextToken :: Lens' ListProjectsResponse (Maybe Text)
-- | The list of build project names, with each build project name
-- representing a single build project.
lprsProjects :: Lens' ListProjectsResponse (Maybe (NonEmpty Text))
-- |
-- - - | The response status code.
--
lprsResponseStatus :: Lens' ListProjectsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.ListProjects.ListProjectsResponse
instance Data.Data.Data Network.AWS.CodeBuild.ListProjects.ListProjectsResponse
instance GHC.Show.Show Network.AWS.CodeBuild.ListProjects.ListProjectsResponse
instance GHC.Read.Read Network.AWS.CodeBuild.ListProjects.ListProjectsResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.ListProjects.ListProjectsResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.ListProjects.ListProjects
instance Data.Data.Data Network.AWS.CodeBuild.ListProjects.ListProjects
instance GHC.Show.Show Network.AWS.CodeBuild.ListProjects.ListProjects
instance GHC.Read.Read Network.AWS.CodeBuild.ListProjects.ListProjects
instance GHC.Classes.Eq Network.AWS.CodeBuild.ListProjects.ListProjects
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.ListProjects.ListProjects
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.ListProjects.ListProjects
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.ListProjects.ListProjects
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.ListProjects.ListProjects
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.ListProjects.ListProjects
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.ListProjects.ListProjects
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.ListProjects.ListProjects
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.ListProjects.ListProjectsResponse
-- | AWS CodeBuild
--
-- AWS CodeBuild is a fully-managed build service in the cloud. AWS
-- CodeBuild compiles your source code, runs unit tests, and produces
-- artifacts that are ready to deploy. AWS CodeBuild eliminates the need
-- to provision, manage, and scale your own build servers. It provides
-- prepackaged build environments for the most popular programming
-- languages and build tools such as Apach Maven, Gradle, and more. You
-- can also fully customize build environments in AWS CodeBuild to use
-- your own build tools. AWS CodeBuild scales automatically to meet peak
-- build requests, and you pay only for the build time you consume. For
-- more information about AWS CodeBuild, see the AWS CodeBuild User
-- Guide .
--
-- AWS CodeBuild supports these operations:
--
--
-- - BatchGetProjects : Gets information about one or more
-- build projects. A build project defines how AWS CodeBuild will
-- run a build. This includes information such as where to get the source
-- code to build, the build environment to use, the build commands to
-- run, and where to store the build output. A build environment
-- represents a combination of operating system, programming language
-- runtime, and tools that AWS CodeBuild will use to run a build. Also,
-- you can add tags to build projects to help manage your resources and
-- costs.
-- - CreateProject : Creates a build project.
-- - DeleteProject : Deletes a build project.
-- - ListProjects : Gets a list of build project names, with
-- each build project name representing a single build project.
-- - UpdateProject : Changes the settings of an existing build
-- project.
-- - BatchGetBuilds : Gets information about one or more
-- builds.
-- - ListBuilds : Gets a list of build IDs, with each build ID
-- representing a single build.
-- - ListBuildsForProject : Gets a list of build IDs for the
-- specified build project, with each build ID representing a single
-- build.
-- - StartBuild : Starts running a build.
-- - StopBuild : Attempts to stop running a build.
-- - ListCuratedEnvironmentImages : Gets information about
-- Docker images that are managed by AWS CodeBuild.
--
module Network.AWS.CodeBuild
-- | API version 2016-10-06 of the Amazon CodeBuild SDK
-- configuration.
codeBuild :: Service
-- | The specified AWS resource cannot be created, because an AWS resource
-- with the same settings already exists.
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An AWS service limit was exceeded for the calling AWS account.
_AccountLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The input value that was provided is not valid.
_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified AWS resource cannot be found.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
data ArtifactNamespace
ANBuildId :: ArtifactNamespace
ANNone :: ArtifactNamespace
data ArtifactPackaging
None :: ArtifactPackaging
Zip :: ArtifactPackaging
data ArtifactsType
Codepipeline :: ArtifactsType
NoArtifacts :: ArtifactsType
S3 :: ArtifactsType
data BuildPhaseType
Build :: BuildPhaseType
Completed :: BuildPhaseType
DownloadSource :: BuildPhaseType
Finalizing :: BuildPhaseType
Install :: BuildPhaseType
PostBuild :: BuildPhaseType
PreBuild :: BuildPhaseType
Provisioning :: BuildPhaseType
Submitted :: BuildPhaseType
UploadArtifacts :: BuildPhaseType
data ComputeType
BuildGENERAL1Large :: ComputeType
BuildGENERAL1Medium :: ComputeType
BuildGENERAL1Small :: ComputeType
data EnvironmentType
LinuxContainer :: EnvironmentType
data LanguageType
Android :: LanguageType
Base :: LanguageType
Docker :: LanguageType
Golang :: LanguageType
Java :: LanguageType
NodeJs :: LanguageType
Python :: LanguageType
Ruby :: LanguageType
data PlatformType
AmazonLinux :: PlatformType
Debian :: PlatformType
Ubuntu :: PlatformType
data ProjectSortByType
CreatedTime :: ProjectSortByType
LastModifiedTime :: ProjectSortByType
Name :: ProjectSortByType
data SortOrderType
Ascending :: SortOrderType
Descending :: SortOrderType
data SourceAuthType
Oauth :: SourceAuthType
data SourceType
STCodecommit :: SourceType
STCodepipeline :: SourceType
STGithub :: SourceType
STS3 :: SourceType
data StatusType
Failed :: StatusType
Fault :: StatusType
InProgress :: StatusType
Stopped :: StatusType
Succeeded :: StatusType
TimedOut :: StatusType
-- | Information about a build.
--
-- See: build smart constructor.
data Build
-- | Creates a value of Build with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bPhases - Information about all previous build phases that
-- have completed, and information about any current build phase that has
-- not yet completed.
-- - bBuildComplete - Whether the build has finished. Valid
-- values include true if completed; otherwise, false.
-- - bArn - The build's Amazon Resource Name (ARN).
-- - bStartTime - When the build process started, expressed in
-- Unix time format.
-- - bArtifacts - Information about the build's output
-- artifacts.
-- - bEnvironment - Information about the build environment for
-- this build.
-- - bInitiator - The entity that started the build. Valid
-- values include: * If AWS CodePipeline started the build, the
-- pipeline's name, for example codepipeline/my-demo-pipeline .
-- * If an AWS Identity and Access Management (IAM) user started the
-- build, the user's name, for example MyUserName . * If the
-- Jenkins plugin for AWS CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin .
-- - bCurrentPhase - The build's current build phase.
-- - bSourceVersion - Any version identifier for the version of
-- the source code to be built.
-- - bLogs - Information about the build's logs in Amazon
-- CloudWatch Logs.
-- - bEndTime - When the build process ended, expressed in Unix
-- time format.
-- - bProjectName - The build project's name.
-- - bBuildStatus - The build's current status. Valid values
-- include: * FAILED : The build failed. * FAULT : The
-- build faulted. * IN_PROGRESS : The build is still in
-- progress. * STOPPED : The build stopped. * SUCCEEDED
-- : The build succeeded. * TIMED_OUT : The build timed
-- out.
-- - bSource - Information about the source code to be
-- built.
-- - bId - The build's unique ID.
-- - bTimeoutInMinutes - How long in minutes for AWS CodeBuild
-- to wait to timeout this build if it does not get marked as
-- completed.
--
build :: Build
-- | Information about all previous build phases that have completed, and
-- information about any current build phase that has not yet completed.
bPhases :: Lens' Build [BuildPhase]
-- | Whether the build has finished. Valid values include true if
-- completed; otherwise, false.
bBuildComplete :: Lens' Build (Maybe Bool)
-- | The build's Amazon Resource Name (ARN).
bArn :: Lens' Build (Maybe Text)
-- | When the build process started, expressed in Unix time format.
bStartTime :: Lens' Build (Maybe UTCTime)
-- | Information about the build's output artifacts.
bArtifacts :: Lens' Build (Maybe BuildArtifacts)
-- | Information about the build environment for this build.
bEnvironment :: Lens' Build (Maybe ProjectEnvironment)
-- | The entity that started the build. Valid values include: * If AWS
-- CodePipeline started the build, the pipeline's name, for example
-- codepipeline/my-demo-pipeline . * If an AWS Identity and
-- Access Management (IAM) user started the build, the user's name, for
-- example MyUserName . * If the Jenkins plugin for AWS
-- CodeBuild started the build, the string
-- CodeBuild-Jenkins-Plugin .
bInitiator :: Lens' Build (Maybe Text)
-- | The build's current build phase.
bCurrentPhase :: Lens' Build (Maybe Text)
-- | Any version identifier for the version of the source code to be built.
bSourceVersion :: Lens' Build (Maybe Text)
-- | Information about the build's logs in Amazon CloudWatch Logs.
bLogs :: Lens' Build (Maybe LogsLocation)
-- | When the build process ended, expressed in Unix time format.
bEndTime :: Lens' Build (Maybe UTCTime)
-- | The build project's name.
bProjectName :: Lens' Build (Maybe Text)
-- | The build's current status. Valid values include: * FAILED :
-- The build failed. * FAULT : The build faulted. *
-- IN_PROGRESS : The build is still in progress. *
-- STOPPED : The build stopped. * SUCCEEDED : The build
-- succeeded. * TIMED_OUT : The build timed out.
bBuildStatus :: Lens' Build (Maybe StatusType)
-- | Information about the source code to be built.
bSource :: Lens' Build (Maybe ProjectSource)
-- | The build's unique ID.
bId :: Lens' Build (Maybe Text)
-- | How long in minutes for AWS CodeBuild to wait to timeout this build if
-- it does not get marked as completed.
bTimeoutInMinutes :: Lens' Build (Maybe Int)
-- | Information about build output artifacts.
--
-- See: buildArtifacts smart constructor.
data BuildArtifacts
-- | Creates a value of BuildArtifacts with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - baLocation - Information about the build artifacts'
-- location.
-- - baMd5sum - The MD5 hash of the build artifact. You can use
-- this hash along with a checksum tool to confirm both file integrity
-- and authenticity.
-- - baSha256sum - The SHA-256 hash of the build artifact. You
-- can use this hash along with a checksum tool to confirm both file
-- integrity and authenticity.
--
buildArtifacts :: BuildArtifacts
-- | Information about the build artifacts' location.
baLocation :: Lens' BuildArtifacts (Maybe Text)
-- | The MD5 hash of the build artifact. You can use this hash along with a
-- checksum tool to confirm both file integrity and authenticity.
baMd5sum :: Lens' BuildArtifacts (Maybe Text)
-- | The SHA-256 hash of the build artifact. You can use this hash along
-- with a checksum tool to confirm both file integrity and authenticity.
baSha256sum :: Lens' BuildArtifacts (Maybe Text)
-- | Information about a stage for a build.
--
-- See: buildPhase smart constructor.
data BuildPhase
-- | Creates a value of BuildPhase with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bpContexts - Additional information about a build phase,
-- especially to help troubleshoot a failed build.
-- - bpStartTime - When the build phase started, expressed in
-- Unix time format.
-- - bpPhaseStatus - The build phase's current status. Valid
-- values include: * FAILED : The build phase failed. *
-- FAULT : The build phase faulted. * IN_PROGRESS : The
-- build phase is still in progress. * STOPPED : The build phase
-- stopped. * SUCCEEDED : The build phase succeeded. *
-- TIMED_OUT : The build phase timed out.
-- - bpPhaseType - The build phase's name. Valid values include:
-- * BUILD : Core build activities typically occur in this build
-- phase. * COMPLETED : The build has completed. *
-- DOWNLOAD_SOURCE : Source code is being downloaded in this
-- build phase. * FINALIZING : The build process is completing
-- in this build phase. * INSTALL : Installation activities
-- typically occur in this build phase. * POST_BUILD :
-- Post-build activities typically occur in this build phase. *
-- PRE_BUILD : Pre-build activities typically occur in this
-- build phase. * PROVISIONING : The build environment is being
-- set up. * SUBMITTED : The build has been submitted. *
-- UPLOAD_ARTIFACTS : Build output artifacts are being uploaded
-- to output location.
-- - bpEndTime - When the build phase ended, expressed in Unix
-- time format.
-- - bpDurationInSeconds - How long, in seconds, between the
-- build's phase starting and ending times.
--
buildPhase :: BuildPhase
-- | Additional information about a build phase, especially to help
-- troubleshoot a failed build.
bpContexts :: Lens' BuildPhase [PhaseContext]
-- | When the build phase started, expressed in Unix time format.
bpStartTime :: Lens' BuildPhase (Maybe UTCTime)
-- | The build phase's current status. Valid values include: *
-- FAILED : The build phase failed. * FAULT : The build
-- phase faulted. * IN_PROGRESS : The build phase is still in
-- progress. * STOPPED : The build phase stopped. *
-- SUCCEEDED : The build phase succeeded. * TIMED_OUT :
-- The build phase timed out.
bpPhaseStatus :: Lens' BuildPhase (Maybe StatusType)
-- | The build phase's name. Valid values include: * BUILD : Core
-- build activities typically occur in this build phase. *
-- COMPLETED : The build has completed. *
-- DOWNLOAD_SOURCE : Source code is being downloaded in this
-- build phase. * FINALIZING : The build process is completing
-- in this build phase. * INSTALL : Installation activities
-- typically occur in this build phase. * POST_BUILD :
-- Post-build activities typically occur in this build phase. *
-- PRE_BUILD : Pre-build activities typically occur in this
-- build phase. * PROVISIONING : The build environment is being
-- set up. * SUBMITTED : The build has been submitted. *
-- UPLOAD_ARTIFACTS : Build output artifacts are being uploaded
-- to output location.
bpPhaseType :: Lens' BuildPhase (Maybe BuildPhaseType)
-- | When the build phase ended, expressed in Unix time format.
bpEndTime :: Lens' BuildPhase (Maybe UTCTime)
-- | How long, in seconds, between the build's phase starting and ending
-- times.
bpDurationInSeconds :: Lens' BuildPhase (Maybe Integer)
-- | Information about a Docker image that is managed by AWS CodeBuild.
--
-- See: environmentImage smart constructor.
data EnvironmentImage
-- | Creates a value of EnvironmentImage with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
environmentImage :: EnvironmentImage
-- | The Docker image's name.
eiName :: Lens' EnvironmentImage (Maybe Text)
-- | The Docker image's description.
eiDescription :: Lens' EnvironmentImage (Maybe Text)
-- | A set of Docker images that are related by programming language and
-- are managed by AWS CodeBuild.
--
-- See: environmentLanguage smart constructor.
data EnvironmentLanguage
-- | Creates a value of EnvironmentLanguage with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - elImages - The list of Docker images that are related by
-- the specified programming language.
-- - elLanguage - The programming language for the related set
-- of Docker images.
--
environmentLanguage :: EnvironmentLanguage
-- | The list of Docker images that are related by the specified
-- programming language.
elImages :: Lens' EnvironmentLanguage [EnvironmentImage]
-- | The programming language for the related set of Docker images.
elLanguage :: Lens' EnvironmentLanguage (Maybe LanguageType)
-- | A set of Docker images that are related by platform and are managed by
-- AWS CodeBuild.
--
-- See: environmentPlatform smart constructor.
data EnvironmentPlatform
-- | Creates a value of EnvironmentPlatform with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - epPlatform - The platform's name.
-- - epLanguages - The list of programming languages that are
-- available for the specified platform.
--
environmentPlatform :: EnvironmentPlatform
-- | The platform's name.
epPlatform :: Lens' EnvironmentPlatform (Maybe PlatformType)
-- | The list of programming languages that are available for the specified
-- platform.
epLanguages :: Lens' EnvironmentPlatform [EnvironmentLanguage]
-- | Information about an environment variable for a build project or a
-- build.
--
-- See: environmentVariable smart constructor.
data EnvironmentVariable
-- | Creates a value of EnvironmentVariable with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - evName - The environment variable's name or key.
-- - evValue - The environment variable's value.
--
environmentVariable :: Text -> Text -> EnvironmentVariable
-- | The environment variable's name or key.
evName :: Lens' EnvironmentVariable Text
-- | The environment variable's value.
evValue :: Lens' EnvironmentVariable Text
-- | Information about build logs in Amazon CloudWatch Logs.
--
-- See: logsLocation smart constructor.
data LogsLocation
-- | Creates a value of LogsLocation with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - llDeepLink - The URL to an individual build log in Amazon
-- CloudWatch Logs.
-- - llGroupName - The name of the Amazon CloudWatch Logs group
-- for the associated build logs.
-- - llStreamName - The name of the Amazon CloudWatch Logs
-- stream for the associated build logs.
--
logsLocation :: LogsLocation
-- | The URL to an individual build log in Amazon CloudWatch Logs.
llDeepLink :: Lens' LogsLocation (Maybe Text)
-- | The name of the Amazon CloudWatch Logs group for the associated build
-- logs.
llGroupName :: Lens' LogsLocation (Maybe Text)
-- | The name of the Amazon CloudWatch Logs stream for the associated build
-- logs.
llStreamName :: Lens' LogsLocation (Maybe Text)
-- | Additional information about a build phase that has an error, which
-- you can use to help troubleshoot a failed build.
--
-- See: phaseContext smart constructor.
data PhaseContext
-- | Creates a value of PhaseContext with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pcMessage - An explanation of the build phase's context.
-- This explanation may include a command ID and an exit code.
-- - pcStatusCode - The status code for the context of the build
-- phase.
--
phaseContext :: PhaseContext
-- | An explanation of the build phase's context. This explanation may
-- include a command ID and an exit code.
pcMessage :: Lens' PhaseContext (Maybe Text)
-- | The status code for the context of the build phase.
pcStatusCode :: Lens' PhaseContext (Maybe Text)
-- | Information about a build project.
--
-- See: project smart constructor.
data Project
-- | Creates a value of Project with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pArn - The build project's Amazon Resource Name (ARN).
-- - pArtifacts - Information about the build project's build
-- output artifacts.
-- - pEnvironment - Information about the build environment for
-- this build project.
-- - pCreated - When the build project was created, expressed in
-- Unix time format.
-- - pName - The build project's name.
-- - pSource - Information about the build project's build input
-- source code.
-- - pEncryptionKey - The AWS Key Management Service (AWS KMS)
-- customer master key (CMK) to be used for encrypting the build
-- project's build output artifacts. This is expressed either as the
-- CMK's Amazon Resource Name (ARN) or, if specified, the CMK's alias
-- (using the format alias/alias-name ).
-- - pLastModified - When the build project's settings were last
-- modified, expressed in Unix time format.
-- - pDescription - A meaningful description of the build
-- project.
-- - pServiceRole - 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.
-- - pTags - The tags for this build project. These tags are
-- available for use by AWS services that support AWS CodeBuild build
-- project tags.
-- - pTimeoutInMinutes - How long 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. The default is 60 minutes.
--
project :: Project
-- | The build project's Amazon Resource Name (ARN).
pArn :: Lens' Project (Maybe Text)
-- | Information about the build project's build output artifacts.
pArtifacts :: Lens' Project (Maybe ProjectArtifacts)
-- | Information about the build environment for this build project.
pEnvironment :: Lens' Project (Maybe ProjectEnvironment)
-- | When the build project was created, expressed in Unix time format.
pCreated :: Lens' Project (Maybe UTCTime)
-- | The build project's name.
pName :: Lens' Project (Maybe Text)
-- | Information about the build project's build input source code.
pSource :: Lens' Project (Maybe ProjectSource)
-- | The AWS Key Management Service (AWS KMS) customer master key (CMK) to
-- be used for encrypting the build project's build output artifacts.
-- This is expressed either as the CMK's Amazon Resource Name (ARN) or,
-- if specified, the CMK's alias (using the format
-- alias/alias-name ).
pEncryptionKey :: Lens' Project (Maybe Text)
-- | When the build project's settings were last modified, expressed in
-- Unix time format.
pLastModified :: Lens' Project (Maybe UTCTime)
-- | A meaningful description of the build project.
pDescription :: Lens' Project (Maybe Text)
-- | 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.
pServiceRole :: Lens' Project (Maybe Text)
-- | The tags for this build project. These tags are available for use by
-- AWS services that support AWS CodeBuild build project tags.
pTags :: Lens' Project [Tag]
-- | How long 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. The default is 60 minutes.
pTimeoutInMinutes :: Lens' Project (Maybe Natural)
-- | Information about the build project's build output artifacts.
--
-- See: projectArtifacts smart constructor.
data ProjectArtifacts
-- | Creates a value of ProjectArtifacts with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - paPackaging - The type of build output artifact to create,
-- as follows: * If type is set to CODEPIPELINE , then
-- AWS CodePipeline will ignore this value if specified. This is because
-- AWS CodePipeline manages its build output artifacts instead of AWS
-- CodeBuild. * If type is set to NO_ARTIFACTS , then
-- this value will be ignored if specified, because no build output will
-- be produced. * If type is set to S3 , valid values
-- include: * NONE : AWS CodeBuild will create in the output
-- bucket a folder containing the build output. This is the default if
-- packaging is not specified. * ZIP : AWS CodeBuild
-- will create in the output bucket a ZIP file containing the build
-- output.
-- - paPath - Along with namespaceType and
-- name , the pattern that AWS CodeBuild will use to name and
-- store the output artifact, as follows: * If type is set to
-- CODEPIPELINE , then AWS CodePipeline will ignore this value
-- if specified. This is because AWS CodePipeline manages its build
-- output names instead of AWS CodeBuild. * If type is set to
-- NO_ARTIFACTS , then this value will be ignored if specified,
-- because no build output will be produced. * If type is set to
-- S3 , this is the path to the output artifact. If
-- path is not specified, then path will not be used.
-- For example, if path is set to MyArtifacts ,
-- namespaceType is set to NONE , and name is
-- set to MyArtifact.zip , then the output artifact would be
-- stored in the output bucket at MyArtifacts/MyArtifact.zip
-- .
-- - paLocation - Information about the build output artifact
-- location, as follows: * If type is set to
-- CODEPIPELINE , then AWS CodePipeline will ignore this value
-- if specified. This is because AWS CodePipeline manages its build
-- output locations instead of AWS CodeBuild. * If type is set
-- to NO_ARTIFACTS , then this value will be ignored if
-- specified, because no build output will be produced. * If
-- type is set to S3 , this is the name of the output
-- bucket. If path is not also specified, then location
-- can also specify the path of the output artifact in the output
-- bucket.
-- - paName - Along with path and
-- namespaceType , the pattern that AWS CodeBuild will use to
-- name and store the output artifact, as follows: * If type is
-- set to CODEPIPELINE , then AWS CodePipeline will ignore this
-- value if specified. This is because AWS CodePipeline manages its build
-- output names instead of AWS CodeBuild. * If type is set to
-- NO_ARTIFACTS , then this value will be ignored if specified,
-- because no build output will be produced. * If type is set to
-- S3 , this is the name of the output artifact object. For
-- example, if path is set to MyArtifacts ,
-- namespaceType is set to BUILD_ID , and name
-- is set to MyArtifact.zip , then the output artifact would be
-- stored in MyArtifacts/build-ID /MyArtifact.zip .
-- - paNamespaceType - Along with path and
-- name , the pattern that AWS CodeBuild will use to determine
-- the name and location to store the output artifact, as follows: * If
-- type is set to CODEPIPELINE , then AWS CodePipeline
-- will ignore this value if specified. This is because AWS CodePipeline
-- manages its build output names instead of AWS CodeBuild. * If
-- type is set to NO_ARTIFACTS , then this value will
-- be ignored if specified, because no build output will be produced. *
-- If type is set to S3 , then valid values include: *
-- BUILD_ID : Include the build ID in the location of the build
-- output artifact. * NONE : Do not include the build ID. This
-- is the default if namespaceType is not specified. For
-- example, if path is set to MyArtifacts ,
-- namespaceType is set to BUILD_ID , and name
-- is set to MyArtifact.zip , then the output artifact would be
-- stored in MyArtifacts/build-ID /MyArtifact.zip .
-- - paType - The build output artifact's type. Valid values
-- include: * CODEPIPELINE : The build project with have build
-- output generated through AWS CodePipeline. * NO_ARTIFACTS :
-- The build project will not produce any build output. * S3 :
-- The build project will store build output in Amazon Simple Storage
-- Service (Amazon S3).
--
projectArtifacts :: ArtifactsType -> ProjectArtifacts
-- | The type of build output artifact to create, as follows: * If
-- type is set to CODEPIPELINE , then AWS CodePipeline
-- will ignore this value if specified. This is because AWS CodePipeline
-- manages its build output artifacts instead of AWS CodeBuild. * If
-- type is set to NO_ARTIFACTS , then this value will
-- be ignored if specified, because no build output will be produced. *
-- If type is set to S3 , valid values include: *
-- NONE : AWS CodeBuild will create in the output bucket a
-- folder containing the build output. This is the default if
-- packaging is not specified. * ZIP : AWS CodeBuild
-- will create in the output bucket a ZIP file containing the build
-- output.
paPackaging :: Lens' ProjectArtifacts (Maybe ArtifactPackaging)
-- | Along with namespaceType and name , the pattern that
-- AWS CodeBuild will use to name and store the output artifact, as
-- follows: * If type is set to CODEPIPELINE , then AWS
-- CodePipeline will ignore this value if specified. This is because AWS
-- CodePipeline manages its build output names instead of AWS CodeBuild.
-- * If type is set to NO_ARTIFACTS , then this value
-- will be ignored if specified, because no build output will be
-- produced. * If type is set to S3 , this is the path
-- to the output artifact. If path is not specified, then
-- path will not be used. For example, if path is set
-- to MyArtifacts , namespaceType is set to
-- NONE , and name is set to MyArtifact.zip ,
-- then the output artifact would be stored in the output bucket at
-- MyArtifacts/MyArtifact.zip .
paPath :: Lens' ProjectArtifacts (Maybe Text)
-- | Information about the build output artifact location, as follows: * If
-- type is set to CODEPIPELINE , then AWS CodePipeline
-- will ignore this value if specified. This is because AWS CodePipeline
-- manages its build output locations instead of AWS CodeBuild. * If
-- type is set to NO_ARTIFACTS , then this value will
-- be ignored if specified, because no build output will be produced. *
-- If type is set to S3 , this is the name of the
-- output bucket. If path is not also specified, then
-- location can also specify the path of the output artifact in
-- the output bucket.
paLocation :: Lens' ProjectArtifacts (Maybe Text)
-- | Along with path and namespaceType , the pattern that
-- AWS CodeBuild will use to name and store the output artifact, as
-- follows: * If type is set to CODEPIPELINE , then AWS
-- CodePipeline will ignore this value if specified. This is because AWS
-- CodePipeline manages its build output names instead of AWS CodeBuild.
-- * If type is set to NO_ARTIFACTS , then this value
-- will be ignored if specified, because no build output will be
-- produced. * If type is set to S3 , this is the name
-- of the output artifact object. For example, if path is set to
-- MyArtifacts , namespaceType is set to
-- BUILD_ID , and name is set to
-- MyArtifact.zip , then the output artifact would be stored in
-- MyArtifacts/build-ID /MyArtifact.zip .
paName :: Lens' ProjectArtifacts (Maybe Text)
-- | Along with path and name , the pattern that AWS
-- CodeBuild will use to determine the name and location to store the
-- output artifact, as follows: * If type is set to
-- CODEPIPELINE , then AWS CodePipeline will ignore this value
-- if specified. This is because AWS CodePipeline manages its build
-- output names instead of AWS CodeBuild. * If type is set to
-- NO_ARTIFACTS , then this value will be ignored if specified,
-- because no build output will be produced. * If type is set to
-- S3 , then valid values include: * BUILD_ID : Include
-- the build ID in the location of the build output artifact. *
-- NONE : Do not include the build ID. This is the default if
-- namespaceType is not specified. For example, if path
-- is set to MyArtifacts , namespaceType is set to
-- BUILD_ID , and name is set to
-- MyArtifact.zip , then the output artifact would be stored in
-- MyArtifacts/build-ID /MyArtifact.zip .
paNamespaceType :: Lens' ProjectArtifacts (Maybe ArtifactNamespace)
-- | The build output artifact's type. Valid values include: *
-- CODEPIPELINE : The build project with have build output
-- generated through AWS CodePipeline. * NO_ARTIFACTS : The
-- build project will not produce any build output. * S3 : The
-- build project will store build output in Amazon Simple Storage Service
-- (Amazon S3).
paType :: Lens' ProjectArtifacts ArtifactsType
-- | Information about the build project's build environment.
--
-- See: projectEnvironment smart constructor.
data ProjectEnvironment
-- | Creates a value of ProjectEnvironment with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - peEnvironmentVariables - A set of environment variables to
-- make available to builds for this build project.
-- - peType - The type of build environment to use for related
-- builds. The only valid value is LINUX_CONTAINER , which
-- represents a Linux-based build environment.
-- - peImage - The ID of the Docker image to use for this build
-- project.
-- - peComputeType - Information about the compute resources the
-- build project will use. Available values include: *
-- BUILD_GENERAL1_SMALL : Use up to 3 GB memory and 2 vCPUs for
-- builds. * BUILD_GENERAL1_MEDIUM : Use up to 7 GB memory and 4
-- vCPUs for builds. * BUILD_GENERAL1_LARGE : Use up to 15 GB
-- memory and 8 vCPUs for builds.
--
projectEnvironment :: EnvironmentType -> Text -> ComputeType -> ProjectEnvironment
-- | A set of environment variables to make available to builds for this
-- build project.
peEnvironmentVariables :: Lens' ProjectEnvironment [EnvironmentVariable]
-- | The type of build environment to use for related builds. The only
-- valid value is LINUX_CONTAINER , which represents a
-- Linux-based build environment.
peType :: Lens' ProjectEnvironment EnvironmentType
-- | The ID of the Docker image to use for this build project.
peImage :: Lens' ProjectEnvironment Text
-- | Information about the compute resources the build project will use.
-- Available values include: * BUILD_GENERAL1_SMALL : Use up to
-- 3 GB memory and 2 vCPUs for builds. * BUILD_GENERAL1_MEDIUM :
-- Use up to 7 GB memory and 4 vCPUs for builds. *
-- BUILD_GENERAL1_LARGE : Use up to 15 GB memory and 8 vCPUs for
-- builds.
peComputeType :: Lens' ProjectEnvironment ComputeType
-- | Information about the build project's build input source code.
--
-- See: projectSource smart constructor.
data ProjectSource
-- | Creates a value of ProjectSource with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - psLocation - Information about the location of the source
-- code to be built. Valid values include: * For source code settings
-- that are specified in the source action of a pipeline in AWS
-- CodePipeline, location should not be specified. If it is
-- specified, AWS CodePipeline will ignore it. This is because AWS
-- CodePipeline uses the settings in a pipeline's source action instead
-- of this value. * For source code in an AWS CodeCommit repository, the
-- HTTPS clone URL to the repository that contains the source code and
-- the build spec (for example,
-- https://git-codecommit./region-ID/
-- .amazonaws.comv1repos/repo-name ). * For source
-- code in an Amazon Simple Storage Service (Amazon S3) input bucket, the
-- path to the ZIP file that contains the source code (for example,
-- bucket-name /path /to /object-name
-- .zip ) * For source code in a GitHub repository, the HTTPS clone
-- URL, including the user name and personal access token, to the
-- repository that contains the source code and the build spec (for
-- example, https:///login-user-name/
-- :personal-access-token github.com/repo-owner-name
-- /repo-name .git@ ). For more information, see Creating an
-- Access Token for Command-Line Use on the GitHub Help website.
-- - psAuth - Information about the authorization settings for
-- AWS CodeBuild to access the source code to be built. This information
-- is only for the AWS CodeBuild console's use. Your code should not get
-- or set this information directly.
-- - psBuildspec - The build spec declaration to use for this
-- build project's related builds. If this value is not specified, a
-- build spec must be included along with the source code to be
-- built.
-- - psType - The type of repository that contains the source
-- code to be built. Valid values include: * CODECOMMIT : The
-- source code is in an AWS CodeCommit repository. *
-- CODEPIPELINE : The source code settings are specified in the
-- source action of a pipeline in AWS CodePipeline. * GITHUB :
-- The source code is in a GitHub repository. * S3 : The source
-- code is in an Amazon Simple Storage Service (Amazon S3) input
-- bucket.
--
projectSource :: SourceType -> ProjectSource
-- | Information about the location of the source code to be built. Valid
-- values include: * For source code settings that are specified in the
-- source action of a pipeline in AWS CodePipeline, location
-- should not be specified. If it is specified, AWS CodePipeline will
-- ignore it. This is because AWS CodePipeline uses the settings in a
-- pipeline's source action instead of this value. * For source code in
-- an AWS CodeCommit repository, the HTTPS clone URL to the repository
-- that contains the source code and the build spec (for example,
-- https://git-codecommit./region-ID/
-- .amazonaws.comv1repos/repo-name ). * For source
-- code in an Amazon Simple Storage Service (Amazon S3) input bucket, the
-- path to the ZIP file that contains the source code (for example,
-- bucket-name /path /to /object-name
-- .zip ) * For source code in a GitHub repository, the HTTPS clone
-- URL, including the user name and personal access token, to the
-- repository that contains the source code and the build spec (for
-- example, https:///login-user-name/
-- :personal-access-token github.com/repo-owner-name
-- /repo-name .git@ ). For more information, see Creating an
-- Access Token for Command-Line Use on the GitHub Help website.
psLocation :: Lens' ProjectSource (Maybe Text)
-- | Information about the authorization settings for AWS CodeBuild to
-- access the source code to be built. This information is only for the
-- AWS CodeBuild console's use. Your code should not get or set this
-- information directly.
psAuth :: Lens' ProjectSource (Maybe SourceAuth)
-- | The build spec declaration to use for this build project's related
-- builds. If this value is not specified, a build spec must be included
-- along with the source code to be built.
psBuildspec :: Lens' ProjectSource (Maybe Text)
-- | The type of repository that contains the source code to be built.
-- Valid values include: * CODECOMMIT : The source code is in an
-- AWS CodeCommit repository. * CODEPIPELINE : The source code
-- settings are specified in the source action of a pipeline in AWS
-- CodePipeline. * GITHUB : The source code is in a GitHub
-- repository. * S3 : The source code is in an Amazon Simple
-- Storage Service (Amazon S3) input bucket.
psType :: Lens' ProjectSource SourceType
-- | Information about the authorization settings for AWS CodeBuild to
-- access the source code to be built.
--
-- This information is only for the AWS CodeBuild console's use. Your
-- code should not get or set this information directly.
--
-- See: sourceAuth smart constructor.
data SourceAuth
-- | Creates a value of SourceAuth with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - saResource - The resource value that applies to the
-- specified authorization type.
-- - saType - The authorization type to use. The only valid
-- value is OAUTH , which represents the OAuth authorization
-- type.
--
sourceAuth :: SourceAuthType -> SourceAuth
-- | The resource value that applies to the specified authorization type.
saResource :: Lens' SourceAuth (Maybe Text)
-- | The authorization type to use. The only valid value is OAUTH
-- , which represents the OAuth authorization type.
saType :: Lens' SourceAuth SourceAuthType
-- | A tag, consisting of a key and a value.
--
-- This tag is available for use by AWS services that support tags in AWS
-- CodeBuild.
--
-- See: tag smart constructor.
data Tag
-- | Creates a value of Tag with the minimum fields required to make
-- a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
tag :: Tag
-- | The tag's value.
tagValue :: Lens' Tag (Maybe Text)
-- | The tag's key.
tagKey :: Lens' Tag (Maybe Text)