-- 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.6.1
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
-- | There was a problem with the underlying OAuth provider.
_OAuthProviderException :: 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 CacheType
CTNoCache :: CacheType
CTS3 :: CacheType
data ComputeType
BuildGENERAL1Large :: ComputeType
BuildGENERAL1Medium :: ComputeType
BuildGENERAL1Small :: ComputeType
data EnvironmentType
LinuxContainer :: EnvironmentType
data EnvironmentVariableType
ParameterStore :: EnvironmentVariableType
Plaintext :: EnvironmentVariableType
data LanguageType
Android :: LanguageType
Base :: LanguageType
Docker :: LanguageType
Dotnet :: 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
STBitbucket :: SourceType
STCodecommit :: SourceType
STCodepipeline :: SourceType
STGithub :: SourceType
STGithubEnterprise :: 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
-- are completed and information about any current build phase that is
-- not yet complete.
-- - bBuildComplete - Whether the build has finished. True if
-- completed; otherwise, false.
-- - bArn - The Amazon Resource Name (ARN) of the build.
-- - bStartTime - When the build process started, expressed in
-- Unix time format.
-- - bArtifacts - Information about the output artifacts for the
-- build.
-- - 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 .
-- - bNetworkInterface - Describes a network interface.
-- - bCurrentPhase - The current build phase.
-- - bCache - Information about the cache for the build.
-- - 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.
-- - bVpcConfig - If your AWS CodeBuild project accesses
-- resources in an Amazon VPC, you provide this parameter that identifies
-- the VPC ID and the list of security group IDs and subnet IDs. The
-- security groups and subnets must belong to the same VPC. You must
-- provide at least one security group and one subnet ID.
-- - bEndTime - When the build process ended, expressed in Unix
-- time format.
-- - bProjectName - The name of the AWS CodeBuild project.
-- - bBuildStatus - The current status of the build. 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 unique ID for the build.
-- - bTimeoutInMinutes - How long, in minutes, for AWS CodeBuild
-- to wait before timing out this build if it does not get marked as
-- completed.
--
build :: Build
-- | Information about all previous build phases that are completed and
-- information about any current build phase that is not yet complete.
bPhases :: Lens' Build [BuildPhase]
-- | Whether the build has finished. True if completed; otherwise, false.
bBuildComplete :: Lens' Build (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the build.
bArn :: Lens' Build (Maybe Text)
-- | When the build process started, expressed in Unix time format.
bStartTime :: Lens' Build (Maybe UTCTime)
-- | Information about the output artifacts for the build.
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)
-- | Describes a network interface.
bNetworkInterface :: Lens' Build (Maybe NetworkInterface)
-- | The current build phase.
bCurrentPhase :: Lens' Build (Maybe Text)
-- | Information about the cache for the build.
bCache :: Lens' Build (Maybe ProjectCache)
-- | 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)
-- | If your AWS CodeBuild project accesses resources in an Amazon VPC, you
-- provide this parameter that identifies the VPC ID and the list of
-- security group IDs and subnet IDs. The security groups and subnets
-- must belong to the same VPC. You must provide at least one security
-- group and one subnet ID.
bVpcConfig :: Lens' Build (Maybe VPCConfig)
-- | When the build process ended, expressed in Unix time format.
bEndTime :: Lens' Build (Maybe UTCTime)
-- | The name of the AWS CodeBuild project.
bProjectName :: Lens' Build (Maybe Text)
-- | The current status of the build. 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 unique ID for the build.
bId :: Lens' Build (Maybe Text)
-- | How long, in minutes, for AWS CodeBuild to wait before timing out 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 location of the build
-- artifacts.
-- - 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 location of the build artifacts.
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 build that could not be successfully deleted.
--
-- See: buildNotDeleted smart constructor.
data BuildNotDeleted
-- | Creates a value of BuildNotDeleted with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bndId - The ID of the build that could not be successfully
-- deleted.
-- - bndStatusCode - Additional information about the build that
-- could not be successfully deleted.
--
buildNotDeleted :: BuildNotDeleted
-- | The ID of the build that could not be successfully deleted.
bndId :: Lens' BuildNotDeleted (Maybe Text)
-- | Additional information about the build that could not be successfully
-- deleted.
bndStatusCode :: Lens' BuildNotDeleted (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 current status of the build phase.
-- 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 name of the build phase. Valid values
-- include: * BUILD : Core build activities typically occur in
-- this build phase. * COMPLETED : The build has been 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 the output location.
-- - bpEndTime - When the build phase ended, expressed in Unix
-- time format.
-- - bpDurationInSeconds - How long, in seconds, between the
-- starting and ending times of the build's phase.
--
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 current status of the build phase. 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 name of the build phase. Valid values include: * BUILD :
-- Core build activities typically occur in this build phase. *
-- COMPLETED : The build has been 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 the 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 starting and ending times of the
-- build's phase.
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:
--
--
-- - eiVersions - A list of environment image versions.
-- - eiName - The name of the Docker image.
-- - eiDescription - The description of the Docker image.
--
environmentImage :: EnvironmentImage
-- | A list of environment image versions.
eiVersions :: Lens' EnvironmentImage [Text]
-- | The name of the Docker image.
eiName :: Lens' EnvironmentImage (Maybe Text)
-- | The description of the Docker image.
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 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 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:
--
--
-- - evType - The type of environment variable. Valid values
-- include: * PARAMETER_STORE : An environment variable stored
-- in Amazon EC2 Systems Manager Parameter Store. * PLAINTEXT :
-- An environment variable in plaintext format.
-- - evName - The name or key of the environment variable.
-- - evValue - The value of the environment variable.
-- Important: We strongly discourage using environment variables
-- to store sensitive values, especially AWS secret key IDs and secret
-- access keys. Environment variables can be displayed in plain text
-- using tools such as the AWS CodeBuild console and the AWS Command Line
-- Interface (AWS CLI).
--
environmentVariable :: Text -> Text -> EnvironmentVariable
-- | The type of environment variable. Valid values include: *
-- PARAMETER_STORE : An environment variable stored in Amazon
-- EC2 Systems Manager Parameter Store. * PLAINTEXT : An
-- environment variable in plaintext format.
evType :: Lens' EnvironmentVariable (Maybe EnvironmentVariableType)
-- | The name or key of the environment variable.
evName :: Lens' EnvironmentVariable Text
-- | The value of the environment variable. Important: We strongly
-- discourage using environment variables to store sensitive values,
-- especially AWS secret key IDs and secret access keys. Environment
-- variables can be displayed in plain text using tools such as the AWS
-- CodeBuild console and the AWS Command Line Interface (AWS CLI).
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 build logs.
-- - llStreamName - The name of the Amazon CloudWatch Logs
-- stream for the 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 build logs.
llGroupName :: Lens' LogsLocation (Maybe Text)
-- | The name of the Amazon CloudWatch Logs stream for the build logs.
llStreamName :: Lens' LogsLocation (Maybe Text)
-- | Describes a network interface.
--
-- See: networkInterface smart constructor.
data NetworkInterface
-- | Creates a value of NetworkInterface with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
networkInterface :: NetworkInterface
-- | The ID of the subnet.
niSubnetId :: Lens' NetworkInterface (Maybe Text)
-- | The ID of the network interface.
niNetworkInterfaceId :: Lens' NetworkInterface (Maybe Text)
-- | Additional information about a build phase that has an error. You can
-- use this information 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 might 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 might
-- 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 Amazon Resource Name (ARN) of the build
-- project.
-- - pArtifacts - Information about the build output artifacts
-- for the build project.
-- - pEnvironment - Information about the build environment for
-- this build project.
-- - pCreated - When the build project was created, expressed in
-- Unix time format.
-- - pCache - Information about the cache for the build
-- project.
-- - pName - The name of the build project.
-- - pVpcConfig - Information about the VPC configuration that
-- AWS CodeBuild will access.
-- - pSource - Information about the build input source code for
-- this build project.
-- - pBadge - Information about the build badge for the build
-- project.
-- - pEncryptionKey - The AWS Key Management Service (AWS KMS)
-- customer master key (CMK) to be used for encrypting the 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.
-- - pWebhook - Information about a webhook in GitHub that
-- connects repository events to a build project in AWS CodeBuild.
-- - pDescription - A description that makes the build project
-- easy to identify.
-- - pServiceRole - The 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 before timing out any related build
-- that did not get marked as completed. The default is 60 minutes.
--
project :: Project
-- | The Amazon Resource Name (ARN) of the build project.
pArn :: Lens' Project (Maybe Text)
-- | Information about the build output artifacts for the build project.
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)
-- | Information about the cache for the build project.
pCache :: Lens' Project (Maybe ProjectCache)
-- | The name of the build project.
pName :: Lens' Project (Maybe Text)
-- | Information about the VPC configuration that AWS CodeBuild will
-- access.
pVpcConfig :: Lens' Project (Maybe VPCConfig)
-- | Information about the build input source code for this build project.
pSource :: Lens' Project (Maybe ProjectSource)
-- | Information about the build badge for the build project.
pBadge :: Lens' Project (Maybe ProjectBadge)
-- | The AWS Key Management Service (AWS KMS) customer master key (CMK) to
-- be used for encrypting the 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)
-- | Information about a webhook in GitHub that connects repository events
-- to a build project in AWS CodeBuild.
pWebhook :: Lens' Project (Maybe Webhook)
-- | A description that makes the build project easy to identify.
pDescription :: Lens' Project (Maybe Text)
-- | The 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 before timing out any related build that did not get marked as
-- completed. The default is 60 minutes.
pTimeoutInMinutes :: Lens' Project (Maybe Natural)
-- | Information about the build output artifacts for the build project.
--
-- 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.
-- - 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 type of build output artifact. Valid values
-- include: * CODEPIPELINE : The build project will 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.
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 type of build output artifact. Valid values include: *
-- CODEPIPELINE : The build project will 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 badge for the build project.
--
-- See: projectBadge smart constructor.
data ProjectBadge
-- | Creates a value of ProjectBadge with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pbBadgeEnabled - Set this to true to generate a
-- publicly-accessible URL for your project's build badge.
-- - pbBadgeRequestURL - The publicly-accessible URL through
-- which you can access the build badge for your project.
--
projectBadge :: ProjectBadge
-- | Set this to true to generate a publicly-accessible URL for your
-- project's build badge.
pbBadgeEnabled :: Lens' ProjectBadge (Maybe Bool)
-- | The publicly-accessible URL through which you can access the build
-- badge for your project.
pbBadgeRequestURL :: Lens' ProjectBadge (Maybe Text)
-- | Information about the cache for the build project.
--
-- See: projectCache smart constructor.
data ProjectCache
-- | Creates a value of ProjectCache with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pcLocation - Information about the cache location, as
-- follows: * NO_CACHE : This value will be ignored. *
-- S3 : This is the S3 bucket name/prefix.
-- - pcType - The type of cache used by the build project. Valid
-- values include: * NO_CACHE : The build project will not use
-- any cache. * S3 : The build project will read and write
-- from/to S3.
--
projectCache :: CacheType -> ProjectCache
-- | Information about the cache location, as follows: * NO_CACHE
-- : This value will be ignored. * S3 : This is the S3 bucket
-- name/prefix.
pcLocation :: Lens' ProjectCache (Maybe Text)
-- | The type of cache used by the build project. Valid values include: *
-- NO_CACHE : The build project will not use any cache. *
-- S3 : The build project will read and write from/to S3.
pcType :: Lens' ProjectCache CacheType
-- | Information about the build environment of the build project.
--
-- 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:
--
--
-- - pePrivilegedMode - Enables running the Docker daemon inside
-- a Docker container. Set to true only if the build project is be used
-- to build Docker images, and the specified build environment image is
-- not provided by AWS CodeBuild with Docker support. Otherwise, all
-- associated builds that attempt to interact with the Docker daemon will
-- fail. Note that you must also start the Docker daemon so that builds
-- can interact with it. One way to do this is to initialize the Docker
-- daemon during the install phase of your build spec by running the
-- following build commands. (Do not run the following build commands if
-- the specified build environment image is provided by AWS CodeBuild
-- with Docker support.) - nohup usrlocalbindockerd
-- --host=unix://varrundocker.sock --host=tcp:/0.0.0.0:2375
-- --storage-driver=overlay& - timeout -t 15 sh -c "until docker
-- info; do echo .; sleep 1; done"
-- - peCertificate - The certificate to use with this build
-- project.
-- - 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.
-- - 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
-- | Enables running the Docker daemon inside a Docker container. Set to
-- true only if the build project is be used to build Docker images, and
-- the specified build environment image is not provided by AWS CodeBuild
-- with Docker support. Otherwise, all associated builds that attempt to
-- interact with the Docker daemon will fail. Note that you must also
-- start the Docker daemon so that builds can interact with it. One way
-- to do this is to initialize the Docker daemon during the install phase
-- of your build spec by running the following build commands. (Do not
-- run the following build commands if the specified build environment
-- image is provided by AWS CodeBuild with Docker support.) - nohup
-- usrlocalbindockerd
-- --host=unix://varrundocker.sock --host=tcp:/0.0.0.0:2375
-- --storage-driver=overlay& - timeout -t 15 sh -c "until docker
-- info; do echo .; sleep 1; done"
pePrivilegedMode :: Lens' ProjectEnvironment (Maybe Bool)
-- | The certificate to use with this build project.
peCertificate :: Lens' ProjectEnvironment (Maybe Text)
-- | 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.
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 input source code for the build project.
--
-- 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:
--
--
-- - psInsecureSSL - Enable this flag to ignore SSL warnings
-- while connecting to the project source code.
-- - 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 to the repository that contains the source and the build spec.
-- Also, you must connect your AWS account to your GitHub account. To do
-- this, use the AWS CodeBuild console to begin creating a build project.
-- When you use the console to connect (or reconnect) with GitHub, on the
-- GitHub Authorize application page that displays, for
-- Organization access , choose Request access next to each
-- repository you want to allow AWS CodeBuild to have access to. Then
-- choose Authorize application . (After you have connected to
-- your GitHub account, you do not need to finish creating the build
-- project, and you may then leave the AWS CodeBuild console.) To
-- instruct AWS CodeBuild to then use this connection, in the
-- source object, set the auth object's type
-- value to OAUTH . * For source code in a Bitbucket repository,
-- the HTTPS clone URL to the repository that contains the source and the
-- build spec. Also, you must connect your AWS account to your Bitbucket
-- account. To do this, use the AWS CodeBuild console to begin creating a
-- build project. When you use the console to connect (or reconnect) with
-- Bitbucket, on the Bitbucket Confirm access to your account page
-- that displays, choose Grant access . (After you have connected
-- to your Bitbucket account, you do not need to finish creating the
-- build project, and you may then leave the AWS CodeBuild console.) To
-- instruct AWS CodeBuild to then use this connection, in the
-- source object, set the auth object's type
-- value to OAUTH .
-- - psAuth - Information about the authorization settings for
-- AWS CodeBuild to access the source code to be built. This information
-- is for the AWS CodeBuild console's use only. Your code should not get
-- or set this information directly (unless the build project's source
-- type value is BITBUCKET or GITHUB ).
-- - psBuildspec - The build spec declaration to use for the
-- builds in this build project. If this value is not specified, a build
-- spec must be included along with the source code to be built.
-- - psGitCloneDepth - Information about the git clone depth for
-- the build project.
-- - psType - The type of repository that contains the source
-- code to be built. Valid values include: * BITBUCKET : The
-- source code is in a Bitbucket repository. * 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
-- | Enable this flag to ignore SSL warnings while connecting to the
-- project source code.
psInsecureSSL :: Lens' ProjectSource (Maybe Bool)
-- | 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 to the repository that contains the source and the build spec.
-- Also, you must connect your AWS account to your GitHub account. To do
-- this, use the AWS CodeBuild console to begin creating a build project.
-- When you use the console to connect (or reconnect) with GitHub, on the
-- GitHub Authorize application page that displays, for
-- Organization access , choose Request access next to each
-- repository you want to allow AWS CodeBuild to have access to. Then
-- choose Authorize application . (After you have connected to
-- your GitHub account, you do not need to finish creating the build
-- project, and you may then leave the AWS CodeBuild console.) To
-- instruct AWS CodeBuild to then use this connection, in the
-- source object, set the auth object's type
-- value to OAUTH . * For source code in a Bitbucket repository,
-- the HTTPS clone URL to the repository that contains the source and the
-- build spec. Also, you must connect your AWS account to your Bitbucket
-- account. To do this, use the AWS CodeBuild console to begin creating a
-- build project. When you use the console to connect (or reconnect) with
-- Bitbucket, on the Bitbucket Confirm access to your account page
-- that displays, choose Grant access . (After you have connected
-- to your Bitbucket account, you do not need to finish creating the
-- build project, and you may then leave the AWS CodeBuild console.) To
-- instruct AWS CodeBuild to then use this connection, in the
-- source object, set the auth object's type
-- value to OAUTH .
psLocation :: Lens' ProjectSource (Maybe Text)
-- | Information about the authorization settings for AWS CodeBuild to
-- access the source code to be built. This information is for the AWS
-- CodeBuild console's use only. Your code should not get or set this
-- information directly (unless the build project's source type
-- value is BITBUCKET or GITHUB ).
psAuth :: Lens' ProjectSource (Maybe SourceAuth)
-- | The build spec declaration to use for the builds in this build
-- project. 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)
-- | Information about the git clone depth for the build project.
psGitCloneDepth :: Lens' ProjectSource (Maybe Natural)
-- | The type of repository that contains the source code to be built.
-- Valid values include: * BITBUCKET : The source code is in a
-- Bitbucket repository. * 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 for the AWS CodeBuild console's use only. Your
-- code should not get or set this information directly (unless the build
-- project's source type value is BITBUCKET or
-- GITHUB ).
--
-- 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)
-- | Information about the VPC configuration that AWS CodeBuild will
-- access.
--
-- See: vpcConfig smart constructor.
data VPCConfig
-- | Creates a value of VPCConfig with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - vcSecurityGroupIds - A list of one or more security groups
-- IDs in your Amazon VPC.
-- - vcVpcId - The ID of the Amazon VPC.
-- - vcSubnets - A list of one or more subnet IDs in your Amazon
-- VPC.
--
vpcConfig :: VPCConfig
-- | A list of one or more security groups IDs in your Amazon VPC.
vcSecurityGroupIds :: Lens' VPCConfig [Text]
-- | The ID of the Amazon VPC.
vcVpcId :: Lens' VPCConfig (Maybe Text)
-- | A list of one or more subnet IDs in your Amazon VPC.
vcSubnets :: Lens' VPCConfig [Text]
-- | Information about a webhook in GitHub that connects repository events
-- to a build project in AWS CodeBuild.
--
-- See: webhook smart constructor.
data Webhook
-- | Creates a value of Webhook with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - wBranchFilter - A regular expression used to determine
-- which branches in a repository are built when a webhook is triggered.
-- If the name of a branch matches the regular expression, then it is
-- built. If it doesn't match, then it is not. If branchFilter is empty,
-- then all branches are built.
-- - wLastModifiedSecret - A timestamp indicating the last time
-- a repository's secret token was modified.
-- - wUrl - The URL to the webhook.
-- - wSecret - The secret token of the associated
-- repository.
-- - wPayloadURL - The CodeBuild endpoint where webhook events
-- are sent.
--
webhook :: Webhook
-- | A regular expression used to determine which branches in a repository
-- are built when a webhook is triggered. If the name of a branch matches
-- the regular expression, then it is built. If it doesn't match, then it
-- is not. If branchFilter is empty, then all branches are built.
wBranchFilter :: Lens' Webhook (Maybe Text)
-- | A timestamp indicating the last time a repository's secret token was
-- modified.
wLastModifiedSecret :: Lens' Webhook (Maybe UTCTime)
-- | The URL to the webhook.
wUrl :: Lens' Webhook (Maybe Text)
-- | The secret token of the associated repository.
wSecret :: Lens' Webhook (Maybe Text)
-- | The CodeBuild endpoint where webhook events are sent.
wPayloadURL :: Lens' Webhook (Maybe Text)
-- | 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.
--
stopBuild :: Text -> StopBuild
-- | See: stopBuild smart constructor.
data StopBuild
-- | The ID of the build.
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:
--
--
stopBuildResponse :: Int -> StopBuildResponse
-- | See: stopBuildResponse smart constructor.
data StopBuildResponse
-- | Information about the build.
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 Control.DeepSeq.NFData Network.AWS.CodeBuild.StopBuild.StopBuildResponse
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
-- | 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 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 build project.
-- - sbGitCloneDepthOverride - The user-defined depth of
-- history, with a minimum value of 0, that overrides, for this build
-- only, any previous depth of history defined in the 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: the commit
-- ID to use. * For GitHub: the commit ID, pull request ID, branch name,
-- or tag name that corresponds to the version of the source code you
-- want to build. If a pull request ID is specified, it must use the
-- format pr/pull-request-ID (for example pr/25 ). If a
-- branch name is specified, the branch's HEAD commit ID will be used. If
-- not specified, the default branch's HEAD commit ID will be used. * For
-- Bitbucket: the commit ID, branch name, or tag name that corresponds to
-- the version of the source code you want to build. If a branch name is
-- specified, the branch's HEAD commit ID will be used. If not specified,
-- the default branch's HEAD commit ID will be used. * 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
-- build project.
-- - sbArtifactsOverride - Build output artifact settings that
-- override, for this build only, the latest ones already defined in the
-- build project.
-- - sbProjectName - The name of the AWS CodeBuild 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 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 build project.
sbTimeoutInMinutesOverride :: Lens' StartBuild (Maybe Natural)
-- | The user-defined depth of history, with a minimum value of 0, that
-- overrides, for this build only, any previous depth of history defined
-- in the build project.
sbGitCloneDepthOverride :: 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: the commit ID to use. * For GitHub: the
-- commit ID, pull request ID, branch name, or tag name that corresponds
-- to the version of the source code you want to build. If a pull request
-- ID is specified, it must use the format pr/pull-request-ID
-- (for example pr/25 ). If a branch name is specified, the
-- branch's HEAD commit ID will be used. If not specified, the default
-- branch's HEAD commit ID will be used. * For Bitbucket: the commit ID,
-- branch name, or tag name that corresponds to the version of the source
-- code you want to build. If a branch name is specified, the branch's
-- HEAD commit ID will be used. If not specified, the default branch's
-- HEAD commit ID will be used. * 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 build project.
sbBuildspecOverride :: Lens' StartBuild (Maybe Text)
-- | Build output artifact settings that override, for this build only, the
-- latest ones already defined in the build project.
sbArtifactsOverride :: Lens' StartBuild (Maybe ProjectArtifacts)
-- | The name of the AWS CodeBuild 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 Control.DeepSeq.NFData Network.AWS.CodeBuild.StartBuild.StartBuildResponse
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
-- | Gets a list of build project names, with each build project name
-- representing a single build project.
--
-- This operation returns paginated results.
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 Control.DeepSeq.NFData Network.AWS.CodeBuild.ListProjects.ListProjectsResponse
instance Network.AWS.Pager.AWSPager 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
-- | 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 Control.DeepSeq.NFData Network.AWS.CodeBuild.ListCuratedEnvironmentImages.ListCuratedEnvironmentImagesResponse
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
-- | Gets a list of build IDs for the specified build project, with each
-- build ID representing a single build.
--
-- This operation returns paginated results.
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 AWS CodeBuild
-- project.
--
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 AWS CodeBuild project.
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 Control.DeepSeq.NFData Network.AWS.CodeBuild.ListBuildsForProject.ListBuildsForProjectResponse
instance Network.AWS.Pager.AWSPager 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
-- | Gets a list of build IDs, with each build ID representing a single
-- build.
--
-- This operation returns paginated results.
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 Control.DeepSeq.NFData Network.AWS.CodeBuild.ListBuilds.ListBuildsResponse
instance Network.AWS.Pager.AWSPager 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
-- | Resets the cache for a project.
module Network.AWS.CodeBuild.InvalidateProjectCache
-- | Creates a value of InvalidateProjectCache with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ipcProjectName - The name of the AWS CodeBuild build
-- project that the cache will be reset for.
--
invalidateProjectCache :: Text -> InvalidateProjectCache
-- | See: invalidateProjectCache smart constructor.
data InvalidateProjectCache
-- | The name of the AWS CodeBuild build project that the cache will be
-- reset for.
ipcProjectName :: Lens' InvalidateProjectCache Text
-- | Creates a value of InvalidateProjectCacheResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
invalidateProjectCacheResponse :: Int -> InvalidateProjectCacheResponse
-- | See: invalidateProjectCacheResponse smart constructor.
data InvalidateProjectCacheResponse
-- |
-- - - | The response status code.
--
ipcrsResponseStatus :: Lens' InvalidateProjectCacheResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance Data.Data.Data Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance GHC.Show.Show Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance GHC.Read.Read Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Data.Data.Data Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance GHC.Show.Show Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance GHC.Read.Read Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance GHC.Classes.Eq Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCacheResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.InvalidateProjectCache.InvalidateProjectCache
-- | For an existing AWS CodeBuild build project that has its source code
-- stored in a GitHub repository, stops AWS CodeBuild from automatically
-- rebuilding the source code every time a code change is pushed to the
-- repository.
module Network.AWS.CodeBuild.DeleteWebhook
-- | Creates a value of DeleteWebhook with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteWebhook :: Text -> DeleteWebhook
-- | See: deleteWebhook smart constructor.
data DeleteWebhook
-- | The name of the AWS CodeBuild project.
dwProjectName :: Lens' DeleteWebhook Text
-- | Creates a value of DeleteWebhookResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteWebhookResponse :: Int -> DeleteWebhookResponse
-- | See: deleteWebhookResponse smart constructor.
data DeleteWebhookResponse
-- |
-- - - | The response status code.
--
dwrsResponseStatus :: Lens' DeleteWebhookResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance Data.Data.Data Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance GHC.Show.Show Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance GHC.Read.Read Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance Data.Data.Data Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance GHC.Show.Show Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance GHC.Read.Read Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance GHC.Classes.Eq Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhookResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.DeleteWebhook.DeleteWebhook
-- | 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.
--
deleteProject :: Text -> DeleteProject
-- | See: deleteProject smart constructor.
data DeleteProject
-- | The name of the build project.
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 Control.DeepSeq.NFData Network.AWS.CodeBuild.DeleteProject.DeleteProjectResponse
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
-- | For an existing AWS CodeBuild build project that has its source code
-- stored in a GitHub repository, enables AWS CodeBuild to begin
-- automatically rebuilding the source code every time a code change is
-- pushed to the repository.
--
-- Important: If you enable webhooks for an AWS CodeBuild project,
-- and the project is used as a build step in AWS CodePipeline, then two
-- identical builds will be created for each commit. One build is
-- triggered through webhooks, and one through AWS CodePipeline. Because
-- billing is on a per-build basis, you will be billed for both builds.
-- Therefore, if you are using AWS CodePipeline, we recommend that you
-- disable webhooks in CodeBuild. In the AWS CodeBuild console, clear the
-- Webhook box. For more information, see step 9 in Change a Build
-- Project's Settings .
module Network.AWS.CodeBuild.CreateWebhook
-- | Creates a value of CreateWebhook with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cwBranchFilter - A regular expression used to determine
-- which branches in a repository are built when a webhook is triggered.
-- If the name of a branch matches the regular expression, then it is
-- built. If it doesn't match, then it is not. If branchFilter is empty,
-- then all branches are built.
-- - cwProjectName - The name of the AWS CodeBuild project.
--
createWebhook :: Text -> CreateWebhook
-- | See: createWebhook smart constructor.
data CreateWebhook
-- | A regular expression used to determine which branches in a repository
-- are built when a webhook is triggered. If the name of a branch matches
-- the regular expression, then it is built. If it doesn't match, then it
-- is not. If branchFilter is empty, then all branches are built.
cwBranchFilter :: Lens' CreateWebhook (Maybe Text)
-- | The name of the AWS CodeBuild project.
cwProjectName :: Lens' CreateWebhook Text
-- | Creates a value of CreateWebhookResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cwrsWebhook - Information about a webhook in GitHub that
-- connects repository events to a build project in AWS CodeBuild.
-- - cwrsResponseStatus - -- | The response status code.
--
createWebhookResponse :: Int -> CreateWebhookResponse
-- | See: createWebhookResponse smart constructor.
data CreateWebhookResponse
-- | Information about a webhook in GitHub that connects repository events
-- to a build project in AWS CodeBuild.
cwrsWebhook :: Lens' CreateWebhookResponse (Maybe Webhook)
-- |
-- - - | The response status code.
--
cwrsResponseStatus :: Lens' CreateWebhookResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.CreateWebhook.CreateWebhookResponse
instance Data.Data.Data Network.AWS.CodeBuild.CreateWebhook.CreateWebhookResponse
instance GHC.Show.Show Network.AWS.CodeBuild.CreateWebhook.CreateWebhookResponse
instance GHC.Read.Read Network.AWS.CodeBuild.CreateWebhook.CreateWebhookResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.CreateWebhook.CreateWebhookResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance Data.Data.Data Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance GHC.Show.Show Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance GHC.Read.Read Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance GHC.Classes.Eq Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.CreateWebhook.CreateWebhookResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.CreateWebhook.CreateWebhook
-- | 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:
--
--
-- - cpBadgeEnabled - Set this to true to generate a
-- publicly-accessible URL for your project's build badge.
-- - cpCache - Stores recently used information so that it can
-- be quickly accessed at a later time.
-- - cpVpcConfig - VpcConfig enables AWS CodeBuild to access
-- resources in an Amazon VPC.
-- - cpEncryptionKey - The AWS Key Management Service (AWS KMS)
-- customer master key (CMK) to be used for encrypting the build output
-- artifacts. You can specify either the CMK's Amazon Resource Name (ARN)
-- or, if available, the CMK's alias (using the format
-- alias/alias-name ).
-- - cpDescription - A description that makes the build project
-- easy to identify.
-- - cpServiceRole - The 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 build that has
-- not been marked as completed. The default is 60 minutes.
-- - cpName - The name of the build project.
-- - cpSource - Information about the build input source code
-- for the build project.
-- - cpArtifacts - Information about the build output artifacts
-- for the build project.
-- - cpEnvironment - Information about the build environment for
-- the build project.
--
createProject :: Text -> ProjectSource -> ProjectArtifacts -> ProjectEnvironment -> CreateProject
-- | See: createProject smart constructor.
data CreateProject
-- | Set this to true to generate a publicly-accessible URL for your
-- project's build badge.
cpBadgeEnabled :: Lens' CreateProject (Maybe Bool)
-- | Stores recently used information so that it can be quickly accessed at
-- a later time.
cpCache :: Lens' CreateProject (Maybe ProjectCache)
-- | VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
cpVpcConfig :: Lens' CreateProject (Maybe VPCConfig)
-- | The AWS Key Management Service (AWS KMS) customer master key (CMK) to
-- be used for encrypting the build output artifacts. You can specify
-- either the CMK's Amazon Resource Name (ARN) or, if available, the
-- CMK's alias (using the format alias/alias-name ).
cpEncryptionKey :: Lens' CreateProject (Maybe Text)
-- | A description that makes the build project easy to identify.
cpDescription :: Lens' CreateProject (Maybe Text)
-- | The 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 build that has not been marked as completed.
-- The default is 60 minutes.
cpTimeoutInMinutes :: Lens' CreateProject (Maybe Natural)
-- | The name of the build project.
cpName :: Lens' CreateProject Text
-- | Information about the build input source code for the build project.
cpSource :: Lens' CreateProject ProjectSource
-- | Information about the build output artifacts for the build project.
cpArtifacts :: Lens' CreateProject ProjectArtifacts
-- | Information about the build environment for the build project.
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 Control.DeepSeq.NFData Network.AWS.CodeBuild.CreateProject.CreateProjectResponse
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
-- | Gets information about 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.
--
batchGetProjects :: NonEmpty Text -> BatchGetProjects
-- | See: batchGetProjects smart constructor.
data BatchGetProjects
-- | The names of the build projects.
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 Control.DeepSeq.NFData Network.AWS.CodeBuild.BatchGetProjects.BatchGetProjectsResponse
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
-- | Gets information about 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.
--
batchGetBuilds :: NonEmpty Text -> BatchGetBuilds
-- | See: batchGetBuilds smart constructor.
data BatchGetBuilds
-- | The IDs of the builds.
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 Control.DeepSeq.NFData Network.AWS.CodeBuild.BatchGetBuilds.BatchGetBuildsResponse
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
-- | Deletes one or more builds.
module Network.AWS.CodeBuild.BatchDeleteBuilds
-- | Creates a value of BatchDeleteBuilds with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bdbIds - The IDs of the builds to delete.
--
batchDeleteBuilds :: NonEmpty Text -> BatchDeleteBuilds
-- | See: batchDeleteBuilds smart constructor.
data BatchDeleteBuilds
-- | The IDs of the builds to delete.
bdbIds :: Lens' BatchDeleteBuilds (NonEmpty Text)
-- | Creates a value of BatchDeleteBuildsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchDeleteBuildsResponse :: Int -> BatchDeleteBuildsResponse
-- | See: batchDeleteBuildsResponse smart constructor.
data BatchDeleteBuildsResponse
-- | Information about any builds that could not be successfully deleted.
bdbrsBuildsNotDeleted :: Lens' BatchDeleteBuildsResponse [BuildNotDeleted]
-- | The IDs of the builds that were successfully deleted.
bdbrsBuildsDeleted :: Lens' BatchDeleteBuildsResponse (Maybe (NonEmpty Text))
-- |
-- - - | The response status code.
--
bdbrsResponseStatus :: Lens' BatchDeleteBuildsResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance Data.Data.Data Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance GHC.Show.Show Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance GHC.Read.Read Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Data.Data.Data Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance GHC.Show.Show Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance GHC.Read.Read Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance GHC.Classes.Eq Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuildsResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.BatchDeleteBuilds.BatchDeleteBuilds
-- | Changes the settings of a 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
-- output artifacts for the build project.
-- - upEnvironment - Information to be changed about the build
-- environment for the build project.
-- - upBadgeEnabled - Set this to true to generate a
-- publicly-accessible URL for your project's build badge.
-- - upCache - Stores recently used information so that it can
-- be quickly accessed at a later time.
-- - upVpcConfig - VpcConfig enables AWS CodeBuild to access
-- resources in an Amazon VPC.
-- - upSource - Information to be changed about the build input
-- source code for the build project.
-- - upEncryptionKey - The replacement AWS Key Management
-- Service (AWS KMS) customer master key (CMK) to be used for encrypting
-- the build output artifacts. You can specify either the CMK's Amazon
-- Resource Name (ARN) or, if available, the CMK's alias (using the
-- format alias/alias-name ).
-- - upDescription - A new or replacement description of the
-- build project.
-- - upServiceRole - The replacement ARN of the AWS Identity and
-- Access Management (IAM) role that enables AWS CodeBuild to interact
-- with dependent AWS services on behalf of the AWS account.
-- - upTags - The replacement set of tags for this build
-- project. These tags are available for use by AWS services that support
-- AWS CodeBuild build project tags.
-- - upTimeoutInMinutes - The replacement value in minutes, from
-- 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any
-- related build that did not get marked as completed.
-- - upName - The name of the build project.
--
updateProject :: Text -> UpdateProject
-- | See: updateProject smart constructor.
data UpdateProject
-- | Information to be changed about the build output artifacts for the
-- build project.
upArtifacts :: Lens' UpdateProject (Maybe ProjectArtifacts)
-- | Information to be changed about the build environment for the build
-- project.
upEnvironment :: Lens' UpdateProject (Maybe ProjectEnvironment)
-- | Set this to true to generate a publicly-accessible URL for your
-- project's build badge.
upBadgeEnabled :: Lens' UpdateProject (Maybe Bool)
-- | Stores recently used information so that it can be quickly accessed at
-- a later time.
upCache :: Lens' UpdateProject (Maybe ProjectCache)
-- | VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
upVpcConfig :: Lens' UpdateProject (Maybe VPCConfig)
-- | Information to be changed about the build input source code for the
-- build project.
upSource :: Lens' UpdateProject (Maybe ProjectSource)
-- | The replacement AWS Key Management Service (AWS KMS) customer master
-- key (CMK) to be used for encrypting the build output artifacts. You
-- can specify either the CMK's Amazon Resource Name (ARN) or, if
-- available, the CMK's alias (using the format
-- alias/alias-name ).
upEncryptionKey :: Lens' UpdateProject (Maybe Text)
-- | A new or replacement description of the build project.
upDescription :: Lens' UpdateProject (Maybe Text)
-- | The replacement ARN of the AWS Identity and Access Management (IAM)
-- role that enables AWS CodeBuild to interact with dependent AWS
-- services on behalf of the AWS account.
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 before timing out any related build that did not get
-- marked as completed.
upTimeoutInMinutes :: Lens' UpdateProject (Maybe Natural)
-- | The name of the build project.
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 Control.DeepSeq.NFData Network.AWS.CodeBuild.UpdateProject.UpdateProjectResponse
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
-- | Updates the webhook associated with an AWS CodeBuild build project.
module Network.AWS.CodeBuild.UpdateWebhook
-- | Creates a value of UpdateWebhook with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - uwBranchFilter - A regular expression used to determine
-- which branches in a repository are built when a webhook is triggered.
-- If the name of a branch matches the regular expression, then it is
-- built. If it doesn't match, then it is not. If branchFilter is empty,
-- then all branches are built.
-- - uwRotateSecret - A boolean value that specifies whether the
-- associated repository's secret token should be updated.
-- - uwProjectName - The name of the AWS CodeBuild project.
--
updateWebhook :: Text -> UpdateWebhook
-- | See: updateWebhook smart constructor.
data UpdateWebhook
-- | A regular expression used to determine which branches in a repository
-- are built when a webhook is triggered. If the name of a branch matches
-- the regular expression, then it is built. If it doesn't match, then it
-- is not. If branchFilter is empty, then all branches are built.
uwBranchFilter :: Lens' UpdateWebhook (Maybe Text)
-- | A boolean value that specifies whether the associated repository's
-- secret token should be updated.
uwRotateSecret :: Lens' UpdateWebhook (Maybe Bool)
-- | The name of the AWS CodeBuild project.
uwProjectName :: Lens' UpdateWebhook Text
-- | Creates a value of UpdateWebhookResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - uwrsWebhook - Information about a repository's webhook that
-- is associated with a project in AWS CodeBuild.
-- - uwrsResponseStatus - -- | The response status code.
--
updateWebhookResponse :: Int -> UpdateWebhookResponse
-- | See: updateWebhookResponse smart constructor.
data UpdateWebhookResponse
-- | Information about a repository's webhook that is associated with a
-- project in AWS CodeBuild.
uwrsWebhook :: Lens' UpdateWebhookResponse (Maybe Webhook)
-- |
-- - - | The response status code.
--
uwrsResponseStatus :: Lens' UpdateWebhookResponse Int
instance GHC.Generics.Generic Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance Data.Data.Data Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance GHC.Show.Show Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance GHC.Read.Read Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance GHC.Classes.Eq Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance GHC.Generics.Generic Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance Data.Data.Data Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance GHC.Show.Show Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance GHC.Read.Read Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance GHC.Classes.Eq Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance Network.AWS.Types.AWSRequest Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhookResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance Control.DeepSeq.NFData Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeBuild.UpdateWebhook.UpdateWebhook
module Network.AWS.CodeBuild.Waiters
-- | 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 Apache 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:
--
--
-- - BatchDeleteBuilds : Deletes one or more builds.
-- - 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.
-- - CreateWebhook : For an existing AWS CodeBuild build
-- project that has its source code stored in a GitHub repository,
-- enables AWS CodeBuild to begin automatically rebuilding the source
-- code every time a code change is pushed to the repository.
-- - UpdateWebhook : Changes the settings of an existing
-- webhook.
-- - DeleteProject : Deletes a build project.
-- - DeleteWebhook : For an existing AWS CodeBuild build
-- project that has its source code stored in a GitHub repository, stops
-- AWS CodeBuild from automatically rebuilding the source code every time
-- a code change is pushed to the repository.
-- - 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
-- | There was a problem with the underlying OAuth provider.
_OAuthProviderException :: 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 CacheType
CTNoCache :: CacheType
CTS3 :: CacheType
data ComputeType
BuildGENERAL1Large :: ComputeType
BuildGENERAL1Medium :: ComputeType
BuildGENERAL1Small :: ComputeType
data EnvironmentType
LinuxContainer :: EnvironmentType
data EnvironmentVariableType
ParameterStore :: EnvironmentVariableType
Plaintext :: EnvironmentVariableType
data LanguageType
Android :: LanguageType
Base :: LanguageType
Docker :: LanguageType
Dotnet :: 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
STBitbucket :: SourceType
STCodecommit :: SourceType
STCodepipeline :: SourceType
STGithub :: SourceType
STGithubEnterprise :: 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
-- are completed and information about any current build phase that is
-- not yet complete.
-- - bBuildComplete - Whether the build has finished. True if
-- completed; otherwise, false.
-- - bArn - The Amazon Resource Name (ARN) of the build.
-- - bStartTime - When the build process started, expressed in
-- Unix time format.
-- - bArtifacts - Information about the output artifacts for the
-- build.
-- - 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 .
-- - bNetworkInterface - Describes a network interface.
-- - bCurrentPhase - The current build phase.
-- - bCache - Information about the cache for the build.
-- - 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.
-- - bVpcConfig - If your AWS CodeBuild project accesses
-- resources in an Amazon VPC, you provide this parameter that identifies
-- the VPC ID and the list of security group IDs and subnet IDs. The
-- security groups and subnets must belong to the same VPC. You must
-- provide at least one security group and one subnet ID.
-- - bEndTime - When the build process ended, expressed in Unix
-- time format.
-- - bProjectName - The name of the AWS CodeBuild project.
-- - bBuildStatus - The current status of the build. 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 unique ID for the build.
-- - bTimeoutInMinutes - How long, in minutes, for AWS CodeBuild
-- to wait before timing out this build if it does not get marked as
-- completed.
--
build :: Build
-- | Information about all previous build phases that are completed and
-- information about any current build phase that is not yet complete.
bPhases :: Lens' Build [BuildPhase]
-- | Whether the build has finished. True if completed; otherwise, false.
bBuildComplete :: Lens' Build (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the build.
bArn :: Lens' Build (Maybe Text)
-- | When the build process started, expressed in Unix time format.
bStartTime :: Lens' Build (Maybe UTCTime)
-- | Information about the output artifacts for the build.
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)
-- | Describes a network interface.
bNetworkInterface :: Lens' Build (Maybe NetworkInterface)
-- | The current build phase.
bCurrentPhase :: Lens' Build (Maybe Text)
-- | Information about the cache for the build.
bCache :: Lens' Build (Maybe ProjectCache)
-- | 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)
-- | If your AWS CodeBuild project accesses resources in an Amazon VPC, you
-- provide this parameter that identifies the VPC ID and the list of
-- security group IDs and subnet IDs. The security groups and subnets
-- must belong to the same VPC. You must provide at least one security
-- group and one subnet ID.
bVpcConfig :: Lens' Build (Maybe VPCConfig)
-- | When the build process ended, expressed in Unix time format.
bEndTime :: Lens' Build (Maybe UTCTime)
-- | The name of the AWS CodeBuild project.
bProjectName :: Lens' Build (Maybe Text)
-- | The current status of the build. 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 unique ID for the build.
bId :: Lens' Build (Maybe Text)
-- | How long, in minutes, for AWS CodeBuild to wait before timing out 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 location of the build
-- artifacts.
-- - 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 location of the build artifacts.
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 build that could not be successfully deleted.
--
-- See: buildNotDeleted smart constructor.
data BuildNotDeleted
-- | Creates a value of BuildNotDeleted with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - bndId - The ID of the build that could not be successfully
-- deleted.
-- - bndStatusCode - Additional information about the build that
-- could not be successfully deleted.
--
buildNotDeleted :: BuildNotDeleted
-- | The ID of the build that could not be successfully deleted.
bndId :: Lens' BuildNotDeleted (Maybe Text)
-- | Additional information about the build that could not be successfully
-- deleted.
bndStatusCode :: Lens' BuildNotDeleted (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 current status of the build phase.
-- 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 name of the build phase. Valid values
-- include: * BUILD : Core build activities typically occur in
-- this build phase. * COMPLETED : The build has been 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 the output location.
-- - bpEndTime - When the build phase ended, expressed in Unix
-- time format.
-- - bpDurationInSeconds - How long, in seconds, between the
-- starting and ending times of the build's phase.
--
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 current status of the build phase. 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 name of the build phase. Valid values include: * BUILD :
-- Core build activities typically occur in this build phase. *
-- COMPLETED : The build has been 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 the 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 starting and ending times of the
-- build's phase.
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:
--
--
-- - eiVersions - A list of environment image versions.
-- - eiName - The name of the Docker image.
-- - eiDescription - The description of the Docker image.
--
environmentImage :: EnvironmentImage
-- | A list of environment image versions.
eiVersions :: Lens' EnvironmentImage [Text]
-- | The name of the Docker image.
eiName :: Lens' EnvironmentImage (Maybe Text)
-- | The description of the Docker image.
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 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 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:
--
--
-- - evType - The type of environment variable. Valid values
-- include: * PARAMETER_STORE : An environment variable stored
-- in Amazon EC2 Systems Manager Parameter Store. * PLAINTEXT :
-- An environment variable in plaintext format.
-- - evName - The name or key of the environment variable.
-- - evValue - The value of the environment variable.
-- Important: We strongly discourage using environment variables
-- to store sensitive values, especially AWS secret key IDs and secret
-- access keys. Environment variables can be displayed in plain text
-- using tools such as the AWS CodeBuild console and the AWS Command Line
-- Interface (AWS CLI).
--
environmentVariable :: Text -> Text -> EnvironmentVariable
-- | The type of environment variable. Valid values include: *
-- PARAMETER_STORE : An environment variable stored in Amazon
-- EC2 Systems Manager Parameter Store. * PLAINTEXT : An
-- environment variable in plaintext format.
evType :: Lens' EnvironmentVariable (Maybe EnvironmentVariableType)
-- | The name or key of the environment variable.
evName :: Lens' EnvironmentVariable Text
-- | The value of the environment variable. Important: We strongly
-- discourage using environment variables to store sensitive values,
-- especially AWS secret key IDs and secret access keys. Environment
-- variables can be displayed in plain text using tools such as the AWS
-- CodeBuild console and the AWS Command Line Interface (AWS CLI).
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 build logs.
-- - llStreamName - The name of the Amazon CloudWatch Logs
-- stream for the 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 build logs.
llGroupName :: Lens' LogsLocation (Maybe Text)
-- | The name of the Amazon CloudWatch Logs stream for the build logs.
llStreamName :: Lens' LogsLocation (Maybe Text)
-- | Describes a network interface.
--
-- See: networkInterface smart constructor.
data NetworkInterface
-- | Creates a value of NetworkInterface with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
networkInterface :: NetworkInterface
-- | The ID of the subnet.
niSubnetId :: Lens' NetworkInterface (Maybe Text)
-- | The ID of the network interface.
niNetworkInterfaceId :: Lens' NetworkInterface (Maybe Text)
-- | Additional information about a build phase that has an error. You can
-- use this information 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 might 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 might
-- 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 Amazon Resource Name (ARN) of the build
-- project.
-- - pArtifacts - Information about the build output artifacts
-- for the build project.
-- - pEnvironment - Information about the build environment for
-- this build project.
-- - pCreated - When the build project was created, expressed in
-- Unix time format.
-- - pCache - Information about the cache for the build
-- project.
-- - pName - The name of the build project.
-- - pVpcConfig - Information about the VPC configuration that
-- AWS CodeBuild will access.
-- - pSource - Information about the build input source code for
-- this build project.
-- - pBadge - Information about the build badge for the build
-- project.
-- - pEncryptionKey - The AWS Key Management Service (AWS KMS)
-- customer master key (CMK) to be used for encrypting the 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.
-- - pWebhook - Information about a webhook in GitHub that
-- connects repository events to a build project in AWS CodeBuild.
-- - pDescription - A description that makes the build project
-- easy to identify.
-- - pServiceRole - The 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 before timing out any related build
-- that did not get marked as completed. The default is 60 minutes.
--
project :: Project
-- | The Amazon Resource Name (ARN) of the build project.
pArn :: Lens' Project (Maybe Text)
-- | Information about the build output artifacts for the build project.
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)
-- | Information about the cache for the build project.
pCache :: Lens' Project (Maybe ProjectCache)
-- | The name of the build project.
pName :: Lens' Project (Maybe Text)
-- | Information about the VPC configuration that AWS CodeBuild will
-- access.
pVpcConfig :: Lens' Project (Maybe VPCConfig)
-- | Information about the build input source code for this build project.
pSource :: Lens' Project (Maybe ProjectSource)
-- | Information about the build badge for the build project.
pBadge :: Lens' Project (Maybe ProjectBadge)
-- | The AWS Key Management Service (AWS KMS) customer master key (CMK) to
-- be used for encrypting the 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)
-- | Information about a webhook in GitHub that connects repository events
-- to a build project in AWS CodeBuild.
pWebhook :: Lens' Project (Maybe Webhook)
-- | A description that makes the build project easy to identify.
pDescription :: Lens' Project (Maybe Text)
-- | The 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 before timing out any related build that did not get marked as
-- completed. The default is 60 minutes.
pTimeoutInMinutes :: Lens' Project (Maybe Natural)
-- | Information about the build output artifacts for the build project.
--
-- 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.
-- - 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 type of build output artifact. Valid values
-- include: * CODEPIPELINE : The build project will 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.
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 type of build output artifact. Valid values include: *
-- CODEPIPELINE : The build project will 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 badge for the build project.
--
-- See: projectBadge smart constructor.
data ProjectBadge
-- | Creates a value of ProjectBadge with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pbBadgeEnabled - Set this to true to generate a
-- publicly-accessible URL for your project's build badge.
-- - pbBadgeRequestURL - The publicly-accessible URL through
-- which you can access the build badge for your project.
--
projectBadge :: ProjectBadge
-- | Set this to true to generate a publicly-accessible URL for your
-- project's build badge.
pbBadgeEnabled :: Lens' ProjectBadge (Maybe Bool)
-- | The publicly-accessible URL through which you can access the build
-- badge for your project.
pbBadgeRequestURL :: Lens' ProjectBadge (Maybe Text)
-- | Information about the cache for the build project.
--
-- See: projectCache smart constructor.
data ProjectCache
-- | Creates a value of ProjectCache with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pcLocation - Information about the cache location, as
-- follows: * NO_CACHE : This value will be ignored. *
-- S3 : This is the S3 bucket name/prefix.
-- - pcType - The type of cache used by the build project. Valid
-- values include: * NO_CACHE : The build project will not use
-- any cache. * S3 : The build project will read and write
-- from/to S3.
--
projectCache :: CacheType -> ProjectCache
-- | Information about the cache location, as follows: * NO_CACHE
-- : This value will be ignored. * S3 : This is the S3 bucket
-- name/prefix.
pcLocation :: Lens' ProjectCache (Maybe Text)
-- | The type of cache used by the build project. Valid values include: *
-- NO_CACHE : The build project will not use any cache. *
-- S3 : The build project will read and write from/to S3.
pcType :: Lens' ProjectCache CacheType
-- | Information about the build environment of the build project.
--
-- 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:
--
--
-- - pePrivilegedMode - Enables running the Docker daemon inside
-- a Docker container. Set to true only if the build project is be used
-- to build Docker images, and the specified build environment image is
-- not provided by AWS CodeBuild with Docker support. Otherwise, all
-- associated builds that attempt to interact with the Docker daemon will
-- fail. Note that you must also start the Docker daemon so that builds
-- can interact with it. One way to do this is to initialize the Docker
-- daemon during the install phase of your build spec by running the
-- following build commands. (Do not run the following build commands if
-- the specified build environment image is provided by AWS CodeBuild
-- with Docker support.) - nohup usrlocalbindockerd
-- --host=unix://varrundocker.sock --host=tcp:/0.0.0.0:2375
-- --storage-driver=overlay& - timeout -t 15 sh -c "until docker
-- info; do echo .; sleep 1; done"
-- - peCertificate - The certificate to use with this build
-- project.
-- - 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.
-- - 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
-- | Enables running the Docker daemon inside a Docker container. Set to
-- true only if the build project is be used to build Docker images, and
-- the specified build environment image is not provided by AWS CodeBuild
-- with Docker support. Otherwise, all associated builds that attempt to
-- interact with the Docker daemon will fail. Note that you must also
-- start the Docker daemon so that builds can interact with it. One way
-- to do this is to initialize the Docker daemon during the install phase
-- of your build spec by running the following build commands. (Do not
-- run the following build commands if the specified build environment
-- image is provided by AWS CodeBuild with Docker support.) - nohup
-- usrlocalbindockerd
-- --host=unix://varrundocker.sock --host=tcp:/0.0.0.0:2375
-- --storage-driver=overlay& - timeout -t 15 sh -c "until docker
-- info; do echo .; sleep 1; done"
pePrivilegedMode :: Lens' ProjectEnvironment (Maybe Bool)
-- | The certificate to use with this build project.
peCertificate :: Lens' ProjectEnvironment (Maybe Text)
-- | 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.
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 input source code for the build project.
--
-- 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:
--
--
-- - psInsecureSSL - Enable this flag to ignore SSL warnings
-- while connecting to the project source code.
-- - 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 to the repository that contains the source and the build spec.
-- Also, you must connect your AWS account to your GitHub account. To do
-- this, use the AWS CodeBuild console to begin creating a build project.
-- When you use the console to connect (or reconnect) with GitHub, on the
-- GitHub Authorize application page that displays, for
-- Organization access , choose Request access next to each
-- repository you want to allow AWS CodeBuild to have access to. Then
-- choose Authorize application . (After you have connected to
-- your GitHub account, you do not need to finish creating the build
-- project, and you may then leave the AWS CodeBuild console.) To
-- instruct AWS CodeBuild to then use this connection, in the
-- source object, set the auth object's type
-- value to OAUTH . * For source code in a Bitbucket repository,
-- the HTTPS clone URL to the repository that contains the source and the
-- build spec. Also, you must connect your AWS account to your Bitbucket
-- account. To do this, use the AWS CodeBuild console to begin creating a
-- build project. When you use the console to connect (or reconnect) with
-- Bitbucket, on the Bitbucket Confirm access to your account page
-- that displays, choose Grant access . (After you have connected
-- to your Bitbucket account, you do not need to finish creating the
-- build project, and you may then leave the AWS CodeBuild console.) To
-- instruct AWS CodeBuild to then use this connection, in the
-- source object, set the auth object's type
-- value to OAUTH .
-- - psAuth - Information about the authorization settings for
-- AWS CodeBuild to access the source code to be built. This information
-- is for the AWS CodeBuild console's use only. Your code should not get
-- or set this information directly (unless the build project's source
-- type value is BITBUCKET or GITHUB ).
-- - psBuildspec - The build spec declaration to use for the
-- builds in this build project. If this value is not specified, a build
-- spec must be included along with the source code to be built.
-- - psGitCloneDepth - Information about the git clone depth for
-- the build project.
-- - psType - The type of repository that contains the source
-- code to be built. Valid values include: * BITBUCKET : The
-- source code is in a Bitbucket repository. * 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
-- | Enable this flag to ignore SSL warnings while connecting to the
-- project source code.
psInsecureSSL :: Lens' ProjectSource (Maybe Bool)
-- | 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 to the repository that contains the source and the build spec.
-- Also, you must connect your AWS account to your GitHub account. To do
-- this, use the AWS CodeBuild console to begin creating a build project.
-- When you use the console to connect (or reconnect) with GitHub, on the
-- GitHub Authorize application page that displays, for
-- Organization access , choose Request access next to each
-- repository you want to allow AWS CodeBuild to have access to. Then
-- choose Authorize application . (After you have connected to
-- your GitHub account, you do not need to finish creating the build
-- project, and you may then leave the AWS CodeBuild console.) To
-- instruct AWS CodeBuild to then use this connection, in the
-- source object, set the auth object's type
-- value to OAUTH . * For source code in a Bitbucket repository,
-- the HTTPS clone URL to the repository that contains the source and the
-- build spec. Also, you must connect your AWS account to your Bitbucket
-- account. To do this, use the AWS CodeBuild console to begin creating a
-- build project. When you use the console to connect (or reconnect) with
-- Bitbucket, on the Bitbucket Confirm access to your account page
-- that displays, choose Grant access . (After you have connected
-- to your Bitbucket account, you do not need to finish creating the
-- build project, and you may then leave the AWS CodeBuild console.) To
-- instruct AWS CodeBuild to then use this connection, in the
-- source object, set the auth object's type
-- value to OAUTH .
psLocation :: Lens' ProjectSource (Maybe Text)
-- | Information about the authorization settings for AWS CodeBuild to
-- access the source code to be built. This information is for the AWS
-- CodeBuild console's use only. Your code should not get or set this
-- information directly (unless the build project's source type
-- value is BITBUCKET or GITHUB ).
psAuth :: Lens' ProjectSource (Maybe SourceAuth)
-- | The build spec declaration to use for the builds in this build
-- project. 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)
-- | Information about the git clone depth for the build project.
psGitCloneDepth :: Lens' ProjectSource (Maybe Natural)
-- | The type of repository that contains the source code to be built.
-- Valid values include: * BITBUCKET : The source code is in a
-- Bitbucket repository. * 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 for the AWS CodeBuild console's use only. Your
-- code should not get or set this information directly (unless the build
-- project's source type value is BITBUCKET or
-- GITHUB ).
--
-- 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)
-- | Information about the VPC configuration that AWS CodeBuild will
-- access.
--
-- See: vpcConfig smart constructor.
data VPCConfig
-- | Creates a value of VPCConfig with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - vcSecurityGroupIds - A list of one or more security groups
-- IDs in your Amazon VPC.
-- - vcVpcId - The ID of the Amazon VPC.
-- - vcSubnets - A list of one or more subnet IDs in your Amazon
-- VPC.
--
vpcConfig :: VPCConfig
-- | A list of one or more security groups IDs in your Amazon VPC.
vcSecurityGroupIds :: Lens' VPCConfig [Text]
-- | The ID of the Amazon VPC.
vcVpcId :: Lens' VPCConfig (Maybe Text)
-- | A list of one or more subnet IDs in your Amazon VPC.
vcSubnets :: Lens' VPCConfig [Text]
-- | Information about a webhook in GitHub that connects repository events
-- to a build project in AWS CodeBuild.
--
-- See: webhook smart constructor.
data Webhook
-- | Creates a value of Webhook with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - wBranchFilter - A regular expression used to determine
-- which branches in a repository are built when a webhook is triggered.
-- If the name of a branch matches the regular expression, then it is
-- built. If it doesn't match, then it is not. If branchFilter is empty,
-- then all branches are built.
-- - wLastModifiedSecret - A timestamp indicating the last time
-- a repository's secret token was modified.
-- - wUrl - The URL to the webhook.
-- - wSecret - The secret token of the associated
-- repository.
-- - wPayloadURL - The CodeBuild endpoint where webhook events
-- are sent.
--
webhook :: Webhook
-- | A regular expression used to determine which branches in a repository
-- are built when a webhook is triggered. If the name of a branch matches
-- the regular expression, then it is built. If it doesn't match, then it
-- is not. If branchFilter is empty, then all branches are built.
wBranchFilter :: Lens' Webhook (Maybe Text)
-- | A timestamp indicating the last time a repository's secret token was
-- modified.
wLastModifiedSecret :: Lens' Webhook (Maybe UTCTime)
-- | The URL to the webhook.
wUrl :: Lens' Webhook (Maybe Text)
-- | The secret token of the associated repository.
wSecret :: Lens' Webhook (Maybe Text)
-- | The CodeBuild endpoint where webhook events are sent.
wPayloadURL :: Lens' Webhook (Maybe Text)